
    if (!window._bubble_page_load_data) {
        window._bubble_page_load_data = {}
    }
    if (!window._bubble_page_load_data.js_execution_timings) {
      window._bubble_page_load_data.js_execution_timings = {}
    }
    window._bubble_page_load_data.js_execution_timings.static_js_start_execution = Date.now();
window.preloaded = window.preloaded || {};
window._bubble_watcher_cache = {"bTIBe":{"statics":{"title":true,"backdropBackgroundData":true,"containerClass":true,"id":true},"styles":{"6":{},"12":{"opacity":1}},"props":{"title":"HelpMeTeach - AI Teaching Simplified | Lesson Plans, Assessments, and More!","backdropBackgroundData":{"is_backdrop":true,"background_style":"bgcolor","bgcolor":"#FFFFFF","background_gradient_direction":"top","background_gradient_from":"#FFFFFF","background_gradient_mid":null,"background_gradient_to":"#AAAAAA","background_image":null,"center_background":null,"crop_responsive":null,"background_size_cover":null,"repeat_background_vertical":null,"repeat_background_horizontal":null,"background_color_if_empty_image":"rgba(255, 255, 255, 0.0)","background_gradient_style":"linear","background_radial_gradient_shape":"ellipse","background_radial_gradient_size":"farthest-corner","background_radial_gradient_xpos":10,"background_radial_gradient_ypos":10,"background_gradient_custom_angle":45,"backdrop_paralax_speed":0.2,"backdrop_image_paralax":false},"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTICU":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTICs":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"40px","font-weight":"700","color":"var(--color_text_default)","text-align":"center"},"6":{},"7":{"padding":"0px 120px 0px 120px"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"A wide range of tools to help you complete your tasks quickly and efficiently"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTICV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTICW":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTICX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"200px","max-width":"","order":1,"min-height":"400px","max-height":"","width":"200px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"15":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKHG":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQBf0":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"350px","max-width":"350px","order":1,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"350px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1696066429085x930776701137968100/lesson%20plan%20creator%20tool.gif"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKHT":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTICY":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Lesson Planning"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTIHj":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//s3.amazonaws.com/appforest_uf/f1674956220285x265172416374529060/help%20icon%20%2814%29.png"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTICZ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Streamline lesson planning for teachers. Our AI tool crafts tailored lesson plans based on your goals, grade, subject, and methods."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKIV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"200px","max-width":"","order":5,"min-height":"400px","max-height":"","width":"200px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"15":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKIb":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQBl0":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"350px","max-width":"350px","order":1,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"350px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1696103130783x753018521987275600/ai%20report%20writer%20tool%20for%20teachers.gif"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKIf":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKIg":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Report Writer"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTKJD":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//s3.amazonaws.com/appforest_uf/f1674956383348x900157163242998100/help%20icon%20%2815%29.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKIa":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Effortlessly create personalized student reports with AI Report Writer for Teachers. Simply input student details, edit, and export reports with ease."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKIm":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"200px","max-width":"","order":7,"min-height":"400px","max-height":"","width":"200px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"15":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKIs":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQBr0":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"350px","max-width":"350px","order":1,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"350px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1696103297622x944749948073242400/ai%20asessment%20creator%20writer%20tool%20for%20teachers.gif"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKIt":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKIx":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Assesment Creator"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTKJJ":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//s3.amazonaws.com/appforest_uf/f1674956393275x333492136587191040/help%20icon%20%2813%29.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKIr":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Simplify teaching with our AI Assessment Creator. Custom assessments made easy—choose type, grade, objectives, and questions. Elevate your classroom today."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTICv":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"0px","max-width":"1200px","order":5,"min-height":"0px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 40px)","margin-left":"20px","margin-top":"0px","margin-right":"20px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTICy":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTICz":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTIDA":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIDB":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"70px","font-weight":"500","color":"var(--color_primary_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"80+"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIDC":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"16px","font-weight":"400","color":"rgba(122, 122, 122, 1)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Teaching Tools"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIDD":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIDE":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"70px","font-weight":"500","color":"var(--color_primary_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"52k+"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIDF":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"16px","font-weight":"400","color":"rgba(122, 122, 122, 1)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Happy Teachers"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIDG":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIDI":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"16px","font-weight":"400","color":"rgba(122, 122, 122, 1)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Speed &amp; Productivity Increase"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIDH":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"70px","font-weight":"500","color":"var(--color_primary_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"75%"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTICx":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"40px","font-weight":"700","color":"var(--color_text_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Why HelpMeTeach?"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTKLB":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKLD":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"420px","max-width":"480px","order":1,"min-height":"400px","max-height":"","width":"420px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKLH":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":1,"min-height":"280px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 0px)","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKLr":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"200px","max-width":"200px","order":1,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"200px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1698339053955x900744872490528000/teacher.svg"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKLI":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKLJ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Empower Learning with Customized Educational Content"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTKMP":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"14px","font-weight":"600","color":"var(--color_primary_contrast_default)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Original Content"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKLO":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Ignite your students' potential with HelpMeTeach, your AI ally in crafting unique, standards-aligned educational material. Tailor-made to meet individual learning needs, our tool ensures your content is not only original but also profoundly resonates with every learner in your classroom."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKMV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"400px","max-width":"480px","order":8,"min-height":"400px","max-height":"","width":"400px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKMX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":1,"min-height":"280px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 0px)","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKMb":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"420px","max-width":"420px","order":1,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"420px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1698337490233x192832413420503500/ai%20tool%20for%20teachers%20-%20regenerate%20response.gif"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKMc":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKMd":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Add, remove, and Restyle the AI Response"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTKMj":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"14px","font-weight":"600","color":"var(--color_primary_contrast_default)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"EASY CUSTOMIZATION"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKMh":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"With the assessment landscape ever-evolving, HelpMeTeach provides tools that resonate with modern pedagogies. The 'Exit Ticket Generator' offers instant feedback mechanisms, while 'Flash Card Generators' assist in revision and memory-building. Tools like the 'Rubric Generator' empower educators with criteria-based assessment structures, ensuring a transparent and focused feedback system. This suite ensures that assessing learning and offering constructive feedback becomes a more intuitive and productive endeavor."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKMo":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"400px","max-width":"480px","order":9,"min-height":"600px","max-height":"","width":"400px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKMt":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":1,"min-height":"280px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 0px)","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKMu":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"420px","max-width":"420px","order":1,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"420px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1698337515708x410516521076487400/ai%20editor%20for%20teachers.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKMv":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKMz":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Full Text Editor"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTKNF":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"14px","font-weight":"600","color":"var(--color_primary_contrast_default)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Manual Editing"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKNA":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Dive deep into specialized areas of teaching with tools that cater to niche subjects and techniques. From the whimsical yet educative 'Shakespeare Translator' to tools that demystify history via 'History Sources Generator', educators are equipped to bring subjects to life. Need to introduce a fun twist in math? The 'Fun Maths Word Problems' tool has got you covered. Plus, with the 'Language Translator', educators can cater to multicultural classrooms with ease, bridging language gaps effectively."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKNT":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"400px","max-width":"480px","order":10,"min-height":"600px","max-height":"","width":"400px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKNY":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":1,"min-height":"280px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 0px)","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKNZ":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"200px","max-width":"200px","order":1,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"200px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1698338693619x367161989558259200/idea%20%281%29.svg"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKNd":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKNe":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Get Inspired with new ideas!"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTKNj":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"14px","font-weight":"600","color":"var(--color_primary_contrast_default)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Ideas, ideas, ideas!"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKNf":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"HelpMeTeach recognizes that beyond lesson content, managing a classroom's dynamics and individual student needs are paramount. Tools like 'Class Behaviour Management Support' provide strategies to cultivate a positive classroom culture. With the 'IEP Writer', personalizing learning for students with special needs becomes simpler and more effective. And logistical necessities, such as 'Permission Slips' and 'Risk Assessments', are just a click away, ensuring educators can focus more on teaching and less on administrative hassles."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKNN":{"statics":{"buttonType":true,"text":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"var(--font_default)","font-size":"18px","font-weight":"600","color":"rgba(255,255,255,1)","text-align":"center"},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"Try for Free","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTIDa":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"0px","max-width":"1200px","order":7,"min-height":"230px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 40px)","margin-left":"20px","margin-top":"0px","margin-right":"20px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIDd":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":40,"column-gap":40},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKOV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"250px","max-width":"","order":1,"min-height":"220px","max-height":"","width":"250px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKOa":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKOb":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Emma Johnson"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h4"}},"bTKOl":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1699891205460x887628158277696800/help%20me%20teach%20testimonials.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKOg":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"\"HelpMeTeach has revolutionized the way I prepare my lessons and interact with my students. Its intuitive AI-driven suggestions make lesson planning a breeze, and the personalized learning tips have truly made a difference in how I address the varied needs of my classroom. This tool is a must-have for any teacher looking to bring innovation into their teaching methods.\""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKOr":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"250px","max-width":"","order":3,"min-height":"220px","max-height":"","width":"250px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKOt":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKOx":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Simon John"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h4"}},"bTKOy":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1699891331201x269438881267398460/testimonials2.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKOz":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"\"As a math teacher, finding the right problems and creating engaging material can be time-consuming. Since I started using HelpMeTeach, I've saved hours each week on preparation. The AI not only suggests relevant problems but also adapts to different student levels. My students are more engaged, and their performance has improved noticeably. HelpMeTeach is an invaluable asset for any educator.\""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKPE":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"250px","max-width":"","order":6,"min-height":"220px","max-height":"","width":"250px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKPJ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKPK":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Tarik Fayed"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h4"}},"bTKPL":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1699891419634x706405806797950200/testimonials%203.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKPP":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"\"Teaching history in a way that resonates with students has always been my passion. HelpMeTeach's AI has empowered me to bring historical events to life with interactive content and tailored learning paths for my students. The tool's resources for crafting compelling narratives and quizzes are incredibly helpful. It's as if I have a teaching assistant by my side at all times!\""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIEA":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIEC":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIED":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTIEE":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"How does HelpMeTeach work?"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIEG":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"HelpMeTeach leverages OpenAI's cutting-edge models, enhanced through meticulous refinement of inputs, adjustments to model parameters, and extensive training and testing. This fine-tuning process tailors the GPT’s capabilities specifically for educators "},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIEH":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIEI":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTIEJ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"What are the best practices for using HelpMeTeach?"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIEL":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Don't hesitate to regenerate. If the initial response doesn't meet your expectations, use the regeneration feature for another attempt. "},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIEM":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTIEN":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTIEO":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Can you develop a new feature I've thought of?"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIEQ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Absolutely! If you have a concept for a new tool, submit your idea through the 'Request A Tool ' feature on the 'Dashboard' page. We're eager to expand our offerings and will look into creating your suggested tool."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIER":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"46px","font-weight":"700","color":"rgba(51, 51, 51, 1)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"F.A.Qs\n"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTQOt":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQOy":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQOz":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"How can I cancel my subscription?"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTQPD":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"To cancel your subscription, visit the ‘My Account’ page and select ‘Cancel\", update card.’ Follow the prompts on the Stripe payment portal to proceed with your cancellation."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTRdX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTRdc":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTRdd":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Do you offer subscription for schools and educational institutes?"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTRdh":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Yes, we offer premium packages for school and all educational institutes based on the number of staff they would need, we also offer customized AI tools specific to their requirements. Please visit our <a href=\"https://helpmeteach.ai/schools_landing\" target=_blank><font color=\"#ff00ff\">AI for Schools</font></a> page or email us at <font color=\"#c67bf5\"><a href=\"mailto:schools@helpmeteach.ai\" target = \"_blank\">schools@helpmeteach.ai</a></font>"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTIFS":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":60,"column-gap":""},"2":{},"7":{"padding":"0px 40px 0px 40px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPaq0":{"statics":{"containerClass":true,"wrappedClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"0px","max-width":"","order":11,"min-height":"0px","max-height":"","height":"0px","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 0px)","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container-wrapper","wrappedClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":true}},"bTPav0":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"500px","box-sizing":"content-box"},"2":{"visibility":"hidden"},"7":{"opacity":1},"12":{"display":"none"}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTPaw0":{"statics":{"containerClass":true,"wrappedClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"0px 0px 16px 0px"},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"280px","max-width":"450px","order":1,"min-height":"440px","max-height":"","width":"280px","flex-grow":1,"height":"0px","margin-left":"32px","margin-top":"16px","margin-right":"32px","margin-bottom":"16px"},"14":{}},"props":{"containerClass":"bubble-r-container-wrapper","wrappedClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":true}},"bTPax0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPbB0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPbC0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPbP0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPbT0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTPbU0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"bold","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"All in Basic and Standard plus"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbD0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPbH0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTPbI0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"bold","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"All in Basic plus"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbJ0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPbN0":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":" words"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbO0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTPbV0":{"statics":{"useAspectRatio":true,"id":true},"styles":{"1":{},"6":{"opacity":1},"12":{}},"props":{"useAspectRatio":false}},"bTPbZ0":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"<strong><font size=\"3\">$</font></strong> Billed annually\n<strong>Save 20%</strong>"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbg0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPbh0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"12px","font-weight":"500","color":"var(--color_bTITF0_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"/month"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbl0":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"40px","font-weight":"bold","color":"var(--color_text_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"$ "},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTQDF":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":" Days Free Trial"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPba0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPbb0":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbf0":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbm0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"15":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPbn0":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"12px","font-weight":"600","color":"rgba(255,255,255,1)","text-align":"center"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Get Started"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbr0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPbs0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"13px","font-weight":"600","color":"rgba(255,255,255,1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"MOST POPULAR OPTION"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPbt0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTPbx0":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"45px","box-sizing":"content-box"},"2":{"visibility":"hidden"},"7":{"opacity":1},"12":{}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTPby0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPbz0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTPcD0":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTVWc":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"45px","box-sizing":"content-box"},"2":{"visibility":"hidden"},"7":{"opacity":1},"12":{}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTVWh":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTVWi":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTVWj":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTVWt":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"45px","box-sizing":"content-box"},"2":{"visibility":"hidden"},"7":{"opacity":1},"12":{}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTVWv":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTVWz":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTVXA":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPcE0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPcJ0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"18px","font-weight":"600","color":"rgba(var(--color_primary_default_rgb), 0.5)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Monthly"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPcK0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"18px","font-weight":"600","color":"rgba(var(--color_primary_default_rgb), 0.5)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Yearly"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXDR":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"500px","box-sizing":"content-box"},"2":{},"7":{"opacity":1},"12":{}},"props":{"separatorWidth":10,"separatorColor":"rgba(var(--color_text_default_rgb), 0)","separatorStyle":"solid"}},"bTXDS":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTXDT":{"statics":{"containerClass":true,"wrappedClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"63px 0px 30px 0px"},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"250px","max-width":"250px","order":2,"min-height":"440px","max-height":"","height":"0px","flex-grow":0,"flex-shrink":0,"width":"250px","margin-left":"0px","margin-top":"-58px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container-wrapper","wrappedClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":true}},"bTXDX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXDY":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTXDZ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"13px","font-weight":"600","color":"rgba(255,255,255,1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"MOST POPULAR OPTION"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXDd":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"cursor":"pointer"},"15":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXDe":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"12px","font-weight":"600","color":"rgba(255,255,255,1)","text-align":"center"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Get Started"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXDf":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTXDj":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{"visibility":"hidden"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":" Days Free Trial"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXDk":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"<strong><font size=\"3\">$</font></strong> Billed annually\n"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXEJ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTXEN":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTXEO":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTXEP":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXET":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXEU":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXEV":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"40px","font-weight":"bold","color":"var(--color_text_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"$ "},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXEZ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Poppins'","font-size":"12px","font-weight":"500","color":"var(--color_bTITF0_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"/month"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXwx":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTXxC":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxD":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXxH":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":" words per month"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxI":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxJ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"bold","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"5 AI Generations "},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxN":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXxO":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxP":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"bold","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Unlimited AI Generations"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxT":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXxU":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxV":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"bold","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Access to All Tools"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxZ":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXxa":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxb":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXxf":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Curriculum specific"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxg":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxh":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXxl":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Time-saved Tracking"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxm":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxn":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXxr":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Access to Future Tools"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxs":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"hidden auto"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXxt":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"<strong>Tools Included:</strong>\n<br />- Lesson plan creator<br /><br />- Story generator<br /><br />- Kahoot/blooket generator<br /><br />- SEND support<br /><br />- Classroom Behaviour <br /><br />- Reading recommendations<br /><br />- Phonics support<br /><br />- Explain it with a song<br /><br />- General AI assistant<br /><br />- Worksheet generator<br />"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXxx":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXEa":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"45px","box-sizing":"content-box"},"2":{"visibility":"hidden"},"7":{"opacity":1},"12":{}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTXEb":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXEf":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXEg":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXEh":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"45px","box-sizing":"content-box"},"2":{"visibility":"hidden"},"7":{"opacity":1},"12":{"display":"none"}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTXEl":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXEm":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXEn":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXEr":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"45px","box-sizing":"content-box"},"2":{"visibility":"hidden"},"7":{"opacity":1},"12":{"display":"none"}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTXEs":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTXEt":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-check"},"tabIndex":""}},"bTXEx":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"13px","font-weight":"500","color":"rgba(41, 41, 41, 1)"},"5":{"line-height":1.1},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTXEy":{"statics":{"altTag":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{"visibility":"hidden"},"8":{"opacity":1},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1725548165972x484026625783880770/41916615_8978661%201.svg"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTIGY":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"0px","max-width":"","order":4,"min-height":"0px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKUx":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"40px","font-weight":"700","color":"var(--color_text_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Our Subscription Plans"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTIGa":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Get started by choosing one of our plans below"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKBv0":{"statics":{"containerClass":true,"id":true},"styles":{"1":{},"2":{},"4":{},"10":{"opacity":1}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKGV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKGv":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKGp":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"HelpMeTeach"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKBl0":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1692703135585x619219249718623400/TEEPS%20%281%29.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKYR":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKYh":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Pricing"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKYt":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"FAQs"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTVLF":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Blog"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKaB":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{"visibility":"hidden"},"7":{"opacity":1},"12":{"align-self":"center","min-width":"35px","max-width":"35px","order":6,"min-height":"35px","max-height":"35px","width":"35px","flex-grow":1,"height":"35px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{"display":"none"}},"props":{"icon":{"set":"fa","icon":"fa-bars"},"tabIndex":""}},"bTPdB0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPcv0":{"statics":{"buttonType":true,"text":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"500","color":"rgba(255,255,255,1)","text-align":"center"},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"Sign up","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTPsf0":{"statics":{"buttonType":true,"text":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"500","color":"var(--color_primary_default)","text-align":"center"},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"Login","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTKNl":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"40px","font-weight":"700","color":"var(--color_text_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"See what people are saying"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTKbb":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container relative"},"preCached":{"shouldAddWrapper":false}},"bTIBg":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKFl":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTKFr":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"0px","max-width":"","order":3,"min-height":"0px","max-height":"","width":"0px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"80px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKFt":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"18px","font-weight":"300","color":"var(--color_bTITB0_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Join a growing community of teachers who trust HelpMeTeach to simplify lesson planning, improve differentiation, create assessments, draft IEPs, communicate with clarity, and beyond. With over 75 AI-powered tools at your disposal, you'll be amazed at how much more you can accomplish in less time."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTKFs":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Cairo Play'","font-size":"52px","font-weight":"700","color":"var(--color_text_default)","text-align":"center"},"6":{},"7":{"padding":"0px 32px 0px 32px"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"<font color=\"#000000\">The Ultimate AI Tool for</font> <strong>Teachers</strong>\n"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTRif":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTRit":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTKGD":{"statics":{"buttonType":true,"text":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"'Raleway'","font-size":"18px","font-weight":"600","color":"rgba(255,255,255,1)","text-align":"center"},"9":{"opacity":1},"14":{"align-self":"center","min-width":"180px","max-width":"","order":2,"min-height":"45px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"16":{}},"props":{"buttonType":"label","text":"Try for Free","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTRjK":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"18px","font-weight":"600","color":"var(--color_primary_contrast_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"For Teachers"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTRjD":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTRjF":{"statics":{"buttonType":true,"text":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"'Raleway'","font-size":"18px","font-weight":"600","color":"rgba(255,255,255,1)","text-align":"center"},"9":{"opacity":1},"14":{"align-self":"center","min-width":"180px","max-width":"","order":2,"min-height":"45px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"16":{}},"props":{"buttonType":"label","text":"Find out more!","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTRjQ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"18px","font-weight":"600","color":"var(--color_primary_contrast_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"For Schools"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTRkF":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"800px","max-width":"800px","order":10,"min-height":"","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"800px","margin-left":"0px","margin-top":"16px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1700687452349x283504051253798750/ai%20tool%20for%20schools.gif"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTKbn":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"start","justify-self":"end","min-width":"418px","max-width":"1460px","min-height":"","max-height":"","width":"calc(100% - 0px)","height":"max-content","margin-left":"0px","margin-top":"80px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1692790376176x607054944384953300/Mask%20group.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTPdZ0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPde0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"40px","font-weight":"700","color":"var(--color_text_default)","text-align":"center"},"6":{},"7":{"padding":"0px 120px 0px 120px"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"How it works"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTPdf0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPdj0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTPdk0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"200px","max-width":"","order":2,"min-height":"0px","max-height":"","width":"200px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPeV0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-hand-pointer-o"},"tabIndex":""}},"bTPeb0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Step 1"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h4"}},"bTPeh0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Select a tool"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPen0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Choose whatever tool you need, whether it's lesson planning, assessment creator, math or history questions, etc."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPfE0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"200px","max-width":"","order":5,"min-height":"0px","max-height":"","width":"200px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPfJ0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-pencil"},"tabIndex":""}},"bTPfK0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Step 2"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h4"}},"bTPfL0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Fill your prompt"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPfP0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"This tells the AI what you're looking for?\nDon't over think it"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPfR0":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"200px","max-width":"","order":6,"min-height":"0px","max-height":"","width":"200px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTPfW0":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-magic"},"tabIndex":""}},"bTPfX0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Step 3"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h4"}},"bTPfb0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Click Generate"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTPfc0":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"After a few seconds you'll have your AI\ngenerated content ready to edit, copy and paste or export"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTQJX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"0px 24px 0px 24px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQJc":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQJd":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"400","color":"var(--color_text_default)","text-align":"center"},"7":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"© 2023 Ydawi Online FZ-LLC. All rights reserved."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTQJh":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQKZ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"stretch","min-width":"0px","max-width":"","order":1,"min-height":"64px","max-height":"","width":"max-content","flex-grow":0,"height":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQKd":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"35px","max-width":"","order":5,"min-height":"0px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQKe":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"14":{}},"props":{"icon":{"set":"fa","icon":"fa-twitter"},"tabIndex":""}},"bTQKf":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-facebook-f"},"tabIndex":""}},"bTQKj":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"14":{}},"props":{"icon":{"set":"fa","icon":"fa-instagram"},"spin":false,"tabIndex":""}},"bTQKk":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"14":{}},"props":{"icon":{"set":"fa","icon":"fa-linkedin"},"tabIndex":""}},"bTQKl":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":2,"min-height":"0px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQKq":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"15":{"align-self":"stretch","min-width":"0px","max-width":"","order":3,"min-height":"0px","max-height":"","height":"max-content","flex-grow":0,"flex-shrink":0,"width":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"17":{}},"props":{"textData":{"html":"The Ultimate AI Tool for Teachers"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTQKw":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQLB":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"HelpMeTeach"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTQLC":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1692703135585x619219249718623400/TEEPS%20%281%29.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWEr":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"stretch","min-width":"0px","max-width":"","order":3,"min-height":"0px","max-height":"","width":"max-content","flex-grow":0,"height":"auto","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWEw":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":4,"min-height":"0px","max-height":"","width":"max-content","flex-grow":0,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWEx":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":7,"min-height":"0px","max-height":"","width":"max-content","flex-grow":0,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWFB":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"700","color":"var(--color_text_default)"},"7":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Legal"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTWFC":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"400","color":"var(--color_text_default)"},"7":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Privacy Policy"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTWFD":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"400","color":"var(--color_text_default)"},"7":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Terms &amp; Conditions"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTWFH":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"","order":6,"min-height":"0px","max-height":"","width":"max-content","flex-grow":0,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWFI":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"400","color":"var(--color_text_default)"},"7":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"About us"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTWFJ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"700","color":"var(--color_text_default)"},"7":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Company"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTWFN":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"400","color":"var(--color_text_default)"},"7":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Blog"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTWFO":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"400","color":"var(--color_text_default)"},"7":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Contact us"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTQKr":{"statics":{"useAspectRatio":true,"id":true},"styles":{"1":{},"6":{"opacity":1},"12":{}},"props":{"useAspectRatio":false}},"bTQSu":{"statics":{"containerClass":true,"id":true},"styles":{"1":{"position":"absolute"},"3":{"visibility":"hidden"}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTQTB":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQTH":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"18px","font-weight":"400","color":"var(--color_primary_default)"},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Login"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTQTN":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQTS":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"18px","font-weight":"bold","color":"var(--color_primary_contrast_default)"},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Get started for free"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTQTe":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQTj":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"18px","font-weight":"400","color":"var(--color_primary_default)"},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Pricing"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTQTl":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTQTq":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"18px","font-weight":"400","color":"var(--color_primary_default)"},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"FAQs"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTVPb":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTVPg":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Raleway'","font-size":"18px","font-weight":"400","color":"var(--color_primary_default)"},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"Blog"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}}}
window.preloaded['app/page_metadata:index'] = true;
/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
// BUBBLE PATCH NOTES - offset() changed below, see comment
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=true),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){
    var e=this[0];
    // BUBBLE PATCH NOTES - offset() changed below, see comment in non-minified
    if (!e) return {left:0, top:0};
    return(!e||e.nodeType&&e.getBoundingClientRect)
        ?I.apply(this,arguments)
        :(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length
            ?this
            :({left:0,top:0}))},"offset-valid-elem"
),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});

window.preloaded['js/vendor:jquery-migrate-3.4.1.min.js'] = true;

window.bubble_version = 23;
window.preloaded['app/metadata:bubble_version'] = true;
window._bubble_page_load_data.hardcoded_plugins = window._bubble_page_load_data.hardcoded_plugins || {};
window._bubble_page_load_data.hardcoded_plugins['ionic'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['b932683b7c71fbe9edf258c20897513d9278643155cd4750df5077722efab57c']){window.__code__['b932683b7c71fbe9edf258c20897513d9278643155cd4750df5077722efab57c']=1;

"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch(e){return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e2){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e2){return cachedClearTimeout.call(this,marker)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch(error){return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurry-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(SHARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurryThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch(error){}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch(error){}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_add_to_unscopables=__commonJS({"node_modules/core-js/internals/add-to-unscopables.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),create=require_object_create(),defineProperty=require_object_define_property().f,UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;ArrayPrototype[UNSCOPABLES]===void 0&&defineProperty(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)});module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}}});var require_es_array_includes=__commonJS({"node_modules/core-js/modules/es.array.includes.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),$includes=require_array_includes().includes,fails=require_fails(),addToUnscopables=require_add_to_unscopables(),BROKEN_ON_SPARSE=fails(function(){return!Array(1).includes()});$2({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}});addToUnscopables("includes")}});var _window$u,_window,_window$safe_require,_window2,u,safe_require,init_window_register=__esm({"lib-browser-old/window_register.js"(){"use strict";init_define_process_env();init_shim();u=(_window$u=(_window=window)==null?void 0:_window.u)!=null?_window$u:_u,safe_require=(_window$safe_require=(_window2=window)==null?void 0:_window2.safe_require)!=null?_window$safe_require:_safe_require}});var ionic_IonicIcon_exports={};__export(ionic_IonicIcon_exports,{additional_data:()=>additional_data,initialize:()=>initialize,property_applications:()=>property_applications_internal});function initialize(instance){let canvas=instance.get_canvas();property_applications.patch_user_agent_styles(canvas),instance.wait_for_visible_lite(()=>{element_eval.on_property_change(instance,"icon",icon=>{let add=canvas.hasClass(runmode_consts.CLICKABLE_ELEMENT);canvas.attr("class",""),canvas.addClass("".concat(icon," inner-element bubble-element")),add&&canvas.addClass(runmode_consts.CLICKABLE_ELEMENT)}),element_eval.on_property_change(instance,"icon_color",icon_color=>canvas[0].style.color=icon_color),element_eval.on_property_change(instance,["height","top","left","width"],_ref=>{let{height}=_ref,correction=height*.08;canvas[0].style.height="".concat(correction+height,"px"),canvas[0].style["margin-top"]="".concat(-correction,"px")}),icons_legacy.calculate_font_size_for_fontawesome(instance)})}var property_applications,runmode_consts,element_eval,icons_legacy,property_applications_internal,additional_data,init_ionic_IonicIcon=__esm({"lib-browser-old/optional/services/legacy/responsive_v0/ionic_IonicIcon.js"(){"use strict";init_define_process_env();init_shim();init_window_register();property_applications=safe_require.safe_require("./core/property_applications"),runmode_consts=safe_require.safe_require("./constants/runmode"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),icons_legacy=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/shared/icons"),property_applications_internal=[new property_applications.MinWidth];additional_data={notify_width(instance,width){instance.state("notify_width",width)}}}});init_define_process_env();init_shim();var import_es_array_includes=__toESM(require_es_array_includes());init_window_register();var external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),shared_fields=safe_require.safe_require("./core/shared_fields"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),property_applications2=safe_require.safe_require("./core/property_applications"),runmode_consts2=safe_require.safe_require("./constants/runmode"),icons=safe_require.safe_require("./core/core_elements/shared/icons"),element_eval2=safe_require.safe_require("./lang/evaluation/element_eval"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications"),goToElementEvent;u.is_edit_mode()&&!u.is_plugin_edit_mode()&&({goToElementEvent}=safe_require.safe_require("./editor/workflow_tab/logic/events"));element_modifications.set_legacy_element_modifications("ionic-IonicIcon",(init_ionic_IonicIcon(),__toCommonJS(ionic_IonicIcon_exports)));element_modifications.set_legacy_element_modifications("ionic-IonicToggle",{});element_modifications.set_legacy_element_modifications("ionic-IonicCheckbox",{});element_modifications.set_legacy_element_modifications("ionic-IonicRange");var PLUGIN_FILE="ionic";function _include_user_non_select(div){div.css({"webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})}var _checkbox_field_names=u.extend({contents:{default:"checked"},dynamic:{},mandatory:{no_states:!0},color:{default:"balanced",in_style:!0}},inputs.get_disabled_field_name,inputs.get_auto_binding_field_names);function to_bool(val){return typeof val=="string"&&["false","no","null","none","undefined"].includes(val.toLowerCase())&&(val=!1),!!val}function checkbox_get_starting_content(instance){if(instance.get_static_property("auto_binding"))return inputs.get_input_autobind_thing_field(instance);let content=element_eval2.evaluate_property(instance,"contents");return content==="checked"?!0:content==="unchecked"?!1:element_eval2.evaluate_property(instance,"dynamic")}function checkbox_content_validated(val,instance){return val!=null||!instance.get_static_property("mandatory")}function plugin_version(){if(Lib()){var _appquery$get_public_;return(_appquery$get_public_=appquery.get_public_setting("ionic_installed_version"))!=null?_appquery$get_public_:0}else return 1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("ionic_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{IonicToggle:{display:"Ionic Toggle",category:"input forms",icon:"ion-toggle-filled",condition(root){var _root$is_mobile;return!(root!=null&&(_root$is_mobile=root.is_mobile)!=null&&_root$is_mobile.call(root))},defaults:{width:51,height:31},field_names:_checkbox_field_names,primary_field(){},_fields(element){return _checkbox_fields(element)},mandatory_sections(){return["IonicContent"]},property_applications:[new property_applications2.PositionOnly,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},initialize(instance){return services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),instance.wait_for_visible_lite(()=>{let html='<label class="ionic-toggle">\n   <input type="checkbox">\n   <div class="ionic-track">\n     <div class="ionic-handle"></div>\n   </div>\n</label>',canvas=instance.get_canvas();canvas.append($(html));let toggle_element=canvas.find(".ionic-toggle");if(instance.edit_mode()){let{element}=instance;element.set_property("width",51),element.set_property("height",31)}instance.run_mode()&&(canvas.addClass(runmode_consts2.CLICKABLE_ELEMENT),canvas.css({overflow:"visible"})),element_eval2.on_property_change(instance,"color",color=>{toggle_element.attr("class","");let class_name="ionic-toggle toggle-"+color;toggle_element.attr("class",class_name)}),_include_user_non_select(canvas);let ip=canvas.find("input");return instance.run_mode()&&(ip.change(()=>{var _ip$0$checked;return instance.message("user_submit",(_ip$0$checked=ip[0].checked)!=null?_ip$0$checked:!1),!0}),element_eval2.on_property_change(instance,"disabled",value=>{ip[0].disabled=value})),inputs.input_change_autorun(instance,val=>{ip[0].checked=to_bool(val)})})},get_starting_content:checkbox_get_starting_content,get_state_value(element,name){if(name==="value")return"sys.bool"},content_validated:checkbox_content_validated,change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!0,is_checkbox:!0,contains_group_data:!1,not_resizable(){return!0},no_is_focused:!0,css_files:["css/optional/ionic/toggle.css"],actions:["ResetInputs"]},IonicCheckbox:{display:"Ionic Checkbox",category:"input forms",icon:"ion-checkmark-circled",condition(root){var _root$is_mobile2;return!(root!=null&&(_root$is_mobile2=root.is_mobile)!=null&&_root$is_mobile2.call(root))},defaults:{width:28,height:28},field_names:_checkbox_field_names,primary_field(){},_fields(element){return _checkbox_fields(element)},mandatory_sections(){return["IonicContent"]},property_applications:[new property_applications2.PositionOnly,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},initialize(instance){return services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),instance.wait_for_visible_lite(()=>{let html='<label class="ionic-checkbox">\n   <input type="checkbox">\n</label>',canvas=instance.get_canvas();canvas.append($(html));let toggle_element=canvas.find(".ionic-checkbox");if(element_eval2.on_property_change(instance,"color",color=>{toggle_element.attr("class","");let class_name="ionic-checkbox checkbox-"+color;toggle_element.attr("class",class_name)}),_include_user_non_select(canvas),instance.edit_mode()){let{element}=instance;element.set_property("width",28),element.set_property("height",28)}let ip=canvas.find("input");return instance.run_mode()&&(canvas.addClass(runmode_consts2.CLICKABLE_ELEMENT),ip.change(()=>{var _ip$0$checked2;return instance.message("user_submit",(_ip$0$checked2=ip[0].checked)!=null?_ip$0$checked2:!1),!0}),element_eval2.on_property_change(instance,"disabled",value=>{ip[0].disabled=value})),inputs.input_change_autorun(instance,val=>{ip[0].checked=to_bool(val)})})},get_starting_content:checkbox_get_starting_content,get_state_value(element,name){if(name==="value")return"sys.bool"},content_validated:checkbox_content_validated,change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!0,is_checkbox:!0,contains_group_data:!1,not_resizable(){return!0},no_is_focused:!0,css_files:["css/optional/ionic/checkbox.css"],actions:["ResetInputs"]},IonicRange:{display:"Ionic Range",category:"input forms",icon:"ion-ios-settings",condition(root){var _root$is_mobile3;return!(root!=null&&(_root$is_mobile3=root.is_mobile)!=null&&_root$is_mobile3.call(root))},defaults:{width:300,height:58},field_names:u.extend({min:{default:0},max:{default:10},step:{default:1},content:{},color:{default:"balanced"}},inputs.get_disabled_field_name,inputs.get_auto_binding_field_names),property_applications:[new property_applications2.Dimensions,new property_applications2.Background,new property_applications2.Border,new property_applications2.BoxShadow,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},get_min_width(){return 0},initialize(instance){return services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),instance.wait_for_visible_lite(()=>{let html='<div class="item ionic-range">\n  <input type="range" min="0" max="100" value="33">\n</div>',canvas=instance.get_canvas();canvas.append($(html));let range_element=canvas.find(".ionic-range");element_eval2.on_property_change(instance,"color",color=>{range_element.attr("class","");let class_name="ionic-range range-"+color;range_element.attr("class",class_name)}),element_eval2.on_property_change(instance,["min","max","step"],res=>{for(let key in res){let val=res[key];canvas.find("input").attr(key,val)}}),_include_user_non_select(canvas);let ip=canvas.find("input");return instance.run_mode()&&(canvas.addClass(runmode_consts2.CLICKABLE_ELEMENT),ip.change(()=>{var _ip$0$value;return instance.message("user_submit",(_ip$0$value=ip[0].value)!=null?_ip$0$value:0),!0}),element_eval2.on_property_change(instance,"disabled",value=>{ip[0].disabled=value})),inputs.input_change_autorun(instance,val=>{ip[0].value=val})})},get_starting_content(instance){if(instance.edit_mode()){var _element_eval$evaluat;return(_element_eval$evaluat=element_eval2.evaluate_property(instance,"content"))!=null?_element_eval$evaluat:(element_eval2.evaluate_property(instance,"min")+element_eval2.evaluate_property(instance,"max"))/2}else{var _ref,_element_eval$evaluat2;return instance.get_static_property("auto_binding")?inputs.get_input_autobind_thing_field(instance):(_ref=(_element_eval$evaluat2=element_eval2.evaluate_property(instance,"content"))!=null?_element_eval$evaluat2:element_eval2.evaluate_property(instance,"min"))!=null?_ref:0}},get_state_value(element,name){if(name==="value")return"number"},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!0,contains_group_data:!1,no_is_focused:!0,css_files:["css/optional/ionic/range.css"],actions:["ResetInputs"]},IonicIcon:{display:"Ionic Icon",category:"visual elements",icon:"ion-ionic",condition(root){var _root$is_mobile4;return!(root!=null&&(_root$is_mobile4=root.is_mobile)!=null&&_root$is_mobile4.call(root))},defaults:{font_alignment:"center",background_style:"none",border_style:"none",border_roundness:4,border_width:2,border_color:"#6B6B6B",boxshadow_style:"none",width:80,height:80},field_names:u.extend({icon:{default:"ion-ionic"},icon_color:{default:"#373737",in_style:!0}},element_workflows.start_workflow_field_names),property_applications:[new property_applications2.Dimensions,new property_applications2.FontShadow,new property_applications2.Border,new property_applications2.BoxShadow,new property_applications2.Background,new property_applications2.ResponsiveElement,new property_applications2.ToolTip],uses_css_responsive:!0,get_html(instance){return"<button></button>"},get_min_width(element){return 0},transition_properties:{icon_color:"color"},change_cursor_style_if_clickable:!0,initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();property_applications2.patch_user_agent_styles(canvas),instance.wait_for_visible_lite(()=>{$(document).ready(()=>{instance.autorun(()=>{canvas.empty();let icon=element_eval2.evaluate_property(instance,"icon");canvas.append(icons.get_icon_svg("ionicons",icon)),element_eval2.evaluate_property(instance,"button_disabled")&&canvas.attr("tabindex","-1")})}),element_eval2.on_property_change(instance,"icon_color",icon_color=>{canvas[0].style.color=icon_color})})},is_input:!1,contains_group_data:!1,events:["ButtonClicked","ElementPressed"],add_an_invisible_div_on_the_top:!1,css_files:["css/optional/ionic/ionicons.min.css"]}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},ionic={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.ionic=ionic);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("ionic",ionic);})();
/*! Bundled license information:

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)
*/

}


window.preloaded['plugin/first_party:ionic'] = true;
window._bubble_page_load_data.hardcoded_plugins['stripe'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['bc1fcdbb1735fce369f95b6ae74e43ffbea91a11fa536a526f22fc961b1a033b']){window.__code__['bc1fcdbb1735fce369f95b6ae74e43ffbea91a11fa536a526f22fc961b1a033b']=1;

"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch(e){return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e2){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e2){return cachedClearTimeout.call(this,marker)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch(error){return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurry-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(SHARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurryThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch(error){}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch(error){}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch(error){}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_to_string=__commonJS({"node_modules/core-js/internals/to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),$String=String;module.exports=function(argument){if(classof(argument)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return $String(argument)}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_es_symbol_description=__commonJS({"node_modules/core-js/modules/es.symbol.description.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),DESCRIPTORS=require_descriptors(),global=require_global(),uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),toString=require_to_string(),defineBuiltInAccessor=require_define_built_in_accessor(),copyConstructorProperties=require_copy_constructor_properties(),NativeSymbol=global.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype;DESCRIPTORS&&isCallable(NativeSymbol)&&(!("description"in SymbolPrototype)||NativeSymbol().description!==void 0)&&(EmptyStringDescriptionStore={},SymbolWrapper=function(){var description=arguments.length<1||arguments[0]===void 0?void 0:toString(arguments[0]),result=isPrototypeOf(SymbolPrototype,this)?new NativeSymbol(description):description===void 0?NativeSymbol():NativeSymbol(description);return description===""&&(EmptyStringDescriptionStore[result]=!0),result},copyConstructorProperties(SymbolWrapper,NativeSymbol),SymbolWrapper.prototype=SymbolPrototype,SymbolPrototype.constructor=SymbolWrapper,NATIVE_SYMBOL=String(NativeSymbol("description detection"))==="Symbol(description detection)",thisSymbolValue=uncurryThis(SymbolPrototype.valueOf),symbolDescriptiveString=uncurryThis(SymbolPrototype.toString),regexp=/^Symbol\((.*)\)[^)]+$/,replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),defineBuiltInAccessor(SymbolPrototype,"description",{configurable:!0,get:function(){var symbol=thisSymbolValue(this);if(hasOwn(EmptyStringDescriptionStore,symbol))return"";var string=symbolDescriptiveString(symbol),desc=NATIVE_SYMBOL?stringSlice(string,7,-1):replace(string,regexp,"$1");return desc===""?void 0:desc}}),$2({global:!0,constructor:!0,forced:!0},{Symbol:SymbolWrapper}));var EmptyStringDescriptionStore,SymbolWrapper,NATIVE_SYMBOL,thisSymbolValue,symbolDescriptiveString,regexp,replace,stringSlice}});var require_regexp_flags=__commonJS({"node_modules/core-js/internals/regexp-flags.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object();module.exports=function(){var that=anObject(this),result="";return that.hasIndices&&(result+="d"),that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.dotAll&&(result+="s"),that.unicode&&(result+="u"),that.unicodeSets&&(result+="v"),that.sticky&&(result+="y"),result}}});var require_regexp_sticky_helpers=__commonJS({"node_modules/core-js/internals/regexp-sticky-helpers.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),global=require_global(),$RegExp=global.RegExp,UNSUPPORTED_Y=fails(function(){var re=$RegExp("a","y");return re.lastIndex=2,re.exec("abcd")!==null}),MISSED_STICKY=UNSUPPORTED_Y||fails(function(){return!$RegExp("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y||fails(function(){var re=$RegExp("^r","gy");return re.lastIndex=2,re.exec("str")!==null});module.exports={BROKEN_CARET,MISSED_STICKY,UNSUPPORTED_Y}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_regexp_unsupported_dot_all=__commonJS({"node_modules/core-js/internals/regexp-unsupported-dot-all.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),global=require_global(),$RegExp=global.RegExp;module.exports=fails(function(){var re=$RegExp(".","s");return!(re.dotAll&&re.test("\n")&&re.flags==="s")})}});var require_regexp_unsupported_ncg=__commonJS({"node_modules/core-js/internals/regexp-unsupported-ncg.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),global=require_global(),$RegExp=global.RegExp;module.exports=fails(function(){var re=$RegExp("(?<a>b)","g");return re.exec("b").groups.a!=="b"||"b".replace(re,"$<a>c")!=="bc"})}});var require_regexp_exec=__commonJS({"node_modules/core-js/internals/regexp-exec.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),uncurryThis=require_function_uncurry_this(),toString=require_to_string(),regexpFlags=require_regexp_flags(),stickyHelpers=require_regexp_sticky_helpers(),shared=require_shared(),create=require_object_create(),getInternalState=require_internal_state().get,UNSUPPORTED_DOT_ALL=require_regexp_unsupported_dot_all(),UNSUPPORTED_NCG=require_regexp_unsupported_ncg(),nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt=uncurryThis("".charAt),indexOf=uncurryThis("".indexOf),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),UPDATES_LAST_INDEX_WRONG=function(){var re1=/a/,re2=/b*/g;return call(nativeExec,re1,"a"),call(nativeExec,re2,"a"),re1.lastIndex!==0||re2.lastIndex!==0}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=/()??/.exec("")[1]!==void 0,PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG;PATCH&&(patchedExec=function(string){var re=this,state=getInternalState(re),str=toString(string),raw=state.raw,result,reCopy,lastIndex,match,i,object,group;if(raw)return raw.lastIndex=re.lastIndex,result=call(patchedExec,raw,str),re.lastIndex=raw.lastIndex,result;var groups=state.groups,sticky=UNSUPPORTED_Y&&re.sticky,flags=call(regexpFlags,re),source=re.source,charsAdded=0,strCopy=str;if(sticky&&(flags=replace(flags,"y",""),indexOf(flags,"g")===-1&&(flags+="g"),strCopy=stringSlice(str,re.lastIndex),re.lastIndex>0&&(!re.multiline||re.multiline&&charAt(str,re.lastIndex-1)!=="\n")&&(source="(?: "+source+")",strCopy=" "+strCopy,charsAdded++),reCopy=new RegExp("^(?:"+source+")",flags)),NPCG_INCLUDED&&(reCopy=new RegExp("^"+source+"$(?!\\s)",flags)),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=call(nativeExec,sticky?reCopy:re,strCopy),sticky?match?(match.input=stringSlice(match.input,charsAdded),match[0]=stringSlice(match[0],charsAdded),match.index=re.lastIndex,re.lastIndex+=match[0].length):re.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&call(nativeReplace,match[0],reCopy,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(match[i]=void 0)}),match&&groups)for(match.groups=object=create(null),i=0;i<groups.length;i++)group=groups[i],object[group[0]]=match[group[1]];return match});module.exports=patchedExec}});var require_es_regexp_exec=__commonJS({"node_modules/core-js/modules/es.regexp.exec.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),exec=require_regexp_exec();$2({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec})}});var require_function_apply=__commonJS({"node_modules/core-js/internals/function-apply.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports=typeof Reflect=="object"&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})}});var require_fix_regexp_well_known_symbol_logic=__commonJS({"node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"(exports,module){"use strict";init_define_process_env();init_shim();require_es_regexp_exec();var call=require_function_call(),defineBuiltIn=require_define_built_in(),regexpExec=require_regexp_exec(),fails=require_fails(),wellKnownSymbol=require_well_known_symbol(),createNonEnumerableProperty=require_create_non_enumerable_property(),SPECIES=wellKnownSymbol("species"),RegExpPrototype=RegExp.prototype;module.exports=function(KEY,exec,FORCED,SHAM){var SYMBOL=wellKnownSymbol(KEY),DELEGATES_TO_SYMBOL=!fails(function(){var O={};return O[SYMBOL]=function(){return 7},""[KEY](O)!==7}),DELEGATES_TO_EXEC=DELEGATES_TO_SYMBOL&&!fails(function(){var execCalled=!1,re=/a/;return KEY==="split"&&(re={},re.constructor={},re.constructor[SPECIES]=function(){return re},re.flags="",re[SYMBOL]=/./[SYMBOL]),re.exec=function(){return execCalled=!0,null},re[SYMBOL](""),!execCalled});if(!DELEGATES_TO_SYMBOL||!DELEGATES_TO_EXEC||FORCED){var nativeRegExpMethod=/./[SYMBOL],methods=exec(SYMBOL,""[KEY],function(nativeMethod,regexp,str,arg2,forceStringMethod){var $exec=regexp.exec;return $exec===regexpExec||$exec===RegExpPrototype.exec?DELEGATES_TO_SYMBOL&&!forceStringMethod?{done:!0,value:call(nativeRegExpMethod,regexp,str,arg2)}:{done:!0,value:call(nativeMethod,str,regexp,arg2)}:{done:!1}});defineBuiltIn(String.prototype,KEY,methods[0]),defineBuiltIn(RegExpPrototype,SYMBOL,methods[1])}SHAM&&createNonEnumerableProperty(RegExpPrototype[SYMBOL],"sham",!0)}}});var require_string_multibyte=__commonJS({"node_modules/core-js/internals/string-multibyte.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toIntegerOrInfinity=require_to_integer_or_infinity(),toString=require_to_string(),requireObjectCoercible=require_require_object_coercible(),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),stringSlice=uncurryThis("".slice),createMethod=function(CONVERT_TO_STRING){return function($this,pos){var S=toString(requireObjectCoercible($this)),position=toIntegerOrInfinity(pos),size=S.length,first,second;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=charCodeAt(S,position),first<55296||first>56319||position+1===size||(second=charCodeAt(S,position+1))<56320||second>57343?CONVERT_TO_STRING?charAt(S,position):first:CONVERT_TO_STRING?stringSlice(S,position,position+2):(first-55296<<10)+(second-56320)+65536)}};module.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}}});var require_advance_string_index=__commonJS({"node_modules/core-js/internals/advance-string-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var charAt=require_string_multibyte().charAt;module.exports=function(S,index,unicode){return index+(unicode?charAt(S,index).length:1)}}});var require_get_substitution=__commonJS({"node_modules/core-js/internals/get-substitution.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),floor=Math.floor,charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return namedCaptures!==void 0&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace(replacement,symbols,function(match,ch){var capture;switch(charAt(ch,0)){case"$":return"$";case"&":return matched;case"`":return stringSlice(str,0,position);case"'":return stringSlice(str,tailPos);case"<":capture=namedCaptures[stringSlice(ch,1,-1)];break;default:var n=+ch;if(n===0)return match;if(n>m){var f=floor(n/10);return f===0?match:f<=m?captures[f-1]===void 0?charAt(ch,1):captures[f-1]+charAt(ch,1):match}capture=captures[n-1]}return capture===void 0?"":capture})}}});var require_regexp_exec_abstract=__commonJS({"node_modules/core-js/internals/regexp-exec-abstract.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),isCallable=require_is_callable(),classof=require_classof_raw(),regexpExec=require_regexp_exec(),$TypeError=TypeError;module.exports=function(R,S){var exec=R.exec;if(isCallable(exec)){var result=call(exec,R,S);return result!==null&&anObject(result),result}if(classof(R)==="RegExp")return call(regexpExec,R,S);throw new $TypeError("RegExp#exec called on incompatible receiver")}}});var require_es_string_replace=__commonJS({"node_modules/core-js/modules/es.string.replace.js"(){"use strict";init_define_process_env();init_shim();var apply=require_function_apply(),call=require_function_call(),uncurryThis=require_function_uncurry_this(),fixRegExpWellKnownSymbolLogic=require_fix_regexp_well_known_symbol_logic(),fails=require_fails(),anObject=require_an_object(),isCallable=require_is_callable(),isNullOrUndefined=require_is_null_or_undefined(),toIntegerOrInfinity=require_to_integer_or_infinity(),toLength=require_to_length(),toString=require_to_string(),requireObjectCoercible=require_require_object_coercible(),advanceStringIndex=require_advance_string_index(),getMethod=require_get_method(),getSubstitution=require_get_substitution(),regExpExec=require_regexp_exec_abstract(),wellKnownSymbol=require_well_known_symbol(),REPLACE=wellKnownSymbol("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(it){return it===void 0?it:String(it)},REPLACE_KEEPS_$0=function(){return"a".replace(/./,"$0")==="$0"}(),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=function(){return/./[REPLACE]?/./[REPLACE]("a","$0")==="":!1}(),REPLACE_SUPPORTS_NAMED_GROUPS=!fails(function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"".replace(re,"$<a>")!=="7"});fixRegExpWellKnownSymbolLogic("replace",function(_,nativeReplace,maybeCallNative){var UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=isNullOrUndefined(searchValue)?void 0:getMethod(searchValue,REPLACE);return replacer?call(replacer,searchValue,O,replaceValue):call(nativeReplace,toString(O),searchValue,replaceValue)},function(string,replaceValue){var rx=anObject(this),S=toString(string);if(typeof replaceValue=="string"&&stringIndexOf(replaceValue,UNSAFE_SUBSTITUTE)===-1&&stringIndexOf(replaceValue,"$<")===-1){var res=maybeCallNative(nativeReplace,rx,S,replaceValue);if(res.done)return res.value}var functionalReplace=isCallable(replaceValue);functionalReplace||(replaceValue=toString(replaceValue));var global=rx.global,fullUnicode;global&&(fullUnicode=rx.unicode,rx.lastIndex=0);for(var results=[],result;result=regExpExec(rx,S),!(result===null||(push(results,result),!global));){var matchStr=toString(result[0]);matchStr===""&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var accumulatedResult="",nextSourcePosition=0,i=0;i<results.length;i++){result=results[i];for(var matched=toString(result[0]),position=max(min(toIntegerOrInfinity(result.index),S.length),0),captures=[],replacement,j=1;j<result.length;j++)push(captures,maybeToString(result[j]));var namedCaptures=result.groups;if(functionalReplace){var replacerArgs=concat([matched],captures,position,S);namedCaptures!==void 0&&push(replacerArgs,namedCaptures),replacement=toString(apply(replaceValue,void 0,replacerArgs))}else replacement=getSubstitution(matched,S,position,captures,namedCaptures,replaceValue);position>=nextSourcePosition&&(accumulatedResult+=stringSlice(S,nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+stringSlice(S,nextSourcePosition)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE)}});var require_add_to_unscopables=__commonJS({"node_modules/core-js/internals/add-to-unscopables.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),create=require_object_create(),defineProperty=require_object_define_property().f,UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;ArrayPrototype[UNSCOPABLES]===void 0&&defineProperty(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)});module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_set_to_string_tag=__commonJS({"node_modules/core-js/internals/set-to-string-tag.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineProperty=require_object_define_property().f,hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag");module.exports=function(target,TAG,STATIC){target&&!STATIC&&(target=target.prototype),target&&!hasOwn(target,TO_STRING_TAG)&&defineProperty(target,TO_STRING_TAG,{configurable:!0,value:TAG})}}});var require_iterator_create_constructor=__commonJS({"node_modules/core-js/internals/iterator-create-constructor.js"(exports,module){"use strict";init_define_process_env();init_shim();var IteratorPrototype=require_iterators_core().IteratorPrototype,create=require_object_create(),createPropertyDescriptor=require_create_property_descriptor(),setToStringTag=require_set_to_string_tag(),Iterators=require_iterators(),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}}});var require_function_uncurry_this_accessor=__commonJS({"node_modules/core-js/internals/function-uncurry-this-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),aCallable=require_a_callable();module.exports=function(object,key,method){try{return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object,key)[method]))}catch(error){}}}});var require_is_possible_prototype=__commonJS({"node_modules/core-js/internals/is-possible-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object();module.exports=function(argument){return isObject(argument)||argument===null}}});var require_a_possible_prototype=__commonJS({"node_modules/core-js/internals/a-possible-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPossiblePrototype=require_is_possible_prototype(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isPossiblePrototype(argument))return argument;throw new $TypeError("Can't set "+$String(argument)+" as a prototype")}}});var require_object_set_prototype_of=__commonJS({"node_modules/core-js/internals/object-set-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThisAccessor=require_function_uncurry_this_accessor(),anObject=require_an_object(),aPossiblePrototype=require_a_possible_prototype();module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var CORRECT_SETTER=!1,test={},setter;try{setter=uncurryThisAccessor(Object.prototype,"__proto__","set"),setter(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter(O,proto):O.__proto__=proto,O}}():void 0)}});var require_iterator_define=__commonJS({"node_modules/core-js/internals/iterator-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),IS_PURE=require_is_pure(),FunctionName=require_function_name(),isCallable=require_is_callable(),createIteratorConstructor=require_iterator_create_constructor(),getPrototypeOf=require_object_get_prototype_of(),setPrototypeOf=require_object_set_prototype_of(),setToStringTag=require_set_to_string_tag(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),IteratorsCore=require_iterators_core(),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case KEYS:return function(){return new IteratorConstructor(this,KIND)};case VALUES:return function(){return new IteratorConstructor(this,KIND)};case ENTRIES:return function(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator=NAME==="Array"&&IterablePrototype.entries||nativeIterator,CurrentIteratorPrototype,methods,KEY;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)),CurrentIteratorPrototype!==Object.prototype&&CurrentIteratorPrototype.next&&(!IS_PURE&&getPrototypeOf(CurrentIteratorPrototype)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||defineBuiltIn(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis))),PROPER_FUNCTION_NAME&&DEFAULT===VALUES&&nativeIterator&&nativeIterator.name!==VALUES&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name",VALUES):(INCORRECT_VALUES_NAME=!0,defaultIterator=function(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod(VALUES),keys:IS_SET?defaultIterator:getIterationMethod(KEYS),entries:getIterationMethod(ENTRIES)},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&defineBuiltIn(IterablePrototype,KEY,methods[KEY]);else $2({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return(!IS_PURE||FORCED)&&IterablePrototype[ITERATOR]!==defaultIterator&&defineBuiltIn(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(value,done){return{value,done}}}});var require_es_array_iterator=__commonJS({"node_modules/core-js/modules/es.array.iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),addToUnscopables=require_add_to_unscopables(),Iterators=require_iterators(),InternalStateModule=require_internal_state(),defineProperty=require_object_define_property().f,defineIterator=require_iterator_define(),createIterResultObject=require_create_iter_result_object(),IS_PURE=require_is_pure(),DESCRIPTORS=require_descriptors(),ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(ARRAY_ITERATOR);module.exports=defineIterator(Array,"Array",function(iterated,kind){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(iterated),index:0,kind})},function(){var state=getInternalState(this),target=state.target,index=state.index++;if(!target||index>=target.length)return state.target=void 0,createIterResultObject(void 0,!0);switch(state.kind){case"keys":return createIterResultObject(index,!1);case"values":return createIterResultObject(target[index],!1)}return createIterResultObject([index,target[index]],!1)},"values");var values=Iterators.Arguments=Iterators.Array;addToUnscopables("keys");addToUnscopables("values");addToUnscopables("entries");if(!IS_PURE&&DESCRIPTORS&&values.name!=="values")try{defineProperty(values,"name",{value:"values"})}catch(error){}}});var require_dom_iterables=__commonJS({"node_modules/core-js/internals/dom-iterables.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}});var require_dom_token_list_prototype=__commonJS({"node_modules/core-js/internals/dom-token-list-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentCreateElement=require_document_create_element(),classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype}});var require_web_dom_collections_iterator=__commonJS({"node_modules/core-js/modules/web.dom-collections.iterator.js"(){"use strict";init_define_process_env();init_shim();var global=require_global(),DOMIterables=require_dom_iterables(),DOMTokenListPrototype=require_dom_token_list_prototype(),ArrayIteratorMethods=require_es_array_iterator(),createNonEnumerableProperty=require_create_non_enumerable_property(),setToStringTag=require_set_to_string_tag(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(CollectionPrototype,COLLECTION_NAME2){if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(setToStringTag(CollectionPrototype,COLLECTION_NAME2,!0),DOMIterables[COLLECTION_NAME2]){for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype,COLLECTION_NAME);var COLLECTION_NAME;handlePrototype(DOMTokenListPrototype,"DOMTokenList")}});var require_es_array_includes=__commonJS({"node_modules/core-js/modules/es.array.includes.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),$includes=require_array_includes().includes,fails=require_fails(),addToUnscopables=require_add_to_unscopables(),BROKEN_ON_SPARSE=fails(function(){return!Array(1).includes()});$2({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}});addToUnscopables("includes")}});var require_array_slice=__commonJS({"node_modules/core-js/internals/array-slice.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis([].slice)}});var require_is_array=__commonJS({"node_modules/core-js/internals/is-array.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof_raw();module.exports=Array.isArray||function(argument){return classof(argument)==="Array"}}});var require_get_json_replacer_function=__commonJS({"node_modules/core-js/internals/get-json-replacer-function.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isArray=require_is_array(),isCallable=require_is_callable(),classof=require_classof_raw(),toString=require_to_string(),push=uncurryThis([].push);module.exports=function(replacer){if(isCallable(replacer))return replacer;if(isArray(replacer)){for(var rawLength=replacer.length,keys=[],i=0;i<rawLength;i++){var element=replacer[i];typeof element=="string"?push(keys,element):(typeof element=="number"||classof(element)==="Number"||classof(element)==="String")&&push(keys,toString(element))}var keysLength=keys.length,root=!0;return function(key,value){if(root)return root=!1,value;if(isArray(this))return value;for(var j=0;j<keysLength;j++)if(keys[j]===key)return value}}}}});var require_es_json_stringify=__commonJS({"node_modules/core-js/modules/es.json.stringify.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),getBuiltIn=require_get_built_in(),apply=require_function_apply(),call=require_function_call(),uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),isSymbol=require_is_symbol(),arraySlice=require_array_slice(),getReplacerFunction=require_get_json_replacer_function(),NATIVE_SYMBOL=require_symbol_constructor_detection(),$String=String,$stringify=getBuiltIn("JSON","stringify"),exec=uncurryThis(/./.exec),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),replace=uncurryThis("".replace),numberToString=uncurryThis(1 .toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL||fails(function(){var symbol=getBuiltIn("Symbol")("stringify detection");return $stringify([symbol])!=="[null]"||$stringify({a:symbol})!=="{}"||$stringify(Object(symbol))!=="{}"}),ILL_FORMED_UNICODE=fails(function(){return $stringify("\uDF06\uD834")!=='"\\udf06\\ud834"'||$stringify("\uDEAD")!=='"\\udead"'}),stringifyWithSymbolsFix=function(it,replacer){var args=arraySlice(arguments),$replacer=getReplacerFunction(replacer);if(!(!isCallable($replacer)&&(it===void 0||isSymbol(it))))return args[1]=function(key,value){if(isCallable($replacer)&&(value=call($replacer,this,$String(key),value)),!isSymbol(value))return value},apply($stringify,null,args)},fixIllFormed=function(match,offset,string){var prev=charAt(string,offset-1),next=charAt(string,offset+1);return exec(low,match)&&!exec(hi,next)||exec(hi,match)&&!exec(low,prev)?"\\u"+numberToString(charCodeAt(match,0),16):match};$stringify&&$2({target:"JSON",stat:!0,arity:3,forced:WRONG_SYMBOLS_CONVERSION||ILL_FORMED_UNICODE},{stringify:function(it,replacer,space){var args=arraySlice(arguments),result=apply(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,args);return ILL_FORMED_UNICODE&&typeof result=="string"?replace(result,tester,fixIllFormed):result}})}});var require_array_reduce=__commonJS({"node_modules/core-js/internals/array-reduce.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),toObject=require_to_object(),IndexedObject=require_indexed_object(),lengthOfArrayLike=require_length_of_array_like(),$TypeError=TypeError,createMethod=function(IS_RIGHT){return function(that,callbackfn,argumentsLength,memo){var O=toObject(that),self2=IndexedObject(O),length=lengthOfArrayLike(O);aCallable(callbackfn);var index=IS_RIGHT?length-1:0,i=IS_RIGHT?-1:1;if(argumentsLength<2)for(;;){if(index in self2){memo=self2[index],index+=i;break}if(index+=i,IS_RIGHT?index<0:length<=index)throw new $TypeError("Reduce of empty array with no initial value")}for(;IS_RIGHT?index>=0:length>index;index+=i)index in self2&&(memo=callbackfn(memo,self2[index],index,O));return memo}};module.exports={left:createMethod(!1),right:createMethod(!0)}}});var require_array_method_is_strict=__commonJS({"node_modules/core-js/internals/array-method-is-strict.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!!method&&fails(function(){method.call(null,argument||function(){return 1},1)})}}});var require_engine_is_node=__commonJS({"node_modules/core-js/internals/engine-is-node.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),classof=require_classof_raw();module.exports=classof(global.process)==="process"}});var require_es_array_reduce=__commonJS({"node_modules/core-js/modules/es.array.reduce.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),$reduce=require_array_reduce().left,arrayMethodIsStrict=require_array_method_is_strict(),CHROME_VERSION=require_engine_v8_version(),IS_NODE=require_engine_is_node(),CHROME_BUG=!IS_NODE&&CHROME_VERSION>79&&CHROME_VERSION<83,FORCED=CHROME_BUG||!arrayMethodIsStrict("reduce");$2({target:"Array",proto:!0,forced:FORCED},{reduce:function(callbackfn){var length=arguments.length;return $reduce(this,callbackfn,length,length>1?arguments[1]:void 0)}})}});var require_object_assign=__commonJS({"node_modules/core-js/internals/object-assign.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),uncurryThis=require_function_uncurry_this(),call=require_function_call(),fails=require_fails(),objectKeys=require_object_keys(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),propertyIsEnumerableModule=require_object_property_is_enumerable(),toObject=require_to_object(),IndexedObject=require_indexed_object(),$assign=Object.assign,defineProperty=Object.defineProperty,concat=uncurryThis([].concat);module.exports=!$assign||fails(function(){if(DESCRIPTORS&&$assign({b:1},$assign(defineProperty({},"a",{enumerable:!0,get:function(){defineProperty(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var A={},B={},symbol=Symbol("assign detection"),alphabet="abcdefghijklmnopqrst";return A[symbol]=7,alphabet.split("").forEach(function(chr){B[chr]=chr}),$assign({},A)[symbol]!==7||objectKeys($assign({},B)).join("")!==alphabet})?function(target,source){for(var T=toObject(target),argumentsLength=arguments.length,index=1,getOwnPropertySymbols=getOwnPropertySymbolsModule.f,propertyIsEnumerable=propertyIsEnumerableModule.f;argumentsLength>index;)for(var S=IndexedObject(arguments[index++]),keys=getOwnPropertySymbols?concat(objectKeys(S),getOwnPropertySymbols(S)):objectKeys(S),length=keys.length,j=0,key;length>j;)key=keys[j++],(!DESCRIPTORS||call(propertyIsEnumerable,S,key))&&(T[key]=S[key]);return T}:$assign}});var require_es_object_assign=__commonJS({"node_modules/core-js/modules/es.object.assign.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),assign=require_object_assign();$2({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign})}});init_define_process_env();init_shim();var import_es_symbol_description=__toESM(require_es_symbol_description()),import_es_regexp_exec=__toESM(require_es_regexp_exec()),import_es_string_replace=__toESM(require_es_string_replace()),import_es_array_iterator=__toESM(require_es_array_iterator()),import_web_dom_collections_iterator=__toESM(require_web_dom_collections_iterator()),import_es_array_includes=__toESM(require_es_array_includes()),import_es_json_stringify=__toESM(require_es_json_stringify()),import_es_array_reduce=__toESM(require_es_array_reduce()),import_es_object_assign=__toESM(require_es_object_assign());init_define_process_env();init_shim();var _window$u,_window,_window$safe_require,_window2,u=(_window$u=(_window=window)==null?void 0:_window.u)!=null?_window$u:_u,safe_require=(_window$safe_require=(_window2=window)==null?void 0:_window2.safe_require)!=null?_window$safe_require:_safe_require;var r=__require,external=safe_require.safe_require("./external"),querystring=safe_require.safe_require("querystring"),btype_ids=safe_require.safe_require("./lang/btype_ids"),hydrate=safe_require.safe_require("./db/hydrate"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),lang=safe_require.safe_require("./lang/lang"),eval_node_state=safe_require.safe_require("./lang/evaluation/eval_node_state"),core_events=safe_require.safe_require("./core/core_events"),workflow_consts=safe_require.safe_require("./constants/workflow"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),generic_actions_utilities=safe_require.safe_require("./core/core_actions/utilities/generic_actions_utilities"),languages=safe_require.safe_require("./languages"),b_location=safe_require.safe_require("./geolocation/b_location"),logger=safe_require.safe_require("./logger"),core_ds_db_ops_utilities=safe_require.safe_require("./core/core_datasources/utilities/core_ds_db_ops_utilities"),status_bar=safe_require.safe_require("./core/status_bar"),payment_converter=safe_require.safe_require("./shared/payment_converter"),db_values=safe_require.safe_require("./db/values/db_values"),stripe_utilities=safe_require.safe_require("./shared/stripe_utilities"),db_consts=safe_require.safe_require("./constants/db"),subscription_consts=safe_require.safe_require("./constants/subscriptions");function extract_data(call,val){if(val!=null&&val.error)throw new u.OwnerError("Stripe Error",{display:val.error.message});return call.extract_data(val)}var REQUIRE_AUTHENTICATION_ERROR_CODES=["authentication_required","subscription_payment_intent_requires_action"],form=null;function initialize_stripe_form(){var _appquery$get_public_,_appquery$get_public_2;let app_language=Lib().app_language(!0),locale=app_language?languages.get_iso_code(app_language).slice(0,2):"auto",options={key:appquery.stripe_public_key(),name:(_appquery$get_public_=appquery.get_public_setting("stripe_checkout_name"))!=null?_appquery$get_public_:document.title,locale,zipCode:appquery.get_public_setting("stripe_collect_zip"),billingAddress:appquery.get_public_setting("stripe_collect_address")},image=(_appquery$get_public_2=appquery.get_public_setting("stripe_checkout_image"))!=null?_appquery$get_public_2:appquery.favicon();if(image&&(options.image=image),!window.StripeCheckout)throw new u.UnexpectedError("Stripe Checkout not present");form=window.StripeCheckout.configure(options),$(window).off("popstate.stripe_checkout"),$(window).on("popstate.stripe_checkout",()=>form.close())}typeof window<"u"&&window!==null&&(window.initialize_stripe_form=initialize_stripe_form);function get_checkout_form(data,cb){return form||initialize_stripe_form(),u.run_once(30,()=>{var _data$charged_user_em;return(_data$charged_user_em=data.charged_user_email)!=null?_data$charged_user_em:Lib().current_user().get_email()},(err,email)=>{if(err){logger.log(err);return}function open(){let options={description:data.description,amount:data.amount,panelLabel:data.panelLabel,email,token(token){return cb(token)}};return data.currency&&(options.currency=data.currency),form.open(options)}if(u.is_on_mobile_or_tablet()){var _data$panelLabel;let greyout=u.div("stripe-checkout-greyout",$("body")),btn=u.div("stripe-checkout-btn",greyout),width=$(window).width()/2,caption=(_data$panelLabel=data.panelLabel)!=null?_data$panelLabel:"Pay with card";width=Math.max(Math.min(caption.length*12.5+30,width*.9),150);let height=.266666*width;return btn.css({width,left:($(window).width()-width)/2,"min-height":height,top:($(window).height()-height)/2}),u.div("stripe-checkout-display",btn,caption).css({"min-height":height,width,"font-size":20,"line-height":height+"px",padding:"7px"}),btn.on("click",()=>(greyout.remove(),open()))}else return open()})}var version_keys={V2:"v2",V3:"v3"};function is_v3(){if(Lib())return appquery.get_public_setting("stripe_checkout_version")===version_keys.V3}function redirect_checkout(context,url){return Lib().workflow.wait_for_safe(context,()=>window.location.replace(url))}var getURLToGenerateStripeAuthToken=(app,user_email,nexturl,user_id,prefilled_data)=>{var _stripe_userEmail,_user_data$_stripe_us,_stripe_userUrl,_user_data$_stripe_us2,_stripe_userBusiness,_user_data$_stripe_us3,_ref,_app$get_public_setti,_document;let state_raw={nextURL:nexturl,user_id};if(state_raw.appname=app.appname(),state_raw=u.json_stringify(state_raw),prefilled_data!=null){let{address}=prefilled_data;if(address!=null){let should_throw_not_ready=u.on_client(),components=b_location.get_components(address,should_throw_not_ready);prefilled_data.country=components["country code"],prefilled_data.street_address=components["street number"]+" "+components.street,prefilled_data.city=components.city,prefilled_data.zip=components["zip code"],prefilled_data.state=components["state code"]}delete prefilled_data.address}let user_data={};for(let k in prefilled_data){let v=prefilled_data[k];v!=null&&(user_data["stripe_user["+k+"]"]=v)}(_user_data$_stripe_us=user_data[_stripe_userEmail="stripe_user[email]"])!=null||(user_data[_stripe_userEmail]=user_email),(_user_data$_stripe_us2=user_data[_stripe_userUrl="stripe_user[url]"])!=null||(user_data[_stripe_userUrl]=app.domain()),(_user_data$_stripe_us3=user_data[_stripe_userBusiness="stripe_user[business_name]"])!=null||(user_data[_stripe_userBusiness]=(_ref=(_app$get_public_setti=app.get_public_setting("facebook_meta_tag_title"))!=null?_app$get_public_setti:(_document=document)==null?void 0:_document.title)!=null?_ref:app.appname());let argument={response_type:"code",client_id:app.stripe_client_id(),scope:"read_write",state:state_raw};return u.extend(argument,user_data),"https://connect.stripe.com/oauth/authorize?"+querystring.stringify(argument)},enter_your_api_key_button_field_names={key_info:{no_states:!0}},checkout_tax_field_names={apply_tax_rate:{},tax_ids_style:{},tax_ids_static_choices:{},tax_ids_data_source:{}},payment_field_names=u.extend({amount:{},currency:{default:"USD"},product_name:{},description:{},image:{},button_caption:{default:"Pay"},statement_descriptor:{optional:!0},authorize_only:{default:!1},payee_is_another_user:{},payee:{},app_fee:{}},enter_your_api_key_button_field_names),do_not_show_success_alert_field_name={do_not_show_success_alert:{default:!1}},card_id_field_name={card_id:{optional:!0}},add_user_field_names={apply_current_user:{default:!0},user:{}},allow_promotion_codes_field_name={allow_promotion_codes:{default:!1}};var _call_dependencies={},_get_keys={},_get_errors={},_get_cache={},StripeCall=class extends external.Call{make_request(call_name,properties,prev,_raw,context){prev&&(properties.user_id=prev._id());let current_eval_node=eval_node_state.get_current_eval_node(),call_location={_raw,current_eval_node},hash=u.json_stringify(hydrate.dehydrate_tree({call_name,properties}));if(_get_keys[hash]||(_get_keys[hash]=u.MakeKey(null,"request_synchronous "+call_name),this.proxy_request(prev,properties,null,call_location,context).then(response=>{var _get_keys$hash;return _get_cache[hash]=response.ret,(_get_keys$hash=_get_keys[hash])==null?void 0:_get_keys$hash.turn()},err=>{var _get_keys$hash2;return _get_errors[hash]=err,(_get_keys$hash2=_get_keys[hash])==null||_get_keys$hash2.turn(),this.get_value_bubble_null()})),u.ensure_ready(_get_keys[hash]),_get_errors[hash])throw _get_errors[hash];return _get_cache[hash]}};function invalidate_call(call_name){var _call_dependencies2;let user_id=Lib().current_user()._id(),properties=Lib().location.get_pieces();delete properties.query,properties.user_id=user_id;let hash=u.json_stringify({call_name,properties});return delete _get_keys[hash],(_call_dependencies2=_call_dependencies[user_id+call_name])==null?void 0:_call_dependencies2.invalidate()}var status=null;function convert_stripe_error(err){var _err$raw,_err$raw2;return((_err$raw=err.raw)==null?void 0:_err$raw.type)==="card_error"?REQUIRE_AUTHENTICATION_ERROR_CODES.includes(err.code)?new u.StripePaymentRequiresAction(null,err.raw.message):new u.UserError(null,err.raw.message):((_err$raw2=err.raw)==null?void 0:_err$raw2.type)==="invalid_request_error"?new u.OwnerError("Stripe invalid_request_error",{display:"Stripe error: "+err.raw.message}):new u.UnexpectedError("error calling Stripe API",{error:err})}function extractIsInvoiceClosed(invoice){return invoice.closed!==void 0?invoice.closed:invoice.auto_advance!==void 0?!invoice.auto_advance:!1}function extractIsInvoiceForgiven(invoice){return invoice.forgiven!==void 0?invoice.forgiven:invoice.status!==void 0?invoice.status==="uncollectible":!1}function _currency_extractor(currency_path){var _currency_path;return(_currency_path=currency_path)!=null||(currency_path=[]),function(val,raw){var _payment_converter$ge;let currency_value=u.extract_from_object(raw,currency_path),only_after_bv14=!0;return(_payment_converter$ge=payment_converter.get_bubble_corrected_amount(val,currency_value,only_after_bv14))!=null?_payment_converter$ge:0}}function _stripe_to_bubble_date(val){return val?val*1e3:null}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.values=this._get_initial_values(),this.calls=this._get_initial_calls()}get public_values(){return["Event","Customer","Coupon","Invoice","InvoiceItem","SubscriptionData","SubscriptionItem","CardData","TaxID"]}_get_initial_values(){return{CustomerAddress:new external.StructValue("Stripe Customer Address",{city:{},country:{},line1:{},line2:{},postal_code:{caption:"Postal code"},state:{}}),SellerData:new external.StructValue("Seller data",{id:{}},{no_special_messages:!0}),CardData:new external.StructValue("Stripe Credit Card",{id:{},last4:{caption:"last 4 digits"},exp_month:{ret_btype:"number"},exp_year:{ret_btype:"number"},brand:{},funding:{},fingerprint:{}}),SubscriptionItem:new external.StructValue("Stripe Subscription Item",{subscription_item_id:{path:["id"]},id:{path:["plan","id"],caption:"Plan ID"},name:{path:["plan"],caption:"Plan name",post_call_processing(plan){var _ref3,_plan$name2;return(_ref3=(_plan$name2=plan==null?void 0:plan.name)!=null?_plan$name2:plan==null?void 0:plan.nickname)!=null?_ref3:plan==null?void 0:plan.id}},quantity:{ret_btype:"number"},interval:{path:["plan","interval"]}}),SubscriptionData:new external.StructValue("Stripe Subscription",{subscription_id:{path:["id"]},id:{path:["plan","id"],caption:"Plan ID"},name:{path:["plan"],caption:"Plan name",post_call_processing(plan){var _ref4,_plan$name3;return(_ref4=(_plan$name3=plan==null?void 0:plan.name)!=null?_plan$name3:plan==null?void 0:plan.nickname)!=null?_ref4:plan==null?void 0:plan.id}},items:{ret_btype:btype_ids.list_type(btype_ids.api_type("stripe.SubscriptionItem")),path:["items","data"],post_call_processing(val){let res=[],value=btypes.get(btype_ids.api_type("stripe.SubscriptionItem"));for(r of val!=null?val:[])res.push(value.plugin.extract(r));return res}},status:{},start:{caption:"Starting date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},created:{caption:"Creation date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},current_period_start:{caption:"Current period starting date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},current_period_end:{caption:"Current period ending date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},quantity:{ret_btype:"number"},trial_end:{caption:"Trial end date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date},trial_start:{caption:"Trial start date",ret_btype:"date",post_call_processing:_stripe_to_bubble_date}}),Event:new external.StructValue("Stripe Event",{id:{},type:{},created:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},object:{path:["data","object","object"]},object_id:{caption:"Object ID",path:["data","object","id"]},customer_id:{path:["data","object","customer"]},invoice_id:{path:["data","object","invoice"]},subscription_id:{path:["data","object","subscription"]},charge_id:{caption:"Charge ID for dispute",path:["data","object","charge"]},amount:{ret_btype:"number",path:["data","object","amount"],post_call_processing:_currency_extractor(["data","object","currency"])},amount_paid:{ret_btype:"number",extract(val){var _val$data$object;let{amount_paid,amount_captured}=(_val$data$object=val.data.object)!=null?_val$data$object:{};return amount_paid!=null?amount_paid:amount_captured},post_call_processing:_currency_extractor(["data","object","currency"])},amount_refunded:{ret_btype:"number",path:["data","object","amount_refunded"],post_call_processing:_currency_extractor(["data","object","currency"])},captured:{ret_btype:"boolean",path:["data","object","captured"]},failure_message:{path:["data","object","failure_message"]},statement_descriptor:{path:["data","object","statement_descriptor"]},description:{path:["data","object","description"]},previous_status:{path:["data","previous_attributes","status"]}}),Customer:new external.StructValue("Stripe Customer",{id:{},email:{},address:{ret_btype:btype_ids.api_type("stripe.CustomerAddress")},balance:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},discount_items:{ret_btype:btype_ids.api_type("stripe.Coupon"),path:["discount","coupon"],post_call_processing(val){if(val)return btypes.get(btype_ids.api_type("stripe.Coupon")).plugin.extract(val)}}}),Coupon:new external.StructValue("Stripe Coupon",{id:{},amount_off:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},percent_off:{ret_btype:"number"},created:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},currency:{},duration:{},duration_in_months:{ret_btype:"number"},max_redemptions:{ret_btype:"number"},redeem_by:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},times_redeemed:{ret_btype:"number"},valid:{ret_btype:"boolean"},name:{}}),Invoice:new external.StructValue("Stripe Invoice",{id:{},subscription:{},status:{},amount_due:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},subtotal:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},total:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},starting_balance:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},ending_balance:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},closed:{ret_btype:"boolean",extract(val){return extractIsInvoiceClosed(val)}},paid:{ret_btype:"boolean"},forgiven:{ret_btype:"boolean",extract(val){return extractIsInvoiceForgiven(val)}},date:{path:["created"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},period_start:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},period_end:{ret_btype:"date",post_call_processing:_stripe_to_bubble_date},invoice_items:{ret_btype:btype_ids.list_type(btype_ids.api_type("stripe.InvoiceItem")),path:["lines","data"],post_call_processing(val){let res=[],value=btypes.get(btype_ids.api_type("stripe.InvoiceItem"));for(r of val!=null?val:[])res.push(value.plugin.extract(r));return res}},discount_items:{ret_btype:btype_ids.api_type("stripe.Coupon"),path:["discount","coupon"],post_call_processing(val){return btypes.get(btype_ids.api_type("stripe.Coupon")).plugin.extract(val)}},metadata:{ret_btype:"text",post_call_processing(val){return JSON.stringify(val)}}}),InvoiceItem:new external.StructValue("Stripe InvoiceItem",{id:{},invoice_item_id:{path:[],post_call_processing(obj){if(obj.object==="line_item")return obj.invoice_item;if(obj.object==="invoiceitem")return obj.id}},amount:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},statement_descriptor:{path:["plan","name"]},description:{},subscription:{},period_start:{path:["period","start"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},period_end:{path:["period","end"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},price_id:{path:["price","id"]},product_id:{path:["price","product"]},proration:{ret_btype:"boolean"}}),InvoiceMetadata:new external.StructValue("Stripe Invoice Metadata",{appname:{ret_btype:"text"},is_overage_invoice:{ret_btype:"boolean"}}),Transfer:new external.StructValue("Stripe Transfer",{id:{},destination_payment:{},amount:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},amount_reversed:{ret_btype:"number",post_call_processing:_currency_extractor(["currency"])},created:{path:["period","start"],ret_btype:"date",post_call_processing:_stripe_to_bubble_date},description:{},destination:{}}),Balance:new external.StructValue("Stripe Balance",{available_amount:{path:["available"],ret_btype:"number",post_call_processing(res){let val=res[0].amount;return val?val/100:0}},pending:{path:["pending"],ret_btype:"number",post_call_processing(res){let val=res[0].amount;return val?val/100:0}},connect_reserved_amount:{path:["connect_reserved"],ret_btype:"number",post_call_processing(res){if(!res)return 0;let val=res[0].amount;return val?val/100:0}}}),TaxID:new external.StructValue("Stripe Tax ID",{id:{},country:{},type:{},value:{}}),Refund:new external.StructValue("Stripe Refund",{id:{},amount:{ret_btype:"number"},charge:{},created:{ret_btype:"number"},currency:{},description:{},status:{}})}}get user_calls(){return["GetStripeCard","GetStripeCards","GetStripeSubscription","GetStripeSubscriptions","GetSellerData","GetCustomerID","GetStripeInvoices","GetStripeTaxIDs"]}get public_calls(){return["GetEventData","GetCustomer","GetStripeCoupons","GetStripeCoupon","GetStripeInvoice","GetStripeBalance","GetStripeTaxID"]}get server_actions(){return["charge_user","charge_user_resume","define_as_seller_resume","get_user_cc_info","get_user_cc_info_resume","charge_user_with_saved_cc","subscribe_stripe_plan","subscribe_stripe_plan_resume","apply_stripe_coupon_to_plan","cancel_stripe_plan","add_invoice_item","update_invoice_item","create_invoice","update_invoice","refund_charge","pay_invoice","cancel_invoice","create_coupon","create_subscription_item","update_subscription_item","delete_subscription_item","delete_credit_card","make_card_default","transfer_to_seller","create_payout","adjust_relative_customer_balance","set_customer_balance","update_customer","capture_authorized_charge","create_stripe_value_list_item","create_tax_id","delete_tax_id","list_tax_ids_action"]}_get_initial_calls(){return{GenerateAuthToken:class extends external.Call{get _must_proxy(){return!0}get skip_property_security(){return!0}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):this.service().generateauthtoken(properties)}},GetStripePlans:class extends external.Call{get _must_proxy(){return!0}get skip_property_security(){return!0}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):this.service().getstripeplans(properties)}},GetSellerData:class extends external.Call{get _must_proxy(){return!0}get human(){return"Stripe Seller account"}get btype_id(){return btype_ids.api_type("stripe.SellerData")}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()?this.get_value_bubble_null():prev._id()?{id:prev.child("authentication").child("stripe").child("id").get()}:{}}},GetCustomerID:class extends external.Call{get _must_proxy(){return!0}get human(){return"Stripe Customer ID"}get btype_id(){return"text"}execute(prev,properties,authentication,_raw,context){var _prev$child$get;return Lib().is_edit_mode()?this.get_value_bubble_null():prev._id()?(_prev$child$get=prev.child("StripeCustomerID").get())!=null?_prev$child$get:this.get_value_bubble_null():{}}},GetStripeCard:class extends StripeCall{get human(){return"Stripe Credit card"}get btype_id(){return btype_ids.api_type("stripe.CardData")}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode()&&!properties.force_edit_mode)return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().retrieve_credit_cards(prev)[0]);{var _ref5,_call_dependencies$_r;let call_name="GetStripeCard",user_id=prev==null?void 0:prev._id();(_call_dependencies$_r=_call_dependencies[_ref5=user_id+call_name])!=null||(_call_dependencies[_ref5]=u.Dependency()),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeCards:class extends StripeCall{get human(){return"Stripe Credit cards"}get btype_id(){return btype_ids.api_type("stripe.CardData")}get is_list(){return!0}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().retrieve_credit_cards(prev));{var _ref6,_call_dependencies$_r2;let call_name="GetStripeCards",user_id=prev==null?void 0:prev._id();(_call_dependencies$_r2=_call_dependencies[_ref6=user_id+call_name])!=null||(_call_dependencies[_ref6]=u.Dependency()),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeSubscription:class extends StripeCall{get human(){return"Stripe Customer subscription"}get btype_id(){return btype_ids.api_type("stripe.SubscriptionData")}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().get_existing_subscriptions(prev)[0]);{var _ref7,_call_dependencies$_r3;let call_name="GetStripeSubscription",user_id=prev==null?void 0:prev._id();(_call_dependencies$_r3=_call_dependencies[_ref7=user_id+call_name])!=null||(_call_dependencies[_ref7]=u.Dependency()),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeSubscriptions:class extends StripeCall{get human(){return"Stripe Customer subscriptions"}get btype_id(){return btype_ids.api_type("stripe.SubscriptionData")}get is_list(){return!0}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().get_existing_subscriptions(prev));{var _ref8,_call_dependencies$_r4;let call_name="GetStripeSubscriptions",user_id=prev==null?void 0:prev._id();(_call_dependencies$_r4=_call_dependencies[_ref8=user_id+call_name])!=null||(_call_dependencies[_ref8]=u.Dependency()),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetAppSubscription:class extends StripeCall{execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server()){let raw_list=this.service().get_existing_subscriptions(prev);if(!raw_list)return null;let matched_subscription_object=raw_list.filter(item=>item.metadata.appname===properties.appname).reduce((a,b)=>a.created>b.created?a:b,{});return matched_subscription_object!=null&&matched_subscription_object.current_period_end?(matched_subscription_object.current_period_start_formatted=_stripe_to_bubble_date(matched_subscription_object.current_period_start),matched_subscription_object.current_period_end_formatted=_stripe_to_bubble_date(matched_subscription_object.current_period_end),matched_subscription_object):null}else{var _ref9,_call_dependencies$_r5;let call_name="GetAppSubscription",user_id=prev==null?void 0:prev._id();(_call_dependencies$_r5=_call_dependencies[_ref9=user_id+call_name])!=null||(_call_dependencies[_ref9]=u.Dependency()),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetEventData:class extends StripeCall{get human(){return"Get Stripe Event"}get btype_id(){return btype_ids.api_type("stripe.Event")}get parameters(){return{event_id:{}}}execute(prev,properties,authentication,_raw,context){var _ref10,_call_dependencies$_r6;if(!properties.event_id||Lib().is_edit_mode())return{};let call_name="GetEventData";if((_call_dependencies$_r6=_call_dependencies[_ref10=properties.event_id+call_name])!=null||(_call_dependencies[_ref10]=u.Dependency()),_call_dependencies[properties.event_id+call_name].register(),u.on_server())return extract_data(this,this.service().retrieve_stripe_event(properties.event_id));{let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,data_to_send.event_id=properties.event_id,this.make_request(call_name,data_to_send,null,_raw,context)}}},GetCustomer:class extends StripeCall{get human(){return"Get Stripe Customer"}get btype_id(){return btype_ids.api_type("stripe.Customer")}get parameters(){return{customer_id:{}}}execute(prev,properties,authentication,_raw,context){var _ref11,_call_dependencies$_r7;if(!properties.customer_id||Lib().is_edit_mode())return{};let call_name="GetCustomer";if((_call_dependencies$_r7=_call_dependencies[_ref11=properties.customer_id+call_name])!=null||(_call_dependencies[_ref11]=u.Dependency()),_call_dependencies[properties.customer_id+call_name].register(),u.on_server())return extract_data(this,this.service().retrieve_customer(properties.customer_id));{let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,data_to_send.customer_id=properties.customer_id,this.make_request(call_name,data_to_send,null,_raw,context)}}},GetStripeCoupons:class extends external.Call{get human(){return"Get Stripe Coupons"}get btype_id(){return btype_ids.api_type("stripe.Coupon")}get is_list(){return!0}get _must_proxy(){return!0}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):extract_data(this,this.service().getstripecoupons())}},GetStripeCoupon:class extends external.Call{get human(){return"Get Stripe Coupon"}get parameters(){return{coupon_id:{}}}get btype_id(){return btype_ids.api_type("stripe.Coupon")}get _must_proxy(){return!0}execute(prev,properties,authentication,_raw,context){return properties.coupon_id?u.on_client()?super.execute(prev,properties,authentication,_raw,context):extract_data(this,this.service().getstripecoupon(properties.coupon_id)):this.get_value_bubble_null()}},GetStripeInvoice:class extends external.Call{get human(){return"Retrieve Stripe Invoice"}get btype_id(){return btype_ids.api_type("stripe.Invoice")}get _must_proxy(){return!0}get parameters(){return{invoice_id:{}}}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()||!properties.invoice_id?this.get_value_bubble_null():u.on_server()?extract_data(this,this.service().retrieve_invoice(properties.invoice_id)):super.execute(prev,properties,authentication,_raw,context)}},GetStripeInvoices:class extends StripeCall{get human(){return"Get Stripe Invoices"}get btype_id(){return btype_ids.api_type("stripe.Invoice")}get is_list(){return!0}get _must_proxy(){return!0}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().get_customer_invoices(prev));{var _ref12,_call_dependencies$_r8;let call_name="GetStripeInvoices",user_id=prev==null?void 0:prev._id();(_call_dependencies$_r8=_call_dependencies[_ref12=user_id+call_name])!=null||(_call_dependencies[_ref12]=u.Dependency()),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,this.make_request(call_name,data_to_send,prev,_raw,context)}}},GetStripeBalance:class extends external.Call{get human(){return"Retrieve Stripe Balance"}get btype_id(){return btype_ids.api_type("stripe.Balance")}get _must_proxy(){return!0}get parameters(){return{}}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()?this.get_value_bubble_null():u.on_server()?extract_data(this,this.service().retrieve_balance()):super.execute(prev,properties,authentication,_raw,context)}},GetStripeTaxID:class extends external.Call{get human(){return"Retrieve Stripe Tax ID"}get btype_id(){return btype_ids.api_type("stripe.TaxID")}get _must_proxy(){return!0}get parameters(){return{customer:{name:"customer",caption:"User",editor:"Basic",btype:"user"},tax_id:{}}}execute(prev,properties,authentication,_raw,context){return Lib().is_edit_mode()||!properties.tax_id?this.get_value_bubble_null():u.on_server()?extract_data(this,this.service().retrieve_tax_id(properties)):super.execute(prev,properties,authentication,_raw,context)}},GetStripeTaxIDs:class extends StripeCall{get human(){return"Stripe Tax IDs"}get btype_id(){return btype_ids.api_type("stripe.TaxID")}get is_list(){return!0}get _must_proxy(){return!0}get parameters(){return{limit:{caption:"Limit",editor:"Basic",optional:!0,btype:"number"}}}execute(prev,properties,authentication,_raw,context){if(Lib().is_edit_mode())return this.get_value_bubble_null();if(u.on_server())return extract_data(this,this.service().list_tax_ids(prev,properties.limit));{var _ref13,_call_dependencies$_r9;let call_name="GetStripeTaxIDs",user_id=prev==null?void 0:prev._id();(_call_dependencies$_r9=_call_dependencies[_ref13=user_id+call_name])!=null||(_call_dependencies[_ref13]=u.Dependency()),_call_dependencies[user_id+call_name].register();let data_to_send=Lib().location.get_pieces();return delete data_to_send.query,data_to_send.limit=properties.limit,this.make_request(call_name,data_to_send,prev,_raw,context)}}}}}get_error_message(response){let data;try{data=JSON.parse(response.body)}catch(err){return}if(data.error!=null)throw convert_stripe_error(data.error)}html_header(key){return is_v3()?'(function(){\nconst b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src="https://js.stripe.com/v3";\nconst d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(b,d);\n})();':'(function(){\nconst b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src="https://checkout.stripe.com/checkout.js";b.onload=function(){window.initialize_stripe_form()};\nconst d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(b,d);\n})();'}actions(){return{ChargeUser:{server_method:"stripe-charge_user",server_method_resume:"stripe-charge_user_resume",field_names:Object.assign({charged_user_email:{},tax_id_collection:{default:!1}},payment_field_names,do_not_show_success_alert_field_name,allow_promotion_codes_field_name,checkout_tax_field_names),run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>{if(err){cb(err);return}let resume_key=Lib().workflow.make_resume_key(context,action);if(is_v3())if(properties.payee_is_another_user){let payee_user=properties.payee;return u.run_once(30,()=>payee_user.child("authentication").child("stripe").child("id").get(),(err2,payee_stripe_account_id)=>{if(err2!=null||!payee_stripe_account_id){var _err;return(_err=err2)!=null||(err2=new u.OwnerError("Payee either does not have a stripe account setup or else has a privacy rule blocking access to social networks, which prevents this action from working")),cb(err2)}else return redirect_checkout(context,res.url)})}else return redirect_checkout(context,res.url);else{var _properties$button_ca;return cb("aborted"),properties.panelLabel=(_properties$button_ca=properties.button_caption)!=null?_properties$button_ca:"Pay",u.run_once(30,()=>{let amount=res.child("amount").raw(!1);return get_checkout_form(u.extend(properties,{amount}),token=>{status=status_bar.show_progress_line("chargecc call");let data_to_send={order_id:res._id(),token:token.id,appname:Lib().appname(),app_version:Lib().app_version()};return Lib().workflow.resume(resume_key,data_to_send)})})}})},resume(action,context,cb){return is_v3()&&(status=status_bar.show_progress_line("chargecc call")),context.get_server_outcome(action,(err,order)=>{var _status;if((_status=status)==null||_status(),err){err instanceof u.ExpectedError&&alert(logger.human_friendly(err));return}else if(order.flush(),invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),!action.get_static_property("do_not_show_success_alert")){let msg=action.get_static_property("authorize_only")?Lib().get_text("stripe","SUCCESS_AUTHORIZED_CARD"):Lib().get_text("stripe","SUCCESS_CARD");window.alert(msg)}return cb(err,order)})},return_btype(){return btypes.get(db_consts.SYSTEM_TYPE_IDS.STRIPE_ORDER)},data_to_refresh:null,check_for_errors(action,report){return _check_for_errors_for_payment(action,report,this.display)}},GetUserCCInfo:{category:"payment",field_names:u.extend({update_existing:{default:!0},description:{default:"Collect card information"},button_caption:{default:"Save"}},do_not_show_success_alert_field_name,enter_your_api_key_button_field_names),display(){return"Collect the user's CC information"},_fields(){return[{name:"update_existing",editor:"Checkbox",caption:"Update existing main card"},{name:"description",caption:"Description",editor:"ShortText"},{name:"button_caption",caption:"Button caption",editor:"ShortText",condition(){return!is_v3()}}].concat(do_not_show_success_alert_field())},run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>{if(err)return cb(err);{let resume_key=Lib().workflow.make_resume_key(context,action);return is_v3()?redirect_checkout(context,res.url):(cb("aborted"),get_checkout_form({description:properties.description,panelLabel:properties.button_caption},token=>{status=status_bar.show_progress_line("chargecc call");let data_to_send={user_id:Lib().current_user()._id(),token:token.id,appname:Lib().appname(),app_version:Lib().app_version(),update_existing:properties.update_existing};return Lib().workflow.resume(resume_key,data_to_send)}))}})},resume(action,context,cb){return is_v3()&&(status=status_bar.show_progress_line("chargecc call")),context.get_server_outcome(action,err=>{var _status2;if((_status2=status)==null||_status2(),invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),err){err instanceof u.ExpectedError&&core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.ELEMENT_WORKFLOW,cb(err2){err2&&window.alert(logger.human_friendly(err2))}});return}else action.get_static_property("do_not_show_success_alert")||window.alert(Lib().get_text("stripe","SUCCESS_SAVE_CC"));return cb()})},server_method:"stripe-get_user_cc_info",server_method_resume:"stripe-get_user_cc_info_resume",check_for_errors(action,report){return _check_for_errors_for_payment(action,report,this.display)},data_to_refresh:null},ChargeUserWithSavedCC:{category:"payment",field_names:u.extend({charged_user:{}},payment_field_names,do_not_show_success_alert_field_name,card_id_field_name),display(){return"Charge a user using saved CC"},_fields(){return[{name:"charged_user",caption:"Charged user",editor:"Basic",btype:"user"}].concat(payment_fields()).concat(card_id_field()).concat(do_not_show_success_alert_field())},run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>{if(err)return cb(err);if(!properties.do_not_show_success_alert){let msg=properties.authorize_only?Lib().get_text("stripe","SUCCESS_AUTHORIZED_CARD"):Lib().get_text("stripe","SUCCESS_CARD");window.alert(msg)}return cb(null,order)})},server_method:"stripe-charge_user_with_saved_cc",check_for_errors(action,report){return _check_for_errors_for_payment(action,report,this.display)},return_btype(){return btypes.get(db_consts.SYSTEM_TYPE_IDS.STRIPE_ORDER)},data_to_refresh:null},CaptureAuthorizedCharge:{category:"payment",field_names:u.extend({charge_id:{}},do_not_show_success_alert_field_name,enter_your_api_key_button_field_names),server_method:"stripe-capture_authorized_charge",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>{if(err)return cb(err);if(!properties.do_not_show_success_alert){let msg=Lib().get_text("stripe","SUCCESS_CARD");window.alert(msg)}return cb(null,order)})},data_to_refresh:null},DefineAsSeller:{field_names:u.extend({email:{optional:!0},url:{optional:!0},business_name:{optional:!0},address:{optional:!0},product_category:{optional:!0},physical_product:{optional:!0},product_description:{optional:!0}},enter_your_api_key_button_field_names),run(action,properties,context,cb){let current_user=Lib().current_user();return u.run_once(30,()=>{let logged_in=current_user.is_logged_in(),email=current_user.get_email(),resume_url=generic_actions_utilities.get_resume_url(context,action),stripe_auth_url=getURLToGenerateStripeAuthToken(appquery.app(),email,resume_url,current_user._id(),properties);return{logged_in,email,stripe_auth_url}},(err,data)=>{if(err){cb(err);return}let{logged_in,stripe_auth_url}=data;if(!logged_in){cb(new u.UserError("stripe.NEED_LOGIN_TO_SELL"));return}if(!appquery.stripe_client_id()){cb(new u.UserError("stripe.CANT_REGISTER_SELLER"));return}return Lib().workflow.wait_for_safe(context,()=>document.location.href=stripe_auth_url)})},data_to_refresh:null,server_method_resume:"stripe-define_as_seller_resume"},SubscribeStripePlan:{category:"payment",field_names:Object.assign({plan_id:{},apply_coupon:{},coupon_id:{},quantity:{default:1},tax_percent:{optional:!0,condition(){return!is_v3()}},trial_end:{optional:!0},subscription_id:{optional:!0},dynamic_plan_id:{},update_existing:{default:!0},plans_vs_item:{default:"plan"},payment_behavior:{optional:!0},items:{},tax_id_collection:{default:!1}},enter_your_api_key_button_field_names,do_not_show_success_alert_field_name,add_user_field_names,allow_promotion_codes_field_name,checkout_tax_field_names),server_method:"stripe-subscribe_stripe_plan",terminate_server_workflow:!1,server_method_resume:"stripe-subscribe_stripe_plan_resume",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>{if(err){cb(err);return}let resume_key=Lib().workflow.make_resume_key(context,action,!0),v3_redirect_required=is_v3()&&res.session_id!=null;if(is_v3()&&v3_redirect_required)return redirect_checkout(context,res.url);{let order=res;if(db_values.registry.is(order,db_values.STATIC_OBJECT)){invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),properties.do_not_show_success_alert||window.alert(Lib().get_text("stripe","SUCCESS_UPDATE_SUBSCRIPTION")),cb(void 0,order);return}return cb("aborted"),get_checkout_form({description:Lib().get_text("stripe","UPDATE_SUBSCRIPTION_CAPTION"),panelLabel:Lib().get_text("stripe","SUBSCRIBE_ACTION_CAPTION")},token=>{status=status_bar.show_progress_line("chargecc call");let data_to_send={order_id:order._id(),token:token.id,appname:Lib().appname(),app_version:Lib().app_version()};return Lib().workflow.resume(resume_key,data_to_send)})}})},resume(action,context,cb){return context.get_server_outcome(action,(err,order)=>{var _status3;return(_status3=status)==null||_status3(),invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),err?err instanceof u.ExpectedError&&core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.ELEMENT_WORKFLOW,cb(err2){err2&&window.alert(logger.human_friendly(err2))}}):action.get_static_property("do_not_show_success_alert")||window.alert(Lib().get_text("stripe","SUCCESS_SUBSCRIPTION")),cb(err,core_ds_db_ops_utilities.convert_api_call_to_db_object(order==null?void 0:order.data,{btype_id:btype_ids.api_type("stripe.SubscriptionData")}))})},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.SubscriptionData"))}},ApplyCouponToPlan:{category:"payment",field_names:u.extend({coupon_id:{},subscription_id:{optional:!0}},enter_your_api_key_button_field_names,do_not_show_success_alert_field_name,add_user_field_names),server_method:"stripe-apply_stripe_coupon_to_plan",run(action,properties,context,cb){return context.get_server_outcome(action,err=>err?cb(err):(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),properties.do_not_show_success_alert||window.alert(Lib().get_text("stripe","APPLIED_COUPON")),cb()))},data_to_refresh:null},CancelStripePlan:{category:"payment",field_names:u.extend({cancel_all:{default:!0},subscription_id:{},cancelationMode:{default:subscription_consts.CancelationMode.Immediate}},do_not_show_success_alert_field_name,enter_your_api_key_button_field_names,add_user_field_names),server_method:"stripe-cancel_stripe_plan",run(action,properties,context,cb){return context.get_server_outcome(action,err=>err?cb(err):(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),properties.do_not_show_success_alert||window.alert(Lib().get_text("stripe","CANCEL_SUBSCRIPTION")),cb()))},data_to_refresh:null},AddInvoiceItem:{category:"payment",field_names:Object.assign({customer:{},amount:{},currency:{default:"USD"},description:{},subscription_id:{optional:!0}},checkout_tax_field_names,enter_your_api_key_button_field_names),server_method:"stripe-add_invoice_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},return_btype(){return btypes.get(btype_ids.api_type("stripe.InvoiceItem"))},data_to_refresh:null},UpdateInvoiceItem:{category:"payment",field_names:u.extend({invoice_item_id:{value:"text"},amount:{optional:!0,value:"number"},description:{optional:!0,value:"text"}},enter_your_api_key_button_field_names),server_method:"stripe-update_invoice_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},return_btype(){return btypes.get("api.stripe.InvoiceItem")},data_to_refresh:null},CreateInvoice:{category:"payment",field_names:u.extend({customer:{},subscription_id:{optional:!0},auto_advance:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-create_invoice",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.Invoice"))}},UpdateInvoice:{category:"payment",field_names:u.extend({invoice_id:{},description:{optional:!0},coupon_id:{optional:!0},auto_advance:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-update_invoice",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.Invoice"))}},PayInvoice:{category:"payment",field_names:u.extend({invoice_id:{}},enter_your_api_key_button_field_names),server_method:"stripe-pay_invoice",run(action,properties,context,cb){return context.get_server_outcome(action,err=>err?cb(err):(window.alert(Lib().get_text("stripe","SUCCESS_CARD")),cb()))},data_to_refresh:null},CancelInvoice:{category:"payment",field_names:u.extend({invoice_id:{},status:{}},enter_your_api_key_button_field_names),server_method:"stripe-cancel_invoice",run(action,properties,context,cb){return context.get_server_outcome(action,err=>{if(err)return cb(err);{let translation_code={void:"VOID_INVOICE_SUCCESS",uncollectible:"MARK_UNCOLLECTIBLE_SUCCESS"}[properties.status];return window.alert(Lib().get_text("stripe",translation_code)),cb()}})},data_to_refresh:null},RefundCharge:{category:"payment",field_names:u.extend({charge_id:{}},enter_your_api_key_button_field_names),server_method:"stripe-refund_charge",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>cb(err,res))},return_btype(){return btypes.get(btype_ids.api_type("stripe.Refund"))},data_to_refresh:null},AddSubscriptionItem:{category:"payment",field_names:{subscription_id:{},plan_id:{},dynamic_plan_id:{},quantity:{optional:!0}},server_method:"stripe-create_subscription_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),cb(err,res)))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.SubscriptionItem"))}},UpdateSubscriptionItem:{category:"payment",field_names:{subscription_item_id:{},plan_id:{},dynamic_plan_id:{},quantity:{optional:!0}},server_method:"stripe-update_subscription_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,res)=>(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),cb(err,res)))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.SubscriptionItem"))}},DeleteSubscriptionItem:{category:"payment",field_names:{subscription_item_id:{}},server_method:"stripe-delete_subscription_item",run(action,properties,context,cb){return context.get_server_outcome(action,err=>(invalidate_call("GetStripeSubscription"),invalidate_call("GetStripeSubscriptions"),cb(err)))},data_to_refresh:null},MakeCardDefault:{category:"payment",field_names:{card_id:{}},server_method:"stripe-make_card_default",data_to_refresh:null,run(action,properties,context,cb){return context.get_server_outcome(action,err=>(invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),cb(err)))}},DeleteCreditCard:{category:"payment",field_names:{card_id:{}},server_method:"stripe-delete_credit_card",run(action,properties,context,cb){return context.get_server_outcome(action,err=>(invalidate_call("GetStripeCard"),invalidate_call("GetStripeCards"),cb(err)))},data_to_refresh:null},AdjustCustomerBalance:{category:"payment",field_names:u.extend({customer:{},amount:{}},enter_your_api_key_button_field_names),server_method:"stripe-set_customer_balance",run(action,properties,context,cb){return context.get_server_outcome(action,err=>cb(err))},data_to_refresh:null},AdjustCustomerBalanceRelative:{category:"payment",field_names:u.extend({customer:{},amount:{},amount_sign:{default:"positive"},currency:{default:"USD"}},enter_your_api_key_button_field_names),server_method:"stripe-adjust_relative_customer_balance",run(action,properties,context,cb){return context.get_server_outcome(action,err=>cb(err))},data_to_refresh:null},UpdateCustomerInformation:{category:"payment",field_names:u.extend({email:{optional:!0},address:{optional:!0}},add_user_field_names,enter_your_api_key_button_field_names),server_method:"stripe-update_customer",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},return_btype(){return btypes.get(btype_ids.api_type("stripe.Customer"))},data_to_refresh:null},CreateCoupon:{category:"payment",field_names:u.extend({name:{optional:!0},amount_off:{optional:!0},percent_off:{optional:!0},duration:{},duration_in_months:{optional:!0},redeem_by:{optional:!0},currency:{optional:!0,default:"USD"},max_redemptions:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-create_coupon",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},return_btype(){return btypes.get(btype_ids.api_type("stripe.Coupon"))},data_to_refresh:null},TransferToSeller:{category:"payment",field_names:u.extend({amount:{},currency:{},destination:{},description:{optional:!0},source_transaction:{optional:!0},transfer_group:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-transfer_to_seller",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.Transfer"))}},CreatePayout:{category:"payment",field_names:u.extend({amount:{},currency:{}},enter_your_api_key_button_field_names),server_method:"stripe-create_payout",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null},CreateStripeValueListItem:{category:"payment",field_names:u.extend({value_list_id:{},value:{}},enter_your_api_key_button_field_names),server_method:"stripe-create_stripe_value_list_item",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null},CreateTaxID:{category:"payment",field_names:u.extend({customer:{},type:{},value:{}},enter_your_api_key_button_field_names),server_method:"stripe-create_tax_id",run(action,_properties,context,cb){return context.get_server_outcome(action,(err,data)=>cb(err,data))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.api_type("stripe.TaxID"))}},DeleteTaxID:{category:"payment",field_names:u.extend({customer:{},tax_id:{}},enter_your_api_key_button_field_names),server_method:"stripe-delete_tax_id",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null},GetListTaxIDs:{category:"payment",field_names:u.extend({customer:{},limit:{optional:!0}},enter_your_api_key_button_field_names),server_method:"stripe-list_tax_ids_action",run(action,properties,context,cb){return context.get_server_outcome(action,(err,order)=>cb(err,order))},data_to_refresh:null,return_btype(){return btypes.get(btype_ids.list_type(btype_ids.api_type("stripe.TaxID")))}}}}key_names(){return["client_id_live","private_key_live","public_key_live","client_id_test","private_key_test","public_key_test","checkout_image","checkout_name","checkout_version","collect_zip","enable_link","collect_address"]}keys(){var _window3;let all_keys={client_id_live:{caption:"Live Client ID",type:"client_safe"},private_key_live:{caption:"Live Secret Key",type:"secure"},public_key_live:{caption:"Live Publishable Key",type:"client_safe"},client_id_test:{caption:"Client ID - development",type:"client_safe"},private_key_test:{caption:"Secret Key - development",type:"secure"},public_key_test:{caption:"Publishable Key - development",type:"client_safe"},checkout_image:{caption:"Image for Stripe Checkout",type:"client_safe",editor:(_window3=window)!=null&&_window3.is_maison?"ImageUploader":"Image",optional:!0},checkout_name:{caption:"Name for Stripe Checkout",type:"client_safe",editor:"TextBox",optional:!0},checkout_version:{caption:"Stripe Checkout version",type:"client_safe",editor:"Dropdown",dropdown_width_override:"mid_extra_large",set:Lib().sets.get_set("Object")({v2:"Checkout v2 (Legacy)",v3:"Checkout v3 (Recommended)"}),default_value:version_keys.V2},collect_zip:{caption:"Collect the user's zip code with Checkout",type:"client_safe",editor:"Checkbox"},enable_link:{caption:"Enable Link on Checkout",type:"client_safe",editor:"Checkbox"},collect_address:{caption:"Collect the user's address with Checkout",type:"client_safe",editor:"Checkbox"}};return is_v3()?delete all_keys.collect_zip:delete all_keys.enable_link,all_keys}},btypes=safe_require.safe_require("./lang/btypes"),services_editor_utils=safe_require.safe_require("./services/client/editor_utils"),stripe={cls,is_v3,getURLToGenerateStripeAuthToken,convert_stripe_error,extractIsInvoiceClosed,extractIsInvoiceForgiven};typeof window<"u"&&window!==null&&((_window2$optional_mod=(_window22=window).optional_modules)!=null||(_window22.optional_modules={}),window.optional_modules.stripe=stripe);var _window22,_window2$optional_mod,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin(known_plugins_consts.STRIPE,stripe);})();
/*! Bundled license information:

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)
*/

}


window.preloaded['plugin/first_party:stripe'] = true;
window._bubble_page_load_data.hardcoded_plugins['chartjs'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['57ad5e238c8edcfecc06220f043d627d376e0fc008338c081d27ea30969c3c9a']){window.__code__['57ad5e238c8edcfecc06220f043d627d376e0fc008338c081d27ea30969c3c9a']=1;

"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch(e){return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e2){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e2){return cachedClearTimeout.call(this,marker)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch(error){return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurry-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(SHARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurryThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch(error){}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch(error){}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys2=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys2(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_add_to_unscopables=__commonJS({"node_modules/core-js/internals/add-to-unscopables.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),create=require_object_create(),defineProperty=require_object_define_property().f,UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;ArrayPrototype[UNSCOPABLES]===void 0&&defineProperty(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)});module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}}});var require_es_array_includes=__commonJS({"node_modules/core-js/modules/es.array.includes.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),$includes=require_array_includes().includes,fails=require_fails(),addToUnscopables=require_add_to_unscopables(),BROKEN_ON_SPARSE=fails(function(){return!Array(1).includes()});$2({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}});addToUnscopables("includes")}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_set_to_string_tag=__commonJS({"node_modules/core-js/internals/set-to-string-tag.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineProperty=require_object_define_property().f,hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag");module.exports=function(target,TAG,STATIC){target&&!STATIC&&(target=target.prototype),target&&!hasOwn(target,TO_STRING_TAG)&&defineProperty(target,TO_STRING_TAG,{configurable:!0,value:TAG})}}});var require_iterator_create_constructor=__commonJS({"node_modules/core-js/internals/iterator-create-constructor.js"(exports,module){"use strict";init_define_process_env();init_shim();var IteratorPrototype=require_iterators_core().IteratorPrototype,create=require_object_create(),createPropertyDescriptor=require_create_property_descriptor(),setToStringTag=require_set_to_string_tag(),Iterators=require_iterators(),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}}});var require_function_uncurry_this_accessor=__commonJS({"node_modules/core-js/internals/function-uncurry-this-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),aCallable=require_a_callable();module.exports=function(object,key,method){try{return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object,key)[method]))}catch(error){}}}});var require_is_possible_prototype=__commonJS({"node_modules/core-js/internals/is-possible-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object();module.exports=function(argument){return isObject(argument)||argument===null}}});var require_a_possible_prototype=__commonJS({"node_modules/core-js/internals/a-possible-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPossiblePrototype=require_is_possible_prototype(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isPossiblePrototype(argument))return argument;throw new $TypeError("Can't set "+$String(argument)+" as a prototype")}}});var require_object_set_prototype_of=__commonJS({"node_modules/core-js/internals/object-set-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThisAccessor=require_function_uncurry_this_accessor(),anObject=require_an_object(),aPossiblePrototype=require_a_possible_prototype();module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var CORRECT_SETTER=!1,test={},setter;try{setter=uncurryThisAccessor(Object.prototype,"__proto__","set"),setter(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter(O,proto):O.__proto__=proto,O}}():void 0)}});var require_iterator_define=__commonJS({"node_modules/core-js/internals/iterator-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),IS_PURE=require_is_pure(),FunctionName=require_function_name(),isCallable=require_is_callable(),createIteratorConstructor=require_iterator_create_constructor(),getPrototypeOf=require_object_get_prototype_of(),setPrototypeOf=require_object_set_prototype_of(),setToStringTag=require_set_to_string_tag(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),IteratorsCore=require_iterators_core(),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case KEYS:return function(){return new IteratorConstructor(this,KIND)};case VALUES:return function(){return new IteratorConstructor(this,KIND)};case ENTRIES:return function(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator=NAME==="Array"&&IterablePrototype.entries||nativeIterator,CurrentIteratorPrototype,methods,KEY;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)),CurrentIteratorPrototype!==Object.prototype&&CurrentIteratorPrototype.next&&(!IS_PURE&&getPrototypeOf(CurrentIteratorPrototype)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||defineBuiltIn(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis))),PROPER_FUNCTION_NAME&&DEFAULT===VALUES&&nativeIterator&&nativeIterator.name!==VALUES&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name",VALUES):(INCORRECT_VALUES_NAME=!0,defaultIterator=function(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod(VALUES),keys:IS_SET?defaultIterator:getIterationMethod(KEYS),entries:getIterationMethod(ENTRIES)},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&defineBuiltIn(IterablePrototype,KEY,methods[KEY]);else $2({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return(!IS_PURE||FORCED)&&IterablePrototype[ITERATOR]!==defaultIterator&&defineBuiltIn(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(value,done){return{value,done}}}});var require_es_array_iterator=__commonJS({"node_modules/core-js/modules/es.array.iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),addToUnscopables=require_add_to_unscopables(),Iterators=require_iterators(),InternalStateModule=require_internal_state(),defineProperty=require_object_define_property().f,defineIterator=require_iterator_define(),createIterResultObject=require_create_iter_result_object(),IS_PURE=require_is_pure(),DESCRIPTORS=require_descriptors(),ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(ARRAY_ITERATOR);module.exports=defineIterator(Array,"Array",function(iterated,kind){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(iterated),index:0,kind})},function(){var state=getInternalState(this),target=state.target,index=state.index++;if(!target||index>=target.length)return state.target=void 0,createIterResultObject(void 0,!0);switch(state.kind){case"keys":return createIterResultObject(index,!1);case"values":return createIterResultObject(target[index],!1)}return createIterResultObject([index,target[index]],!1)},"values");var values=Iterators.Arguments=Iterators.Array;addToUnscopables("keys");addToUnscopables("values");addToUnscopables("entries");if(!IS_PURE&&DESCRIPTORS&&values.name!=="values")try{defineProperty(values,"name",{value:"values"})}catch(error){}}});var require_dom_iterables=__commonJS({"node_modules/core-js/internals/dom-iterables.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}});var require_dom_token_list_prototype=__commonJS({"node_modules/core-js/internals/dom-token-list-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentCreateElement=require_document_create_element(),classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype}});var require_web_dom_collections_iterator=__commonJS({"node_modules/core-js/modules/web.dom-collections.iterator.js"(){"use strict";init_define_process_env();init_shim();var global=require_global(),DOMIterables=require_dom_iterables(),DOMTokenListPrototype=require_dom_token_list_prototype(),ArrayIteratorMethods=require_es_array_iterator(),createNonEnumerableProperty=require_create_non_enumerable_property(),setToStringTag=require_set_to_string_tag(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(CollectionPrototype,COLLECTION_NAME2){if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(setToStringTag(CollectionPrototype,COLLECTION_NAME2,!0),DOMIterables[COLLECTION_NAME2]){for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype,COLLECTION_NAME);var COLLECTION_NAME;handlePrototype(DOMTokenListPrototype,"DOMTokenList")}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch(error){}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_to_string=__commonJS({"node_modules/core-js/internals/to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),$String=String;module.exports=function(argument){if(classof(argument)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return $String(argument)}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_es_symbol_description=__commonJS({"node_modules/core-js/modules/es.symbol.description.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),DESCRIPTORS=require_descriptors(),global=require_global(),uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),toString=require_to_string(),defineBuiltInAccessor=require_define_built_in_accessor(),copyConstructorProperties=require_copy_constructor_properties(),NativeSymbol=global.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype;DESCRIPTORS&&isCallable(NativeSymbol)&&(!("description"in SymbolPrototype)||NativeSymbol().description!==void 0)&&(EmptyStringDescriptionStore={},SymbolWrapper=function(){var description=arguments.length<1||arguments[0]===void 0?void 0:toString(arguments[0]),result=isPrototypeOf(SymbolPrototype,this)?new NativeSymbol(description):description===void 0?NativeSymbol():NativeSymbol(description);return description===""&&(EmptyStringDescriptionStore[result]=!0),result},copyConstructorProperties(SymbolWrapper,NativeSymbol),SymbolWrapper.prototype=SymbolPrototype,SymbolPrototype.constructor=SymbolWrapper,NATIVE_SYMBOL=String(NativeSymbol("description detection"))==="Symbol(description detection)",thisSymbolValue=uncurryThis(SymbolPrototype.valueOf),symbolDescriptiveString=uncurryThis(SymbolPrototype.toString),regexp=/^Symbol\((.*)\)[^)]+$/,replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),defineBuiltInAccessor(SymbolPrototype,"description",{configurable:!0,get:function(){var symbol=thisSymbolValue(this);if(hasOwn(EmptyStringDescriptionStore,symbol))return"";var string=symbolDescriptiveString(symbol),desc=NATIVE_SYMBOL?stringSlice(string,7,-1):replace(string,regexp,"$1");return desc===""?void 0:desc}}),$2({global:!0,constructor:!0,forced:!0},{Symbol:SymbolWrapper}));var EmptyStringDescriptionStore,SymbolWrapper,NATIVE_SYMBOL,thisSymbolValue,symbolDescriptiveString,regexp,replace,stringSlice}});var require_function_apply=__commonJS({"node_modules/core-js/internals/function-apply.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports=typeof Reflect=="object"&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})}});var require_proxy_accessor=__commonJS({"node_modules/core-js/internals/proxy-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineProperty=require_object_define_property().f;module.exports=function(Target,Source,key){key in Target||defineProperty(Target,key,{configurable:!0,get:function(){return Source[key]},set:function(it){Source[key]=it}})}}});var require_inherit_if_required=__commonJS({"node_modules/core-js/internals/inherit-if-required.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),isObject=require_is_object(),setPrototypeOf=require_object_set_prototype_of();module.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return setPrototypeOf&&isCallable(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype),$this}}});var require_normalize_string_argument=__commonJS({"node_modules/core-js/internals/normalize-string-argument.js"(exports,module){"use strict";init_define_process_env();init_shim();var toString=require_to_string();module.exports=function(argument,$default){return argument===void 0?arguments.length<2?"":$default:toString(argument)}}});var require_install_error_cause=__commonJS({"node_modules/core-js/internals/install-error-cause.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property();module.exports=function(O,options){isObject(options)&&"cause"in options&&createNonEnumerableProperty(O,"cause",options.cause)}}});var require_error_stack_clear=__commonJS({"node_modules/core-js/internals/error-stack-clear.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),$Error=Error,replace=uncurryThis("".replace),TEST=function(arg){return String(new $Error(arg).stack)}("zxcasd"),V8_OR_CHAKRA_STACK_ENTRY=/\n\s*at [^:]*:[^\n]*/,IS_V8_OR_CHAKRA_STACK=V8_OR_CHAKRA_STACK_ENTRY.test(TEST);module.exports=function(stack,dropEntries){if(IS_V8_OR_CHAKRA_STACK&&typeof stack=="string"&&!$Error.prepareStackTrace)for(;dropEntries--;)stack=replace(stack,V8_OR_CHAKRA_STACK_ENTRY,"");return stack}}});var require_error_stack_installable=__commonJS({"node_modules/core-js/internals/error-stack-installable.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),createPropertyDescriptor=require_create_property_descriptor();module.exports=!fails(function(){var error=new Error("a");return"stack"in error?(Object.defineProperty(error,"stack",createPropertyDescriptor(1,7)),error.stack!==7):!0})}});var require_error_stack_install=__commonJS({"node_modules/core-js/internals/error-stack-install.js"(exports,module){"use strict";init_define_process_env();init_shim();var createNonEnumerableProperty=require_create_non_enumerable_property(),clearErrorStack=require_error_stack_clear(),ERROR_STACK_INSTALLABLE=require_error_stack_installable(),captureStackTrace=Error.captureStackTrace;module.exports=function(error,C,stack,dropEntries){ERROR_STACK_INSTALLABLE&&(captureStackTrace?captureStackTrace(error,C):createNonEnumerableProperty(error,"stack",clearErrorStack(stack,dropEntries)))}}});var require_wrap_error_constructor_with_cause=__commonJS({"node_modules/core-js/internals/wrap-error-constructor-with-cause.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),hasOwn=require_has_own_property(),createNonEnumerableProperty=require_create_non_enumerable_property(),isPrototypeOf=require_object_is_prototype_of(),setPrototypeOf=require_object_set_prototype_of(),copyConstructorProperties=require_copy_constructor_properties(),proxyAccessor=require_proxy_accessor(),inheritIfRequired=require_inherit_if_required(),normalizeStringArgument=require_normalize_string_argument(),installErrorCause=require_install_error_cause(),installErrorStack=require_error_stack_install(),DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure();module.exports=function(FULL_NAME,wrapper,FORCED,IS_AGGREGATE_ERROR){var STACK_TRACE_LIMIT="stackTraceLimit",OPTIONS_POSITION=IS_AGGREGATE_ERROR?2:1,path=FULL_NAME.split("."),ERROR_NAME=path[path.length-1],OriginalError=getBuiltIn.apply(null,path);if(OriginalError){var OriginalErrorPrototype=OriginalError.prototype;if(!IS_PURE&&hasOwn(OriginalErrorPrototype,"cause")&&delete OriginalErrorPrototype.cause,!FORCED)return OriginalError;var BaseError=getBuiltIn("Error"),WrappedError=wrapper(function(a,b){var message=normalizeStringArgument(IS_AGGREGATE_ERROR?b:a,void 0),result=IS_AGGREGATE_ERROR?new OriginalError(a):new OriginalError;return message!==void 0&&createNonEnumerableProperty(result,"message",message),installErrorStack(result,WrappedError,result.stack,2),this&&isPrototypeOf(OriginalErrorPrototype,this)&&inheritIfRequired(result,this,WrappedError),arguments.length>OPTIONS_POSITION&&installErrorCause(result,arguments[OPTIONS_POSITION]),result});if(WrappedError.prototype=OriginalErrorPrototype,ERROR_NAME!=="Error"?setPrototypeOf?setPrototypeOf(WrappedError,BaseError):copyConstructorProperties(WrappedError,BaseError,{name:!0}):DESCRIPTORS&&STACK_TRACE_LIMIT in OriginalError&&(proxyAccessor(WrappedError,OriginalError,STACK_TRACE_LIMIT),proxyAccessor(WrappedError,OriginalError,"prepareStackTrace")),copyConstructorProperties(WrappedError,OriginalError),!IS_PURE)try{OriginalErrorPrototype.name!==ERROR_NAME&&createNonEnumerableProperty(OriginalErrorPrototype,"name",ERROR_NAME),OriginalErrorPrototype.constructor=WrappedError}catch(error){}return WrappedError}}}});var require_es_error_cause=__commonJS({"node_modules/core-js/modules/es.error.cause.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),apply=require_function_apply(),wrapErrorConstructorWithCause=require_wrap_error_constructor_with_cause(),WEB_ASSEMBLY="WebAssembly",WebAssembly=global[WEB_ASSEMBLY],FORCED=new Error("e",{cause:7}).cause!==7,exportGlobalErrorCauseWrapper=function(ERROR_NAME,wrapper){var O={};O[ERROR_NAME]=wrapErrorConstructorWithCause(ERROR_NAME,wrapper,FORCED),$2({global:!0,constructor:!0,arity:1,forced:FORCED},O)},exportWebAssemblyErrorCauseWrapper=function(ERROR_NAME,wrapper){if(WebAssembly&&WebAssembly[ERROR_NAME]){var O={};O[ERROR_NAME]=wrapErrorConstructorWithCause(WEB_ASSEMBLY+"."+ERROR_NAME,wrapper,FORCED),$2({target:WEB_ASSEMBLY,stat:!0,constructor:!0,arity:1,forced:FORCED},O)}};exportGlobalErrorCauseWrapper("Error",function(init){return function(message){return apply(init,this,arguments)}});exportGlobalErrorCauseWrapper("EvalError",function(init){return function(message){return apply(init,this,arguments)}});exportGlobalErrorCauseWrapper("RangeError",function(init){return function(message){return apply(init,this,arguments)}});exportGlobalErrorCauseWrapper("ReferenceError",function(init){return function(message){return apply(init,this,arguments)}});exportGlobalErrorCauseWrapper("SyntaxError",function(init){return function(message){return apply(init,this,arguments)}});exportGlobalErrorCauseWrapper("TypeError",function(init){return function(message){return apply(init,this,arguments)}});exportGlobalErrorCauseWrapper("URIError",function(init){return function(message){return apply(init,this,arguments)}});exportWebAssemblyErrorCauseWrapper("CompileError",function(init){return function(message){return apply(init,this,arguments)}});exportWebAssemblyErrorCauseWrapper("LinkError",function(init){return function(message){return apply(init,this,arguments)}});exportWebAssemblyErrorCauseWrapper("RuntimeError",function(init){return function(message){return apply(init,this,arguments)}})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurry-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_is_array=__commonJS({"node_modules/core-js/internals/is-array.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof_raw();module.exports=Array.isArray||function(argument){return classof(argument)==="Array"}}});var require_is_constructor=__commonJS({"node_modules/core-js/internals/is-constructor.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),classof=require_classof(),getBuiltIn=require_get_built_in(),inspectSource=require_inspect_source(),noop=function(){},construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.test(noop),isConstructorModern=function(argument){if(!isCallable(argument))return!1;try{return construct(noop,[],argument),!0}catch(error){return!1}},isConstructorLegacy=function(argument){if(!isCallable(argument))return!1;switch(classof(argument)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(argument))}catch(error){return!0}};isConstructorLegacy.sham=!0;module.exports=!construct||fails(function(){var called;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){called=!0})||called})?isConstructorLegacy:isConstructorModern}});var require_array_species_constructor=__commonJS({"node_modules/core-js/internals/array-species-constructor.js"(exports,module){"use strict";init_define_process_env();init_shim();var isArray=require_is_array(),isConstructor=require_is_constructor(),isObject=require_is_object(),wellKnownSymbol=require_well_known_symbol(),SPECIES=wellKnownSymbol("species"),$Array=Array;module.exports=function(originalArray){var C;return isArray(originalArray)&&(C=originalArray.constructor,isConstructor(C)&&(C===$Array||isArray(C.prototype))?C=void 0:isObject(C)&&(C=C[SPECIES],C===null&&(C=void 0))),C===void 0?$Array:C}}});var require_array_species_create=__commonJS({"node_modules/core-js/internals/array-species-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var arraySpeciesConstructor=require_array_species_constructor();module.exports=function(originalArray,length){return new(arraySpeciesConstructor(originalArray))(length===0?0:length)}}});var require_array_iteration=__commonJS({"node_modules/core-js/internals/array-iteration.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),uncurryThis=require_function_uncurry_this(),IndexedObject=require_indexed_object(),toObject=require_to_object(),lengthOfArrayLike=require_length_of_array_like(),arraySpeciesCreate=require_array_species_create(),push=uncurryThis([].push),createMethod=function(TYPE){var IS_MAP=TYPE===1,IS_FILTER=TYPE===2,IS_SOME=TYPE===3,IS_EVERY=TYPE===4,IS_FIND_INDEX=TYPE===6,IS_FILTER_REJECT=TYPE===7,NO_HOLES=TYPE===5||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var O=toObject($this),self2=IndexedObject(O),length=lengthOfArrayLike(self2),boundFunction=bind(callbackfn,that),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER||IS_FILTER_REJECT?create($this,0):void 0,value,result;length>index;index++)if((NO_HOLES||index in self2)&&(value=self2[index],result=boundFunction(value,index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push(target,value)}else switch(TYPE){case 4:return!1;case 7:push(target,value)}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}};module.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}}});var require_array_method_is_strict=__commonJS({"node_modules/core-js/internals/array-method-is-strict.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!!method&&fails(function(){method.call(null,argument||function(){return 1},1)})}}});var require_array_for_each=__commonJS({"node_modules/core-js/internals/array-for-each.js"(exports,module){"use strict";init_define_process_env();init_shim();var $forEach=require_array_iteration().forEach,arrayMethodIsStrict=require_array_method_is_strict(),STRICT_METHOD=arrayMethodIsStrict("forEach");module.exports=STRICT_METHOD?[].forEach:function(callbackfn){return $forEach(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}});var require_web_dom_collections_for_each=__commonJS({"node_modules/core-js/modules/web.dom-collections.for-each.js"(){"use strict";init_define_process_env();init_shim();var global=require_global(),DOMIterables=require_dom_iterables(),DOMTokenListPrototype=require_dom_token_list_prototype(),forEach=require_array_for_each(),createNonEnumerableProperty=require_create_non_enumerable_property(),handlePrototype=function(CollectionPrototype){if(CollectionPrototype&&CollectionPrototype.forEach!==forEach)try{createNonEnumerableProperty(CollectionPrototype,"forEach",forEach)}catch(error){CollectionPrototype.forEach=forEach}};for(COLLECTION_NAME in DOMIterables)DOMIterables[COLLECTION_NAME]&&handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype);var COLLECTION_NAME;handlePrototype(DOMTokenListPrototype)}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_es_object_get_own_property_descriptors=__commonJS({"node_modules/core-js/modules/es.object.get-own-property-descriptors.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),DESCRIPTORS=require_descriptors(),ownKeys2=require_own_keys(),toIndexedObject=require_to_indexed_object(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),createProperty=require_create_property();$2({target:"Object",stat:!0,sham:!DESCRIPTORS},{getOwnPropertyDescriptors:function(object){for(var O=toIndexedObject(object),getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,keys=ownKeys2(O),result={},index=0,key,descriptor;keys.length>index;)descriptor=getOwnPropertyDescriptor(O,key=keys[index++]),descriptor!==void 0&&createProperty(result,key,descriptor);return result}})}});var _window$u,_window,_window$safe_require,_window2,u,safe_require,init_window_register=__esm({"lib-browser-old/window_register.js"(){"use strict";init_define_process_env();init_shim();u=(_window$u=(_window=window)==null?void 0:_window.u)!=null?_window$u:_u,safe_require=(_window$safe_require=(_window2=window)==null?void 0:_window2.safe_require)!=null?_window$safe_require:_safe_require}});var chartjs_LineBarChart_exports={};__export(chartjs_LineBarChart_exports,{additional_data:()=>additional_data,property_applications:()=>chart_property_applications});var property_applications,chart_property_applications,additional_data,init_chartjs_LineBarChart=__esm({"lib-browser-old/optional/services/legacy/responsive_v0/chartjs_LineBarChart.js"(){"use strict";init_define_process_env();init_shim();init_window_register();property_applications=safe_require.safe_require("./core/property_applications"),chart_property_applications=[new property_applications.MinWidth],additional_data={notify_width(instance,width){if(instance.get_static_property("keep_proportion_resize")){let height=width/instance.element.get_width()*instance.element.get_height();instance.set_height(height)}}}}});init_define_process_env();init_shim();var import_es_array_includes=__toESM(require_es_array_includes()),import_es_array_iterator=__toESM(require_es_array_iterator()),import_web_dom_collections_iterator=__toESM(require_web_dom_collections_iterator()),import_es_symbol_description=__toESM(require_es_symbol_description()),import_es_error_cause=__toESM(require_es_error_cause()),import_web_dom_collections_for_each=__toESM(require_web_dom_collections_for_each()),import_es_object_get_own_property_descriptors=__toESM(require_es_object_get_own_property_descriptors());init_window_register();function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}var external=safe_require.safe_require("./external"),btype_ids=safe_require.safe_require("./lang/btype_ids"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),lang=safe_require.safe_require("./lang/lang"),numeric_format_utilities=safe_require.safe_require("./core/core_btypes/utilities/numeric_format_utilities"),btypes=safe_require.safe_require("./lang/btypes"),shared_fields=safe_require.safe_require("./core/shared_fields"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),node_eval=safe_require.safe_require("./lang/evaluation/node_eval"),color_tokens=safe_require.safe_require("./lang/color_tokens"),page_state=safe_require.safe_require("./lang/evaluation/page_state"),_chartjs_loaded=!1,Chart=null;function load_chartjs(){_chartjs_loaded||(_chartjs_loaded=!0,Chart=safe_require.safe_require("./optional/chart"))}var property_applications2=safe_require.safe_require("./core/property_applications"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("chartjs-LineBarChart",(init_chartjs_LineBarChart(),__toCommonJS(chartjs_LineBarChart_exports)));function plugin_version(){if(Lib()){var _appquery$get_public_;return(_appquery$get_public_=appquery.get_public_setting("chartjs_installed_version"))!=null?_appquery$get_public_:0}else return 1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("chartjs_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{LineBarChart:{display:"Line/Bar Chart",category:"visual elements",icon:"ion-stats-bars",condition(root){var _root$is_mobile;return!(root!=null&&(_root$is_mobile=root.is_mobile)!=null&&_root$is_mobile.call(root))},defaults:{width:590,height:370,collapse_margin:500},field_names:u.extend({chart_type:{default:"Line",no_states:!0},data_points_type:{no_states:!0},data_source:{},y_value_expression:{no_states:!0},label_expression:{no_states:!0},series1_color:{default:"rgba(151,187,205,1)",no_states:!0,in_style:!0},series1_fillColor:{default:"rgba(151,187,205,0.2)",no_states:!0,in_style:!0},showScale:{default:!0,no_states:!0,in_style:!0},scaleLineColor:{default:"rgba(0,0,0,.1)",no_states:!0,in_style:!0},scaleFontColor:{default:"#666",no_states:!0,in_style:!0},scaleShowGridLines:{default:!0,no_states:!0,in_style:!0},scaleGridLineColor:{default:"rgba(0,0,0,.05)",no_states:!0,in_style:!0},showTooltips:{default:!0,no_states:!0},customize_tooltips:{default:!1,no_states:!0},hide_label_tooltips:{default:!1,no_states:!0},bezierCurve:{default:!0,no_states:!0},animateRotate:{default:!0,no_states:!0},datasetFill:{default:!0,no_states:!0},keep_proportion_resize:{no_states:!0}},numeric_format_utilities.format_number_names),property_applications:[new property_applications2.Dimensions,new property_applications2.Background,new property_applications2.Border,new property_applications2.Padding,new property_applications2.BoxShadow,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},can_fix_aspect_ratio(){return!0},get_min_width(){return 0},get_html(instance){return"<div></div>"},initialize(instance){let canvas=instance.get_canvas();load_chartjs();let chart_drawn_once=!1,myChartInstance=null;element_eval.pre_cache(instance,["height","width","padding_vertical","padding_horizontal","showScale","scaleLineColor","showTooltips","bezierCurve","datasetFill","scaleShowGridLines","scaleGridLineColor","scaleFontColor","animateRotate"]),instance.autorun(()=>{var _instance$element$roo;if(!instance.is_visible())return;let ratio=instance.get_static_property("aspect_ratio_height")/instance.get_static_property("aspect_ratio_width"),h=(((_instance$element$roo=instance.element.root())==null?void 0:_instance$element$roo.get_responsive_version())>0&&uses_css_responsive()&&instance.element.has_fixed_aspect_ratio()?element_eval.evaluate_property(instance,"width")*ratio:element_eval.evaluate_property(instance,"height"))-property_applications2.calculate_border_height(instance)-2*element_eval.evaluate_property(instance,"padding_vertical"),w=element_eval.evaluate_property(instance,"width")-property_applications2.calculate_border_width(instance)-2*element_eval.evaluate_property(instance,"padding_horizontal"),chart_type=instance.get_static_property("chart_type"),props={};for(let prop of["showScale","showTooltips","bezierCurve","datasetFill","scaleShowGridLines","animateRotate"])props[prop]=element_eval.evaluate_property(instance,prop);for(let prop of["scaleLineColor","scaleGridLineColor","scaleFontColor"])props[prop]=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,prop));props.pointLabelFontColor=props.scaleFontColor,canvas.empty();let chart_canvas=$('<canvas id="myChart" width="'+w+'" height = "'+h+'"></canvas>');canvas.append(chart_canvas);let ctx=chart_canvas[0].getContext("2d"),myChart=new Chart(ctx),series1_color=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,"series1_color")),series1_fill_color=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,"series1_fillColor")),data;if(Lib().is_edit_mode())props.animation=!1,props.showTooltips=!1,["Line","Bar","Radar"].includes(chart_type)?data={labels:["January","February","March","April","May","June","July"],datasets:[{label:"Dataset 1",fillColor:series1_fill_color,strokeColor:series1_color,pointColor:series1_color,pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:series1_color,data:[65,59,80,81,56,55,40]}]}:["Pie","Doughnut"].includes(chart_type)&&(data=[{value:300,color:"#F7464A",highlight:"#FF5A5E",label:"Red"},{value:50,color:"#46BFBD",highlight:"#5AD3D1",label:"Green"},{value:100,color:"#FDB45C",highlight:"#FFC870",label:"Yellow"}]);else{var _element_eval$evaluat,_data_points_list$all,_data_points_list$all2;let data_points_list=(_element_eval$evaluat=element_eval.evaluate_property(instance,"data_source"))!=null?_element_eval$evaluat:null,data_points=[],list=(_data_points_list$all=data_points_list==null||(_data_points_list$all2=data_points_list.all)==null?void 0:_data_points_list$all2.call(data_points_list))!=null?_data_points_list$all:[];if(list.length===0)return;let context={element:instance,datasources:_objectSpread(_objectSpread({},page_state.get_basic_datasources(instance.element.root())),{},{injected_value_btype:()=>this.get_injected_btype(instance.element)})};for(let raw_data_point of list){var _node_eval$eval_prope;context.datasources.injected_value=()=>raw_data_point,data_points.push({value:(_node_eval$eval_prope=node_eval.eval_property(instance.element,"y_value_expression",context))!=null?_node_eval$eval_prope:0,label:node_eval.eval_property(instance.element,"label_expression",context)})}if(["Line","Bar","Radar"].includes(chart_type))data={labels:data_points.map(a=>a.label),datasets:[{label:"Dataset 1",fillColor:series1_fill_color,strokeColor:series1_color,pointColor:series1_color,pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:series1_color,data:data_points.map(a=>a.value)}]};else if(["Pie","Doughnut"].includes(chart_type)){let color_list=["#F7464A","#46BFBD","#FDB45C","#F8F65F","#BA8FF7","#46F776","#7FF7F7","#9830F7"],color_index=0;data=[];for(let a of data_points)data.push({value:a.value,label:a.label,color:color_list[color_index]}),color_index++,color_index>color_list.length-1&&(color_index=0)}if(chart_drawn_once?props.animation=!1:(props.animation=!0,chart_drawn_once=!0),instance.get_static_property("showTooltips")&&instance.get_static_property("customize_tooltips")){let format_data={};for(let k in numeric_format_utilities.format_number_names)format_data[k]=element_eval.evaluate_property(instance,k);let format_fn=btypes.get("number").get_message("format_number").evaluate,fn_name="chart_format_fn_"+instance.element_id();window[fn_name]=val=>format_fn(val,void 0,format_data),instance.get_static_property("hide_label_tooltips")?props.tooltipTemplate="<%= window."+fn_name+"(value) %>":props.tooltipTemplate="<%if (label){%><%=label%>: <%}%><%= window."+fn_name+"(value) %>"}}if(["Line","Bar"].includes(chart_type)){props.scaleBeginAtZero=!0;for(let datapoint of(_data$datasets$0$data=(_data$datasets=data.datasets)==null||(_data$datasets$=_data$datasets[0])==null?void 0:_data$datasets$.data)!=null?_data$datasets$0$data:[]){var _data$datasets$0$data,_data$datasets,_data$datasets$;datapoint<0&&(props.scaleBeginAtZero=!1)}}myChartInstance=myChart[chart_type](data,props)}),instance.on_destroy(()=>{var _myChartInstance;return(_myChartInstance=myChartInstance)==null?void 0:_myChartInstance.destroy()})},get_injected_btype(element){return element.get_static_property("data_points_type")},get_injected_display(){return"Current point"},use_injected_datasource(node,element){return node.path().indexOf(element.property("y_value_expression").path())===0||node.path().indexOf(element.property("label_expression").path())===0},change_cursor_style_if_clickable:!0,add_an_invisible_div_on_the_top:!0,is_input:!1,contains_group_data:!1,get_states(element){return[]},get_state_value(element,name){},jquery_plugins(){return["jquery_plugins/chart"]}}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},chartjs={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.chartjs=chartjs);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("chartjs",chartjs);})();
/*! Bundled license information:

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)
*/

}


window.preloaded['plugin/first_party:chartjs'] = true;
window._bubble_page_load_data.hardcoded_plugins['addtoany'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['e824c4017c4e63f266fe5dd70865d2544226385c857126b21eb652b8d5e572ae']){window.__code__['e824c4017c4e63f266fe5dd70865d2544226385c857126b21eb652b8d5e572ae']=1;

"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch(e){return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e2){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e2){return cachedClearTimeout.call(this,marker)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch(error){return!0}}}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurry-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(SHARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_add_to_unscopables=__commonJS({"node_modules/core-js/internals/add-to-unscopables.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),create=require_object_create(),defineProperty=require_object_define_property().f,UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;ArrayPrototype[UNSCOPABLES]===void 0&&defineProperty(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)});module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurryThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch(error){}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch(error){}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_set_to_string_tag=__commonJS({"node_modules/core-js/internals/set-to-string-tag.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineProperty=require_object_define_property().f,hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag");module.exports=function(target,TAG,STATIC){target&&!STATIC&&(target=target.prototype),target&&!hasOwn(target,TO_STRING_TAG)&&defineProperty(target,TO_STRING_TAG,{configurable:!0,value:TAG})}}});var require_iterator_create_constructor=__commonJS({"node_modules/core-js/internals/iterator-create-constructor.js"(exports,module){"use strict";init_define_process_env();init_shim();var IteratorPrototype=require_iterators_core().IteratorPrototype,create=require_object_create(),createPropertyDescriptor=require_create_property_descriptor(),setToStringTag=require_set_to_string_tag(),Iterators=require_iterators(),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}}});var require_function_uncurry_this_accessor=__commonJS({"node_modules/core-js/internals/function-uncurry-this-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),aCallable=require_a_callable();module.exports=function(object,key,method){try{return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object,key)[method]))}catch(error){}}}});var require_is_possible_prototype=__commonJS({"node_modules/core-js/internals/is-possible-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object();module.exports=function(argument){return isObject(argument)||argument===null}}});var require_a_possible_prototype=__commonJS({"node_modules/core-js/internals/a-possible-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPossiblePrototype=require_is_possible_prototype(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isPossiblePrototype(argument))return argument;throw new $TypeError("Can't set "+$String(argument)+" as a prototype")}}});var require_object_set_prototype_of=__commonJS({"node_modules/core-js/internals/object-set-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThisAccessor=require_function_uncurry_this_accessor(),anObject=require_an_object(),aPossiblePrototype=require_a_possible_prototype();module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var CORRECT_SETTER=!1,test={},setter;try{setter=uncurryThisAccessor(Object.prototype,"__proto__","set"),setter(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter(O,proto):O.__proto__=proto,O}}():void 0)}});var require_iterator_define=__commonJS({"node_modules/core-js/internals/iterator-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var $=require_export(),call=require_function_call(),IS_PURE=require_is_pure(),FunctionName=require_function_name(),isCallable=require_is_callable(),createIteratorConstructor=require_iterator_create_constructor(),getPrototypeOf=require_object_get_prototype_of(),setPrototypeOf=require_object_set_prototype_of(),setToStringTag=require_set_to_string_tag(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),IteratorsCore=require_iterators_core(),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case KEYS:return function(){return new IteratorConstructor(this,KIND)};case VALUES:return function(){return new IteratorConstructor(this,KIND)};case ENTRIES:return function(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator=NAME==="Array"&&IterablePrototype.entries||nativeIterator,CurrentIteratorPrototype,methods,KEY;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)),CurrentIteratorPrototype!==Object.prototype&&CurrentIteratorPrototype.next&&(!IS_PURE&&getPrototypeOf(CurrentIteratorPrototype)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||defineBuiltIn(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis))),PROPER_FUNCTION_NAME&&DEFAULT===VALUES&&nativeIterator&&nativeIterator.name!==VALUES&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name",VALUES):(INCORRECT_VALUES_NAME=!0,defaultIterator=function(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod(VALUES),keys:IS_SET?defaultIterator:getIterationMethod(KEYS),entries:getIterationMethod(ENTRIES)},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&defineBuiltIn(IterablePrototype,KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return(!IS_PURE||FORCED)&&IterablePrototype[ITERATOR]!==defaultIterator&&defineBuiltIn(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(value,done){return{value,done}}}});var require_es_array_iterator=__commonJS({"node_modules/core-js/modules/es.array.iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),addToUnscopables=require_add_to_unscopables(),Iterators=require_iterators(),InternalStateModule=require_internal_state(),defineProperty=require_object_define_property().f,defineIterator=require_iterator_define(),createIterResultObject=require_create_iter_result_object(),IS_PURE=require_is_pure(),DESCRIPTORS=require_descriptors(),ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(ARRAY_ITERATOR);module.exports=defineIterator(Array,"Array",function(iterated,kind){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(iterated),index:0,kind})},function(){var state=getInternalState(this),target=state.target,index=state.index++;if(!target||index>=target.length)return state.target=void 0,createIterResultObject(void 0,!0);switch(state.kind){case"keys":return createIterResultObject(index,!1);case"values":return createIterResultObject(target[index],!1)}return createIterResultObject([index,target[index]],!1)},"values");var values=Iterators.Arguments=Iterators.Array;addToUnscopables("keys");addToUnscopables("values");addToUnscopables("entries");if(!IS_PURE&&DESCRIPTORS&&values.name!=="values")try{defineProperty(values,"name",{value:"values"})}catch(error){}}});var require_dom_iterables=__commonJS({"node_modules/core-js/internals/dom-iterables.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}});var require_dom_token_list_prototype=__commonJS({"node_modules/core-js/internals/dom-token-list-prototype.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentCreateElement=require_document_create_element(),classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype}});var require_web_dom_collections_iterator=__commonJS({"node_modules/core-js/modules/web.dom-collections.iterator.js"(){"use strict";init_define_process_env();init_shim();var global=require_global(),DOMIterables=require_dom_iterables(),DOMTokenListPrototype=require_dom_token_list_prototype(),ArrayIteratorMethods=require_es_array_iterator(),createNonEnumerableProperty=require_create_non_enumerable_property(),setToStringTag=require_set_to_string_tag(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(CollectionPrototype,COLLECTION_NAME2){if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(setToStringTag(CollectionPrototype,COLLECTION_NAME2,!0),DOMIterables[COLLECTION_NAME2]){for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype,COLLECTION_NAME);var COLLECTION_NAME;handlePrototype(DOMTokenListPrototype,"DOMTokenList")}});init_define_process_env();init_shim();var import_es_array_iterator=__toESM(require_es_array_iterator()),import_web_dom_collections_iterator=__toESM(require_web_dom_collections_iterator());init_define_process_env();init_shim();var _window$u,_window,_window$safe_require,_window2,u=(_window$u=(_window=window)==null?void 0:_window.u)!=null?_window$u:_u,safe_require=(_window$safe_require=(_window2=window)==null?void 0:_window2.safe_require)!=null?_window$safe_require:_safe_require;var Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),plugin_registry=safe_require.safe_require("./services/shared/plugin_registry"),element_utils=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_utils"),property_applications=safe_require.safe_require("./core/property_applications"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("addtoany-AddToAnyShareButtons");var PLUGIN_FILE="addtoany",platforms=["email","facebook","twitter","x","linkedin","pinterest","google_plus","tumblr","reddit","hacker_news"],script_html="<script>\nvar a2a_config = a2a_config || {};\n(function(){\n    var url = 'https://static.addtoany.com/menu/page.js';\n    if (document.querySelector('script[src=\"' + url + '\"]')) {\n      if (window.a2a) {\n        window.a2a.init_all();\n      }\n    } else {\n      var a = document.createElement('script');\n      a.type = 'text/javascript';\n      a.async = true;\n      a.src = url;\n      var s = document.getElementsByTagName('script')[0];\n      s.parentNode.insertBefore(a, s);\n    }\n})();\n<\/script>",cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}get script_html(){return script_html}_get_initial_elements(){return{AddToAnyShareButtons:{display:"Share Buttons",category:"visual elements",icon:"ion-android-share-alt",condition(root){var _root$is_mobile;return!(root!=null&&(_root$is_mobile=root.is_mobile)!=null&&_root$is_mobile.call(root))},defaults:{width:117,height:40},field_names:u.extend({url_to_share:{default:"https://bubble.io"},name_to_share:{no_states:!0,default:"Bubble"},include_email:{no_states:!0,default:!0},include_facebook:{no_states:!0,default:!0},include_twitter:{no_states:!0,default:!0},include_x:{no_states:!0},include_pinterest:{no_states:!0},include_linkedin:{no_states:!0},include_google_plus:{no_states:!0},include_tumblr:{no_states:!0},include_reddit:{no_states:!0},include_hacker_news:{no_states:!0},include_generic:{no_states:!0},overwrite_color:{no_states:!0},icons_color:{no_states:!0,default:"#B0B0B0"}}),property_applications:[new property_applications.Dimensions,new property_applications.Border,new property_applications.BoxShadow,new property_applications.Background,new property_applications.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();canvas.css("padding",4);let props_to_load=["url_to_share","name_to_share","include_generic","overwrite_color","icons_color"];for(let platform of platforms)props_to_load.push("include_"+platform);return element_eval.pre_cache(instance,props_to_load),instance.autorun(()=>{let props={};for(let prop of props_to_load)props[prop]=element_eval.evaluate_property(instance,prop);canvas.empty();let html='<div class="a2a_kit a2a_kit_size_32 a2a_default_style" data-a2a-url="'+props.url_to_share;if(props.name_to_share&&(html+='" data-a2a-title="'+props.name_to_share+'"'),props.overwrite_color){let{code}=u.rgb_to_hex(props.icons_color);html+=' data-a2a-icon-color="'+code+'">'}else html+='">';for(let platform of platforms)props["include_"+platform]&&(html+='<a class="a2a_button_'+platform+'"></a>');if(props.include_generic&&(html+='<a class="a2a_dd" href="https://www.addtoany.com/share_save"></a>'),html+="</div>\n".concat(script_html),canvas.html(html),instance.edit_mode())return element_utils.do_add_an_invisible_div_on_the_top(instance)})},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!1,contains_group_data:!1}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}};function plugin_version(){if(Lib()){var _appquery$get_public_;return(_appquery$get_public_=appquery.get_public_setting("addtoany_installed_version"))!=null?_appquery$get_public_:0}else return 1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("addtoany_css_responsive")===!0:!0}var addtoany={cls,script_html};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.addtoany=addtoany);var _window3,_window$optional_modu;plugin_registry.register_plugin("addtoany",addtoany);})();
/*! Bundled license information:

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)
*/

}


window.preloaded['plugin/first_party:addtoany'] = true;
window._bubble_page_load_data.hardcoded_plugins['recaptcha'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['eb9845a3ba54ecb68bf6d8b4e2047e2ca3575753bfaaf159d98d1625dfae81ee']){window.__code__['eb9845a3ba54ecb68bf6d8b4e2047e2ca3575753bfaaf159d98d1625dfae81ee']=1;

"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch(e){return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e2){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e2){return cachedClearTimeout.call(this,marker)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var _window$u,_window,_window$safe_require,_window2,u=(_window$u=(_window=window)==null?void 0:_window.u)!=null?_window$u:_u,safe_require=(_window$safe_require=(_window2=window)==null?void 0:_window2.safe_require)!=null?_window$safe_require:_safe_require;var element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),Lib=safe_require.safe_require("./lib"),property_applications=safe_require.safe_require("./core/property_applications"),images_for_edit_mode={normal_light:"https://9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1464849422670x615170244127512000/_normal_light.png",normal_dark:"https://9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1464849493535x249905174132436520/_normal_dark.png",compact_light:"https://9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1464849512198x457822897005826240/_compact_light.png",compact_dark:"https://9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1464849568059x625774380750954100/_compact_dark.png"},PLUGIN_FILE="recaptcha",cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.calls=this._get_initial_calls(),this.elements=this._get_initial_elements()}get base_url(){return"https://www.google.com/recaptcha/api/siteverify"}get data_type(){return"raw"}_get_initial_calls(){return{check_response:class extends external.Call{get _must_proxy(){return!0}get skip_property_security(){return!0}build(prev,properties){return{path:"?secret="+this.service().get_secret_key()+"&response="+properties.response,method:"post"}}}}}_get_initial_elements(){return{Captcha:{display:"reCaptcha form",category:"input forms",icon:"ion-android-refresh",condition(root){var _root$is_mobile;return!(root!=null&&(_root$is_mobile=root.is_mobile)!=null&&_root$is_mobile.call(root))},field_names:{theme:{default:"light",no_states:!0,in_style:!0},type:{default:"image",no_states:!0,in_style:!0},size:{default:"normal",no_states:!0,in_style:!0}},property_applications:[new property_applications.PositionOnly],get_html(instance){return"<div></div>"},initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();if(instance.run_mode())return instance.wait_for_visible(()=>instance.setTimeout(()=>u.wait_for_attached(canvas,()=>{let unique_id=instance.toUniqueString();canvas.attr("id",unique_id),canvas[0].style.overflow="visible";let timeout=null;function build_it(){var _window$grecaptcha;if((_window$grecaptcha=window.grecaptcha)!=null&&_window$grecaptcha.render&&document.getElementById(unique_id)!=null){instance.state("value",!1),window.grecaptcha.render(unique_id,{sitekey:plugin_registry.get_hardcoded_plugin(known_plugins_consts.RECAPTCHA).get_public_key(),theme:instance.get_static_property("theme"),type:instance.get_static_property("type"),size:instance.get_static_property("size"),callback(val){return plugin_registry.get_hardcoded_plugin(known_plugins_consts.RECAPTCHA).get_call("check_response").execute_async(void 0,{response:val}).done(res=>res.success?instance.state("value",!0):window.grecaptcha.reset(unique_id))}});return}timeout=instance.setTimeout(build_it,100)}return build_it(),instance.setTimeout(()=>instance.clearTimeout(timeout),5e3)}),100));{let{element}=instance;return element_eval.on_property_change(instance,["size","theme"],_ref=>{let{size,theme}=_ref;size==="compact"?(element.set_property("width",164),element.set_property("height",144)):(element.set_property("width",304),element.set_property("height",76)),canvas.empty();let img=$('<img src="'+images_for_edit_mode[size+"_"+theme]+'" style="width: 100%; height: 100%;"></img>');return canvas.append(img)})}},get_states(){return["value"]},add_specific_messages(messages,element){return u.extend(messages,{get_data:{description:" is checked",section:"States",is_client_state(){return!0},ret_btype:"boolean",fn(a,b,properties,_raw,context){if(a!=null)return a.state("value")}},get_not_data:{description:" isn't checked",is_client_state(){return!0},section:"States",ret_btype:"boolean",fn(a,b){return!(a!=null&&a.state("value"))}}})},get_state_value(element,name){if(name==="value")return"boolean"},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!1,is_input:!1,contains_group_data:!1,dont_add_hover_pressed:!0,not_resizable(){return!0}}}}get key_for_html_header(){return"appid"}get keys(){return{appid:{caption:"Site key",type:"client_safe"},appsecret:{caption:"Secret key",type:"secure"}}}html_header(key){return'(function(){\n  const b=document.createElement("script");\n  b.type="text/javascript";b.async=!0;b.src=("https://www.google.com/recaptcha/api.js");\n  const d=document.getElementsByTagName("script")[0];\n  d.parentNode.insertBefore(b,d);\n})();'}},recaptcha={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.recaptcha=recaptcha);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin(known_plugins_consts.RECAPTCHA,recaptcha);})();
/*! Bundled license information:

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)
*/

}


window.preloaded['plugin/first_party:recaptcha'] = true;
window._bubble_page_load_data.hardcoded_plugins['progressbar'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']){window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']=1;

"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch(e){return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e2){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e2){return cachedClearTimeout.call(this,marker)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch(error){return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurry-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(SHARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurryThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch(error){}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch(error){}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch(error){}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_to_string=__commonJS({"node_modules/core-js/internals/to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),$String=String;module.exports=function(argument){if(classof(argument)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return $String(argument)}}});var require_whitespaces=__commonJS({"node_modules/core-js/internals/whitespaces.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports="	\n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"}});var require_string_trim=__commonJS({"node_modules/core-js/internals/string-trim.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),requireObjectCoercible=require_require_object_coercible(),toString=require_to_string(),whitespaces=require_whitespaces(),replace=uncurryThis("".replace),ltrim=RegExp("^["+whitespaces+"]+"),rtrim=RegExp("(^|[^"+whitespaces+"])["+whitespaces+"]+$"),createMethod=function(TYPE){return function($this){var string=toString(requireObjectCoercible($this));return TYPE&1&&(string=replace(string,ltrim,"")),TYPE&2&&(string=replace(string,rtrim,"$1")),string}};module.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}}});var require_number_parse_int=__commonJS({"node_modules/core-js/internals/number-parse-int.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),fails=require_fails(),uncurryThis=require_function_uncurry_this(),toString=require_to_string(),trim=require_string_trim().trim,whitespaces=require_whitespaces(),$parseInt=global.parseInt,Symbol2=global.Symbol,ITERATOR=Symbol2&&Symbol2.iterator,hex=/^[+-]?0x/i,exec=uncurryThis(hex.exec),FORCED=$parseInt(whitespaces+"08")!==8||$parseInt(whitespaces+"0x16")!==22||ITERATOR&&!fails(function(){$parseInt(Object(ITERATOR))});module.exports=FORCED?function(string,radix){var S=trim(toString(string));return $parseInt(S,radix>>>0||(exec(hex,S)?16:10))}:$parseInt}});var require_es_parse_int=__commonJS({"node_modules/core-js/modules/es.parse-int.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),$parseInt=require_number_parse_int();$({global:!0,forced:parseInt!==$parseInt},{parseInt:$parseInt})}});init_define_process_env();init_shim();var import_es_parse_int=__toESM(require_es_parse_int());init_define_process_env();init_shim();var _window$u,_window,_window$safe_require,_window2,u=(_window$u=(_window=window)==null?void 0:_window.u)!=null?_window$u:_u,safe_require=(_window$safe_require=(_window2=window)==null?void 0:_window2.safe_require)!=null?_window$safe_require:_safe_require;var Lib=safe_require.safe_require("./lib"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),property_applications=safe_require.safe_require("./core/property_applications"),appquery=safe_require.safe_require("./lang/appquery"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),PLUGIN_FILE="progressbar",element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("progressbar-ProgressBar");function get_bar_label_styles(_ref){let{animation_delay="0s",bar_element,instance,percentage}=_ref,element_width=instance.current_width(),padding_left=0,padding_right=0;if(bar_element!=null&&bar_element[0]){var _bar_element$,_bar_element$$style,_bar_element$2,_bar_element$2$style;padding_left=parseInt(((_bar_element$=bar_element[0])==null||(_bar_element$$style=_bar_element$.style)==null?void 0:_bar_element$$style["padding-left"])||padding_left,10),padding_right=parseInt(((_bar_element$2=bar_element[0])==null||(_bar_element$2$style=_bar_element$2.style)==null?void 0:_bar_element$2$style["padding-right"])||padding_right,10)}let total_left_right_padding=padding_left+padding_right,bar_width=element_width*percentage/100,transition="width "+animation_delay+", clip-path"+animation_delay,left_clip=bar_width-padding_left,bar_label_styles={"clip-path":"inset(0px 0px 0px ".concat(left_clip,"px)"),padding:"inherit",transition,width:element_width-total_left_right_padding},right_clip=element_width-bar_width-padding_right,bar_label_overlay_styles={"clip-path":"inset(0px ".concat(right_clip,"px 0px 0px)"),padding:"inherit",transition,width:element_width-total_left_right_padding};return{bar_label_styles,bar_label_overlay_styles}}function plugin_version(){if(Lib()){var _appquery$get_public_;return(_appquery$get_public_=appquery.get_public_setting("progressbar_installed_version"))!=null?_appquery$get_public_:0}else return 1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("progressbar_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{ProgressBar:{display:"Progress Bar",category:"visual elements",icon:"ion-ios-speedometer",condition(root){var _root$is_mobile;return!(root!=null&&(_root$is_mobile=root.is_mobile)!=null&&_root$is_mobile.call(root))},defaults:{font_alignment:"center",font_color:"#FFFFFF",background_style:"bgcolor",bgcolor:"#FFFFFF",border_roundness:3,border_width:1,border_style:"solid",border_color:"#211A66",width:300,height:25},field_names:{percentage:{},animate:{default:!0,no_states:!0},bar_color:{default:"#7F95EB"}},primary_field(){return"percentage"},_fields(element){return[{name:"percentage",caption:"Percentage",editor:"Basic",btype:"number",pretty:{section:"ProgressBarContent"}},{name:"bar_color",caption:"Progress bar color",editor:"Color",dynamic:!0,pretty:{section:"ProgressBarContent"}},{name:"animate",caption:"Animate progress",editor:"Checkbox",pretty:{section:"ProgressBarContent"}}]},property_applications:[new property_applications.Dimensions,new property_applications.InputPadding(".inner-progressbar"),new property_applications.Font,new property_applications.FontShadow,new property_applications.Border,new property_applications.BoxShadow,new property_applications.Background,new property_applications.Rotation,new property_applications.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},get_min_width(){return 0},change_cursor_style_if_clickable:!0,initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas(),bar=u.div("inner-progressbar",canvas),bar_label=u.div("progressbar-label",bar),bar_label_overlay=u.div("progressbar-label-overlay",bar);return instance.autorun(()=>{let percentage=element_eval.evaluate_property(instance,"percentage");if(instance.run_mode()){var _percentage;(_percentage=percentage)!=null||(percentage=0)}else{var _percentage2;(_percentage2=percentage)!=null||(percentage=60)}percentage>100?percentage=100:percentage<0&&(percentage=0);let prop_node=instance.element.property("percentage");instance.run_mode()||prop_node.is_static()?(bar_label.html(Lib().locale().format_decimal(percentage)+"%"),bar_label_overlay.html(Lib().locale().format_decimal(percentage)+"%")):(bar_label.html(prop_node.get_tree_display()+" %"),bar_label_overlay.html(prop_node.get_tree_display()+" %"));let animation_delay=instance.run_mode()&&instance.get_static_property("animate")?".3s":"0s";bar.css({"background-color":element_eval.evaluate_property(instance,"bar_color"),"line-height":instance.current_height()+"px",transition:"width "+animation_delay,width:percentage+"%"});let{bar_label_styles,bar_label_overlay_styles}=get_bar_label_styles({animation_delay,bar_element:bar,instance,percentage});return bar_label.css(bar_label_styles),bar_label_overlay.css(bar_label_overlay_styles),bar})},add_an_invisible_div_on_the_top:!1,css_files:["css/optional/progressbar.css"],events:["ButtonClicked","ElementPressed"],contains_group_data:!1,is_input:!1}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},progressbar={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.progressbar=progressbar);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("progressbar",progressbar);})();
/*! Bundled license information:

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)
*/

}


window.preloaded['plugin/first_party:progressbar'] = true;
window._bubble_page_load_data.hardcoded_plugins['apiconnector2'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']){window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']=1;

"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.byteLength=byteLength;exports2.toByteArray=toByteArray;exports2.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports2){init_define_process_env();init_shim();exports2.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports2.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports2){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports2.Buffer=Buffer4;exports2.SlowBuffer=SlowBuffer;exports2.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports2.kMaxLength=K_MAX_LENGTH;Buffer4.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer4.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch(e){return!1}}Object.defineProperty(Buffer4.prototype,"parent",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer4.prototype,"offset",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer4.prototype),buf}function Buffer4(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer4.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer4.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer4.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer4.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer4.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer4,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer4.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer4.allocUnsafe=function(size){return allocUnsafe(size)};Buffer4.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer4.prototype),buf}function fromObject(obj){if(Buffer4.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer4.alloc(+length)}Buffer4.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer4.prototype};Buffer4.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer4.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer4.from(b,b.offset,b.byteLength)),!Buffer4.isBuffer(a)||!Buffer4.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer4.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer4.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer4.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer4.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer4.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer4.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer4.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer4.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer4.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer4.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer4.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer4.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer4.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer4.prototype.toLocaleString=Buffer4.prototype.toString;Buffer4.prototype.equals=function(b){if(!Buffer4.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer4.compare(this,b)===0};Buffer4.prototype.inspect=function(){var str="",max=exports2.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer4.prototype[customInspectSymbol]=Buffer4.prototype.inspect);Buffer4.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer4.from(target,target.offset,target.byteLength)),!Buffer4.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer4.from(val,encoding)),Buffer4.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer4.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer4.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer4.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer4.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer4.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer4.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer4.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer4.prototype.readUintLE=Buffer4.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer4.prototype.readUintBE=Buffer4.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer4.prototype.readUint8=Buffer4.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer4.prototype.readUint16LE=Buffer4.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer4.prototype.readUint16BE=Buffer4.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer4.prototype.readUint32LE=Buffer4.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer4.prototype.readUint32BE=Buffer4.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer4.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer4.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer4.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer4.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer4.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer4.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer4.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer4.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer4.prototype.writeUintLE=Buffer4.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUintBE=Buffer4.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUint8=Buffer4.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer4.prototype.writeUint16LE=Buffer4.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeUint16BE=Buffer4.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeUint32LE=Buffer4.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer4.prototype.writeUint32BE=Buffer4.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer4.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer4.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer4.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer4.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer4.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer4.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer4.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer4.prototype.copy=function(target,targetStart,start,end){if(!Buffer4.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer4.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer4.isBuffer(val)?val:Buffer4.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports2,module2){init_define_process_env();init_shim();var process2=module2.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e2){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e2){return cachedClearTimeout.call(this,marker)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(exec){try{return!!exec()}catch(error){return!0}}}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurry-this.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module2.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module2.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module2.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module2.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module2.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module2.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports2=="object"&&exports2)||function(){return this}()||Function("return this")()}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module2.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(SHARED,{});module2.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module2.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module2.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty10=uncurryThis({}.hasOwnProperty);module2.exports=Object.hasOwn||function(it,key){return hasOwnProperty10(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module2.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module2.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module2.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module2.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol3=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol3.for||Symbol3:Symbol3&&Symbol3.withoutSetter||uid;module2.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol3,name)?Symbol3[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module2.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module2.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object(),$String=String,$TypeError=TypeError;module2.exports=function(argument){if(isObject2(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module2.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject2=require_is_object(),document2=global.document,EXISTS=isObject2(document2)&&isObject2(document2.createElement);module2.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module2.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module2.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module2.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module2.exports=uncurryThis({}.isPrototypeOf)}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module2.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var $String=String;module2.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module2.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module2.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject2=require_is_object(),$TypeError=TypeError;module2.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject2(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject2=require_is_object(),isSymbol=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module2.exports=function(input,pref){if(!isObject2(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject2(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module2.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports2.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module2.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module2.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module2.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module2.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module2.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module2.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module2.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module2.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports2.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys2=objectKeys(Properties),length=keys2.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys2[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module2.exports=getBuiltIn("document","documentElement")}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys2=shared("keys");module2.exports=function(key){return keys2[key]||(keys2[key]=uid(key))}}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module2.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_add_to_unscopables=__commonJS({"node_modules/core-js/internals/add-to-unscopables.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),create=require_object_create(),defineProperty=require_object_define_property().f,UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;ArrayPrototype[UNSCOPABLES]===void 0&&defineProperty(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)});module2.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap2=global.WeakMap;module2.exports=isCallable(WeakMap2)&&/native code/.test(String(WeakMap2))}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject2=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap2=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject2(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap2),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module2.exports={set,get,has,enforce,getterFor}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports2){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports2.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports2.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module2.exports={EXISTS,PROPER,CONFIGURABLE}}});var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module2.exports=store.inspectSource}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurryThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module2.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch(error){}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module2.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch(error){}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports2.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module2.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys2=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys2,getOwnPropertySymbols(it)):keys2}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module2.exports=function(target,source,exceptions){for(var keys2=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys2.length;i++){var key=keys2[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module2.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module2.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module2.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject2=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject2(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module2.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_set_to_string_tag=__commonJS({"node_modules/core-js/internals/set-to-string-tag.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var defineProperty=require_object_define_property().f,hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag");module2.exports=function(target,TAG,STATIC){target&&!STATIC&&(target=target.prototype),target&&!hasOwn(target,TO_STRING_TAG)&&defineProperty(target,TO_STRING_TAG,{configurable:!0,value:TAG})}}});var require_iterator_create_constructor=__commonJS({"node_modules/core-js/internals/iterator-create-constructor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IteratorPrototype=require_iterators_core().IteratorPrototype,create=require_object_create(),createPropertyDescriptor=require_create_property_descriptor(),setToStringTag=require_set_to_string_tag(),Iterators=require_iterators(),returnThis=function(){return this};module2.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}}});var require_function_uncurry_this_accessor=__commonJS({"node_modules/core-js/internals/function-uncurry-this-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),aCallable=require_a_callable();module2.exports=function(object,key,method){try{return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object,key)[method]))}catch(error){}}}});var require_is_possible_prototype=__commonJS({"node_modules/core-js/internals/is-possible-prototype.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object();module2.exports=function(argument){return isObject2(argument)||argument===null}}});var require_a_possible_prototype=__commonJS({"node_modules/core-js/internals/a-possible-prototype.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isPossiblePrototype=require_is_possible_prototype(),$String=String,$TypeError=TypeError;module2.exports=function(argument){if(isPossiblePrototype(argument))return argument;throw new $TypeError("Can't set "+$String(argument)+" as a prototype")}}});var require_object_set_prototype_of=__commonJS({"node_modules/core-js/internals/object-set-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThisAccessor=require_function_uncurry_this_accessor(),anObject=require_an_object(),aPossiblePrototype=require_a_possible_prototype();module2.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var CORRECT_SETTER=!1,test={},setter;try{setter=uncurryThisAccessor(Object.prototype,"__proto__","set"),setter(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter(O,proto):O.__proto__=proto,O}}():void 0)}});var require_iterator_define=__commonJS({"node_modules/core-js/internals/iterator-define.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var $=require_export(),call=require_function_call(),IS_PURE=require_is_pure(),FunctionName=require_function_name(),isCallable=require_is_callable(),createIteratorConstructor=require_iterator_create_constructor(),getPrototypeOf=require_object_get_prototype_of(),setPrototypeOf=require_object_set_prototype_of(),setToStringTag=require_set_to_string_tag(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),IteratorsCore=require_iterators_core(),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this};module2.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case KEYS:return function(){return new IteratorConstructor(this,KIND)};case VALUES:return function(){return new IteratorConstructor(this,KIND)};case ENTRIES:return function(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator=NAME==="Array"&&IterablePrototype.entries||nativeIterator,CurrentIteratorPrototype,methods,KEY;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)),CurrentIteratorPrototype!==Object.prototype&&CurrentIteratorPrototype.next&&(!IS_PURE&&getPrototypeOf(CurrentIteratorPrototype)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||defineBuiltIn(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis))),PROPER_FUNCTION_NAME&&DEFAULT===VALUES&&nativeIterator&&nativeIterator.name!==VALUES&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name",VALUES):(INCORRECT_VALUES_NAME=!0,defaultIterator=function(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod(VALUES),keys:IS_SET?defaultIterator:getIterationMethod(KEYS),entries:getIterationMethod(ENTRIES)},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&defineBuiltIn(IterablePrototype,KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return(!IS_PURE||FORCED)&&IterablePrototype[ITERATOR]!==defaultIterator&&defineBuiltIn(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(value,done){return{value,done}}}});var require_es_array_iterator=__commonJS({"node_modules/core-js/modules/es.array.iterator.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),addToUnscopables=require_add_to_unscopables(),Iterators=require_iterators(),InternalStateModule=require_internal_state(),defineProperty=require_object_define_property().f,defineIterator=require_iterator_define(),createIterResultObject=require_create_iter_result_object(),IS_PURE=require_is_pure(),DESCRIPTORS=require_descriptors(),ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(ARRAY_ITERATOR);module2.exports=defineIterator(Array,"Array",function(iterated,kind){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(iterated),index:0,kind})},function(){var state=getInternalState(this),target=state.target,index=state.index++;if(!target||index>=target.length)return state.target=void 0,createIterResultObject(void 0,!0);switch(state.kind){case"keys":return createIterResultObject(index,!1);case"values":return createIterResultObject(target[index],!1)}return createIterResultObject([index,target[index]],!1)},"values");var values=Iterators.Arguments=Iterators.Array;addToUnscopables("keys");addToUnscopables("values");addToUnscopables("entries");if(!IS_PURE&&DESCRIPTORS&&values.name!=="values")try{defineProperty(values,"name",{value:"values"})}catch(error){}}});var require_dom_iterables=__commonJS({"node_modules/core-js/internals/dom-iterables.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}});var require_dom_token_list_prototype=__commonJS({"node_modules/core-js/internals/dom-token-list-prototype.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var documentCreateElement=require_document_create_element(),classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module2.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype}});var require_web_dom_collections_iterator=__commonJS({"node_modules/core-js/modules/web.dom-collections.iterator.js"(){"use strict";init_define_process_env();init_shim();var global=require_global(),DOMIterables=require_dom_iterables(),DOMTokenListPrototype=require_dom_token_list_prototype(),ArrayIteratorMethods=require_es_array_iterator(),createNonEnumerableProperty=require_create_non_enumerable_property(),setToStringTag=require_set_to_string_tag(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(CollectionPrototype,COLLECTION_NAME2){if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(setToStringTag(CollectionPrototype,COLLECTION_NAME2,!0),DOMIterables[COLLECTION_NAME2]){for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype,COLLECTION_NAME);var COLLECTION_NAME;handlePrototype(DOMTokenListPrototype,"DOMTokenList")}});var require_inherit_if_required=__commonJS({"node_modules/core-js/internals/inherit-if-required.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),isObject2=require_is_object(),setPrototypeOf=require_object_set_prototype_of();module2.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return setPrototypeOf&&isCallable(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject2(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype),$this}}});var require_is_regexp=__commonJS({"node_modules/core-js/internals/is-regexp.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object(),classof=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),MATCH=wellKnownSymbol("match");module2.exports=function(it){var isRegExp;return isObject2(it)&&((isRegExp=it[MATCH])!==void 0?!!isRegExp:classof(it)==="RegExp")}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module2.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch(error){}};module2.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_to_string=__commonJS({"node_modules/core-js/internals/to-string.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classof=require_classof(),$String=String;module2.exports=function(argument){if(classof(argument)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return $String(argument)}}});var require_regexp_flags=__commonJS({"node_modules/core-js/internals/regexp-flags.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object();module2.exports=function(){var that=anObject(this),result="";return that.hasIndices&&(result+="d"),that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.dotAll&&(result+="s"),that.unicode&&(result+="u"),that.unicodeSets&&(result+="v"),that.sticky&&(result+="y"),result}}});var require_regexp_get_flags=__commonJS({"node_modules/core-js/internals/regexp-get-flags.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),hasOwn=require_has_own_property(),isPrototypeOf=require_object_is_prototype_of(),regExpFlags=require_regexp_flags(),RegExpPrototype=RegExp.prototype;module2.exports=function(R){var flags=R.flags;return flags===void 0&&!("flags"in RegExpPrototype)&&!hasOwn(R,"flags")&&isPrototypeOf(RegExpPrototype,R)?call(regExpFlags,R):flags}}});var require_regexp_sticky_helpers=__commonJS({"node_modules/core-js/internals/regexp-sticky-helpers.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),global=require_global(),$RegExp=global.RegExp,UNSUPPORTED_Y=fails(function(){var re=$RegExp("a","y");return re.lastIndex=2,re.exec("abcd")!==null}),MISSED_STICKY=UNSUPPORTED_Y||fails(function(){return!$RegExp("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y||fails(function(){var re=$RegExp("^r","gy");return re.lastIndex=2,re.exec("str")!==null});module2.exports={BROKEN_CARET,MISSED_STICKY,UNSUPPORTED_Y}}});var require_proxy_accessor=__commonJS({"node_modules/core-js/internals/proxy-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var defineProperty=require_object_define_property().f;module2.exports=function(Target,Source,key){key in Target||defineProperty(Target,key,{configurable:!0,get:function(){return Source[key]},set:function(it){Source[key]=it}})}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module2.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_set_species=__commonJS({"node_modules/core-js/internals/set-species.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),defineBuiltInAccessor=require_define_built_in_accessor(),wellKnownSymbol=require_well_known_symbol(),DESCRIPTORS=require_descriptors(),SPECIES=wellKnownSymbol("species");module2.exports=function(CONSTRUCTOR_NAME){var Constructor=getBuiltIn(CONSTRUCTOR_NAME);DESCRIPTORS&&Constructor&&!Constructor[SPECIES]&&defineBuiltInAccessor(Constructor,SPECIES,{configurable:!0,get:function(){return this}})}}});var require_regexp_unsupported_dot_all=__commonJS({"node_modules/core-js/internals/regexp-unsupported-dot-all.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),global=require_global(),$RegExp=global.RegExp;module2.exports=fails(function(){var re=$RegExp(".","s");return!(re.dotAll&&re.test("\n")&&re.flags==="s")})}});var require_regexp_unsupported_ncg=__commonJS({"node_modules/core-js/internals/regexp-unsupported-ncg.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),global=require_global(),$RegExp=global.RegExp;module2.exports=fails(function(){var re=$RegExp("(?<a>b)","g");return re.exec("b").groups.a!=="b"||"b".replace(re,"$<a>c")!=="bc"})}});var require_es_regexp_constructor=__commonJS({"node_modules/core-js/modules/es.regexp.constructor.js"(){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),global=require_global(),uncurryThis=require_function_uncurry_this(),isForced=require_is_forced(),inheritIfRequired=require_inherit_if_required(),createNonEnumerableProperty=require_create_non_enumerable_property(),create=require_object_create(),getOwnPropertyNames=require_object_get_own_property_names().f,isPrototypeOf=require_object_is_prototype_of(),isRegExp=require_is_regexp(),toString=require_to_string(),getRegExpFlags=require_regexp_get_flags(),stickyHelpers=require_regexp_sticky_helpers(),proxyAccessor=require_proxy_accessor(),defineBuiltIn=require_define_built_in(),fails=require_fails(),hasOwn=require_has_own_property(),enforceInternalState=require_internal_state().enforce,setSpecies=require_set_species(),wellKnownSymbol=require_well_known_symbol(),UNSUPPORTED_DOT_ALL=require_regexp_unsupported_dot_all(),UNSUPPORTED_NCG=require_regexp_unsupported_ncg(),MATCH=wellKnownSymbol("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,SyntaxError=global.SyntaxError,exec=uncurryThis(RegExpPrototype.exec),charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),IS_NCG=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,MISSED_STICKY=stickyHelpers.MISSED_STICKY,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,BASE_FORCED=DESCRIPTORS&&(!CORRECT_NEW||MISSED_STICKY||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG||fails(function(){return re2[MATCH]=!1,NativeRegExp(re1)!==re1||NativeRegExp(re2)===re2||String(NativeRegExp(re1,"i"))!=="/a/i"})),handleDotAll=function(string){for(var length=string.length,index2=0,result="",brackets=!1,chr;index2<=length;index2++){if(chr=charAt(string,index2),chr==="\\"){result+=chr+charAt(string,++index2);continue}!brackets&&chr==="."?result+="[\\s\\S]":(chr==="["?brackets=!0:chr==="]"&&(brackets=!1),result+=chr)}return result},handleNCG=function(string){for(var length=string.length,index2=0,result="",named=[],names=create(null),brackets=!1,ncg=!1,groupid=0,groupname="",chr;index2<=length;index2++){if(chr=charAt(string,index2),chr==="\\")chr+=charAt(string,++index2);else if(chr==="]")brackets=!1;else if(!brackets)switch(!0){case chr==="[":brackets=!0;break;case chr==="(":exec(IS_NCG,stringSlice(string,index2+1))&&(index2+=2,ncg=!0),result+=chr,groupid++;continue;case(chr===">"&&ncg):if(groupname===""||hasOwn(names,groupname))throw new SyntaxError("Invalid capture group name");names[groupname]=!0,named[named.length]=[groupname,groupid],ncg=!1,groupname="";continue}ncg?groupname+=chr:result+=chr}return[result,named]};if(isForced("RegExp",BASE_FORCED)){for(RegExpWrapper=function(pattern,flags){var thisIsRegExp=isPrototypeOf(RegExpPrototype,this),patternIsRegExp=isRegExp(pattern),flagsAreUndefined=flags===void 0,groups=[],rawPattern=pattern,rawFlags,dotAll,sticky,handled,result,state;if(!thisIsRegExp&&patternIsRegExp&&flagsAreUndefined&&pattern.constructor===RegExpWrapper)return pattern;if((patternIsRegExp||isPrototypeOf(RegExpPrototype,pattern))&&(pattern=pattern.source,flagsAreUndefined&&(flags=getRegExpFlags(rawPattern))),pattern=pattern===void 0?"":toString(pattern),flags=flags===void 0?"":toString(flags),rawPattern=pattern,UNSUPPORTED_DOT_ALL&&"dotAll"in re1&&(dotAll=!!flags&&stringIndexOf(flags,"s")>-1,dotAll&&(flags=replace(flags,/s/g,""))),rawFlags=flags,MISSED_STICKY&&"sticky"in re1&&(sticky=!!flags&&stringIndexOf(flags,"y")>-1,sticky&&UNSUPPORTED_Y&&(flags=replace(flags,/y/g,""))),UNSUPPORTED_NCG&&(handled=handleNCG(pattern),pattern=handled[0],groups=handled[1]),result=inheritIfRequired(NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper),(dotAll||sticky||groups.length)&&(state=enforceInternalState(result),dotAll&&(state.dotAll=!0,state.raw=RegExpWrapper(handleDotAll(pattern),rawFlags)),sticky&&(state.sticky=!0),groups.length&&(state.groups=groups)),pattern!==rawPattern)try{createNonEnumerableProperty(result,"source",rawPattern===""?"(?:)":rawPattern)}catch(error){}return result},keys2=getOwnPropertyNames(NativeRegExp),index=0;keys2.length>index;)proxyAccessor(RegExpWrapper,NativeRegExp,keys2[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,defineBuiltIn(global,"RegExp",RegExpWrapper,{constructor:!0})}var RegExpWrapper,keys2,index;setSpecies("RegExp")}});var require_es_regexp_dot_all=__commonJS({"node_modules/core-js/modules/es.regexp.dot-all.js"(){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),UNSUPPORTED_DOT_ALL=require_regexp_unsupported_dot_all(),classof=require_classof_raw(),defineBuiltInAccessor=require_define_built_in_accessor(),getInternalState=require_internal_state().get,RegExpPrototype=RegExp.prototype,$TypeError=TypeError;DESCRIPTORS&&UNSUPPORTED_DOT_ALL&&defineBuiltInAccessor(RegExpPrototype,"dotAll",{configurable:!0,get:function(){if(this!==RegExpPrototype){if(classof(this)==="RegExp")return!!getInternalState(this).dotAll;throw new $TypeError("Incompatible receiver, RegExp required")}}})}});var require_regexp_exec=__commonJS({"node_modules/core-js/internals/regexp-exec.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),uncurryThis=require_function_uncurry_this(),toString=require_to_string(),regexpFlags=require_regexp_flags(),stickyHelpers=require_regexp_sticky_helpers(),shared=require_shared(),create=require_object_create(),getInternalState=require_internal_state().get,UNSUPPORTED_DOT_ALL=require_regexp_unsupported_dot_all(),UNSUPPORTED_NCG=require_regexp_unsupported_ncg(),nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt=uncurryThis("".charAt),indexOf=uncurryThis("".indexOf),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),UPDATES_LAST_INDEX_WRONG=function(){var re1=/a/,re2=/b*/g;return call(nativeExec,re1,"a"),call(nativeExec,re2,"a"),re1.lastIndex!==0||re2.lastIndex!==0}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=/()??/.exec("")[1]!==void 0,PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG;PATCH&&(patchedExec=function(string){var re=this,state=getInternalState(re),str=toString(string),raw=state.raw,result,reCopy,lastIndex,match,i,object,group;if(raw)return raw.lastIndex=re.lastIndex,result=call(patchedExec,raw,str),re.lastIndex=raw.lastIndex,result;var groups=state.groups,sticky=UNSUPPORTED_Y&&re.sticky,flags=call(regexpFlags,re),source=re.source,charsAdded=0,strCopy=str;if(sticky&&(flags=replace(flags,"y",""),indexOf(flags,"g")===-1&&(flags+="g"),strCopy=stringSlice(str,re.lastIndex),re.lastIndex>0&&(!re.multiline||re.multiline&&charAt(str,re.lastIndex-1)!=="\n")&&(source="(?: "+source+")",strCopy=" "+strCopy,charsAdded++),reCopy=new RegExp("^(?:"+source+")",flags)),NPCG_INCLUDED&&(reCopy=new RegExp("^"+source+"$(?!\\s)",flags)),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=call(nativeExec,sticky?reCopy:re,strCopy),sticky?match?(match.input=stringSlice(match.input,charsAdded),match[0]=stringSlice(match[0],charsAdded),match.index=re.lastIndex,re.lastIndex+=match[0].length):re.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&call(nativeReplace,match[0],reCopy,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(match[i]=void 0)}),match&&groups)for(match.groups=object=create(null),i=0;i<groups.length;i++)group=groups[i],object[group[0]]=match[group[1]];return match});module2.exports=patchedExec}});var require_es_regexp_exec=__commonJS({"node_modules/core-js/modules/es.regexp.exec.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),exec=require_regexp_exec();$({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec})}});var require_es_regexp_to_string=__commonJS({"node_modules/core-js/modules/es.regexp.to-string.js"(){"use strict";init_define_process_env();init_shim();var PROPER_FUNCTION_NAME=require_function_name().PROPER,defineBuiltIn=require_define_built_in(),anObject=require_an_object(),$toString=require_to_string(),fails=require_fails(),getRegExpFlags=require_regexp_get_flags(),TO_STRING="toString",RegExpPrototype=RegExp.prototype,nativeToString=RegExpPrototype[TO_STRING],NOT_GENERIC=fails(function(){return nativeToString.call({source:"a",flags:"b"})!=="/a/b"}),INCORRECT_NAME=PROPER_FUNCTION_NAME&&nativeToString.name!==TO_STRING;(NOT_GENERIC||INCORRECT_NAME)&&defineBuiltIn(RegExpPrototype,TO_STRING,function(){var R=anObject(this),pattern=$toString(R.source),flags=$toString(getRegExpFlags(R));return"/"+pattern+"/"+flags},{unsafe:!0})}});var require_function_apply=__commonJS({"node_modules/core-js/internals/function-apply.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module2.exports=typeof Reflect=="object"&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})}});var require_fix_regexp_well_known_symbol_logic=__commonJS({"node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"(exports2,module2){"use strict";init_define_process_env();init_shim();require_es_regexp_exec();var call=require_function_call(),defineBuiltIn=require_define_built_in(),regexpExec=require_regexp_exec(),fails=require_fails(),wellKnownSymbol=require_well_known_symbol(),createNonEnumerableProperty=require_create_non_enumerable_property(),SPECIES=wellKnownSymbol("species"),RegExpPrototype=RegExp.prototype;module2.exports=function(KEY,exec,FORCED,SHAM){var SYMBOL=wellKnownSymbol(KEY),DELEGATES_TO_SYMBOL=!fails(function(){var O={};return O[SYMBOL]=function(){return 7},""[KEY](O)!==7}),DELEGATES_TO_EXEC=DELEGATES_TO_SYMBOL&&!fails(function(){var execCalled=!1,re=/a/;return KEY==="split"&&(re={},re.constructor={},re.constructor[SPECIES]=function(){return re},re.flags="",re[SYMBOL]=/./[SYMBOL]),re.exec=function(){return execCalled=!0,null},re[SYMBOL](""),!execCalled});if(!DELEGATES_TO_SYMBOL||!DELEGATES_TO_EXEC||FORCED){var nativeRegExpMethod=/./[SYMBOL],methods=exec(SYMBOL,""[KEY],function(nativeMethod,regexp,str,arg2,forceStringMethod){var $exec=regexp.exec;return $exec===regexpExec||$exec===RegExpPrototype.exec?DELEGATES_TO_SYMBOL&&!forceStringMethod?{done:!0,value:call(nativeRegExpMethod,regexp,str,arg2)}:{done:!0,value:call(nativeMethod,str,regexp,arg2)}:{done:!1}});defineBuiltIn(String.prototype,KEY,methods[0]),defineBuiltIn(RegExpPrototype,SYMBOL,methods[1])}SHAM&&createNonEnumerableProperty(RegExpPrototype[SYMBOL],"sham",!0)}}});var require_string_multibyte=__commonJS({"node_modules/core-js/internals/string-multibyte.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toIntegerOrInfinity=require_to_integer_or_infinity(),toString=require_to_string(),requireObjectCoercible=require_require_object_coercible(),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),stringSlice=uncurryThis("".slice),createMethod=function(CONVERT_TO_STRING){return function($this,pos){var S=toString(requireObjectCoercible($this)),position=toIntegerOrInfinity(pos),size=S.length,first,second;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=charCodeAt(S,position),first<55296||first>56319||position+1===size||(second=charCodeAt(S,position+1))<56320||second>57343?CONVERT_TO_STRING?charAt(S,position):first:CONVERT_TO_STRING?stringSlice(S,position,position+2):(first-55296<<10)+(second-56320)+65536)}};module2.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}}});var require_advance_string_index=__commonJS({"node_modules/core-js/internals/advance-string-index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var charAt=require_string_multibyte().charAt;module2.exports=function(S,index,unicode){return index+(unicode?charAt(S,index).length:1)}}});var require_get_substitution=__commonJS({"node_modules/core-js/internals/get-substitution.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),floor=Math.floor,charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module2.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return namedCaptures!==void 0&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace(replacement,symbols,function(match,ch){var capture;switch(charAt(ch,0)){case"$":return"$";case"&":return matched;case"`":return stringSlice(str,0,position);case"'":return stringSlice(str,tailPos);case"<":capture=namedCaptures[stringSlice(ch,1,-1)];break;default:var n=+ch;if(n===0)return match;if(n>m){var f=floor(n/10);return f===0?match:f<=m?captures[f-1]===void 0?charAt(ch,1):captures[f-1]+charAt(ch,1):match}capture=captures[n-1]}return capture===void 0?"":capture})}}});var require_regexp_exec_abstract=__commonJS({"node_modules/core-js/internals/regexp-exec-abstract.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),isCallable=require_is_callable(),classof=require_classof_raw(),regexpExec=require_regexp_exec(),$TypeError=TypeError;module2.exports=function(R,S){var exec=R.exec;if(isCallable(exec)){var result=call(exec,R,S);return result!==null&&anObject(result),result}if(classof(R)==="RegExp")return call(regexpExec,R,S);throw new $TypeError("RegExp#exec called on incompatible receiver")}}});var require_es_string_replace=__commonJS({"node_modules/core-js/modules/es.string.replace.js"(){"use strict";init_define_process_env();init_shim();var apply=require_function_apply(),call=require_function_call(),uncurryThis=require_function_uncurry_this(),fixRegExpWellKnownSymbolLogic=require_fix_regexp_well_known_symbol_logic(),fails=require_fails(),anObject=require_an_object(),isCallable=require_is_callable(),isNullOrUndefined=require_is_null_or_undefined(),toIntegerOrInfinity=require_to_integer_or_infinity(),toLength=require_to_length(),toString=require_to_string(),requireObjectCoercible=require_require_object_coercible(),advanceStringIndex=require_advance_string_index(),getMethod=require_get_method(),getSubstitution=require_get_substitution(),regExpExec=require_regexp_exec_abstract(),wellKnownSymbol=require_well_known_symbol(),REPLACE=wellKnownSymbol("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(it){return it===void 0?it:String(it)},REPLACE_KEEPS_$0=function(){return"a".replace(/./,"$0")==="$0"}(),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=function(){return/./[REPLACE]?/./[REPLACE]("a","$0")==="":!1}(),REPLACE_SUPPORTS_NAMED_GROUPS=!fails(function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"".replace(re,"$<a>")!=="7"});fixRegExpWellKnownSymbolLogic("replace",function(_,nativeReplace,maybeCallNative){var UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=isNullOrUndefined(searchValue)?void 0:getMethod(searchValue,REPLACE);return replacer?call(replacer,searchValue,O,replaceValue):call(nativeReplace,toString(O),searchValue,replaceValue)},function(string,replaceValue){var rx=anObject(this),S=toString(string);if(typeof replaceValue=="string"&&stringIndexOf(replaceValue,UNSAFE_SUBSTITUTE)===-1&&stringIndexOf(replaceValue,"$<")===-1){var res=maybeCallNative(nativeReplace,rx,S,replaceValue);if(res.done)return res.value}var functionalReplace=isCallable(replaceValue);functionalReplace||(replaceValue=toString(replaceValue));var global=rx.global,fullUnicode;global&&(fullUnicode=rx.unicode,rx.lastIndex=0);for(var results=[],result;result=regExpExec(rx,S),!(result===null||(push(results,result),!global));){var matchStr=toString(result[0]);matchStr===""&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var accumulatedResult="",nextSourcePosition=0,i=0;i<results.length;i++){result=results[i];for(var matched=toString(result[0]),position=max(min(toIntegerOrInfinity(result.index),S.length),0),captures=[],replacement,j=1;j<result.length;j++)push(captures,maybeToString(result[j]));var namedCaptures=result.groups;if(functionalReplace){var replacerArgs=concat([matched],captures,position,S);namedCaptures!==void 0&&push(replacerArgs,namedCaptures),replacement=toString(apply(replaceValue,void 0,replacerArgs))}else replacement=getSubstitution(matched,S,position,captures,namedCaptures,replaceValue);position>=nextSourcePosition&&(accumulatedResult+=stringSlice(S,nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+stringSlice(S,nextSourcePosition)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE)}});var require_array_slice=__commonJS({"node_modules/core-js/internals/array-slice.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module2.exports=uncurryThis([].slice)}});var require_is_array=__commonJS({"node_modules/core-js/internals/is-array.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classof=require_classof_raw();module2.exports=Array.isArray||function(argument){return classof(argument)==="Array"}}});var require_get_json_replacer_function=__commonJS({"node_modules/core-js/internals/get-json-replacer-function.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isArray2=require_is_array(),isCallable=require_is_callable(),classof=require_classof_raw(),toString=require_to_string(),push=uncurryThis([].push);module2.exports=function(replacer){if(isCallable(replacer))return replacer;if(isArray2(replacer)){for(var rawLength=replacer.length,keys2=[],i=0;i<rawLength;i++){var element=replacer[i];typeof element=="string"?push(keys2,element):(typeof element=="number"||classof(element)==="Number"||classof(element)==="String")&&push(keys2,toString(element))}var keysLength=keys2.length,root2=!0;return function(key,value){if(root2)return root2=!1,value;if(isArray2(this))return value;for(var j=0;j<keysLength;j++)if(keys2[j]===key)return value}}}}});var require_es_json_stringify=__commonJS({"node_modules/core-js/modules/es.json.stringify.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),getBuiltIn=require_get_built_in(),apply=require_function_apply(),call=require_function_call(),uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),isSymbol=require_is_symbol(),arraySlice=require_array_slice(),getReplacerFunction=require_get_json_replacer_function(),NATIVE_SYMBOL=require_symbol_constructor_detection(),$String=String,$stringify=getBuiltIn("JSON","stringify"),exec=uncurryThis(/./.exec),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),replace=uncurryThis("".replace),numberToString=uncurryThis(1 .toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL||fails(function(){var symbol=getBuiltIn("Symbol")("stringify detection");return $stringify([symbol])!=="[null]"||$stringify({a:symbol})!=="{}"||$stringify(Object(symbol))!=="{}"}),ILL_FORMED_UNICODE=fails(function(){return $stringify("\uDF06\uD834")!=='"\\udf06\\ud834"'||$stringify("\uDEAD")!=='"\\udead"'}),stringifyWithSymbolsFix=function(it,replacer){var args=arraySlice(arguments),$replacer=getReplacerFunction(replacer);if(!(!isCallable($replacer)&&(it===void 0||isSymbol(it))))return args[1]=function(key,value){if(isCallable($replacer)&&(value=call($replacer,this,$String(key),value)),!isSymbol(value))return value},apply($stringify,null,args)},fixIllFormed=function(match,offset,string){var prev=charAt(string,offset-1),next=charAt(string,offset+1);return exec(low,match)&&!exec(hi,next)||exec(hi,match)&&!exec(low,prev)?"\\u"+numberToString(charCodeAt(match,0),16):match};$stringify&&$({target:"JSON",stat:!0,arity:3,forced:WRONG_SYMBOLS_CONVERSION||ILL_FORMED_UNICODE},{stringify:function(it,replacer,space){var args=arraySlice(arguments),result=apply(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,args);return ILL_FORMED_UNICODE&&typeof result=="string"?replace(result,tester,fixIllFormed):result}})}});var require_es_array_includes=__commonJS({"node_modules/core-js/modules/es.array.includes.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),$includes=require_array_includes().includes,fails=require_fails(),addToUnscopables=require_add_to_unscopables(),BROKEN_ON_SPARSE=fails(function(){return!Array(1).includes()});$({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}});addToUnscopables("includes")}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurry-this-clause.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module2.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_not_a_regexp=__commonJS({"node_modules/core-js/internals/not-a-regexp.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isRegExp=require_is_regexp(),$TypeError=TypeError;module2.exports=function(it){if(isRegExp(it))throw new $TypeError("The method doesn't accept regular expressions");return it}}});var require_correct_is_regexp_logic=__commonJS({"node_modules/core-js/internals/correct-is-regexp-logic.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),MATCH=wellKnownSymbol("match");module2.exports=function(METHOD_NAME){var regexp=/./;try{"/./"[METHOD_NAME](regexp)}catch(error1){try{return regexp[MATCH]=!1,"/./"[METHOD_NAME](regexp)}catch(error2){}}return!1}}});var require_es_string_starts_with=__commonJS({"node_modules/core-js/modules/es.string.starts-with.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),uncurryThis=require_function_uncurry_this_clause(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,toLength=require_to_length(),toString=require_to_string(),notARegExp=require_not_a_regexp(),requireObjectCoercible=require_require_object_coercible(),correctIsRegExpLogic=require_correct_is_regexp_logic(),IS_PURE=require_is_pure(),stringSlice=uncurryThis("".slice),min=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("startsWith"),MDN_POLYFILL_BUG=!IS_PURE&&!CORRECT_IS_REGEXP_LOGIC&&!!function(){var descriptor=getOwnPropertyDescriptor(String.prototype,"startsWith");return descriptor&&!descriptor.writable}();$({target:"String",proto:!0,forced:!MDN_POLYFILL_BUG&&!CORRECT_IS_REGEXP_LOGIC},{startsWith:function(searchString){var that=toString(requireObjectCoercible(this));notARegExp(searchString);var index=toLength(min(arguments.length>1?arguments[1]:void 0,that.length)),search=toString(searchString);return stringSlice(that,index,index+search.length)===search}})}});init_define_process_env();init_shim();var import_es_array_iterator=__toESM(require_es_array_iterator()),import_web_dom_collections_iterator=__toESM(require_web_dom_collections_iterator()),import_es_regexp_constructor=__toESM(require_es_regexp_constructor()),import_es_regexp_dot_all=__toESM(require_es_regexp_dot_all()),import_es_regexp_exec=__toESM(require_es_regexp_exec()),import_es_regexp_to_string=__toESM(require_es_regexp_to_string()),import_es_string_replace=__toESM(require_es_string_replace()),import_es_json_stringify=__toESM(require_es_json_stringify()),import_es_array_includes=__toESM(require_es_array_includes()),import_es_string_starts_with=__toESM(require_es_string_starts_with());init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var freeGlobal=typeof window=="object"&&window&&window.Object===Object&&window,freeGlobal_default=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal_default||freeSelf||Function("return this")(),root_default=root;var Symbol2=root_default.Symbol,Symbol_default=Symbol2;init_define_process_env();init_shim();var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}var getRawTag_default=getRawTag;init_define_process_env();init_shim();var objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value){return nativeObjectToString2.call(value)}var objectToString_default=objectToString;var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value)?getRawTag_default(value):objectToString_default(value)}var baseGetTag_default=baseGetTag;init_define_process_env();init_shim();function isObjectLike(value){return value!=null&&typeof value=="object"}var isObjectLike_default=isObjectLike;init_define_process_env();init_shim();var isArray=Array.isArray,isArray_default=isArray;init_define_process_env();init_shim();function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}var isObject_default=isObject;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject_default(value))return!1;var tag=baseGetTag_default(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}var isFunction_default=isFunction;init_define_process_env();init_shim();init_define_process_env();init_shim();var coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData;var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var isMasked_default=isMasked;init_define_process_env();init_shim();var funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(func){if(func!=null){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}var toSource_default=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject_default(value)||isMasked_default(value))return!1;var pattern=isFunction_default(value)?reIsNative:reIsHostCtor;return pattern.test(toSource_default(value))}var baseIsNative_default=baseIsNative;init_define_process_env();init_shim();function getValue(object,key){return object==null?void 0:object[key]}var getValue_default=getValue;function getNative(object,key){var value=getValue_default(object,key);return baseIsNative_default(value)?value:void 0}var getNative_default=getNative;var WeakMap=getNative_default(root_default,"WeakMap"),WeakMap_default=WeakMap;init_define_process_env();init_shim();var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;return length=length==null?MAX_SAFE_INTEGER:length,!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}var isIndex_default=isIndex;init_define_process_env();init_shim();function eq(value,other){return value===other||value!==value&&other!==other}var eq_default=eq;init_define_process_env();init_shim();init_define_process_env();init_shim();var MAX_SAFE_INTEGER2=9007199254740991;function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER2}var isLength_default=isLength;function isArrayLike(value){return value!=null&&isLength_default(value.length)&&!isFunction_default(value)}var isArrayLike_default=isArrayLike;init_define_process_env();init_shim();var objectProto4=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto4;return value===proto}var isPrototype_default=isPrototype;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}var baseTimes_default=baseTimes;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike_default(value)&&baseGetTag_default(value)==argsTag}var baseIsArguments_default=baseIsArguments;var objectProto5=Object.prototype,hasOwnProperty3=objectProto5.hasOwnProperty,propertyIsEnumerable=objectProto5.propertyIsEnumerable,isArguments=baseIsArguments_default(function(){return arguments}())?baseIsArguments_default:function(value){return isObjectLike_default(value)&&hasOwnProperty3.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArguments_default=isArguments;init_define_process_env();init_shim();init_define_process_env();init_shim();function stubFalse(){return!1}var stubFalse_default=stubFalse;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer3=moduleExports?root_default.Buffer:void 0,nativeIsBuffer=Buffer3?Buffer3.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse_default,isBuffer_default=isBuffer;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag2="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag2="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag2]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag2]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike_default(value)&&isLength_default(value.length)&&!!typedArrayTags[baseGetTag_default(value)]}var baseIsTypedArray_default=baseIsTypedArray;init_define_process_env();init_shim();function baseUnary(func){return function(value){return func(value)}}var baseUnary_default=baseUnary;init_define_process_env();init_shim();var freeExports2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule2=freeExports2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports2=freeModule2&&freeModule2.exports===freeExports2,freeProcess=moduleExports2&&freeGlobal_default.process,nodeUtil=function(){try{var types=freeModule2&&freeModule2.require&&freeModule2.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeUtil_default=nodeUtil;var nodeIsTypedArray=nodeUtil_default&&nodeUtil_default.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary_default(nodeIsTypedArray):baseIsTypedArray_default,isTypedArray_default=isTypedArray;var objectProto6=Object.prototype,hasOwnProperty4=objectProto6.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray_default(value),isArg=!isArr&&isArguments_default(value),isBuff=!isArr&&!isArg&&isBuffer_default(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray_default(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes_default(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty4.call(value,key))&&!(skipIndexes&&(key=="length"||isBuff&&(key=="offset"||key=="parent")||isType&&(key=="buffer"||key=="byteLength"||key=="byteOffset")||isIndex_default(key,length)))&&result.push(key);return result}var arrayLikeKeys_default=arrayLikeKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function overArg(func,transform){return function(arg){return func(transform(arg))}}var overArg_default=overArg;var nativeKeys=overArg_default(Object.keys,Object),nativeKeys_default=nativeKeys;var objectProto7=Object.prototype,hasOwnProperty5=objectProto7.hasOwnProperty;function baseKeys(object){if(!isPrototype_default(object))return nativeKeys_default(object);var result=[];for(var key in Object(object))hasOwnProperty5.call(object,key)&&key!="constructor"&&result.push(key);return result}var baseKeys_default=baseKeys;function keys(object){return isArrayLike_default(object)?arrayLikeKeys_default(object):baseKeys_default(object)}var keys_default=keys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}var hashClear_default=hashClear;init_define_process_env();init_shim();function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}var hashDelete_default=hashDelete;init_define_process_env();init_shim();var HASH_UNDEFINED="__lodash_hash_undefined__",objectProto8=Object.prototype,hasOwnProperty6=objectProto8.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate_default){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty6.call(data,key)?data[key]:void 0}var hashGet_default=hashGet;init_define_process_env();init_shim();var objectProto9=Object.prototype,hasOwnProperty7=objectProto9.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate_default?data[key]!==void 0:hasOwnProperty7.call(data,key)}var hashHas_default=hashHas;init_define_process_env();init_shim();var HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate_default&&value===void 0?HASH_UNDEFINED2:value,this}var hashSet_default=hashSet;function Hash(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear_default;Hash.prototype.delete=hashDelete_default;Hash.prototype.get=hashGet_default;Hash.prototype.has=hashHas_default;Hash.prototype.set=hashSet_default;var Hash_default=Hash;init_define_process_env();init_shim();init_define_process_env();init_shim();function listCacheClear(){this.__data__=[],this.size=0}var listCacheClear_default=listCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq_default(array[length][0],key))return length;return-1}var assocIndexOf_default=assocIndexOf;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf_default(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}var listCacheDelete_default=listCacheDelete;init_define_process_env();init_shim();function listCacheGet(key){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?void 0:data[index][1]}var listCacheGet_default=listCacheGet;init_define_process_env();init_shim();function listCacheHas(key){return assocIndexOf_default(this.__data__,key)>-1}var listCacheHas_default=listCacheHas;init_define_process_env();init_shim();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear_default;ListCache.prototype.delete=listCacheDelete_default;ListCache.prototype.get=listCacheGet_default;ListCache.prototype.has=listCacheHas_default;ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache;init_define_process_env();init_shim();var Map=getNative_default(root_default,"Map"),Map_default=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}var mapCacheClear_default=mapCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}var isKeyable_default=isKeyable;function getMapData(map,key){var data=map.__data__;return isKeyable_default(key)?data[typeof key=="string"?"string":"hash"]:data.map}var getMapData_default=getMapData;function mapCacheDelete(key){var result=getMapData_default(this,key).delete(key);return this.size-=result?1:0,result}var mapCacheDelete_default=mapCacheDelete;init_define_process_env();init_shim();function mapCacheGet(key){return getMapData_default(this,key).get(key)}var mapCacheGet_default=mapCacheGet;init_define_process_env();init_shim();function mapCacheHas(key){return getMapData_default(this,key).has(key)}var mapCacheHas_default=mapCacheHas;init_define_process_env();init_shim();function mapCacheSet(key,value){var data=getMapData_default(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}var mapCacheSet_default=mapCacheSet;function MapCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear_default;MapCache.prototype.delete=mapCacheDelete_default;MapCache.prototype.get=mapCacheGet_default;MapCache.prototype.has=mapCacheHas_default;MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache;init_define_process_env();init_shim();function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}var arrayPush_default=arrayPush;init_define_process_env();init_shim();init_define_process_env();init_shim();function stackClear(){this.__data__=new ListCache_default,this.size=0}var stackClear_default=stackClear;init_define_process_env();init_shim();function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}var stackDelete_default=stackDelete;init_define_process_env();init_shim();function stackGet(key){return this.__data__.get(key)}var stackGet_default=stackGet;init_define_process_env();init_shim();function stackHas(key){return this.__data__.has(key)}var stackHas_default=stackHas;init_define_process_env();init_shim();var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache_default){var pairs=data.__data__;if(!Map_default||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache_default(pairs)}return data.set(key,value),this.size=data.size,this}var stackSet_default=stackSet;function Stack(entries){var data=this.__data__=new ListCache_default(entries);this.size=data.size}Stack.prototype.clear=stackClear_default;Stack.prototype.delete=stackDelete_default;Stack.prototype.get=stackGet_default;Stack.prototype.has=stackHas_default;Stack.prototype.set=stackSet_default;var Stack_default=Stack;init_define_process_env();init_shim();init_define_process_env();init_shim();function arrayFilter(array,predicate){for(var index=-1,length=array==null?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}var arrayFilter_default=arrayFilter;init_define_process_env();init_shim();function stubArray(){return[]}var stubArray_default=stubArray;var objectProto10=Object.prototype,propertyIsEnumerable2=objectProto10.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return object==null?[]:(object=Object(object),arrayFilter_default(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable2.call(object,symbol)}))}:stubArray_default,getSymbols_default=getSymbols;init_define_process_env();init_shim();init_define_process_env();init_shim();function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray_default(object)?result:arrayPush_default(result,symbolsFunc(object))}var baseGetAllKeys_default=baseGetAllKeys;function getAllKeys(object){return baseGetAllKeys_default(object,keys_default,getSymbols_default)}var getAllKeys_default=getAllKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();var DataView=getNative_default(root_default,"DataView"),DataView_default=DataView;init_define_process_env();init_shim();var Promise2=getNative_default(root_default,"Promise"),Promise_default=Promise2;init_define_process_env();init_shim();var Set=getNative_default(root_default,"Set"),Set_default=Set;var mapTag2="[object Map]",objectTag2="[object Object]",promiseTag="[object Promise]",setTag2="[object Set]",weakMapTag2="[object WeakMap]",dataViewTag2="[object DataView]",dataViewCtorString=toSource_default(DataView_default),mapCtorString=toSource_default(Map_default),promiseCtorString=toSource_default(Promise_default),setCtorString=toSource_default(Set_default),weakMapCtorString=toSource_default(WeakMap_default),getTag=baseGetTag_default;(DataView_default&&getTag(new DataView_default(new ArrayBuffer(1)))!=dataViewTag2||Map_default&&getTag(new Map_default)!=mapTag2||Promise_default&&getTag(Promise_default.resolve())!=promiseTag||Set_default&&getTag(new Set_default)!=setTag2||WeakMap_default&&getTag(new WeakMap_default)!=weakMapTag2)&&(getTag=function(value){var result=baseGetTag_default(value),Ctor=result==objectTag2?value.constructor:void 0,ctorString=Ctor?toSource_default(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag2;case mapCtorString:return mapTag2;case promiseCtorString:return promiseTag;case setCtorString:return setTag2;case weakMapCtorString:return weakMapTag2}return result});var getTag_default=getTag;init_define_process_env();init_shim();var Uint8Array2=root_default.Uint8Array,Uint8Array_default=Uint8Array2;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var HASH_UNDEFINED3="__lodash_hash_undefined__";function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED3),this}var setCacheAdd_default=setCacheAdd;init_define_process_env();init_shim();function setCacheHas(value){return this.__data__.has(value)}var setCacheHas_default=setCacheHas;function SetCache(values){var index=-1,length=values==null?0:values.length;for(this.__data__=new MapCache_default;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd_default;SetCache.prototype.has=setCacheHas_default;var SetCache_default=SetCache;init_define_process_env();init_shim();function arraySome(array,predicate){for(var index=-1,length=array==null?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}var arraySome_default=arraySome;init_define_process_env();init_shim();function cacheHas(cache,key){return cache.has(key)}var cacheHas_default=cacheHas;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache_default:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome_default(other,function(othValue2,othIndex){if(!cacheHas_default(seen,othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}var equalArrays_default=equalArrays;init_define_process_env();init_shim();init_define_process_env();init_shim();function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}var mapToArray_default=mapToArray;init_define_process_env();init_shim();function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var setToArray_default=setToArray;var COMPARE_PARTIAL_FLAG2=1,COMPARE_UNORDERED_FLAG2=2,boolTag2="[object Boolean]",dateTag2="[object Date]",errorTag2="[object Error]",mapTag3="[object Map]",numberTag2="[object Number]",regexpTag2="[object RegExp]",setTag3="[object Set]",stringTag2="[object String]",symbolTag="[object Symbol]",arrayBufferTag2="[object ArrayBuffer]",dataViewTag3="[object DataView]",symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag3:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag2:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array_default(object),new Uint8Array_default(other)));case boolTag2:case dateTag2:case numberTag2:return eq_default(+object,+other);case errorTag2:return object.name==other.name&&object.message==other.message;case regexpTag2:case stringTag2:return object==other+"";case mapTag3:var convert=mapToArray_default;case setTag3:var isPartial=bitmask&COMPARE_PARTIAL_FLAG2;if(convert||(convert=setToArray_default),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG2,stack.set(object,other);var result=equalArrays_default(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}var equalByTag_default=equalByTag;init_define_process_env();init_shim();var COMPARE_PARTIAL_FLAG3=1,objectProto11=Object.prototype,hasOwnProperty8=objectProto11.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG3,objProps=getAllKeys_default(object),objLength=objProps.length,othProps=getAllKeys_default(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty8.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}var equalObjects_default=equalObjects;var COMPARE_PARTIAL_FLAG4=1,argsTag3="[object Arguments]",arrayTag2="[object Array]",objectTag3="[object Object]",objectProto12=Object.prototype,hasOwnProperty9=objectProto12.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray_default(object),othIsArr=isArray_default(other),objTag=objIsArr?arrayTag2:getTag_default(object),othTag=othIsArr?arrayTag2:getTag_default(other);objTag=objTag==argsTag3?objectTag3:objTag,othTag=othTag==argsTag3?objectTag3:othTag;var objIsObj=objTag==objectTag3,othIsObj=othTag==objectTag3,isSameTag=objTag==othTag;if(isSameTag&&isBuffer_default(object)){if(!isBuffer_default(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack_default),objIsArr||isTypedArray_default(object)?equalArrays_default(object,other,bitmask,customizer,equalFunc,stack):equalByTag_default(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(bitmask&COMPARE_PARTIAL_FLAG4)){var objIsWrapped=objIsObj&&hasOwnProperty9.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty9.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack_default),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return isSameTag?(stack||(stack=new Stack_default),equalObjects_default(object,other,bitmask,customizer,equalFunc,stack)):!1}var baseIsEqualDeep_default=baseIsEqualDeep;function baseIsEqual(value,other,bitmask,customizer,stack){return value===other?!0:value==null||other==null||!isObjectLike_default(value)&&!isObjectLike_default(other)?value!==value&&other!==other:baseIsEqualDeep_default(value,other,bitmask,customizer,baseIsEqual,stack)}var baseIsEqual_default=baseIsEqual;init_define_process_env();init_shim();function isEqual(value,other){return baseIsEqual_default(value,other)}var isEqual_default=isEqual;init_define_process_env();init_shim();var _window$u,_window,_window$safe_require,_window2,u=(_window$u=(_window=window)==null?void 0:_window.u)!=null?_window$u:_u,safe_require=(_window$safe_require=(_window2=window)==null?void 0:_window2.safe_require)!=null?_window$safe_require:_safe_require;var _Lib,external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),plugin_consts=safe_require.safe_require("./constants/plugin"),{PUBLIC_ONLY}=safe_require.safe_require("./constants/apiconnectorbase"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),{WORKOS_AUTH_URL}=safe_require.safe_require("./constants/auth"),logger=safe_require.safe_require("./logger"),Lib=safe_require.safe_require("./lib"),apiconnectorbase=safe_require.safe_require("./apiconnectorbase"),apiconnector_editor,ContextMenu;u.is_edit_mode()&&(apiconnector_editor=safe_require.safe_require("./editor_plugin/apiconnector_editor"),ContextMenu=safe_require.safe_require("./editor/contextmenu"));var API_CONNECTOR_BASE="apiconnector2";function get_path(api_id,call_id,field_name,field_id,key_name){if(api_id==null){logger.error("API connector issue, calling apiconnector2 with an empty call_id");return}let path=API_CONNECTOR_BASE+"."+api_id;return call_id&&(path+=".calls."+call_id),field_name&&(path+="."+field_name,field_id&&(path+="."+field_id,key_name&&(path+="."+key_name))),path}var get_all_apis_editor=u.autorun_cache({fn:()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis},compare_fn:isEqual_default}),get_all_apis_runmode=function(){return u.autorun_cache(()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis})("apiconnector2")},get_all_apis=(_Lib=Lib())!=null&&_Lib.is_edit_mode()?get_all_apis_editor:get_all_apis_runmode,API_CONNECTOR_FIELD_PREFIX="_api_c2_";function get_api(api_id){var _appquery$get_public_2,_appquery$get_private2;let pub=(_appquery$get_public_2=appquery.get_public_setting(get_path(api_id)))!=null?_appquery$get_public_2:{},pvt=(_appquery$get_private2=appquery.get_private_setting(get_path(api_id)))!=null?_appquery$get_private2:{},api=u.deep_copy({},pvt,pub);for(let call_id in api.calls){let call=api.calls[call_id];for(let thing of["types","data_container"])call[thing]&&(call[thing]=u.json_parse(call[thing]))}return api}var APIConnectorPrivateKey=class extends apiconnectorbase.APIConnectorBasePrivateKey{_get_api(){return get_api(this.params.call_id)}},APIConnectorBasicAuth=class extends apiconnectorbase.APIConnectorBasicAuth{_get_api(){return get_api(this.params.call_id)}},APIConnectorJWT=class extends apiconnectorbase.APIConnectorBaseJWT{_get_api(){return get_api(this.params.call_id)}},APIConnectorSSLProtocol=class extends apiconnectorbase.APIConnectorBaseSSLProtocol{_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2PWFlow=class extends apiconnectorbase.APIConnectorBaseOauth2PWFlow{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2Custom=class extends apiconnectorbase.APIConnectorBaseOauth2Custom{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2=class extends apiconnectorbase.APIConnectorBaseOauth2{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.api_id}human_name(){return get_api(this.params.api_id).human}_get_api(){return get_api(this.params.api_id)}get_key(name){return name==="server_redirect"?this.get_property("server_redirect"):super.get_key(name)}login(context,action,oauth_token,cb){return!this.tested()&&Lib().workflow.debugger==null&&cb(new u.OwnerError("Oauth2 API not tested",{display:"API Connector error: the Oauth2 API "+this.human_name()+" is not tested yet. Please run in with the debugger to validate your settings."})),(this.get_property("authentication_url")==null||this.get_property("generate_token_from_code_uri")==null)&&cb(new u.OwnerError("Oauth2 API missing information",{display:"API Connector error: the Oauth2 API "+this.human_name()+" has some missing informations. please check"})),super.login(context,action,oauth_token)}get_oauth_user_data(login_data){try{return super.get_oauth_user_data(login_data)}catch(e){var _e$message,_e$display,_e$display2;delete e.stack;let message=(_e$message=e.message)==null?void 0:_e$message.replace(this.service().plugin_name+" error:",""),inner_message="".concat(message!=null?message:JSON.stringify(e!=null?e:{})," ").concat((_e$display=(_e$display2=e.display)==null?void 0:_e$display2.call(e))!=null?_e$display:"");throw new u.OwnerError("Oauth2 not configured properly",{display:"".concat(this.service().plugin_name," error: the Oauth2 API ").concat(this.human_name()," is not configured properly - ").concat(inner_message)})}}},WORKOS_SESSION_LENGTH=60*60*4,WorkOSAuth=class extends APIConnectorOauth2{generate_validity_object(user_info){return{access_token:user_info.access_token,refresh_token:user_info.refresh_token,access_token_expires_in:WORKOS_SESSION_LENGTH}}},cls=class extends apiconnectorbase.BaseAPIConnector{constructor(params){super(),this.params=params,this.plugin_name="API Connector",this.BASE=API_CONNECTOR_BASE,this.key_prefix=API_CONNECTOR_FIELD_PREFIX}get_all_apis(){return get_all_apis()}get_api(id){return get_api(id)}authenticator(id){if(!id)return new external.NoAuth;let api_data=this.get_api(id),auth,auth_params;if([null,void 0,"none"].includes(api_data.auth)&&(auth=new external.NoAuth),["private_key_url","private_key_header"].includes(api_data.auth)&&(auth_params=apiconnectorbase.get_private_key_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorPrivateKey(auth_params)),api_data.auth==="cert_key"&&(auth=new APIConnectorSSLProtocol({call_id:id})),api_data.auth==="basic_auth"&&(auth=new APIConnectorBasicAuth({call_id:id,username:api_data.username,password:api_data.password})),api_data.auth==="oauth2_pw"&&(auth_params=apiconnectorbase.get_oauth2_pw_auth_params(api_data),u.extend(auth_params,{call_id:id,username:api_data.username,password:api_data.password}),auth=new APIConnectorOauth2PWFlow(auth_params)),api_data.auth==="oauth2_custom"&&(auth=new APIConnectorOauth2Custom({call_id:id})),api_data.auth==="oauth2_user"){var _auth_params$authenti;auth_params=apiconnectorbase.get_oauth2_user_auth_params(api_data),u.extend(auth_params,{api_id:id,_id:API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+id}),(_auth_params$authenti=auth_params.authentication_url)!=null&&_auth_params$authenti.startsWith(WORKOS_AUTH_URL)?auth=new WorkOSAuth(auth_params):auth=new APIConnectorOauth2(auth_params)}return api_data.auth==="jwt"&&(auth_params=apiconnectorbase.get_jwt_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorJWT(auth_params)),auth._service=this,auth._display="API - "+api_data.human,auth.add_shared_params_and_headers=req=>apiconnectorbase.add_shared_params_and_headers(api_data,req,this.plugin_name,(header_id,header)=>header.value,(param_id,param)=>param.value),auth}},plugin_registry=safe_require.safe_require("./services/shared/plugin_registry"),apiconnector2={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.apiconnector2=apiconnector2);var _window3,_window$optional_modu;plugin_registry.register_plugin(known_plugins_consts.API_CONNECTOR,apiconnector2);})();
/*! Bundled license information:

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)

lodash-es/lodash.js:
  (**
   * @license
   * Lodash (Custom Build) <https://lodash.com/>
   * Build: `lodash modularize exports="es" -o ./`
   * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
   * Released under MIT license <https://lodash.com/license>
   * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
   * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
   *)
*/

}


window.preloaded['plugin/first_party:apiconnector2'] = true;
window.plugins = window.plugins || {};
window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {};
window.plugins["1484327506287x474510747987607550"] = {"human":"SendGrid","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"human":"SendGrid API","calls":{"Asu":{"name":"List all lists","method":"get","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/lists","body":"{\n  \"name\": \"<List Name>\"\n}","body_params":{"Asv":{"key":"List Name","value":"List","private":true}},"initialized":true,"types":"{\"plugin_api.Asu\":{\"caption\":\"List all list\",\"fields\":{\"_p_lists\":{\"ret_value\":\"list.api.1484327506287x474510747987607550.plugin_api.Asu.lists\",\"caption\":\"lists\"}}},\"plugin_api.Asu.lists\":{\"caption\":\"List all lists list\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_recipient_count\":{\"ret_value\":\"number\",\"caption\":\"recipient_count\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.Asu","should_reinitialize":false},"AtA":{"0":"A","1":"s","2":"z","name":"Create list","method":"post","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/lists","body":"{\n  \"name\": \"<List Name>\"\n}","body_params":{"Asv":{"key":"List Name","value":"List Name","private":true}},"initialized":true,"types":"{\"plugin_api.AtA\":{\"caption\":\"Create list\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_recipient_count\":{\"ret_value\":\"number\",\"caption\":\"recipient_count\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.AtA","should_reinitialize":false},"AtC":{"0":"A","1":"t","2":"B","name":"Create recipient","method":"post","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/recipients","body":"[\n  {\n    \"first_name\": \"<First Name>\",\n    \"last_name\": \"<Last Name>\",\n    \"email\": \"<Email Address>\"\n  }\n]","initialized":true,"types":"{\"plugin_api.AtC\":{\"caption\":\"Create recipient\",\"fields\":{\"_p_new_count\":{\"ret_value\":\"number\",\"caption\":\"new_count\"},\"_p_updated_count\":{\"ret_value\":\"number\",\"caption\":\"updated_count\"},\"_p_error_count\":{\"ret_value\":\"number\",\"caption\":\"error_count\"},\"_p_persisted_recipients\":{\"ret_value\":\"list.text\",\"caption\":\"persisted_recipients\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.AtC","body_params":{"AtL":{"key":"Email Address","value":"jane@email.com","private":true},"AtR":{"key":"First Name","value":"Jane","private":true},"AtV":{"key":"Last Name","value":"Doe","private":true}},"should_reinitialize":false},"Atb":{"0":"A","1":"t","2":"a","name":"Remove recipient from list","method":"delete_method","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/lists/[List ID]/recipients/[Recipient ID]","body":"","initialized":true,"types":"{\"plugin_api.AtB\":{\"caption\":\"Create contact\",\"fields\":{\"_p_new_count\":{\"ret_value\":\"number\",\"caption\":\"new_count\"},\"_p_updated_count\":{\"ret_value\":\"number\",\"caption\":\"updated_count\"},\"_p_error_count\":{\"ret_value\":\"number\",\"caption\":\"error_count\"},\"_p_persisted_recipients\":{\"ret_value\":\"list.text\",\"caption\":\"persisted_recipients\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.AtW","url_params":{"AtY":{"key":"List ID","value":"11986007","private":true},"AtZ":{"key":"Recipient ID","value":"YWd1c3RhZnNvbkBleHByZXNzb2lsLmNvbQ==","private":true}},"data_type":"empty","should_reinitialize":true},"Atd":{"0":"A","1":"t","2":"c","name":"Retrieve recipient","method":"get","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/recipients/[Recipient ID]","body":"[\n  {\n    \"first_name\": \"<First Name>\",\n    \"last_name\": \"<Last Name>\",\n    \"email\": \"<Email Address>\"\n  }\n]","initialized":true,"types":"{\"plugin_api.Atc\":{\"caption\":\"Retrieve contact\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\"},\"_p_created_at\":{\"ret_value\":\"number\",\"caption\":\"created_at\"},\"_p_updated_at\":{\"ret_value\":\"number\",\"caption\":\"updated_at\"},\"_p_last_emailed\":{\"ret_value\":\"text\",\"caption\":\"last_emailed\"},\"_p_last_clicked\":{\"ret_value\":\"text\",\"caption\":\"last_clicked\"},\"_p_last_opened\":{\"ret_value\":\"text\",\"caption\":\"last_opened\"},\"_p_first_name\":{\"ret_value\":\"text\",\"caption\":\"first_name\"},\"_p_last_name\":{\"ret_value\":\"text\",\"caption\":\"last_name\"},\"_p_custom_fields\":{\"ret_value\":\"list.api.1484327506287x474510747987607550.plugin_api.Atd.custom_fields\",\"caption\":\"custom_fields\"}}},\"plugin_api.Atd.custom_fields\":{\"caption\":\"Retrieve contact custom_field\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\"},\"_p_value\":{\"ret_value\":\"text\",\"caption\":\"value\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.Atd","body_params":{"AtL":{"key":"Email Address","value":"john@email.com","private":true},"AtR":{"key":"First Name","value":"John","private":true},"AtV":{"key":"Last Name","value":"Smith","private":true}},"url_params":{"Ate":{"key":"Recipient ID","value":"am9obkBlbWFpbC5jb20=","private":true}},"should_reinitialize":true},"Atg":{"0":"A","1":"t","2":"f","name":"Delete recipient","method":"delete_method","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/recipients/[Recipient ID]","body":"","initialized":true,"types":"{\"plugin_api.Atc\":{\"caption\":\"Retrieve contact\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\"},\"_p_created_at\":{\"ret_value\":\"number\",\"caption\":\"created_at\"},\"_p_updated_at\":{\"ret_value\":\"number\",\"caption\":\"updated_at\"},\"_p_last_emailed\":{\"ret_value\":\"text\",\"caption\":\"last_emailed\"},\"_p_last_clicked\":{\"ret_value\":\"text\",\"caption\":\"last_clicked\"},\"_p_last_opened\":{\"ret_value\":\"text\",\"caption\":\"last_opened\"},\"_p_first_name\":{\"ret_value\":\"text\",\"caption\":\"first_name\"},\"_p_last_name\":{\"ret_value\":\"text\",\"caption\":\"last_name\"},\"_p_custom_fields\":{\"ret_value\":\"list.api.1484327506287x474510747987607550.plugin_api.Atf.custom_fields\",\"caption\":\"custom_fields\"}}},\"plugin_api.Atf.custom_fields\":{\"caption\":\"Retrieve contact custom_field\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\"},\"_p_value\":{\"ret_value\":\"text\",\"caption\":\"value\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.Atf","url_params":{"Ate":{"key":"Recipient ID","value":"YWd1c3RhZnNvbkBleHByZXNzb2lsLmNvbQ==","private":true}},"data_type":"empty","should_reinitialize":true},"Atl":{"0":"A","1":"t","2":"k","name":"List all recipients","method":"get","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/recipients","body":"{\n  \"name\": \"<List Name>\"\n}","body_params":{"Asv":{"key":"List Name","value":"List","private":true}},"initialized":true,"types":"{\"plugin_api.Atk\":{\"caption\":\"List all recipient\",\"fields\":{\"_p_recipient_count\":{\"ret_value\":\"number\",\"caption\":\"recipient_count\"},\"_p_recipients\":{\"ret_value\":\"list.api.1484327506287x474510747987607550.plugin_api.Atl.recipients\",\"caption\":\"recipients\"}}},\"plugin_api.Atl.recipients\":{\"caption\":\"List all recipients recipient\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\"},\"_p_created_at\":{\"ret_value\":\"date_unix\",\"caption\":\"created_at\"},\"_p_updated_at\":{\"ret_value\":\"date_unix\",\"caption\":\"updated_at\"},\"_p_last_emailed\":{\"ret_value\":\"date_unix\",\"caption\":\"last_emailed\"},\"_p_last_clicked\":{\"ret_value\":\"date_unix\",\"caption\":\"last_clicked\"},\"_p_last_opened\":{\"ret_value\":\"date_unix\",\"caption\":\"last_opened\"},\"_p_first_name\":{\"ret_value\":\"text\",\"caption\":\"first_name\"},\"_p_last_name\":{\"ret_value\":\"text\",\"caption\":\"last_name\"},\"_p_custom_fields\":{\"ret_value\":\"list.api.1484327506287x474510747987607550.plugin_api.Atl.custom_fields\",\"caption\":\"custom_fields\"}}},\"plugin_api.Atl.custom_fields\":{\"caption\":\"List all recipients custom_field\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\"},\"_p_value\":{\"ret_value\":\"text\",\"caption\":\"value\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.Atl","should_reinitialize":false},"Atn":{"0":"A","1":"t","2":"m","name":"List a list's recipients","method":"get","publish_as":"action","url":"https://api.sendgrid.com/v3/contactdb/lists/[List ID]/recipients","body":"{\n  \"name\": \"<List Name>\"\n}","body_params":{"Asv":{"key":"List Name","value":"List","private":true}},"initialized":true,"types":"{\"plugin_api.Atn\":{\"caption\":\"List a list's recipient\",\"fields\":{\"_p_recipient_count\":{\"ret_value\":\"number\",\"caption\":\"recipient_count\"},\"_p_recipients\":{\"ret_value\":\"list.api.1484327506287x474510747987607550.plugin_api.Atn.recipients\",\"caption\":\"recipients\"}}},\"plugin_api.Atn.recipients\":{\"caption\":\"List a list's recipients recipient\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\"},\"_p_created_at\":{\"ret_value\":\"date_unix\",\"caption\":\"created_at\"},\"_p_updated_at\":{\"ret_value\":\"date_unix\",\"caption\":\"updated_at\"},\"_p_last_emailed\":{\"ret_value\":\"date_unix\",\"caption\":\"last_emailed\"},\"_p_last_clicked\":{\"ret_value\":\"date_unix\",\"caption\":\"last_clicked\"},\"_p_last_opened\":{\"ret_value\":\"date_unix\",\"caption\":\"last_opened\"},\"_p_first_name\":{\"ret_value\":\"text\",\"caption\":\"first_name\"},\"_p_last_name\":{\"ret_value\":\"text\",\"caption\":\"last_name\"}}}}","ret_value":"api.1484327506287x474510747987607550.plugin_api.Atn","should_reinitialize":false,"url_params":{"Ato":{"key":"List ID","value":"4200658","private":true}}}},"shared_headers":{"Asx":{"key":"Content-Type","value":"application/json","private":true,"visibility":"hidden"},"Asy":{"key":"Authorization","private":true,"visibility":"secret"}},"auth":"none"},"shared_keys":{"ArF":{"caption":"API Key","type":"secure"}},"plugin_actions":{"AjR":{"display":"SendGrid - Send email","type":"server_side","return_value":{"ArB":{"caption":"Success","name":"Success","rank":1,"value":"boolean"},"Ari":{"caption":"Errors","name":"Errors","rank":2,"value":"text","is_list":true},"Ath":{"caption":"Message ID","name":"message_id","rank":0,"value":"text"}},"fields":{"Aqv":{"caption":"To Email Addresses (minimum 1 recipient)","name":"to_email_address","rank":7,"editor":"DynamicValue","value":"text","is_list":false},"Aqw":{"caption":"CC Email Addresses","name":"cc_email_address","rank":8,"editor":"DynamicValue","value":"text","optional":true},"Aqx":{"caption":"BCC Email Addresses","name":"bcc_email_address","rank":9,"editor":"DynamicValue","value":"text","optional":true},"Aqy":{"caption":"From Name","name":"from_name","rank":5,"editor":"DynamicValue","value":"text"},"Aqz":{"caption":"From Email Address","name":"from_email_address","rank":6,"editor":"DynamicValue","value":"text"},"ArA":{"caption":"Template ID","name":"template_id","rank":2,"editor":"DynamicValue","value":"text"},"ArG":{"caption":"Subject","name":"subject","rank":4,"editor":"DynamicValue","value":"text"},"ArI":{"caption":"Enable Click Tracking","name":"clicktracking","rank":23,"editor":"Checkbox","default_val":true},"ArJ":{"caption":"Enable Open Tracking","name":"opentracking","rank":22,"editor":"Checkbox","default_val":true},"ArL":{"caption":"Unsubscribe Group ID","name":"unsubscribe_group_id","rank":26,"editor":"DynamicValue","value":"text","optional":true},"Arg":{"caption":"Type","name":"template_type","rank":1,"editor":"Dropdown","default_val":"Dynamic"},"Asa":{"caption":"Attachment 1 Data (optional)","name":"attachment1_data","rank":14,"editor":"DynamicValue","value":"text","optional":true},"Asb":{"caption":"Attachment 1 Filename (optional)","name":"attachment1_filename","rank":13,"editor":"DynamicValue","value":"text","optional":true},"Asc":{"caption":"Attachment 2 Filename (optional)","name":"attachment2_filename","rank":15,"editor":"DynamicValue","value":"text","optional":true},"Asd":{"caption":"Attachment 2 Data (optional)","name":"attachment2_data","rank":16,"editor":"DynamicValue","value":"text","optional":true},"Ase":{"caption":"Attachment 3 Filename (optional)","name":"attachment3_filename","rank":17,"editor":"DynamicValue","value":"text","optional":true},"Asf":{"caption":"Attachment 3 Data","name":"attachment3_data","rank":18,"editor":"DynamicValue","value":"text","optional":true},"Asg":{"caption":"Substitution Tags","name":"sub_tags","rank":11,"editor":"key_value_list","value":"text"},"Asi":{"caption":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","name":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","rank":21,"editor":"Label"},"Asj":{"caption":"𝗔𝗧𝗧𝗔𝗖𝗛𝗠𝗘𝗡𝗧𝗦","name":"𝗔𝗧𝗧𝗔𝗖𝗛𝗠𝗘𝗡𝗧𝗦","rank":12,"editor":"Label"},"Ask":{"caption":"𝗧𝗘𝗠𝗣𝗟𝗔𝗧𝗘","name":"𝗧𝗘𝗠𝗣𝗟𝗔𝗧𝗘","rank":0,"editor":"Label"},"Asl":{"caption":"𝗖𝗢𝗡𝗧𝗘𝗡𝗧","name":"𝗖𝗢𝗡𝗧𝗘𝗡𝗧","rank":3,"editor":"Label"},"Asm":{"caption":"Reply-To Email Addresses","name":"reply_to_email_addresses","rank":10,"editor":"DynamicValue","value":"text","optional":true},"Asn":{"caption":"Scheduled Date","name":"send_at","rank":24,"editor":"DynamicValue","value":"date","optional":true},"Atr":{"caption":"On Behalf Of","name":"onBehalfOf","rank":27,"editor":"DynamicValue","value":"text","optional":true},"Atu":{"caption":"𝗠𝗘𝗧𝗔𝗗𝗔𝗧𝗔","name":"𝗠𝗘𝗧𝗔𝗗𝗔𝗧𝗔","rank":19,"editor":"Label"},"Atv":{"caption":"Custom Arguments","name":"customArgs","rank":20,"editor":"key_value_list","value":"text"},"Atw":{"caption":"Batch ID","name":"batchId","rank":25,"editor":"DynamicValue","value":"text","optional":true}}},"Aso":{"display":"SendGrid - Send email (custom)","type":"server_side","return_value":{"ArB":{"caption":"Success","name":"Success","rank":1,"value":"boolean"},"Ari":{"caption":"Errors","name":"Errors","rank":2,"value":"text","is_list":true},"Ati":{"caption":"Message ID","name":"message_id","rank":0,"value":"text"}},"fields":{"Aqv":{"caption":"To Email Addresses (minimum 1 recipient)","name":"to_email_address","rank":7,"editor":"DynamicValue","value":"text","is_list":false},"Aqw":{"caption":"CC Email Addresses (optional)","name":"cc_email_address","rank":8,"editor":"DynamicValue","value":"text","optional":true},"Aqx":{"caption":"BCC Email Addresses (optional)","name":"bcc_email_address","rank":9,"editor":"DynamicValue","value":"text","optional":true},"Aqy":{"caption":"From Name","name":"from_name","rank":5,"editor":"DynamicValue","value":"text"},"Aqz":{"caption":"From Email Address","name":"from_email_address","rank":6,"editor":"DynamicValue","value":"text"},"ArA":{"caption":"Template ID","name":"template_id","rank":2,"editor":"DynamicValue","value":"text"},"ArG":{"caption":"Subject","name":"subject","rank":4,"editor":"DynamicValue","value":"text"},"ArI":{"caption":"Enable Click Tracking","name":"clicktracking","rank":21,"editor":"Checkbox","default_val":true},"ArJ":{"caption":"Enable Open Tracking","name":"opentracking","rank":20,"editor":"Checkbox","default_val":true},"ArL":{"caption":"Unsubscribe Group ID","name":"unsubscribe_group_id","rank":23,"editor":"DynamicValue","value":"text","optional":true},"Arg":{"caption":"Type","name":"template_type","rank":1,"editor":"Dropdown","default_val":"Dynamic"},"Asa":{"caption":"Attachment 1 Data (optional)","name":"attachment1_data","rank":14,"editor":"DynamicValue","value":"text","optional":true},"Asb":{"caption":"Attachment 1 Filename (optional)","name":"attachment1_filename","rank":13,"editor":"DynamicValue","value":"text","optional":true},"Asc":{"caption":"Attachment 2 Filename (optional)","name":"attachment2_filename","rank":15,"editor":"DynamicValue","value":"text","optional":true},"Asd":{"caption":"Attachment 2 Data (optional)","name":"attachment2_data","rank":16,"editor":"DynamicValue","value":"text","optional":true},"Ase":{"caption":"Attachment 3 Filename (optional)","name":"attachment3_filename","rank":17,"editor":"DynamicValue","value":"text","optional":true},"Asf":{"caption":"Attachment 3 Data","name":"attachment3_data","rank":18,"editor":"DynamicValue","value":"text","optional":true},"Asi":{"caption":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","name":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","rank":19,"editor":"Label"},"Asj":{"caption":"𝗔𝗧𝗧𝗔𝗖𝗛𝗠𝗘𝗡𝗧𝗦","name":"𝗔𝗧𝗧𝗔𝗖𝗛𝗠𝗘𝗡𝗧𝗦","rank":12,"editor":"Label"},"Ask":{"caption":"𝗧𝗘𝗠𝗣𝗟𝗔𝗧𝗘","name":"𝗧𝗘𝗠𝗣𝗟𝗔𝗧𝗘","rank":0,"editor":"Label"},"Asl":{"caption":"𝗖𝗢𝗡𝗧𝗘𝗡𝗧","name":"𝗖𝗢𝗡𝗧𝗘𝗡𝗧","rank":3,"editor":"Label"},"Asm":{"caption":"Reply-To Email Address (optional)","name":"reply_to_email_address","rank":10,"editor":"DynamicValue","value":"text","optional":true},"Asn":{"caption":"Scheduled Date","name":"send_at","rank":22,"editor":"DynamicValue","value":"date","optional":true},"Asp":{"caption":"Custom Data","name":"custom_data","rank":11,"editor":"DynamicValue","value":"text","default_val":"{ \"items\": [{ \"name\": \"shirt\" }] }"},"Ats":{"caption":"On Behalf Of","name":"onBehalfOf","rank":24,"editor":"DynamicValue","optional":true,"value":"text"}}},"Asr":{"display":"SendGrid - Send plain-text email","type":"server_side","return_value":{"ArB":{"caption":"Sent","name":"Success","rank":1,"value":"boolean"},"Ari":{"caption":"Errors","name":"Errors","rank":2,"value":"text","is_list":true},"Atj":{"caption":"Message ID","name":"message_id","rank":0,"value":"text"}},"fields":{"Aqv":{"caption":"To Email Addresses (minimum 1 recipient)","name":"to_email_address","rank":4,"editor":"DynamicValue","value":"text","is_list":false},"Aqw":{"caption":"CC Email Addresses (optional)","name":"cc_email_address","rank":5,"editor":"DynamicValue","value":"text","optional":true},"Aqx":{"caption":"BCC Email Addresses (optional)","name":"bcc_email_address","rank":6,"editor":"DynamicValue","value":"text","optional":true},"Aqy":{"caption":"From Name","name":"from_name","rank":2,"editor":"DynamicValue","value":"text"},"Aqz":{"caption":"From Email Address","name":"from_email_address","rank":3,"editor":"DynamicValue","value":"text"},"ArG":{"caption":"Subject","name":"subject","rank":1,"editor":"DynamicValue","value":"text"},"ArI":{"caption":"Enable Click Tracking","name":"clicktracking","rank":18,"editor":"Checkbox","default_val":true},"ArJ":{"caption":"Enable Open Tracking","name":"opentracking","rank":17,"editor":"Checkbox","default_val":true},"ArL":{"caption":"Unsubscribe Group ID","name":"unsubscribe_group_id","rank":20,"editor":"DynamicValue","value":"text","optional":true},"Asa":{"caption":"Attachment 1 Data (optional)","name":"attachment1_data","rank":11,"editor":"DynamicValue","value":"text","optional":true},"Asb":{"caption":"Attachment 1 Filename (optional)","name":"attachment1_filename","rank":10,"editor":"DynamicValue","value":"text","optional":true},"Asc":{"caption":"Attachment 2 Filename (optional)","name":"attachment2_filename","rank":12,"editor":"DynamicValue","value":"text","optional":true},"Asd":{"caption":"Attachment 2 Data (optional)","name":"attachment2_data","rank":13,"editor":"DynamicValue","value":"text","optional":true},"Ase":{"caption":"Attachment 3 Filename (optional)","name":"attachment3_filename","rank":14,"editor":"DynamicValue","value":"text","optional":true},"Asf":{"caption":"Attachment 3 Data","name":"attachment3_data","rank":15,"editor":"DynamicValue","value":"text","optional":true},"Asi":{"caption":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","name":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","rank":16,"editor":"Label"},"Asj":{"caption":"𝗔𝗧𝗧𝗔𝗖𝗛𝗠𝗘𝗡𝗧𝗦","name":"𝗔𝗧𝗧𝗔𝗖𝗛𝗠𝗘𝗡𝗧𝗦","rank":9,"editor":"Label"},"Asl":{"caption":"𝗖𝗢𝗡𝗧𝗘𝗡𝗧","name":"𝗖𝗢𝗡𝗧𝗘𝗡𝗧","rank":0,"editor":"Label"},"Asm":{"caption":"Reply-To Email Address (optional)","name":"reply_to_email_address","rank":7,"editor":"DynamicValue","value":"text","optional":true},"Asn":{"caption":"Scheduled Date","name":"send_at","rank":19,"editor":"DynamicValue","value":"date","optional":true},"Ass":{"caption":"Body","name":"body","rank":8,"editor":"DynamicValue","value":"text"},"Att":{"caption":"On Behalf Of","name":"onBehalfOf","rank":21,"editor":"DynamicValue","value":"text","optional":true}}},"Atq":{"display":"SendGrid - Add Contact to List(s)","type":"server_side","return_value":{"ArB":{"caption":"Success","name":"Success","rank":1,"value":"boolean"},"Ari":{"caption":"Errors","name":"Errors","rank":2,"value":"text","is_list":true},"Ath":{"caption":"Message ID","name":"message_id","rank":0,"value":"text"}},"fields":{"Aqv":{"caption":"To Email Addresses (minimum 1 recipient)","name":"to_email_address","rank":7,"editor":"DynamicValue","value":"text","is_list":false},"Aqw":{"caption":"CC Email Addresses (optional)","name":"cc_email_address","rank":8,"editor":"DynamicValue","value":"text","optional":true},"Aqx":{"caption":"BCC Email Addresses (optional)","name":"bcc_email_address","rank":9,"editor":"DynamicValue","value":"text","optional":true},"Aqy":{"caption":"From Name","name":"from_name","rank":5,"editor":"DynamicValue","value":"text"},"Aqz":{"caption":"From Email Address","name":"from_email_address","rank":6,"editor":"DynamicValue","value":"text"},"ArA":{"caption":"Template ID","name":"email","rank":2,"editor":"DynamicValue","value":"text"},"ArG":{"caption":"Subject","name":"subject","rank":4,"editor":"DynamicValue","value":"text"},"ArI":{"caption":"Enable Click Tracking","name":"clicktracking","rank":21,"editor":"Checkbox","default_val":true},"ArJ":{"caption":"Enable Open Tracking","name":"opentracking","rank":20,"editor":"Checkbox","default_val":true},"ArL":{"caption":"Unsubscribe Group ID","name":"unsubscribe_group_id","rank":23,"editor":"DynamicValue","value":"text","optional":true},"Arg":{"caption":"List ID","name":"list_id","rank":1,"editor":"DynamicValue","value":"text"},"Asa":{"caption":"Attachment 1 Data (optional)","name":"attachment1_data","rank":14,"editor":"DynamicValue","value":"text","optional":true},"Asb":{"caption":"Attachment 1 Filename (optional)","name":"attachment1_filename","rank":13,"editor":"DynamicValue","value":"text","optional":true},"Asc":{"caption":"Attachment 2 Filename (optional)","name":"attachment2_filename","rank":15,"editor":"DynamicValue","value":"text","optional":true},"Asd":{"caption":"Attachment 2 Data (optional)","name":"attachment2_data","rank":16,"editor":"DynamicValue","value":"text","optional":true},"Ase":{"caption":"Attachment 3 Filename (optional)","name":"attachment3_filename","rank":17,"editor":"DynamicValue","value":"text","optional":true},"Asf":{"caption":"Attachment 3 Data","name":"attachment3_data","rank":18,"editor":"DynamicValue","value":"text","optional":true},"Asg":{"caption":"Substitution Tags","name":"sub_tags","rank":11,"editor":"key_value_list","value":"text"},"Ash":{"caption":"Subscribe for updates and bugs at https://withcopilot.com/plugins/sendgrid","name":"info2","rank":0,"editor":"Label"},"Asi":{"caption":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","name":"𝗢𝗣𝗧𝗜𝗢𝗡𝗦","rank":19,"editor":"Label"},"Asj":{"caption":"Attachments ================================","name":"info4","rank":12,"editor":"Label"},"Asl":{"caption":"Content ====================================","name":"info7","rank":3,"editor":"Label"},"Asm":{"caption":"Reply-To Email Address (optional)","name":"reply_to_email_address","rank":10,"editor":"DynamicValue","value":"text","optional":true},"Asn":{"caption":"Scheduled Date","name":"send_at","rank":22,"editor":"DynamicValue","value":"date","optional":true}}}}};
window._bubble_page_load_data.plugins_size['1484327506287x474510747987607550'] = 23905;
window.preloaded['plugin/third_party:1484327506287x474510747987607550:6.3.2'] = true;
window.plugins["1488796042609x768734193128308700"] = {"human":"Toolbox","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"List of Numbers","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Start number","name":"number_start","editor":"DynamicValue","value":"number","rank":2},"AAF":{"caption":"Length of list","name":"list_length","editor":"DynamicValue","value":"number","is_list":false,"rank":3},"AAG":{"caption":"Increment","name":"increment","editor":"DynamicValue","value":"number","rank":4},"ABS":{"caption":"List of Numbers.","name":"doctitle","rank":0,"editor":"Label"},"ABT":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"states":{"AAD":{"caption":"list","name":"list","value":"number","is_list":true,"initialization_code":{"fn":"function(n,t){}"}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(t,n,e){n.number_start,n.list_length,n.increment;var l=[];if(null!==n.number_start&&null!==n.list_length&&null!==n.increment)for(var r=n.number_start,u=0;u<n.list_length;u++)l.push(r),r+=n.increment;t.publishState(\"list\",l)}"},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75) + \"px\";\n  div.textContent = \"1 2 3 ...\";\n  instance.canvas.append(div);\n}"}}},"AAI":{"display":"Expression","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAJ":{"caption":"Expression","name":"expression","editor":"DynamicValue","value":"text","rank":2,"optional":true},"AAL":{"caption":"Result type","name":"result_type","editor":"custom_type","rank":3},"AAM":{"caption":"Result is a list","name":"result_is_list","editor":"Checkbox","default_val":false,"rank":4},"ABU":{"caption":"Expression. Evaluates with javascript.","name":"doctitle","rank":0,"editor":"Label"},"ABV":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"states":{"AAN":{"caption":"value","name":"value","value":"custom_data_AAL","initialization_code":{"fn":"function(n,t){}"}},"AAO":{"caption":"value list","name":"value_list","value":"custom_data_AAL","is_list":true,"initialization_code":{"fn":"function(n,t){}"}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(instance,properties,context){var result;properties.expression,properties.result_type,properties.result_is_list,result=null!=properties.expression?eval(properties.expression):null,properties.result_is_list?instance.publishState(\"value_list\",result):instance.publishState(\"value\",result)}","add_debugger":false},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75) + \"px\";\n  div.textContent = \"Expression\";\n  instance.canvas.append(div);\n}"}}},"AAP":{"display":"Javascript to Bubble","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAQ":{"caption":"bubble_fn_suffix","name":"fn_name_suffix","editor":"DynamicValue","value":"text","rank":2},"AAR":{"caption":"Trigger event","name":"trigger_event","editor":"Checkbox","default_val":false,"rank":3},"AAS":{"caption":"Publish value","name":"publish_value","editor":"Checkbox","default_val":false,"rank":4},"AAT":{"caption":"Value type","name":"value_type","editor":"custom_type","optional":true,"rank":8},"AAU":{"caption":"Value is a list","name":"value_is_list","editor":"Checkbox","default_val":false,"rank":9},"ABN":{"caption":"Queue","name":"queue","rank":5,"editor":"Checkbox","default_val":false},"ABW":{"caption":"Javascript to Bubble. Brings a value and event to Bubble.","name":"doctitle","rank":0,"editor":"Label"},"ABX":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"},"ABx":{"caption":"------------ Outputs -------------","name":"docoutputs","rank":6,"editor":"Label"},"ABy":{"caption":"Multiple Outputs","name":"multipleoutputs","rank":7,"editor":"Checkbox","default_val":false},"ABz":{"caption":"output1 type","name":"output1type","rank":10,"editor":"custom_type","optional":true},"ACA":{"caption":"output2 type","name":"output2type","rank":11,"editor":"custom_type","optional":true},"ACC":{"caption":"output3 type","name":"output3type","rank":12,"editor":"custom_type","optional":true},"ACD":{"caption":"output4 type","name":"output4type","rank":13,"editor":"custom_type","optional":true},"ACE":{"caption":"outputlist1 type","name":"outputlist1type","rank":14,"editor":"custom_type","optional":true},"ACF":{"caption":"outputlist2 type","name":"outputlist2type","rank":15,"editor":"custom_type","optional":true},"ACG":{"caption":"outputlist3 type","name":"outputlist3type","rank":16,"editor":"custom_type","optional":true},"ACH":{"caption":"outputlist4 type","name":"outputlist4type","rank":17,"editor":"custom_type","optional":true}},"states":{"AAV":{"caption":"value","name":"value","value":"custom_data_AAT","initialization_code":{"fn":"function(n,t){}"}},"AAW":{"caption":"value list","name":"value_list","value":"custom_data_AAT","is_list":true,"initialization_code":{"fn":"function(n,t){}"}},"ACI":{"caption":"output1","name":"output1","value":"custom_data_ABz","initialization_code":{"fn":"function(n,t){}"}},"ACJ":{"caption":"output2","name":"output2","value":"custom_data_ACA","initialization_code":{"fn":"function(n,t){}"}},"ACK":{"caption":"output3","name":"output3","value":"custom_data_ACC","initialization_code":{"fn":"function(n,t){}"}},"ACL":{"caption":"output4","name":"output4","value":"custom_data_ACD","initialization_code":{"fn":"function(n,t){}"}},"ACM":{"caption":"outputlist1","name":"outputlist1","value":"custom_data_ACE","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACN":{"caption":"outputlist2","name":"outputlist2","value":"custom_data_ACF","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACO":{"caption":"outputlist3","name":"outputlist3","value":"custom_data_ACG","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACP":{"caption":"outputlist4","name":"outputlist4","value":"custom_data_ACH","initialization_code":{"fn":"function(n,t){}"},"is_list":true}},"events":{"AAX":{"caption":"event","name":"event"}},"actions":{"ABL":{"caption":"Dequeue","code":{"fn":"function(u,e,n){u.data.fn_dequeue()}"}},"ABM":{"caption":"ClearQueue","code":{"fn":"function(u,e,n){u.data.fn_clearqueue()}"}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(t,u,e){var l=u.fn_name_suffix,a=u.trigger_event,i=u.publish_value,p=u.value_is_list,s=u.queue,n=u.multipleoutputs,h;(t.data.queue=[],t.data.fn_clearvalues=function(){i&&(t.publishState(\"value_list\",[]),t.publishState(\"value\",null),t.publishState(\"output1\",null),t.publishState(\"output2\",null),t.publishState(\"output3\",null),t.publishState(\"output4\",null),t.publishState(\"outputlist1\",[]),t.publishState(\"outputlist2\",[]),t.publishState(\"outputlist3\",[]),t.publishState(\"outputlist4\",[]))},t.data.fn_publish=function(u){i&&(n?(t.publishState(\"value\",u?.value),t.publishState(\"value_list\",u?.value_list),t.publishState(\"output1\",u?.output1),t.publishState(\"output2\",u?.output2),t.publishState(\"output3\",u?.output3),t.publishState(\"output4\",u?.output4),t.publishState(\"outputlist1\",u?.outputlist1),t.publishState(\"outputlist2\",u?.outputlist2),t.publishState(\"outputlist3\",u?.outputlist3),t.publishState(\"outputlist4\",u?.outputlist4)):p?t.publishState(\"value_list\",u):t.publishState(\"value\",u))},l)&&(window[\"bubble_fn_\"+l]=function(u){s&&0!=t.data.queue.length||i&&t.data.fn_publish(u),s&&(i?t.data.queue.push(u):t.data.queue.push(null)),a&&t.data.queue.length<2&&t.triggerEvent(\"event\")});t.data.fn_dequeue=function(){if(t.data.queue.shift(),s&&t.data.queue.length>0){if(i){var u=t.data.queue[0];t.data.fn_publish(u)}a&&t.triggerEvent(\"event\")}s&&0==t.data.queue.length&&i&&t.data.fn_clearvalues()},t.data.fn_clearqueue=function(){t.data.queue=[],s&&t.data.fn_clearvalues()}}"},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75) + \"px\";\n  div.textContent = \"JS2Bubble\";\n  instance.canvas.append(div);\n}"}}},"AAY":{"display":"List Item Expression","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAZ":{"caption":"Source item type","name":"sourcetype","editor":"custom_type","rank":2},"AAa":{"caption":"Data source (list)","name":"sourcelist","editor":"DynamicValue","optional":true,"value":"custom_data_AAZ","is_list":true,"rank":3},"AAb":{"caption":"Item expression","name":"itemexpression","editor":"DynamicValue","value":"text","default_val":"","rank":5,"optional":true},"AAc":{"caption":"Result type","name":"resultlisttype","editor":"custom_type","rank":6},"AAl":{"caption":"Lookup values with value() or field(\"field_name\") or field(\"other_data_type\", \"field_name\"). Alternatively, use chained functions item() and lookup() ...  item().lookup(\"Product\").lookup(\"Name\")","name":"infoexpression","rank":4,"editor":"Label"},"ABY":{"caption":"List Item Expression. Evaluates for each list item to make a new list.","name":"doctitle","rank":0,"editor":"Label"},"ABZ":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"states":{"AAd":{"caption":"list","name":"resultlist","value":"custom_data_AAc","is_list":true,"initialization_code":{"fn":"function(n,t){}"}}},"actions":{"AAe":{"caption":"Set data source","code":{"fn":"function(e,t,i){var l={result:[],len:0};if(t.sourcelist&&t.sourcelist.length&&(l.len=t.sourcelist.length()),l.len>0)for(l.i=0;l.i<l.len;l.i++)if(l.listRetrieved=t.sourcelist.get(l.i,1),e.data.item=l.listRetrieved[0],void 0!==typeof e.data.item)try{l.result.push(window.toolboxEval({value:e.data.value,field:e.data.field,item:e.data.createItem,lookup:e.data.lookup,expression:e.data.itemexpression}))}catch(e){throw\"not ready\"!==e.message&&console.error(e),e}e.publishState(\"resultlist\",l.result)}"},"fields":{"AAf":{"caption":"Data source (list)","name":"sourcelist","editor":"DynamicValue","value":"custom_data_element_AAZ","is_list":true,"optional":true,"rank":0}}}},"code":{"initialize":{"fn":"function(e,t){e.data.value=function(){return void 0===typeof e.data.item||null==e.data.item||e.data.item.listProperties?null:e.data.item},e.data.field=function(){if(e.data.item&&e.data.item.listProperties){for(var t=e.data.item,r=e.data.sourcetype,a=0;a<arguments.length;a++){var n=arguments[a],i=r.replace(\"custom.\",\"\");app.user_types[i];var o=app.user_types[i][\"%f3\"];if(Object.keys(o).forEach((function(e){o[e][\"%d\"]==n&&(n=e,r=o[e][\"%v\"])})),null===t)break;t=t.get(n)}return t}return null},e.data.createItem=function(t,r){return{fieldType:r||e.data.sourcetype,bubbleItem:t||e.data.item,lookup:function(t){return e.data.lookup(this,t)}}},e.data.lookup=function(t,r){if(\"object\"!=typeof t||!(\"fieldType\"in t)||!(\"bubbleItem\"in t))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;var a=t.bubbleItem,n=t.fieldType;if(\"object\"!=typeof a||!(\"listProperties\"in a)||!(\"get\"in a))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;var i=n.replace(\"custom.\",\"\");app.user_types[i];var o=app.user_types[i][\"%f3\"],u=null;Object.keys(o).forEach((function(e){o[e][\"%d\"]==r&&(r=e,u=o[e][\"%v\"])}));var l=a.get(r),s;if(l&&\"object\"==typeof l&&\"length\"in l&&\"get\"in l){newresult=[],u=u.replace(\"list.\",\"\");for(var p=0;p<l.length();p++){var f=l.get(p,1)[0];if(\"object\"==typeof f&&\"listProperties\"in f&&\"get\"in f){var s=e.data.createItem(f,u);newresult.push(s)}else newresult.push(f)}return newresult}return l&&\"object\"==typeof l&&\"listProperties\"in l&&\"get\"in l?s=e.data.createItem(l,u):l}}"},"update":{"fn":"function(e,t,i){var s={};if(e.data.sourcetype=t.sourcetype,e.data.itemexpression=t.itemexpression,s.result=[],s.len=0,t.sourcelist&&t.sourcelist.length&&(s.len=t.sourcelist.length()),s.len>0)for(s.i=0;s.i<s.len;s.i++)if(s.listRetrieved=t.sourcelist.get(s.i,1),e.data.item=s.listRetrieved[0],void 0!==typeof e.data.item)try{s.result.push(window.toolboxEval({value:e.data.value,field:e.data.field,item:e.data.createItem,lookup:e.data.lookup,expression:e.data.itemexpression}))}catch(e){throw\"not ready\"!==e.message&&console.error(e),e}e.publishState(\"resultlist\",s.result)}"},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75) + \"px\";\n  div.textContent = \"List Item Expression\";\n  instance.canvas.append(div);\n}"}}}},"plugin_actions":{"AAg":{"display":"Run javascript","type":"client_side","fields":{"AAh":{"caption":"Script","name":"script","editor":"DynamicValue","value":"text","rank":2},"AAi":{"caption":"Asynchronous","name":"async","editor":"Checkbox","default_val":true,"rank":3},"ABB":{"caption":"param1","name":"param1","rank":4,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABC":{"caption":"param2","name":"param2","rank":5,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABD":{"caption":"param3","name":"param3","rank":6,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABE":{"caption":"param4","name":"param4","rank":7,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABF":{"caption":"param5","name":"param5","rank":8,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABG":{"caption":"paramlist1","name":"paramlist1","rank":9,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABH":{"caption":"paramlist2","name":"paramlist2","rank":10,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABI":{"caption":"paramlist3","name":"paramlist3","rank":11,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABJ":{"caption":"paramlist4","name":"paramlist4","rank":12,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABK":{"caption":"paramlist5","name":"paramlist5","rank":13,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABQ":{"caption":"Run Javascript.","name":"doctitle","rank":0,"editor":"Label"},"ABR":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){var script=properties.script,async=properties.async,_p1=properties.param1,_p2=properties.param2,_p3=properties.param3,_p4=properties.param4,_p5=properties.param5,_pl1=properties.paramlist1,_pl2=properties.paramlist2,_pl3=properties.paramlist3,_pl4=properties.paramlist4,_pl5=properties.paramlist5;eval(\"var properties = arguments[0]; context = arguments[1];\"),async?setTimeout((function(){eval(script)}),1):eval(script)}"}}},"AAn":{"display":"Server script","type":"server_side","return_value":{"AAz":{"caption":"result","name":"result","rank":0,"value":"custom_data_AAp"},"ABA":{"caption":"result list","name":"resultlist","rank":1,"is_list":true,"value":"custom_data_AAp"},"ABg":{"caption":"output1","name":"output1","rank":2,"value":"custom_data_ABf"},"ABp":{"caption":"output2","name":"output2","rank":3,"value":"custom_data_ABh"},"ABq":{"caption":"output3","name":"output3","rank":4,"value":"custom_data_ABi"},"ABr":{"caption":"output4","name":"output4","rank":5,"value":"custom_data_ABj"},"ABs":{"caption":"outputlist1","name":"outputlist1","rank":6,"value":"custom_data_ABk","is_list":true},"ABt":{"caption":"outputlist2","name":"outputlist2","rank":7,"value":"custom_data_ABm","is_list":true},"ABu":{"caption":"outputlist3","name":"outputlist3","rank":8,"value":"custom_data_ABn","is_list":true},"ABv":{"caption":"outputlist4","name":"outputlist4","rank":9,"value":"custom_data_ABo","is_list":true}},"fields":{"AAo":{"caption":"Node script","name":"script","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Return type","name":"returntype","rank":16,"editor":"custom_type","optional":true},"AAq":{"caption":"Returns a list","name":"returnslist","rank":17,"editor":"Checkbox","default_val":false},"AAr":{"caption":"Data","name":"data","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AAs":{"caption":"Keys and values","name":"keyvalues","rank":8,"editor":"key_value_list","value":"text"},"AAt":{"caption":"Thing 1","name":"thing1","rank":9,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAu":{"caption":"Thing 2","name":"thing2","rank":10,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAv":{"caption":"Thing 3","name":"thing3","rank":11,"editor":"DynamicValue","optional":true,"value":"_any_thing"},"AAw":{"caption":"Thing list 1","name":"thinglist1","rank":12,"optional":true,"editor":"DynamicValue","is_list":true,"value":"_any_thing"},"AAx":{"caption":"Thing list 2","name":"thinglist2","rank":13,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AAy":{"caption":"Thing list 3","name":"thinglist3","rank":14,"editor":"DynamicValue","optional":true,"is_list":true,"value":"_any_thing"},"ABO":{"caption":"Server Script. Runs a Node.js AWS Lambda instance.","name":"doctitle","rank":0,"editor":"Label"},"ABP":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"},"ABa":{"caption":"Script is async function","name":"scriptasfn","rank":3,"editor":"Checkbox","default_val":false},"ABb":{"caption":"Ignore errors","name":"ignore_error","rank":4,"editor":"Checkbox","default_val":false},"ABc":{"caption":"Multiple Outputs","name":"multipleoutputs","rank":18,"editor":"Checkbox","default_val":false},"ABd":{"caption":"------------ Inputs ------------","name":"docinputs","rank":6,"editor":"Label"},"ABe":{"caption":"------------ Outputs -------------","name":"docoutputs","rank":15,"editor":"Label"},"ABf":{"caption":"output1 type","name":"output1type","rank":19,"editor":"custom_type","optional":true},"ABh":{"caption":"output2 type","name":"output2type","rank":20,"editor":"custom_type","optional":true},"ABi":{"caption":"output3 type","name":"output3type","rank":21,"editor":"custom_type","optional":true},"ABj":{"caption":"output4 type","name":"output4type","rank":22,"editor":"custom_type","optional":true},"ABk":{"caption":"outputlist1 type","name":"outputlist1type","rank":23,"editor":"custom_type","optional":true},"ABm":{"caption":"outputlist2 type","name":"outputlist2type","rank":24,"editor":"custom_type","optional":true},"ABn":{"caption":"outputlist3 type","name":"outputlist3type","rank":25,"editor":"custom_type","optional":true},"ABo":{"caption":"outputlist4 type","name":"outputlist4type","rank":26,"editor":"custom_type","optional":true},"ABw":{"caption":"Log errors","name":"log_error","rank":5,"editor":"Checkbox","default_val":false}}}}};
window._bubble_page_load_data.plugins_size['1488796042609x768734193128308700'] = 19719;
window.preloaded['plugin/third_party:1488796042609x768734193128308700:2.1.2'] = true;
window.plugins["1497473108162x748255442121523200"] = {"human":"Air Copy to clipboard","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Air copy to clipboard","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAa":{"caption":"Target element ID attribute","name":"target_id","editor":"DynamicValue","rank":2,"value":"text","optional":true},"AAb":{"caption":"Action type","name":"action_type","editor":"Dropdown","rank":3,"default_val":"copy"},"AAd":{"caption":"Trigger element ID","name":"trigger_id","rank":4,"editor":"DynamicValue","value":"text"},"AAo":{"caption":"Text to copy","name":"text","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Use ID Attribute","name":"use_id_attribute","rank":1,"editor":"Checkbox","default_val":false},"AAt":{"caption":"Copy HTML","name":"copy_html","rank":5,"editor":"Checkbox","default_val":false}},"actions":{"AAl":{"caption":"Paste from clipboard","code":{"fn":"function(e,n,t){function o(){const e=[\"warn\",\"readText\",\"function\",\"nodeName\",\"value\",\"5osuDOu\",\"No access to clipboard. Reason: Firefox and internet explorer browsers do not support pasting from clipboard\",\"235771zDqkHP\",\"No access to clipboard. Reason: \",\"INPUT\",\"366926RIARtD\",\"1905344RTfqXs\",\"message\",\"then\",\"Air Copy to clipboard: paste from clipboard is allowed only in input element.\",\"clipboard\",\"16562295NneGts\",\"6022332BeAGid\",\"10526360mexAvV\",\"5395050kwGYmG\",\"27XgDOia\",\"reportDebugger\"];return(o=function(){return e})()}function r(e,n){const t=o();return(r=function(e,n){let o;return t[e-=281]})(e,n)}function a(e,n,t){const o=r;let a=document.getElementById(n.elem_id);if(a[o(297)]===o(281))try{navigator.clipboard[o(295)]()[o(285)]((e=>{const n=undefined;a[o(298)]=e,$(a).change()}))}catch(e){typeof navigator[o(287)].readText!==o(296)?t[o(293)](o(300)):t[o(293)](o(302)+e[o(284)])}else console[o(294)](o(286))}!function(e,n){const t=r,o=e();for(;;)try{const e=undefined;if(parseInt(t(301))/1+parseInt(t(282))/2*(-parseInt(t(292))/3)+-parseInt(t(289))/4*(parseInt(t(299))/5)+parseInt(t(291))/6+-parseInt(t(283))/7+parseInt(t(290))/8+parseInt(t(288))/9===n)break;o.push(o.shift())}catch(e){o.push(o.shift())}}(o,862054),a(e,n,t)}"},"fields":{"AAm":{"caption":"Element ID","name":"elem_id","rank":0,"editor":"StaticText"}}},"ABH":{"caption":"Copy with links","code":{"fn":"function(e,n,t){function r(e,n){var t=o();return(r=function(e,n){var r;return t[e-=250]})(e,n)}function o(){var e=[\"5104656SITInk\",\"4440636Pnvfhm\",\"77bAvimX\",\"addRange\",\"6KWCyWp\",\"4665793KnfsSe\",\"135075STcfrv\",\"919511rRqgPv\",\"copy\",\"removeAllRanges\",\"280512oFUeqo\",\"10585xoIEPO\",\"select\",\"execCommand\",\"getElementById\",\"getSelection\",\"body\",\"1084BHbGHx\",\"createTextRange\",\"selection\",\"10WmxOTA\"];return(o=function(){return e})()}function a(e,n,t){var o=r;if(document[o(264)]){var a=document[o(261)][o(263)]();a.moveToElementText(document[o(259)](n.element_id)),a[o(257)]().createTextRange(),document.execCommand(\"copy\")}else window[o(260)]&&setTimeout((()=>{var e=o,t=document.createRange();t.selectNode(document[e(259)](n.element_id)),window.getSelection()[e(254)](t),window[e(260)]()[e(269)](t),document[e(258)](e(253))}),50)}!function(e,n){for(var t=r,o=e();;)try{var a;if(parseInt(t(252))/1+-parseInt(t(270))/2*(-parseInt(t(251))/3)+parseInt(t(262))/4*(parseInt(t(256))/5)+-parseInt(t(266))/6+-parseInt(t(268))/7*(parseInt(t(255))/8)+parseInt(t(267))/9*(parseInt(t(265))/10)+-parseInt(t(250))/11===n)break;o.push(o.shift())}catch(e){o.push(o.shift())}}(o,461054),a(e,n,t)}"},"fields":{"ABI":{"caption":"element_id","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(t,n,e){function o(){const t=[\"copy_html\",\"value\",\"9054696vzBXOt\",\"nodeName\",\"writeText\",\"trigger_id\",\"912061ZOPPnf\",\"text\",\"action_type\",\"2527226rqsHff\",\"click\",\"3209180HZsbqi\",\"cut\",\"warn\",\"getElementById\",\"8AyRsHL\",\"target_id\",\"INPUT\",\"innerHTML\",\"9749719tCexnK\",\"1699956oHWZOM\",\"4496212rtVsCl\",\"Air Copy to clipboard: Can't cut from static element\",\"use_id_attribute\",\"then\"];return(o=function(){return t})()}function r(t,n){const e=o();return(r=function(t,n){let o;return e[t-=434]})(t,n)}function c(t,n,e){const o=r;var c=n[o(444)],i=n[o(458)];$(document).ready((function(){const t=o;$(\"#\"+i).on(t(438),(function(){const e=t;let o=n[e(436)];if(n[e(451)]){let t=document[e(442)](c);if(t[e(456)]===e(445)||\"TEXTAREA\"===t[e(456)]){let n=t[e(454)];navigator.clipboard[e(457)](n)[e(452)]((n=>{const r=e;o===r(440)&&(t[r(454)]=\"\")}))}else{let r=t.innerText;n[e(453)]&&(r=t[e(446)]),navigator.clipboard[e(457)](r)[e(452)]((t=>{const n=e;o===n(440)&&console[n(441)](n(450))}))}}else{let t=n[e(435)];navigator.clipboard.writeText(t)[e(452)]((t=>{const n=e;o===n(440)&&console[n(441)](n(450))}))}}))}))}!function(t,n){const e=r,o=t();for(;;)try{const t=undefined;if(parseInt(e(434))/1+-parseInt(e(437))/2+parseInt(e(448))/3+parseInt(e(449))/4+-parseInt(e(439))/5+parseInt(e(455))/6+parseInt(e(447))/7*(-parseInt(e(443))/8)===n)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(o,813616),c(t,n,e)}"}}}},"plugin_actions":{"AAU":{"display":"Copy to clipboard from static text","type":"client_side","fields":{"AAg":{"caption":"Text to copy","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"}},"code":{"client":{"fn":"function(e,t){let n=e.element_id;navigator.clipboard.writeText(n).then((e=>{console.log(\"Text copied\")}))}","add_debugger":false}}},"AAq":{"display":"Copy to clipboard from element","type":"server_side","fields":{"AAr":{"caption":"Delay ( Seconds )","name":"delay","rank":0,"editor":"StaticNumber","default_val":1},"AAs":{"caption":"Element ID","name":"element_id","rank":1,"editor":"DynamicValue","value":"text"},"AAu":{"caption":"Copy HTML","name":"copy_html","rank":2,"editor":"Checkbox","default_val":false}}},"ABC":{"display":"Copy element","type":"client_side","fields":{"ABD":{"caption":"Target ID","name":"target_id","rank":0,"editor":"StaticText"},"ABE":{"caption":"This action uses deprecated method. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. ","name":"this_action_use_deprecated_method._though_some_browsers_might_still_support_it,_it_may_have_already_been_removed_from_the_relevant_web_standards,_may_be_in_the_process_of_being_dropped,_or_may_only_be_kept_for_compatibility_purposes._","rank":1,"editor":"Label"},"ABF":{"caption":"Be aware that this feature may cease to work at any time.","name":"be_aware_that_this_feature_may_cease_to_work_at_any_time.","rank":2,"editor":"Label"},"ABG":{"caption":"This action can copy the entire content of an item while preserving the formatting.","name":"this_action_can_copy_the_entire_content_of_an_item_while_preserving_the_formatting.","rank":3,"editor":"Label"}},"code":{"client":{"fn":"function(e,t){if(document.getElementById(e.target_id)){var n=document.getElementById(e.target_id),d=document.createRange(),o=window.getSelection();d.selectNodeContents(n),o.removeAllRanges(),o.addRange(d),document.execCommand(\"copy\"),d.collapse()}}"}}}}};
window._bubble_page_load_data.plugins_size['1497473108162x748255442121523200'] = 7454;
window.preloaded['plugin/third_party:1497473108162x748255442121523200:2.20.0'] = true;
window.plugins["1498952719168x889602776416649200"] = {"human":"Air Color Picker","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Air Color picker","property_applications":{"resizable":false,"MinWidth":true,"Background":false,"Border":false,"BoxShadow":false},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"text","has_reset_fn":true,"fields":{"AAD":{"caption":"Initial color","name":"initial_color","editor":"Color","rank":0,"value":"text","default_val":"rgba(51, 51, 51, 1)","optional":false},"AAE":{"caption":"Show input","name":"show_input","editor":"Checkbox","rank":1,"default_val":false},"AAF":{"caption":"Show transparency slider","name":"show_alpha","editor":"Checkbox","rank":2,"default_val":true},"AAG":{"caption":"Disabled","name":"disabled","editor":"Checkbox","rank":3,"default_val":false},"AAH":{"caption":"Show palette","name":"show_palette","editor":"Checkbox","rank":4,"default_val":false},"AAI":{"caption":"Palette colors (list of color strings)","name":"palette_colors","editor":"DynamicValue","rank":7,"value":"text","is_list":true,"optional":true},"AAJ":{"caption":"Show palette only","name":"palette_only","editor":"Checkbox","rank":5,"default_val":false},"AAK":{"caption":"Toggle palette only","name":"toggle_palette_only","editor":"Checkbox","rank":6,"default_val":false},"AAL":{"caption":"Show selection palette","name":"show_selection_palette","editor":"Checkbox","rank":8,"default_val":false},"AAM":{"caption":"Max selection size","name":"max_selection_size","editor":"DynamicValue","rank":9,"value":"number","optional":true,"default_val":24},"AAN":{"caption":"Hide after palette select","name":"hide_after_select","editor":"Checkbox","rank":10,"default_val":true},"AAO":{"caption":"Clickout will accept color","name":"clickout_fires_change","editor":"Checkbox","rank":11,"default_val":true},"AAP":{"caption":"Show previous color","name":"show_previous_color","editor":"Checkbox","rank":12,"default_val":false},"AAQ":{"caption":"Show buttons","name":"show_buttons","editor":"Checkbox","rank":13,"default_val":true},"AAV":{"caption":"Format","name":"preferred_format","editor":"Dropdown","rank":14,"default_val":"hex","optional":false},"AAW":{"caption":"Toggle palette more text","name":"togglepalettemoretext","editor":"StaticText","rank":15,"optional":true,"default_val":"more"},"AAX":{"caption":"Toggle palette less text","name":"togglepalettelesstext","editor":"StaticText","rank":16,"optional":true,"default_val":"less"},"AAZ":{"caption":"Cancel button text","name":"cancel_text","editor":"StaticText","rank":17,"default_val":"cancel","optional":true},"AAa":{"caption":"Choose button text","name":"choose_text","editor":"StaticText","rank":18,"default_val":"select","optional":true},"AAb":{"caption":"Background color","name":"background_color","editor":"Color","rank":19,"default_val":"rgba(238, 238, 238, 1)"},"AAc":{"caption":"Border color","name":"border_color","editor":"Color","rank":20,"default_val":"rgba(158, 158, 158, 1)"},"AAe":{"caption":"Corner roundness","name":"border_radius","editor":"Dropdown","rank":21,"default_val":"2","optional":true},"AAf":{"caption":"Allow empty color","name":"allow_empty","rank":22,"editor":"Checkbox","default_val":false}},"states":{"AAT":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":"function(i,n){i.initial_color}"}}},"events":{"AAU":{"caption":"color changed","name":"color_changed"}},"actions":{"AAk":{"caption":"Reset picker","code":{"fn":"function(t,n,e){function s(){const t=[\"4105640oUdZpV\",\"colorTest\",\"18QuCplc\",\"data\",\"1061326gkvNJZ\",\"10195NDqWUt\",\"1300wOlPHV\",\"value\",\"publishState\",\"1760816NwslON\",\"3694689MJIQGV\",\"3882840ZyIuSP\",\"set\",\"1lAMrUj\",\"49520LBVFUl\"];return(s=function(){return t})()}function r(t,n){const e=s();return(r=function(t,n){let s;return e[t-=133]})(t,n)}function u(t,n,e){const s=r;let u=t[s(145)][s(143)];$(\".\"+t[s(145)].id).spectrum(s(139),u),t[s(135)](s(134),u)}!function(t,n){const e=r,s=t();for(;;)try{const t=undefined;if(-parseInt(e(140))/1*(-parseInt(e(146))/2)+parseInt(e(137))/3+-parseInt(e(133))/4*(-parseInt(e(147))/5)+-parseInt(e(138))/6+-parseInt(e(142))/7+parseInt(e(136))/8*(-parseInt(e(144))/9)+-parseInt(e(141))/10===n)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(s,746085),u(t,n,e)}"}}},"code":{"initialize":{"fn":"function(t,n){function r(){var t=[\"1449HdYHDU\",\"div\",\"3184888NVOdPp\",\"975146MsoYZu\",\"100%\",\"10120580FroCag\",\"pow\",\"2121ICCFnV\",\"4984800LlBQLQ\",\"append\",\"picker\",\"data\",\"9042jdjpYV\",\"10369854Khtupi\",\"toString\",\"6212RpTPqL\",\"random\",'<input type=\"text\" class=\"',\"1TQhDQw\"];return(r=function(){return t})()}function a(t,n){var p=r();return(a=function(t,n){var r;return p[t-=252]})(t,n)}function p(t,n){var r=a,p=r(255)+(Math[r(261)]()*Math[r(270)](2,54))[r(259)](18),s;(s=$(r(262)+p+'\"/>')).css(\"width\",r(268)),s.css(\"height\",r(268)),t.canvas[r(254)](s),t.data[r(265)]=s,t[r(256)].id=p}!function(t,n){for(var r=a,p=t();;)try{var s;if(-parseInt(r(263))/1*(-parseInt(r(267))/2)+-parseInt(r(252))/3*(-parseInt(r(260))/4)+-parseInt(r(253))/5+-parseInt(r(257))/6*(-parseInt(r(264))/7)+-parseInt(r(266))/8+parseInt(r(258))/9+-parseInt(r(269))/10===n)break;p.push(p.shift())}catch(t){p.push(p.shift())}}(r,642570),p(t,n)}"},"update":{"fn":"function(e,t,o){function l(e,t){var o=r();return(l=function(e,t){var l;return o[e-=139]})(e,t)}function a(e,t,o){var a=l,r;e[a(156)][a(173)]=t[a(181)],null!=t[a(190)]&&(r=t.palette_colors[a(154)](0,99)),$(document)[a(176)]((function(){var o=a,l=t[o(181)];t[o(188)]&&(l=t.autobinding),null==l&&(l=o(164));var n=[[o(175),o(191),o(159),o(194),\"#e74c3c\",o(148),o(163),o(186),o(178),\"#9b59b6\",\"#000000\"]],s=e.data.id,c=s+\"style\",i=$(\".\"+s);s=e[o(156)].id;var u=t[o(171)],p=t[o(180)],d=t[o(160)];e[o(155)](o(185),l),$(o(147)+c+\" { background-color: \"+u+o(184)+p+\"; border-radius: \"+d+\"px;} </style>\").appendTo(\"head\"),i[o(187)]({color:l,showInput:t[o(182)],showInitial:t[o(172)],allowEmpty:t.allow_empty,showAlpha:t[o(192)],disabled:t[o(165)],localStorageKey:o(169),showPalette:t[o(146)],showPaletteOnly:t[o(162)],togglePaletteOnly:t[o(153)],showSelectionPalette:t[o(177)],clickoutFiresChange:t.clickout_fires_change,cancelText:t[o(167)],chooseText:t[o(174)],togglePaletteMoreText:t[o(189)],togglePaletteLessText:t[o(166)],replacerClassName:c,preferredFormat:t[o(183)],maxSelectionSize:t.max_selection_size,palette:null!=r?r:n,hideAfterPaletteSelect:t[o(157)],showButtons:t.show_buttons,change:function(t){var l=o;null!==t?e[l(155)](l(185),t[l(149)]()):e[l(155)](l(185),null),e[l(141)](null!==t?t.toString():null),e[l(142)](l(151),(function(){}))},show:e=>{var t=o;$(\".sp-container\")[t(143)](((e,o)=>{var l=t;-1===o[l(140)][l(139)](\"sp-hidden\")&&(o.style.filter=l(145))}))}})}))}function r(){var e=[\"togglepalettelesstext\",\"cancel_text\",\"130YynlXg\",\"aircolorpicker.bubble\",\"7891686bwTTEj\",\"background_color\",\"show_previous_color\",\"colorTest\",\"choose_text\",\"#ffffff\",\"ready\",\"show_selection_palette\",\"#2980b9\",\"127820wMuHHi\",\"border_color\",\"initial_color\",\"show_input\",\"preferred_format\",\"; border-color: \",\"value\",\"#0000ff\",\"spectrum\",\"autobinding\",\"togglepalettemoretext\",\"palette_colors\",\"#bdc3c7\",\"show_alpha\",\"1118832myPtSe\",\"#f39c12\",\"indexOf\",\"className\",\"publishAutobinding\",\"triggerEvent\",\"each\",\"4889640iZmSGs\",\"unset\",\"show_palette\",\"<style>.\",\"#1abc9c\",\"toString\",\"2565Bgaajn\",\"color_changed\",\"7848zoOqpA\",\"toggle_palette_only\",\"get\",\"publishState\",\"data\",\"hide_after_select\",\"21610rIImkF\",\"#f1c40f\",\"border_radius\",\"3305862WdIISR\",\"palette_only\",\"#17d9fd\",\"#000000\",\"disabled\"];return(r=function(){return e})()}!function(e,t){for(var o=l,a=e();;)try{var r;if(parseInt(o(158))/1*(parseInt(o(168))/2)+parseInt(o(193))/3+parseInt(o(179))/4+parseInt(o(144))/5+-parseInt(o(170))/6+-parseInt(o(161))/7+parseInt(o(152))/8*(-parseInt(o(150))/9)===t)break;a.push(a.shift())}catch(e){a.push(a.shift())}}(r,720345),a(e,t,o)}"},"reset":{"fn":"function(n,t){}"}}}}};
window._bubble_page_load_data.plugins_size['1498952719168x889602776416649200'] = 8124;
window.preloaded['plugin/third_party:1498952719168x889602776416649200:1.11.0'] = true;
window.plugins["1511633892621x172898325333540860"] = {"human":"Exit Intent","dependencies":{"use_jquery":true},"plugin_elements":{"AAD":{"display":"Exit Intent","add_is_visible":true,"fields":{"AAH":{"caption":"Distance","name":"distance","editor":"StaticNumber","rank":2,"default_val":100},"AAI":{"caption":"Method","name":"method","editor":"Dropdown","rank":0,"default_val":"Auto"},"AAK":{"caption":"Mouse fires when the mouse leaves the page (for desktops). History fires when the back button is pressed (for mobile browsers). Auto uses Mouse on desktops and History on mobiles.","name":"method_info","editor":"Label","rank":1},"AAL":{"caption":"The minimum distance in pixels from the top of the page to consider triggering for.","name":"distance_info","editor":"Label","rank":4},"AAN":{"caption":"Number of triggers","name":"number_of_triggers","rank":3,"editor":"DynamicValue","value":"number","default_val":1}},"events":{"AAE":{"caption":"User is about to exit","name":"user_is_about_to_exit"}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var method=properties.method;Bounceback.init({aggressive:!0,method:method.toLowerCase(),maxDisplay:properties.number_of_triggers,distance:properties.distance,onBounce:function(){instance.triggerEvent(\"user_is_about_to_exit\",(function(err){}))}})}"},"reset":{"fn":"function(instance,context){}"}}}}};
window._bubble_page_load_data.plugins_size['1511633892621x172898325333540860'] = 1362;
window.preloaded['plugin/third_party:1511633892621x172898325333540860:1.7.0'] = true;
window.plugins["1512408362152x607120591429304300"] = {"human":"PDF Generator","dependencies":{"use_jquery":true},"plugin_api":{"human":"PDF Generator","calls":{"AAH":{"name":"URL to PDF","method":"post","publish_as":"action","url":"https://v2.convertapi.com/url/to/pdf?Secret=[Secret]&Url=[URL]&FileName=[File Name (no extension)]&ConversionDelay=[Load Delay (s)]&Background=[Include Background]&PageOrientation=[Orientation]&PageSize=[Page Size]&MarginTop=[Margin Top (mm)]&MarginBottom=[Margin Bottom (mm)]&MarginLeft=[Margin Left (mm)]&MarginRight=[Margin Right (mm)]&StoreFile=true","initialized":true,"types":"{\"plugin_api.AAH\":{\"caption\":\"URL to PDF\",\"fields\":{\"_p_ConversionCost\":{\"ret_value\":\"number\",\"caption\":\"ConversionCost\"},\"_p_Files\":{\"ret_value\":\"list.api.1512408362152x607120591429304300.plugin_api.AAH.Files\",\"caption\":\"Files\"}}},\"plugin_api.AAH.Files\":{\"caption\":\"URL to PDF File\",\"fields\":{\"_p_FileName\":{\"ret_value\":\"text\",\"caption\":\"FileName\"},\"_p_FileSize\":{\"ret_value\":\"number\",\"caption\":\"FileSize\"},\"_p_Url\":{\"ret_value\":\"file\",\"caption\":\"Url\"}}}}","ret_value":"api.1512408362152x607120591429304300.plugin_api.AAH","data_type":"JSON","url_params":{"AFU":{"key":"Secret","private":true,"visibility":"secret"},"AFV":{"key":"URL","value":"https://nytimes.com","private":true},"AFX":{"key":"Load Delay (s)","value":"10","private":true},"AFY":{"key":"Include Background","value":"false","private":true},"AFZ":{"key":"Orientation","value":"portrait","private":true},"AFa":{"key":"Page Size","value":"letter","private":true},"AFb":{"key":"Margin Top (mm)","value":"10","private":true},"AFc":{"key":"Margin Bottom (mm)","value":"10","private":true},"AFd":{"key":"Margin Left (mm)","value":"10","private":true},"AFe":{"key":"Margin Right (mm)","value":"10","private":true},"AFf":{"key":"File Name (no extension)","value":"OutputFile","private":true}}},"AFh":{"0":"A","1":"F","2":"g","name":"URL to PDF","method":"post","publish_as":"data","url":"https://v2.convertapi.com/url/to/pdf?Secret=[Secret]&Url=[URL]&FileName=[File Name (no extension)]&ConversionDelay=[Load Delay (s)]&Background=[Include Background]&PageOrientation=[Orientation]&PageSize=[Page Size]&MarginTop=[Margin Top (mm)]&MarginBottom=[Margin Bottom (mm)]&MarginLeft=[Margin Left (mm)]&MarginRight=[Margin Right (mm)]&StoreFile=true","initialized":true,"types":"{\"plugin_api.AFh\":{\"caption\":\"URL to PDF\",\"fields\":{\"_p_ConversionCost\":{\"ret_value\":\"number\",\"caption\":\"ConversionCost\"},\"_p_Files\":{\"ret_value\":\"list.api.1512408362152x607120591429304300.plugin_api.AFh.Files\",\"caption\":\"Files\"}}},\"plugin_api.AFh.Files\":{\"caption\":\"URL to PDF File\",\"fields\":{\"_p_FileName\":{\"ret_value\":\"text\",\"caption\":\"FileName\"},\"_p_FileSize\":{\"ret_value\":\"number\",\"caption\":\"FileSize\"},\"_p_Url\":{\"ret_value\":\"file\",\"caption\":\"Url\"}}}}","ret_value":"api.1512408362152x607120591429304300.plugin_api.AFh","data_type":"JSON","url_params":{"AFU":{"key":"Secret","private":true,"visibility":"secret"},"AFV":{"key":"URL","value":"https://nytimes.com","private":true},"AFX":{"key":"Load Delay (s)","value":"10","private":true},"AFY":{"key":"Include Background","value":"false","private":true},"AFZ":{"key":"Orientation","value":"portrait","private":true},"AFa":{"key":"Page Size","value":"letter","private":true},"AFb":{"key":"Margin Top (mm)","value":"10","private":true},"AFc":{"key":"Margin Bottom (mm)","value":"10","private":true},"AFd":{"key":"Margin Left (mm)","value":"10","private":true},"AFe":{"key":"Margin Right (mm)","value":"10","private":true},"AFf":{"key":"File Name (no extension)","value":"OutputFile","private":true}}}}}};
window._bubble_page_load_data.plugins_size['1512408362152x607120591429304300'] = 3677;
window.preloaded['plugin/third_party:1512408362152x607120591429304300:1.0.1'] = true;
window.plugins["1515787032525x876315403042684900"] = {"human":"AirAlert","dependencies":{"use_jquery":true},"shared_keys":{"ACS":{"caption":"BgColor - Success","type":"client_safe"},"ACT":{"caption":"BgColor - Info","type":"client_safe"},"ACU":{"caption":"BgColor - Warning","type":"client_safe"},"ACV":{"caption":"BgColor - Error","type":"client_safe"},"ACW":{"caption":"TextColor - Success","type":"client_safe"},"ACX":{"caption":"TextColor - Info","type":"client_safe"},"ACY":{"caption":"TextColor - Warning","type":"client_safe"},"ACZ":{"caption":"TextColor - Error","type":"client_safe"},"ACa":{"caption":"Default Duration","type":"client_safe"}},"plugin_actions":{"ABu":{"display":"AirAlert - Custom","type":"client_side","fields":{"ABv":{"caption":"Heading","name":"heading","editor":"DynamicValue","rank":1,"value":"text","default_val":"Title"},"ABw":{"caption":"Message","name":"text","editor":"DynamicValue","rank":2,"value":"text","default_val":"Content goes here..."},"ABx":{"caption":"Show close button","name":"closeButton","editor":"Checkbox","rank":5,"default_val":true},"ABy":{"caption":"Position on page","name":"position","editor":"Dropdown","rank":6,"default_val":"Top Right"},"ABz":{"caption":"Hide after (ms)","name":"hideAfter","editor":"DynamicValue","rank":7,"value":"number","default_val":5000},"ACC":{"caption":"Display progress bar","name":"progressBar","editor":"Checkbox","rank":11,"default_val":false},"ACL":{"caption":"Icon to display","name":"icon","editor":"Dropdown","rank":3,"default_val":"None"},"ACM":{"caption":"Animation","name":"animation","editor":"Dropdown","rank":4,"default_val":"Plain"},"ACN":{"caption":"Max notifications at once","name":"maxNumber","editor":"StaticNumber","rank":12,"value":"number","default_val":5},"ACO":{"caption":"Progress bar color","name":"progressBarColor","editor":"DynamicValue","rank":10,"value":"text","default_val":"#9EC600"},"ACP":{"caption":"Text alignment","name":"textAlign","editor":"Dropdown","rank":13,"default_val":"Left"},"ACQ":{"caption":"Background color","name":"bgColor","editor":"DynamicValue","rank":8,"value":"text","default_val":"#FF1356"},"ACR":{"caption":"Text color","name":"textColor","editor":"DynamicValue","rank":9,"value":"text","default_val":"#FFFFFF"},"ACg":{"caption":"The Heading and Message fields will also accept valid HTML styling","name":"heading_and_message_also_accept_html_styling","editor":"Label","rank":0},"ACj":{"caption":"XSS Protection","name":"xss_protection","rank":14,"editor":"DynamicValue","value":"boolean","default_val":true}},"code":{"client":{"fn":"function(properties, context) {\n  \n  var positionMapping = {\n    \"Top Right\":\"top-right\",\n    \"Bottom Right\":\"bottom-right\",\n    \"Bottom Left\":\"bottom-left\",\n    \"Top Left\":\"top-left\",\n    \"Top Center\":\"top-center\",\n    \"Bottom Center\":\"bottom-center\"\n    };\n  var animationMapping = {\n    \"Fade\":\"fade\",\n    \"Slide\":\"slide\",\n    \"Plain\":\"plain\",\n  };\n  var iconMapping = {\n    \"Warning\":\"warning\",\n    \"Success\":\"success\",\n    \"Error\":\"error\",\n    \"Information\":\"info\"\n  };\n  var textAlignMapping = {\n    \"Left\":\"left\",\n    \"Center\":\"center\",\n    \"Right\":\"right\",\n  };\n  var settings = {};\n    \n  /*if (properties.xss_protection &&  typeof filterXSS === \"undefined\")\n      $.getScript(\"https://d2tf8y1b8kxrzw.cloudfront.net/serve_files/xss/xss.min.js\").then(() => {\n          showAlert();\n      });\n  else*/\n    showAlert();\n    \n    function showAlert() {\n  \n        if (properties.xss_protection) {\n          addToSettings('heading',filterXSS(properties.heading));\n          addToSettings('text',filterXSS(properties.text));\n        }\n        else \n          addToSettings('heading',properties.heading);\n          addToSettings('text',properties.text);\n      addToSettings('icon',iconMapping[properties.icon]);\n      addToSettings('showHideTransition',animationMapping[properties.animation]);\n      addToSettings('allowToastClose',properties.closeButton);\n      addToSettings('position',positionMapping[properties.position]);\n      addToSettings('hideAfter',properties.hideAfter);\n      addToSettings('stack',properties.maxNumber);\n      addToSettings('loader',properties.progressBar);\n      addToSettings('loaderBg',properties.progressBarColor);\n      addToSettings('textAlign',textAlignMapping[properties.textAlign]);\n      addToSettings('bgColor',properties.bgColor);\n      addToSettings('textColor',properties.textColor);\n\n\n      $(document).ready($.toast(settings));\n        \n    }\n  \n  function addToSettings(keyname,value) {\n    if ((value!==undefined)&&(value!==null)) settings[keyname] = value;\n  }\n  \n}"}}},"ACb":{"display":"AirAlert - Standard","type":"client_side","fields":{"ACc":{"caption":"Notification type","name":"type","editor":"Dropdown","rank":3,"default_val":"Success"},"ACd":{"caption":"Heading","name":"heading","editor":"DynamicValue","rank":1,"value":"text","default_val":"Title"},"ACe":{"caption":"Message","name":"text","editor":"DynamicValue","rank":2,"value":"text","default_val":"Content goes here..."},"ACh":{"caption":"The Heading and Message fields will also accept valid HTML styling","name":"heading_and_message_also_accept_html_styling","editor":"Label","rank":0},"ACi":{"caption":"XSS Protection","name":"xss_protection","rank":5,"editor":"DynamicValue","value":"boolean","default_val":true},"ACk":{"caption":"Position on page","name":"position","rank":4,"editor":"Dropdown","default_val":"Top Right"}},"code":{"client":{"fn":"function(properties, context) {\n  \n  //console.log(properties.type);\n  var genericDefaults = {\n    showHideTransition: 'plain',\n    allowToastClose: true,\n    position: 'top-right',\n    stack: 5,\n    loader: false,\n    textAlign: 'left'\n  }\n  \n  var themeDefaults = {\n    Success: {\n      bgColor: context.keys['BgColor - Success'] || '#E7FBEF',\n      textColor: context.keys['TextColor - Success'] || '#38ab69',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    },\n    Information: {\n      bgColor: context.keys['BgColor - Info'] || '#ebeced' ,\n      textColor: context.keys['TextColor - Info'] || '#333333',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    },\n    Warning: {\n      bgColor: context.keys['BgColor - Warning'] || '#FEF6E6',\n      textColor: context.keys['TextColor - Warning'] || '#e89320',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    },\n    Error: {\n      bgColor: context.keys['BgColor - Error'] || '#FBECEC',\n      textColor: context.keys['TextColor - Error'] || '#E9403F',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    }\n  }\n  \n  //console.log(themeDefaults[properties.type]);\n  \n  var positionMapping = {\n    \"Top Right\":\"top-right\",\n    \"Bottom Right\":\"bottom-right\",\n    \"Bottom Left\":\"bottom-left\",\n    \"Top Left\":\"top-left\",\n    \"Top Center\":\"top-center\",\n    \"Bottom Center\":\"bottom-center\"\n    };\n  var animationMapping = {\n    \"Fade\":\"fade\",\n    \"Slide\":\"slide\",\n    \"Plain\":\"plain\",\n  };\n  var iconMapping = {\n    \"Warning\":\"warning\",\n    \"Success\":\"success\",\n    \"Error\":\"error\",\n    \"Information\":\"info\"\n  };\n  var textAlignMapping = {\n    \"Left\":\"left\",\n    \"Center\":\"center\",\n    \"Right\":\"right\",\n  };\n  \n  var settings = $.extend({},genericDefaults,themeDefaults[properties.type]);\n    \n  /*if (properties.xss_protection && typeof filterXSS === \"undefined\")\n      $.getScript(\"https://d2tf8y1b8kxrzw.cloudfront.net/serve_files/xss/xss.min.js\").then(() => {\n          showAlert();\n      });\n  else*/\n    showAlert();\n  \n  function showAlert() {\n      \n      // Set the position of the alert\n      addToSettings('position',positionMapping[properties.position]);\n      \n      //console.log(settings);\n      if ((properties.heading!==undefined)&&(properties.heading!==null)) {\n          if (properties.xss_protection)\n            addToSettings('heading',\"<div style='padding: 6px 6px 0px';><style>h2{ font-family: 'Inter', sans-serif; !important };</style><b><h2 style='font-size:16px'>\" + filterXSS(properties.heading) + \"</h2></b></div>\");\n          else\n            addToSettings('heading',\"<div style='padding: 6px 6px 0px';><style>h2{ font-family: 'Inter', sans-serif; !important };</style><b><h2 style='font-size:16px'>\" + properties.heading + \"</h2></b></div>\");\n      }\n      if ((properties.text!==undefined)&&(properties.text!==null)) {\n          if (properties.xss_protection)\n            addToSettings('text',\"<div style='padding: 0px 6px 6px';><style>p{ font-family: 'Inter', sans-serif; font-weight: 500; line-height:20px}</style><p style='font-size:14px';>\" + filterXSS(properties.text) + \"</p></div>\");\n          else\n            addToSettings('text',\"<div style='padding: 0px 6px 6px';><style>p{ font-family: 'Inter', sans-serif; font-weight: 500; line-height:20px}</style><p style='font-size:14px';>\" + properties.text + \"</p></div>\");\n      }\n    //  addToSettings('icon',iconMapping[properties.type]);\n\n      $(document).ready($.toast(settings));\n      \n  }\n  \n  function addToSettings(keyname,value) {\n    if ((value!==undefined)&&(value!==null)) settings[keyname] = value;\n  }\n  \n}"}}},"ACf":{"display":"AirAlert - Clear all","type":"client_side","code":{"client":{"fn":"function(properties, context) {\n\n\n  //Load any data \n  $.toast().reset('all');\n\n\n\n  //Do the operation\n\n\n\n}"}}}}};
window._bubble_page_load_data.plugins_size['1515787032525x876315403042684900'] = 9548;
window.preloaded['plugin/third_party:1515787032525x876315403042684900:2.1.0'] = true;
window.plugins["1528204832671x559811991300997100"] = {"human":"TimerCheck","dependencies":{"use_jquery":false},"plugin_elements":{"AAC":{"display":"Timer","property_applications":{"resizable":false,"MinWidth":false},"add_is_visible":true,"fields":{"AAD":{"caption":"milliseconds","name":"milliseconds","rank":0,"editor":"DynamicValue","value":"number","default_val":0,"optional":true}},"states":{"AAG":{"caption":"getString","name":"getString","value":"text","initialization_code":{"fn":"function(a,b){return\"00:00:00\"};"}}},"events":{"AAE":{"caption":"finished","name":"finished"}},"actions":{"AAH":{"caption":"stop","code":{"fn":"function(a,b,c){a.data.timer.off()};"}},"AAI":{"caption":"init","code":{"fn":"function(a,b,c){a.data.timer.init(parseInt(b.milliseconds))};"},"fields":{"AAJ":{"caption":"milliseconds","name":"milliseconds","rank":0,"editor":"DynamicValue","value":"number","default_val":60000}}}},"code":{"initialize":{"fn":"function(a,c){a.data.timer={id:null,ms:0,hours:0,minutes:0,seconds:0,getString:function(){return(\"0\"+a.data.timer.hours).slice(-2)+\":\"+(\"0\"+a.data.timer.minutes).slice(-2)+\":\"+(\"0\"+a.data.timer.seconds).slice(-2)},off:function(){a.data.timer.id&&(clearInterval(a.data.timer.id),a.data.timer.id=null)},show:function(){a.data.timer.hours=Math.floor(a.data.timer.ms/1E3/60/60);a.data.timer.minutes=Math.floor(a.data.timer.ms/1E3/60-60*a.data.timer.hours);a.data.timer.seconds=Math.floor(a.data.timer.ms/\n1E3-3600*a.data.timer.hours-60*a.data.timer.minutes);a.publishState(\"getString\",a.data.timer.getString())},check:function(){0>=a.data.timer.ms&&(a.data.timer.ms=0,a.data.timer.off(),a.triggerEvent(\"finished\"))},init:function(b){a.data.timer.off();a.data.timer.ms=b;a.data.timer.check();a.data.timer.show();a.data.timer.id=setInterval(function(){a.data.timer.ms-=1E3;a.data.timer.check();a.data.timer.show()},1E3)}}};"},"update":{"fn":"function(instance, properties, context) {\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}}}}};
window._bubble_page_load_data.plugins_size['1528204832671x559811991300997100'] = 1946;
window.preloaded['plugin/third_party:1528204832671x559811991300997100:1.0.0'] = true;
window.plugins["1528245042063x718662409726459900"] = {"human":"HotJar Analytics & Site Recording","dependencies":{"use_jquery":true},"plugin_actions":{"AAc":{"display":"Trigger a Recording (Plus Plan Only!)","type":"client_side","fields":{"AAd":{"caption":"Trigger Name","name":"trigger","rank":0,"editor":"DynamicValue","value":"text","default_val":"MyTrigger"}},"code":{"client":{"fn":"function(properties,context){try{hj(\"trigger\",properties.trigger)}catch(err){console.log(err)}}"}}},"AAe":{"display":"tag a recording (plus plan only!)","type":"client_side","fields":{"AAf":{"caption":"List of Tags?","name":"isList","rank":0,"editor":"Checkbox","default_val":false},"AAg":{"caption":"List Of Tags","name":"list","rank":1,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"AAh":{"caption":"Single Tag","name":"single","rank":2,"editor":"DynamicValue","value":"text","optional":true,"default_val":"New Visitor"}},"code":{"client":{"fn":"function(properties,context){if(!0===properties.isList)try{var ln=properties.list.length();hj(\"tagRecording\",[properties.list.get(0,ln)])}catch(err){console.log(err)}else try{hj(\"tagRecording\",[properties.single])}catch(err){console.log(err)}}"}}}}};
window._bubble_page_load_data.plugins_size['1528245042063x718662409726459900'] = 1163;
window.preloaded['plugin/third_party:1528245042063x718662409726459900:1.10.0'] = true;
window.plugins["1531976932866x526991388795732000"] = {"human":"SendGrid Contacts","dependencies":{"use_jquery":true},"plugin_api":{"human":"Sendgrid Campaigns","auth":"private_key_header","calls":{"AAC":{"method":"post","publish_as":"action","name":"Create List","url":"https://api.sendgrid.com/v3//marketing/lists","params":{"AAD":{"key":"name","value":"","doc":""}},"initialized":true,"types":"{\"plugin_api.AAC\":{\"caption\":\"Create List\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_contact_count\":{\"ret_value\":\"number\",\"caption\":\"contact_count\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAC","should_reinitialize":true},"AAE":{"method":"get","publish_as":"data","name":"Retrieve List","url":"https://api.sendgrid.com/v3/marketing/lists/[list-id]","url_params":{"AAF":{"key":"list-id","value":""}},"initialized":true,"types":"{\"plugin_api.AAE\":{\"caption\":\"Retrieve List\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_contact_count\":{\"ret_value\":\"number\",\"caption\":\"contact_count\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAE","should_reinitialize":true},"AAG":{"method":"patch","publish_as":"action","name":"Update List","url":"https://api.sendgrid.com/v3/marketing/lists/[list-id]","params":{"AAH":{"key":"name","value":""}},"url_params":{"AAI":{"key":"list-id","value":"","visibility":"public"}},"initialized":true,"types":"{\"plugin_api.AAG\":{\"caption\":\"Update List\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_contact_count\":{\"ret_value\":\"number\",\"caption\":\"contact_count\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAG","should_reinitialize":true},"AAN":{"name":"Add Contact to List","method":"put","publish_as":"action","url":"https://api.sendgrid.com/v3/marketing/contacts","initialized":true,"body":"{\n  \"list_ids\": [\n    \"<list-ids>\"\n  ],\n  \"contacts\": [\n    {\n      \"email\": \"<email>\"\n    }\n  ]\n}","body_type":"json","types":"{\"plugin_api.AAN\":{\"caption\":\"Add Contact to List\",\"fields\":{}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAN","body_params":{"ABO":{"key":"list-ids","value":"","private":true},"ABP":{"key":"email","value":"","private":true}},"should_reinitialize":true},"AAT":{"name":"Create a Contact","method":"put","publish_as":"action","url":"https://api.sendgrid.com/v3/marketing/contacts","body":"{\n  \"list_ids\": [\n    \"<list-id>\"\n  ],\n  \"contacts\": [\n    {\n      \"email\": \"<email>\",\n      \"first_name\": \"<first-name>\",\n      \"last_name\": \"<last-name>\"\n    }\n  ]\n}","initialized":true,"types":"{\"plugin_api.AAT\":{\"caption\":\"Create a Contact\",\"fields\":{\"_p_job_id\":{\"ret_value\":\"text\",\"caption\":\"job_id\",\"sample_value\":\"67296c4a-fc13-4dcd-b1a0-f9fe7f5efd84\"}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAT","body_params":{"ABS":{"key":"list-id","value":"61be0e0c-bea4-4730-99ee-1382a179954c","private":true,"allow_blank":false},"ABT":{"key":"email","value":"johnboy@test.com","private":true},"ABU":{"key":"first-name","value":"John","private":true,"doc":""},"ABV":{"key":"last-name","value":"Boy","private":true}},"should_reinitialize":false},"AAY":{"name":"Retrieve all Contacts","method":"get","publish_as":"data","url":"https://api.sendgrid.com/v3/marketing/contacts","params":{"AAZ":{"key":"page","value":"1","optional":false},"AAa":{"key":"page_size","value":"100","optional":false}},"initialized":true,"types":"{\"plugin_api.AAY\":{\"caption\":\"Retrieve all Recipient\",\"fields\":{\"_p_result\":{\"ret_value\":\"list.api.1531976932866x526991388795732000.plugin_api.AAY.result\",\"caption\":\"result\"},\"_p_contact_count\":{\"ret_value\":\"number\",\"caption\":\"contact_count\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]}}},\"plugin_api.AAY.result\":{\"caption\":\"Retrieve all Recipients result\",\"fields\":{\"_p_address_line_1\":{\"ret_value\":\"text\",\"caption\":\"address_line_1\"},\"_p_address_line_2\":{\"ret_value\":\"text\",\"caption\":\"address_line_2\"},\"_p_alternate_emails\":{\"ret_value\":\"text\",\"caption\":\"alternate_emails\"},\"_p_city\":{\"ret_value\":\"text\",\"caption\":\"city\"},\"_p_country\":{\"ret_value\":\"text\",\"caption\":\"country\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\"},\"_p_first_name\":{\"ret_value\":\"text\",\"caption\":\"first_name\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_last_name\":{\"ret_value\":\"text\",\"caption\":\"last_name\"},\"_p_list_ids\":{\"ret_value\":\"list.text\",\"caption\":\"list_ids\"},\"_p_postal_code\":{\"ret_value\":\"text\",\"caption\":\"postal_code\"},\"_p_state_province_region\":{\"ret_value\":\"text\",\"caption\":\"state_province_region\"},\"_p_phone_number\":{\"ret_value\":\"text\",\"caption\":\"phone_number\"},\"_p_whatsapp\":{\"ret_value\":\"text\",\"caption\":\"whatsapp\"},\"_p_line\":{\"ret_value\":\"text\",\"caption\":\"line\"},\"_p_facebook\":{\"ret_value\":\"text\",\"caption\":\"facebook\"},\"_p_unique_name\":{\"ret_value\":\"text\",\"caption\":\"unique_name\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]},\"_p_created_at\":{\"ret_value\":\"text\",\"caption\":\"created_at\"},\"_p_updated_at\":{\"ret_value\":\"text\",\"caption\":\"updated_at\"}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAY","should_reinitialize":true},"AAb":{"name":"Retrieve Single Contact","method":"get","publish_as":"data","url":"https://api.sendgrid.com/v3/marketing/contacts/[contact-id]","url_params":{"AAq":{"key":"contact-id","value":"","private":true}},"initialized":true,"types":"{\"plugin_api.AAb\":{\"caption\":\"Retrieve Single Recipient\",\"fields\":{\"_p_address_line_1\":{\"ret_value\":\"text\",\"caption\":\"address_line_1\"},\"_p_address_line_2\":{\"ret_value\":\"text\",\"caption\":\"address_line_2\"},\"_p_city\":{\"ret_value\":\"text\",\"caption\":\"city\"},\"_p_country\":{\"ret_value\":\"text\",\"caption\":\"country\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\"},\"_p_first_name\":{\"ret_value\":\"text\",\"caption\":\"first_name\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_last_name\":{\"ret_value\":\"text\",\"caption\":\"last_name\"},\"_p_list_ids\":{\"ret_value\":\"list.text\",\"caption\":\"list_ids\"},\"_p_postal_code\":{\"ret_value\":\"text\",\"caption\":\"postal_code\"},\"_p_state_province_region\":{\"ret_value\":\"text\",\"caption\":\"state_province_region\"},\"_p_phone_number\":{\"ret_value\":\"text\",\"caption\":\"phone_number\"},\"_p_whatsapp\":{\"ret_value\":\"text\",\"caption\":\"whatsapp\"},\"_p_line\":{\"ret_value\":\"text\",\"caption\":\"line\"},\"_p_facebook\":{\"ret_value\":\"text\",\"caption\":\"facebook\"},\"_p_unique_name\":{\"ret_value\":\"text\",\"caption\":\"unique_name\"},\"_p_created_at\":{\"ret_value\":\"date\",\"caption\":\"created_at\"},\"_p_updated_at\":{\"ret_value\":\"date\",\"caption\":\"updated_at\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAb"},"AAd":{"name":"Delete Contact","method":"delete_method","publish_as":"action","url":"https://api.sendgrid.com/v3/marketing/contacts","initialized":true,"params":{"ABQ":{"key":"ids","value":"","private":true,"querystring":true}},"types":"{\"plugin_api.AAd\":{\"caption\":\"Delete Contact\",\"fields\":{}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAd","should_reinitialize":true},"AAg":{"0":"A","1":"A","2":"f","method":"get","publish_as":"data","name":"Retrieve All Lists","url":"https://api.sendgrid.com/v3/marketing/lists","initialized":true,"types":"{\"plugin_api.AAg\":{\"caption\":\"Retrieve All List\",\"fields\":{\"_p_result\":{\"ret_value\":\"list.api.1531976932866x526991388795732000.plugin_api.AAg.result\",\"caption\":\"result\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]}}},\"plugin_api.AAg.result\":{\"caption\":\"Retrieve All Lists result\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\"},\"_p_contact_count\":{\"ret_value\":\"number\",\"caption\":\"contact_count\"},\"_p__metadata.self\":{\"ret_value\":\"text\",\"caption\":\"_metadata self\",\"path\":[\"_metadata\",\"self\"]}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.AAg"},"ABZ":{"0":"A","1":"B","2":"Y","name":"Remove Contact from List","method":"delete_method","publish_as":"action","url":"https://api.sendgrid.com/v3/marketing/lists/[list-id]/contacts","initialized":true,"body":"","body_type":"json","types":"{\"plugin_api.ABZ\":{\"caption\":\"Remove Contact from List\",\"fields\":{\"_p_job_id\":{\"ret_value\":\"text\",\"caption\":\"job_id\",\"sample_value\":\"4c421387-180c-4ace-b7b1-26f465c18276\"}}}}","ret_value":"api.1531976932866x526991388795732000.plugin_api.ABZ","should_reinitialize":true,"url_params":{"ABf":{"key":"list-id","value":"","private":true}},"params":{"ABg":{"key":"contact_ids","value":"","private":true,"querystring":true}}}}}};
window._bubble_page_load_data.plugins_size['1531976932866x526991388795732000'] = 9770;
window.preloaded['plugin/third_party:1531976932866x526991388795732000:4.11.0'] = true;
window.plugins["1539124824422x194279356396994560"] = {"human":"File Downloader","dependencies":{"use_jquery":true},"plugin_actions":{"AAC":{"display":"Download file","type":"client_side","fields":{"AAG":{"caption":"File","name":"file","rank":0,"editor":"DynamicValue","value":"file"},"AAI":{"caption":"File name","name":"fileName","rank":1,"editor":"DynamicValue","value":"text","default_val":"my_file","optional":false}},"code":{"client":{"fn":"function(c,f){var b=c.file,e=c.fileName,d=null;if(b)if(1<b.split(\",\").length)alert(\"Please select only a single file!\");else{var a=new XMLHttpRequest;a.open(\"GET\",b);a.responseType=\"blob\";a.onload=function(){200!=a.status?(console.log(\"Status error: \"+a.status),alert(\"There was an issue generating your file. Please check your file type and try again.\")):(d=a.response,download(d,e))};a.send()}else alert(\"Please select a file!\")};","add_debugger":false}}}}};
window._bubble_page_load_data.plugins_size['1539124824422x194279356396994560'] = 866;
window.preloaded['plugin/third_party:1539124824422x194279356396994560:1.0.0'] = true;
window.plugins["1543086664409x454646894723334140"] = {"human":"PDF Conjurer","dependencies":{"use_jquery":false,"plugin_api_version":"1"},"plugin_elements":{"AAT":{"display":"PDF Model","add_is_visible":false,"fields":{"ABi":{"caption":"Congratulations fellow Bubbler! You've just attained more power by installing this plugin. Come visit your custom plugin shop www.unlimitedbubbling.dev and get even more! Just want to say thank you? Then buy me a coffee: https://ko-fi.com/viniciusbrito 😊☕","editor":"Label","name":"info","rank":0}},"states":{"AFm":{"caption":"Saved PDF","name":"saved_pdf","value":"file","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AOr":{"caption":"Debug log content","name":"debug_log_dump","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"AFl":{"caption":"finished uploading and is available in element state","name":"pdf_uploaded_and_available_in_element_state"},"AOq":{"caption":"Debug log available","name":"debug_log_available"}},"actions":{"AAV":{"caption":"Create text on","fields":{"AAW":{"caption":"Text","editor":"DynamicValue","name":"inputtedText","rank":0,"value":"text","optional":true},"AAc":{"caption":"Style","editor":"DynamicValue","name":"textStyles","optional":true,"rank":2,"value":"text"},"AAn":{"caption":"Left Margin","editor":"DynamicValue","name":"left_margin","rank":5,"value":"number","default_val":0},"AAo":{"caption":"Top Margin","editor":"DynamicValue","name":"top_margin","rank":6,"value":"number","default_val":0},"AAp":{"caption":"Right Margin","editor":"DynamicValue","name":"right_margin","rank":7,"value":"number","default_val":0},"AAq":{"caption":"Bottom Margin","editor":"DynamicValue","name":"bottom_margin","rank":8,"value":"number","default_val":0},"ABC":{"caption":"Below you will be able to set extra margins for your text element. Leave the box unchecked for a default display. (Will ignore any numbers below)","editor":"Label","name":"margin_info","rank":4},"ABM":{"caption":"Use text custom margins?","default_val":false,"editor":"Checkbox","name":"text_custom_margins","rank":3},"AEP":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":9},"AEa":{"caption":"Is this element being put into a Multi Column?","default_val":false,"editor":"Checkbox","name":"into_multi_column","rank":10},"AEb":{"caption":"This Column's Width","default_val":"Fit available space","editor":"Dropdown","name":"this_column_width","optional":true,"rank":11},"AEc":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multi_column_name","optional":true,"rank":13,"value":"text"},"AFS":{"caption":"Is this element being put into the footer?","default_val":false,"editor":"Checkbox","name":"into_footer","rank":14},"AFZ":{"caption":"Is this element being put into the header?","default_val":false,"editor":"Checkbox","name":"into_header","rank":15},"AFr":{"caption":"Is this element being put into the background?","name":"into_background","rank":16,"editor":"Checkbox","default_val":false},"AGF":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":17,"editor":"Label"},"AGG":{"caption":"Structure name","name":"repeating_structure_name","rank":18,"editor":"DynamicValue","value":"text","optional":true},"AGH":{"caption":"Text list","name":"text_list","rank":19,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AHw":{"caption":"Parse BBcode","name":"parse_bbcode","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"AOw":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":12,"editor":"DynamicValue","value":"number","optional":true}},"code":{"fn":"function(instance, properties, context) {\n\n\n\n\n  instance.data.listConfiguration = [];\n\n  if (!instance.data.BBcodeParser && properties.parse_bbcode) {\n\n    function getParser(\n      fontsDictionary,\n      addImageIntoDictionary,\n      errorHandler = () => { },\n      codeLayout = { fillColor: () => '#23241f', vLineWidth: () => 0, hLineWidth: () => 0 },\n      quoteLayout = { vLineWidth: () => 5, vLineColor: () => '#ccc', hLineWidth: () => 0, paddingLeft: () => 20 }\n    ) {\n      // Prototypes\n\n      function convertToPDFMakeTable(bbCodeTable) {\n        const tableRows = bbCodeTable.match(/\\[tr\\](.*?)\\[\\/tr\\]/gs) || [];\n        const tableData = [];\n\n        tableRows.forEach((row) => {\n          const tableCells = row.match(/\\[td\\](.*?)\\[\\/td\\]/gs) || [];\n          const rowData = [];\n\n          tableCells.forEach((cell) => {\n            const cellContent = cell.replace(/\\[td\\]|\\[\\/td\\]/g, '');\n\n            parsedCellContent = instance.data.BBcodeParserInternal.parseString(cellContent);\n            console.log(\"cell content is: \", cellContent)\n            console.log(\"parsed cell content is: \", parsedCellContent)\n\n            rowData.push({ text: parsedCellContent });\n          });\n\n          tableData.push(rowData);\n        });\n\n        const pdfmakeTable = {\n          table: {\n            body: tableData\n          }\n        };\n\n        return pdfmakeTable;\n      }\n\n      String.prototype.findClosingTag = function (tagType) {\n        const tags = new Tags();\n\n        const openingTagPattern = tags.isANotParameterizedTag(tagType)\n          ? Patterns.getNotParameterizedOpeningTag([tagType], 'g')\n          : Patterns.getOpeningTag([tagType], 'g');\n\n        const closingTagPattern = Patterns.getClosingTag([tagType], 'g');\n\n        const openingTagPositions = [...this.matchAll(openingTagPattern)].map((match) => match.index);\n\n        const closingTagPositions = [...this.matchAll(closingTagPattern)].map((match) => match.index);\n\n        if (closingTagPositions.length === 0 || openingTagPositions.length === 0) {\n          return -1;\n        }\n\n        if (closingTagPositions.length === 1 || openingTagPositions.length === 1) {\n          const [position] = closingTagPositions;\n          return position;\n        }\n\n        for (let position = 0; position < closingTagPositions.length; position++) {\n          if (openingTagPositions[position + 1] > closingTagPositions[position]) {\n            return closingTagPositions[position];\n          }\n        }\n\n        const lastPosition = closingTagPositions[closingTagPositions.length - 1];\n\n        return lastPosition;\n      };\n\n      String.prototype.chopString = function (openingTagsPattern, hasClosingTag = true) {\n        let string = String(this);\n\n        let hasStyles = string.match(openingTagsPattern);\n\n        if (!hasStyles) return string;\n\n        const choppedString = [];\n\n        while (hasStyles) {\n          const [tag, tagType] = hasStyles;\n          const { index: openingTagPosition } = hasStyles;\n\n          // If there is some text before the tag\n          if (openingTagPosition > 0) {\n            const firstStringPart = string.slice(0, openingTagPosition);\n            choppedString.push(firstStringPart);\n          }\n\n          const closingTagLength = hasClosingTag ? `[/${tagType}]`.length : 0;\n\n          const closingTagPosition = hasClosingTag ? string.findClosingTag(tagType) : -1;\n\n          if (hasClosingTag && closingTagPosition === -1) {\n            return [...choppedString, string];\n          }\n\n          // Calculate where the chop needs to stop\n          const endPosition = hasClosingTag ? closingTagPosition + closingTagLength : openingTagPosition + tag.length;\n\n          // Take the tag part of the string and put it into the array\n          const tagStringPart = string.slice(openingTagPosition, endPosition);\n          choppedString.push(tagStringPart);\n\n          // The rest of the string\n          const restStringPart = string.slice(endPosition);\n\n          // If there isn't a string rest part\n          if (!restStringPart) {\n            break;\n          } else {\n            string = restStringPart;\n            hasStyles = string.match(openingTagsPattern);\n\n            if (!hasStyles) choppedString.push(restStringPart);\n          }\n        }\n\n        return choppedString;\n      };\n\n      String.prototype.isOpenTagComeFirst = function (tag) {\n        const tags = new Tags();\n\n        const openTag = tags.isANotParameterizedTag(tag) ? `[${tag}]` : `[${tag}`;\n        const closeTag = `[/${tag}]`;\n\n        return this.indexOf(openTag) <= this.indexOf(closeTag);\n      };\n\n      String.prototype.isAListString = function () {\n        return this.search(/^\\[(?:ul|ol)(?:.*?)\\]/s) !== -1;\n        // return this.startsWith('[ul]') || this.startsWith('[ol]');\n      };\n\n      String.prototype.thereIsAList = function () {\n        return this.search(/\\[(?:ul|ol)(.*?)\\]/s) !== -1;\n        // return this.includes('[ul]') || this.includes('[ol]');\n      };\n\n      // Helpers\n\n      class Tags {\n        constructor() {\n          this.tags = {\n            styles: ['b', 'i', 'u', 's', 'sup', 'sub', 'font', 'color', 'size', 'url', 'email', 'highlight'],\n            media: ['img'],\n            list: ['ul', 'ol', 'li'],\n            title: ['h1', 'h2', 'h3', 'h4'],\n            extra: ['code', 'quote', 'table'],\n            alignment: ['left', 'center', 'right', 'justify'],\n            withoutClosing: ['hr'],\n          };\n        }\n\n        getAllTags(...except) {\n          const tags = Object.values(this.tags).flat();\n\n          return tags.filter((tag) => !except.includes(tag));\n        }\n\n        getBreakLineTags(...except) {\n          const { list, alignment, withoutClosing, title, extra, media } = this.tags;\n          const tags = [...list, ...alignment, ...withoutClosing, ...title, ...extra, ...media];\n\n          if (!except.includes('li')) except.push('li');\n\n          return tags.filter((tag) => !except.includes(tag));\n        }\n\n        getNotParameterizedTag(...except) {\n          const { styles, title, extra } = this.tags;\n          const tags = [...styles, ...title, ...extra];\n\n          except.push('font', 'color', 'size', 'url', 'email', 'highlight');\n\n          return tags.filter((tag) => !except.includes(tag));\n        }\n\n        isANotParameterizedTag(tag) {\n          return this.getNotParameterizedTag().includes(tag);\n        }\n      }\n\n      class Patterns {\n        static prepareTags(...tags) {\n          return tags.sort((a, b) => b.length - a.length).join('|');\n        }\n\n        static getOpeningTag(tagTypes, flags = '') {\n          const tags = Patterns.prepareTags(...tagTypes);\n          return new RegExp(`\\\\[(${tags})=?(.*?)\\\\]`, flags);\n        }\n\n        static getClosingTag(tagTypes, flags = '') {\n          const tags = Patterns.prepareTags(...tagTypes);\n          return new RegExp(`\\\\[\\\\/(${tags})\\\\]`, flags);\n        }\n\n        static getFullTag(tagTypes, flags = '') {\n          const tags = Patterns.prepareTags(...tagTypes);\n          return new RegExp(`^\\\\[(${tags})=?(.*?)\\\\](.*)\\\\[\\\\/\\\\1\\\\]$`, flags);\n        }\n\n        static getBreakLineBeforeTag(tagTypes, flags = '') {\n          const tags = Patterns.prepareTags(...tagTypes);\n          return new RegExp(`(?<=\\\\[\\\\/?(.*?)\\\\])\\n+(?=\\\\[\\\\/?(?:${tags})\\\\])`, flags);\n        }\n\n        static getBreakLineAfterTag(tagTypes, flags = '') {\n          const tags = Patterns.prepareTags(...tagTypes);\n          return new RegExp(`(?<=\\\\[\\\\/?(?:${tags})\\\\])\\n`, flags);\n        }\n\n        static getNotParameterizedOpeningTag(tagTypes, flags = '') {\n          const tags = Patterns.prepareTags(...tagTypes);\n          return new RegExp(`\\\\[(${tags})\\\\]`, flags);\n        }\n      }\n\n      class ParserHelper {\n        static pipe(functions, initialValue) {\n          return functions.reduce((a, fn) => fn(a), initialValue);\n        }\n\n        static getHEXColor(color) {\n          if (color.startsWith('rgb')) {\n            const [r, g, b] = color.match(/\\d+/g).map(Number);\n\n            return [r, g, b].reduce((a, b) => a + b.toString(16).padStart(2, '0'), '#');\n          }\n          return color;\n        }\n\n        static generateRandomValues(length) {\n          const number = Math.floor(Math.random() * 10 ** length);\n\n          return String(number).padStart(length, '0');\n        }\n\n        static getImageProperties(value) {\n          const input = value.trim();\n\n          if (input.includes('x')) {\n            const [width, height] = input.split('x').map(Number);\n\n            const options = {};\n            if (width) options.width = width;\n            if (height) options.height = height;\n\n            return options;\n          } else {\n            const properties = input.split(' ').map((property) => {\n              const [key, value] = property.split('=');\n\n              return [key, Number(value)];\n            });\n\n            return Object.fromEntries(properties);\n          }\n        }\n\n        static getNewLineByTag(text, tag, value, options = {}) {\n          let newLine = {};\n\n          //Checking the closeTag type\n          switch (tag) {\n            case 'center':\n            case 'left':\n            case 'right':\n            case 'justify':\n              newLine = { text, ...options, alignment: tag };\n              break;\n\n            case 'size': {\n              const sizes = [10, 13, 16, 18, 24, 32, 48];\n\n              const size = Number(value);\n\n              newLine = { text, ...options, fontSize: sizes[size - 1] };\n              break;\n            }\n\n            case 'color': {\n              const color = ParserHelper.getHEXColor(value);\n              newLine = { text, ...options, color };\n              break;\n            }\n\n            case 'b': {\n              newLine = { text, ...options, bold: true };\n              break;\n            }\n\n            case 'i': {\n              newLine = { text, ...options, italics: true };\n              break;\n            }\n\n            case 'u': {\n              newLine = { text, ...options, decoration: 'underline' };\n              break;\n            }\n\n            case 's': {\n              newLine = { text, ...options, decoration: 'lineThrough' };\n              break;\n            }\n\n            case 'sup': {\n              const sup = { offset: '15%' };\n              newLine = { text, ...options, sup };\n              break;\n            }\n\n            case 'sub': {\n              const sub = { offset: '15%' };\n              newLine = { text, ...options, sub };\n              break;\n            }\n\n            case 'url': {\n              const link = value;\n\n              const decoration = 'underline';\n              const color = 'blue';\n\n              newLine = { text, ...options, link, decoration, color };\n              break;\n            }\n\n            case 'email': {\n              const email = value;\n\n              const link = 'mailto:' + email;\n              const decoration = 'underline';\n              const color = 'blue';\n\n              newLine = { text, ...options, link, decoration, color };\n              break;\n            }\n\n            case 'font': {\n              const font = value.replace(/\\\"/g, '');\n\n              if (fontsDictionary && fontsDictionary[font]) {\n                options.font = font;\n              } else {\n                const error = new Error(`Font not found: ${font}\\nPlease check if the font was loaded before use it`);\n                errorHandler(error);\n              }\n\n              newLine = { text, ...options };\n              break;\n            }\n\n            case 'ul': {\n              newLine = { ul: text, ...options };\n              break;\n            }\n\n            case 'ol': {\n              newLine = { ol: text, ...options };\n              break;\n            }\n\n            case 'li': {\n              if (text.thereIsAList()) {\n                newLine = { stack: text, ...options };\n              } else {\n                newLine = { text, ...options };\n              }\n              break;\n            }\n\n            case 'table': {\n\n              let table = convertToPDFMakeTable(text);\n              //console.log(\"table is\", table)\n  \n              newLine = table;\n              break;\n            }\n\n            case 'h1': {\n              newLine = { text, ...options, fontSize: 26 };\n              break;\n            }\n\n            case 'h2': {\n              newLine = { text, ...options, fontSize: 20 };\n              break;\n            }\n\n            case 'h3': {\n              newLine = { text, ...options, fontSize: 16 };\n              break;\n            }\n\n            case 'h4': {\n              newLine = { text, ...options, fontSize: 13 };\n              break;\n            }\n\n            case 'highlight': {\n              const background = ParserHelper.getHEXColor(value);\n              newLine = { text, ...options, background };\n              break;\n            }\n\n            case 'code': {\n              newLine = { text, ...options, color: '#c7254e' };\n              break;\n            }\n\n            case 'quote': {\n              const parser = new BBCodeParser();\n              const parsedText = parser.getParsedText(text);\n\n              newLine = {\n                layout: quoteLayout,\n                table: {\n                  widths: ['*'],\n                  body: [[{ text: parsedText }]],\n                },\n                ...options,\n              };\n              break;\n            }\n\n            case 'img': {\n              const link = text.startsWith('http') ? text : 'https:' + text;\n\n              const imageName = ParserHelper.generateRandomValues(8) + '-image-' + text.slice(text.lastIndexOf('/') + 1);\n\n              if (typeof addImageIntoDictionary === 'function') {\n                addImageIntoDictionary(imageName, link);\n              }\n\n              const imgProperties = ParserHelper.getImageProperties(value);\n\n              newLine = { image: imageName, ...options, ...imgProperties };\n              break;\n            }\n          }\n\n          return newLine;\n        }\n\n        static getOutsiderLineStyles(line, pattern, previousOptions = {}) {\n          let { text, ol, ul, ...lineOptions } = line;\n\n          if (typeof line === 'string') lineOptions = {};\n\n          const targetString = text || ol || ul || line;\n          const options = { ...previousOptions, ...lineOptions };\n\n          let lineType = 'text';\n          if (ul) lineType = 'ul';\n          if (ol) lineType = 'ol';\n\n          if (typeof targetString !== 'string') return line;\n\n          const hasStyles = targetString.match(pattern);\n\n          if (!hasStyles) return { [lineType]: targetString, ...options };\n\n          const [match, tagType, value, innerText] = hasStyles;\n\n          if (innerText.isOpenTagComeFirst(tagType)) {\n            const newLine = ParserHelper.getNewLineByTag(innerText, tagType, value, options);\n\n            if (targetString.isAListString()) return newLine;\n\n            return ParserHelper.getOutsiderLineStyles(newLine, pattern);\n          }\n\n          return { [lineType]: targetString, ...options };\n        }\n\n        static getInsiderLineStyles(line, openingTagsPattern, outsiderTagPattern) {\n          let { text, ul, ol, stack, ...options } = line;\n\n          if (typeof line === 'string') options = {};\n\n          const targetString = text || ol || ul || stack || line;\n\n          let lineType = 'text';\n          if (ul) lineType = 'ul';\n          if (ol) lineType = 'ol';\n          if (stack) lineType = 'stack';\n\n          if (typeof targetString !== 'string') return line;\n\n          const hasStyles = targetString.match(openingTagsPattern);\n\n          if (!hasStyles) return { [lineType]: targetString, ...options };\n\n          // Verify if there's the closing tag\n          const [match, tag] = hasStyles;\n          const closingTagPattern = Patterns.getClosingTag([tag]);\n\n          // If the closing tag is not find, to avoid infinite recursion we break the flow here\n          const hasClosingTag = targetString.match(closingTagPattern);\n\n          if (!hasClosingTag) return { [lineType]: targetString, ...options };\n\n          // If its a stack item first break the internal lists then break the styles\n          const listsOpeningTagsPattern = Patterns.getOpeningTag(['ul', 'ol']);\n\n          const stringArray = !stack\n            ? targetString.chopString(openingTagsPattern)\n            : targetString.chopString(listsOpeningTagsPattern);\n\n          const resultingLine = stringArray\n            .map((item) => ParserHelper.getOutsiderLineStyles(item, outsiderTagPattern, options))\n            .map((item) => ParserHelper.getInsiderLineStyles(item, openingTagsPattern, outsiderTagPattern));\n\n          return { [lineType]: resultingLine, ...options };\n        }\n\n        static fixOlListsHelper(element) {\n          const { ol, ...options } = element;\n\n          let list = ol || element;\n\n          if (!list || !(list instanceof Array) || !list.some(({ ol }) => Boolean(ol))) return element;\n\n          const newList = [];\n\n          let test = true;\n\n          while (test) {\n            const listIndex = list.findIndex(({ ol }) => Boolean(ol));\n\n            if (listIndex > 1) {\n              newList.push(...list.slice(0, listIndex - 1));\n            }\n\n            const previousItem = list[listIndex - 1];\n            const item = list[listIndex];\n\n            newList.push({ stack: [previousItem, ParserHelper.fixOlListsHelper(item)] });\n\n            const listRest = list.slice(listIndex + 1);\n\n            test = listRest.some(({ ol }) => Boolean(ol));\n            list = listRest;\n\n            if (!test) newList.push(...listRest);\n          }\n\n          return { ol: newList, ...options };\n        }\n      }\n\n      // Parser\n\n      class BBCodeParser {\n        constructor() {\n          this.functions = [\n            this.prepareContent,\n            this.breakLineTagsHandler,\n            this.horizontalRuleTagHandler,\n            this.horizontalRuleTagParser,\n            this.outsiderStylesParser,\n            this.insiderStylesParser,\n            this.fixOlLists,\n          ].map((fn) => fn.bind(this));\n\n          this.tags = new Tags();\n        }\n\n        prepareContent(contents = '') {\n          if (!contents || typeof contents !== 'string') {\n\n            return '';\n\n          }\n\n          const tags = [...this.tags.getBreakLineTags(), 'li'];\n\n          const beforeTags = Patterns.getBreakLineBeforeTag(['ul', 'ol', 'li'], 'g');\n          const afterTags = Patterns.getBreakLineAfterTag(tags, 'g');\n\n          contents = contents.replace(/\\[ml\\]/g, '');\n          contents = contents.replace(/\\[\\/ml\\]/g, '\\n');\n\n          contents = contents.replace(/\\n\\[\\/(center|justify|right|code)\\]/g, (match, tag) => `[/${tag}]\\n`);\n\n          contents = contents.replace(/\\[\\/quote\\]/g, (match) => match + '\\n');\n\n          contents = contents.replace(afterTags, '');\n          contents = contents.replace(beforeTags, (match, tag) => {\n            if (tags.includes(tag)) return match;\n\n            return match.replace(/\\n/, '');\n          });\n\n          return contents;\n        }\n\n        breakLineTagsHandler(contents) {\n          if (!contents) return [];\n\n          const breakLineTags = this.tags.getBreakLineTags('hr');\n          const openingTagPattern = Patterns.getOpeningTag(breakLineTags);\n\n          const result = contents.chopString(openingTagPattern);\n\n          if (typeof result === 'string') return [result];\n\n          return result;\n        }\n\n        horizontalRuleTagHandler(contents) {\n          const openingTagPattern = Patterns.getOpeningTag(['hr']);\n\n          return contents.map((line) => line.chopString(openingTagPattern, false)).flat();\n        }\n\n        horizontalRuleTagParser(contents) {\n          return contents.map((line) => {\n            if (line !== '[hr]') return line;\n            return { canvas: [{ type: 'line', x1: 0, y1: 0, x2: 515, y2: 0, lineWidth: 1 }] };\n          });\n        }\n\n        outsiderStylesParser(contents) {\n          const tags = this.tags.getAllTags('hr');\n          const pattern = Patterns.getFullTag(tags, 's');\n\n          return contents.map((line) => ParserHelper.getOutsiderLineStyles(line, pattern));\n        }\n\n        insiderStylesParser(contents) {\n          const tags = this.tags.getAllTags('hr');\n\n          const openingTagPattern = Patterns.getOpeningTag(tags);\n          const outsiderTagPattern = Patterns.getFullTag(tags, 's');\n\n          return contents.map((line) => ParserHelper.getInsiderLineStyles(line, openingTagPattern, outsiderTagPattern));\n        }\n\n        fixOlLists(contents) {\n          return contents.map(ParserHelper.fixOlListsHelper);\n        }\n\n        getParsedText(text) {\n          return ParserHelper.pipe(this.functions, text);\n        }\n      }\n\n      return new BBCodeParser();\n    }\n\n    const parser = getParser(\n      pdfMake.fonts,\n      (imageName, link) => {\n        instance.data.docDefinition.images[imageName] = link;\n      },\n      (err) => {\n        context.reportDebugger(err.message);\n      }\n    );\n\n    // Previous code        \n    class BBcodeInterpreter {\n      parseString(string) {\n        return parser.getParsedText(string);\n      }\n    }\n\n    const createParser = () => {\n      return new BBcodeInterpreter();\n    }\n\n    //we initialize the parser using the builder pattern\n    instance.data.BBcodeParser = createParser();\n\n    instance.data.BBcodeParserInternal = createParser();\n\n  }\n\n  const getList = (thingWithList, startPosition, finishPosition) => {\n    let returnedList = thingWithList.get(startPosition, finishPosition);\n    return returnedList;\n  }\n\n  // composeInMe is an array of objects and we push a new object into it, each object is an element created in the pdf\n\n\n  // here we bring it into existence if it doesn't exists yet\n\n  if (instance.data.composeInMe === undefined) {\n    instance.data.composeInMe = [];\n  }\n\n  let parsedText = []\n  if (properties.parse_bbcode) {\n    //this is the BBcode parsing\n    parsedText = instance.data.BBcodeParser.parseString(properties.inputtedText);\n\n    console.log(JSON.stringify(parsedText), \"parsed text\");\n    console.log(instance.data.listConfiguration)\n  }\n\n  // here we capture whatever the user (app maker) has inputed into the workflow actions into an object\n\n  if (properties.textStyles === undefined || properties.textStyles === null) {\n    properties.textStyles = \"\";\n  }\n  let definedStyleForText = properties.textStyles.replaceAll(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n  let txtCustomMarginsDefinitionLogic = () => {\n    if (properties.text_custom_margins === true) {\n      return [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin];\n    } else { return null; } // function to allow to set custom margins or ignore it and use default ones\n  }\n\n\n\n  let textObjectHolder = {\n    text: `${properties.inputtedText}`,\n    style: `${definedStyleForText.toLowerCase()}`,\n    margin: txtCustomMarginsDefinitionLogic(),\n    pageBreak: properties.page_break.toLowerCase(),\n  };\n\n  if (properties.parse_bbcode) {\n    // textObjectHolder = parsedText;\n    delete textObjectHolder.text;\n    textObjectHolder.stack = parsedText;\n  }\n\n  // here, in case this is being inputted into a multi column, will add the width of this element's column then push it into the specified column.\n\n  if (properties.into_multi_column === true  && (typeof properties.repeating_structure_name === \"undefined\" || properties.repeating_structure_name === null) ) {\n\n    if (properties.this_column_width === \"Fit available space\") {\n\n      textObjectHolder.width = \"*\";\n\n    } else if (properties.this_column_width === \"Fit content\") {\n\n      textObjectHolder.width = \"auto\";\n\n    } else if (properties.this_column_width === \"Fixed width\") {\n\n      textObjectHolder.width = properties.fixed_width_column_size;\n\n    }\n\n    // pushing into the multi column\n    instance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(textObjectHolder);\n\n  } else if (properties.into_footer === true) {\n\n    // here we push it into the footer\n    instance.data.footerObjectsHolder.columns.push(textObjectHolder);\n\n  } else if (properties.into_header === true) {\n\n    // here we push it into the header\n    instance.data.headerObjectsHolder.columns.push(textObjectHolder);\n\n  } else if (properties.into_background === true) {\n\n    // here we push it into the background\n    instance.data.docDefinition.background.push(textObjectHolder);\n\n    // repeating structure flow\n  } else if (typeof properties.repeating_structure_name !== \"undefined\" && properties.repeating_structure_name) {\n\n\n    if (typeof properties.text_list !== \"undefined\" && properties.text_list) {\n\n      let listOfTexts = getList(properties[`text_list`], 0, properties[`text_list`].length());\n\n      let thisElementSeries = [];\n\n      for (i = 0; i < instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations; i++) {\n\n\n        let currentTextObjectHolder = {\n\n          text: `${listOfTexts[i]}`,\n          style: `${definedStyleForText.toLowerCase()}`,\n          margin: txtCustomMarginsDefinitionLogic(),\n          pageBreak: properties.page_break.toLowerCase(),\n\n        };\n\n        // being inserted into a repeated multi column\n        if (properties.into_multi_column === true) {\n\n          if (properties.this_column_width === \"Fit available space\") {\n\n            currentTextObjectHolder.width = \"*\";\n      \n          } else if (properties.this_column_width === \"Fit content\") {\n      \n            currentTextObjectHolder.width = \"auto\";\n      \n          } else if (properties.this_column_width === \"Fixed width\") {\n      \n            currentTextObjectHolder.width = properties.fixed_width_column_size;\n      \n          }\n\n          instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentTextObjectHolder)\n\n        } else {\n\n          thisElementSeries.push(currentTextObjectHolder)\n\n        }\n      }\n\n      if (properties.into_multi_column === false) {\n\n        instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)\n\n      }\n\n    } else {\n\n      let thisElementSeries = [];\n\n      for (i = 0; i < instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations; i++) {\n\n        let currentTextObjectHolder = {\n\n          text: `${properties.inputtedText}`,\n          style: `${definedStyleForText.toLowerCase()}`,\n          margin: txtCustomMarginsDefinitionLogic(),\n          pageBreak: properties.page_break.toLowerCase(),\n\n        };\n        // being inserted into a repeated multi column\n        if (properties.into_multi_column === true) {\n\n          instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentTextObjectHolder)\n\n        } else {\n\n          thisElementSeries.push(currentTextObjectHolder)\n\n        }\n      }\n\n      if (properties.into_multi_column === false) {\n\n        instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)\n\n      }\n\n\n\n    }\n  } else {\n    // here we push the object into the main document body\n\n    if (properties.parse_bbcode) {\n      instance.data.composeInMe.push(textObjectHolder);\n      // instance.data.composeInMe = instance.da\n      // ta.composeInMe.concat(textObjectHolder);\n      // console.log(instance.data.composeInMe);\n    } else {\n      instance.data.composeInMe.push(textObjectHolder);\n    }\n\n\n  }\n\n\n\n\n\n\n\n\n\n\n}","add_debugger":false}},"AAY":{"caption":"Conjure","fields":{"AAr":{"caption":"File name","default_val":"file","editor":"DynamicValue","name":"file_name","rank":0,"value":"text"},"AFk":{"caption":"Save to database?","name":"save_to_database","rank":2,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AFo":{"caption":"If you want to save your PDF into your database, use these options below. If not, leave them empty and unchecked.","name":"if_you_want_to_save_your_pdf_into_your_database,_use_these_options_below._if_not,_leave_them_empty_and_unchecked.","rank":1,"editor":"Label"},"AFp":{"caption":"Attach PDF to","name":"attach_pdf_to","rank":3,"editor":"DynamicValue","value":"_any_thing_bindable","optional":true},"AFt":{"caption":"Disable browser download","name":"no_browser_download","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true},"AOp":{"caption":"Debug log","name":"debug_log","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false}},"code":{"fn":"function(instance, properties, context) {\n\n    // finally generates the PDF\n    const fileNameFix = (inputedName) => {\n\n        if (inputedName.substring(inputedName.length - 4) === \".pdf\") {\n      \n          return inputedName;\n      \n        } else {\n      \n          return `${inputedName}.pdf`;\n      \n        }\n      \n      };\n\n      let fixedFileName = fileNameFix(properties.file_name);\n\n\n    instance.data.docDefinition.info = {\n\n        title: fixedFileName,\n\n    };\n\n    if (properties.debug_log) {\n\n        console.log(\"Hello! Copy the object below and send it to me, Vini, the creator of the PDF Conjurer plugin for assistance, it will be helpful. Disable 'debug mode' in the 'Conjure' workflow action to stop logging this to the console\");\n        console.log(\"You can also automatically store this in your app's database by reading the 'PDF Model X' state called 'Debug log dump under the event 'Debug log available', then send me once you know that a log is about a faulty attempt to conjure a PDF.\");\n\n        let dump = JSON.stringify(instance.data.docDefinition);\n\n        console.log(dump)\n\n        instance.publishState(\"debug_log_dump\", dump)\n\n        instance.triggerEvent(\"debug_log_available\")\n\n    }\n\n    if (!properties.no_browser_download) { // case the app maker doesn't wants the user to dl anything right now\n\n        pdfMake.createPdf(instance.data.docDefinition).download(fixedFileName); // this generates the pdf file and offers for download\n\n    }\n\n    if (properties.save_to_database) { // checks if checkbox was checked\n\n        const pdfDocGenerator = pdfMake.createPdf(instance.data.docDefinition); // and this uploads it to the bubble app storage\n        pdfDocGenerator.getBase64((data) => {\n\n            context.uploadContent(fixedFileName, data, function (err, url) {\n                instance.publishState(\"saved_pdf\", url); // these are just one argument of this callback\n                instance.triggerEvent(\"pdf_uploaded_and_available_in_element_state\" // these are just one argument, I broke the line for readability\n                    , function (err) { console.log(err) }) // this is actually the second argument of this callback\n            }, properties.attach_pdf_to)\n\n        });\n    }\n\n\n\n\n\n\n}","add_debugger":false}},"AAd":{"caption":"Define new style for","fields":{"AAe":{"caption":"Style name","editor":"DynamicValue","name":"name","rank":0,"value":"text"},"AAf":{"caption":"Font Size","editor":"DynamicValue","name":"fontSize","rank":1,"value":"number"},"AAg":{"caption":"Bold","default_val":false,"editor":"Checkbox","name":"bold","rank":2},"AAh":{"caption":"Italics","default_val":false,"editor":"Checkbox","name":"italics","rank":3},"AAi":{"caption":"Alignment","editor":"Dropdown","name":"alignment","rank":4},"ABK":{"caption":"Text Color","editor":"Color","name":"color","rank":5,"default_val":"rgba(0, 0, 0, 1)"},"AHq":{"caption":"Font name","name":"font_name","rank":6,"editor":"DynamicValue","value":"text","default_val":"Roboto"},"AOs":{"caption":"Line height","name":"line_height","rank":7,"editor":"DynamicValue","value":"number","default_val":1},"APP":{"caption":"Margin left","name":"margin_left","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"APQ":{"caption":"Margin top","name":"margin_top","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"APR":{"caption":"Margin right","name":"margin_right","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"APS":{"caption":"Margin bottom","name":"margin_bottom","rank":11,"editor":"DynamicValue","value":"number","default_val":0}},"code":{"fn":"function(instance, properties, context) {\n\n\t// Styles is a property on the docDefinition object, and Style's value is an object. Every style itself is a property on Styles and has an object as a value. \n\t\n\t  \n\t// A function that helps converting RGBA into hex, because Bubble only passes rgba from the color picker ¬¬ (pdfmake can't understand it) - taken from https://github.com/metaloha/color2color\n\t  \n\t !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i=\"function\"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error(\"Cannot find module '\"+g+\"'\");throw j.code=\"MODULE_NOT_FOUND\",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f=\"function\"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){b.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],2:[function(a,b,c){(function(c){\"use strict\";function colorcolor(b){var c=arguments.length<=1||void 0===arguments[1]?\"rgba\":arguments[1],i=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];b=b.toLowerCase(),c=c.toLowerCase();var j,l,m,n,o=b,p=a(\"color-name\"),q=4,r={rgb:{re:/^rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$/,example:[\"rgb(123, 234, 45)\",\"rgb(255,234,245)\"],toRGBA:function(a){return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),1]}},rgba:{re:/^rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d+(?:\\.\\d+)?|\\.\\d+)\\s*\\)/,example:[\"rgba(123, 234, 45, 1)\",\"rgba(255,234,245, 0.5)\"],toRGBA:function(a){return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),parseFloat(a[4])]}},hex:{re:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:[\"00ff00\",\"336699\"],toRGBA:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16),1]}},hex3:{re:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:[\"fb0\",\"f0f\"],toRGBA:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16),1]}},hexa:{re:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:[\"00ff00ff\",\"336699a0\"],toRGBA:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16),parseInt(a[4],16)/255]}},hex4a:{re:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:[\"fb0f\",\"f0f8\"],toRGBA:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16),parseInt(a[4]+a[4],16)/255]}},hsl:{re:/^hsl\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/,example:[\"hsl(120, 100%, 25%)\",\"hsl(0, 100%, 50%)\"],toRGBA:function(a){a[4]=1;var b=e(a);return[b.r,b.g,b.b,b.a]}},hsla:{re:/^hsla\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%,\\s*(\\d+(?:\\.\\d+)?|\\.\\d+)\\s*\\)/,example:[\"hsla(120, 100%, 25%, 1)\",\"hsla(0, 100%, 50%, 0.5)\"],toRGBA:function(a){var b=e(a);return[b.r,b.g,b.b,b.a]}},hsv:{re:/^hsv\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/,example:[\"hsv(120, 100%, 25%)\",\"hsv(0, 100%, 50%)\"],toRGBA:function(a){var b=g(a);return[b.r,b.g,b.b,1]}},hsb:{re:/^hsb\\((\\d{1,3}),\\s*(\\d{1,3})%,\\s*(\\d{1,3})%\\)$/,example:[\"hsb(120, 100%, 25%)\",\"hsb(0, 100%, 50%)\"],toRGBA:function(a){var b=g(a);return[b.r,b.g,b.b,1]}}};p.hasOwnProperty(b)&&(b=p[b],b.forEach(function(a,c){b[c]=(\"0\"+a.toString(16)).slice(-2)}),b=\"#\"+b.join(\"\"));for(var s in r){var t=r[s].re,u=r[s].toRGBA,v=t.exec(b);if(v){var w=u(v);j=w[0],l=w[1],m=w[2],n=+(Math.round(w[3]+(\"e+\"+q))+(\"e-\"+q))}}switch(j=Math.round(j<0||isNaN(j)?0:j>255?255:j),l=Math.round(l<0||isNaN(l)?0:l>255?255:l),m=Math.round(m<0||isNaN(m)?0:m>255?255:m),n=n<0||isNaN(n)?0:n>1?1:n,c){case\"hex\":o=\"#\"+(\"0\"+j.toString(16)).slice(-2)+(\"0\"+l.toString(16)).slice(-2)+(\"0\"+m.toString(16)).slice(-2);break;case\"hexa\":if(i){var x=d(j,l,m,n),y=k(x,4);j=y[0],l=y[1],m=y[2],n=y[3]}o=\"#\"+(\"0\"+j.toString(16)).slice(-2)+(\"0\"+l.toString(16)).slice(-2)+(\"0\"+m.toString(16)).slice(-2)+(\"0\"+Math.round(255*n).toString(16)).slice(-2);break;case\"hsl\":var z=f({r:j,g:l,b:m});o=\"hsl(\"+z.h+\",\"+z.s+\"%,\"+z.l+\"%)\";break;case\"hsla\":if(i){var A=d(j,l,m,n),B=k(A,4);j=B[0],l=B[1],m=B[2],n=B[3]}var C=f({r:j,g:l,b:m,a:n});o=\"hsla(\"+C.h+\",\"+C.s+\"%,\"+C.l+\"%,\"+C.a+\")\";break;case\"hsb\":var D=h({r:j,g:l,b:m});o=\"hsb(\"+D.h+\",\"+D.s+\"%,\"+D.v+\"%)\";break;case\"hsv\":var E=h({r:j,g:l,b:m});o=\"hsv(\"+E.h+\",\"+E.s+\"%,\"+E.v+\"%)\";break;case\"rgb\":o=\"rgb(\"+j+\",\"+l+\",\"+m+\")\";break;case\"rgba\":default:if(i){var F=d(j,l,m,n),G=k(F,4);j=G[0],l=G[1],m=G[2],n=G[3]}o=\"rgba(\"+j+\",\"+l+\",\"+m+\",\"+n+\")\"}return o}function d(a,b,c,d){var e=0;return d=(255-(e=Math.min(a,b,c)))/255,a=((a-e)/d).toFixed(0),b=((b-e)/d).toFixed(0),c=((c-e)/d).toFixed(0),d=parseFloat(d.toFixed(4)),[a,b,c,d]}function e(a){var b={},c={h:a[1]/360,s:a[2]/100,l:a[3]/100,a:parseFloat(a[4])};if(0===c.s){var d=255*c.l;b={r:d,g:d,b:d,a:c.a}}else{var e=c.l<.5?c.l*(1+c.s):c.l+c.s-c.l*c.s,f=2*c.l-e;b.r=255*i(f,e,c.h+1/3),b.g=255*i(f,e,c.h),b.b=255*i(f,e,c.h-1/3),b.a=c.a}return b}function f(a){a.r=a.r/255,a.g=a.g/255,a.b=a.b/255;var b,c=Math.max(a.r,a.g,a.b),d=Math.min(a.r,a.g,a.b),e=[];if(e.a=a.a,e.l=(c+d)/2,c===d)e.h=0,e.s=0;else{switch(b=c-d,e.s=e.l>=.5?b/(2-c-d):b/(c+d),c){case a.r:e.h=(a.g-a.b)/b+(a.g<a.b?6:0);break;case a.g:e.h=(a.b-a.r)/b+2;break;case a.b:e.h=(a.r-a.g)/b+4}e.h/=6}return e.h=parseInt((360*e.h).toFixed(0),10),e.s=parseInt((100*e.s).toFixed(0),10),e.l=parseInt((100*e.l).toFixed(0),10),e}function g(a){var b={},c={h:a[1]/360,s:a[2]/100,v:a[3]/100},d=Math.floor(6*c.h),e=6*c.h-d,f=c.v*(1-c.s),g=c.v*(1-e*c.s),h=c.v*(1-(1-e)*c.s);switch(d%6){case 0:b.r=c.v,b.g=h,b.b=f;break;case 1:b.r=g,b.g=c.v,b.b=f;break;case 2:b.r=f,b.g=c.v,b.b=h;break;case 3:b.r=f,b.g=g,b.b=c.v;break;case 4:b.r=h,b.g=f,b.b=c.v;break;case 5:b.r=c.v,b.g=f,b.b=g}return b.r=255*b.r,b.g=255*b.g,b.b=255*b.b,b}function h(a){a.r=j(parseInt(a.r,10)%256,256),a.g=j(parseInt(a.g,10)%256,256),a.b=j(parseInt(a.b,10)%256,256);var b=Math.max(a.r,a.g,a.b),c=Math.min(a.r,a.g,a.b),d=b-c,e={h:0,s:0===b?0:d/b,v:b};if(b!==c){switch(b){case a.r:e.h=(a.g-a.b)/d+(a.g<a.b?6:0);break;case a.g:e.h=(a.b-a.r)/d+2;break;case a.b:e.h=(a.r-a.g)/d+4}e.h/=6}return e.h=parseInt((360*e.h).toFixed(0),10),e.s=parseInt((100*e.s).toFixed(0),10),e.v=parseInt((100*e.v).toFixed(0),10),e}function i(a,b,c){return c<0&&(c+=1),c>1&&(c-=1),c<1/6?a+6*(b-a)*c:c<.5?b:c<2/3?a+(b-a)*(6*(2/3-c)):a}function j(a,b){return a/b}var k=function(){function a(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h[\"return\"]&&h[\"return\"]()}finally{if(e)throw f}}return c}return function(b,c){if(Array.isArray(b))return b;if(Symbol.iterator in Object(b))return a(b,c);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}();b.exports=colorcolor,c.colorcolor=b.exports}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"color-name\":1}]},{},[2]);\n\t\n\t// actual conversion being made\n\tlet newColor = colorcolor( properties.color, \"hex\" );\n\t  \n\t  \n\t  \n\t  \n\t// This grabs and structures the style inputed by the user into an object and defines it as a property for \"Styles\".\n\tlet styleName = properties.name.replaceAll(/\\W/g, '')\n\t  \n\tinstance.data.docDefinition.styles[styleName.toLowerCase()]= {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t  color: newColor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t   fontSize: properties.fontSize,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t   bold: properties.bold,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t   italics: properties.italics,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t   alignment: properties.alignment,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t   font: properties.font_name,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t   lineHeight: properties.line_height,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t   margin: [properties.margin_left, properties.margin_top, properties.margin_right, properties.margin_bottom]\n\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t\t\t \n\n\n\t\n\t  \n\t\n\t}","add_debugger":false}},"AAs":{"caption":"Start","fields":{"AAz":{"caption":"Page size","default_val":" A4 ","editor":"Dropdown","name":"page_size","rank":0},"ABA":{"caption":"Page orientation","default_val":"Portrait","editor":"Dropdown","name":"page_orientation","rank":1},"ABD":{"caption":"Page margin left","editor":"DynamicValue","name":"page_margin_left","rank":4,"value":"number","default_val":0},"ABE":{"caption":"Below you will be able to set custom margin sizes for your page. Leave the box unchecked for default. (Will ignore any numbers below)","editor":"Label","name":"page_margin_info","rank":3},"ABF":{"caption":"Page margin top","editor":"DynamicValue","name":"page_margin_top","rank":5,"value":"number","default_val":0},"ABG":{"caption":"Page margin right","editor":"DynamicValue","name":"page_margin_right","rank":6,"value":"number","default_val":0},"ABH":{"caption":"Page margin bottom","editor":"DynamicValue","name":"page_margin_bottom","rank":7,"value":"number","default_val":0},"ABL":{"caption":"Set custom margins?","default_val":false,"editor":"Checkbox","name":"custom_margins","rank":2},"AFu":{"caption":"Congratulations fellow Bubbler! You've just attained more power by installing this plugin. Come visit your custom plugin shop www.unlimitedbubbling.dev and get even more! Just want to say thank you? Then buy me a coffee: https://ko-fi.com/viniciusbrito 😊☕","name":"ssr","rank":8,"editor":"Label"}},"code":{"fn":"function(instance, properties, context) {\n\n  // generates some variables and properties to be written upon by the next functions\n\n  instance.data.composeInMe = [];\n\n  let chosenPageSize = properties.page_size.replace(/\\W/g, ''); // small regex to remove any undesirable characters sent by bubble engine\n  let chosenPageOrientation = properties.page_orientation.replace(/\\W/g, ''); // small regex to remove any undesirable characters sent by bubble engine\n  let customMarginsDefinitionLogic = () => {\n    if (properties.custom_margins === true) {\n      return [properties.page_margin_left, properties.page_margin_top, properties.page_margin_right, properties.page_margin_bottom];\n    } else { return null }; // function to allow to set custom page margins or ignore it and use default ones\n  }\n\n  instance.data.docDefinition = {\n    content: instance.data.composeInMe,\n    background: [],\n    styles: {},\n    pageSize: chosenPageSize,\n    pageOrientation: chosenPageOrientation.toLowerCase(),\n    pageMargins: customMarginsDefinitionLogic(),\n    images: {},\n\n\n  };\n\n  instance.data.repeatingStructureObjectsHolder = {};\n\n  pdfMake.fonts = {\n\n    Roboto: {\n      normal: 'https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-Regular.ttf',\n      bold: 'https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-Medium.ttf',\n      italics: 'https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-Italic.ttf',\n      bolditalics: 'https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.66/fonts/Roboto/Roboto-MediumItalic.ttf'\n    },\n\n  }\n\n\n\n}","add_debugger":false}},"ABI":{"caption":"Test engine with","fields":{"ABJ":{"caption":"Test action with the simplest implementation possible, just to test if it works. Just trigger this with a click of a button and then go click that button in preview. It is supposed to offer to download or open a pdf with a small text inside it.","editor":"Label","name":"test_engine_for","rank":0}},"code":{"fn":"function(instance, properties, context) {\n\n\nvar docDefinition = { content: \"This is an sample PDF printed with pdfmake (actually you're using PDF Conjurer, a plugin that uses pdfmake's engine)! Also if you read this, it means all is well!\" };\n\n\npdfMake.createPdf(docDefinition).download();\n\n\n\n}"}},"ABN":{"caption":"Create table on","fields":{"ABO":{"caption":"Body Text Style","editor":"DynamicValue","name":"tableStyle","optional":true,"rank":0,"value":"text"},"ABP":{"caption":"Below you will be able to set extra margins for your table element. Leave the box unchecked for a default display. (Will ignore any margin-related numbers below)","editor":"Label","name":"margin_info","rank":6},"ABQ":{"caption":"Use table custom margins?","default_val":false,"editor":"Checkbox","name":"table_custom_margins","rank":5},"ABR":{"caption":"Left Margin","editor":"DynamicValue","name":"table_left_margin","rank":7,"value":"number","default_val":0},"ABS":{"caption":"Top Margin","editor":"DynamicValue","name":"table_top_margin","rank":8,"value":"number","default_val":0},"ABT":{"caption":"Right Margin","editor":"DynamicValue","name":"table_right_margin","rank":9,"value":"number","default_val":0},"ABU":{"caption":"Bottom Margin","editor":"DynamicValue","name":"table_bottom_margin","rank":10,"value":"number","default_val":0},"ABV":{"caption":"First Column Body","editor":"DynamicValue","is_list":true,"name":"first_column","rank":14,"value":"_any_thing"},"ABj":{"caption":"First Column Header","editor":"DynamicValue","name":"first_column_header","optional":true,"rank":13,"value":"text"},"ABk":{"caption":"Header Text Style","editor":"DynamicValue","name":"header_style","optional":true,"rank":3,"value":"text"},"ABl":{"caption":"Create header row in this table?","default_val":false,"editor":"Checkbox","name":"table_uses_header_row","rank":2},"ABm":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":11},"ABn":{"caption":"----- Another Column ------","editor":"Label","name":"column_separator1","rank":15},"ABo":{"caption":"Use second column?","default_val":false,"editor":"Checkbox","name":"use_second_column","rank":16},"ABq":{"caption":"Second Column Header","editor":"DynamicValue","name":"second_column_header","optional":true,"rank":17,"value":"text"},"ABr":{"caption":"Second Column Body","editor":"DynamicValue","is_list":true,"name":"second_column","optional":true,"rank":18,"value":"_any_thing"},"ACG":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":19},"ACI":{"caption":"Use third column?","default_val":false,"editor":"Checkbox","name":"use_third_column","rank":20},"ACK":{"caption":"Third Column Header","editor":"DynamicValue","name":"third_column_header","optional":true,"rank":21,"value":"text"},"ACL":{"caption":"Third Column Body","editor":"DynamicValue","is_list":true,"name":"third_column","optional":true,"rank":22,"value":"_any_thing"},"ACN":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":23},"ACO":{"caption":"Use fourth column?","default_val":false,"editor":"Checkbox","name":"use_fourth_column","rank":24},"ACQ":{"caption":"Fourth Column Header","editor":"DynamicValue","name":"fourth_column_header","optional":true,"rank":25,"value":"text"},"ACR":{"caption":"Fourth Column Body","editor":"DynamicValue","is_list":true,"name":"fourth_column","optional":true,"rank":26,"value":"_any_thing"},"ACT":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":27},"ACU":{"caption":"Use fifth column?","default_val":false,"editor":"Checkbox","name":"use_fifth_column","rank":28},"ACW":{"caption":"Fifth Column Header","editor":"DynamicValue","name":"fifth_column_header","optional":true,"rank":29,"value":"text"},"ACX":{"caption":"Fifth Column Body","editor":"DynamicValue","is_list":true,"name":"fifth_column","optional":true,"rank":30,"value":"_any_thing"},"ACZ":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":31},"ACa":{"caption":"Use sixth column?","default_val":false,"editor":"Checkbox","name":"use_sixth_column","rank":32},"ACc":{"caption":"Sixth Column Header","editor":"DynamicValue","name":"sixth_column_header","optional":true,"rank":33,"value":"text"},"ACd":{"caption":"Sixth Column Body","editor":"DynamicValue","is_list":true,"name":"sixth_column","optional":true,"rank":34,"value":"_any_thing"},"ACf":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":35},"ACg":{"caption":"Use seventh column?","default_val":false,"editor":"Checkbox","name":"use_seventh_column","rank":36},"ACi":{"caption":"Seventh Column Header","editor":"DynamicValue","name":"seventh_column_header","optional":true,"rank":37,"value":"text"},"ACj":{"caption":"Seventh Column Body","editor":"DynamicValue","is_list":true,"name":"seventh_column","optional":true,"rank":38,"value":"_any_thing"},"ACl":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":39},"ACm":{"caption":"Use eighth column?","default_val":false,"editor":"Checkbox","name":"use_eighth_column","rank":40},"ACo":{"caption":"Eighth Column Header","editor":"DynamicValue","name":"eighth_column_header","optional":true,"rank":41,"value":"text"},"ACp":{"caption":"Eighth Column Body","editor":"DynamicValue","is_list":true,"name":"eighth_column","optional":true,"rank":42,"value":"_any_thing"},"ACr":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":43},"ACs":{"caption":"Use ninth column?","default_val":false,"editor":"Checkbox","name":"use_ninth_column","rank":44},"ACu":{"caption":"Ninth Column Header","editor":"DynamicValue","name":"ninth_column_header","optional":true,"rank":45,"value":"text"},"ACv":{"caption":"Ninth Column Body","editor":"DynamicValue","is_list":true,"name":"ninth_column","optional":true,"rank":46,"value":"_any_thing"},"ACx":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":47},"ACy":{"caption":"Use tenth column?","default_val":false,"editor":"Checkbox","name":"use_tenth_column","rank":48},"ADA":{"caption":"Tenth Column Header","editor":"DynamicValue","name":"tenth_column_header","optional":true,"rank":49,"value":"text"},"ADB":{"caption":"Tenth Column Body","editor":"DynamicValue","is_list":true,"name":"tenth_column","optional":true,"rank":50,"value":"_any_thing"},"ADD":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":51},"ADE":{"caption":"Use eleventh column?","default_val":false,"editor":"Checkbox","name":"use_eleventh_column","rank":52},"ADG":{"caption":"Eleventh Column Header","editor":"DynamicValue","name":"eleventh_column_header","optional":true,"rank":53,"value":"text"},"ADH":{"caption":"Eleventh Column Body","editor":"DynamicValue","is_list":true,"name":"eleventh_column","optional":true,"rank":54,"value":"_any_thing"},"ADJ":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":55},"ADK":{"caption":"Use twelfth column?","default_val":false,"editor":"Checkbox","name":"use_twelfth_column","rank":56},"ADM":{"caption":"Twelfth Column Header","editor":"DynamicValue","name":"twelfth_column_header","optional":true,"rank":57,"value":"text"},"ADN":{"caption":"Twelfth Column Body","editor":"DynamicValue","is_list":true,"name":"twelfth_column","optional":true,"rank":58,"value":"_any_thing"},"ADP":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":59},"ADQ":{"caption":"Use thirteenth column?","default_val":false,"editor":"Checkbox","name":"use_thirteenth_column","rank":60},"ADS":{"caption":"Thirteenth Column Header","editor":"DynamicValue","name":"thirteenth_column_header","optional":true,"rank":61,"value":"text"},"ADT":{"caption":"Thirteenth Column Body","editor":"DynamicValue","is_list":true,"name":"thirteenth_column","optional":true,"rank":62,"value":"_any_thing"},"ADV":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":63},"ADW":{"caption":"Use fourteenth column?","default_val":false,"editor":"Checkbox","name":"use_fourteenth_column","rank":64},"ADY":{"caption":"Fourteenth Column Header","editor":"DynamicValue","name":"fourteenth_column_header","optional":true,"rank":65,"value":"text"},"ADZ":{"caption":"Fourteenth Column Body","editor":"DynamicValue","is_list":true,"name":"fourteenth_column","optional":true,"rank":66,"value":"_any_thing"},"ADb":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":67},"ADc":{"caption":"Use fifteenth column?","default_val":false,"editor":"Checkbox","name":"use_fifteenth_column","rank":68},"ADe":{"caption":"Fifteenth Column Header","editor":"DynamicValue","name":"fifteenth_column_header","optional":true,"rank":69,"value":"text"},"ADf":{"caption":"Fifteenth Column Body","editor":"DynamicValue","is_list":true,"name":"fifteenth_column","optional":true,"rank":70,"value":"_any_thing"},"ADh":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":71},"ADi":{"caption":"Use sixteenth column?","default_val":false,"editor":"Checkbox","name":"use_sixteenth_column","rank":72},"ADk":{"caption":"Sixteenth Column Header","editor":"DynamicValue","name":"sixteenth_column_header","optional":true,"rank":73,"value":"text"},"ADl":{"caption":"Sixteenth Column Body","editor":"DynamicValue","is_list":true,"name":"sixteenth_column","optional":true,"rank":74,"value":"_any_thing"},"ADn":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":75},"ADo":{"caption":"Use seventeenth column?","default_val":false,"editor":"Checkbox","name":"use_seventeenth_column","rank":76},"ADq":{"caption":"Seventeenth Column Header","editor":"DynamicValue","name":"seventeenth_column_header","optional":true,"rank":77,"value":"text"},"ADr":{"caption":"Seventeenth Column Body","editor":"DynamicValue","is_list":true,"name":"seventeenth_column","optional":true,"rank":78,"value":"_any_thing"},"ADt":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":79},"ADu":{"caption":"Use eighteenth column?","default_val":false,"editor":"Checkbox","name":"use_eighteenth_column","rank":80},"ADw":{"caption":"Eighteenth Column Header","editor":"DynamicValue","name":"eighteenth_column_header","optional":true,"rank":81,"value":"text"},"ADx":{"caption":"Eighteenth Column Body","editor":"DynamicValue","is_list":true,"name":"eighteenth_column","optional":true,"rank":82,"value":"_any_thing"},"ADz":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":83},"AEA":{"caption":"Use nineteenth column?","default_val":false,"editor":"Checkbox","name":"use_nineteenth_column","rank":84},"AEC":{"caption":"Nineteenth Column Header","editor":"DynamicValue","name":"nineteenth_column_header","optional":true,"rank":85,"value":"text"},"AED":{"caption":"Nineteenth Column Body","editor":"DynamicValue","is_list":true,"name":"nineteenth_column","optional":true,"rank":86,"value":"_any_thing"},"AEF":{"caption":"----- Another Column ------","editor":"Label","name":"-----_another_column_------","rank":87},"AEG":{"caption":"Use twentieth column?","default_val":false,"editor":"Checkbox","name":"use_twentieth_column","rank":88},"AEI":{"caption":"Twentieth Column Header","editor":"DynamicValue","name":"twentieth_column_header","optional":true,"rank":89,"value":"text"},"AEJ":{"caption":"Twentieth Column Body","editor":"DynamicValue","is_list":true,"name":"twentieth_column","optional":true,"rank":90,"value":"_any_thing"},"AEM":{"caption":"Table Column Width","default_val":"Fit available space","editor":"Dropdown","name":"table_column_width","rank":1},"AEO":{"caption":"Table Layout","default_val":"Standard","editor":"Dropdown","name":"table_layout","rank":4},"AEg":{"caption":"Is this element being put into a Multi Column?","default_val":false,"editor":"Checkbox","name":"into_multi_column","rank":92},"AEh":{"caption":"This Column's Width","default_val":"Fit available space","editor":"Dropdown","name":"this_column_width","optional":true,"rank":93},"AEi":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multi_column_name","optional":true,"rank":95,"value":"text"},"AEl":{"caption":"About multi column","editor":"Label","name":"about_multi_column","rank":91},"AFa":{"caption":"Is this element being put into the footer?","default_val":false,"editor":"Checkbox","name":"into_footer","rank":96},"AFb":{"caption":"Is this element being put into the header?","default_val":false,"editor":"Checkbox","name":"into_header","rank":97},"AFs":{"caption":"Is this element being put into the background?","name":"into_background","rank":98,"editor":"Checkbox","default_val":false},"AOK":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":12,"editor":"DynamicValue","value":"boolean","default_val":false},"AOx":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":94,"editor":"DynamicValue","value":"number","optional":true}},"code":{"fn":"function(instance, properties, context) {\n\n\t// this returns an array holding the list of whatever bubble holds. Texts and numbers are rendered, other types like Date are converted to text.\n\tlet getList = (columnXBasicReference, startPosition, finishPosition) => {\n\t\tlet returnedList = columnXBasicReference.get(startPosition, finishPosition);\n\t\treturn returnedList;\n\t}\n\n\t// this is to load data from Bubble's server.\n\tlet listLoader = (columnBasicReference, columnLengthFunction) => {\n\t\t// grab the column array\n\t\tlet acquiredListColumn = getList(columnBasicReference, 0, columnLengthFunction);\n\t\t// return it, whether it's a blank space or the actual list.\n\t\treturn acquiredListColumn;\n\t}\n\n\t// now on to load the data by getting columns sent by the app maker\n\t// writing to instance.data to make sure multiple PDF models running at the same time won't override each other, previously I was using \"var\". Unsure if \"var\" is properly isolated.\n\n\t// in case it's just a single null value, will return a blank space instead of an error. Has to be an array because will be pushed later on.\n\tif (properties.first_column === null) {\n\t\tinstance.data.listOfExtractedValuesFirstColumn = [\" \"];\n\t} else {\n\t\tinstance.data.listOfExtractedValuesFirstColumn = listLoader(properties.first_column, properties.first_column.length());\n\t}\n\t// these are inside an \"if\" because trying anything other than this will cause problems due to not always the app maker will send properties.second_column, for example, by not using that column\n\tif (properties.use_second_column) {\n\t\tif (properties.second_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesSecondColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesSecondColumn = listLoader(properties.second_column, properties.second_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_third_column) {\n\t\tif (properties.third_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesThirdColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesThirdColumn = listLoader(properties.third_column, properties.third_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_fourth_column) {\n\t\tif (properties.fourth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesFourthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesFourthColumn = listLoader(properties.fourth_column, properties.fourth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_fifth_column) {\n\t\tif (properties.fifth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesFifthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesFifthColumn = listLoader(properties.fifth_column, properties.fifth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_sixth_column) {\n\t\tif (properties.sixth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesSixthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesSixthColumn = listLoader(properties.sixth_column, properties.sixth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_seventh_column) {\n\t\tif (properties.seventh_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesSeventhColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesSeventhColumn = listLoader(properties.seventh_column, properties.seventh_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_eighth_column) {\n\t\tif (properties.eighth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesEighthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesEighthColumn = listLoader(properties.eighth_column, properties.eighth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_ninth_column) {\n\t\tif (properties.ninth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesNinthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesNinthColumn = listLoader(properties.ninth_column, properties.ninth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_tenth_column) {\n\t\tif (properties.tenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesTenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesTenthColumn = listLoader(properties.tenth_column, properties.tenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_eleventh_column) {\n\t\tif (properties.eleventh_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesEleventhColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesEleventhColumn = listLoader(properties.eleventh_column, properties.eleventh_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_twelfth_column) {\n\t\tif (properties.twelfth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesTwelfthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesTwelfthColumn = listLoader(properties.twelfth_column, properties.twelfth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_thirteenth_column) {\n\t\tif (properties.thirteenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesThirteenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesThirteenthColumn = listLoader(properties.thirteenth_column, properties.thirteenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_fourteenth_column) {\n\t\tif (properties.fourteenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesFourteenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesFourteenthColumn = listLoader(properties.fourteenth_column, properties.fourteenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_fifteenth_column) {\n\t\tif (properties.fifteenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesFifteenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesFifteenthColumn = listLoader(properties.fifteenth_column, properties.fifteenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_sixteenth_column) {\n\t\tif (properties.sixteenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesSixteenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesSixteenthColumn = listLoader(properties.sixteenth_column, properties.sixteenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_seventeenth_column) {\n\t\tif (properties.seventeenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesSeventeenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesSeventeenthColumn = listLoader(properties.seventeenth_column, properties.seventeenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_eighteenth_column) {\n\t\tif (properties.eighteenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesEighteenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesEighteenthColumn = listLoader(properties.eighteenth_column, properties.eighteenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_nineteenth_column) {\n\t\tif (properties.nineteenth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesNineteenthColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesNineteenthColumn = listLoader(properties.nineteenth_column, properties.nineteenth_column.length());\n\t\t}\n\t}\n\n\tif (properties.use_twentieth_column) {\n\t\tif (properties.twentieth_column === null) {\n\t\t\tinstance.data.listOfExtractedValuesTwentiethColumn = [\" \"];\n\t\t} else {\n\t\t\tinstance.data.listOfExtractedValuesTwentiethColumn = listLoader(properties.twentieth_column, properties.twentieth_column.length());\n\t\t}\n\t}\n\n\t// auxiliary functions for the transposition incoming!\n\n\t// transform \"undefined\" array elements created by the transposition function into null elements so pdfmake works fine with them (undefined causes crashes)\n\tlet createBlanks = (element) => {\n\t\tlet checkAndSwap = (nestedElement) => {\n\t\t\tif (nestedElement === undefined) {\n\t\t\t\treturn null;\n\t\t\t} else {\n\t\t\t\treturn nestedElement\n\t\t\t}\n\t\t}\n\t\treturn element.map(checkAndSwap);\n\t}\n\n\tlet returnLength = (element) => {\n\t\treturn element.length;\n\t}\n\n\tlet biggerComparer = (accumulator, currentValue) => {\n\t\tlet biggerNumber;\n\t\tif (accumulator > currentValue) {\n\t\t\tbiggerNumber = accumulator;\n\t\t} else {\n\t\t\tbiggerNumber = currentValue;\n\t\t}\n\t\treturn biggerNumber;\n\t}\n\n\tlet isThisTheBiggestLength = (element, index, array) => {\n\t\tif (element === biggestLength) {\n\t\t\treturn true\n\t\t} else {\n\t\t\treturn false\n\t\t}\n\t}\n\n\t// composeInMe is an array of objects and we push a new object into it, each object is an element created in the pdf\n\n\n\t// here we bring it into existence if it doesn't exists yet\n\n\tif (instance.data.composeInMe === undefined) {\n\t\tinstance.data.composeInMe = [];\n\t}\n\n\t// here we capture whatever the user (app maker) has inputed into the workflow actions into an objects\n\tif (properties.tableStyle === undefined || properties.tableStyle === null) {\n\t\tproperties.tableStyle = \"\";\n\t}\n\n\tif (typeof properties.tableStyle !== \"undefined\" && properties.tableStyle !== null) {\n\n\t\tvar definedStyleForTable = properties.tableStyle.replaceAll(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n\t}\n\n\tlet tableCustomMarginsDefinitionLogic = () => {\n\t\tif (properties.table_custom_margins === true) {\n\t\t\treturn [properties.table_left_margin, properties.table_top_margin, properties.table_right_margin, properties.table_bottom_margin];\n\t\t} else { return null; } // function to allow to set custom margins or ignore it and use default ones\n\t}\n\n\t// the body property is an array that will hold other arrays that will be turned into rows.\n\tlet tableBody = [];\n\tlet tableBodyTransposed = [];\n\n\n\n\t// now we push the acquired array(s) inside the \"body:\" main array to create a row with each array (to later be transposed into a column)\n\t//tableBody.push(instance.data.listOfExtractedValuesFirstColumn);\n\t// change the above code so the text becomes a pdfmake text object with a style property\n\ttableBody.push(instance.data.listOfExtractedValuesFirstColumn.map((singleText) => {\n\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t}));\n\n\tif (properties.use_second_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesSecondColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_third_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesThirdColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_fourth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesFourthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_fifth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesFifthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_sixth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesSixthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_seventh_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesSeventhColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_eighth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesEighthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_ninth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesNinthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_tenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesTenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_eleventh_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesEleventhColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_twelfth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesTwelfthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_thirteenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesThirteenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_fourteenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesFourteenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_fifteenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesFifteenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_sixteenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesSixteenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_seventeenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesSeventeenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_eighteenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesEighteenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_nineteenth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesNineteenthColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\tif (properties.use_twentieth_column) {\n\t\ttableBody.push(instance.data.listOfExtractedValuesTwentiethColumn.map((singleText) => {\n\t\t\treturn { text: singleText, style: `${definedStyleForTable.toLowerCase()}` }\n\t\t}));\n\t}\n\n\t// here we fill in blank elements to the table so it becomes a square matrix and doesn't crashes (pdfmake only likes square matrices!)\n\n\tlet storedListLengths = tableBody.map(returnLength);\n\n\tlet biggestLength = storedListLengths.reduce(biggerComparer);\n\n\tlet indexOfLongerArray = storedListLengths.findIndex(isThisTheBiggestLength);\n\n\t// a transpose function\n\tlet transpose = (a) => {\n\n\t\t// Calculate the width and height of the Array\n\t\tvar w = a.length || 0;\n\t\tvar h = a[indexOfLongerArray] instanceof Array ? a[indexOfLongerArray].length : 0;\n\n\t\t// In case it is a zero matrix, no transpose routine needed.\n\t\tif (h === 0 || w === 0) { return []; }\n\n\t\t/**\n\t\t * @var {Number} i Counter\n\t\t * @var {Number} j Counter\n\t\t * @var {Array} t Transposed data is stored in this array.\n\t\t */\n\t\tvar i, j, t = [];\n\n\t\t// Loop through every item in the outer array (height)\n\t\tfor (i = 0; i < h; i++) {\n\n\t\t\t// Insert a new row (array)\n\t\t\tt[i] = [];\n\n\t\t\t// Loop through every item per item in outer array (width)\n\t\t\tfor (j = 0; j < w; j++) {\n\n\t\t\t\t// Save transposed data.\n\t\t\t\tt[i][j] = a[j][i];\n\t\t\t}\n\t\t}\n\n\t\treturn t;\n\t}\n\n\n\t// here we transpose the table to fit pdfmake's table structure of array\n\ttableBodyTransposed = transpose(tableBody);\n\n\n\ttableBody = tableBodyTransposed.map(createBlanks);\n\n\n\n\n\t// now let's put the headers so they become the first row. This is after the transposition, because we want it to not be transposed so it stays a row and doesn't becomes a column\n\tvar useHeaderRow = 0; // in case a header row isn't used, this won't make the first row be repeated on other pages that the table may extend to.\n\n\tif (properties.table_uses_header_row) {\n\t\tif (properties.header_style === undefined || properties.header_style === null) {\n\t\t\tproperties.header_style = \"\";\n\t\t}\n\t\tvar useHeaderRow = 1; // this will make the first row be repeated in the other pages the table also extends to.\n\n\t\tvar arrayOfHeaders = [];\n\n\t\tvar definedStyleForHeaderText = properties.header_style.replace(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n\t\tlet firstColumnHeaderAsObj = { text: properties.first_column_header, style: `${definedStyleForHeaderText}` };\n\t\tarrayOfHeaders.push(firstColumnHeaderAsObj);\n\n\t\tif (properties.use_second_column) {\n\t\t\tlet secondColumnHeaderAsObj = { text: properties.second_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(secondColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_third_column) {\n\t\t\tlet thirdColumnHeaderAsObj = { text: properties.third_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(thirdColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_fourth_column) {\n\t\t\tlet fourthColumnHeaderAsObj = { text: properties.fourth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(fourthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_fifth_column) {\n\t\t\tlet fifthColumnHeaderAsObj = { text: properties.fifth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(fifthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_sixth_column) {\n\t\t\tlet sixthColumnHeaderAsObj = { text: properties.sixth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(sixthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_seventh_column) {\n\t\t\tlet seventhColumnHeaderAsObj = { text: properties.seventh_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(seventhColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_eighth_column) {\n\t\t\tlet eighthColumnHeaderAsObj = { text: properties.eighth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(eighthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_ninth_column) {\n\t\t\tlet ninthColumnHeaderAsObj = { text: properties.ninth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(ninthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_tenth_column) {\n\t\t\tlet tenthColumnHeaderAsObj = { text: properties.tenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(tenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_eleventh_column) {\n\t\t\tlet eleventhColumnHeaderAsObj = { text: properties.eleventh_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(eleventhColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_twelfth_column) {\n\t\t\tlet twelfthColumnHeaderAsObj = { text: properties.twelfth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(twelfthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_thirteenth_column) {\n\t\t\tlet thirteenthColumnHeaderAsObj = { text: properties.thirteenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(thirteenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_fourteenth_column) {\n\t\t\tlet fourteenthColumnHeaderAsObj = { text: properties.fourteenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(fourteenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_fifteenth_column) {\n\t\t\tlet fifteenthColumnHeaderAsObj = { text: properties.fifteenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(fifteenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_sixteenth_column) {\n\t\t\tlet sixteenthColumnHeaderAsObj = { text: properties.sixteenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(sixteenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_seventeenth_column) {\n\t\t\tlet seventeenthColumnHeaderAsObj = { text: properties.seventeenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(seventeenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_eighteenth_column) {\n\t\t\tlet eighteenthColumnHeaderAsObj = { text: properties.eighteenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(eighteenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_nineteenth_column) {\n\t\t\tlet nineteenthColumnHeaderAsObj = { text: properties.nineteenth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(nineteenthColumnHeaderAsObj);\n\t\t}\n\n\t\tif (properties.use_twentieth_column) {\n\t\t\tlet twentiethColumnHeaderAsObj = { text: properties.twentieth_column_header, style: `${definedStyleForHeaderText}` };\n\t\t\tarrayOfHeaders.push(twentiethColumnHeaderAsObj);\n\t\t}\n\n\n\t\ttableBody.unshift(arrayOfHeaders);\n\t}\n\n\t// now to set the widths of every used column\n\tlet arrayOfWidths = [];\n\n\tif (properties.table_column_width === \"Fit available space\") {\n\t\tvar columnsWidth = \"*\";\n\t} else {\n\t\tvar columnsWidth = \"auto\";\n\t}\n\n\tarrayOfWidths.push(columnsWidth);\n\n\tif (properties.use_second_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_third_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_fourth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_fifth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_sixth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_seventh_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_eighth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_ninth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_tenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_eleventh_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_twelfth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_thirteenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_fourteenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_fifteenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_sixteenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_seventeenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_eighteenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_nineteenth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\tif (properties.use_twentieth_column) {\n\t\tarrayOfWidths.push(columnsWidth);\n\t}\n\n\t// here to grab the layout chosen by the app maker and set it up on this table\n\n\tlet selectLayout = (chosenLayout) => {\n\t\tif (chosenLayout === \"No Borders\") {\n\t\t\treturn \"noBorders\";\n\t\t}\n\t\telse if (chosenLayout === \"Header Line Only\") {\n\t\t\treturn \"headerLineOnly\";\n\t\t}\n\t\telse if (chosenLayout === \"Light Horizontal Lines\") {\n\t\t\treturn \"lightHorizontalLines\";\n\t\t}\n\t\telse if (chosenLayout === \"Strong Outer Border\") {\n\t\t\treturn {\n\t\t\t\thLineWidth: function (i, node) {\n\t\t\t\t\treturn (i === 0 || i === node.table.body.length) ? 2 : 1;\n\t\t\t\t},\n\t\t\t\tvLineWidth: function (i, node) {\n\t\t\t\t\treturn (i === 0 || i === node.table.widths.length) ? 2 : 1;\n\t\t\t\t},\n\t\t\t\thLineColor: function (i, node) {\n\t\t\t\t\treturn (i === 0 || i === node.table.body.length) ? 'black' : 'gray';\n\t\t\t\t},\n\t\t\t\tvLineColor: function (i, node) {\n\t\t\t\t\treturn (i === 0 || i === node.table.widths.length) ? 'black' : 'gray';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse if (chosenLayout === \"Zebra\") {\n\t\t\treturn {\n\t\t\t\tfillColor: function (i, node) {\n\t\t\t\t\treturn (i % 2 === 0) ? '#CCCCCC' : null;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (chosenLayout === \"Light Horizontal Lines Without Header\") {\n\n\t\t\treturn {\n\t\t\t\thLineWidth(i, node) {\n\t\t\t\t\treturn (i === node.table.headerRows) ? 0 : 1; // Set the header row to 2, others to 1\n\t\t\t\t},\n\t\t\t\tvLineWidth(i) {\n\t\t\t\t\treturn 0; // No vertical lines\n\t\t\t\t},\n\t\t\t\thLineColor(i) {\n\t\t\t\t\treturn '#aaa'; // Customize the color of horizontal lines\n\t\t\t\t},\n\t\t\t\tpaddingLeft(i) {\n\t\t\t\t\treturn i === 0 ? 0 : 8; // Add padding to the left of the content cells\n\t\t\t\t},\n\t\t\t\tpaddingRight(i, node) {\n\t\t\t\t\treturn (i === node.table.widths.length - 1) ? 0 : 8; // Add padding to the right of the content cells\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\telse {\n\t\t\treturn \"no layout specified\"\n\t\t}\n\n\t}\n\n\tlet layoutHolder = selectLayout(properties.table_layout);\n\n\tlet tableObjectHolder = {\n\t\ttable: {\n\t\t\theaderRows: useHeaderRow,\n\t\t\tdontBreakRows: true,\n\t\t\tkeepWithHeaderRows: useHeaderRow,\n\t\t\twidths: arrayOfWidths,\n\t\t\tbody: tableBody,\n\t\t},\n\t\t//style: `${definedStyleForTable.toLowerCase()}`, was applying margins to table itself! \n\t\tmargin: tableCustomMarginsDefinitionLogic(),\n\t\tlayout: layoutHolder,\n\t\tpageBreak: properties.page_break.toLowerCase(),\n\t};\n\n\t// here, in case this is being inputted into a multi column, will add the width of this element's column then push it into the specified column.\n\n\tif (properties.into_multi_column === true) {\n\n\t\t/* \t\tif (properties.this_column_width === \"Fit available space\") {\n\t\t\t\t\ttableObjectHolder.width = \"*\";\n\t\t\t\t} else {\n\t\t\t\t\ttableObjectHolder.width = \"auto\";\n\t\t\t\t} */\n\n\n\t\tif (properties.this_column_width === \"Fit available space\") {\n\n\t\t\ttableObjectHolder.width = \"*\";\n\n\t\t} else if (properties.this_column_width === \"Fit content\") {\n\n\t\t\ttableObjectHolder.width = \"auto\";\n\n\t\t} else if (properties.this_column_width === \"Fixed width\") {\n\n\t\t\ttableObjectHolder.width = properties.fixed_width_column_size;\n\n\t\t}\n\n\n\n\n\n\t\t// pushing into the multi column\n\t\tinstance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(tableObjectHolder);\n\n\t} else if (properties.into_footer === true) {\n\n\t\t// here we push it into the footer\n\t\tinstance.data.footerObjectsHolder.columns.push(tableObjectHolder);\n\n\t} else if (properties.into_header === true) {\n\n\t\t// here we push it into the header\n\t\tinstance.data.headerObjectsHolder.columns.push(tableObjectHolder);\n\n\t} else if (properties.into_background === true) {\n\n\t\t// here we push it into the background\n\t\tinstance.data.docDefinition.background.push(tableObjectHolder);\n\n\t} else {\n\t\t// here we push the object into the main document body\n\n\t\tinstance.data.composeInMe.push(tableObjectHolder);\n\t}\n\n\n\n\n\n\n\n}","add_debugger":false}},"AEQ":{"caption":"Insert image on","fields":{"AER":{"caption":"Image file (see docs)","editor":"DynamicValue","name":"image_link","optional":true,"rank":0,"value":"image"},"AEX":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":1},"AEd":{"caption":"Is this element being put into a Multi Column?","default_val":false,"editor":"Checkbox","name":"into_multi_column","rank":4},"AEf":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multi_column_name","optional":true,"rank":5,"value":"text"},"AEj":{"caption":"Image width","editor":"DynamicValue","name":"image_width","optional":true,"rank":2,"value":"number"},"AEk":{"caption":"Image height","editor":"DynamicValue","name":"image_height","optional":true,"rank":3,"value":"number"},"AFD":{"caption":"Use image custom margins?","default_val":false,"editor":"Checkbox","name":"image_custom_margins","rank":6},"AFE":{"caption":"Below you will be able to set extra margins for your image element. Leave the box unchecked for a default display. (Will ignore any numbers below)","editor":"Label","name":"margin_info","rank":7},"AFF":{"caption":"Left Margin","editor":"DynamicValue","name":"left_margin","rank":8,"value":"number","default_val":0},"AFG":{"caption":"Top Margin","editor":"DynamicValue","name":"top_margin","rank":9,"value":"number","default_val":0},"AFH":{"caption":"Right Margin","editor":"DynamicValue","name":"right_margin","rank":10,"value":"number","default_val":0},"AFI":{"caption":"Bottom Margin","editor":"DynamicValue","name":"bottom_margin","rank":11,"value":"number","default_val":0},"AFc":{"caption":"Is this element being put into the footer?","default_val":false,"editor":"Checkbox","name":"into_footer","rank":12},"AFd":{"caption":"Is this element being put into the header?","default_val":false,"editor":"Checkbox","name":"into_header","rank":13},"AFq":{"caption":"Is this element being put into the background?","name":"into_background","rank":14,"editor":"Checkbox","default_val":false},"AGM":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":15,"editor":"Label"},"AGN":{"caption":"Image list","name":"image_list","rank":17,"editor":"DynamicValue","value":"image","is_list":true,"optional":true},"AGO":{"caption":"Structure name","name":"repeating_structure_name","rank":16,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance, properties, context) {\n\n\n    // composeInMe is an array of objects and we push a new object into it, each object is an element created in the pdf\n\n\n    // here we bring it into existence if it doesn't exists yet\n\n    if (instance.data.composeInMe === undefined) {\n        instance.data.composeInMe = [];\n    }\n\n    const protocolFix = (possibleUrl) => {\n\n        if (possibleUrl.substring(0,4) === \"http\") {\n    \n          return possibleUrl;\n       \n        } else {\n    \n          return `https:${possibleUrl}`;\n    \n        }\n    \n      };\n\n    const getList = (thingWithList, startPosition, finishPosition) => {\n        let returnedList = thingWithList.get(startPosition, finishPosition);\n        return returnedList;\n    }\n\n\n    const imgCustomMarginsDefinitionLogic = () => {\n        if (properties.image_custom_margins === true) {\n            return [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin];\n        } else { return null; } // function to allow to set custom margins or ignore it and use default ones\n    }\n\n    if (\n        typeof properties.image_link !== \"undefined\" &&\n        properties.image_link &&\n        (typeof properties.repeating_structure_name === \"undefined\" || properties.repeating_structure_name === null)\n    ) {\n\n\n\n        let fixedImageUrl = protocolFix(properties.image_link); // because bubble doesn't passes the protocol, only the link, so we append the protocol ourselves\n\n        let providedImageName = protocolFix(properties.image_link).replaceAll(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n\n        instance.data.docDefinition.images[`${providedImageName}`] = fixedImageUrl;\n\n\n        // here we capture whatever the user (app maker) has inputed into the workflow actions into an object\n\n        if (properties.image_width === undefined) {\n            properties.image_width = \"\";\n        }\n\n        if (properties.image_height === undefined) {\n            properties.image_height = \"\";\n        }\n\n\n\n        let imageObjectHolder = {\n            image: providedImageName,\n            pageBreak: properties.page_break.toLowerCase(),\n            width: properties.image_width,\n            height: properties.image_height,\n            margin: imgCustomMarginsDefinitionLogic(),\n        };\n\n\n        // here, in case this is being inputted into a multi column, will add the width of this element's column then push it into the specified column.\n\n        if (properties.into_multi_column === true) {\n\n            // pushing into the multi column\n            instance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(imageObjectHolder);\n\n        } else if (properties.into_footer === true) {\n\n            // here we push it into the footer\n            instance.data.footerObjectsHolder.columns.push(imageObjectHolder);\n\n        } else if (properties.into_header === true) {\n\n            // here we push it into the header\n            instance.data.headerObjectsHolder.columns.push(imageObjectHolder);\n\n        } else if (properties.into_background === true) {\n\n            // here we push it into the background\n            instance.data.docDefinition.background.push(imageObjectHolder);\n\n        } else {\n            // here we push the object into the main document body\n\n            instance.data.composeInMe.push(imageObjectHolder);\n        }\n\n    } else if (typeof properties.repeating_structure_name !== \"undefined\" && properties.repeating_structure_name) {\n\n\n        // repeating structure flow\n        if (typeof properties.image_list !== \"undefined\" && properties.image_list) {\n\n            let listOfImages = getList(properties[`image_list`], 0, properties[`image_list`].length());\n\n            let thisElementSeries = [];\n\n            for (i = 0; i < instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations; i++) {\n\n\n                let fixedImageUrl = protocolFix(listOfImages[i]); // because bubble doesn't passes the protocol, only the link, so we append the protocol ourselves\n\n                let providedImageName = protocolFix(listOfImages[i]).replaceAll(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n                instance.data.docDefinition.images[`${providedImageName}`] = fixedImageUrl;\n\n\n                let currentImageObjectHolder = {\n                    image: providedImageName,\n                    pageBreak: properties.page_break.toLowerCase(),\n                    width: properties.image_width,\n                    height: properties.image_height,\n                    margin: imgCustomMarginsDefinitionLogic(),\n                };\n\n\n                // being inserted into a repeated multi column\n                if (properties.into_multi_column === true) {\n\n                    instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentImageObjectHolder)\n\n                } else {\n\n                    thisElementSeries.push(currentImageObjectHolder)\n\n                }\n\n            }\n\n            if (properties.into_multi_column === false) {\n\n                instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)\n\n            }\n\n        } else {\n\n            let fixedImageUrl = protocolFix(properties.image_link); // because bubble doesn't passes the protocol, only the link, so we append the protocol ourselves\n\n            let providedImageName = protocolFix(properties.image_link).replaceAll(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n            instance.data.docDefinition.images[`${providedImageName}`] = fixedImageUrl;\n\n            let thisElementSeries = [];\n\n            for (i = 0; i < instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations; i++) {\n\n                let currentImageObjectHolder = {\n                    image: providedImageName,\n                    pageBreak: properties.page_break.toLowerCase(),\n                    width: properties.image_width,\n                    height: properties.image_height,\n                    margin: imgCustomMarginsDefinitionLogic(),\n                };\n\n                // being inserted into a repeated multi column\n                if (properties.into_multi_column === true) {\n\n                    instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(currentImageObjectHolder)\n\n                } else {\n\n                    thisElementSeries.push(currentImageObjectHolder)\n\n                }\n            }\n            \n            if (properties.into_multi_column === false) {\n\n                instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)\n\n            }\n\n        }\n\n\n\n    }\n\n\n\n\n\n\n\n\n}","add_debugger":false}},"AET":{"caption":"Start multi column","fields":{"AEV":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multiColumnName","rank":0,"value":"text"},"AEW":{"caption":"Page break","default_val":"Unspecified","editor":"Dropdown","name":"page_break","rank":1},"AGt":{"caption":"Being repeated","name":"being_repeated","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AGu":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":3,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance, properties, context) {\n\n\t// composeInMe is an array of objects and we push a new object into it, each object is an element created in the pdf\n\n\n\t// here we bring it into existence if it doesn't exists yet\n\n\tif (instance.data.composeInMe === undefined) {\n\t\tinstance.data.composeInMe = [];\n\t}\n\n\t// same as above\t\n\tif (instance.data.multiColumnObjectHolder === undefined) {\n\t\tinstance.data.multiColumnObjectHolder = [];\n\t}\n\n\tif (properties.being_repeated) {\n\n\t\t// initialize the array that will hold this multi column's instances\n\t\tinstance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multiColumnName}`] = [];\n\n\t\t// creates the instances and push them so later they can receive the element\n\t\tfor (i = 0; i < instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations; i++) {\n\n\t\t\tlet currentMultiColumn = {\n\t\t\t\tpageBreak: properties.page_break.toLowerCase(),\n\t\t\t\tcolumns: [],\n\t\t\t};\n\n\t\t\tinstance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multiColumnName}`].push(currentMultiColumn);\n\n\t\t}\n\t}\n\telse {\n\n\t\t// here we capture whatever the user (app maker) has inputed into the workflow actions into an object\n\n\t\tinstance.data.multiColumnObjectHolder[`${properties.multiColumnName}`] = {\n\t\t\tpageBreak: properties.page_break.toLowerCase(),\n\t\t\tcolumns: [],\n\t\t};\n\n\t\t// we don't push this object inside composeInMe now because first we have to push some element objects (texts tables images etc) into the columns array\n\t}\n\n\n\n\n}"}},"AEU":{"caption":"End multi column","fields":{"AEY":{"caption":"Multi Column Name","editor":"DynamicValue","name":"multiColumnName","rank":0,"value":"text"},"AGv":{"caption":"Being repeated","name":"being_repeated","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"AGw":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance, properties, context) {\n\n    // composeInMe is an array of objects and we push a new object into it, each object is an element created in the pdf \t\n\n    // here we push the multi column object \t\n\n\n    if (properties.being_repeated) {\n\n            instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push([...instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multiColumnName}`]])\n\n\n    } else {\n\n    instance.data.composeInMe.push(instance.data.multiColumnObjectHolder[`${properties.multiColumnName}`]);\n\n    }\n\n\n\n}"}},"AEn":{"caption":"Activate footer","fields":{"AEo":{"caption":"Show page number? (counter)","default_val":false,"editor":"Checkbox","name":"show_page_number","rank":1},"AEp":{"caption":"Counter alignment","default_val":"right","editor":"Dropdown","name":"page_number_alignment","optional":true,"rank":3},"AEq":{"caption":"Start count on second page","default_val":false,"editor":"Checkbox","name":"start_count_on_second_page","rank":2},"AEr":{"caption":"Hide counter on","editor":"StaticText","name":"exclude_pages","optional":true,"rank":5},"AFC":{"caption":"You can put elements in the footer by checking the box at the element itself that says \"insert this element into footer?\".","editor":"Label","name":"you_can_put_elements_in_the_footer_by_checking_the_box_at_the_element_itself_that_says_\"insert_this_element_into_footer?\".","rank":0},"AFJ":{"caption":"Hide page number (counter) on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_pages","rank":4},"AFN":{"caption":"Page number margins","editor":"Label","name":"page_number_margins","rank":10},"AFO":{"caption":"Left margin","default_val":0,"editor":"StaticNumber","name":"left_margin","rank":11},"AFP":{"caption":"Top margin","default_val":0,"editor":"StaticNumber","name":"top_margin","rank":12},"AFQ":{"caption":"Right margin","default_val":0,"editor":"StaticNumber","name":"right_margin","rank":13},"AFR":{"caption":"Bottom margin","default_val":0,"editor":"StaticNumber","name":"bottom_margin","rank":14},"AFe":{"caption":"Hide footer elements on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_elements_pages","rank":6},"AFf":{"caption":"Hide elements on","editor":"StaticText","name":"exclude_elements_pages","optional":true,"rank":7},"AOe":{"caption":"Show total page count","name":"show_total_page_count","rank":8,"editor":"DynamicValue","value":"boolean","default_val":false},"AOf":{"caption":"Counter divider","name":"current_and_total_page_divider","rank":9,"editor":"DynamicValue","value":"text","optional":true},"AOu":{"caption":"Counter style","name":"number_style","rank":15,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance, properties, context) {\n\n\t// here we kick off the footer column. It works the more or less like the multi column wrapper, with some added complexity.\n\t// the difference is that we must use a function as the footer object (functions are objects!) to return a dynamic footer\n\t// and also within that function return the whole \"object holder\" that has a function that runs when the pdf file is generated\n\t// like the multi columns, we push elements inside the columns array, here it is instance.data.footerObjectsHolder.columns\n\t// use that\t\"address\" to send elements to the footer.\n\t// apologize for the bad explanation, I'm pulling an all night right now, it's 2:00 A.M and I'm here since yesterday morning with a few breaks only xD\n\t// it's day now, still can't come up with better explanation. Well.\t\n\n\n\t// to avoid \"is undefined\" errors because choosing this is optional for the app maker. It is only needed if the app maker chooses to use page counter \n\tif (properties.page_number_alignment === undefined) {\n\t\tproperties.page_number_alignment = \"\";\n\t}\n\n\n\n\n\t// this function is meant to not numerate the footer on some pages (of course on app maker's request).\t\n\tconst whatCounterToShowOnThisPage = (currentPage, pageCount) => {\n\n\t\tif (properties.use_exclude_pages) {\n\n\t\t\tlet arrayOfExcludedNumbers = properties.exclude_pages.match(/\\d+/g).map(Number); // extracts the numbers from the string inputted by the app maker\n\n\t\t\t// By activating \"start count on second page\"\n\t\t\t// The document page currentPage 2 becomes shown as page number 1  \n\t\t\t// The document page currentPage 4 becomes shown as page number 3 \n\t\t\t// Then, the app maker will want tell us to hide \"pages number 2 and 4\", but if he also requested to start counting on second page...\n\t\t\t// It means he actually wants to hide the counter on the document pages 3 and 5. Because these are where his pages 2 and 4 will be.\n\t\t\t// Hence the adjustment function below.\t\t\n\n\t\t\tlet adjustedArrayOfExcludedNumbersOrNot;\n\n\t\t\tif (properties.start_count_on_second_page === true) {\n\n\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers.map(function (value) {\n\t\t\t\t\treturn value + 1;\n\t\t\t\t});\n\n\n\n\t\t\t} else {\n\n\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers; // this is in case the app maker didn't requested to start counting pages only on second page\n\n\t\t\t}\n\n\t\t\tif (!adjustedArrayOfExcludedNumbersOrNot.includes(currentPage) && properties.start_count_on_second_page === true) {\n\n\t\t\t\treturn {\n\t\t\t\t\ttext: startCountingOnSecondPage(currentPage, pageCount),\n\t\t\t\t\talignment: properties.page_number_alignment,\n\t\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\n\t\t\t\t\tstyle: properties.number_style,\n\t\t\t\t}\n\n\t\t\t} else if (!adjustedArrayOfExcludedNumbersOrNot.includes(currentPage) && properties.start_count_on_second_page === false) {\n\n\t\t\t\treturn {\n\t\t\t\t\ttext: startCountingOnSecondPage(currentPage, pageCount),\n\t\t\t\t\talignment: properties.page_number_alignment,\n\t\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\n\t\t\t\t\tstyle: properties.number_style,\n\t\t\t\t}\n\n\t\t\t} else {\n\n\t\t\t\treturn {\n\t\t\t\t\ttext: \"\", // if current page is in the black list defined by app maker, page counter will be an empty string and not appear\n\t\t\t\t\talignment: properties.page_number_alignment,\n\t\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\n\t\t\t\t\tstyle: properties.number_style,\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\t\t\treturn {\n\t\t\t\ttext: startCountingOnSecondPage(currentPage, pageCount),\n\t\t\t\talignment: properties.page_number_alignment,\n\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\n\t\t\t\tstyle: properties.number_style,\n\t\t\t}\n\t\t}\n\n\n\n\t}\n\n\t// this trick will make the second page show the number 1 and hide the number 0 from the first page.\n\tconst startCountingOnSecondPage = (currentPage, pageCount) => {\n\n\t\tif (properties.start_count_on_second_page === true && currentPage > 1) {\n\n\n\t\t\tif (properties.show_total_page_count === true) {\n\n\t\t\t\treturn `${currentPage - 1}${properties.current_and_total_page_divider}${pageCount - 1}`;  // transforms number 2 into 1 and, 3 into 2 and on\n\n\t\t\t} else {\n\n\t\t\t\treturn `${currentPage - 1}`;  // transforms number 2 into 1 and, 3 into 2 and on\n\n\t\t\t}\n\n\n\t\t} else if (properties.start_count_on_second_page === true && currentPage === 1) {\n\n\t\t\treturn \"\"; // hide the real number 1 by sending an empty string instead of it \n\n\t\t} else if (properties.start_count_on_second_page === false) {\n\n\n\t\t\tif (properties.show_total_page_count === true) {\n\n\t\t\t\treturn `${currentPage}${properties.current_and_total_page_divider}${pageCount}`;\n\n\t\t\t} else {\n\n\t\t\t\treturn currentPage; // if the app maker did not requested to start counting only on the second page, return the real page number. First page will show 1, second shows 2 etc\n\n\n\t\t\t}\n\n\n\t\t}\n\t}\n\n\n\t// holds objects inserted by the next element actions in the Bubble workflow\n\tinstance.data.footerObjectsHolder = {\n\t\tcolumns: []\n\t}\n\n\t// holds objects inserted by the page number counter function\n\tinstance.data.finalFooterObjectsHolder = {\n\t\tcolumns: []\n\t}\n\n\t// this inserts \"whatCounterToShowOnThisPage\" into \"columns\" so it ultimately becomes the right number to be shown\t\t\n\tinstance.data.docDefinition.footer = function (currentPage, pageCount) {\n\n\t\tinstance.data.finalFooterObjectsHolder.columns = []; // wipes clean the footer array from the previous run\n\n\t\t// first we concatenate the element holding array into the final array (or don't, in some cases specified below) \n\n\t\tif (properties.use_exclude_elements_pages) {\n\n\t\t\tlet arrayOfExcludedNumbers = properties.exclude_elements_pages.match(/\\d+/g).map(Number); // extracts the numbers from the string inputted by the app maker\n\n\t\t\t// By activating \"start count on second page\"\n\t\t\t// The document page currentPage 2 becomes shown as page number 1  \n\t\t\t// The document page currentPage 4 becomes shown as page number 3 \n\t\t\t// Then, the app maker will want tell us to hide \"footer on pages number 2 and 4\", but if he also requested to start counting on second page...\n\t\t\t// It means he actually wants to hide the footer on the document pages 3 and 5. Because these are where his pages 2 and 4 will be.\n\t\t\t// Hence the adjustment function below.\t\t\n\n\t\t\tlet adjustedArrayOfExcludedNumbersOrNot;\n\n\t\t\tif (properties.start_count_on_second_page === true) {\n\n\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers.map(function (value) {\n\t\t\t\t\treturn value + 1;\n\t\t\t\t});\n\n\n\n\t\t\t} else {\n\n\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers; // this is in case the app maker didn't requested to start counting pages only on second page\n\n\t\t\t}\n\n\t\t\tif (!adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)) {\n\n\t\t\t\tinstance.data.finalFooterObjectsHolder.columns = [].concat(instance.data.footerObjectsHolder.columns);\t// concatenate the elements array with the footer array \n\n\t\t\t} else {\n\n\t\t\t\tinstance.data.finalFooterObjectsHolder.columns = []; // in case this page is in the app maker's black list, it won't concatenate the footer elements\n\n\t\t\t}\n\n\t\t} else {\n\t\t\tinstance.data.finalFooterObjectsHolder.columns = [].concat(instance.data.footerObjectsHolder.columns);;\n\t\t}\n\n\n\t\t// then we work out the counter (page number) logic and insert it at the final array\n\n\t\tif (properties.show_page_number === true) { // don't return anything related to page number case it's not true\n\n\n\n\n\n\t\t\tif (properties.page_number_alignment === \"right\") {\n\n\t\t\t\tinstance.data.finalFooterObjectsHolder.columns.push(whatCounterToShowOnThisPage(currentPage, pageCount)); // used push to position the page counter as right as possible\n\n\n\t\t\t} else if (properties.page_number_alignment === \"left\") {\n\n\n\t\t\t\tinstance.data.finalFooterObjectsHolder.columns.unshift(whatCounterToShowOnThisPage(currentPage, pageCount)); // used unshift to position the page counter as left as possible\n\n\n\t\t\t} else {\n\n\t\t\t\tlet byHalf = instance.data.finalFooterObjectsHolder.columns.length / 2; // this trick to put it into the middle works better with even number of elements\n\n\t\t\t\tinstance.data.finalFooterObjectsHolder.columns.splice(byHalf, 0, whatCounterToShowOnThisPage(currentPage, pageCount)); // used splice to position the page counter as \"middle\" as possible\n\n\n\t\t\t}\n\n\n\t\t}\n\n\n\n\n\n\n\t\treturn instance.data.finalFooterObjectsHolder;\n\n\t}\n\n\n\n\t/* return {\n\t\t\ttext: `${currentPage}`, \n\t\t\talignment: properties.page_number_alignment, \n\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin]\n\t} \n\t\n\tthis is a sample of what must ultimately be returned to show the counter */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n}"}},"AEt":{"caption":"Activate header","fields":{"AEx":{"caption":"Show page number? (counter)","default_val":false,"editor":"Checkbox","name":"show_page_number","rank":1},"AEy":{"caption":"Start count on second page","default_val":false,"editor":"Checkbox","name":"start_count_on_second_page","rank":2},"AEz":{"caption":"Counter alignment","default_val":"right","editor":"Dropdown","name":"page_number_alignment","optional":true,"rank":3},"AFA":{"caption":"Hide counter on","editor":"StaticText","name":"exclude_pages","optional":true,"rank":5},"AFB":{"caption":"You can put elements in the header by checking the box at the element itself that says \"insert this element into header?\".","editor":"Label","name":"you_can_put_elements_in_the_header_by_checking_the_box_at_the_element_itself_that_says_\"insert_this_element_into_header?\".","rank":0},"AFT":{"caption":"Hide page number (counter) on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_pages","rank":4},"AFU":{"caption":"Page number margins","editor":"Label","name":"page_number_margins","rank":8},"AFV":{"caption":"Left margin","default_val":0,"editor":"StaticNumber","name":"left_margin","rank":9},"AFW":{"caption":"Top margin","default_val":0,"editor":"StaticNumber","name":"top_margin","rank":10},"AFX":{"caption":"Right margin","default_val":0,"editor":"StaticNumber","name":"right_margin","rank":11},"AFY":{"caption":"Bottom margin","default_val":0,"editor":"StaticNumber","name":"bottom_margin","rank":12},"AFg":{"caption":"Hide header elements on specific pages?","default_val":false,"editor":"Checkbox","name":"use_exclude_elements_pages","optional":true,"rank":6},"AFh":{"caption":"Hide elements on","editor":"StaticText","name":"exclude_elements_pages","optional":true,"rank":7}},"code":{"fn":"function(instance, properties, context) {\n\n// here we kick off the header column. It works the more or less like the multi column wrapper, with some added complexity.\n// the difference is that we must use a function as the header object (functions are objects!) to return a dynamic header\n// and also within that function return the whole \"object holder\" that has a function that runs when the pdf file is generated\n// like the multi columns, we push elements inside the columns array, here it is instance.data.headerObjectsHolder.columns\n// use that\t\"address\" to send elements to the header.\n// apologize for the bad explanation, I'm pulling an all night right now, it's 2:00 A.M and I'm here since yesterday morning with a few breaks only xD\n// it's day now, still can't come up with better explanation. Well.\t\n\t\n\t\n// to avoid \"is undefined\" errors because choosing this is optional for the app maker. It is only needed if the app maker chooses to use page counter \nif (properties.page_number_alignment === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\tproperties.page_number_alignment = \"\"; \n\t\t\t\t\t\t\t\t\t\t\t}\t\n\t\n\t\n\t\n\t\n// this function is meant to not numerate the header on some pages (of course on app maker's request).\t\nconst whatCounterToShowOnThisPage = (currentPage) => {\n\t\n\tif (properties.use_exclude_pages) {\n\t\t\n\t\t\t\t\t\tlet arrayOfExcludedNumbers = properties.exclude_pages.match(/\\d+/g).map(Number); // extracts the numbers from the string inputted by the app maker\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t// By activating \"start count on second page\"\n\t\t\t\t\t\t// The document page currentPage 2 becomes shown as page number 1  \n\t\t\t\t\t\t// The document page currentPage 4 becomes shown as page number 3 \n\t\t\t\t\t\t// Then, the app maker will want tell us to hide \"pages number 2 and 4\", but if he also requested to start counting on second page...\n\t\t\t\t\t\t// It means he actually wants to hide the counter on the document pages 3 and 5. Because these are where his pages 2 and 4 will be.\n\t\t\t\t\t\t// Hence the adjustment function below.\t\t\n\t\t\n\t\t\t\t\t\tlet adjustedArrayOfExcludedNumbersOrNot;\n\t\t\n\t\t\t\t\t\tif (properties.start_count_on_second_page === true) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers.map( function(value) { \n    \t\t\t\t\t\t\treturn value + 1; \n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers; // this is in case the app maker didn't requested to start counting pages only on second page\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!adjustedArrayOfExcludedNumbersOrNot.includes(currentPage) && properties.start_count_on_second_page === true) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\ttext: startCountingOnSecondPage(currentPage) , \n\t\t\t\t\t\t\t\t\talignment: properties.page_number_alignment, \n\t\t\t\t\t\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\t\n\t\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t} else if (!adjustedArrayOfExcludedNumbersOrNot.includes(currentPage) && properties.start_count_on_second_page === false) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\ttext: startCountingOnSecondPage(currentPage) , \n\t\t\t\t\t\t\t\t\talignment: properties.page_number_alignment, \n\t\t\t\t\t\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\t\n\t\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\ttext: \"\" , // if current page is in the black list defined by app maker, page counter will be an empty string and not appear\n\t\t\t\t\t\t\t\t\talignment: properties.page_number_alignment, \n\t\t\t\t\t\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\t\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t}\n\t\t\n\t} else {\n\t\t\treturn \t{\n\t\t\t\t\ttext: startCountingOnSecondPage(currentPage), \n\t\t\t\t\talignment: properties.page_number_alignment, \n\t\t\t\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin],\t\n\t\t\t\t\t}\n\t}\n\t\n\t\n\t\n}\t\n\t\n// this trick will make the second page show the number 1 and hide the number 0 from the first page.\nconst startCountingOnSecondPage = (currentPage) => { \n\n\t\tif (properties.start_count_on_second_page === true && currentPage > 1) {\n\t\t\treturn currentPage - 1;  // transforms number 2 into 1 and, 3 into 2 and on\t\n\t\t} else if (properties.start_count_on_second_page === true && currentPage === 1) {\n\t\t\treturn \"\"; // hide the real number 1 by sending an empty string instead of it \n\t\t} else if (properties.start_count_on_second_page === false) {\n\t\t\treturn currentPage; // if the app maker did not requested to start counting only on the second page, return the real page number. First page will show 1, second shows 2 etc\n\t\t}\n}\t\t\n\n\t\n// holds objects inserted by the next element actions in the Bubble workflow\ninstance.data.headerObjectsHolder = {\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcolumns: [] \n\t\t\t\t\t\t\t\t}\n\t\n// holds objects inserted by the page number counter function\ninstance.data.finalHeaderObjectsHolder = {\n\t\t\t\t\t\t\t\t\tcolumns: []\n\t\t\t\t\t\t\t\t}\n\n// this inserts \"whatCounterToShowOnThisPage\" into \"columns\" so it ultimately becomes the right number to be shown\t\t\ninstance.data.docDefinition.header = function(currentPage) {\n\t\n\tdebugger;\n\tinstance.data.finalHeaderObjectsHolder.columns = []; // wipes clean the header array from the previous run\n\t\n\t// first we concatenate the element holding array into the final array (or don't, in some cases specified below) \n\t\n\tif (properties.use_exclude_elements_pages) {\n\t\t\n\t\t\t\t\t\tlet arrayOfExcludedNumbers = properties.exclude_elements_pages.match(/\\d+/g).map(Number); // extracts the numbers from the string inputted by the app maker\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t// By activating \"start count on second page\"\n\t\t\t\t\t\t// The document page currentPage 2 becomes shown as page number 1  \n\t\t\t\t\t\t// The document page currentPage 4 becomes shown as page number 3 \n\t\t\t\t\t\t// Then, the app maker will want tell us to hide \"header on pages number 2 and 4\", but if he also requested to start counting on second page...\n\t\t\t\t\t\t// It means he actually wants to hide the header on the document pages 3 and 5. Because these are where his pages 2 and 4 will be.\n\t\t\t\t\t\t// Hence the adjustment function below.\t\t\n\t\t\n\t\t\t\t\t\tlet adjustedArrayOfExcludedNumbersOrNot;\n\t\t\n\t\t\t\t\t\tif (properties.start_count_on_second_page === true) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers.map( function(value) { \n    \t\t\t\t\t\t\treturn value + 1; \n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tadjustedArrayOfExcludedNumbersOrNot = arrayOfExcludedNumbers; // this is in case the app maker didn't requested to start counting pages only on second page\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tif (!adjustedArrayOfExcludedNumbersOrNot.includes(currentPage)) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t instance.data.finalHeaderObjectsHolder.columns = [].concat(instance.data.headerObjectsHolder.columns);\t// concatenate the elements array with the header array \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tinstance.data.finalHeaderObjectsHolder.columns = []; // in case this page is in the app maker's black list, it won't concatenate the header elements\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\n\t} else {\n\t\t\tinstance.data.finalHeaderObjectsHolder.columns = [].concat(instance.data.headerObjectsHolder.columns);;\n\t}\t\n\t\n\t\n\t// then we work out the counter (page number) logic and insert it at the final array\n\t\n\tif (properties.show_page_number === true) { // don't return anything related to page number case it's not true\n\t\n\t    if (properties.page_number_alignment === \"right\") {\t\t\t\t\t \t\n\t\t\n\t        \tinstance.data.finalHeaderObjectsHolder.columns.push(whatCounterToShowOnThisPage(currentPage)); // used push to position the page counter as right as possible\n\t\t\t\n        \n\t    \t} else if (properties.page_number_alignment === \"left\") {\n        \n\t\t\t\n\t         \tinstance.data.finalHeaderObjectsHolder.columns.unshift(whatCounterToShowOnThisPage(currentPage)); // used unshift to position the page counter as left as possible\n         \n\t\t\t\n \t   \t} else {\n        \t\t\t\n\t        \tlet byHalf = instance.data.finalHeaderObjectsHolder.columns.length / 2; // this trick to put it into the middle works better with even number of elements\n\t\t\t\t\n\t        \tinstance.data.finalHeaderObjectsHolder.columns.splice(byHalf, 0, whatCounterToShowOnThisPage(currentPage)); // used splice to position the page counter as \"middle\" as possible\n\t\t\t\n\t\t\t\n\t\t\t}   \n\t\t\t\n\t\t\t\n      \t}\n\t\t\n\t\n      \n\t\n\t\t\n\t\t\n    return instance.data.finalHeaderObjectsHolder;\n\t\n    }\n\n\n\n/* return {\n\t\ttext: `${currentPage}`, \n\t\talignment: properties.page_number_alignment, \n\t\tmargin: [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin]\n} \n\nthis is a sample of what must ultimately be returned to show the counter */\n\n\t\t\n\n\n\n\n\n\n\t\n\n\n   \n\t\t\t\t\t\t\t\n  \n \n\n\n\n}"}},"AFx":{"caption":"Start repeating structure","code":{"fn":"function(instance, properties, context) {\n\n\n    // here we capture whatever the user (app maker) has inputed into the workflow actions into an object\n    \n    instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`] = {};\n\n\t\n\tinstance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements = []; \n\n\tinstance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations = properties.iterations_count; \n\n\n\n    \n\n\n}"},"fields":{"AGE":{"caption":"Name","name":"repeating_structure_name","rank":0,"editor":"DynamicValue","value":"text","default_val":"","optional":false},"AGL":{"caption":"How many structures","name":"iterations_count","rank":1,"editor":"DynamicValue","value":"number","optional":false}}},"AGJ":{"caption":"End repeating structure","code":{"fn":"function(instance, properties, context) {\n\n\n        // [[\"A\", \"A\", \"A\", \"A\"], [\"B\", \"B\", \"B\", \"B\"], [\"C\", \"C\", \"C\", \"C\"]]\n        let sequentiallyRepeatedElements = instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements;\n\n        //console.log(\"Sequentially is\", sequentiallyRepeatedElements)\n\n        let returnLength = (element) => {\n            return element.length;\n        }\n\n        let biggerComparer = (accumulator, currentValue) => {\n            let biggerNumber;\n            if (accumulator > currentValue) {\n                biggerNumber = accumulator;\n            } else {\n                biggerNumber = currentValue;\n            }\n            return biggerNumber;\n        }\n\n        let isThisTheBiggestLength = (element, index, array) => {\n            if (element === biggestLength) {\n                return true\n            } else {\n                return false\n            }\n        }\n\n        let storedListLengths = sequentiallyRepeatedElements.map(returnLength);\n\n        let biggestLength = storedListLengths.reduce(biggerComparer);\n\n        let indexOfLongerArray = storedListLengths.findIndex(isThisTheBiggestLength);\n\n        // a transpose function\n        let transpose = (a) => {\n\n            // Calculate the width and height of the Array\n            var w = a.length || 0;\n            var h = a[indexOfLongerArray] instanceof Array ? a[indexOfLongerArray].length : 0;\n\n            /*// In case it is a zero matrix, no transpose routine needed.\n            if (h === 0 || w === 0) {\n                return [];\n            }*/\n\n            /**\n             * @var {Number} i Counter\n             * @var {Number} j Counter\n             * @var {Array} t Transposed data is stored in this array.\n             */\n            var i, j, t = [];\n\n            // Loop through every item in the outer array (height)\n            for (i = 0; i < h; i++) {\n\n                // Insert a new row (array)\n                t[i] = [];\n\n                // Loop through every item per item in outer array (width)\n                for (j = 0; j < w; j++) {\n\n                    // Save transposed data.\n                    t[i][j] = a[j][i];\n                }\n            }\n\n            return t;\n        }\n\n\n        // here we transpose the elements to mix them\n        // Result is [[\"A\", \"B\", \"C\"], [\"A\", \"B\", \"C\"], [\"A\", \"B\", \"C\"], [\"A\", \"B\", \"C\"]]\n\n        let mixedSeriesOfElements = transpose(sequentiallyRepeatedElements);\n\n       // console.log(\"Mixed series is\", mixedSeriesOfElements)\n\n        // now to flat that array so it fits PDFmake's one element on top of the other structure\n\n        let flattenedMixedSeries = mixedSeriesOfElements.flat(2);\n\n       // console.log(\"Flattened mixed series is\", flattenedMixedSeries)\n\n        // now everything goes in order into \n\n        // wherever the bubbler wants to\n\n        letFilteredUndefinedsFlatMixSeries = flattenedMixedSeries.filter(Boolean);\n\n        let renewedObjsFlatMixSeries = letFilteredUndefinedsFlatMixSeries.map(x => JSON.parse(JSON.stringify(x)));\n\n        instance.data.composeInMe.push(...renewedObjsFlatMixSeries)\n\n\n\n}"},"fields":{"AGK":{"caption":"Name","name":"repeating_structure_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AGT":{"caption":"Add column to repeated table","code":{"fn":"function(instance, properties, context) {\n   \n    const getList = (thingWithList, startPosition, finishPosition) => {\n        let returnedList = thingWithList.get(startPosition, finishPosition);\n        return returnedList;\n    }\n\n    let itemsNumbers = instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;\n\n    var tempColumnHolder = [];\n\n\n\n    for (i = 0; i < itemsNumbers; i++) {\n\n        let storedCurrentListThing = getList(properties[`data_source`], 0, properties[`data_source`].length())[i].get(properties.field_of_thing);\n\n        let currentList = getList(storedCurrentListThing, 0, storedCurrentListThing.length());\n        \n        if (properties.parse_bbcode) {\n            const parser = getParser(\n            \tpdfMake.fonts, \n            \t(imageName, link) => {\n                \tinstance.data.docDefinition.images[imageName] = link;\n            \t}, \n            \t(err) => {\n                \tcontext.reportDebugger(err.message);\n            \t}\n        \t);\n            \n            currentList = currentList.map((item) => {\n                return { stack: parser.getParsedText(item) };\n            });\n        }\n\n        tempColumnHolder.push(currentList);\n\n    }\n\n\n    for (i = 0; i < itemsNumbers; i++) {\n\n        instance.data[`${properties.table_name}`].tableBodies[i].push(tempColumnHolder[i]);\n\n        if (properties.table_column_width === \"Fit available space\") {\n            var columnsWidth = \"*\";\n        } else {\n            var columnsWidth = \"auto\";\n        }\n\n        instance.data[`${properties.table_name}`].arraysOfWidths[i].push(columnsWidth);\n\n    }\n\n\n\n    if (typeof properties.column_header !== \"undefined\" && properties.column_header !== null) {\n\n        let columnHeaderAsObj = { text: properties.column_header, style: instance.data[`${properties.table_name}`].definedStyleForHeaderText };\n        \n        if (properties.parse_bbcode) {\n            const parser = getParser(\n            \tpdfMake.fonts, \n            \t(imageName, link) => {\n            \t\tinstance.data.docDefinition.images[imageName] = link;\n            \t}, \n            \t(err) => {\n            \t\tcontext.reportDebugger(err.message);\n            \t}\n        \t);\n            \n            columnHeaderAsObj = { stack: parser.getParsedText(properties.column_header), style: instance.data[`${properties.table_name}`].definedStyleForHeaderText }\n        }\n\n        instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj);\n\n    }\n\n}"},"fields":{"AGX":{"caption":"Thing type","name":"thing_type","rank":1,"editor":"custom_type"},"AGY":{"caption":"Field of thing","name":"field_of_thing","rank":2,"editor":"custom_field_AGX"},"AGZ":{"caption":"Data source","name":"data_source","rank":3,"editor":"DynamicValue","value":"custom_data_AGX","is_list":true},"AGc":{"caption":"Table name","name":"table_name","rank":4,"editor":"DynamicValue","value":"text"},"AGg":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":5,"editor":"DynamicValue","value":"text"},"AGj":{"caption":"Column header","name":"column_header","rank":6,"editor":"DynamicValue","value":"text","optional":true},"AGz":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"attention:_this_advanced_action_is_only_to_be_used_inside_a_\"repeated_structure\".","rank":0,"editor":"Label"},"AOO":{"caption":"Parse BBCode","name":"parse_bbcode","rank":7,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AGa":{"caption":"Start repeated table","code":{"fn":"function(instance, properties, context) {\n\n\n    let itemsNumbers = instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;\n\n    // the body property is an array that will hold other arrays that will be turned into rows.\n    instance.data[`${properties.table_name}`] = {};\n\n    instance.data[`${properties.table_name}`].tableBodies = [];\n    instance.data[`${properties.table_name}`].arraysOfWidths = [];\n\n    instance.data[`${properties.table_name}`].arrayOfHeaders = [];\n\n    if (typeof properties.header_style !== \"undefined\" && properties.header_style !== null) {\n\n        instance.data[`${properties.table_name}`].definedStyleForHeaderText = properties.header_style.replaceAll(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n    } else {\n\n        instance.data[`${properties.table_name}`].definedStyleForHeaderText = \"\";\n\n    }\n\n\n    for (i = 0; i < itemsNumbers; i++) {\n\n        instance.data[`${properties.table_name}`].tableBodies.push([]);\n        instance.data[`${properties.table_name}`].arraysOfWidths.push([]);\n\n    }\n\n\n\n\n}"},"fields":{"AGd":{"caption":"Table name","name":"table_name","rank":1,"editor":"DynamicValue","value":"text"},"AGf":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text"},"AGi":{"caption":"Place headers","name":"place_headers","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AGk":{"caption":"Header style","name":"header_style","rank":4,"editor":"DynamicValue","value":"text","optional":true},"AHA":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"attention:_this_advanced_action_is_only_to_be_used_inside_a_\"repeated_structure\".","rank":0,"editor":"Label"}}},"AGb":{"caption":"End repeated table","code":{"fn":"function(instance, properties, context) {\n\n    let selectLayout = (chosenLayout) => {\n        if (chosenLayout === \"No Borders\") {\n            return \"noBorders\";\n        }\n        else if (chosenLayout === \"Header Line Only\") {\n            return \"headerLineOnly\";\n        }\n        else if (chosenLayout === \"Light Horizontal Lines\") {\n            return \"lightHorizontalLines\";\n        }\n        else if (chosenLayout === \"Strong Outer Border\") {\n            return {\n                hLineWidth: function (i, node) {\n                    return (i === 0 || i === node.table.body.length) ? 2 : 1;\n                },\n                vLineWidth: function (i, node) {\n                    return (i === 0 || i === node.table.widths.length) ? 2 : 1;\n                },\n                hLineColor: function (i, node) {\n                    return (i === 0 || i === node.table.body.length) ? 'black' : 'gray';\n                },\n                vLineColor: function (i, node) {\n                    return (i === 0 || i === node.table.widths.length) ? 'black' : 'gray';\n                }\n            }\n        }\n        else if (chosenLayout === \"Zebra\") {\n            return {\n                fillColor: function (i, node) {\n                    return (i % 2 === 0) ? '#CCCCCC' : null;\n                }\n            }\n        } else if (chosenLayout === \"Light Horizontal Lines Without Header\") {\n\n\t\t\treturn {\n\t\t\t\thLineWidth(i, node) {\n\t\t\t\t\treturn (i === node.table.headerRows) ? 0 : 1; // Set the header row to 2, others to 1\n\t\t\t\t},\n\t\t\t\tvLineWidth(i) {\n\t\t\t\t\treturn 0; // No vertical lines\n\t\t\t\t},\n\t\t\t\thLineColor(i) {\n\t\t\t\t\treturn '#aaa'; // Customize the color of horizontal lines\n\t\t\t\t},\n\t\t\t\tpaddingLeft(i) {\n\t\t\t\t\treturn i === 0 ? 0 : 8; // Add padding to the left of the content cells\n\t\t\t\t},\n\t\t\t\tpaddingRight(i, node) {\n\t\t\t\t\treturn (i === node.table.widths.length - 1) ? 0 : 8; // Add padding to the right of the content cells\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n        else {\n            return \"no layout specified\"\n        }\n\n    }\n\n    let tableCustomMarginsDefinitionLogic = () => {\n        if (properties.table_custom_margins === true) {\n            return [properties.table_left_margin, properties.table_top_margin, properties.table_right_margin, properties.table_bottom_margin];\n        } else { return null; } // function to allow to set custom margins or ignore it and use default ones\n    }\n\n    // auxiliary functions for the transposition incoming!\n\n    // transform \"undefined\" array elements created by the transposition function into null elements so pdfmake works fine with them (undefined causes crashes)\n    let createBlanks = (element) => {\n        let checkAndSwap = (nestedElement) => {\n            if (nestedElement === undefined) {\n                return null;\n            } else {\n                return nestedElement\n            }\n        }\n        return element.map(checkAndSwap);\n    }\n\n    let returnLength = (element) => {\n        return element.length;\n    }\n\n    let biggerComparer = (accumulator, currentValue) => {\n        let biggerNumber;\n        if (accumulator > currentValue) {\n            biggerNumber = accumulator;\n        } else {\n            biggerNumber = currentValue;\n        }\n        return biggerNumber;\n    }\n\n    let isThisTheBiggestLength = (element, index, array) => {\n        if (element === instance.data.biggestLength) {\n            return true\n        } else {\n            return false\n        }\n    }\n\n\n\n    // a transpose function\n    let transpose = (a) => {\n\n        // Calculate the width and height of the Array\n        var w = a.length || 0;\n        var h = a[instance.data.indexOfLongerArray] instanceof Array ? a[instance.data.indexOfLongerArray].length : 0;\n\n        // In case it is a zero matrix, no transpose routine needed.\n        if (h === 0 || w === 0) { return []; }\n\n        /**\n         * @var {Number} i Counter\n         * @var {Number} j Counter\n         * @var {Array} t Transposed data is stored in this array.\n         */\n        var i, j, t = [];\n\n        // Loop through every item in the outer array (height)\n        for (i = 0; i < h; i++) {\n\n            // Insert a new row (array)\n            t[i] = [];\n\n            // Loop through every item per item in outer array (width)\n            for (j = 0; j < w; j++) {\n\n                // Save transposed data.\n                t[i][j] = a[j][i];\n            }\n        }\n\n        return t;\n    }\n    // remove this when text style becomes defined at individual column\n    if (typeof properties.tableStyle !== \"undefined\" && properties.tableStyle !== null) {\n\n        var definedStyleForTable = properties.tableStyle.replaceAll(/\\W/g, ''); // small regex to remove any undesirable characters from style name inputed by app maker\n\n    } else {\n\n        var definedStyleForTable = \"\";\n\n    }\n\n    var itemsNumbers = instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].howManyIterations;\n\n    var layoutHolder = selectLayout(properties.table_layout);\n\n    let thisElementSeries = [];\n\n    for (i = 0; i < itemsNumbers; i++) {\n\n        // here we fill in blank elements to the table so it becomes a square matrix and doesn't crashes (pdfmake only likes square matrices!\n\n        let storedListLengths = instance.data[`${properties.table_name}`].tableBodies[i].map(returnLength);\n\n        instance.data.biggestLength = storedListLengths.reduce(biggerComparer);\n\n        instance.data.indexOfLongerArray = storedListLengths.findIndex(isThisTheBiggestLength);\n\n        // here we transpose the table to fit pdfmake's table structure of array\n        let tableBodiesTransposed = transpose(instance.data[`${properties.table_name}`].tableBodies[i]);\n\n        instance.data[`${properties.table_name}`].tableBodies[i] = tableBodiesTransposed.map(createBlanks);\n\n        // now let's put the headers so they become the first row. This is after the transposition, because we want it to not be transposed so it stays a row and doesn't becomes a column\n\n        if (instance.data[`${properties.table_name}`].arrayOfHeaders.length !== 0) {\n\n            var useHeaderRow = 1; // this will make the first row be repeated in the other pages the table also extends to.\n\n            let currentClonedArray = [];\n\n            for (j = 0; j < instance.data[`${properties.table_name}`].arrayOfHeaders.length; j++) {\n\n                let currentObj = JSON.parse(JSON.stringify(instance.data[`${properties.table_name}`].arrayOfHeaders[j]));\n                currentClonedArray.push(currentObj);\n\n            }\n\n            instance.data[`${properties.table_name}`].tableBodies[i].unshift(currentClonedArray);\n\n\n        } else {\n\n            var useHeaderRow = 0; // in case a header row isn't used, this won't make the first row be repeated on other pages that the table may extend to.\n\n        }\n\n\n        let tableObjectHolder = {\n            table: {\n                headerRows: useHeaderRow,\n                widths: instance.data[`${properties.table_name}`].arraysOfWidths[i],\n                body: instance.data[`${properties.table_name}`].tableBodies[i],\n            },\n            style: `${definedStyleForTable.toLowerCase()}`,\n            margin: tableCustomMarginsDefinitionLogic(),\n            layout: layoutHolder,\n            pageBreak: properties.page_break.toLowerCase(),\n        };\n\n        // here we push the object into the intermediary array so in another action after this one it gets pushed into the main elements body\n\n        // being inserted into a repeated multi column\n        if (properties.into_multi_column === true) {\n\n            instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`][`${properties.multi_column_name}`][i].columns.push(tableObjectHolder)\n\n        } else {\n\n            thisElementSeries.push(tableObjectHolder)\n\n        }\n    }\n\n    if (properties.into_multi_column === false) {\n\n        instance.data.repeatingStructureObjectsHolder[`${properties.repeating_structure_name}`].elements.push(thisElementSeries)\n\n    }\n\n}"},"fields":{"AGe":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"},"AGh":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":1,"editor":"DynamicValue","value":"text"},"AGl":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AGm":{"caption":"Table left margin","name":"table_left_margin","rank":3,"editor":"DynamicValue","value":"number","default_val":0},"AGn":{"caption":"Table top margin","name":"table_top_margin","rank":4,"editor":"DynamicValue","value":"number","default_val":0},"AGo":{"caption":"Table right margin","name":"table_right_margin","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"AGp":{"caption":"Table bottom margin","name":"table_bottom_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AGq":{"caption":"Page break","name":"page_break","rank":7,"editor":"Dropdown","value":"text","default_val":"Unspecified"},"AGr":{"caption":"Body text style","name":"tableStyle","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AGs":{"caption":"Table layout","name":"table_layout","rank":9,"editor":"Dropdown","default_val":"Standard"},"AGx":{"caption":"Into multi column","name":"into_multi_column","rank":10,"editor":"DynamicValue","value":"boolean","default_val":false},"AGy":{"caption":"Multi column name","name":"multi_column_name","rank":11,"editor":"DynamicValue","value":"text","optional":true}}},"AHB":{"caption":"Start advanced table","code":{"fn":"function(instance, properties, context) {\n\n    instance.data[`${properties.table_name}`] = {};\n    instance.data[`${properties.table_name}`].tableBody = [];\n    instance.data[`${properties.table_name}`].arrayOfWidths = [];\n    instance.data[`${properties.table_name}`].arrayOfHeaders = [];\n\n\n}"},"fields":{"AHE":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AHC":{"caption":"Add column into advanced table","code":{"fn":"function(instance, properties, context) {\n\n    const getList = (thingWithList, startPosition, finishPosition) => {\n        let returnedList = thingWithList.get(startPosition, finishPosition);\n        return returnedList;\n    }\n\n\n    const layoutHashmap = {\n\n        \"Fit available space\": \"*\",\n        \"Fit content\": \"auto\", \n        \"Fixed width\": properties.specified_column_width,\n\n    }\n\n    var columnWidth = layoutHashmap[properties.column_width];\n\n    const customMarginsDefinitionLogic = () => {\n\n        if (properties.custom_margins === true) {\n\n            return [properties.left_margin, properties.top_margin, properties.right_margin, properties.bottom_margin];\n\n        } else {\n\n            return null;\n\n        }\n\n    }\n\n    if (properties.using_images) {\n        // flow for image column\n\n        const protocolFix = (possibleUrl) => {\n\n            if (possibleUrl.substring(0, 4) === \"http\") {\n\n                return possibleUrl;\n\n            } else {\n\n                return `https:${possibleUrl}`;\n\n            }\n\n        };\n\n        let currentList;\n\n        if (properties.list_of_items === null) {\n\n            currentList = [];\n\n        } else {\n\n            currentList = getList(properties.list_of_items, 0, properties.list_of_items.length());\n        }\n\n        const turnUrlIntoImageObject = (url) => {\n\n            let fixedImageUrl = protocolFix(url);\n\n            let providedImageName = protocolFix(url).replaceAll(/\\W/g, '');\n\n            instance.data.docDefinition.images[`${providedImageName}`] = fixedImageUrl;\n\n            if (typeof properties.image_width === \"undefined\") {\n                properties.image_width = \"\";\n            }\n\n            if (typeof properties.image_height === \"undefined\") {\n                properties.image_height = \"\";\n            }\n\n            let imageObjectHolder = {\n\n                image: providedImageName,\n                width: properties.image_width,\n                height: properties.image_height,\n                margin: customMarginsDefinitionLogic(),\n\n            };\n        \n            return imageObjectHolder;\n\n        }\n\n\n        let imageObjectsList = currentList.map(turnUrlIntoImageObject);\n\n        instance.data[`${properties.table_name}`].tableBody.push(imageObjectsList);\n\n        instance.data[`${properties.table_name}`].arrayOfWidths.push(columnWidth);\n\n\n        if (typeof properties.column_header !== \"undefined\" && properties.column_header !== null) {\n\n            let columnHeaderAsObj = { text: properties.column_header, style: properties.header_style };\n\n            instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj);\n\n        } else {\n\n            let columnHeaderAsObj = { text: \"\", style: \"\" };\n\n            instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj);\n\n        }\n\n    } else {\n        // normal flow\n\n        const turnStringIntoTextObject = (string) => {\n            \n            if (properties.parse_bbcode) {\n                const parser = getParser(\n            \t\tpdfMake.fonts, \n            \t\t(imageName, link) => {\n                \t\tinstance.data.docDefinition.images[imageName] = link;\n            \t\t}, \n            \t\t(err) => {\n                \t\tcontext.reportDebugger(err.message);\n            \t\t}\n        \t\t);\n                \n                return {\n                    stack: parser.getParsedText(string),\n                    style: properties.text_body_style,\n                    margin: customMarginsDefinitionLogic()\n                }\n            }\n\n            return {\n\n                text: string,\n                style: properties.text_body_style,\n                margin: customMarginsDefinitionLogic(),\n\n            }\n\n\n        };\n\n        let currentList;\n        \n        if (properties.list_of_items === null) {\n\n            currentList = [];\n\n        } else {\n\n            currentList = getList(properties.list_of_items, 0, properties.list_of_items.length());\n        }\n\n\n        let textObjectsList = currentList.map(turnStringIntoTextObject);\n\n        instance.data[`${properties.table_name}`].tableBody.push(textObjectsList);\n\n        instance.data[`${properties.table_name}`].arrayOfWidths.push(columnWidth);\n\n\n        if (typeof properties.column_header !== \"undefined\" && properties.column_header !== null) {\n\n            let columnHeaderAsObj = { text: properties.column_header, style: properties.header_style };\n            \n            if (properties.parse_bbcode) {\n                const parser = getParser(\n            \t\tpdfMake.fonts, \n            \t\t(imageName, link) => {\n                \t\tinstance.data.docDefinition.images[imageName] = link;\n            \t\t}, \n            \t\t(err) => {\n                \t\tcontext.reportDebugger(err.message);\n            \t\t}\n        \t\t);\n                \n                columnHeaderAsObj = { stack: parser.getParsedText(properties.column_header), style: properties.header_style };\n            }\n\n            instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj);\n\n        } else {\n\n            let columnHeaderAsObj = { text: \"\", style: \"\" };\n\n            instance.data[`${properties.table_name}`].arrayOfHeaders.push(columnHeaderAsObj);\n\n        }\n\n    }\n\n}"},"fields":{"AHF":{"caption":"List of items","name":"list_of_items","rank":1,"editor":"DynamicValue","value":"_any_thing","is_list":true},"AHG":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"},"AHH":{"caption":"Column width","name":"column_width","rank":3,"editor":"Dropdown","default_val":"Fit available space"},"AHI":{"caption":"Column header","name":"column_header","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AHJ":{"caption":"Header style","name":"header_style","rank":6,"editor":"DynamicValue","value":"text","optional":true},"AHY":{"caption":"Text body style","name":"text_body_style","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AHZ":{"caption":"Using images","name":"using_images","rank":7,"editor":"DynamicValue","value":"boolean","is_list":false,"optional":false,"default_val":false},"AHa":{"caption":"Image width","name":"image_width","rank":8,"editor":"DynamicValue","value":"number","optional":true},"AHb":{"caption":"Image height","name":"image_height","rank":9,"editor":"DynamicValue","value":"number","optional":true},"AHc":{"caption":"Use custom margins?","name":"custom_margins","rank":11,"editor":"DynamicValue","value":"boolean","default_val":false},"AHd":{"caption":"Below you will be able to set extra margins for your image or text element. Leave the field as \"no\" for a default display. (Will ignore any numbers below)","name":"below_you_will_be_able_to_set_extra_margins_for_your_image_element._leave_the_box_unchecked_for_a_default_display._(will_ignore_any_numbers_below)","rank":10,"editor":"Label"},"AHe":{"caption":"Left Margin","name":"left_margin","rank":12,"editor":"DynamicValue","value":"number","default_val":0},"AHf":{"caption":"Top Margin","name":"top_margin","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AHg":{"caption":"Right Margin","name":"right_margin","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AHh":{"caption":"Bottom Margin","name":"bottom_margin","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AHi":{"caption":"Fixed width size","name":"specified_column_width","rank":4,"editor":"DynamicValue","value":"number","optional":true},"AON":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":16,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AHD":{"caption":"End advanced table","code":{"fn":"function(instance, properties, context) {\n\n    let selectLayout = (chosenLayout) => {\n        if (chosenLayout === \"No Borders\") {\n            return \"noBorders\";\n        }\n        else if (chosenLayout === \"Header Line Only\") {\n            return \"headerLineOnly\";\n        }\n        else if (chosenLayout === \"Light Horizontal Lines\") {\n            return \"lightHorizontalLines\";\n        }\n        else if (chosenLayout === \"Strong Outer Border\") {\n            return {\n                hLineWidth: function (i, node) {\n                    return (i === 0 || i === node.table.body.length) ? 2 : 1;\n                },\n                vLineWidth: function (i, node) {\n                    return (i === 0 || i === node.table.widths.length) ? 2 : 1;\n                },\n                hLineColor: function (i, node) {\n                    return (i === 0 || i === node.table.body.length) ? 'black' : 'gray';\n                },\n                vLineColor: function (i, node) {\n                    return (i === 0 || i === node.table.widths.length) ? 'black' : 'gray';\n                }\n            }\n        }\n        else if (chosenLayout === \"Zebra\") {\n            return {\n                fillColor: function (i, node) {\n                    return (i % 2 === 0) ? '#CCCCCC' : null;\n                }\n            }\n        } else if (chosenLayout === \"Light Horizontal Lines Without Header\") {\n\n\t\t\treturn {\n\t\t\t\thLineWidth(i, node) {\n\t\t\t\t\treturn (i === node.table.headerRows) ? 0 : 1; // Set the header row to 2, others to 1\n\t\t\t\t},\n\t\t\t\tvLineWidth(i) {\n\t\t\t\t\treturn 0; // No vertical lines\n\t\t\t\t},\n\t\t\t\thLineColor(i) {\n\t\t\t\t\treturn '#aaa'; // Customize the color of horizontal lines\n\t\t\t\t},\n\t\t\t\tpaddingLeft(i) {\n\t\t\t\t\treturn i === 0 ? 0 : 8; // Add padding to the left of the content cells\n\t\t\t\t},\n\t\t\t\tpaddingRight(i, node) {\n\t\t\t\t\treturn (i === node.table.widths.length - 1) ? 0 : 8; // Add padding to the right of the content cells\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n        else {\n            return \"no layout specified\"\n        }\n\n    }\n\n\n    let tableCustomMarginsDefinitionLogic = () => {\n        if (properties.table_custom_margins === true) {\n            return [properties.table_left_margin, properties.table_top_margin, properties.table_right_margin, properties.table_bottom_margin];\n        } else { return null; } // function to allow to set custom margins or ignore it and use default ones\n    }\n\n\n\n    // auxiliary functions for the transposition incoming!\n\n    // transform \"undefined\" array elements created by the transposition function into null elements so pdfmake works fine with them (undefined causes crashes)\n    let createBlanks = (element) => {\n        let checkAndSwap = (nestedElement) => {\n            if (nestedElement === undefined) {\n                return null;\n            } else {\n                return nestedElement\n            }\n        }\n        return element.map(checkAndSwap);\n    }\n\n    let returnLength = (element) => {\n        return element.length;\n    }\n\n    let biggerComparer = (accumulator, currentValue) => {\n        let biggerNumber;\n        if (accumulator > currentValue) {\n            biggerNumber = accumulator;\n        } else {\n            biggerNumber = currentValue;\n        }\n        return biggerNumber;\n    }\n\n    let isThisTheBiggestLength = (element, index, array) => {\n        if (element === instance.data.biggestLength) {\n            return true\n        } else {\n            return false\n        }\n    }\n\n\n\n    // a transpose function\n    let transpose = (a) => {\n\n        // Calculate the width and height of the Array\n        var w = a.length || 0;\n        var h = a[instance.data.indexOfLongerArray] instanceof Array ? a[instance.data.indexOfLongerArray].length : 0;\n\n        // In case it is a zero matrix, no transpose routine needed.\n        if (h === 0 || w === 0) { return []; }\n\n        /**\n         * @var {Number} i Counter\n         * @var {Number} j Counter\n         * @var {Array} t Transposed data is stored in this array.\n         */\n        var i, j, t = [];\n\n        // Loop through every item in the outer array (height)\n        for (i = 0; i < h; i++) {\n\n            // Insert a new row (array)\n            t[i] = [];\n\n            // Loop through every item per item in outer array (width)\n            for (j = 0; j < w; j++) {\n\n                // Save transposed data.\n                t[i][j] = a[j][i];\n            }\n        }\n\n        return t;\n    }\n\n    var layoutHolder = selectLayout(properties.table_layout);\n\n    let storedListLengths = instance.data[`${properties.table_name}`].tableBody.map(returnLength);\n\n    instance.data.biggestLength = storedListLengths.reduce(biggerComparer);\n\n    instance.data.indexOfLongerArray = storedListLengths.findIndex(isThisTheBiggestLength);\n\n    // here we transpose the table to fit pdfmake's table structure of array\n    let tableBodyTransposed = transpose(instance.data[`${properties.table_name}`].tableBody);\n\n    instance.data[`${properties.table_name}`].tableBody = tableBodyTransposed.map(createBlanks);\n\n\n\n    // now let's put the headers so they become the first row. This is after the transposition, because we want it to not be transposed so it stays a row and doesn't becomes a column\n\n    // first check if headers are all empty objects\n\n    const isBlankHeader = (element) => element.text === \"\" && element.style === \"\";\n\n    let areAllHeadersBlank = instance.data[`${properties.table_name}`].arrayOfHeaders.every(isBlankHeader);\n\n    if (!areAllHeadersBlank) {\n\n        var useHeaderRow = 1; // this will make the first row be repeated in the other pages the table also extends to.\n\n        instance.data[`${properties.table_name}`].tableBody.unshift(instance.data[`${properties.table_name}`].arrayOfHeaders);\n\n    } else {\n\n        var useHeaderRow = 0; // in case a header row isn't used, this won't make the first row be repeated on other pages that the table may extend to.\n\n    }\n\n    let tableObjectHolder = {\n        table: {\n            headerRows: useHeaderRow,\n            dontBreakRows: true,\n            keepWithHeaderRows: useHeaderRow,\n            widths: instance.data[`${properties.table_name}`].arrayOfWidths,\n            body: instance.data[`${properties.table_name}`].tableBody,\n        },\n        margin: tableCustomMarginsDefinitionLogic(),\n        layout: layoutHolder,\n        pageBreak: properties.page_break.toLowerCase(),\n    };\n\n\n    // here, in case this is being inputted into a multi column, will add the width of this element's column then push it into the specified column.\n\n    if (properties.into_multi_column === true) {\n\n        /* \t\tif (properties.this_column_width === \"Fit available space\") {\n                    tableObjectHolder.width = \"*\";\n                } else {\n                    tableObjectHolder.width = \"auto\";\n                } */\n\n        if (properties.this_column_width === \"Fit available space\") {\n\n            tableObjectHolder.width = \"*\";\n\n        } else if (properties.this_column_width === \"Fit content\") {\n\n            tableObjectHolder.width = \"auto\";\n\n        } else if (properties.this_column_width === \"Fixed width\") {\n\n            tableObjectHolder.width = properties.fixed_width_column_size;\n\n        }\n\n        // pushing into the multi column\n        instance.data.multiColumnObjectHolder[`${properties.multi_column_name}`].columns.push(tableObjectHolder);\n\n    } else if (properties.into_footer === true) {\n\n        // here we push it into the footer\n        instance.data.footerObjectsHolder.columns.push(tableObjectHolder);\n\n    } else if (properties.into_header === true) {\n\n        // here we push it into the header\n        instance.data.headerObjectsHolder.columns.push(tableObjectHolder);\n\n    } else if (properties.into_background === true) {\n\n        // here we push it into the background\n        instance.data.docDefinition.background.push(tableObjectHolder);\n\n    } else {\n        // here we push the object into the main document body\n\n        instance.data.composeInMe.push(tableObjectHolder);\n    }\n\n\n\n}"},"fields":{"AHK":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AHL":{"caption":"Table left margin","name":"table_left_margin","rank":4,"editor":"DynamicValue","value":"number","default_val":0},"AHM":{"caption":"Table top margin","name":"table_top_margin","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"AHN":{"caption":"Table right margin","name":"table_right_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AHO":{"caption":"Table bottom margin","name":"table_bottom_margin","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AHP":{"caption":"Table layout","name":"table_layout","rank":1,"editor":"Dropdown","default_val":"Standard"},"AHQ":{"caption":"Table name","name":"table_name","rank":0,"editor":"DynamicValue","value":"text"},"AHR":{"caption":"Page break","name":"page_break","rank":2,"editor":"Dropdown","default_val":"Unspecified"},"AHS":{"caption":"Into multi column","name":"into_multi_column","rank":8,"editor":"DynamicValue","value":"boolean","default_val":false},"AHT":{"caption":"This multicolumn width","name":"this_column_width","rank":10,"editor":"Dropdown","value":"text","default_val":"Fit available space"},"AHU":{"caption":"Into footer","name":"into_footer","rank":12,"editor":"DynamicValue","value":"boolean","default_val":false},"AHV":{"caption":"Into header","name":"into_header","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false},"AHW":{"caption":"Into background","name":"into_background","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false},"AHX":{"caption":"Multi column name","name":"multi_column_name","rank":9,"editor":"DynamicValue","value":"text","optional":true},"AOz":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":11,"editor":"DynamicValue","value":"number","optional":true}}},"AHk":{"caption":"Load font","code":{"fn":"function(instance, properties, context) {\n\n    const protocolFix = (possibleUrl) => {\n        if (possibleUrl.substring(0, 7) === \"https:\") {\n            return possibleUrl;\n\n        } else {\n            return `https:${possibleUrl}`;\n        }\n    };\n\n\n    let myProperUrlRegular = protocolFix(properties.regular);\n    let myProperUrlBold = protocolFix(properties.bold);\n    let myProperUrlItalics = protocolFix(properties.italics);\n    let myProperUrlBolditalics = protocolFix(properties.bolditalics);\n\n\n    pdfMake.fonts[properties.name] = {\n\n        normal: myProperUrlRegular,\n        bold: myProperUrlBold,\n        italics: myProperUrlItalics,\n        bolditalics: myProperUrlBolditalics\n    \n    };\n\n\n\n}"},"fields":{"AHl":{"caption":"Name","name":"name","rank":0,"editor":"DynamicValue","value":"text"},"AHm":{"caption":"Regular","name":"regular","rank":1,"editor":"DynamicValue","value":"text"},"AHn":{"caption":"Bold","name":"bold","rank":2,"editor":"DynamicValue","value":"text"},"AHo":{"caption":"Italics","name":"italics","rank":3,"editor":"DynamicValue","value":"text"},"AHp":{"caption":"Bolditalics","name":"bolditalics","rank":4,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":""},"update":{"fn":""},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}}}},"plugin_actions":{"AID":{"display":"PDF Conjurer (backend) | Upload PDF","type":"server_side","return_value":{"ACq":{"caption":"Result","name":"result","rank":0,"value":"text"}},"fields":{"AHx":{"caption":"Upload file URL","name":"upload_url","rank":1,"editor":"DynamicValue","value":"text"},"AHy":{"caption":"File name","name":"file_name","rank":3,"editor":"DynamicValue","value":"text"},"AHz":{"caption":"Content","name":"file_data","rank":4,"editor":"DynamicValue","value":"text"},"AIA":{"caption":"File input name","name":"file_input","rank":2,"editor":"DynamicValue","value":"text"},"AIB":{"caption":"Authentication","name":"token","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AIC":{"caption":"In order to upload the PDF file, you need to create a backend workflow that receive a file input! From this workflow return the file URL and other information that you want","name":"upload_info","rank":0,"editor":"Label"},"AOn":{"caption":"Make this file private?","name":"private","rank":6,"editor":"DynamicValue","value":"boolean","default_val":false},"AOo":{"caption":"Attach this file to","name":"attach_to","rank":7,"editor":"DynamicValue","value":"_any_thing_bindable","optional":true}}},"AIM":{"display":"PDF Conjurer (backend) | Initialize PDF document","type":"server_side","return_value":{"AEJ":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AIE":{"caption":"Page size","name":"page_size","rank":0,"editor":"Dropdown","default_val":"A4"},"AIF":{"caption":"Page orientation","name":"page_orientation","rank":1,"editor":"Dropdown","default_val":"Portrait"},"AIG":{"caption":"Set page custom margins?","name":"custom_margins","rank":2,"editor":"Checkbox","default_val":false},"AIH":{"caption":"Margin left","name":"margin_left","rank":4,"editor":"DynamicValue","value":"number","default_val":0},"AII":{"caption":"Margin top","name":"margin_top","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"AIJ":{"caption":"Margin right","name":"margin_right","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AIK":{"caption":"Margin bottom","name":"margin_bottom","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AIL":{"caption":"Below you will be able to set custom margin sizes for your page. Leave the box unchecked for default. (Will ignore any numbers below)","name":"page_margin_info","rank":3,"editor":"Label"}}},"AIi":{"display":"PDF Conjurer (backend) | Add text on PDF","type":"server_side","return_value":{"AER":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AIN":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AIO":{"caption":"Text","name":"text","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AIP":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AIQ":{"caption":"Parse BBCode","name":"parse_bbcode","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AIR":{"caption":"Set text custom margins?","name":"custom_margins","rank":5,"editor":"Checkbox","default_val":false},"AIS":{"caption":"Below you will be able to set extra margins for your text element. Leave the box unchecked for a default display. (Will ignore any numbers below)","name":"margin_info","rank":6,"editor":"Label"},"AIT":{"caption":"Margin top","name":"margin_top","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"AIU":{"caption":"Margin left","name":"margin_left","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AIV":{"caption":"Margin right","name":"margin_right","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"AIW":{"caption":"Margin bottom","name":"margin_bottom","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"AIX":{"caption":"Style name","name":"style","rank":4,"editor":"DynamicValue","value":"text","optional":true},"AIY":{"caption":"Page break","name":"page_break","rank":11,"editor":"Dropdown","default_val":"Unspecified"},"AIZ":{"caption":"Put into a Multi Column?","name":"into_multi_column","rank":12,"editor":"Checkbox","default_val":false},"AIa":{"caption":"This Column's Width","name":"column_width","rank":13,"editor":"Dropdown","optional":true,"default_val":"Fit available space"},"AIb":{"caption":"Is this element being put into the footer?","name":"into_footer","rank":17,"editor":"Checkbox","default_val":false},"AIc":{"caption":"Is this element being put into the header?","name":"into_header","rank":16,"editor":"Checkbox","default_val":false},"AId":{"caption":"Multi column name","name":"multi_column_name","rank":15,"editor":"DynamicValue","value":"text","optional":true},"AIe":{"caption":"Is this element being put into the background?","name":"into_background","rank":18,"editor":"Checkbox","default_val":false},"AIf":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":19,"editor":"Label"},"AIg":{"caption":"Structure name","name":"repeating_structure_name","rank":20,"editor":"DynamicValue","value":"text","optional":true},"AIh":{"caption":"Text list","name":"text_list","rank":21,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"APB":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":14,"editor":"DynamicValue","value":"number","optional":true}}},"AIn":{"display":"PDF Conjurer (backend) | Conjure PDF","type":"server_side","return_value":{"AEZ":{"caption":"Content","name":"content","rank":0,"value":"text"},"AEb":{"caption":"File name","name":"file_name","rank":1,"value":"text"}},"fields":{"AIj":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AIk":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AIl":{"caption":"File name","name":"file_name","rank":2,"editor":"DynamicValue","value":"text","default_val":"Document"},"AIm":{"caption":"Set data header","name":"set_data_header","rank":3,"editor":"Checkbox","default_val":true}}},"AJO":{"display":"PDF Conjurer (backend) | Add image on PDF","type":"server_side","return_value":{"AEq":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AIo":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AIp":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AIq":{"caption":"Image name","name":"image_name","rank":2,"editor":"DynamicValue","value":"text"},"AIr":{"caption":"If you've used the image before in this workflow, you can just enter the same image name that was entered previously, without having to upload it again","name":"image_info","rank":3,"editor":"Label"},"AIs":{"caption":"Has the image already been used?","name":"have_used_before","rank":4,"editor":"Checkbox","default_val":false},"AIt":{"caption":"Image","name":"image","rank":5,"editor":"DynamicValue","value":"image","optional":true},"AIu":{"caption":"Image custom sizes (if no value is passed, the image will be at its own size, if only width is passed, the height will resize to maintain the image original scale, if only height is passed, the width will be the original image width)","name":"image_info","rank":6,"editor":"Label"},"AIv":{"caption":"Width","name":"width","rank":7,"editor":"DynamicValue","value":"number","optional":true},"AIw":{"caption":"Height","name":"height","rank":8,"editor":"DynamicValue","value":"number","optional":true},"AIx":{"caption":"Use custom margins?","name":"custom_margins","rank":10,"editor":"Checkbox","default_val":false},"AIy":{"caption":"Below you will be able to set extra margins for your image element. Leave the box unchecked for a default display. (Will ignore any numbers below)","name":"margin_info","rank":11,"editor":"Label"},"AIz":{"caption":"Margin left","name":"margin_left","rank":12,"editor":"DynamicValue","value":"number","default_val":0},"AJA":{"caption":"Margin top","name":"margin_top","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AJB":{"caption":"Margin right","name":"margin_right","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AJC":{"caption":"Margin bottom","name":"margin_bottom","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AJD":{"caption":"Page break","name":"page_break","rank":16,"editor":"Dropdown","default_val":"Unspecified"},"AJE":{"caption":"Is this element being put into the footer?","name":"into_footer","rank":21,"editor":"Checkbox","default_val":false},"AJF":{"caption":"Is this element being put into the header?","name":"into_header","rank":20,"editor":"Checkbox","default_val":false},"AJG":{"caption":"Is this element being put into a Multi Column?","name":"into_multi_column","rank":17,"editor":"Checkbox","default_val":false},"AJH":{"caption":"Multi column name","name":"multi_column_name","rank":18,"editor":"DynamicValue","value":"text","optional":true},"AJI":{"caption":"Column width","name":"column_width","rank":19,"editor":"Dropdown","optional":true},"AJJ":{"caption":"Image alignmet","name":"alignment","rank":9,"editor":"Dropdown","optional":true},"AJK":{"caption":"Repeating structure auxiliary fields. Only use the fields below if this element is being inserted into a repeating structure","name":"repeating_structure_auxiliary_fields","rank":23,"editor":"Label"},"AJL":{"caption":"Is this element being put into the background?","name":"into_background","rank":22,"editor":"Checkbox","default_val":false},"AJM":{"caption":"Structure name","name":"repeating_structure_name","rank":24,"editor":"DynamicValue","value":"text","optional":true},"AJN":{"caption":"Image list","name":"image_list","rank":25,"editor":"DynamicValue","value":"image","is_list":true,"optional":true}}},"AJX":{"display":"PDF Conjurer (backend) | Load font to PDF","type":"server_side","return_value":{"AEx":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AJP":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AJQ":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AJR":{"caption":"Font name","name":"font_name","rank":2,"editor":"DynamicValue","value":"text"},"AJS":{"caption":"Regular","name":"normal","rank":3,"editor":"DynamicValue","value":"file"},"AJT":{"caption":"Italics","name":"italics","rank":5,"editor":"DynamicValue","value":"file"},"AJU":{"caption":"Bold","name":"bold","rank":4,"editor":"DynamicValue","value":"file"},"AJV":{"caption":"Bolditalics","name":"bolditalics","rank":6,"editor":"DynamicValue","value":"file"},"AJW":{"caption":"Insert your font files in TrueType extension (.ttf)","name":"font_info","rank":7,"editor":"Label"}}},"AJh":{"display":"PDF Conjurer (backend) | Define new style to PDF","type":"server_side","return_value":{"AFO":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AJY":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AJZ":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AJa":{"caption":"Style name","name":"style_name","rank":2,"editor":"DynamicValue","value":"text"},"AJb":{"caption":"Font size","name":"font_size","rank":3,"editor":"DynamicValue","value":"number"},"AJc":{"caption":"Bold","name":"bold","rank":4,"editor":"Checkbox","default_val":false},"AJd":{"caption":"Italics","name":"italics","rank":5,"editor":"Checkbox","default_val":false},"AJe":{"caption":"Alignment","name":"alignment","rank":6,"editor":"Dropdown","optional":false},"AJf":{"caption":"Text color","name":"color","rank":7,"editor":"Color","default_val":"rgba(0, 0, 0, 1)"},"AJg":{"caption":"Font name","name":"font_name","rank":8,"editor":"DynamicValue","value":"text","default_val":"Roboto"},"AOt":{"caption":"Line height","name":"line_height","rank":9,"editor":"DynamicValue","value":"number","default_val":1},"APT":{"caption":"Margin left","name":"margin_left","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"APU":{"caption":"Margin top","name":"margin_top","rank":11,"editor":"DynamicValue","value":"number","default_val":0},"APV":{"caption":"Margin right","name":"margin_right","rank":12,"editor":"DynamicValue","value":"number","default_val":0},"APW":{"caption":"Margin bottom","name":"margin_bottom","rank":13,"editor":"DynamicValue","value":"number","default_val":0}}},"AJz":{"display":"PDF Conjurer (backend) | Activate header on PDF","type":"server_side","return_value":{"AFc":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AJi":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AJj":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AJk":{"caption":"You can put elements in the header by checking the box at the element itself that says \"insert this element into header?\".","name":"header_info","rank":2,"editor":"Label"},"AJl":{"caption":"Show page number? (counter)","name":"show_page_number","rank":3,"editor":"Checkbox","default_val":false},"AJm":{"caption":"Start count on second page","name":"start_count_on_second_page","rank":4,"editor":"Checkbox","default_val":false},"AJn":{"caption":"Even pages counter alignment","name":"even_page_alignment","rank":5,"editor":"Dropdown","optional":false,"default_val":"Left"},"AJo":{"caption":"Odd pages counter alignment","name":"odd_page_alignment","rank":6,"editor":"Dropdown","optional":false,"default_val":"Right"},"AJp":{"caption":"Hide page number (counter) on specific pages?","name":"use_exclude_pages","rank":7,"editor":"Checkbox","default_val":false},"AJq":{"caption":"Hide counter on","name":"exclude_pages_counter","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AJr":{"caption":"Hide header elements on specific pages?","name":"use_exclude_elements_pages","rank":9,"editor":"Checkbox","default_val":false},"AJs":{"caption":"Hide elements on","name":"exclude_elements_pages","rank":10,"editor":"DynamicValue","value":"text","optional":true},"AJt":{"caption":"* Please note that page numbers starts in number 1, if you chose to start counting on the second page the first page will turn into number 0.","name":"page_numbers_info","rank":11,"editor":"Label"},"AJu":{"caption":"Page number margins","name":"magin_info","rank":12,"editor":"Label"},"AJv":{"caption":"Left margin ","name":"margin_left","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AJw":{"caption":"Top margin ","name":"margin_top","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AJx":{"caption":"Right margin","name":"margin_right","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AJy":{"caption":"Bottom margin","name":"margin_bottom","rank":16,"editor":"DynamicValue","value":"number","default_val":0}}},"AKR":{"display":"PDF Conjurer (backend) | Activate footer on PDF","type":"server_side","return_value":{"AFc":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKA":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKB":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKC":{"caption":"You can put elements in the footer by checking the box at the element itself that says \"insert this element into footer?\".","name":"footer_info","rank":2,"editor":"Label"},"AKD":{"caption":"Show page number? (counter)","name":"show_page_number","rank":3,"editor":"Checkbox","default_val":false},"AKE":{"caption":"Start count on second page","name":"start_count_on_second_page","rank":4,"editor":"Checkbox","default_val":false},"AKF":{"caption":"Even pages counter alignment","name":"even_page_alignment","rank":5,"editor":"Dropdown","optional":false,"default_val":"Left"},"AKG":{"caption":"Odd pages counter alignment","name":"odd_page_alignment","rank":6,"editor":"Dropdown","optional":false,"default_val":"Right"},"AKH":{"caption":"Hide page number (counter) on specific pages?","name":"use_exclude_pages","rank":7,"editor":"Checkbox","default_val":false},"AKI":{"caption":"Hide counter on","name":"exclude_pages_counter","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AKJ":{"caption":"Hide footer elements on specific pages?","name":"use_exclude_elements_pages","rank":9,"editor":"Checkbox","default_val":false},"AKK":{"caption":"Hide elements on","name":"exclude_elements_pages","rank":10,"editor":"DynamicValue","value":"text","optional":true},"AKL":{"caption":"* Please note that page numbers starts in number 1, if you chose to start counting on the second page the first page will turn into number 0.","name":"page_numbers_info","rank":11,"editor":"Label"},"AKM":{"caption":"Page number margins","name":"magin_info","rank":12,"editor":"Label"},"AKN":{"caption":"Left margin ","name":"margin_left","rank":13,"editor":"DynamicValue","value":"number","default_val":0},"AKO":{"caption":"Top margin ","name":"margin_top","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"AKP":{"caption":"Right margin","name":"margin_right","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"AKQ":{"caption":"Bottom margin","name":"margin_bottom","rank":16,"editor":"DynamicValue","value":"number","default_val":0},"AOv":{"caption":"Counter style","name":"counter_style","rank":17,"editor":"DynamicValue","value":"text","optional":true}}},"AKZ":{"display":"PDF Conjurer (backend) | Start multi-column on PDF","type":"server_side","return_value":{"AGV":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKS":{"caption":"Multi Column Name","name":"multi_column_name","rank":2,"editor":"DynamicValue","value":"text"},"AKT":{"caption":"Page break","name":"page_break","rank":4,"editor":"Dropdown","default_val":"Unspecified"},"AKU":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKV":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKW":{"caption":"Columns gap","name":"columns_gap","rank":3,"editor":"DynamicValue","value":"number","optional":true},"AKX":{"caption":"Being repeated","name":"being_repeated","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"AKY":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":6,"editor":"DynamicValue","value":"text","optional":true}}},"AKf":{"display":"PDF Conjurer (backend) | End multi-column on PDF","type":"server_side","return_value":{"AGa":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKa":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKb":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKc":{"caption":"Multi column name","name":"multi_column_name","rank":2,"editor":"DynamicValue","value":"text"},"AKd":{"caption":"Being repeated","name":"being_repeated","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AKe":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":4,"editor":"DynamicValue","value":"text","optional":true}}},"AMc":{"display":"PDF Conjurer (backend) | Add table on PDF","type":"server_side","return_value":{"AGk":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AKg":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AKh":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AKi":{"caption":"Body text style","name":"table_styles","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AKj":{"caption":"Table column width","name":"table_column_width","rank":3,"editor":"Dropdown","default_val":"Fit available space"},"AKk":{"caption":"Create header row in this table?","name":"table_uses_header_row","rank":4,"editor":"Checkbox","default_val":false},"AKl":{"caption":"Header text style","name":"header_style","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AKm":{"caption":"Table layout","name":"table_layout","rank":6,"editor":"Dropdown","default_val":"Standard"},"AKn":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":7,"editor":"Checkbox","default_val":false},"AKo":{"caption":"Below you will be able to set extra margins for your table element. Leave the box unchecked for a default display. (Will ignore any margin-related numbers below)","name":"margin_info","rank":8,"editor":"Label"},"AKp":{"caption":"Left margin","name":"left_margin","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"AKq":{"caption":"Top margin","name":"top_margin","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"AKr":{"caption":"Right margin","name":"right_margin","rank":11,"editor":"DynamicValue","value":"number","default_val":0},"AKs":{"caption":"Bottom margin","name":"bottom_margin","rank":12,"editor":"DynamicValue","value":"number","default_val":0},"AKt":{"caption":"Page break","name":"page_break","rank":13,"editor":"Dropdown","default_val":"Unspecified"},"AKu":{"caption":"----- Column 1 ------","name":"column_separator_1","rank":15,"editor":"Label"},"AKv":{"caption":"First Column Header","name":"column_header_1","rank":16,"editor":"DynamicValue","value":"text","optional":true},"AKw":{"caption":"First column body","name":"column_content_1","rank":17,"editor":"DynamicValue","value":"_any_thing","is_list":true},"AKx":{"caption":"----- Column 2 ------","name":"column_separator_2","rank":18,"editor":"Label"},"AKy":{"caption":"Use second column?","name":"use_column_2","rank":19,"editor":"Checkbox","default_val":false},"AKz":{"caption":"Second column header","name":"column_header_2","rank":20,"editor":"DynamicValue","value":"text","optional":true},"ALA":{"caption":"Second column body","name":"column_content_2","rank":21,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALB":{"caption":"----- Column 3 ------","name":"column_separator_3","rank":22,"editor":"Label"},"ALC":{"caption":"Use third column?","name":"use_column_3","rank":23,"editor":"Checkbox","default_val":false},"ALD":{"caption":"Third column header","name":"column_header_3","rank":24,"editor":"DynamicValue","value":"text","optional":true},"ALE":{"caption":"Third column body","name":"column_content_3","rank":25,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALF":{"caption":"----- Column 4 ------","name":"column_separator_4","rank":26,"editor":"Label"},"ALG":{"caption":"Use fourth column?","name":"use_column_4","rank":27,"editor":"Checkbox","default_val":false},"ALH":{"caption":"Fourth column header","name":"column_header_4","rank":28,"editor":"DynamicValue","value":"text","optional":true},"ALI":{"caption":"Fourth column body","name":"column_content_4","rank":29,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALJ":{"caption":"----- Column 5 ------","name":"column_separator_5","rank":30,"editor":"Label"},"ALK":{"caption":"Use fifth column?","name":"use_column_5","rank":31,"editor":"Checkbox","default_val":false},"ALL":{"caption":"Fifth column header","name":"column_header_5","rank":32,"editor":"DynamicValue","value":"text","optional":true},"ALM":{"caption":"Fifth column body","name":"column_content_5","rank":33,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALN":{"caption":"----- Column 6 ------","name":"column_separator_6","rank":34,"editor":"Label"},"ALO":{"caption":"Use sixth column?","name":"use_column_6","rank":35,"editor":"Checkbox","default_val":false},"ALP":{"caption":"Sixth column header","name":"column_header_6","rank":36,"editor":"DynamicValue","value":"text","optional":true},"ALQ":{"caption":"Sixth column body","name":"column_content_6","rank":37,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALR":{"caption":"----- Column 7 ------","name":"column_separator_7","rank":38,"editor":"Label"},"ALS":{"caption":"Use seventh column?","name":"use_column_7","rank":39,"editor":"Checkbox","default_val":false},"ALT":{"caption":"Seventh column header","name":"column_header_7","rank":40,"editor":"DynamicValue","value":"text","optional":true},"ALU":{"caption":"Seventhcolumn body","name":"column_content_7","rank":41,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALV":{"caption":"----- Column 8 ------","name":"column_separator_8","rank":42,"editor":"Label"},"ALW":{"caption":"Use eighth column?","name":"use_column_8","rank":43,"editor":"Checkbox","default_val":false},"ALX":{"caption":"Eighth column header","name":"column_header_8","rank":44,"editor":"DynamicValue","value":"text","optional":true},"ALY":{"caption":"Eighth column body","name":"column_content_8","rank":45,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALZ":{"caption":"----- Column 9 ------","name":"column_separator_9","rank":46,"editor":"Label"},"ALa":{"caption":"Use ninth column?","name":"use_column_9","rank":47,"editor":"Checkbox","default_val":false},"ALb":{"caption":"Ninth column header","name":"column_header_9","rank":48,"editor":"DynamicValue","value":"text","optional":true},"ALc":{"caption":"Ninth column body","name":"column_content_9","rank":49,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALd":{"caption":"----- Column 10 ------","name":"column_separator_10","rank":50,"editor":"Label"},"ALe":{"caption":"Use tenth column?","name":"use_column_10","rank":51,"editor":"Checkbox","default_val":false},"ALf":{"caption":"Tenth column header","name":"column_header_10","rank":52,"editor":"DynamicValue","value":"text","optional":true},"ALg":{"caption":"Tenth column body","name":"column_content_10","rank":53,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALh":{"caption":"About multi column","name":"multi_column_info","rank":94,"editor":"Label"},"ALi":{"caption":"Is this element being put into a Multi Column?","name":"into_multi_column","rank":95,"editor":"Checkbox","default_val":false},"ALj":{"caption":"This Column's Width","name":"multi_column_width","rank":96,"editor":"Dropdown","optional":true,"default_val":"Fit available space"},"ALk":{"caption":"Multi column name","name":"multi_column_name","rank":98,"editor":"DynamicValue","value":"text","optional":true},"ALl":{"caption":"Is this element being put into the header?","name":"into_header","rank":99,"editor":"Checkbox","default_val":false},"ALm":{"caption":"Is this element being put into the footer?","name":"into_footer","rank":100,"editor":"Checkbox","default_val":false},"ALn":{"caption":"Is this element being put into the background?","name":"into_background","rank":101,"editor":"Checkbox","default_val":false},"ALo":{"caption":"Use eleventh column?","name":"use_column_11","rank":55,"editor":"Checkbox","default_val":false},"ALp":{"caption":"----- Column 11 ------","name":"column_separator_11","rank":54,"editor":"Label"},"ALq":{"caption":"Eleventh column header","name":"column_header_11","rank":56,"editor":"DynamicValue","value":"text","optional":true},"ALr":{"caption":"Eleventh column body","name":"column_content_11","rank":57,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALs":{"caption":"----- Column 12 ------","name":"column_separator_12","rank":58,"editor":"Label"},"ALt":{"caption":"Use twelfth column?","name":"use_column_12","rank":59,"editor":"Checkbox","default_val":false},"ALu":{"caption":"Twelfth column header","name":"column_header_12","rank":60,"editor":"DynamicValue","value":"text","optional":true},"ALv":{"caption":"Twelfth column body","name":"column_content_12","rank":61,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ALw":{"caption":"----- Column 13 ------","name":"column_separator_13","rank":62,"editor":"Label"},"ALx":{"caption":"Use thirteenth column?","name":"use_column_13","rank":63,"editor":"Checkbox","default_val":false},"ALy":{"caption":"Thirteenth column header","name":"column_header_13","rank":64,"editor":"DynamicValue","value":"text","optional":true},"ALz":{"caption":"Thirteenth column body","name":"column_content_13","rank":65,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMA":{"caption":"----- Column 14 ------","name":"column_separator_14","rank":66,"editor":"Label"},"AMB":{"caption":"Use fourteenth column?","name":"use_column_14","rank":67,"editor":"Checkbox","default_val":false},"AMC":{"caption":"Fourteenth column header","name":"column_header_14","rank":68,"editor":"DynamicValue","value":"text","optional":true},"AMD":{"caption":"Fourteenth column body","name":"column_content_14","rank":69,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AME":{"caption":"----- Column 15 ------","name":"column_separator_15","rank":70,"editor":"Label"},"AMF":{"caption":"Use fifteenth column?","name":"use_column_15","rank":71,"editor":"Checkbox","default_val":false},"AMG":{"caption":"Fifteenth column header","name":"column_header_15","rank":72,"editor":"DynamicValue","value":"text","optional":true},"AMH":{"caption":"Fifteenth column body","name":"column_content_15","rank":73,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMI":{"caption":"----- Column 16 ------","name":"column_separator_16","rank":74,"editor":"Label"},"AMJ":{"caption":"Use sixteenth column?","name":"use_column_16","rank":75,"editor":"Checkbox","default_val":false},"AMK":{"caption":"Sixteenth column header","name":"column_header_16","rank":76,"editor":"DynamicValue","value":"text","optional":true},"AML":{"caption":"Sixteenth column body","name":"column_content_16","rank":77,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMM":{"caption":"----- Column 17 ------","name":"column_separator_17","rank":78,"editor":"Label"},"AMN":{"caption":"Use seventeenth column?","name":"use_column_17","rank":79,"editor":"Checkbox","default_val":false},"AMO":{"caption":"Use eighteenth column?","name":"use_column_18","rank":83,"editor":"Checkbox","default_val":false},"AMP":{"caption":"Use nineteenth column?","name":"use_column_19","rank":87,"editor":"Checkbox","default_val":false},"AMQ":{"caption":"Use twentieth column?","name":"use_column_20","rank":91,"editor":"Checkbox","default_val":false},"AMR":{"caption":"----- Column 18 ------","name":"column_separator_18","rank":82,"editor":"Label"},"AMS":{"caption":"----- Column 19 ------","name":"column_separator_19","rank":86,"editor":"Label"},"AMT":{"caption":"----- Column 20 ------","name":"column_separator_20","rank":90,"editor":"Label"},"AMU":{"caption":"Seventeenth column header","name":"column_header_17","rank":80,"editor":"DynamicValue","value":"text","optional":true},"AMV":{"caption":"Eighteenth column header","name":"column_header_18","rank":84,"editor":"DynamicValue","value":"text","optional":true},"AMW":{"caption":"Nineteenth column header","name":"column_header_19","rank":88,"editor":"DynamicValue","value":"text","optional":true},"AMX":{"caption":"Twentieth column header","name":"column_header_20","rank":92,"editor":"DynamicValue","value":"text","optional":true},"AMY":{"caption":"Seventeenth column body","name":"column_content_17","rank":81,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMZ":{"caption":"Eighteenth column body","name":"column_content_18","rank":85,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMa":{"caption":"Nineteenth column body","name":"column_content_19","rank":89,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AMb":{"caption":"Twentieth column body","name":"column_content_20","rank":93,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AOQ":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false},"APC":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":97,"editor":"DynamicValue","value":"number","optional":true}}},"AMh":{"display":"PDF Conjurer (backend) | Start repeating structure on PDF","type":"server_side","return_value":{"AHx":{"caption":"Configurations","name":"configurations","rank":0,"value":"text","is_list":false}},"fields":{"AMd":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AMe":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMf":{"caption":"Name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text"},"AMg":{"caption":"How many structures","name":"iterations_count","rank":3,"editor":"DynamicValue","value":"number"}}},"AMl":{"display":"PDF Conjurer (backend) | End repeating structure on PDF","type":"server_side","return_value":{"AID":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AMi":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label","value":"text","default_val":""},"AMj":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMk":{"caption":"Name","name":"repeating_structure_name","rank":2,"editor":"DynamicValue","value":"text"}}},"AMq":{"display":"PDF Conjurer (backend) | Start repeated table on PDF","type":"server_side","return_value":{"AIM":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AMm":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label","value":"text"},"AMn":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMo":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"action_info","rank":2,"editor":"Label"},"AMp":{"caption":"Table name","name":"table_name","rank":3,"editor":"DynamicValue","value":"text"}}},"ANC":{"display":"PDF Conjurer (backend) | Add column to a repeated table on PDF","type":"server_side","return_value":{"AKI":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AMr":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"AMs":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"AMt":{"caption":"Attention: This advanced action is only to be used inside a \"Repeated structure\".","name":"info","rank":3,"editor":"Label"},"AMu":{"caption":"Thing type","name":"thing_type","rank":4,"editor":"custom_type"},"AMv":{"caption":"Field of thing","name":"field_of_thing","rank":5,"editor":"custom_field_AMu"},"AMw":{"caption":"Data source","name":"data_source","rank":6,"editor":"DynamicValue","value":"custom_data_AMu","is_list":true},"AMx":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"AMy":{"caption":"Column header","name":"column_header","rank":8,"editor":"DynamicValue","optional":true,"value":"text"},"AMz":{"caption":"Column style","name":"column_style","rank":7,"editor":"DynamicValue","value":"text","optional":true},"ANA":{"caption":"Header style","name":"header_style","rank":9,"editor":"DynamicValue","value":"text","optional":true},"ANB":{"caption":"Column width","name":"column_width","rank":10,"editor":"Dropdown","default_val":"Fit available space","optional":true},"AOY":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":11,"editor":"DynamicValue","value":"boolean","default_val":false}}},"ANR":{"display":"PDF Conjurer (backend) | End repeated table on PDF","type":"server_side","return_value":{"AKT":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"AND":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANE":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANF":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"ANG":{"caption":"Repeating structure name","name":"repeating_structure_name","rank":3,"editor":"DynamicValue","value":"text"},"ANH":{"caption":"Use table custom margins?","name":"custom_margins","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"ANI":{"caption":"Table left margin","name":"left_margin","rank":5,"editor":"DynamicValue","value":"number","default_val":0},"ANJ":{"caption":"Table top margin","name":"top_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"ANK":{"caption":"Table right margin","name":"right_margin","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"ANL":{"caption":"Table bottom margin","name":"bottom_margin","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"ANM":{"caption":"Page break","name":"page_break","rank":9,"editor":"Dropdown","value":"text","default_val":"Unspecified"},"ANN":{"caption":"Table layout","name":"table_layout","rank":10,"editor":"Dropdown","default_val":"Standard"},"ANO":{"caption":"Into multi column","name":"into_multi_column","rank":11,"editor":"DynamicValue","value":"boolean","default_val":false},"ANP":{"caption":"Multi column name","name":"multi_column_name","rank":12,"editor":"DynamicValue","value":"text","optional":true},"ANQ":{"caption":"Multi column width","name":"multi_column_width","rank":13,"editor":"Dropdown","optional":true},"APO":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":14,"editor":"DynamicValue","value":"number","optional":true}}},"ANV":{"display":"PDF Conjurer (backend) | Start advanced table on PDF","type":"server_side","return_value":{"AJH":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"ANS":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANT":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANU":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"}}},"ANo":{"display":"PDF Conjurer (backend) | Add column into advanced table on PDF","type":"server_side","return_value":{"AIu":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"ANW":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANX":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANY":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"ANZ":{"caption":"List of items","name":"items_list","rank":3,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ANa":{"caption":"Text body style","name":"text_body_style","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ANb":{"caption":"Column width","name":"column_width","rank":5,"editor":"Dropdown","default_val":"Fit available space"},"ANc":{"caption":"Fixed width size","name":"specified_column_width","rank":6,"editor":"DynamicValue","value":"number","optional":true},"ANd":{"caption":"Column header","name":"column_header","rank":7,"editor":"DynamicValue","value":"text","optional":true},"ANe":{"caption":"Header style","name":"header_style","rank":8,"editor":"DynamicValue","value":"text","optional":true},"ANf":{"caption":"Using images","name":"using_images","rank":9,"editor":"DynamicValue","value":"boolean","default_val":false},"ANg":{"caption":"Image width","name":"image_width","rank":10,"editor":"DynamicValue","value":"number","optional":true},"ANh":{"caption":"Image height","name":"image_height","rank":11,"editor":"DynamicValue","value":"number","optional":true},"ANi":{"caption":"Below you will be able to set extra margins for your image or text element. Leave the field as \"no\" for a default display. (Will ignore any numbers below)","name":"margin_info","rank":12,"editor":"Label"},"ANj":{"caption":"Use custom margins?","name":"custom_margins","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false},"ANk":{"caption":"Left Margin","name":"left_margin","rank":14,"editor":"DynamicValue","value":"number","default_val":0},"ANl":{"caption":"Top Margin","name":"top_margin","rank":15,"editor":"DynamicValue","value":"number","default_val":0},"ANm":{"caption":"Right Margin","name":"right_margin","rank":16,"editor":"DynamicValue","value":"number","default_val":0},"ANn":{"caption":"Bottom Margin","name":"bottom_margin","rank":17,"editor":"DynamicValue","value":"number","default_val":0},"AOR":{"caption":"Parse BBCode?","name":"parse_bbcode","rank":18,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AOF":{"display":"PDF Conjurer (backend) | End advanced table on PDF","type":"server_side","return_value":{"AIx":{"caption":"Configurations","name":"configurations","rank":0,"value":"text"}},"fields":{"ANp":{"caption":"Insert the previous PDF Conjurer Server-side step result","name":"config_info","rank":0,"editor":"Label"},"ANq":{"caption":"Previous step result","name":"prev_configs","rank":1,"editor":"DynamicValue","value":"text"},"ANr":{"caption":"Table name","name":"table_name","rank":2,"editor":"DynamicValue","value":"text"},"ANs":{"caption":"Table layout","name":"table_layout","rank":3,"editor":"Dropdown","default_val":"Standard"},"ANt":{"caption":"Page break","name":"page_break","rank":4,"editor":"Dropdown","default_val":"Unspecified"},"ANu":{"caption":"Use table custom margins?","name":"table_custom_margins","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"ANv":{"caption":"Table left margin","name":"left_margin","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"ANw":{"caption":"Table top margin","name":"top_margin","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"ANx":{"caption":"Table right margin","name":"right_margin","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"ANy":{"caption":"Table bottom margin","name":"bottom_margin","rank":9,"editor":"DynamicValue","value":"number","default_val":0},"ANz":{"caption":"Into multi column","name":"into_multi_column","rank":10,"editor":"DynamicValue","value":"boolean","default_val":false},"AOA":{"caption":"Multi column name","name":"multi_column_name","rank":11,"editor":"DynamicValue","value":"text","optional":true},"AOB":{"caption":"This multicolumn width","name":"this_column_width","rank":12,"editor":"Dropdown","default_val":"Fit available space"},"AOC":{"caption":"Into header","name":"into_header","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false},"AOD":{"caption":"Into footer","name":"into_footer","rank":15,"editor":"DynamicValue","value":"boolean","default_val":false},"AOE":{"caption":"Into background","name":"into_background","rank":16,"editor":"DynamicValue","value":"boolean","default_val":false},"APA":{"caption":"Fixed width size","name":"fixed_width_column_size","rank":13,"editor":"DynamicValue","value":"number","optional":true}}}}};
window._bubble_page_load_data.plugins_size['1543086664409x454646894723334140'] = 213518;
window.preloaded['plugin/third_party:1543086664409x454646894723334140:4.0.1'] = true;
window.plugins["1553006094610x835866904531566600"] = {"human":"Fuzzy search & Autocomplete","dependencies":{"use_jquery":true},"plugin_elements":{"AAC":{"display":"Search & Autocorrect","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Data Type","name":"app_data","rank":0,"editor":"custom_type"},"AAE":{"caption":"Data Source","name":"data_source","rank":1,"editor":"DynamicValue","is_list":true,"value":"custom_data_AAD"},"AAF":{"caption":"Field To Search 1","name":"search_field","rank":2,"editor":"custom_field_AAD","optional":false},"AAG":{"caption":"Field To Search 2","name":"search_field_2","rank":3,"editor":"custom_field_AAD","optional":true},"AAH":{"caption":"Field To Search 3","name":"search_field_3","rank":4,"editor":"custom_field_AAD","optional":true},"AAI":{"caption":"Field To Search 4","name":"search_field_4","rank":5,"editor":"custom_field_AAD","optional":true},"AAJ":{"caption":"Field To Search 5","name":"search_field_5","rank":6,"editor":"custom_field_AAD","optional":true},"AAK":{"caption":"Text To Match","name":"string_to_match","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AAL":{"caption":"OR Set Text to Match from an Input Box","name":"search_type","rank":8,"editor":"Checkbox","default_val":false},"AAM":{"caption":"Check for fast updates from an Input Box value. Make sure you set the Input Box ID value below. See documentation for more info.","name":"search_type_info","rank":9,"editor":"Label"},"AAN":{"caption":"Input Box ID","name":"input_box_id","rank":10,"editor":"DynamicValue","optional":true,"value":"text"},"AAO":{"caption":"___ Options ___","name":"options","rank":11,"editor":"Label"},"AAP":{"caption":"Threshold","name":"threshold","rank":12,"editor":"StaticNumber","default_val":0.6},"AAQ":{"caption":"A threshold of 0.0 requires a perfect match (of both letters and location), a threshold of 1.0 would match anything.","name":"threshold_info","rank":13,"editor":"Label"},"AAR":{"caption":"Case Sensitive","name":"case_sensitive","rank":14,"editor":"Checkbox","default_val":false},"AAS":{"caption":"___ Advanced Options ___","name":"advanced_options","rank":15,"editor":"Label"},"AAV":{"caption":"Find All Matches","name":"find_all_matches","rank":16,"editor":"Checkbox","default_val":true},"AAW":{"caption":"Location","name":"location","rank":17,"editor":"StaticNumber","default_val":0},"AAX":{"caption":"Distance","name":"distance","rank":18,"editor":"StaticNumber","default_val":100},"AAZ":{"caption":"Exclude Terms Shorter Than","name":"exclude_under","rank":19,"editor":"StaticNumber","default_val":2}},"states":{"AAa":{"caption":"Matches","name":"match_array","value":"custom_data_AAD","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"AAb":{"caption":"Match Scores","name":"match_scores_array","value":"number","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"AAc":{"caption":"Input Box's Value","name":"input_box_value","value":"text","initialization_code":{"fn":"function(n,t){}"}}},"actions":{"AAd":{"caption":"Reset input","code":{"fn":"function(t,a,u){t.data.input_box_id&&($(\"#\"+t.data.input_box_id).val(\"\"),t.publishState(\"match_array\",null),t.publishState(\"match_scores_array\",null),t.publishState(\"input_box_value\",null))}"}}},"code":{"initialize":{"fn":"function(u,a){function t(){var u=[\"trim\",\"136496ShsyZD\",\"21177130xiyZYw\",\"publishState\",\"9FGAAye\",\"result\",\"data\",\"exclude_under\",\"2548737Jybqmk\",\"getResults\",\"4879985JzTTlg\",\"join\",\"options\",\"search\",\"len\",\"newID\",\"input\",\"1237985imBUYV\",\"filter\",\"get\",\"match_array\",\"4dRnrbx\",\"525rXMGnm\",\"match_scores_array\",\"dictionary\",\"input_box_id\",\"739082rBJdbA\",\"Search & Autocorrect: Instance variables not declared\",\"length\",\"log\",\"input_box_value\",\"val\",\"6120486dZBLnu\",\"item\",\"push\",\"split\",\"match\"];return(t=function(){return u})()}function f(u,a){var e=t();return(f=function(u,a){var t;return e[u-=371]})(u,a)}function e(u,a){var t=f;u[t(376)].result=\"\",u[t(376)][t(379)]=function a(){var f=t;if(u.data[f(375)]&&u[f(376)][f(375)][f(398)]){var e=[],n=[];for(i=0;i<u[f(376)][f(375)][f(398)];i++){var r=u[f(376)].data_source[f(389)](0,u[f(376)][f(384)]+1)[u[f(376)][f(375)][i][f(403)].id];e[f(404)](r),n.push(u[f(376)][f(375)][i].score)}u[f(373)](f(390),e),u[f(373)](f(393),n)}else u[f(373)](\"match_array\",null),u.publishState(f(393),null)},u[t(376)][t(385)]=function(a){var f=t;u[f(376)][f(395)]&&u.data.search_type&&$(\"#\"+a).on(f(386),null,null,(function(){var a=f;if(u.data[a(394)]&&u[a(376)][a(382)]){var t=$(\"#\"+u[a(376)].input_box_id)[a(401)]()[a(407)]();t=t[a(405)](\" \")[a(388)]((function(t){var f=a;let e=/[\\u0000-\\u007f\\u0080-\\u00ff\\u0100-\\u0180-\\u024f\\u017f\\u0400-\\u04ff\\u3040-\\u30ff\\u3400-\\u4dbf\\u4e00-\\u9fff\\uf900-\\ufa2d\\uff66-\\uff9f\\u3131-\\uD79D\\u0590-\\u05ff\\u0600–\\u06ff\\u10A0-\\u10ff\\u0530-\\u058f\\u0750-\\u07ff\\u08a0-\\u08ff\\ufa30-\\ufa6a\\ufa70-\\ufad9\\ufb50-\\ufdff\\ufe70-\\ufeff\\u10e60-\\u10e7f\\u1ec70-\\u1ecbf\\u1ed00-\\u1ed4f\\u1ee00-\\u1eeff\\u20000-\\u2a6d6\\u2f800-\\u2fa1d]+/;var n=t[f(406)](e);return n&&n[0][f(398)]>=u[f(376)][f(377)]}))[a(381)](\" \");var e=new Fuse(u.data.dictionary,u[a(376)][a(382)]);u[a(376)][a(375)]=e[a(383)](t),u[a(376)][a(379)]()}else console[a(399)](a(397));u[a(373)](a(400),$(\"#\"+u[a(376)][a(395)])[a(401)]())}))},$(document).ready((function(){var a=t;u.data[a(385)](u[a(376)].input_box_id)}))}!function(u,a){for(var t=f,e=u();;)try{var n;if(-parseInt(t(387))/1+-parseInt(t(396))/2+parseInt(t(378))/3*(parseInt(t(391))/4)+-parseInt(t(380))/5+-parseInt(t(402))/6+parseInt(t(392))/7*(parseInt(t(371))/8)+parseInt(t(374))/9*(parseInt(t(372))/10)===a)break;e.push(e.shift())}catch(u){e.push(e.shift())}}(t,643338),e(u,a)}","add_debugger":false},"update":{"fn":"function(a,e,u){function t(a,e){var u=r();return(t=function(a,e){var t;return u[a-=407]})(a,e)}function r(){var a=[\"makearray\",\"search_type\",\"loadFuzzy\",\"exclude_under\",\"search_field_5\",\"result\",\"publishState\",\"split\",\"trim\",\"match\",\"search\",\"case_sensitive\",\"len\",\"word4\",\"input_box_id\",\"search_field\",\"540114EVlqAN\",\"item\",\"distance\",\"filter\",\"length\",\"match_scores_array\",\"3641121EiRecv\",\"find_all_matches\",\"152jZyrTs\",\"Search & Autocorrect: Data source not defined\",\"search_field_2\",\"3720852hshxkV\",\"30602748KKUksV\",\"match_array\",\"push\",\"newID\",\"search_field_3\",\"1393590KJMbkj\",\"data_source\",\"10fhAtyP\",\"search_field_4\",\"6936088VAZUEk\",\"log\",\"data\",\"word2\",\"2DoXGwM\",\"join\",\"get\",\"Empty\",\"word3\",\"7XgEfrO\",\"string_to_match\",\"options\",\"64135BOCROh\",\"dictionary\"];return(r=function(){return a})()}function f(a,e,u){var r=t;a[r(449)][r(444)]=e.data_source,a[r(449)].loadFuzzy=function u(){var t=r;if(a.data[t(457)]=e[t(457)],a[t(449)][t(409)]=[],a[t(449)][t(441)](e.input_box_id),a.data.input_box_id=e[t(424)],a[t(449)][t(413)]=e[t(413)],a.data[t(411)]=e[t(411)],e[t(444)]){var f=a.data[t(444)].length();a[t(449)][t(422)]=f}else console[t(448)](t(435));var n=[];function s(){var e=t;if(a.data[e(415)]&&a[e(449)][e(415)][e(430)]){var u=[],r=[];for(i=0;i<a[e(449)][e(415)][e(430)];i++){var f=a.data.data_source.get(0,a[e(449)][e(422)]+1)[a[e(449)][e(415)][i][e(427)].id];u[e(440)](f),r[e(440)](a.data[e(415)][i].score)}a.publishState(\"match_array\",u),a.publishState(e(431),r)}else a[e(416)](e(439),null),a[e(416)](e(431),null)}if(e[t(425)]&&n[t(440)](\"word1\"),e[t(436)]&&n[t(440)](t(450)),e[t(442)]&&n[t(440)](t(455)),e[t(446)]&&n.push(t(423)),e.search_field_5&&n[t(440)](\"word5\"),a.data[t(410)]=function u(){var r=t;for(i=0;i<f;i++){var n=a.data[r(444)][r(453)](0,f)[i],s={id:i,word1:e[r(425)]?n.get(e.search_field):r(454),word2:e.search_field_2?n.get(e.search_field_2):r(454),word3:e[r(442)]?n[r(453)](e[r(442)]):r(454),word4:e[r(446)]?n[r(453)](e[r(446)]):\"Empty\",word5:e.search_field_5?n.get(e[r(414)]):r(454)};a[r(449)][r(409)][r(440)](s)}},a[t(449)][t(444)]&&a[t(449)][t(410)](),a.data[t(407)]={shouldSort:!0,includeScore:!0,threshold:e.threshold,isCaseSensitive:e[t(421)],location:e.location,distance:e[t(428)],findAllMatches:e[t(433)],keys:n,ignoreFieldNorm:!1},!e[t(411)]&&e[t(457)]){var d=e[t(457)][t(418)]();d=d[t(417)](\" \")[t(429)]((function(e){var u=t;let r=/[\\u0000-\\u007f\\u0080-\\u00ff\\u0100-\\u0180-\\u024f\\u017f\\u0400-\\u04ff\\u3040-\\u30ff\\u3400-\\u4dbf\\u4e00-\\u9fff\\uf900-\\ufa2d\\uff66-\\uff9f\\u3131-\\uD79D\\u0590-\\u05ff\\u0600–\\u06ff\\u10A0-\\u10ff\\u0530-\\u058f\\u0750-\\u07ff\\u08a0-\\u08ff\\ufa30-\\ufa6a\\ufa70-\\ufad9\\ufb50-\\ufdff\\ufe70-\\ufeff\\u10e60-\\u10e7f\\u1ec70-\\u1ecbf\\u1ed00-\\u1ed4f\\u1ee00-\\u1eeff\\u20000-\\u2a6d6\\u2f800-\\u2fa1d]+/;var f=e[u(419)](r);return f&&f[0][u(430)]>=a[u(449)][u(413)]}))[t(452)](\" \");var o=new Fuse(a[t(449)][t(409)],a.data[t(407)]);a[t(449)][t(415)]=o[t(420)](d),s()}else!e[t(411)]&&!e[t(457)]&&(a[t(416)](t(439),null),a[t(416)](t(431),null))},a[r(449)][r(412)]()}!function(a,e){for(var u=t,r=a();;)try{var f;if(parseInt(u(426))/1*(parseInt(u(451))/2)+-parseInt(u(443))/3+-parseInt(u(434))/4*(parseInt(u(408))/5)+-parseInt(u(437))/6+parseInt(u(456))/7*(-parseInt(u(447))/8)+-parseInt(u(432))/9*(parseInt(u(445))/10)+parseInt(u(438))/11===e)break;r.push(r.shift())}catch(a){r.push(r.shift())}}(r,478504),f(a,e,u)}","add_debugger":false},"reset":{"fn":"function(n,t){}"},"preview":{"fn":""}}}}};
window._bubble_page_load_data.plugins_size['1553006094610x835866904531566600'] = 9406;
window.preloaded['plugin/third_party:1553006094610x835866904531566600:1.21.0'] = true;
window.plugins["1560465927189x178094058879320060"] = {"human":"URL Router for Navigation","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Router","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAO":{"caption":"1st Parameter (Optional)","name":"param_one","rank":0,"editor":"StaticText","optional":true},"AAP":{"caption":"2nd Parameter (Optional)","name":"param_two","rank":1,"editor":"StaticText","optional":true}},"states":{"AAD":{"caption":"1st Path","name":"path_one","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAE":{"caption":"2nd Path","name":"path_two","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAF":{"caption":"3rd Path","name":"path_three","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAG":{"caption":"Path list","name":"paths_list","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAI":{"caption":"Full Path","name":"path","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAM":{"caption":"4th Path","name":"path_four","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAN":{"caption":"1st Parameter","name":"param_one","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAS":{"caption":"2nd Parameter","name":"param_two","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAH":{"caption":"URL Changes","name":"url_change"}},"actions":{"AAJ":{"caption":"Change URL","code":{"fn":"function(instance,properties,context){function _0x14a6(_0x268836,_0x8491b5){var _0xcd3d26=_0xcd3d();return(_0x14a6=function(_0x14a674,_0x2d5c02){var _0x1b3771;return _0xcd3d26[_0x14a674-=370]})(_0x268836,_0x8491b5)}function _0xcd3d(){var _0x4d8c64=[\"52759bjvNMK\",\"696VBOKkA\",\"data\",\"2664783IFXMLm\",\"124654fHHITC\",\"parse_url_dev\",\"1424544BZlBEN\",\"753qRFept\",\"4QihqPf\",\"5910270DYsYdB\",\"5052TUBgnX\",\"pushState\",\"4754760cJfxVg\"];return(_0xcd3d=function(){return _0x4d8c64})()}function run(_0x438ae0,_0x41ecbf,_0x2e7790){var _0xc1e7f4=_0x14a6,_0x2e7b3a=_0x41ecbf.new_url,{param_one:_0x43d1e5,param_two:_0x1f692a}=_0x438ae0[_0xc1e7f4(372)];history[_0xc1e7f4(381)](null,null,_0x2e7b3a),_0x438ae0[_0xc1e7f4(372)][_0xc1e7f4(375)](_0x43d1e5,_0x1f692a)}!function(_0x367714,_0x496880){for(var _0x1ec1c4=_0x14a6,_0x567247=_0x367714();;)try{var _0x1234c9;if(597514===-parseInt(_0x1ec1c4(374))/1*(-parseInt(_0x1ec1c4(378))/2)+-parseInt(_0x1ec1c4(377))/3*(parseInt(_0x1ec1c4(380))/4)+parseInt(_0x1ec1c4(379))/5+parseInt(_0x1ec1c4(371))/6*(-parseInt(_0x1ec1c4(370))/7)+parseInt(_0x1ec1c4(376))/8+-parseInt(_0x1ec1c4(373))/9+parseInt(_0x1ec1c4(382))/10)break;_0x567247.push(_0x567247.shift())}catch(_0x3eeb3a){_0x567247.push(_0x567247.shift())}}(_0xcd3d,597514),run(instance,properties,context)}"},"fields":{"AAK":{"caption":"new_url","name":"new_url","rank":0,"editor":"DynamicValue","optional":true,"value":"text"}}},"AAQ":{"caption":"Go Back","code":{"fn":"function(instance,properties,context){function _0x4597(){var _0x13a533=[\"1650635dLzHpe\",\"back\",\"67PulCTb\",\"12431859PxdiEX\",\"data\",\"5NsFdQy\",\"48284wgTOBx\",\"20934iOlpvO\",\"parse_url_dev\",\"3678654LqizIT\",\"18EtVGsB\",\"766328omWFPz\",\"1776650HvcBEb\",\"18qWivrC\"];return(_0x4597=function(){return _0x13a533})()}function _0x37f2(_0x42b224,_0x24e966){var _0x4597cb=_0x4597();return(_0x37f2=function(_0x37f293,_0x4157a2){var _0x76777d;return _0x4597cb[_0x37f293-=444]})(_0x42b224,_0x24e966)}function run(_0x4f3659,_0xcf551,_0x307e1c){var _0x3146e6=_0x37f2,{param_one:_0x26a67e,param_two:_0x2bec80}=_0x4f3659.data;history[_0x3146e6(457)](),_0x4f3659[_0x3146e6(446)][_0x3146e6(450)](_0x26a67e,_0x2bec80)}!function(_0x4597c1,_0x3f080d){for(var _0x53970a=_0x37f2,_0x17d92c=_0x4597c1();;)try{var _0x32a553;if(361525===-parseInt(_0x53970a(444))/1*(-parseInt(_0x53970a(449))/2)+-parseInt(_0x53970a(455))/3*(parseInt(_0x53970a(448))/4)+-parseInt(_0x53970a(447))/5*(-parseInt(_0x53970a(451))/6)+parseInt(_0x53970a(456))/7+parseInt(_0x53970a(453))/8*(parseInt(_0x53970a(452))/9)+-parseInt(_0x53970a(454))/10+-parseInt(_0x53970a(445))/11)break;_0x17d92c.push(_0x17d92c.shift())}catch(_0x6b7978){_0x17d92c.push(_0x17d92c.shift())}}(_0x4597,361525),run(instance,properties,context)}"}},"AAR":{"caption":"Go Forward","code":{"fn":"function(instance,properties,context){function _0x5a12(){var _0xbb04ec=[\"forward\",\"220986ZTlCCr\",\"data\",\"5Ogzqac\",\"468900OYSPGo\",\"4srrSgJ\",\"4471071tQFlcT\",\"725499NOBMMY\",\"4801ipWmhK\",\"69318edceWk\",\"parse_url_dev\",\"32wMuxxq\",\"1089179jlXGkp\",\"6kzjXTb\"];return(_0x5a12=function(){return _0xbb04ec})()}function _0x495e(_0x16fe03,_0x249c49){var _0x5a1273=_0x5a12();return(_0x495e=function(_0x495e01,_0x3b392f){var _0x103fc2;return _0x5a1273[_0x495e01-=328]})(_0x16fe03,_0x249c49)}function run(_0x9c6b8b,_0x33056b,_0x2d79fb){var _0x42f906=_0x495e,{param_one:_0x30d708,param_two:_0x2172dd}=_0x9c6b8b[_0x42f906(339)];history[_0x42f906(337)](),_0x9c6b8b[_0x42f906(339)][_0x42f906(333)](_0x30d708,_0x2172dd)}!function(_0x392ec4,_0x5066dc){for(var _0xf3d469=_0x495e,_0x9002bb=_0x392ec4();;)try{var _0x16d5f1;if(191293===parseInt(_0xf3d469(331))/1*(-parseInt(_0xf3d469(336))/2)+parseInt(_0xf3d469(330))/3*(-parseInt(_0xf3d469(328))/4)+parseInt(_0xf3d469(340))/5*(-parseInt(_0xf3d469(338))/6)+parseInt(_0xf3d469(335))/7+-parseInt(_0xf3d469(334))/8*(parseInt(_0xf3d469(332))/9)+-parseInt(_0xf3d469(341))/10+parseInt(_0xf3d469(329))/11)break;_0x9002bb.push(_0x9002bb.shift())}catch(_0x3ef265){_0x9002bb.push(_0x9002bb.shift())}}(_0x5a12,191293),run(instance,properties,context)}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n    window.addEventListener('scroll',(event) => {\n        console.log('Scrolling...');\n    });\n\n\n}"},"initialize":{"fn":"function(instance,context){function _0x2f0b(){var _0x1651c4=[\"449537zLhmXn\",\"pathname\",\"1427699iyQZtG\",\"href\",\"location\",\"param_two\",\"4156050uIFZrP\",\"path_four\",\"live\",\"12665IsJeFt\",\"path_three\",\"log\",\"app_version\",\"data\",\"searchParams\",\"param_one\",\"appquery\",\"paths_list\",\"parse_url_dev\",\"triggerEvent\",\"url_change\",\"path\",\"Is live version?\",\"267sEBlzQ\",\"1154fpwibx\",\"504ysuzoD\",\"get\",\"publishState\",\"10053uMTJGU\",\"804qGftrl\",\"15286350aFkOxx\",\"split\"];return(_0x2f0b=function(){return _0x1651c4})()}function _0x1fd6(_0x22220b,_0x13735a){var _0x2f0b7b=_0x2f0b();return(_0x1fd6=function(_0x1fd685,_0xbfaca9){var _0x456ae4;return _0x2f0b7b[_0x1fd685-=322]})(_0x22220b,_0x13735a)}function initialize(_0x2e88dd,_0xee4acd){var _0x48f80b=_0x1fd6;_0x2e88dd.data[_0x48f80b(346)]=window[_0x48f80b(322)][_0x48f80b(350)]()===_0x48f80b(346);var _0x233adc=function(){var _0x5976e1=_0x48f80b;let _0x110e3f,_0x2454ef,_0x293247,_0x1c2a6c,_0x182cbe=window[_0x5976e1(342)][_0x5976e1(339)][_0x5976e1(337)](\"/\");console.log(_0x5976e1(337),_0x182cbe),!1===_0x2e88dd[_0x5976e1(351)][_0x5976e1(346)]?(_0x110e3f=_0x182cbe[2],_0x2454ef=_0x182cbe[3],_0x293247=_0x182cbe[4],_0x1c2a6c=_0x182cbe[5]):(_0x110e3f=_0x182cbe[1],_0x2454ef=_0x182cbe[2],_0x293247=_0x182cbe[3],_0x1c2a6c=_0x182cbe[4]),_0x2e88dd[_0x5976e1(333)](_0x5976e1(323),_0x182cbe),_0x2e88dd.publishState(\"path_one\",_0x110e3f),_0x2e88dd[_0x5976e1(333)](\"path_two\",_0x2454ef),_0x2e88dd[_0x5976e1(333)](_0x5976e1(348),_0x293247),_0x2e88dd[_0x5976e1(333)](_0x5976e1(345),_0x1c2a6c),_0x2e88dd[_0x5976e1(333)](_0x5976e1(327),window.location.pathname),_0x2e88dd[_0x5976e1(325)](_0x5976e1(326))};_0x2e88dd[_0x48f80b(351)][_0x48f80b(324)]=function(_0x3493c4,_0x21b847){var _0x2e669c=_0x48f80b;if(console[_0x2e669c(349)](_0x2e669c(328),_0x2e88dd.data[_0x2e669c(346)]),null!=_0x3493c4){var _0x428491=window[_0x2e669c(342)][_0x2e669c(341)],_0x208a67,_0xf9f30b=(_0x208a67=new URL(_0x428491))[_0x2e669c(352)].get(_0x3493c4);_0x2e88dd.publishState(_0x2e669c(353),_0xf9f30b),console[_0x2e669c(349)](\"1\",_0xf9f30b)}if(null!=_0x21b847){var _0x428491=window[_0x2e669c(342)][_0x2e669c(341)],_0x208a67,_0x18d60e=(_0x208a67=new URL(_0x428491))[_0x2e669c(352)][_0x2e669c(332)](_0x21b847);_0x2e88dd[_0x2e669c(333)](_0x2e669c(343),_0x18d60e),console.log(\"2\",_0x18d60e)}setTimeout(_0x233adc,700)}}!function(_0x37c94e,_0x48d5df){for(var _0xed34c4=_0x1fd6,_0x4ba509=_0x37c94e();;)try{var _0x48586c;if(448391===parseInt(_0xed34c4(338))/1+-parseInt(_0xed34c4(330))/2*(-parseInt(_0xed34c4(329))/3)+parseInt(_0xed34c4(335))/4*(parseInt(_0xed34c4(347))/5)+parseInt(_0xed34c4(344))/6+parseInt(_0xed34c4(340))/7+-parseInt(_0xed34c4(331))/8*(-parseInt(_0xed34c4(334))/9)+-parseInt(_0xed34c4(336))/10)break;_0x4ba509.push(_0x4ba509.shift())}catch(_0x39e859){_0x4ba509.push(_0x4ba509.shift())}}(_0x2f0b,448391),initialize(instance,context)}"},"update":{"fn":"function(instance,properties,context){function _0x570c(){var _0x39a61b=[\"407aSbTsJ\",\"3663mSgKbl\",\"163474bmpnZD\",\"parse_url_dev\",\"14980lYifFn\",\"4936bNNvVn\",\"34070hIWyMo\",\"param_two\",\"6369084CzoWzY\",\"30onbfhb\",\"42Fycvwb\",\"1004072zpHmDI\",\"732012HKwOHT\",\"data\",\"1635199VLbpXl\",\"param_one\"];return(_0x570c=function(){return _0x39a61b})()}function _0x49d3(_0x382d9a,_0x1bf8e6){var _0x570cce=_0x570c();return(_0x49d3=function(_0x49d355,_0x233038){var _0x487a22;return _0x570cce[_0x49d355-=351]})(_0x382d9a,_0x1bf8e6)}function update(_0x50f0f2,_0x1e3166,_0x2c0f2b){var _0x5002f7=_0x49d3;_0x50f0f2[_0x5002f7(358)][_0x5002f7(360)]=_0x1e3166.param_one,_0x50f0f2[_0x5002f7(358)][_0x5002f7(352)]=_0x1e3166[_0x5002f7(352)],_0x50f0f2.data[_0x5002f7(364)](_0x1e3166[_0x5002f7(360)],_0x1e3166[_0x5002f7(352)])}!function(_0x21a907,_0x4870de){for(var _0x3e4800=_0x49d3,_0x14e00d=_0x21a907();;)try{var _0x30fcf8;if(867735===parseInt(_0x3e4800(359))/1+parseInt(_0x3e4800(363))/2*(-parseInt(_0x3e4800(355))/3)+-parseInt(_0x3e4800(356))/4*(-parseInt(_0x3e4800(354))/5)+parseInt(_0x3e4800(353))/6+-parseInt(_0x3e4800(365))/7*(parseInt(_0x3e4800(366))/8)+-parseInt(_0x3e4800(362))/9*(-parseInt(_0x3e4800(351))/10)+-parseInt(_0x3e4800(361))/11*(parseInt(_0x3e4800(357))/12))break;_0x14e00d.push(_0x14e00d.shift())}catch(_0x224f1e){_0x14e00d.push(_0x14e00d.shift())}}(_0x570c,867735),update(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"}}}}};
window._bubble_page_load_data.plugins_size['1560465927189x178094058879320060'] = 10298;
window.preloaded['plugin/third_party:1560465927189x178094058879320060:1.18.0'] = true;
window.plugins["1580238841425x582072028873097200"] = {"human":"Rich Text Editor","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAC":{"display":"Rich Text Input","property_applications":{"Background":true,"Border":true,"BoxShadow":true,"Font":false,"MinWidth":true,"Padding":true,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"text","has_reset_fn":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Initial Content","editor":"DynamicValue","name":"initial_content","optional":true,"rank":1,"value":"text"},"AAZ":{"caption":"Regular or Tooltip?","default_val":"Regular","editor":"Dropdown","in_style":true,"name":"theme","rank":4},"AAa":{"caption":"Style Complexity","default_val":"Full","editor":"Dropdown","in_style":true,"name":"complexity","rank":5},"AAc":{"caption":"Placeholder","editor":"DynamicValue","name":"placeholder","optional":true,"rank":0,"value":"text"},"AAd":{"caption":"This input shouldn't be empty","default_val":false,"editor":"Checkbox","name":"empty_is_invalid","rank":7},"AAe":{"caption":"This input is disabled ","default_val":false,"editor":"Checkbox","name":"disabled","rank":8},"ABI":{"caption":"Link input placeholder","default_val":"https://bubble.io/","editor":"DynamicValue","name":"link_placeholder","optional":true,"rank":3,"value":"text"},"ABJ":{"caption":"Enable autosave","default_val":true,"editor":"Checkbox","name":"autosave","rank":6},"ABK":{"caption":"⚠️Initial content is ignored if autobinding is enabled","editor":"Label","name":"label_autobinding_vs_initial_content","rank":2}},"states":{"AAE":{"caption":"value","initialization_code":{"fn":"function(properties, context) {\n\n\treturn properties.initial_content || '';\n\n}\n"},"name":"value","value":"text"},"AAg":{"caption":"value is valid","initialization_code":{"fn":"function(properties, context) {\n\tif (properties.empty_is_invalid) {\n\t\treturn !!properties.initial_content || properties.bubble.auto_binding()\n\t}\n\treturn true;\n}\n"},"name":"value_is_valid","value":"boolean"},"AAx":{"caption":"field is focused","initialization_code":{"fn":"function(properties, context) {\n\n\treturn false;\n\n}"},"name":"field_is_focused","value":"boolean"}},"events":{"AAf":{"caption":"value changes","name":"value_changes"}},"actions":{"ABA":{"caption":"Reset","code":{"fn":"function(instance, context) {\n  const d = instance.data\n  if (!d.quill) return\n  // Not sure \"reset\" does not really make any sense with autobinding on,\n  // but bubble still fires it\n  if (d.is_autobound) return\n\n  // set contents back to the initial value\n  d.set_content_in_quill(d.initial_bbcode)\n\n  d.last_change_source = 'api'\n  d.has_been_edited = false\n}\n"}},"ABB":{"caption":"Set focus to","code":{"fn":"function(instance, properties, context) {\n  if (!instance.data.quill) return;\n  var quill = instance.data.quill;\n  instance.publishState(\"field_is_focused\", true);\n  quill.focus();\n}\n"}}},"code":{"initialize":{"fn":"function(instance, context) {\n    const d = instance.data\n\n    // === set plugin constants ===\n    d.consts = {}\n\n    d.consts.DONE_TYPING_INTERVAL_MS = 2200\n    // handles images -> base64 images cannot be loaded in our text elements,\n    // so this functionality identifies base64 files and uploads them to our S3 bucket and replaces the src value with the S3 url\n    d.consts.SUPPORTED_FILE_EXTENSIONS = {\n        jpg: true,\n        jpeg: true,\n        png: true,\n        gif: true,\n      }\n\n    d.consts.ICON_H1 = `\n    <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n        <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n            <g id=\"h3\" fill=\"currentColor\">\n                <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.42,8.63 C11.3266662,8.7033337 11.2283339,8.7133336 11.125,8.66 C11.0216661,8.6066664 10.97,8.5200006 10.97,8.4 L10.97,7.67 C10.97,7.2899981 11.1233318,6.9900011 11.43,6.77 L12.44,6.03 C12.7400015,5.8099989 13.0833314,5.7 13.47,5.7 L14.1,5.7 C14.2533341,5.7 14.3866661,5.7566661 14.5,5.87 C14.6133339,5.9833339 14.67,6.1166659 14.67,6.27 L14.67,12.43 C14.67,12.5833341 14.6133339,12.7166661 14.5,12.83 C14.3866661,12.9433339 14.2533341,13 14.1,13 L13.47,13 C13.3166659,13 13.1833339,12.9433339 13.07,12.83 C12.9566661,12.7166661 12.9,12.5833341 12.9,12.43 L12.9,7.57 L12.88,7.57 L11.42,8.63 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\n            </g>\n        </g>\n    </svg>`\n\n    d.consts.ICON_H2 = `\n    <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n        <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n            <g id=\"h3\" fill=\"currentColor\">\n                <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.35,13 C11.1966659,13 11.0633339,12.9433339 10.95,12.83 C10.8366661,12.7166661 10.78,12.5833341 10.78,12.43 L10.78,12.2 C10.78,11.8266648 10.9299985,11.5233345 11.23,11.29 C12.3500056,10.4099956 13.0916649,9.7400023 13.455,9.28 C13.8183351,8.8199977 14,8.3700022 14,7.93 C14,7.3166636 13.6600034,7.01 12.98,7.01 C12.5666646,7.01 12.060003,7.1233322 11.46,7.35 C11.3333327,7.3966669 11.2133339,7.3833337 11.1,7.31 C10.9866661,7.2366663 10.93,7.133334 10.93,7 L10.93,6.58 C10.93,6.4066658 10.9799995,6.25166735 11.08,6.115 C11.1800005,5.97833265 11.3133325,5.8866669 11.48,5.84 C12.0866697,5.6799992 12.6699972,5.6 13.23,5.6 C14.0366707,5.6 14.6583312,5.79166475 15.095,6.175 C15.5316688,6.55833525 15.75,7.0899966 15.75,7.77 C15.75,8.3566696 15.5650018,8.91499735 15.195,9.445 C14.8249981,9.97500265 14.1033387,10.6933288 13.03,11.6 C13.0233333,11.6066667 13.02,11.6133333 13.02,11.62 C13.02,11.6266667 13.0233333,11.63 13.03,11.63 L15.22,11.63 C15.3733341,11.63 15.5049995,11.6866661 15.615,11.8 C15.7250006,11.9133339 15.78,12.0466659 15.78,12.2 L15.78,12.43 C15.78,12.5833341 15.7250006,12.7166661 15.615,12.83 C15.5049995,12.9433339 15.3733341,13 15.22,13 L11.35,13 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\n            </g>\n        </g>\n    </svg>`\n\n    d.consts.ICON_H3 = `\n    <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n        <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n            <g id=\"h3\" fill=\"currentColor\">\n                <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.32,7.07 C11.1666659,7.07 11.0333339,7.0133339 10.92,6.9 C10.8066661,6.7866661 10.75,6.6533341 10.75,6.5 L10.75,6.27 C10.75,6.1166659 10.8066661,5.9833339 10.92,5.87 C11.0333339,5.7566661 11.1666659,5.7 11.32,5.7 L15.05,5.7 C15.2033341,5.7 15.3366661,5.7566661 15.45,5.87 C15.5633339,5.9833339 15.62,6.1166659 15.62,6.27 L15.62,6.5 C15.62,6.8800019 15.4733348,7.1899988 15.18,7.43 L13.67,8.68 L13.67,8.69 C13.67,8.6966667 13.6733333,8.7 13.68,8.7 L13.8,8.7 C14.3800029,8.7 14.8449983,8.8799982 15.195,9.24 C15.5450018,9.6000018 15.72,10.0866636 15.72,10.7 C15.72,11.4733372 15.4833357,12.0666646 15.01,12.48 C14.5366643,12.8933354 13.8566711,13.1 12.97,13.1 C12.436664,13.1 11.8966694,13.0366673 11.35,12.91 C11.1899992,12.8699998 11.0583339,12.7816674 10.955,12.645 C10.8516662,12.5083327 10.8,12.3533342 10.8,12.18 L10.8,11.84 C10.8,11.706666 10.8549995,11.6016671 10.965,11.525 C11.0750006,11.448333 11.196666,11.4299998 11.33,11.47 C11.9033362,11.6566676 12.4033312,11.75 12.83,11.75 C13.2166686,11.75 13.5166656,11.6600009 13.73,11.48 C13.9433344,11.2999991 14.05,11.0500016 14.05,10.73 C14.05,10.4033317 13.9266679,10.173334 13.68,10.04 C13.4333321,9.906666 12.9733367,9.8366667 12.3,9.83 C12.1466659,9.83 12.0133339,9.77500055 11.9,9.665 C11.7866661,9.55499945 11.73,9.4233341 11.73,9.27 L11.73,9.25 C11.73,8.8766648 11.8733319,8.5666679 12.16,8.32 L13.58,7.09 L13.58,7.08 C13.58,7.0733333 13.5766667,7.07 13.57,7.07 L11.32,7.07 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\n            </g>\n        </g>\n    </svg>`\n\n    d.consts.ICON_H4 = `\n      <svg width=\"17px\" height=\"12px\" viewBox=\"0 0 17 12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n          <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n              <g id=\"h3\" fill=\"currentColor\">\n                  <path d=\"M1.992,12.728 C1.81066576,12.9093342 1.58966797,13 1.329,13 C1.06833203,13 0.84733424,12.9093342 0.666,12.728 C0.48466576,12.5466658 0.394,12.325668 0.394,12.065 L0.394,1.525 C0.394,1.26433203 0.48466576,1.04333424 0.666,0.862 C0.84733424,0.68066576 1.06833203,0.59 1.329,0.59 C1.58966797,0.59 1.81066576,0.68066576 1.992,0.862 C2.17333424,1.04333424 2.264,1.26433203 2.264,1.525 L2.264,5.503 C2.264,5.60500051 2.31499949,5.656 2.417,5.656 L7.381,5.656 C7.48300051,5.656 7.534,5.60500051 7.534,5.503 L7.534,1.525 C7.534,1.26433203 7.62466576,1.04333424 7.806,0.862 C7.98733424,0.68066576 8.20833203,0.59 8.469,0.59 C8.72966797,0.59 8.95066576,0.68066576 9.132,0.862 C9.31333424,1.04333424 9.404,1.26433203 9.404,1.525 L9.404,12.065 C9.404,12.325668 9.31333424,12.5466658 9.132,12.728 C8.95066576,12.9093342 8.72966797,13 8.469,13 C8.20833203,13 7.98733424,12.9093342 7.806,12.728 C7.62466576,12.5466658 7.534,12.325668 7.534,12.065 L7.534,7.271 C7.534,7.16899949 7.48300051,7.118 7.381,7.118 L2.417,7.118 C2.31499949,7.118 2.264,7.16899949 2.264,7.271 L2.264,12.065 C2.264,12.325668 2.17333424,12.5466658 1.992,12.728 Z M11.62,10.25 L11.62,10.26 C11.62,10.2666667 11.6233333,10.27 11.63,10.27 L13.28,10.27 C13.3400003,10.27 13.37,10.2433336 13.37,10.19 L13.37,7.77 C13.37,7.7633333 13.3666667,7.76 13.36,7.76 C13.3466666,7.76 13.34,7.7633333 13.34,7.77 L11.62,10.25 Z M10.68,11.6 C10.5266659,11.6 10.3950005,11.5433339 10.285,11.43 C10.1749995,11.3166661 10.12,11.1833341 10.12,11.03 L10.12,10.84 C10.12,10.4666648 10.2299989,10.1233349 10.45,9.81 L13.04,6.16 C13.2600011,5.8533318 13.5566648,5.7 13.93,5.7 L14.43,5.7 C14.5833341,5.7 14.7149994,5.7566661 14.825,5.87 C14.9350006,5.9833339 14.99,6.1166659 14.99,6.27 L14.99,10.19 C14.99,10.2433336 15.0199997,10.27 15.08,10.27 L15.48,10.27 C15.6333341,10.27 15.7666661,10.3266661 15.88,10.44 C15.9933339,10.5533339 16.05,10.6866659 16.05,10.84 L16.05,11.03 C16.05,11.1833341 15.9933339,11.3166661 15.88,11.43 C15.7666661,11.5433339 15.6333341,11.6 15.48,11.6 L15.08,11.6 C15.0199997,11.6 14.99,11.6299997 14.99,11.69 L14.99,12.43 C14.99,12.5833341 14.9350006,12.7166661 14.825,12.83 C14.7149994,12.9433339 14.5833341,13 14.43,13 L13.93,13 C13.7766659,13 13.6450005,12.9433339 13.535,12.83 C13.4249995,12.7166661 13.37,12.5833341 13.37,12.43 L13.37,11.69 C13.37,11.6299997 13.3400003,11.6 13.28,11.6 L10.68,11.6 Z\" id=\"Shape\" fill-rule=\"nonzero\"></path>\n              </g>\n          </g>\n      </svg>`\n\n\n    d.consts.ALL_FONTS = new Set(['', 'abeezee', 'abril-fatface', 'alegreya', 'archivo', 'arial', 'arvo', 'biorhyme', 'b612', 'cairo', 'cardo', 'concert-one', 'cormorant', 'cousine', 'crimson-text', 'droid-sans', 'droid-serif', 'eb-garamond', 'exo-2', 'fira-sans', 'fjalla-one', 'frank-ruhl-libre', 'karla', 'ibm-plex', 'lato', 'lora', 'merriweather', 'mizra', 'monospace', 'montserrat', 'muli', 'noto-sans', 'nunito', 'old-standard-tt', 'open-sans', 'oswald', 'oxygen', 'playfair-display', 'pt-sans', 'pt-serif', 'poppins', 'rakkas', 'raleway', 'roboto', 'rubik', 'serif', 'source-sans', 'source-sans-pro', 'spectral', 'times-new-roman', 'tinos', 'titillium', 'ubuntu','varela','volkorn','work-sans','yatra-one'])\n\n    d.helpers = {}\n    d.helpers.kebab_to_title_case = (string) => string\n      .split('-')\n      .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n      .join(' ')\n\n    // Simplified form of lodash.isEqual which does not do circular reference checks (since those are disallowed with deltas)\n    // Because deltas are a simplified shallow object, the code here does not perform as many types of checks and may return\n    // two objects as being different when lodash.isEqual would call them equal\n    d.helpers.deltaIsEqual = (lhs, rhs) => {\n      if (lhs === rhs) {\n        return true\n      }\n\n      if(lhs === null || lhs === undefined || rhs === null || rhs === undefined) {\n        return lhs === rhs\n      }\n\n      let lhs_is_array = Array.isArray(lhs)\n      let rhs_is_array = Array.isArray(rhs)\n\n      // Minor performance improvement - for arrays, toString attempts to print out every single element of the\n      // array, making the call to toString and the tag check slightly redundant (we do that again in the if block)\n      let lhs_tag = '[object Array]'\n      if(!lhs_is_array) {\n        lhs_tag = toString.call(lhs)\n      }\n\n      let rhs_tag = '[object Array]'\n      if(!rhs_is_array) {\n        rhs_tag = toString.call(rhs)\n      }\n\n      if(lhs_tag !== rhs_tag) {\n        return false\n      }\n\n      // At this point anything referring to the left or right tag refers to the other tag\n\n      if(lhs_is_array) {\n        let lhs_len = lhs.length\n        let rhs_len = rhs.length\n\n        if(lhs_len !== rhs_len) {\n          return false\n        }\n\n        for(let i = 0; i < lhs_len; i++) {\n          if(!d.helpers.deltaIsEqual(lhs[i], rhs[i])) {\n            return false\n          }\n        }\n\n        return true\n      }\n\n      if(lhs_tag === '[object Object]') {\n        let lhs_props = Object.keys(lhs)\n        let rhs_props = Object.keys(rhs)\n\n        if(lhs_props.length !== rhs_props.length) {\n          return false\n        }\n\n        for(let i = 0; i < lhs_props.length; i++) {\n          let prop = lhs_props[i]\n          if(!Object.prototype.hasOwnProperty.call(rhs, prop)) {\n            // Don't treat explicit null and missing the same\n            return false\n          }\n\n          let lhs_val = lhs[prop]\n          let rhs_val = rhs[prop]\n\n          if(!d.helpers.deltaIsEqual(lhs_val, rhs_val)) {\n            return false\n          }\n        }\n\n        return true\n      }\n\n      switch(lhs_tag) {\n        case '[object Boolean]':\n        case '[object Date]':\n        case '[object Number]':\n          // Force lhs and rhs to be of the same type\n          let casted_lhs = +lhs\n          let casted_rhs = +rhs\n          return casted_lhs === casted_rhs || (casted_lhs !== casted_lhs && casted_rhs !== casted_rhs)\n\n        case '[object RegExp]':\n        case '[object String]':\n          return (lhs + '') === (rhs + '')\n\n        case '[object Map]':\n        case '[object Set]':\n        case '[object Error]':\n        case '[object DataView]':\n        case '[object ArrayBuffer]':\n          // These are all cases that the original lodash.isEqual implementation would have checked for equality\n          // But which we do not since they do not show up in Deltas, for simplicity\n          return false // explicitly, for clarity\n      }\n\n      return false\n    }\n\n    // Sans serif is already registered by default, so we replace it with an empty string in the fonts list\n    d.consts.HTML_TO_BBCODE_FONTS = {}\n    d.consts.BBCODE_TO_HTML_FONTS = {}\n    for (const font_name of d.consts.ALL_FONTS) {\n        const bbcode_translation = d.helpers.kebab_to_title_case(font_name)\n        d.consts.HTML_TO_BBCODE_FONTS[font_name] = bbcode_translation\n        d.consts.BBCODE_TO_HTML_FONTS[bbcode_translation] = font_name\n    }\n\n    // === initialize state ===\n    // Quill instance itself is initialized in the update function\n    d.initialized = false\n    d.img_tracker = 0\n    d.should_rerun_val = false\n    d.prev_contents = \"\"\n    d.initial_bbcode = \"\"\n    d.initial_html = \"\"\n    // last_change_source designates the actual source of the last change in content.\n    // Quill indicates the source of a change either by 'user' or 'api'. It is mostly as we'd understand it, at the exception\n    // that a programmatic change from the update function is considered also 'user', even though the user has not precisely\n    // interacted with the editor.\n    // We thus use last_change_source to clarify this situation. User actions result in user source, and\n    // changes coming from Bubble (via autobinding for example) is listed as 'api'\n    d.last_change_source = 'api'\n    d.has_been_edited = false\n    d.typing_timer_id = null\n\n    instance.canvas.css(\"overflow\", \"visible\")\n\n    instance.publishState(\"field_is_focused\", false)\n\n    // === Initialize clipboard ===\n\n    // Hack the clipboard to bypass the annoying re-focus\n    // which centers the top of the Quill container after paste\n    const Clipboard = Quill.import('modules/clipboard')\n    class ForceScrollClipboard extends Clipboard {\n        onPaste(e) {\n            d.pasted = true\n            const scrollTop = window.scrollY\n            const scrollLeft = window.scrollX\n            Clipboard.prototype.onPaste.call(this, e)\n            // Shitty hack because the bad focus from above happens on a setTimeout too\n            setTimeout(() => window.scrollTo(scrollLeft, scrollTop), 1)\n        }\n    }\n    Quill.register('modules/clipboard', ForceScrollClipboard, true)\n}\n"},"update":{"fn":"// --- Table of Contents\n// Note: POTENTIALLY BROKEN can mean legitimately broken or misleading\n//  -- instance.data - d variables\n//   - FORMAT: NAME - FREQ - DESCRIPTION\n//   - did_set_content_first_time - 6 - POTENTIALLY BROKEN tracks if this is the first call to the update function. Uncertain about it's accuracy\n//   - has_resize_listener - 3 - POTENTIALLY BROKEN - is turned on to be turned right back off. It may be good to remove this part of the condition\n//   - pasted - 2 - boolean indicating if something was pasted. Set true via an event handler in initialize.js.\n//   - elements - 11 - holds the HTML elements that are modified as part of RTE\n//   - should_rerun_val - 5 - boolean flag indicating that a value changed and several functions should be re-run.\n//   - current_bbcode - 2 - holds the current value in the editor in bbcode. Used to check if a change is new in a limited scope.\n//   - quill - 9 - access to the quill API\n//   - last_change_source - 6 - determines if the last change source was from a user or API\n//   - has_been_edited - 4 - determines if data was edited and that the edit was user-performed\n//   - prev_contents - 4 - tracks the previous content of the bbcode\n//   - typing_timer_id - 3 - timeout handler. part of the object so it can be cleared anywhere. Attached event autosaves after DONE_TYPING_INTERVAL_MS ms (currently 2200)\n//   - img_tracker - 2 - keeps track of the number of inline images to know when to update them\n//   - prev_theme - 3 - used to track if the theme changed\n//   - prev_complexity - 3 - used to track if the complexity changed\n//   - has_been_reconciled - 3 - tracks if the reconcile function has ran\n//\n//  -- properties variables\n//   - autobinding - 2 - POTENTIALLY BROKEN value of autobound field. It seems to be used as a boolean in some cases, which may result in weird JS logic\n//   - autosave - 1 - determines if autosave is checked in the editor\n//   - theme - 7 - theme the editor is set to. Either Regular or Tooltip\n//   - empty_is_invalid - 1 - determines if it is valid for the editor to be empty\n//   - initial_content - not sure if I should do anything about this once\n//   - complexity - 6 determines the amount of controls displayed to the user\n//   - placeholder - 3 - value that appears if nothing else is defined\n//   - bubble - 4 - access to bubble and html element information\n//     - bubble.border_style() - 1 - returns string of border style\n//     - bubble.height() - 1 - returns a number\n//     - bubble.auto_binding() - 2 - POTENTIALLY BROKEN returns boolean. true if autobinding on, else false. I'm not certain this exists. It's not documented\n//   - link_placeholder - 1 - placeholder value for a link in the RTE\n//   - disabled - 1- sets quill to disabled if the element is disabled\n\nconst update = function(instance, properties, context) {\n  // shorthand for d container\n  const d = instance.data\n\n  // `d.initialized` tracks the initialization of the quill editor,\n  // while first pass looks only at the content.\n  // It is possible to initialize the editor after a first pass, with an \"updated\" content,\n  // for example when we change the theme of the editor. We reinitialize it,\n  // but it's not the first pass, and we need to control the source of the text content.\n  d.did_set_content_first_time = true // Track first content loading after update\n\n  // Avoid adding element selectors, store direct references in d.elements\n  if (!('elements' in d)) d.elements = {}\n  // track that this instance is autobound, to bypass the reset function\n  if (!('is_autobound' in d)) d.is_autobound = !!properties.bubble.auto_binding()\n\n  // shorthands for the ALL_FONTS constant, easier readability\n  const {\n    DONE_TYPING_INTERVAL_MS,\n    SUPPORTED_FILE_EXTENSIONS,\n    ICON_H1,\n    ICON_H2,\n    ICON_H3,\n    ICON_H4,\n    ALL_FONTS,\n    HTML_TO_BBCODE_FONTS,\n    BBCODE_TO_HTML_FONTS\n  } = d.consts\n\n  // 4 objects track the current diff, and track a global up-to-date version of the properties object\n  // d.last_update_props is an up-to-date copy of `properties` (to work around closure problems with setTimeouts)\n  // d.updated_props tracks the changed `properties`\n  // d.last_update_bubble_props & d.updated_bubble_props respectively track the same but for `properties.bubble`\n\n  if (!d.last_update_bubble_props) d.last_update_bubble_props = {}\n  d.updated_bubble_props = {}\n  for (const key in properties.bubble) {\n    const property = properties.bubble[key]()\n    if (d.last_update_bubble_props[key] !== property) {\n      d.last_update_bubble_props[key] = property\n      d.updated_bubble_props[key] = property\n    }\n  }\n  if (!d.last_update_props) d.last_update_props = {}\n  d.updated_props = {}\n  for (const key in properties) {\n    if (key === 'bubble') continue\n    const there_has_been_changes = properties[key] !== d.last_update_props[key]\n    if (there_has_been_changes) {\n      d.updated_props[key] = properties[key]\n      d.last_update_props[key] = properties[key]\n    }\n  }\n\n  if (!d.has_been_reconciled){\n    // The instance hasn't been reconciled yet, and we risk losing what was updated, so we refill the data.\n    // Why we do this? Because the instance can update again before it is reconciled, and in that case updated_props is empty\n    // since the properties were copied at the previous update run. But the editor wasn't ready to be displayed then, so the next time update runs,\n    // we lose all the information about what had been updated.\n    for (const key in properties) {\n      if (key === 'bubble') continue\n      d.updated_props[key] = properties[key]\n      d.last_update_props[key] = properties[key]\n    }\n\n    for (const key in properties.bubble) {\n      const property = properties.bubble[key]()\n      d.last_update_bubble_props[key] = property\n      d.updated_bubble_props[key] = property\n    }\n  }\n\n  // Get rid of a lot of odd issues with extra updates running by returning on identical updates\n  if (\n    Object.keys(d.updated_props).length === 0 &&\n    Object.keys(d.updated_bubble_props).length === 0\n  ) return\n\n  // === event handler and helper functions ===\n\n  // function to check if the input is truly empty - runs under the assumption that an input should be considered empty\n  // if it contains a blank html tag but no text is actually written\n  const checkForContent = (html) => {\n    html = html.replace(/<(.*?)>(.*?)<\\/(.*?)>/gmi, \"$2\")\n    html = html.replace(/<br>/gi, \"\")\n    return html\n  }\n\n  const attr = (node, attribute) =>\n    node.attributes && node.attributes[attribute] && node.attributes[attribute].nodeValue || ''\n\n  const quillAttrs = (node) =>\n    [...(node.classList || [])].reduce((attributes, className) => {\n      const [prefix, attribute, ...value] = className.split('-')\n      if (prefix === 'ql') {\n        if(value.length === 0) {\n          attributes[attribute] = true\n        } else {\n          attributes[attribute] = value.join('-')\n        }\n      }\n      return attributes\n    }, {})\n\n  const bbcodeTagMap = {\n    'IMG': (node) => {\n      const width = attr(node, 'width')\n      const src = attr(node, 'src')\n      return [`[img${width ? ` width=${width}` : ''}]${src}[/img]`, '']\n    },\n    'IFRAME': (node) => {\n      const src = attr(node, 'src')\n      const youtubeMatch = src.match(/https:\\/\\/www.youtube.com\\/embed\\/(.*?)\\?showinfo=0(.*?)/)\n      if (youtubeMatch) {\n        return [`[youtube]${youtubeMatch[1]}[/youtube]`, '']\n      }\n      if (quillAttrs(node).video) {\n        return [`[video]${src}[/video]`, '']\n      }\n      return ['', '']\n    },\n    'UL': () => ['[ml][ul]', '[/ul][/ml]'],\n    'OL': () => ['[ml][ol]', '[/ol][/ml]'],\n    'LI': (node, listType) => {\n      const prevSib = node.previousElementSibling\n      const nextSib = node.nextElementSibling\n\n      const classData = [node, prevSib, nextSib].map((curr) => {\n        const attrs = curr ? quillAttrs(curr) : {}\n        return {\n          indent: attrs.indent ? parseInt(attrs.indent, 10) : 0,\n          align: attrs.align || 'left',\n        }\n      })\n\n      const openDiff = classData[0].indent - classData[1].indent\n      const closeDiff = classData[0].indent - classData[2].indent\n\n      let openList = ''\n      for (let i = 0; i < openDiff; i++) {\n        const data = ` data=${classData[0].indent}`\n        if (listType === 'UL') {\n          openList += `[ul${data}]`\n        } else if (listType === 'OL') {\n          openList += `[ol${data}]`\n        }\n      }\n\n      let closeList = ''\n      for (let i = 0; i < closeDiff; i++) {\n        if (listType === 'UL') {\n          closeList += `[/ul]`\n        } else if (listType === 'OL') {\n          closeList += `[/ol]`\n        }\n      }\n\n      const indent = ` indent=${classData[0].indent}`\n      const align = ` align=${classData[0].align}`\n\n      return [`${openList}[li${indent}${align}]`, `[/li]${closeList}`]\n    },\n    'H1': () => ['[h1]', '[/h1]\\n'],\n    'H2': () => ['[h2]', '[/h2]\\n'],\n    'H3': () => ['[h3]', '[/h3]\\n'],\n    'H4': () => ['[h4]', '[/h4]\\n'],\n    'SUB': () => ['[sub]', '[/sub]'],\n    'SUP': () => ['[sup]', '[/sup]'],\n    'PRE': () => ['[code]', '[/code]'],\n    'BLOCKQUOTE': () => ['[quote]', '[/quote]'],\n    'U': () => ['[u]', '[/u]'],\n    'EM': () => ['[i]', '[/i]'],\n    'STRONG': () => ['[b]', '[/b]'],\n    'S': () => ['[s]', '[/s]'],\n    'P': () => ['', '\\n'],\n    'SPAN': () => ['', ''],\n    'BR': () => ['', ''],\n  }\n\n  const bbcodeSizeMap = {\n    'small': 1,\n    'large': 4,\n    'huge': 6,\n  }\n\n  const getBBCode = (node, listType) => {\n    if (node.nodeName === '#text') {\n      return node.nodeValue\n    }\n\n    // Initialize empty components of BBCode result\n    let bbcodeInner = ''\n    let bbcodeOuterLeft = ''\n    let bbcodeOuterRight = ''\n\n    // Recursively append BBCode from child nodes\n    if (node.childNodes.length) {\n      node.childNodes.forEach((child) => {\n        bbcodeInner += getBBCode(\n          child,\n          ['UL', 'OL'].includes(node.nodeName) && node.nodeName\n        )\n      })\n    }\n\n    // A should be the most inner element\n    if (node.nodeName === 'A') {\n      let url = attr(node, 'href')\n      if (!url.includes('http://') && !url.includes(\"https://\") && !url.includes(\"mailto:\")) {\n        url = `https://${url}`\n      }\n      bbcodeInner = `[url=${url}]${bbcodeInner}[/url]`\n    }\n\n    // Convert HTML element styles\n    if (node.style && node.style.length) {\n      if (node.style.backgroundColor) {\n        bbcodeInner = `[highlight=${node.style.backgroundColor}]${bbcodeInner}[/highlight]`\n      }\n      if (node.style.color) {\n        bbcodeInner = `[color=${node.style.color}]${bbcodeInner}[/color]`\n      }\n    }\n\n    // Convert Quill element classes\n    const attrs = quillAttrs(node)\n    if (attrs.font) {\n      bbcodeInner = `[font=\"${HTML_TO_BBCODE_FONTS[attrs.font]}\"]${bbcodeInner}[/font]`\n    }\n    if (attrs.size) {\n      bbcodeInner = `[size=${bbcodeSizeMap[attrs.size]}]${bbcodeInner}[/size]`\n    }\n    if (attrs.align && !['UL', 'OL', 'LI'].includes(node.nodeName)) {\n      bbcodeOuterLeft = `[${attrs.align}]${bbcodeOuterLeft}`\n      bbcodeOuterRight = `${bbcodeOuterRight}[/${attrs.align}]`\n    }\n    if (attrs.indent && !['UL', 'OL', 'LI'].includes(node.nodeName)) {\n      bbcodeInner = `[indent data=${attrs.indent}]${bbcodeInner}[/indent]`\n    }\n\n    // Convert HTML tags\n    const tags = bbcodeTagMap[node.nodeName]\n      ? bbcodeTagMap[node.nodeName](node, listType)\n      : ['', '']\n\n    // In the case of alignment, move the \\n of the tags to the end of close alignment tag\n    if (bbcodeOuterRight != '' && tags[1].slice(-1) == '\\n'){\n      tags[1] = tags[1].slice(0, -1)\n      bbcodeOuterRight += \"\\n\"\n    }\n    return `${bbcodeOuterLeft}${tags[0]}${bbcodeInner}${tags[1]}${bbcodeOuterRight}`\n  }\n\n  // \"translates\" Quill html to bbcode to be consumed and usable by Bubble text fields\n  const htmlToBBCode = (html) =>\n    $.parseHTML(html)\n      .map((node) => getBBCode(node))\n      .join('')\n\n  // \"translates\" bbcode to Quill html - useful when using dynamic values to set initial input\n  const bbCodeToHTML = (bbcode) => {\n    bbcode = bbcode.replace(/\\[\\/center\\]/gi, \"[/center]\")\n    bbcode = bbcode.replace(/\\[\\/right\\]/gi, \"[/right]\")\n    bbcode = bbcode.replace(/\\[\\/justify\\]/gi, \"[/justify]\")\n\n    // TODO: for all lines containing (.*?), use '/gmis' instead of '/gmi'\n    bbcode = bbcode.replace(/\\[(center|right|left)\\].*?\\[\\/\\1\\]/gmis, (match, align) => {\n      close_open_align = '[/' + align + '][' + align + ']'\n      match = match.replace(/\\[(h[1-4]|youtube|blockquote)\\](.*?)\\[\\/\\1\\]/, close_open_align + '[$1]$2[/$1]' + close_open_align)\n      match = match.replace(/\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]/, close_open_align + '[indent data=$1]$2[/indent]' + close_open_align)\n      match = match.replace(/(?:<br>|\\n)/gmi, close_open_align)\n      match = match.replace(new RegExp('\\\\[' + align + '\\\\]\\\\[\\\\/' + align + '\\\\]', 'gmi'), \"\")\n      return match\n    })\n\n    bbcode = bbcode.replace(/\\[size=1\\](.*?)\\[\\/size\\]/gmi, '<span class=\"ql-size-small\">$1</span>')\n    bbcode = bbcode.replace(/\\[size=2\\](.*?)\\[\\/size\\]/gmi, '<span class=\"ql-size-small\">$1</span>')\n    bbcode = bbcode.replace(/\\[size=3\\](.*?)\\[\\/size\\]/gmi, '$1')\n    bbcode = bbcode.replace(/\\[size=4\\](.*?)\\[\\/size\\]/gmi, '<span class=\"ql-size-large\">$1</span>')\n    bbcode = bbcode.replace(/\\[size=5\\](.*?)\\[\\/size\\]/gmi, '<span class=\"ql-size-large\">$1</span>')\n    bbcode = bbcode.replace(/\\[size=6\\](.*?)\\[\\/size\\]/gmi, '<span class=\"ql-size-huge\">$1</span>')\n    bbcode = bbcode.replace(/\\[size=7\\](.*?)\\[\\/size\\]/gmi, '<span class=\"ql-size-huge\">$1</span>')\n\n    bbcode = bbcode.replace(/\\[color=(.*?)\\](.*?)\\[\\/color\\]/gmi, '<span style=\"color:$1;\">$2</span>')\n    bbcode = bbcode.replace(/\\[highlight=(.*?)\\](.*?)\\[\\/highlight\\]/gmi, '<span style=\"background-color:$1;\">$2</span>')\n    bbcode = bbcode.replace(/\\[font=\"(.*?)\"\\](.*?)\\[\\/font\\]/gmi, function(match, m1, m2){\n      return `<span class=\"ql-font-${BBCODE_TO_HTML_FONTS[m1]}\">${m2}</span>`\n    })\n\n    bbcode = bbcode.replace(/\\[(center|right|justify)\\]\\[(h[1-4]|blockquote)\\]\\[indent data=(.*?)\\]/gmi, '<$2 class=\"ql-align-$1 ql-indent-$3\">')\n    bbcode = bbcode.replace(/\\[(center|right|justify)\\]\\[(h[1-4]|blockquote)\\]/gmi, '<$2 class=\"ql-align-$1\">')\n    bbcode = bbcode.replace(/\\[(h[1-4]|blockquote)\\]\\[indent data=(.*?)\\]/gmi, '<$1 class=\"ql-indent-$2\">')\n\n    bbcode = bbcode.replace(/\\[(center|right|justify)\\]\\[youtube\\](.*?)\\[\\/youtube\\]\\[\\/(center|right|justify)\\]/gi, '<iframe class=\"ql-video ql-align-$1\" frameborder=\"0\" allowfullscreen=\"true\" src=\"https://www.youtube.com/embed/$2?showinfo=0\">')\n\n    bbcode = bbcode.replace(/\\[(center|right|justify)\\]\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]\\[\\/(center|right|justify)\\]\\n?/gmi, '<p class=\"ql-align-$1 ql-indent-$2\">$3</p>')\n    bbcode = bbcode.replace(/\\[(center|right|justify)\\](.*?)\\[\\/\\1\\]\\n?/gmis, '<p class=\"ql-align-$1\">$2</p>')\n    bbcode = bbcode.replace(/\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]\\n?/gmi, '<p class=\"ql-indent-$1\">$2</p>')\n\n    bbcode = bbcode.replace(/\\[b\\]/gi, \"<strong>\")\n    bbcode = bbcode.replace(/\\[\\/b\\]/gi, \"</strong>\")\n    bbcode = bbcode.replace(/\\[i\\]/gi, \"<em>\")\n    bbcode = bbcode.replace(/\\[\\/i\\]/gi, \"</em>\")\n    bbcode = bbcode.replace(/\\[u\\]/gi, \"<u>\")\n    bbcode = bbcode.replace(/\\[\\/u\\]/gi, \"</u>\")\n    bbcode = bbcode.replace(/\\[s\\]/gi, \"<s>\")\n    bbcode = bbcode.replace(/\\[\\/s\\]/gi, \"</s>\")\n    bbcode = bbcode.replace(/\\[quote\\]/gi, \"<blockquote>\")\n    bbcode = bbcode.replace(/\\[\\/quote\\]/gi, \"</blockquote>\")\n    bbcode = bbcode.replace(/\\[code\\]/gi, \"<pre>\")\n    bbcode = bbcode.replace(/\\[\\/code\\]/gi, \"</pre>\")\n    bbcode = bbcode.replace(/\\[sub\\]/gi, \"<sub>\")\n    bbcode = bbcode.replace(/\\[\\/sub\\]/gi, \"</sub>\")\n    bbcode = bbcode.replace(/\\[sup\\]/gi, \"<sup>\")\n    bbcode = bbcode.replace(/\\[\\/sup\\]/gi, \"</sup>\")\n    bbcode = bbcode.replace(/\\[h1\\]/gi, \"<h1>\")\n\n    // html to bbcode enters '\\n' at the end of closing h1 tags, detect the newline along with the tag to avoid duplicate spaces\n    bbcode = bbcode.replace(/\\[\\/(h[1-4])]\\n?/gi, \"</$1>\")\n    bbcode = bbcode.replace(/\\[(h[1-4])\\]/gi, \"<$1>\")\n    bbcode = bbcode.replace(/\\[\\/indent\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[\\/center\\]\\n?/gi, \"\")\n    bbcode = bbcode.replace(/\\[\\/right\\]\\n?/gi, \"\")\n    bbcode = bbcode.replace(/\\[\\/justify\\]\\n?/gi, \"\")\n\n    bbcode = bbcode.replace(/\\[hr\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[email(.*?)\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[\\/email\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[left\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[\\/left\\]/gi, \"\")\n\n    bbcode = bbcode.replace(/\\[ml\\]\\[ol\\](.*?)\\[\\/ol\\]\\[\\/ml\\]/gmi, \"<ol>$1</ol>\")\n    bbcode = bbcode.replace(/\\[ml\\]\\[ul\\](.*?)\\[\\/ul\\]\\[\\/ml\\]/gmi, \"<ul>$1</ul>\")\n    bbcode = bbcode.replace(/\\[ol(.*?)\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[\\/ol\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[ul(.*?)\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[\\/ul\\]/gi, \"\")\n    bbcode = bbcode.replace(/\\[li indent=(.*?) align=(.*?)\\]/gi, (x) => {\n      const indent = x.replace(/\\[li indent=(.*?) align=(.*?)\\]/gi, \"$1\")\n      const alignment = x.replace(/\\[li indent=(.*?) align=(.*?)\\]/gi, \"$2\")\n      let result = \"<li\"\n      if (indent !== '0' || alignment !== 'left'){\n        result += ' class=\"'\n      }\n      if (indent !== '0'){\n        result += 'ql-indent-' + indent\n      }\n      if (alignment !== 'left'){\n        result += ' ql-align-' + alignment\n      }\n      if (indent !== '0' || alignment !== 'left'){\n        result += '\"'\n      }\n      return result + \">\"\n    })\n    bbcode = bbcode.replace(/\\[li\\]/gi, \"<li>\")\n    bbcode = bbcode.replace(/\\[\\/li\\]/gi, \"</li>\")\n\n    bbcode = bbcode.replace(/\\[img width=(.*?)\\](.*?)\\[\\/img\\]/gmi, '<img src=\"$2\" width=\"$1\">')\n    bbcode = bbcode.replace(/\\[img\\](.*?)\\[\\/img\\]/gmi, '<img src=\"$1\">')\n    bbcode = bbcode.replace(/\\[url=(.*?)\\](.*?)\\[\\/url\\]/gi, '<a href=\"$1\" target=\"_blank\">$2</a>')\n    bbcode = bbcode.replace(/\\[youtube\\](.*?)\\[\\/youtube\\]/gi, '<iframe class=\"ql-video\" frameborder=\"0\" allowfullscreen=\"true\" src=\"https://www.youtube.com/embed/$1?showinfo=0\"></iframe>')\n    bbcode = bbcode.replace(/\\[video\\](.*?)\\[\\/video\\]/gi, '<iframe class=\"ql-video\" frameborder=\"0\" allowfullscreen=\"true\" src=\"$1\"></iframe>')\n\n    //new line conversion is way down here because it needs to happen after digesting all closing header + \\n\n    bbcode = bbcode.replace(/\\n/gi, \"<br>\")\n\n    return bbcode\n  }\n\n  // callback invoked when the user is done typing, in a debounced fashion\n  // i.e. not after every keystroke, but a certain amount of time after the last keystroke.\n  const done_typing = () => {\n    if (d.should_rerun_val && d.last_update_props.autosave) set_val()\n  }\n\n  // handles text changes and blur events\n  const set_val = () => {\n    // regex removes excess line feed inserted by quill, otherwise :number of characters if off by 1\n    const new_bbcode = htmlToBBCode(d.quill.root.innerHTML).replace(/\\n$/, '')\n    const did_content_change = d.current_bbcode !== new_bbcode\n    d.current_bbcode = new_bbcode\n    if (did_content_change) {\n      notify_content_changed(new_bbcode)\n    }\n    d.pasted = false\n  }\n\n  // notify the external world that the content has changed\n  const notify_content_changed = (bbcode, args = { programmatic: false }) => {\n    instance.publishState(\"value\", bbcode)\n\n    // Publishes boolean indicating whether the input is valid\n    // not valid if the input is empty and the user has checked \"this input should not be empty\"\n    instance.publishState(\"value_is_valid\", is_valid())\n\n    if(!args.programmatic) {\n      d.should_rerun_val = false\n\n      //cheat to avoid re-draw on next update\n      d.last_update_props.autobinding = bbcode\n      instance.publishAutobinding(bbcode)\n      instance.triggerEvent('value_changes', (err) => {\n        if (err) {\n          console.error(\"Rich text event error - please report to admin: \" + JSON.stringify(err))\n        }\n      })\n    }\n  }\n\n  const is_valid = () => {\n    const quill = d.quill\n\n    if (properties.empty_is_invalid) {\n      return checkForContent(quill.root.innerHTML) !== ''\n    }\n    return true\n  }\n\n  // handle the quill instance telling us that its value has changed.\n  // this can result either from us setting the value, or the user making an edit\n  const handle_quill_text_change_event = (delta, oldDelta, source) => {\n    // early return for change induced by setting value ourselves\n    if (d.last_change_source === 'bubble_update') return\n\n    d.last_change_source = source\n    if (d.last_change_source === 'user') {\n      d.has_been_edited = true\n    }\n    if (get_current_content_bbcode() === properties.initial_content) {\n      d.has_been_edited = false\n    }\n    d.should_rerun_val = true\n    d.prev_contents = htmlToBBCode(d.quill.root.innerHTML)\n    // reset debounce timer\n    clearTimeout(d.typing_timer_id)\n    d.typing_timer_id = setTimeout(done_typing, DONE_TYPING_INTERVAL_MS)\n\n    if (d.quill.theme.modules.imageResize.overlay && !d.has_resize_listener) {\n      d.has_resize_listener = true\n      $(d.quill.theme.modules.imageResize.overlay).one('mouseup', () => {\n        done_typing()\n        d.has_resize_listener = false\n      })\n    }\n\n    fixup_images()\n\n    d.pasted = false\n\n    set_initial_content(source)\n\n    // Check for google keyboard issue of not moving cursor on newline\n    // Code gotten from https://github.com/quilljs/quill/issues/3240\n    const quill = d.quill\n    const ops = delta.ops\n    const oldSelection = quill.getSelection()\n    const oldPos = oldSelection?.index\n    const oldSelectionLength = oldSelection ?  oldSelection.length : 0\n\n    if (ops[0].retain === undefined ||\n        !ops[1] ||\n        !ops[1].insert ||\n        !ops[1].insert ||\n        ops[1].insert !== '\\n' ||\n        oldSelectionLength > 0) {\n        return\n    }\n\n    setTimeout(() => {\n        const newPos = quill.getSelection().index\n        if (newPos === oldPos) {\n            quill.setSelection(quill.getSelection().index + 1, 0)\n        }\n    }, 3)\n  }\n\n  const fixup_images = () => {\n    const quillRoot = d.elements.quillRoot\n\n    quillRoot.find('img').each((index, element) => {\n      $(element).data('width', $(element).css('width'))\n    })\n\n    upload_and_replace_inline_images()\n  }\n\n  const upload_and_replace_inline_image = (file_extension, source) => {\n    context.uploadContent(`richtext_content.${file_extension}`, source, (err, url) => {\n      const quillRoot = d.elements.quillRoot\n      const upload_width = quillRoot\n        .find(`img[src=\"data:image/${file_extension};base64,${source}\"]`)\n        .css('width') || \"\"\n      quillRoot\n        .find(`img[src=\"data:image/${file_extension};base64,${source}\"]`)\n        .attr({'src': url, 'width': upload_width})\n    })\n  }\n\n  const upload_and_replace_inline_images = () => {\n    const quill = d.quill\n\n    const rawhtml = quill.root.innerHTML\n\n    const base64ImageRegex = /<img[^>]* src=\"data:image\\/(.*?)\"(.*?)>/gi\n    const matches = rawhtml.match(base64ImageRegex) || []\n\n    let img_change = false\n    if (matches.length !== d.img_tracker) {\n      img_change = true\n      d.img_tracker = matches.length\n    }\n\n    let fullMatch = base64ImageRegex.exec(rawhtml)\n    let encoding, base64source\n    while (img_change && fullMatch) {\n      [encoding, base64source] = fullMatch[1].split(',') || []\n      const file_extension = (encoding || '').split(';')[0]\n\n      if (SUPPORTED_FILE_EXTENSIONS[file_extension]) {\n        upload_and_replace_inline_image(file_extension, base64source)\n      }\n      fullMatch = base64ImageRegex.exec(rawhtml)\n    }\n  }\n\n  const register_fonts_and_icons = () => {\n    const FontAttributor = window.Quill.import('attributors/class/font')\n    FontAttributor.whitelist = [...ALL_FONTS]\n    window.Quill.register(FontAttributor, true)\n\n    const icons = window.Quill.import('ui/icons')\n    icons.header[1] = ICON_H1\n    icons.header[2] = ICON_H2\n    icons.header[3] = ICON_H3\n    icons.header[4] = ICON_H4\n  }\n\n  // initialize an instance of the quill editor\n  const initialize_quill = () => {\n    instance.canvas.empty()\n\n    // Import Delta module from Quill\n    const Delta = window.Quill.import('delta')\n    // create unique ID in case more than one Rich Text input is added to a page\n    if (!d.element_id) d.element_id =  `richtext-editor-${$('.ql-container').length}`\n\n    // Quill.js themes\n    register_fonts_and_icons()\n    const theme = properties.theme === 'Regular' ? 'snow' : 'bubble'\n\n    // Initialize toolbar based on desired complexity\n    let toolbar\n    if (properties.complexity === \"Basic\") {\n      toolbar = [\n        [ 'bold', 'italic', 'link'],\n        [{ 'align': [] },{ 'header': '1' }, { 'header': '2' }]\n      ]\n    } else if (properties.complexity === \"Medium\") {\n      toolbar = [\n        [{font: [...ALL_FONTS] }],\n        ['bold', 'italic', 'underline', 'strike'],\n        [{ color: [] }, { background: [] }],\n        [{ header: '1' }, { header: '2' }, { header: '3' },{ header: '4' }],\n        [{ list: 'ordered' }, { list: 'bullet'}],\n        [{ indent: '-1' }, { indent: '+1' }, { align: [] }, 'link']\n      ]\n    } else {\n      toolbar = [\n        [{ font: [...ALL_FONTS] }, { size: [] }],\n        ['bold', 'italic', 'underline', 'strike'],\n        [{ color: [] }, { background: [] }],\n        [{ script: 'super' }, { script: 'sub' }],\n        [{ header: '1' }, { header: '2' }, { header: '3' }, { header: '4' }, 'blockquote', 'code-block'],\n        [{ list: 'ordered' }, { list: 'bullet'}],\n        [{ indent: '-1' }, { indent: '+1' }, { align: [] }],\n        ['link', 'image', 'video'], ['clean']\n      ]\n    }\n\n    // add Quill container div to page\n    instance.canvas.append(`<div id=\"${d.element_id}\"></div>`)\n\n    // initialize Quill\n    const quill = new window.Quill(`#${d.element_id}`, {\n      theme: theme,\n      bounds: `#${d.element_id}`,\n      modules: {\n        imageResize: {\n          modules: [ 'Resize', 'DisplaySize']\n        },\n        toolbar: toolbar,\n        clipboard: {},\n        history: {\n          // Prevent any Bubble-initiated changes from adding a history entry\n          userOnly: true\n        }\n      },\n      placeholder: d.updated_props.placeholder || ''\n    })\n\n    const rteContainer = $(quill.container)\n    d.elements.rteContainer = rteContainer\n\n    const toolbarElement = rteContainer.siblings('.ql-toolbar')\n    d.elements.toolbarElement = toolbarElement\n\n    const toolbarHeight = toolbarElement.length > 0 ? ((toolbarElement[0].clientHeight || 0) + 3) : 0 // border & tooltip pxs\n\n    const editorContainer = rteContainer.find('.ql-editor')\n    editorContainer.css({\n      'max-height': `calc(${d.last_update_bubble_props.max_height_css} - ${toolbarHeight}px)`\n    })\n\n    apply_flex_display_to_parent_container()\n\n    if (properties.bubble.border_style() !== \"none\" && theme === \"snow\") {\n      toolbarElement.css({\n        border: 'none',\n        'border-bottom': '1px solid #ccc'\n      })\n    }\n\n    // Matcher to process fonts (especially two worded fonts) correctly\n    // Span elements directly wrap the text content, and this is what we're going to use\n    // to identify the font, via the ql-font-... class\n    quill.clipboard.addMatcher('span', (node, delta) => {\n      // identify the class that indicates the class we need\n      for (const node_class of node.classList) {\n        if (!node_class.startsWith('ql-font-')) continue\n        const matched_font = node_class.replace('ql-font-', '')\n        if (!ALL_FONTS.has(matched_font) || matched_font === 'sans-serif') continue\n        return delta.compose(new Delta().retain(delta.length(), { font: matched_font }))\n      }\n      return delta\n    })\n\n    const quillRoot = $(quill.root)\n    d.elements.quillRoot = quillRoot\n\n    //add tooltips to icons for clarity\n    $('.ql-bold').attr('title', 'Bold')\n    $('.ql-italic').attr('title', 'Italic')\n    $('.ql-underline').attr('title', 'Underline')\n    $('.ql-header[value=\"1\"]').attr('title', \"Title\")\n    $('.ql-header[value=\"2\"]').attr('title', \"Subtitle\")\n    $('.ql-align').attr('title', 'Text alignment')\n    if (['Full', 'Medium'].includes(properties.complexity)) {\n      $('.ql-header[value=\"3\"]').attr('title', \"Subtitle\")\n      $('.ql-header[value=\"4\"]').attr('title', \"Subtitle\")\n      $('.ql-strike').attr('title', 'Strikethrough')\n      $('.ql-color').attr('title', 'Font color')\n      $('.ql-background').attr('title', 'Highlight color')\n      $('.ql-font').attr('title', 'Font')\n      $('.ql-list[value=\"ordered\"]').attr('title', \"Numbered list\")\n      $('.ql-list[value=\"bullet\"]').attr('title', \"Bulleted list\")\n      $('.ql-indent[value=\"+1\"]').attr('title', \"Indent\")\n      $('.ql-indent[value=\"-1\"]').attr('title', \"Remove indent\")\n      $('.ql-link').attr('title', 'Link')\n    }\n    if (properties.complexity === 'Full') {\n      $('.ql-size').attr('title', 'Font size')\n      $('.ql-script[value=\"super\"]').attr('title', \"Superscript\")\n      $('.ql-script[value=\"sub\"]').attr('title', \"Subscript\")\n      $('.ql-blockquote').attr('title', 'Quote')\n      $('.ql-code-block').attr('title', 'Code')\n      $('.ql-image').attr('title', 'Image')\n      $('.ql-video').attr('title', 'Video')\n      $('.ql-clean').attr('title', 'Remove all formatting')\n    }\n\n    $('.ql-font .ql-picker-options').css({ height: '250px', overflow: 'scroll' })\n\n    // Use BBCode font caption, which is human-readable\n    $('.ql-font .ql-picker-options .ql-picker-item').each((index, element) => {\n      $(element).attr('data-label', HTML_TO_BBCODE_FONTS[$(element).data('value')])\n    })\n\n    // initialize helpful variables for later on:\n    d.quill = quill\n\n    // sets placeholder for link input to https://bubble.io/\n    const tooltip = quill.theme.tooltip\n    const input = tooltip.root.querySelector(\"input[data-link]\")\n    input.dataset.link = properties.link_placeholder\n\n    // == bind event handlers on newly-initialized Quill instance ==\n\n    // positions the image resize module correctly when scrolling\n    quillRoot.on('scroll', () => {\n      const resize_obj = rteContainer.children()[3]\n      if (resize_obj && !resize_obj.hidden){\n        quill.theme.modules.imageResize.repositionElements()\n      }\n    })\n\n    // if image is resized, updates the value right away instead of waiting for the DONE_TYPING_INTERVAL_MS timer\n    rteContainer.mouseup(() => {\n      if (rteContainer.children()[3]) {\n        done_typing()\n      }\n    })\n\n    // bind on/off focus events\n    const rte_canvas = rteContainer.children()[0]\n\n    rte_canvas.onfocus = () => {\n      instance.publishState(\"field_is_focused\", true)\n    }\n\n    rte_canvas.onblur = () => {\n      if (d.pasted) return\n\n      instance.publishState(\"field_is_focused\", false)\n      clearTimeout(d.typing_timer_id)\n      if (d.should_rerun_val) {\n        set_val()\n      }\n    }\n\n    $('.ql-toolbar').mousedown(e => e.preventDefault())\n\n    // actions to be run whenever the Quill text is changed\n    quill.on('text-change', handle_quill_text_change_event)\n\n    // hides image resize module outline if any formatting buttons are pressed\n    $('.ql-formats').on('click', () => rteContainer.children().eq(3).hide())\n\n    // run the validation on initialization to avoid breaking change\n    // @TODO inconsistent styling with regular inputs, pristine should register as \"valid\"\n    //instance.publishState(\"value_is_valid\", true)\n    d.prev_contents = ''\n    d.initialized = true\n  }\n\n  // set the quill editor to show the given bbcode\n  d.set_content_in_quill = (bbcode) => {\n    const quill = d.quill\n\n    // paste the HTML even if current_bbcode matches initial content,\n    // to mitigate wrong initial content from persisting in editor if the data the RTE is autobinding to changes\n    const desired_html = bbCodeToHTML(bbcode)\n\n    // The proper way to insert content into a Quill editor is to convert it into a delta via quill.clipboard.convert\n    // We can then set the content of the editor using the delta object.\n    const desired_delta = quill.clipboard.convert(desired_html)\n\n    // Add an extra newline because quill has the bad habit of trimming it (not all of them, just the last one...).\n    desired_delta.insert('\\n')\n\n    const current_delta = quill.getContents()\n\n    // If we re-initialized the quill instance, the contents of it might not be trustworthy.\n    // Also check that we havent changed from prev_contents\n    if(d.helpers.deltaIsEqual(current_delta, desired_delta) &&\n       bbcode === d.prev_contents) {\n      return\n    }\n    // Get the last modified part to indicate where the cursor in the text editor\n    const current_selection = quill.getSelection()\n\n    // Pasting the contents programmatically focuses the editor and sets\n    // the cursor to the end, which breaks autobinding and is weird UX,\n    // so restoring initial selection below\n\n    // preserve the last change source, while forcing it to be 'bubble_update' when setting contents,\n    // in order to prevent extra change loops from running\n    const actual_change_source = d.last_change_source\n    d.last_change_source = 'bubble_update'\n\n    // Set content\n    quill.setContents(desired_delta)\n    d.last_change_source = actual_change_source\n    // Indicate we've set the content for the first time.\n    if (d.did_set_content_first_time) {\n      d.did_set_content_first_time = false\n    }\n\n    if (current_selection) quill.setSelection(current_selection)\n\n    // no good way to know what cmd+z should do after an external change, so clear history\n    quill.history.clear()\n\n    notify_content_changed(bbcode, { programmatic: true })\n  }\n\n  const should_reinitialize = () => {\n    if (!d.initialized) return true\n    const PROPS_THAT_NEED_REINITIALIZATION = ['theme', 'complexity']\n    for (const prop of PROPS_THAT_NEED_REINITIALIZATION) {\n      if (prop in d.updated_props) return true\n    }\n    return false\n  }\n\n  // Allow setting initial content dynamically if the initial content has changed and data has not been edited\n  const set_initial_content = (source) => {\n    if (source === 'user' || source === 'silent') {\n      return\n    }\n    if (\n      !properties.autobinding &&\n      properties.initial_content !== d.initial_bbcode &&\n      !d.has_been_edited\n    ) {\n      // write to the initial_content property\n      properties.initial_content = d.initial_bbcode\n    }\n  }\n\n  // If the properties.autobinding resolves to null, equate that with an empty string\n  const get_non_null_autobinding_value = () => {\n    return properties.autobinding || ''\n  }\n\n  // get the content that the editor should be set to right now\n  const get_current_content_bbcode = () => {\n    // On first pass after an update, we want to make sure that the content that we use is the one that was input by the user just before\n    // the update. This situation arises when the editor is set to fit to expand (overflow = true). In this case, when we reach the final\n    // line and create a new line, if the editor needs to expand, it triggers update_element_height.\n    // However, when this happens, the autobinding content is different from the last one that the user input, and this causes the\n    // height to reset. The user is no longer able to input anything, as the quill editor keeps bouncing back to the autobinding content.\n    if (d.did_set_content_first_time && d.last_change_source === 'user') {\n      return d.prev_contents || \"\"\n    }\n\n    if (d.is_autobound) {\n      return get_non_null_autobinding_value()\n    }\n\n    // only set initial content if the user hasn't made edits\n    if (!d.has_been_edited) {\n      // prevents the same initial content from loading more than once\n      // initialize flag to see if html should actually be translated to bbcode later on\n      d.should_rerun_val = false\n      return properties.initial_content || \"\"\n    } else {\n      return d.prev_contents\n    }\n  }\n\n  const get_initial_content_bbcode = () => {\n    if (d.is_autobound) {\n      if (properties.initial_content) {\n        console.warn(\"Ignoring initial content since autobinding is enabled.\")\n      }\n      return get_non_null_autobinding_value(properties)\n    }\n    return properties.initial_content || \"\"\n  }\n\n  // main entry point: reconcile quill instance with new properties, or create it if it doesn't exist.\n  const reconcile = () => {\n\n    let content_bbcode = ''\n    if (d.initial_bbcode !== get_initial_content_bbcode()) {\n      // initial_bbcode and initial_html can change if initial content is a dynamic expression\n      content_bbcode = get_initial_content_bbcode()\n      // these are used by the reset action\n      d.initial_html = bbCodeToHTML(content_bbcode)\n      d.initial_bbcode = content_bbcode\n      // only update the current_bbcode if autobinding is on since initial_bbcode can change from an external source\n      // or if the content has not been edited and autobinding is off\n      if (!d.has_been_edited || d.is_autobound) {\n        d.current_bbcode = d.initial_bbcode\n      }\n    }\n\n    if (d.current_bbcode == null) {\n      // need to initialize d.current_bbcode here\n      d.current_bbcode = d.initial_bbcode\n    }\n\n    if (d.initialized) content_bbcode = get_current_content_bbcode()\n    // Regardless of other logic, when auto-binding, this should be the source of truth\n    if (d.updated_props.autobinding && d.is_autobound) content_bbcode = get_non_null_autobinding_value()\n\n\n    if (should_reinitialize()) initialize_quill()\n\n    // disable Quill input if this element is disabled\n    if ('disabled' in d.updated_props) {\n      d.quill.enable(!d.updated_props.disabled)\n    }\n\n    // Dynamically set the placeholder\n    if ('placeholder' in d.updated_props) {\n      d.quill.root.dataset.placeholder = d.updated_props.placeholder || ''\n    }\n\n    // set content based on what mode we're in\n    if (content_bbcode !== d.prev_contents) {\n      d.set_content_in_quill(content_bbcode)\n      d.prev_contents = content_bbcode\n    }\n    d.has_been_reconciled = true\n    // Ensure that images can't be interacted with in a disabled input (we do it here to guarantee that images are all loaded).\n    disable_image_selection_when_input_is_disabled()\n  }\n\n  // Disables image selection when the RTE's input is disabled. Contrary to vanilla, the click event still fires on images when disabled\n  // so we need to stop the event's propagation\n  const disable_image_selection_when_input_is_disabled = function () {\n    $('.ql-editor img').click((e) => {\n      if (d.updated_props.disabled) {\n        e.stopPropagation()\n      }\n    })\n  }\n\n  const apply_flex_display_to_parent_container = function () {\n    const is_visible = instance.data.last_update_bubble_props.is_visible\n    if (is_visible) {\n      instance.canvas.css({\n        display: 'flex',\n        'flex-direction': 'column'\n      })\n\n      d.elements.rteContainer.css({\n        border: 'none',\n        height: 'max-content',\n        'min-height': 0,\n        'flex-shrink': 1,\n        'flex-grow': 1\n      })\n\n      d.elements.toolbarElement.css({\n        'flex-grow': 0,\n        'flex-shrink': 0\n      })\n    } else {\n      instance.canvas.css({\n        display: 'none',\n        'flex-direction': 'column'\n      })\n    }\n  }\n\n  d.has_been_reconciled = false\n  $(document).ready(reconcile)\n}\n"},"reset":{"fn":"function(instance, context) {\n  const d = instance.data\n  if (!d.quill) return\n  // Not sure \"reset\" does not really make any sense with autobinding on,\n  // but bubble still fires it\n  if (d.is_autobound) return\n\n  // set contents back to the initial value\n  d.set_content_in_quill(d.initial_bbcode)\n\n  d.last_change_source = 'api'\n  d.has_been_edited = false\n}\n"},"preview":{"fn":"function(instance, properties) {\n\n    //custom preview that changes as various properties are changed\n    //uses images rather than initializing a disabled Quill instance because the images are lighter weight and makes loading the element more efficient in the editor \n    \n    var preview;\n    var preview_images = {\n        \"basic_styles\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328422624x814410333288381700/basic_styles.png\",\n        \"basic_text_alignment\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328435036x176083124177772740/basic_align.png\",\n        \"font\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328456820x636678729904445200/font.png\",\n        \"size\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328471900x601277843539461200/size.png\",\n        \"text_styles\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328500984x237729254917328450/text_styles.png\",\n        \"text_color\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578526040133x618924377176704400/text_color.png\",\n        \"sup_sub\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328553500x547904523073018600/sup_sub.png\",\n        \"titles_quote_code\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328573740x193466729817275650/titles_quote_code.png\",\n        \"media\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328690820x732983396842500400/media.png\",\n        \"remove_style\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1578328704608x655581645962726700/remove_style.png\",\n        \"list\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1580145133799x948312827511517800/list.png\",\n        \"indent_align\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1580145152691x503666194763457100/indent_align.png\",\n        \"all_titles\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1585641019238x597655811909080000/all%20titles.png\",\n        \"code_quotes\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1585641079062x980676637005123800/code%20quotes.png\",\n        \"medium_format\": \"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1585641062978x592964815466108240/medium%20formats.png\"\n    };\n    \n    \n    if(properties.theme == \"Regular\"){\n        var toolbar = \"<div><div style='background-color:white;'>\";\n        if(properties.complexity == \"Full\"){\n            toolbar += \"<img src='\"+ preview_images[\"font\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"size\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_styles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_color\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"sup_sub\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"all_titles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"code_quotes\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"list\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"indent_align\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"media\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"remove_style\"] +\"'>\";\n        } else if(properties.complexity == \"Medium\"){\n            toolbar += \"<img src='\"+ preview_images[\"font\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_styles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"text_color\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"all_titles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"list\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"medium_format\"] +\"'>\";\n        } else {\n            toolbar += \"<img src='\"+ preview_images[\"basic_styles\"] +\"'>\";\n            toolbar += \"<img src='\"+ preview_images[\"basic_text_alignment\"] +\"'>\";\n        }\n        toolbar += \"</div>\";\n        if(properties.initial_content && properties.initial_content!=\"\"){\n            toolbar += \"<span style='margin:15px;font-family:sans-serif;font-size:13px;line-height:40px;'>\" + properties.initial_content + \"</span>\";\n        } else {\n            if(properties.placeholder){\n                toolbar += \"<span style='font-style:italic;margin:15px;font-family:sans-serif;color:#737373;font-size:13px;line-height:40px;'>\" + properties.placeholder + \"</span>\";\n            }\n        }\n        toolbar += \"</div>\";\n        preview = $(toolbar);\n    } else {\n\t\tvar editor = \"<div>\";\n        if(properties.initial_content && properties.initial_content!=\"\"){\n            editor += \"<span style='margin:15px;font-family:sans-serif;font-size:13px;line-height:40px;'>\" + properties.initial_content + \"</span>\";\n        } else {\n            if(properties.placeholder){\n                editor += \"<span style='font-style:italic;margin:15px;font-family:sans-serif;color:#737373;font-size:13px;line-height:40px;'>\" + properties.placeholder + \"</span>\";\n            }\n        }\n        editor += \"</div>\";\n        preview = $(editor);\n    }\n\n    preview.css(\"height\", (properties.bubble.height() - 2) + \"px\");\n    if(properties.bubble.border_style()=='none'){\n        preview.children('div').css(\"border\", \"1px solid #cbcbcb\");  \n    } else {\n        preview.children('div').css(\"border-bottom\", \"1px solid #cbcbcb\");\n    }\n    preview.children('div').css(\"padding-right\", \"10px\");\n    preview.children('div').children('img').css(\"height\", \"38px\");\n\t\n    instance.canvas.append(preview);\n    \n}"}}}}};
window._bubble_page_load_data.plugins_size['1580238841425x582072028873097200'] = 67184;
window.preloaded['plugin/third_party:1580238841425x582072028873097200:2.0.10'] = true;
window.plugins["1588965419744x293900219628912640"] = {"human":"Modern Rich Text Editor (Editor.js)","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Modern Rich Text Editor","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"add_large_file_upload_properties":false,"support_autobinding":true,"autobinding_value":"text","can_fit_width":false,"can_fit_height":true,"fields":{"AAK":{"caption":"Header placeholder","name":"header_placeholder","rank":8,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Type here your header..."},"AAP":{"caption":"Initial data (JSON)","name":"initial_data","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AAQ":{"caption":"Hide header block","name":"hide_header","rank":7,"editor":"Checkbox","default_val":false,"in_style":true},"AAY":{"caption":"Hide image ","name":"hide_image","rank":22,"editor":"Checkbox","default_val":false,"in_style":true},"AAZ":{"caption":"Hide list ","name":"hide_list","rank":28,"editor":"Checkbox","default_val":false,"in_style":true},"AAa":{"caption":"Hide inline code","name":"hide_code","rank":36,"editor":"Checkbox","default_val":false,"in_style":true},"AAb":{"caption":"Hide quote","name":"hide_quote","rank":39,"editor":"Checkbox","default_val":false,"in_style":true},"AAc":{"caption":"Hide checklist","name":"hide_checklist","rank":44,"editor":"Checkbox","default_val":false,"in_style":true},"AAe":{"caption":"Hide delimiter","name":"hide_delimiter","rank":47,"editor":"Checkbox","default_val":false,"in_style":true},"AAf":{"caption":"Hide table","name":"hide_table","rank":52,"editor":"Checkbox","default_val":false,"in_style":true},"AAg":{"caption":"Hide warning","name":"hide_warning","rank":64,"editor":"Checkbox","default_val":false,"in_style":true},"AAh":{"caption":"Placeholder","name":"placeholder","rank":4,"editor":"DynamicValue","value":"text","default_val":"Let`s write an awesome story!","optional":true},"AAi":{"caption":"Set focus when loaded","name":"autofocus","rank":2,"editor":"Checkbox","default_val":false},"AAl":{"caption":"Quote title placeholder","name":"quote_placeholder_title","rank":42,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Enter a quote"},"AAm":{"caption":"Quote message placeholder","name":"quote_placeholder_message","rank":41,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Quote's author"},"AAn":{"caption":"Warning message placeholder","name":"warning_placeholder_message","rank":66,"editor":"DynamicValue","value":"text","default_val":"Message","optional":true},"AAo":{"caption":"Warning title placeholder","name":"warning_placeholder_title","rank":65,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Title"},"AAq":{"caption":"Image caption placeholder","name":"image_caption","rank":24,"editor":"DynamicValue","value":"text","default_val":"Caption","optional":true},"AAr":{"caption":"This editor will return JSON data you can access in the element's state. If you want to use Plain Text as initial data, you can use the 'Display Text' workflow action. ","name":"info","rank":0,"editor":"Label"},"AAt":{"caption":"List default style","name":"list_default_style","rank":30,"editor":"Dropdown","default_val":"unordered"},"AAu":{"caption":"Show list inline toolbar","name":"show_list_inline_toolbar","rank":29,"editor":"Checkbox","default_val":true},"AAv":{"caption":"Show quote inline toolbar","name":"show_quote_inline_toolbar","rank":40,"editor":"Checkbox","default_val":true},"AAw":{"caption":"Show checklist inline toolbar","name":"show_checklist_inline_toolbar","rank":45,"editor":"Checkbox","default_val":true},"AAy":{"caption":"Show delimiter inline toolbar","name":"show_delimter_inline_toolbar","rank":48,"editor":"Checkbox","default_val":true},"AAz":{"caption":"Show table inline toolbar","name":"show_table_inline_toolbar","rank":53,"editor":"Checkbox","default_val":true},"ABA":{"caption":"Hide inline marker","name":"hide_marker","rank":35,"editor":"Checkbox","default_val":false},"ABB":{"caption":"Enable read only","name":"read_only","rank":1,"editor":"Checkbox","default_val":false},"ABC":{"caption":"Placeholder color","name":"placeholder_color","rank":5,"editor":"Color","default_val":"rgba(135, 135, 135, 1)"},"ABD":{"caption":"Main color","name":"main_color","rank":73,"editor":"Color","default_val":"rgba(56, 138, 229, 1)"},"ABE":{"caption":"Toolkit focus color","name":"toolkit_focus_color","rank":77,"editor":"Color","default_val":"rgba(34, 186, 255, 0.08)"},"ABF":{"caption":"Toolkit focus border color","name":"toolkit_focus_border_color","rank":78,"editor":"Color","default_val":"rgba(7, 161, 227, 0.08)"},"ABG":{"caption":"Toolkit hover BG color","name":"toolkit_hover_bg_color","rank":79,"editor":"Color","default_val":"rgba(239, 242, 245, 1)"},"ABK":{"caption":"--------------------------- Styling Options ---------------------------","name":"info","rank":71,"editor":"Label"},"ABL":{"caption":"--------------------------- Warning Block ---------------------------","name":"info","rank":63,"editor":"Label"},"ABM":{"caption":"------------------------------ Table Block -----------------------------","name":"info","rank":51,"editor":"Label"},"ABN":{"caption":"--------------------------- Delimiter Block ---------------------------","name":"info","rank":46,"editor":"Label"},"ABO":{"caption":"--------------------------- Checklist Block ---------------------------","name":"info","rank":43,"editor":"Label"},"ABP":{"caption":"------------------------- Other inline Tools ------------------------","name":"info","rank":33,"editor":"Label"},"ABQ":{"caption":"------------------------------- List Block -------------------------------","name":"info","rank":27,"editor":"Label"},"ABR":{"caption":"----------------------------- Quote Block ----------------------------","name":"info","rank":38,"editor":"Label"},"ABS":{"caption":"----------------------------- Image Block -----------------------------","name":"info","rank":21,"editor":"Label"},"ABT":{"caption":"---------------------------- Header Block ---------------------------","name":"info","rank":6,"editor":"Label"},"ABU":{"caption":"Hide code tool","name":"hide_code_tool","rank":50,"editor":"Checkbox","default_val":false},"ABV":{"caption":"-------------------------- Code Tool Block --------------------------","name":"info","rank":49,"editor":"Label"},"ABX":{"caption":"H1 font size","name":"h1_size","rank":9,"editor":"DynamicValue","value":"number","default_val":40},"ABY":{"caption":"H2 font size","name":"h2_size","rank":11,"editor":"DynamicValue","value":"number","default_val":35},"ABZ":{"caption":"H3 font size","name":"h3_size","rank":13,"editor":"DynamicValue","value":"number","default_val":30},"ABa":{"caption":"H4 font size","name":"h4_size","rank":15,"editor":"DynamicValue","value":"number","default_val":25},"ABb":{"caption":"H5 font size","name":"h5_size","rank":17,"editor":"DynamicValue","value":"number","default_val":22},"ABc":{"caption":"H6 font size","name":"h6_size","rank":19,"editor":"DynamicValue","value":"number","default_val":20},"ABd":{"caption":"H1 font weight","name":"h1_weight","rank":10,"editor":"Dropdown","default_val":"800"},"ABe":{"caption":"H2 font weight","name":"h2_weight","rank":12,"editor":"Dropdown","default_val":"800"},"ABf":{"caption":"H3 font weight","name":"h3_weight","rank":14,"editor":"Dropdown","default_val":"700"},"ABg":{"caption":"H4 font weight","name":"h4_weight","rank":16,"editor":"Dropdown","default_val":"700"},"ABh":{"caption":"H5 font weight","name":"h5_weight","rank":18,"editor":"Dropdown","default_val":"500"},"ABi":{"caption":"H6 font weight","name":"h6_weight","rank":20,"editor":"Dropdown","default_val":"500"},"ABs":{"caption":"Bottom padding","name":"padding_bottom","rank":87,"editor":"DynamicValue","value":"number","default_val":300},"ABt":{"caption":"Hide button","name":"hide_button","rank":68,"editor":"Checkbox","default_val":false},"ABu":{"caption":"-------------------------- Button Options ---------------------------","name":"info","rank":67,"editor":"Label"},"ABv":{"caption":"Toolbox BG color","name":"toolbox_bg_color","rank":80,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"ABw":{"caption":"Toolbox border color","name":"toolbox_border_color","rank":81,"editor":"Color","default_val":"rgba(232, 232, 235, 1)"},"ABx":{"caption":"Search bg color","name":"search_bg_color","rank":82,"editor":"Color","default_val":"rgba(131, 136, 153, 0.16)"},"ABy":{"caption":"Icon BG hover color","name":"icon_bg_hover_color","rank":83,"editor":"Color","default_val":"rgba(234,235,242,1)"},"ABz":{"caption":"Tooltip BG color","name":"tooltip_bg_color","rank":84,"editor":"Color","default_val":"rgba(29, 32, 43, 1)"},"ACA":{"caption":"Tooltip font color","name":"tooltip_font_color","rank":85,"editor":"Color","default_val":"rgba(205, 209, 224, 1)"},"ACD":{"caption":"Enable nested lists","name":"enable_nested_list","rank":31,"editor":"Checkbox","default_val":false},"ACE":{"caption":"-------------------------- Privacy Options --------------------------","name":"info","rank":92,"editor":"Label"},"ACF":{"caption":"Make files private","name":"make_files_private","rank":94,"editor":"Checkbox","optional":true,"default_val":false},"ACG":{"caption":"You can attach uploaded files to a thing in Bubble so privacy rules will be applied to these files","name":"info","rank":93,"editor":"Label"},"ACH":{"caption":"Attach files to","name":"attach_files_to","rank":95,"editor":"DynamicValue","optional":true,"value":"_any_thing"},"ACJ":{"caption":"-------------------------- Embed Options --------------------------","name":"info","rank":69,"editor":"Label"},"ACK":{"caption":"Auto embed links","name":"auto_embed_links","rank":70,"editor":"Checkbox","default_val":true},"ACM":{"caption":"Marker color","name":"marker_color","rank":74,"editor":"Color","default_val":"rgba(245, 235, 111, 0.29)"},"ACO":{"caption":"Hide strikethrough tool","name":"hide_strikethrough_tool","rank":37,"editor":"Checkbox","default_val":false},"ACR":{"caption":"Enable footnotes (light mode only)","name":"enable_footnotes","rank":89,"editor":"Checkbox","default_val":false},"ACS":{"caption":"------------------------- Footnote Options -------------------------","name":"info","rank":88,"editor":"Label"},"ACZ":{"caption":"----------------------- Internationalization -----------------------","name":"info","rank":96,"editor":"Label"},"ACa":{"caption":"Paragraph","name":"text","rank":97,"editor":"DynamicValue","value":"text","default_val":"Paragraph"},"ACb":{"caption":"Heading","name":"heading","rank":98,"editor":"DynamicValue","value":"text","default_val":"Heading"},"ACc":{"caption":"List","name":"list","rank":99,"editor":"DynamicValue","value":"text","default_val":"List"},"ACd":{"caption":"Warning","name":"warning","rank":100,"editor":"DynamicValue","value":"text","default_val":"Warning"},"ACe":{"caption":"Checklist","name":"checklist","rank":101,"editor":"DynamicValue","value":"text","default_val":"Checklist"},"ACf":{"caption":"Quote","name":"quote","rank":102,"editor":"DynamicValue","value":"text","default_val":"Quote"},"ACg":{"caption":"Code","name":"code","rank":103,"editor":"DynamicValue","value":"text","default_val":"Code"},"ACh":{"caption":"Delimiter","name":"delimiter","rank":104,"editor":"DynamicValue","value":"text","default_val":"Delimiter"},"ACi":{"caption":"Table","name":"table","rank":105,"editor":"DynamicValue","value":"text","default_val":"Table"},"ACj":{"caption":"Button","name":"button","rank":108,"editor":"DynamicValue","value":"text","default_val":"Button"},"ACk":{"caption":"Image","name":"image","rank":106,"editor":"DynamicValue","value":"text","default_val":"Image"},"ACl":{"caption":"Link","name":"link","rank":109,"editor":"DynamicValue","value":"text","default_val":"Link"},"ACm":{"caption":"Marker","name":"marker","rank":110,"editor":"DynamicValue","value":"text","default_val":"Marker"},"ACn":{"caption":"Bold","name":"bold","rank":111,"editor":"DynamicValue","value":"text","default_val":"Bold"},"ACo":{"caption":"Italic","name":"italic","rank":112,"editor":"DynamicValue","value":"text","default_val":"Italic"},"ACp":{"caption":"Inline code","name":"inlinecode","rank":113,"editor":"DynamicValue","value":"text","default_val":"Inline code"},"ACq":{"caption":"Underline","name":"underline","rank":114,"editor":"DynamicValue","value":"text","default_val":"Underline"},"ACr":{"caption":"Delete","name":"delete","rank":115,"editor":"DynamicValue","value":"text","default_val":"Delete"},"ACs":{"caption":"Click to delete","name":"click_to_delete","rank":116,"editor":"DynamicValue","value":"text","default_val":"Click to delete"},"ACt":{"caption":"Move up","name":"move_up","rank":117,"editor":"DynamicValue","value":"text","default_val":"Move up"},"ACu":{"caption":"Move down","name":"move_down","rank":118,"editor":"DynamicValue","value":"text","default_val":"Move down"},"ACv":{"caption":"Click to tune","name":"click_to_tune","rank":120,"editor":"DynamicValue","value":"text","default_val":"Click to tune"},"ACw":{"caption":"Convert to","name":"convert_to","rank":121,"editor":"DynamicValue","value":"text","default_val":"Convert to"},"ACx":{"caption":"Add","name":"add","rank":119,"editor":"DynamicValue","value":"text","default_val":"Add"},"ADE":{"caption":"Dash + Space creates list","name":"dash_space_creates_list","rank":32,"editor":"Checkbox","default_val":false},"ADS":{"caption":"Hide toggle block","name":"hide_toggle_block","rank":91,"editor":"Checkbox","default_val":true},"ADT":{"caption":"----------------- Toggle Block [BETA] Options ------------------","name":"info","rank":90,"editor":"Label"},"ADU":{"caption":"Toggle","name":"toggle","rank":107,"editor":"DynamicValue","value":"text","default_val":"Toggle"},"ADV":{"caption":"Hide text alignment","name":"hide_text_alignment","rank":34,"editor":"Checkbox","value":"boolean","default_val":false},"ADW":{"caption":"Hide loader","name":"hide_loader","rank":72,"editor":"Checkbox","default_val":false},"ADX":{"caption":"Block highlight color","name":"block_highlight_color","rank":86,"editor":"Color","default_val":"rgba(97,173,224,0.2)"},"ADY":{"caption":"Mention tag BG color","name":"mention_bg_color","rank":61,"editor":"Color","default_val":"rgba(247,248,251,1)"},"ADZ":{"caption":"Mention tag border color","name":"mention_border_color","rank":62,"editor":"Color","default_val":"rgba(227,231,235,1)"},"ADa":{"caption":"Mention tag font color","name":"mention_font_color","rank":60,"editor":"Color","default_val":"rgba(110,117,125,1)"},"ADb":{"caption":"-------------------- @ Mention / Tag Options --------------------","name":"info","rank":54,"editor":"Label"},"ADd":{"caption":"Disable @ mention / tagging","name":"disable_mention_tagging","rank":55,"editor":"Checkbox","default_val":true},"ADf":{"caption":"Mention name data","name":"mention_name_data","rank":56,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ADg":{"caption":"Mention display name data","name":"mention_display_name_data","rank":57,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ADh":{"caption":"Mention ID data","name":"mention_id_data","rank":58,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ADl":{"caption":"Mention symbol","name":"initiator","rank":59,"editor":"DynamicValue","value":"text","default_val":"@"},"ADm":{"caption":"Inline code BG color","name":"inline_code_bg_color","rank":76,"editor":"Color","default_val":"rgba(250, 239, 240, 0.78)"},"ADn":{"caption":"Inline code font color","name":"inline_code_font_color","rank":75,"editor":"Color","default_val":"rgba(180, 68, 55, 1)"},"ADo":{"caption":"Instantly trigger change event","name":"instantly_trigger_change_event","rank":124,"editor":"Checkbox","default_val":false},"ADp":{"caption":"--------------------------- Other Options ----------------------------","name":"info","rank":122,"editor":"Label"},"ADq":{"caption":"Image compression","name":"compression_rate","rank":25,"editor":"DynamicValue","value":"number","default_val":0.5},"ADr":{"caption":"Hide Plus & Settings icon","name":"hide_plus_and_menu_icon","rank":127,"editor":"Checkbox","default_val":false},"ADt":{"caption":"Hide inline toolbar","name":"hide_inline_toolbar","rank":128,"editor":"Checkbox","default_val":false},"ADz":{"caption":"Reset highlighted/selected state","name":"reset_selection_state","rank":129,"editor":"Checkbox","default_val":true},"AEA":{"caption":"Hide image caption fields","name":"hide_image_caption","rank":23,"editor":"Checkbox","default_val":false},"AEB":{"caption":"Delete image on backspace","name":"delete_image_on_backspace","rank":26,"editor":"Checkbox","default_val":true},"AEI":{"caption":"Enable reorder by drag and drop?","name":"enable_drag_drop_reorder","rank":123,"editor":"Checkbox","default_val":true},"AEJ":{"caption":"Display Plus & Setting icon below block","name":"display_menu_buttons_below_block","rank":126,"editor":"Checkbox","default_val":false},"AEK":{"caption":"Hide search field","name":"hide_search_field","rank":125,"editor":"Checkbox","default_val":false}},"states":{"AAO":{"caption":"Value (JSON as text)","name":"saved_data","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ABW":{"caption":"Value (HTML) (ignores warning block & footnotes)","name":"saved_data_html","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":false},"ABm":{"caption":"Total block count","name":"total_block_count","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ACI":{"caption":"Is loaded?","name":"is_loaded","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"ACW":{"caption":"Current block index","name":"current_index","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ACY":{"caption":"Plain text data (only text content)","name":"plain_text_data","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADA":{"caption":"Highlighted/selected value","name":"selected_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADJ":{"caption":"Focused?","name":"focussed","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"ADP":{"caption":"Uploaded image","name":"uploaded_image","value":"image","initialization_code":{"fn":"function(properties,context){}"}},"ADi":{"caption":"List of Mentions (Name data)","name":"list_of_mentions_name","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ADj":{"caption":"List of Mentions (Display Name data)","name":"list_of_mentions_display_name","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ADk":{"caption":"List of Mentions (ID data)","name":"list_of_mentions_id","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"events":{"AAp":{"caption":"Content is changed","name":"content_is_changed"},"ADD":{"caption":"Editor is loaded","name":"editor_is_loaded"},"ADQ":{"caption":"Image is uploaded","name":"image_is_uploaded"},"ADR":{"caption":"Undo / Redo Action Performed","name":"undo_redo_action"}},"actions":{"ABH":{"caption":"Reset","code":{"fn":"function(instance,properties,context){instance.data.doNotRefresh=!1;const edjsParser=edjsHTML();instance.publishState(\"saved_data\",null),instance.publishState(\"total_block_count\",0),instance.publishState(\"saved_data_html\",null),instance.data.editor.blocks.clear(),setTimeout((()=>{instance.publishState(\"saved_data\",null)}),100)}"}},"ABI":{"caption":"Display Data (JSON)","code":{"fn":"function(instance,properties,context){instance.data.doNotRefresh=!1;var blockCount=JSON.parse(properties.data).blocks.length;instance.publishState(\"total_block_count\",blockCount),null!==properties.data&&blockCount>0&&void 0!==instance.data.editor&&void 0!==instance.data.editor.blocks?(instance.data.editor.blocks.render(JSON.parse(properties.data)),setTimeout((()=>{instance.data.updateUndo=!0,instance.data.options.onChange()}),100)):setTimeout((()=>{instance.data.editor.blocks.render(JSON.parse(properties.data)),instance.data.updateUndo=!0,instance.data.options.onChange()}),1e3)}"},"fields":{"ABJ":{"caption":"Data (JSON)","name":"data","rank":0,"editor":"DynamicValue","value":"text"}}},"ABj":{"caption":"Insert Empty Block","code":{"fn":"function(instance,properties,context){instance.data.doNotRefresh=!1,instance.data.editor.blocks.insert(`${properties.block_type}`,\"\",\"\",properties.index||void 0),instance.publishState(\"total_block_count\",instance.data.editor.blocks.getBlocksCount())}"},"fields":{"ABk":{"caption":"Block type","name":"block_type","rank":0,"editor":"DynamicValue","value":"text","default_val":"header"},"ABl":{"caption":"Index (optional)","name":"index","rank":1,"editor":"DynamicValue","value":"number","optional":true}}},"ABn":{"caption":"Display Plain Text","code":{"fn":"function(instance,properties,context){function escapeHtml(unsafe){return unsafe.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#039;\")}if(null!==properties.data&&instance.data.editor){var textList=properties.data.split(/\\r?\\n/),blockData={time:Date.now(),version:\"2.29.0-rc.5\",blocks:[]};textList.forEach(((val,i)=>{var data={text:escapeHtml(val)};blockData.blocks.push({id:`block-${i}`,type:\"paragraph\",data:data,tunes:{anyTuneName:{alignment:\"left\"}}})})),instance.data.editor.render(blockData),instance.data.editor.caret.setToBlock(\"end\",blockData.blocks.length)}setTimeout((()=>{instance.data.updateUndo=!0,instance.data.options.onChange()}),100)}"},"fields":{"ABo":{"caption":"Data (text)","name":"data","rank":1,"editor":"DynamicValue","value":"text"},"ACL":{"caption":"You can use this workflow action to display plain text data (not JSON) inside the editor. If you want to show the JSON response of the editor, use the 'Display Data (JSON)' action.","name":"info","rank":0,"editor":"Label"}}},"ACB":{"caption":"Insert Paragraph (text) Block","code":{"fn":"function(instance,properties,context){var textList;null!==properties.data&&(properties.data.split(/\\r?\\n/).forEach(((val,i)=>{var data={text:val};try{void 0!==instance.data.editor.blocks&&(null!==properties.index?instance.data.editor.blocks.insert(\"paragraph\",data,null,properties.index-1):instance.data.editor.blocks.insert(\"paragraph\",data))}catch(err){}})),setTimeout((()=>{instance.data.updateUndo=!0,instance.data.options.onChange()}),100))}"},"fields":{"ACC":{"caption":"Text to display","name":"data","rank":0,"editor":"DynamicValue","value":"text"},"ACT":{"caption":"Index (optional)","name":"index","rank":1,"editor":"DynamicValue","value":"number","optional":true}}},"ACP":{"caption":"Re-render","code":{"fn":"function(instance,properties,context){instance.data.doNotRefresh=!1,instance.data.render(!0)}"},"fields":{"ACQ":{"caption":"You will only need this action in rare occasions. One occasion might be to run this action after enabling Read Only mode.","name":"info","rank":0,"editor":"Label"}}},"ACU":{"caption":"Insert Text at Cursor Position","code":{"fn":"function(instance,properties,context){const replaceSelectedText=replacementText=>{var range=instance.data.lastSelection;range&&(range.deleteContents(),range.insertNode(document.createTextNode(replacementText)))},insertHTML=newElement=>{var range=instance.data.lastSelection;if(range){range.collapse(!0),range.insertNode(newElement),range.setStartAfter(newElement),range.collapse(!0);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(range)}};var textNode;!1===properties.replace_highlighted_text?insertHTML(document.createTextNode(properties.data)):replaceSelectedText(properties.data);setTimeout((()=>{instance.data.updateUndo=!0,instance.data.options.onChange()}),100)}"},"fields":{"ACV":{"caption":"Text","name":"data","rank":0,"editor":"DynamicValue","value":"text"},"ADO":{"caption":"Replace highlighted text?","name":"replace_highlighted_text","rank":1,"editor":"DynamicValue","value":"boolean","default_val":true}}},"ACy":{"caption":"Focus the Editor","code":{"fn":"function(instance,properties,context){instance.data.editor.caret.focus(properties.set_focus_at_the_end)}"},"fields":{"ACz":{"caption":"Set focus at the end?","name":"set_focus_at_the_end","rank":0,"editor":"Checkbox","default_val":false}}},"ADF":{"caption":"Insert Block Using JSON","code":{"fn":"function(instance,properties,context){var dataObj;null!==properties.json_data&&(dataObj=JSON.parse(properties.json_data));const blockToAdd={type:properties.block_type,data:dataObj};null!==properties.index?instance.data.editor.blocks.insert(blockToAdd.type,blockToAdd.data,null,properties.index-1):instance.data.editor.blocks.insert(blockToAdd.type,blockToAdd.data),instance.publishState(\"total_block_count\",instance.data.editor.blocks.getBlocksCount()),setTimeout((()=>{instance.data.updateUndo=!0,instance.data.options.onChange()}),100)}"},"fields":{"ADG":{"caption":"JSON data","name":"json_data","rank":1,"editor":"DynamicValue","value":"text","default_val":"{\"file\":{\"url\":\"https://pluginpreview.bubbleapps.io/version-test/fileupload/f1678659022721x358075471148929600/richtext_content.png\"},\"caption\":\"This is a caption\",\"withBorder\":false,\"stretched\":false,\"withBackground\":false}"},"ADH":{"caption":"Index (optional)","name":"index","rank":2,"editor":"DynamicValue","optional":true,"value":"number"},"ADI":{"caption":"Block type","name":"block_type","rank":0,"editor":"DynamicValue","value":"text","default_val":"image"}}},"ADs":{"caption":"Toggle Bold on Highlighted Text (BETA)","code":{"fn":"function(instance,properties,context){const toggleHighlight=undefined;((tag,extraAttributes={})=>{let sel,range;if(window.getSelection&&(sel=window.getSelection(),sel.rangeCount)){range=sel.getRangeAt(0).cloneRange();let selectedText=range.toString();if(\"\"===selectedText.trim())return;let wrapper=document.createElement(tag);if(Object.keys(extraAttributes).forEach((key=>wrapper.setAttribute(key,extraAttributes[key]))),range.startContainer.parentNode.nodeName.toLowerCase()===tag){let parentNode=range.startContainer.parentNode,textNode=document.createTextNode(parentNode.textContent);parentNode.parentNode.replaceChild(textNode,parentNode)}else{range.deleteContents();let textNode=document.createTextNode(selectedText);wrapper.appendChild(textNode),range.insertNode(wrapper)}range.collapse(!1),sel.removeAllRanges(),sel.addRange(range)}})(\"b\",{class:\"optional-class\",href:\"optional-link\"})}"},"fields":{"ADw":{"caption":"This workflow action will bold or un-bold highlighted text in the editor","name":"info","rank":0,"editor":"Label"}}},"ADx":{"caption":"Display HTML","code":{"fn":"function(instance,properties,context){instance.data.editor.blocks.renderFromHTML(properties.html_data)}"},"fields":{"ADy":{"caption":"HTML data","name":"html_data","rank":0,"editor":"DynamicValue","value":"text"}}},"AEC":{"caption":"Insert Mention / Tag at Cursor Position","code":{"fn":"function(instance,properties,context){const replaceSelectedText=replacementNode=>{var range=instance.data.lastSelection;if(range){range.deleteContents(),range.insertNode(replacementNode),range.setStartAfter(replacementNode),range.collapse(!0);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(range)}},insertHTML=newElement=>{var range=instance.data.lastSelection;if(range){range.deleteContents(),range.insertNode(newElement),range.setStartAfter(newElement),range.collapse(!0);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(range)}};var spanElement,spanElement;!1===properties.replace_highlighted_text?((spanElement=document.createElement(\"span\")).className=\"inline-mention\",spanElement.id=properties.mention_id,spanElement.setAttribute(\"contenteditable\",\"false\"),spanElement.textContent=instance.data.mentionTrigger+properties.mention_display_name,insertHTML(spanElement)):((spanElement=document.createElement(\"span\")).className=\"inline-mention\",spanElement.id=properties.mention_id,spanElement.setAttribute(\"contenteditable\",\"false\"),spanElement.textContent=instance.data.mentionTrigger+properties.mention_display_name,replaceSelectedText(spanElement));setTimeout((()=>{instance.data.updateUndo=!0,instance.data.options.onChange()}),100)}"},"fields":{"AED":{"caption":"Ensure that the Mentioning/Tagging feature is activated and the data you wish to enter is included in the Mentioning/Tagging data list within the plugin properties.","name":"info","rank":0,"editor":"Label"},"AEF":{"caption":"Mention display name","name":"mention_display_name","rank":1,"editor":"DynamicValue","value":"text"},"AEG":{"caption":"Mention ID","name":"mention_id","rank":2,"editor":"DynamicValue","value":"text"},"AEH":{"caption":"Replace highlighted text?","name":"replace_highlighted_text","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false}}}},"code":{"preview":{"fn":"function(instance, properties) {\n    let editor = $('<div style=\"text-align: center;\"></div>');\n    instance.canvas.append(editor);\n    editor.css('background-image', 'url(//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1588974350064x957615570950849400/Icon11.png)');\n\n    editor.css('background-repeat', 'repeat');\n    editor.css('background-size', '35px');\n    editor.css('background-color','#ebebeb');\n    editor.css('opacity',0.35);\n    editor.css('position','absolute');\n    editor.css('height',properties.bubble.height);\n    editor.css('width',properties.bubble.width);\n \n   \tif (instance.isResponsive) {     \n    \tinstance.setHeight(properties.bubble.width)\n    }\n}"},"initialize":{"fn":"function(instance,context){instance.data.divName=\"id\"+Math.round(1e6*Math.random())+1,instance.data.newDiv=$('<div id=\"'+instance.data.divName+'\"></div>'),instance.canvas.append(instance.data.newDiv),instance.canvas.css(\"display\",\"table\")}"},"update":{"fn":"function(instance,properties,context){try{function debounce(func,delay){let debounceTimer;return function(){const context=this,args=arguments;clearTimeout(debounceTimer),debounceTimer=setTimeout((()=>func.apply(context,args)),delay)}}instance.data.mentionTrigger=properties.initiator,instance.data.updateAutobindingData=debounce(((parsedAutobinding,editor)=>{properties.autobinding===instance.data.savedData&&instance.data.lastAutoboundValue||(instance.publishAutobinding(instance.data.savedData),instance.data.lastAutoboundValue=instance.data.savedData)}),0),instance.data.triggerEvent=debounce(((parsedAutobinding,editor)=>{instance.triggerEvent(\"content_is_changed\")}),1e3),instance.data.focusOutEvent=element=>{setTimeout((()=>{instance.data.focussed||(0==properties.instantly_trigger_change_event&&instance.data.triggerEvent(),instance.publishState(\"focussed\",!1),instance.data.focussed=!1,$(\"#\"+instance.data.divName+\" .codex-editor\").has(element).length&&instance.data.updateAutobindingData(),instance.data.eventListnerAdded=!0)}),10)};var mentionNameData=[],mentionDisplayNameData=[],mentionIDData=[],mentionDataFinal=[];null!==properties.mention_name_data&&(mentionNameData=properties.mention_name_data.get(0,properties.mention_name_data.length()),mentionDisplayNameData=properties.mention_display_name_data.get(0,properties.mention_display_name_data.length()),mentionIDData=properties.mention_id_data.get(0,properties.mention_id_data.length())),mentionNameData.forEach(((v,i)=>{var MentionKey=mentionNameData[i],MentionValue=mentionDisplayNameData[i],MentionID=mentionIDData[i];MentionKey&&MentionValue&&MentionID&&mentionDataFinal.push({key:MentionKey,value:MentionValue,id:MentionID})}));const setTribute=()=>{if(!properties.disable_mention_tagging&&mentionDataFinal.length>0){null==instance.data.tribute?instance.data.tribute=new Tribute({values:mentionDataFinal,trigger:properties.initiator,selectTemplate:function(item){return void 0===item?null:this.range.isContentEditable(this.current.element)?'<span class=\"inline-mention\" id=\"'+item.original.id+'\" contenteditable=\"false\">'+properties.initiator+item.original.value+\"</span>\":properties.initiator+item.original.value},requireLeadingSpace:!1}):instance.data.tribute.collection[0].values=mentionDataFinal,instance.data.tributeElArray||(instance.data.tributeElArray=[]);const attachTribute=element=>{if(0==properties.read_only){var elementToSkip=Array.from(element.querySelectorAll(\".tc-table\"));elementToSkip=elementToSkip.concat(Array.from(element.querySelectorAll(\".cdx-checklist__item\")));let imageItems=Array.from(element.classList.contains(\"image-tool\")?[element]:[]);elementToSkip=elementToSkip.concat(imageItems);let delimiterItems=Array.from(element.classList.contains(\"ce-delimiter\")?[element]:[]);elementToSkip=elementToSkip.concat(delimiterItems),instance.data.tributeElArray.includes(element)||0!=elementToSkip.length||(instance.data.tribute.attach(element),instance.data.tributeElArray.push(element))}};let allElements;document.querySelectorAll(\"#\"+instance.data.divName+\" .cdx-block\").forEach((function(el){let listItems=Array.from(el.querySelectorAll(\".cdx-nested-list__item-content\"));listItems.length>0?listItems.forEach(((val,i)=>{attachTribute(val)})):attachTribute(el)}))}};if(1==properties.bubble.auto_binding()&&(properties.initial_data=properties.autobinding),null!=instance.data.focussed&&null!=instance.data.focussed||(instance.data.focussed=!1,instance.publishState(\"focussed\",!1)),1==properties.read_only)var buttonStyle=\"#\"+instance.data.divName+\" .toggle-switch { display: none; }\",paddingEditor=\"#\"+instance.data.divName+\" .codex-editor {\\n                padding-left: 0px !important;\\n                padding-right: 0px !important;\\n                }\",cdxInput=\"#\"+instance.data.divName+\" .cdx-input {\\n                border: none;\\n                box-shadow: none;\\n                }\",imageQuoteStyle=\"#\"+instance.data.divName+\" .image-tool__caption {\\n                text-align: center;\\n                }\",warningStyle=\"#\"+instance.data.divName+\" .cdx-warning__title {\\n                margin-bottom: -5px !important;\\n                font-weight: bold !important;\\n                }\\n                .cdx-warning::before {\\n                background-size: 26px 26px !important;\\n                }\",paddingBottom=0,hideUploadButtonImage=\"#\"+instance.data.divName+\" .image-tool > .cdx-button { display: none; }\";else var buttonStyle=\"#\"+instance.data.divName+\" .toggle-switch { display: block; }\",paddingEditor=\"#\"+instance.data.divName+\" .codex-editor {\\n                padding-left: 40px !important;\\n                padding-right: 40px !important;\\n                }\",paddingBottom=properties.padding_bottom;null!==instance.data.style&&void 0!==instance.data.style&&instance.data.style.remove();var hideLoader=\"\";properties.hide_loader&&(hideLoader=\"display: none !important;\");var hidePlusAndSettingsIcons=\"\";properties.hide_plus_and_menu_icon&&(hidePlusAndSettingsIcons=`\\n                /* Hides plus and settings icon */\\n                ${\"#\"+instance.data.divName} .ce-toolbar__actions {\\n                    display: none !important;\\n                }\\n\\n                /* Hides the toolbar */\\n                ${\"#\"+instance.data.divName} .ce-popover {\\n                display: none !important;\\n                }\\n                ${\"#\"+instance.data.divName} .codex-editor {\\n                    padding-left: 0px !important;\\n                    padding-right: 0px !important;\\n                }`);var hideInlineToolbar=\"\";properties.hide_inline_toolbar&&(hideInlineToolbar=`\\n                /* Hides the inline toolbar */\\n                ${\"#\"+instance.data.divName} .ce-inline-toolbar {\\n                display: none;\\n            \\t}`);var imageCaptionFieldCSS=\"\";1==properties.hide_image_caption&&(imageCaptionFieldCSS=\"#\"+instance.data.divName+\" .image-tool__caption { display: none}\");var displayIconsBelowBlock=\"\";1==properties.display_menu_buttons_below_block&&(displayIconsBelowBlock=`\\n                @media (min-width: 651px){\\n                    ${\"#\"+instance.data.divName} .ce-toolbar__actions {\\n                        right: auto !important;\\n                        left: -1px !important;\\n                        top: 28px !important;\\n                        background: ${properties.toolbox_bg_color} !important;\\n                        border-radius: 8px !important;\\n                        border: solid 1px ${properties.toolbox_border_color} !important;\\n                        box-shadow: 1px 4px 12px 0px rgba(0,0,0,0.1) !important;\\n                        padding-right: 0px !important;\\n                    }\\n                }`);var hideSearchField=\"\",root;if(1==properties.hide_search_field&&(hideSearchField=`\\n                ${\"#\"+instance.data.divName} .cdx-search-field {\\n                    display: none !important;\\n                }\\n                `),document.querySelector(\":root\").style.setProperty(\"--color-text-primary\",\"lightblue\"),instance.data.style=document.createElement(\"style\"),instance.data.style.innerHTML=`\\n\\n\\t\\t${warningStyle||\"\"}\\n\\t\\t${cdxInput||\"\"}\\n\\t\\t${imageQuoteStyle||\"\"}\\n\\t\\t${buttonStyle||\"\"}\\n\\t\\t${paddingEditor}\\n\\t\\t${hideUploadButtonImage||\"\"}\\n\\t\\t${hidePlusAndSettingsIcons||\"\"}\\n\\t\\t${hideInlineToolbar||\"\"}\\n\\t\\t${imageCaptionFieldCSS||\"\"}\\n\\t\\t${displayIconsBelowBlock||\"\"}\\n\\t\\t${hideSearchField||\"\"}\\n\\n\\n        ${\"#\"+instance.data.divName} .ce-popover {\\n            --border-radius: 6px;\\n            --width: 200px;\\n            --max-height: 270px;\\n            --padding: 6px;\\n            --offset-from-target: 8px;\\n            --color-border: #e8e8eb;\\n            --color-shadow: rgba(13,20,33,.13);\\n            --color-background: white;\\n            --color-text-primary: ${properties.bubble.font_color()} !important;\\n            --color-text-secondary: #707684;\\n            --color-border-icon: rgba(201, 201, 204, .48);\\n            --color-border-icon-disabled: #EFF0F1;\\n            --color-text-icon-active: ${properties.main_color} !important;\\n            --color-background-icon-active: ${properties.toolkit_focus_color} !important;\\n            --color-background-item-focus: rgba(34, 186, 255, .08);\\n            --color-shadow-item-focus: rgba(7, 161, 227, .08);\\n            --color-background-item-hover: ${properties.toolkit_hover_bg_color} !important;\\n            --color-background-item-confirm: #E24A4A;\\n            --color-background-item-confirm-hover: #CE4343;\\n\\n\\t\\t}\\n\\n        .codex-editor--narrow .ce-toolbar__actions {\\n            width: auto !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} div.codex-editor__loader {\\n            ${hideLoader}\\n        }\\n\\n        ${\"#\"+instance.data.divName} .cdx-marker {\\n            background: ${properties.marker_color};\\n            color: ${properties.bubble.font_color()};\\n        }\\n\\n\\t\\t.btn--gray{\\n            color: #fff !important;\\n            background-color: ${properties.main_color} !important;\\n            border-color: ${properties.main_color} !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} span.toggle-block__icon {\\n            color: ${properties.bubble.font_color()} !important;\\n        }\\n\\n\\n        ${\"#\"+instance.data.divName} { \\n        \\tword-break: break-word;\\n        }\\n\\n        ${\"#\"+instance.data.divName} h1 {\\n            font-size: ${properties.h1_size+\"px\"}; \\n            font-weight: ${properties.h1_weight}; \\n            }\\n        ${\"#\"+instance.data.divName} h2 {\\n            font-size: ${properties.h2_size+\"px\"};\\n            font-weight: ${properties.h2_weight}; \\n            } \\n        ${\"#\"+instance.data.divName} h3 {\\n            font-size: ${properties.h3_size+\"px\"};\\n            font-weight: ${properties.h3_weight}; \\n            }\\n        ${\"#\"+instance.data.divName} h4 {\\n            font-size: ${properties.h4_size+\"px\"};\\n            font-weight: ${properties.h4_weight}; \\n            }  \\n        ${\"#\"+instance.data.divName} h5 {\\n            font-size: ${properties.h5_size+\"px\"};\\n            font-weight: ${properties.h5_weight}; \\n            }\\n        ${\"#\"+instance.data.divName} h6 {\\n            font-size: ${properties.h6_size+\"px\"}; \\n            font-weight: ${properties.h6_weight};\\n            } \\n\\n        ${\"#\"+instance.data.divName} .ce-paragraph[data-placeholder]:empty::before {\\n            color: `+properties.placeholder_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .codex-editor {\\n            margin: 0px !important;\\n\\t\\t\\tleft: 0px !important;\\n        }\\n\\t\\t\\n        ${\"#\"+instance.data.divName} .ce-inline-tool--active {\\n            color: `+properties.main_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-block--selected .ce-block__content {\\n            background: ${properties.block_highlight_color} !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-popover {\\n        \\tbackground-color: ${properties.toolbox_bg_color} !important;\\n            border: 1px solid ${properties.toolbox_border_color} !important;\\n        }\\n\\n\\t\\t${\"#\"+instance.data.divName} .ce-settings {\\n        \\tbackground-color: ${properties.toolbox_bg_color} !important;\\n            border: 0px solid ${properties.toolbox_border_color} !important;\\n        }\\n\\n\\t\\t${\"#\"+instance.data.divName} .ce-inline-toolbar {\\n        \\tbackground-color: ${properties.toolbox_bg_color} !important;\\n            border: 1px solid ${properties.toolbox_border_color} !important;\\n        }\\n\\n\\t\\t${\"#\"+instance.data.divName} .ce-conversion-toolbar {\\n        \\tbackground-color: ${properties.toolbox_bg_color} !important;\\n            border: 1px solid ${properties.toolbox_border_color} !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-conversion-toolbar__label {\\n            color: ${properties.placeholder_color} !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .cdx-search-field {\\n            background: ${properties.search_bg_color} !important;\\n\\t\\t}\\n\\n\\t\\t${\"#\"+instance.data.divName} .ce-popover-item__icon {\\n\\t\\t\\tborder: 1px solid ${properties.toolbox_border_color} !important;\\n    \\t\\tbackground: ${properties.toolbox_bg_color} !important;\\n    \\t\\tbox-shadow: none !important;\\n\\n\\t\\t}\\n\\n\\t\\t${\"#\"+instance.data.divName} .ce-conversion-tool__icon {\\n\\t\\t\\tborder: 0px solid ${properties.toolbox_border_color} !important;\\n    \\t\\tbackground: ${properties.toolbox_bg_color} !important;\\n\\t\\t\\tbox-shadow: 0 0 0 1px ${properties.toolbox_border_color} !important;\\n\\t\\t}\\n\\n\\t\\t${\"#\"+instance.data.divName} .cdx-search-field__input {\\n\\t\\t\\tcolor: ${properties.bubble.font_color()} !important;\\n\\t\\t}\\n\\n\\t\\t${\"#\"+instance.data.divName} .cdx-search-field__input::placeholder {\\n\\t\\t\\tcolor: ${properties.placeholder_color} !important;\\n\\t\\t}\\n\\n\\t\\t${\"#\"+instance.data.divName} .cdx-input::placeholder {\\n\\t\\t\\tcolor: ${properties.placeholder_color} !important;\\n\\t\\t}\\n\\n        ${\"#\"+instance.data.divName} .ce-popover__no-found {\\n            color: ${properties.placeholder_color} !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-inline-tool:hover {\\n            background-color: ${properties.icon_bg_hover_color} !important;\\n        }\\n\\n\\t\\t${\"#\"+instance.data.divName} .ce-inline-toolbar__dropdown:hover {\\n\\t\\t\\tbackground: ${properties.icon_bg_hover_color} !important;\\n\\t\\t\\tborder-top-left-radius: 5px !important;\\n\\t\\t\\tborder-bottom-left-radius: 5px !important;\\n\\t\\t}\\n\\n        ${\"#\"+instance.data.divName} .ce-toolbar__plus:hover {\\n        \\tbackground-color: ${properties.icon_bg_hover_color} !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-toolbar__settings-btn:hover {\\n            background-color: ${properties.icon_bg_hover_color} !important;\\n        }\\n\\n        .ct {\\n        \\tz-index: 9999999999999999999 !important;\\n        }\\n\\n        .ct:before {\\n            background-color: ${properties.tooltip_bg_color} !important;\\n        }\\n\\n        .ct:after {\\n            background-color: ${properties.tooltip_bg_color} !important;\\n        }\\n\\n        .ct__content {\\n            color: ${properties.tooltip_font_color} !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .tc-wrap {\\n            --color-border: #a1a1a18f !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .tc-add-column:hover, .tc-add-row:hover {\\n            transition: background-color .1s ease;\\n            background-color: #ababab4d !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .tc-row--selected {\\n            background: #ababab4d !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .tc-wrap {\\n            --color-background: #ababab4d !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .tc-popover {\\n\\t\\t\\tborder: 1px solid ${properties.toolbox_border_color} !important;\\n    \\t\\tbackground: ${properties.toolbox_bg_color} !important;\\n\\t\\t}\\n\\n\\t\\t${\"#\"+instance.data.divName}  .tc-popover__item-icon {\\n\\t\\t\\tborder: 1px solid ${properties.toolbox_border_color} !important;\\n    \\t\\tbackground: ${properties.toolbox_bg_color} !important;\\n\\t\\t}\\n\\n\\n        ${\"#\"+instance.data.divName} tc-popover__item-icon svg path{\\n            fill: rgb(29, 32, 43); !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .anyButtonContainer__input {\\n            padding-left: 15px !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .anyButtonContainer__input--link {\\n            background-image: none !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .anyButtonContainer__input--text {\\n            background-image: none !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .cdx-button {\\n            background: ${properties.main_color} !important;\\n\\t\\t\\tcolor: #fff !important;\\n        }\\n\\n\\t\\t/* HIDE ICON ON IMAGE UPLOADER / ALL BUTTONS */\\n        ${\"#\"+instance.data.divName} .cdx-button svg {\\n        \\tdisplay:none\\n        }\\n\\n\\n        ${\"#\"+instance.data.divName} ::selection {\\n            background-color: #addbff82 !important;\\n        }\\n\\n\\n\\n        ${\"#\"+instance.data.divName} .tc-add-row:hover:before {\\n            transition: .1s;\\n            background-color: #ababab4d !important;\\n        }\\n\\n        .ce-popover__item--focused {\\n            -webkit-box-shadow: inset 0 0 0 1px rgb(7 161 227 / 8%);\\n            box-shadow: inset 0 0 0 1px `+properties.toolkit_focus_border_color+\" !important;\\n            background: \"+properties.toolkit_focus_color+`!important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-popover__item:hover {\\n            background-color: `+properties.toolkit_hover_bg_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .cdx-settings-button--active {\\n            color: `+properties.main_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .cdx-settings-button:hover {\\n            background-color: `+properties.toolkit_hover_bg_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-settings__button:hover {\\n            background-color: `+properties.toolkit_hover_bg_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-settings__button--confirm:hover {\\n            background-color: #d54a4a!important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-toolbar__plus {\\n\\t\\t\\tcolor: ${properties.bubble.font_color()} !important;\\n        }\\n\\n\\t\\t${\"#\"+instance.data.divName} .ce-toolbar__settings-btn {\\n\\t\\t\\tcolor: ${properties.bubble.font_color()} !important;\\n        }\\n\\n        @media (max-width: 650px) {\\n            ${\"#\"+instance.data.divName} .ce-toolbar__plus {\\n                border: 1px solid ${properties.toolbox_border_color} !important;\\n                background: ${properties.toolbox_bg_color} !important;\\n            }\\n\\n            ${\"#\"+instance.data.divName} .ce-toolbar__settings-btn {\\n                        border: 1px solid ${properties.toolbox_border_color} !important;\\n                        background: ${properties.toolbox_bg_color} !important;\\n            }\\n\\t\\t}\\n\\n        ${\"#\"+instance.data.divName} .ce-conversion-tool--focused {\\n            -webkit-box-shadow: inset 0 0 0 1px rgb(7 161 227 / 8%);\\n            box-shadow: inset 0 0 0 1px `+properties.toolkit_focus_border_color+\" !important;\\n            background: \"+properties.toolkit_focus_color+`!important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-conversion-tool:hover {\\n            background: `+properties.toolkit_hover_bg_color+\" !important;\\n\\t\\t\\tbox-shadow: inset 0 0 0 1px \"+properties.toolkit_hover_bg_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-popover__item--active {\\n            background: `+properties.toolkit_focus_color+\"!important;\\n            color: \"+properties.main_color+` !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-popover__item--focused:not(.ce-popover__item--no-visible-focus) {\\n            background: `+properties.toolkit_focus_color+` !important;\\n        }\\n\\n\\n        ${\"#\"+instance.data.divName} .cdx-checklist__item--checked .cdx-checklist__item-checkbox {\\n            background: `+properties.main_color+\" !important;\\n            border-color: \"+properties.main_color+` !important;\\n\\t\\t\\tborder-radius: 5px !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .cdx-checklist__item--checked .cdx-checklist__item-checkbox-check {\\n            background: `+properties.main_color+\" !important;\\n            border-color: \"+properties.main_color+` !important;\\n            border-radius: 4px !important;\\n            left: 1px !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .cdx-checklist__item-checkbox-check::before {\\n            background-color: `+properties.main_color+` !important;\\n        }\\n\\n         ${\"#\"+instance.data.divName} .ce-code__textarea {\\n            background: #f7f8fa !important;\\n            border: 1px solid #f1f2f4 !important;\\n        }\\n\\n\\t\\t${\"#\"+instance.data.divName} .codex-editor__redactor {\\n            padding-bottom: ${paddingBottom}px !important;\\n        }\\n\\n\\n        ${\"#\"+instance.data.divName} .ce-toolbar {\\n            margin-left: 40px !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-toolbar__content {\\n            max-width: none !important;\\n        }\\n\\n        ${\"#\"+instance.data.divName} .ce-block__content {\\n            max-width: none !important;\\n        }\\n\\n\\n        @media (max-width: 650px){\\n            ${\"#\"+instance.data.divName} .codex-editor {\\n                padding-left: 0px !important;\\n                padding-right: 0px !important;\\n            }\\n\\n            ${\"#\"+instance.data.divName} .ce-toolbar {\\n                margin-left: 0px !important;\\n            }\\n        }\\n\\n        @media (min-width: 651px){\\n\\t\\t${\"#\"+instance.data.divName} .codex-editor--narrow .ce-settings .ce-popover {\\n            right: 0;\\n            left: 0;\\n        }\\n\\n        @media (min-width: 651px){\\n\\t\\t${\"#\"+instance.data.divName} .codex-editor--narrow .ce-toolbox .ce-popover {\\n            right: 0;\\n            left: 0;\\n        }\\n\\n\\t  .tribute-container {\\n        margin-top: 2px;\\n        box-shadow: 0 3px 15px -3px rgba(13,20,33,.13);\\n        border-radius: 6px;\\n    \\tmax-height: 150px;\\n        border: 1px solid ${properties.toolbox_border_color};\\n      }\\n\\n      .tribute-container ul {\\n        margin-top: 0px;\\n        padding: 6px;\\n        border-radius: 6px;\\n        background: ${properties.toolbox_bg_color};\\n    \\tfont-family: ${properties.bubble.font_face().split(\":\")[0]};\\n\\t\\tfont-size: 14px;\\n      }\\n\\n      .tribute-container li {\\n        padding: 6px 8px;\\n        cursor: pointer;\\n        border-radius: 4px;\\n\\t\\tcolor: ${properties.bubble.font_color()};\\n      }\\n\\n      .tribute-container li.highlight {\\n        background: ${properties.toolkit_hover_bg_color};\\n      }\\n\\n    ${\"#\"+instance.data.divName} .inline-mention {\\n        background: ${properties.mention_bg_color};\\n        color: ${properties.mention_font_color};\\n        padding: 4px 6px;\\n        border-radius: 8px;\\n\\t\\tborder: 1px solid ${properties.mention_border_color};\\n        margin: 0 1px;\\n        font-family: inherit;\\n        font-size: 0.86em;\\n        font-weight: 500;\\n        letter-spacing: 0.3px;\\n    }\\n\\n    ${\"#\"+instance.data.divName} .inline-code {\\n        background: ${properties.inline_code_bg_color};\\n        color: ${properties.inline_code_font_color};\\n        font-family: monospace !important; \\n    }\\n\\n    ${\"#\"+instance.data.divName} .ce-block--drop-target .ce-block__content{\\n            box-sizing:border-box;\\n            -webkit-box-sizing:border-box;\\n            border-top: 2px solid ${properties.main_color} !important;\\n            border-bottom: 2px solid ${properties.main_color} !important;\\n            margin: -2px auto -2px auto;          \\n        }\\n\\t${\"#\"+instance.data.divName} .ce-block--drop-target:last-child .ce-block__content{\\n            border-top: 1px dashed ${properties.toolbox_border_color} !important;\\n            border-bottom: 2px solid ${properties.main_color} !important;\\n            margin: -1px auto -2px auto;\\n        }\\n\\t${\"#\"+instance.data.divName} .ce-block--drop-target:first-child .ce-block__content{\\n            border-top: 2px solid ${properties.main_color} !important;\\n            border-bottom: 1px dashed ${properties.toolbox_border_color} !important;\\n            margin: -2px auto -1px auto;\\n        }\\n\\t${\"#\"+instance.data.divName} .ce-block--drop-target .ce-block__content:before {\\n            top: 50%;\\n            left: -20px;\\n            height: 8px;\\n            width: 8px;\\n            border: solid ${properties.main_color};\\n            border-width: 2px 2px 0 0;\\n            pointer-events: none; /* avoid disabling the drag detection when hovering over the arrow */\\n        }\\n\\n        `,document.head.appendChild(instance.data.style),instance.data.render=status=>{function isJson(str){try{JSON.parse(str)}catch(e){return!1}return!0}instance.data.doNotRefresh=!1,1==status&&(instance.data.rendered=!1,document.getElementById(instance.data.divName).innerHTML=\"\"),void 0===instance.data.prevData&&(instance.data.prevData=properties.initial_data),instance.data.prevData!==properties.initial_data&&1==instance.data.rendered&&0==instance.data.doNotRefresh&&(instance.data.prevData=properties.initial_data,instance.data.render(!0)),null==properties.initial_data||isJson(properties.initial_data)||(console.warn(\"⚠️ Please use the JSON data from the Rich Text Editor as initial data and not plain text.\"),context.reportDebugger(\"⚠️ Please use the JSON data from the Rich Text Editor as initial data and not plain text.\"),properties.initial_data=null);var divid=\"#\"+instance.data.divName;if(null==properties.header_placeholder)var headerPlaceholder=\"\";if(null!==properties.header_placeholder)var headerPlaceholder=`${properties.header_placeholder}`;if(null==properties.quote_placeholder_title)var quoteTitlePLaceholder=\"\";if(null!==properties.quote_placeholder_title)var quoteTitlePLaceholder=`${properties.quote_placeholder_title}`;if(null==properties.quote_placeholder_message)var quoteMessagePLaceholder=\"\";if(null!==properties.quote_placeholder_message)var quoteMessagePLaceholder=`${properties.quote_placeholder_message}`;if(null==properties.warning_placeholder_title)var warningTitlePLaceholder=\"\";if(null!==properties.warning_placeholder_title)var warningTitlePLaceholder=`${properties.warning_placeholder_title}`;if(null==properties.warning_placeholder_message)var warningMessagePLaceholder=\"\";if(null!==properties.warning_placeholder_message)var warningMessagePLaceholder=`${properties.warning_placeholder_message}`;if(null==properties.image_caption)var imageCaption=\"\";if(null!==properties.image_caption)var imageCaption=`${properties.image_caption}`;if(null==properties.placeholder)var placeholder=\"\";if(null!==properties.placeholder)var placeholder=`${properties.placeholder}`;if(instance.data.customParser=block=>\"\",null!==properties.attach_files_to&&1==properties.make_files_private)var attach_to_id=properties.attach_files_to||void 0;else var attach_to_id=void 0;instance.data.checklistParser=block=>{var htmlData=\"\";return block.data.items.forEach(((listItem,i)=>{var listData=\"\";htmlData+=`<input type=\"checkbox\" name=\"days\" value=\"${listItem.text}\" ${listItem.checked?\"checked='true'\":null}\"/> ${listItem.text} <br/>`})),htmlData},instance.data.tableParser=block=>{var htmlData=\"\";return block.data.content.forEach(((ar,i)=>{var rowData=\"\";ar.forEach(((rowVal,i)=>{rowData+=`<td style = \"border: 1px solid #e8e8eb; padding: 8px;\">${rowVal}</td>`})),htmlData+=`<tr> ${rowData} </tr>`})),`<table style = \"width: 100%; border-collapse: collapse;\" id=\"editor_table\"> ${htmlData} </table>`},instance.data.buttonParser=block=>`<a id=\"table_button\" href=\"${block.data.link}\" style= \"display: table; margin: 0 auto; margin-top: 25px; margin-bottom: 25px; background-color: ${properties.main_color}; color: white; padding: 12px 25px; cursor: pointer; border-radius: 5px; text-decoration: none;\">${block.data.text}</a>`,instance.data.edjsParser=edjsHTML({checklist:instance.data.checklistParser,warning:instance.data.customParser,table:instance.data.tableParser,AnyButton:instance.data.buttonParser,embed:instance.data.customParser}),instance.data.setState=(json,forceUpdate,skipMentionData)=>{if(!0!==instance.data.stateSet||forceUpdate){if(instance.data.stateSet=!0,json&&!0!==skipMentionData){const foundItems=mentionDataFinal.filter((item=>json.includes(properties.initiator+item.value)));instance.publishState(\"list_of_mentions_name\",foundItems.map((a=>a.key))),instance.publishState(\"list_of_mentions_display_name\",foundItems.map((a=>a.value))),instance.publishState(\"list_of_mentions_id\",foundItems.map((a=>a.id))),mentionDataFinal.forEach((item=>{json.includes(item.value)&&(json=json.replace(new RegExp(`${properties.initiator}${item.value}`,\"g\"),`<span class='inline-mention' id='${item.id}' contenteditable='false'>${properties.initiator}${item.value}</span>`))}))}if(instance.publishState(\"saved_data\",json),json&&instance.publishState(\"total_block_count\",JSON.parse(json).blocks.length),instance.publishState(\"saved_data_html\",null),instance.publishState(\"plain_text_data\",null),instance.data.plainTextOutput=\"\",null!==json){const foundItems=mentionDataFinal.filter((item=>json.includes(properties.initiator+item.value)));instance.publishState(\"list_of_mentions_name\",foundItems.map((a=>a.key))),instance.publishState(\"list_of_mentions_display_name\",foundItems.map((a=>a.value))),instance.publishState(\"list_of_mentions_id\",foundItems.map((a=>a.id)))}var outputData;if(null!==json)if(instance.data.savedData=json,instance.publishState(\"saved_data_html\",instance.data.edjsParser.parse(JSON.parse(json)).join(\" \")),JSON.parse(json).blocks.length>0)JSON.parse(json).blocks.forEach(((val,i)=>{if(void 0!==val.data.text)instance.data.plainTextOutput+=0==i?val.data.text.replace(/<\\/?[^>]+(>|$)/g,\"\"):\"\\n\"+val.data.text.replace(/<\\/?[^>]+(>|$)/g,\"\");else if(void 0!==val.data.items){const iterate=obj=>{Object.keys(obj).forEach((key=>{\"content\"==key&&(instance.data.plainTextOutput+=\"\\n\"+obj[key].replace(/<\\/?[^>]+(>|$)/g,\"\")),\"object\"==typeof obj[key]&&null!==obj[key]&&iterate(obj[key])}))};iterate(val.data.items)}})),instance.publishState(\"plain_text_data\",instance.data.plainTextOutput)}return json},instance.data.setState(properties.initial_data),instance.data.options={onReady:()=>{try{const config={shortcuts:{undo:\"CMD+Z\",redo:\"CMD+SHIFT+Z\"},debounceTimer:10};instance.data.undo=new Undo({editor:instance.data.editor,config:config}),null!==properties.initial_data&&instance.data.undo?instance.data.undo.initialize(JSON.parse(properties.initial_data)):instance.data.undo&&instance.data.undo.initialize(null),properties.enable_drag_drop_reorder&&(instance.data.dragDrop=new DragDrop(instance.data.editor))}catch(err){}instance.data.editor.readOnly&&(1==properties.read_only?(instance.data.editor.readOnly.toggle(!0),instance.data.previousReadOnlyValue=null):0==properties.read_only&&instance.data.previousReadOnlyValue!==properties.read_only&&(instance.data.previousReadOnlyValue=properties.read_only,instance.data.render()));const editorElement=document.getElementById(instance.data.divName);function doc_keyUp(e){try{if(1==properties.delete_image_on_backspace){var currentBlockIndex=instance.data.editor.blocks.getCurrentBlockIndex(),currentBlock=instance.data.editor.blocks.getBlockByIndex(currentBlockIndex),nextBlock=instance.data.editor.blocks.getBlockByIndex(currentBlockIndex+1),currentBlockName=currentBlock?currentBlock.name:null,nextBlockName=nextBlock?nextBlock.name:null;8===e.keyCode&&(\"image\"==nextBlockName&&0==properties.hide_image_caption&&instance.data.editor.blocks.delete(currentBlockIndex+1),\"image\"==currentBlockName&&1==properties.hide_image_caption&&instance.data.editor.blocks.delete(currentBlockIndex))}if(1==properties.dash_space_creates_list){void 0===instance.data.lastKey&&(instance.data.lastKey=null);var sel=window.getSelection(),currentCaretPosition=0;sel.rangeCount>0&&(currentCaretPosition=sel.getRangeAt(0).startOffset);var currentCaretPosition=window.getSelection().getRangeAt(0).startOffset;if(\" \"===e.key&&\"-\"===instance.data.lastKey&&currentCaretPosition<3&&currentCaretPosition>0&&e.target.classList.contains(\"ce-paragraph\")&&e.target.closest(`#${instance.data.divName}`)){if(e.preventDefault(),1==properties.enable_nested_list)var nestedObj={content:\"\",items:[]};else var nestedObj=\"\";var currentBlockIndex=instance.data.editor.blocks.getCurrentBlockIndex(),currentBlockID=instance.data.editor.blocks.getBlockByIndex(currentBlockIndex).id;instance.data.editor.blocks.insert(\"list\",{style:\"unordered\",items:[nestedObj]},null,currentBlockIndex+1,!0),setTribute(),instance.data.editor.blocks.delete(currentBlockIndex),instance.data.editor.caret.setToBlock(\"end\",currentBlockIndex)}instance.data.lastKey=e.key}}catch(err){console.log(err)}}function getSelectionText(){var text=\"\",activeEl=document.activeElement;if(null!==activeEl.closest(\".codex-editor\")){var activeElTagName=activeEl?activeEl.tagName.toLowerCase():null;return\"textarea\"==activeElTagName||\"input\"==activeElTagName&&/^(?:text|search|password|tel|url)$/i.test(activeEl.type)&&\"number\"==typeof activeEl.selectionStart?text=activeEl.value.slice(activeEl.selectionStart,activeEl.selectionEnd):window.getSelection&&(text=window.getSelection().toString()),text}return!1}editorElement.addEventListener(\"focusin\",(()=>{instance.data.focussed=!0,instance.publishState(\"focussed\",!0)})),editorElement.addEventListener(\"focusout\",(()=>{instance.data.focussed=!1})),!0!==instance.data.eventListnerAdded&&addEventListener(\"focusout\",(event=>{instance.data.focusOutEvent(event.srcElement)})),!0!==instance.data.addShortCutListner&&(document.addEventListener(\"keydown\",doc_keyUp,!1),instance.data.addShortCutListner=!0),!0!==instance.data.selectionListnerSet&&(document.addEventListener(\"selectionchange\",(()=>{var sel=window.getSelection();if(sel.rangeCount>0){var range=sel.getRangeAt(0),editorElement;document.getElementById(instance.data.divName).contains(range.commonAncestorContainer)&&(instance.data.lastSelection=range)}})),instance.data.selectionListnerSet=!0),setTimeout((()=>{instance.publishState(\"is_loaded\",!0),instance.data.ready=!0,instance.triggerEvent(\"editor_is_loaded\")}),100),document.onmouseup=document.onkeyup=document.onselectionchange=function(){!1!==getSelectionText()&&instance.publishState(\"selected_value\",getSelectionText())},setTribute()},onChange:()=>{0==properties.read_only&&void 0!==instance.data.editor.save&&instance.data.editor.save().then((outputData=>{1==instance.data.updateUndo&&(instance.data.updateUndo=!1,instance.data.undo&&instance.data.undo.initialize(outputData));var string_data=JSON.stringify(outputData);setTribute(),1==properties.instantly_trigger_change_event&&instance.triggerEvent(\"content_is_changed\"),instance.data.setState(string_data,!0),1==properties.bubble.auto_binding()&&0==properties.read_only?instance.data.doNotRefresh=!0:instance.data.doNotRefresh=!1})).catch((error=>{}))},initialBlock:\"paragraph\",autofocus:properties.autofocus,logLevel:\"ERROR\",holder:`${instance.data.divName}`,placeholder:placeholder,tools:{footnotes:{class:FootnotesTune},paragraph:{inlineToolbar:!0,tunes:[\"anyTuneName\",\"footnotes\"],config:{preserveBlank:!0}},header:{class:Header,inlineToolbar:[\"link\"],config:{placeholder:headerPlaceholder,levels:[1,2,3,4,5,6],defaultLevel:3},tunes:[\"anyTuneName\"]},anyTuneName:{class:AlignmentBlockTune,config:{default:\"left\",blocks:{header:\"left\",list:\"left\"}}},image:{class:ImageTool,config:{captionPlaceholder:imageCaption,uploader:{uploadByFile:file=>new Promise(((resolve,reject)=>{var reader=new FileReader;function filePromise(uploadedURL){if(void 0!==attach_to_id)var URLpreFix=\"\";else var URLpreFix=\"https:\";var url=`${URLpreFix+uploadedURL}`;return instance.publishState(\"uploaded_image\",url),instance.triggerEvent(\"image_is_uploaded\"),instance.data.options.onChange(),{success:1,file:{url:url}}}reader.readAsDataURL(file),reader.onloadend=function(){var img=new Image;img.src=reader.result,img.onload=function(){var canvas=document.createElement(\"canvas\"),ctx=canvas.getContext(\"2d\");canvas.width=img.width,canvas.height=img.height,ctx.drawImage(img,0,0,img.width,img.height);var compressionRate=properties.compression_rate,compressedImage,base64data=canvas.toDataURL(\"image/jpeg\",compressionRate),base64=base64data.substr(base64data.indexOf(\",\")+1);context.uploadContent(\"richtext_content.png\",base64,(function(err,url){resolve(filePromise(url))}),attach_to_id)}}}))}}},list:{class:List,inlineToolbar:properties.show_list_inline_toolbar,config:{defaultStyle:`${properties.list_default_style}`},tunes:[\"footnotes\"]},Marker:{class:Marker,shortcut:\"CMD+SHIFT+M\"},strikethrough:{class:Strikethrough,shortcut:\"CMD+SHIFT+X\"},quote:{class:Quote,inlineToolbar:properties.show_quote_inline_toolbar,config:{quotePlaceholder:quoteTitlePLaceholder,captionPlaceholder:quoteMessagePLaceholder}},checklist:{class:Checklist,inlineToolbar:properties.show_checklist_inline_toolbar},inlineCode:{class:InlineCode,shortcut:\"CMD+SHIFT+C\"},code:{class:CodeTool},delimiter:{class:Delimiter,inlineToolbar:properties.show_delimter_inline_toolbar},underline:{class:Underline,shortcut:\"CMD+U\"},table:{class:TableWithoutSanitize,inlineToolbar:properties.show_table_inline_toolbar,config:{rows:1,cols:3}},embed:{class:Embed,inlineToolbar:!0,config:{services:{vimeo:{regex:/(https?:\\/\\/)?(www\\.)?(player\\.)?vimeo\\.com\\/?(showcase\\/)*([0-9))([a-z]*\\/)*([0-9]{6,11})[?]?.*/,embedUrl:\"https://player.vimeo.com/video/<%= remote_id %>?title=0&amp;byline=0\",html:\"<iframe style='width:100%;' height='320' frameborder='0' allowfullscreen='allowfullscreen' mozallowfullscreen='mozallowfullscreen' msallowfullscreen='msallowfullscreen' oallowfullscreen='oallowfullscreen' webkitallowfullscreen='webkitallowfullscreen'></iframe>\",height:300,id:groups=>groups[5]}}}},warning:{class:Warning,config:{titlePlaceholder:warningTitlePLaceholder,messagePlaceholder:warningMessagePLaceholder}},toggle:{class:ToggleBlock,inlineToolbar:!0},AnyButton:{class:AnyButton,inlineToolbar:!1,config:{css:{btnColor:\"btn--gray\"}}}},data:JSON.parse(`${properties.initial_data}`),i18n:{messages:{ui:{blockTunes:{toggler:{\"Click to tune\":properties.click_to_tune,\"or drag to move\":\"or drag to move\"}},inlineToolbar:{converter:{\"Convert to\":properties.convert_to}},toolbar:{toolbox:{Add:properties.add}}},toolNames:{Text:properties.text,Heading:properties.heading,List:properties.list,Warning:properties.warning,Checklist:properties.checklist,Quote:properties.quote,Code:properties.code,Delimiter:properties.delimiter,\"Raw HTML\":\"Raw HTML\",Toggle:properties.toggle,Table:properties.table,Button:properties.button,Image:properties.image,Link:properties.link,Marker:properties.marker,Bold:properties.bold,Italic:properties.italic,InlineCode:properties.inlinecode,Underline:properties.underline},tools:{warning:{Title:\"Title\",Message:\"Message\"},link:{\"Add a link\":\"Add a link\"},stub:{\"The block can not be displayed correctly.\":\"The block can not be displayed correctly.\"}},blockTunes:{delete:{Delete:properties.delete,\"Click to delete\":properties.click_to_delete},moveUp:{\"Move up\":properties.move_up},moveDown:{\"Move down\":properties.move_down}}}}};var options=instance.data.options,mainEl,parentEl;if(1==properties.hide_header&&delete options.tools.header,1==properties.enable_nested_list&&(options.tools.list.class=NestedList),1==properties.hide_image&&delete options.tools.image,1==properties.hide_list&&delete options.tools.list,1==properties.hide_list&&delete options.tools.anyTuneName.config.blocks.list,1==properties.hide_code&&delete options.tools.inlineCode,1==properties.hide_quote&&delete options.tools.quote,1==properties.hide_checklist&&delete options.tools.checklist,1==properties.hide_inlineCode&&delete options.tools.inlineCode,1==properties.hide_delimiter&&delete options.tools.delimiter,1==properties.hide_table&&delete options.tools.table,1==properties.hide_warning&&delete options.tools.warning,1==properties.hide_marker&&delete options.tools.Marker,1==properties.hide_code_tool&&delete options.tools.code,1==properties.hide_button&&delete options.tools.AnyButton,0==properties.auto_embed_links&&delete options.tools.embed,1==properties.hide_strikethrough_tool&&delete options.tools.strikethrough,1==properties.hide_toggle_block&&delete options.tools.toggle,!0!==properties.enable_footnotes&&delete options.tools.footnotes,!0!==properties.enable_footnotes&&0==properties.hide_list&&(options.tools.list.tunes=null),!0!==properties.enable_footnotes&&options.tools.paragraph.tunes.splice(1,1),1==properties.hide_text_alignment&&(delete options.tools.anyTuneName,!0!==properties.hide_header&&options.tools.header.tunes.splice(0,1),options.tools.paragraph.tunes.splice(0,1)),!0!==instance.data.rendered){instance.data.rendered=!0,instance.data.editor&&$(\"#\"+instance.data.divName).replaceWith($(\"#\"+instance.data.divName).clone());const editor=new EditorJS(options);instance.data.editor=editor;const editorElement=undefined;document.getElementById(options.holder).addEventListener(\"focusin\",(()=>{instance.publishState(\"current_index\",instance.data.editor.blocks.getCurrentBlockIndex()+1)}))}document.querySelector(\"\"+(\"#\"+instance.data.divName)).parentNode.style.overflow=\"visible\";var widthEl=document.getElementById(instance.data.divName).getBoundingClientRect().width;if(instance.data.initial_data!=properties.initial_data&&null!==instance.data.initial_data&&null!==properties.initial_data&&void 0!==instance.data.editor.blocks){var blockCount=JSON.parse(properties.initial_data).blocks.length;instance.publishState(\"total_block_count\",blockCount)}instance.data.initial_data=properties.initial_data},!0===instance.data.doNotRefresh||instance.data.rendered||setTimeout((()=>{instance.data.render(),instance.data.rendered=!0}),10),!1===properties.bubble.auto_binding()&&!1===properties.read_only){instance.data.lastSelection=null;var parsedData=properties.initial_data&&JSON.parse(properties.initial_data),editor=instance.data.editor;properties.initial_data===instance.data.lastData&&instance.data.lastData||(instance.data.lastData=properties.initial_data,parsedData&&editor&&(editor.blocks.render(parsedData),instance.data.setState(properties.initial_data,!0)),null!==properties.initial_data&&instance.data.undo?instance.data.undo.initialize(JSON.parse(properties.initial_data)):instance.data.undo&&instance.data.undo.initialize(null))}null==properties.autobinding&&1==properties.bubble.auto_binding()&&(instance.data.lastAutoboundValue=null);const parsedAutobinding=properties.autobinding&&JSON.parse(properties.autobinding);var editor=instance.data.editor;if(properties.autobinding===instance.data.lastAutoboundValue&&instance.data.lastAutoboundValue||(instance.data.lastSelection=null,setTimeout((()=>{!0===properties.bubble.auto_binding()&&!1===properties.read_only&&(instance.data.lastAutoboundValue=properties.autobinding,parsedAutobinding&&parsedAutobinding.blocks&&0!==parsedAutobinding.blocks.length?editor&&(editor.blocks.render(parsedAutobinding),instance.data.setState(properties.autobinding,!0)):editor&&!instance.data.focussed&&(editor.blocks.clear(),instance.data.setState(properties.autobinding,!0)),null!==properties.initial_data&&instance.data.undo?instance.data.undo.initialize(JSON.parse(properties.initial_data)):instance.data.undo&&(currentTime=Date.now(),instance.data.undo.initialize({time:currentTime,blocks:[{id:\"6Zm2wdQbLU\",type:\"paragraph\",data:{text:\"\"},tunes:{anyTuneName:{alignment:\"left\"}}}],version:\"2.29.0-rc.5\"})))}),100)),!0===properties.read_only){instance.data.lastSelection=null;var parsedReadOnlyData=properties.initial_data&&JSON.parse(properties.initial_data),editor=instance.data.editor;properties.initial_data===instance.data.lastReadOnlyData&&instance.data.lastReadOnlyData||(instance.data.setState(properties.initial_data,!0,!1),parsedReadOnlyData&&editor&&(instance.data.lastReadOnlyData=properties.initial_data,editor.blocks.render(JSON.parse(properties.initial_data),!1)))}}catch(err){}}"},"reset":{"fn":"function(instance,context){}"}}}}};
window._bubble_page_load_data.plugins_size['1588965419744x293900219628912640'] = 74651;
window.preloaded['plugin/third_party:1588965419744x293900219628912640:1.96.0'] = true;
window.plugins["1604640213402x363024433575100400"] = {"human":"Social9 Share","dependencies":{"use_jquery":false,"plugin_api_version":1},"plugin_elements":{"AAN":{"display":"Social9 Share Interface","property_applications":{"resizable":true,"MinWidth":true,"Padding":true},"add_is_visible":true,"fields":{"ABR":{"caption":"Enable","name":"enable","rank":0,"editor":"Checkbox","default_val":true,"in_style":true},"ABS":{"caption":"Type","name":"type","rank":2,"editor":"Dropdown","default_val":"Floating","optional":false,"in_style":true},"ABT":{"caption":"Account Key","name":"account_key","rank":1,"editor":"StaticText","in_style":true,"default_val":""}},"code":{"preview":{"fn":"function(c,b){if(1!=b.enable)return\"\";if(!document.getElementById(\"s9-sdk\")){var a=document.createElement(\"script\");a.src=\"//cdn.social9.com/js/socialshare.min.js\";a.defer=!0;a.async=!0;a.id=\"s9-sdk\";a.setAttribute(\"content\",b.account_key);a.setAttribute(\"data-hide-float\",!0);a.setAttribute(\"data-hide-inline\",!0);a.setAttribute(\"data-hide-popup\",!0);c.canvas.append(a)}a=document.getElementById(\"s9-sdk\");if(\"Inline\"==b.type){var d=document.createElement(\"div\");d.className=\"s9-widget-wrapper\";\nc.canvas.append(d);a.setAttribute(\"data-hide-inline\",!1)}else\"Floating\"==b.type&&a.setAttribute(\"data-hide-float\",!1)};"},"initialize":{"fn":"function(instance, context) {\n\n}"},"update":{"fn":"function(instance, properties, context) {\nif(properties.enable != true){\n    return '';\n}\nvar s9SDKid = \"s9-sdk\";\n    if(!document.getElementById(s9SDKid)){\n        var s = document.createElement('script');\n        s.src = '//cdn.social9.com/js/socialshare.min.js';\n        s.defer = true;\n        s.async = true;\n        s.id = s9SDKid;\n        s.setAttribute(\"content\", properties.account_key);\n        s.setAttribute(\"data-hide-float\",true);\n        s.setAttribute(\"data-hide-inline\",true);\n        s.setAttribute(\"data-hide-popup\",true);\n        instance.canvas.append(s);\n    }\n    var s9SDK = document.getElementById(s9SDKid);\n    if(properties.type == \"Inline\"){\n        var div = document.createElement('div');\n        div.className = 's9-widget-wrapper';\n      \tinstance.canvas.append(div);\n        s9SDK.setAttribute(\"data-hide-inline\",false);\n    }else if(properties.type == \"Floating\"){\n        s9SDK.setAttribute(\"data-hide-float\",false);\n    }\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}}}}};
window._bubble_page_load_data.plugins_size['1604640213402x363024433575100400'] = 2419;
window.preloaded['plugin/third_party:1604640213402x363024433575100400:1.0.0'] = true;
window.plugins["1605707159449x219404648315093000"] = {"human":"AddSocialShare","dependencies":{"use_jquery":false,"plugin_api_version":1},"plugin_elements":{"AAC":{"display":"Add Social Share","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Facebook","name":"facebook","rank":2,"editor":"Checkbox","value":"text","is_list":false,"optional":false,"in_style":false,"default_val":true},"AAF":{"caption":"Interface","name":"interface","rank":1,"editor":"Dropdown","default_val":"Inline"},"AAG":{"caption":"Size","name":"size","rank":29,"editor":"StaticNumber","default_val":30,"optional":true},"AAH":{"caption":"Enable","name":"enable","rank":0,"editor":"Checkbox","default_val":true},"AAI":{"caption":"Twitter","name":"twitter","rank":3,"editor":"Checkbox","default_val":true},"AAJ":{"caption":"Pinterest","name":"pinterest","rank":4,"editor":"Checkbox","default_val":true},"AAK":{"caption":"Linkedin","name":"linkedin","rank":5,"editor":"Checkbox","default_val":true},"AAL":{"caption":"Cloud Share","name":"cloudshare","rank":28,"editor":"Checkbox","default_val":true},"AAM":{"caption":"Blogger","name":"blogger","rank":6,"editor":"Checkbox","default_val":false},"AAN":{"caption":"Buffer","name":"buffer","rank":7,"editor":"Checkbox","default_val":false},"AAO":{"caption":"Email","name":"email","rank":8,"editor":"Checkbox","default_val":false},"AAP":{"caption":"Evernote","name":"evernote","rank":9,"editor":"Checkbox","default_val":false},"AAQ":{"caption":"Flipboard","name":"flipboard","rank":10,"editor":"Checkbox","default_val":false},"AAR":{"caption":"Gmail","name":"gmail","rank":11,"editor":"Checkbox","default_val":false},"AAS":{"caption":"Line","name":"line","rank":12,"editor":"Checkbox","default_val":false},"AAT":{"caption":"LiveJournal","name":"livejournal","rank":13,"editor":"Checkbox","default_val":false},"AAU":{"caption":"myspace","name":"myspace","rank":14,"editor":"Checkbox","default_val":false},"AAW":{"caption":"Pocket","name":"pocket","rank":15,"editor":"Checkbox","default_val":false},"AAX":{"caption":"Print","name":"print","rank":23,"editor":"Checkbox","default_val":false},"AAY":{"caption":"Reddit","name":"reddit","rank":16,"editor":"Checkbox","default_val":false},"AAZ":{"caption":"Skype","name":"skype","rank":17,"editor":"Checkbox","default_val":false},"AAa":{"caption":"StumbleUpon","name":"stumbleupon","rank":18,"editor":"Checkbox","default_val":false},"AAb":{"caption":"Telegram","name":"telegram","rank":20,"editor":"Checkbox","default_val":false},"AAc":{"caption":"Tumblr","name":"tumblr","rank":21,"editor":"Checkbox","default_val":false},"AAd":{"caption":"VK","name":"vk","rank":22,"editor":"Checkbox","default_val":false},"AAe":{"caption":"WhatsApp","name":"whatsapp","rank":27,"editor":"Checkbox","default_val":false},"AAf":{"caption":"Yahoo","name":"yahoo","rank":24,"editor":"Checkbox","default_val":false},"AAh":{"caption":"Google Bookmarks","name":"googlebookmarks","rank":19,"editor":"Checkbox","default_val":false},"AAi":{"caption":"SMS","name":"sms","rank":26,"editor":"Checkbox","default_val":false},"AAj":{"caption":"Google Classroom","name":"googleclassroom","rank":25,"editor":"Checkbox","default_val":false},"AAk":{"caption":"Background Color","name":"bgcolor","rank":31,"editor":"Color","optional":true},"AAl":{"caption":"Corners","name":"corners","rank":32,"editor":"StaticNumber","optional":true},"AAm":{"caption":"Enable Background Color","name":"enablebgcolor","rank":30,"editor":"Checkbox","default_val":false},"AAn":{"caption":"Position On Desktop","name":"position_on_desktop","rank":33,"editor":"Dropdown","default_val":"right"},"AAo":{"caption":"Position On Mobile","name":"position_on_mobile","rank":34,"editor":"Dropdown","default_val":"bottom"},"AAp":{"caption":"Desktop Vertical Offset","name":"desktop_vertical_offset","rank":35,"editor":"StaticNumber","default_val":30,"optional":true},"AAq":{"caption":"Position Hide on Devices","name":"position_hide_on_devices","rank":36,"editor":"Dropdown","default_val":"Neither"}},"code":{"preview":{"fn":"function(d,b){if(1==b.enable){var c=document.createElement(\"script\");c.src=\"//cdn.addsocialshare.com/v1/socialshare.min.js\";c.onload=function(){var a=document.createElement(\"div\");a.className=\"as_socialshare\";d.canvas.append(a);a=document.createElement(\"script\");a.innerText=\"var opt = {};\";a.innerText+=\"opt.providers = {\";1==!!b.facebook&&(a.innerText+='\"facebook\":\"Facebook\",');1==!!b.twitter&&(a.innerText+='\"twitter\":\"Twitter\",');1==!!b.pinterest&&(a.innerText+='\"pinterest\":\"Pinterest\",');\n1==!!b.linkedin&&(a.innerText+='\"linkedin\":\"LinkedIn\",');1==!!b.blogger&&(a.innerText+='\"blogger\":\"Blogger\",');1==!!b.buffer&&(a.innerText+='\"buffer\":\"Buffer\",');1==!!b.email&&(a.innerText+='\"email\":\"Email\",');1==!!b.evernote&&(a.innerText+='\"evernote\":\"Evernote\",');1==!!b.flipboard&&(a.innerText+='\"flipboard\":\"Flipboard\",');1==!!b.gmail&&(a.innerText+='\"gmail\":\"Gmail\",');1==!!b.googlebookmarks&&(a.innerText+='\"googlebookmarks\":\"Google Bookmarks\",');1==!!b.googleclassroom&&(a.innerText+='\"googleclassroom\":\"Google Classroom\",');\n1==!!b.line&&(a.innerText+='\"line\":\"Line\",');1==!!b.livejournal&&(a.innerText+='\"livejournal\":\"Live Journal\",');1==!!b.myspace&&(a.innerText+='\"myspace\":\"Myspace\",');1==!!b.pocket&&(a.innerText+='\"pocket\":\"Pocket\",');1==!!b.print&&(a.innerText+='\"print\":\"Print\",');1==!!b.reddit&&(a.innerText+='\"reddit\":\"Reddit\",');1==!!b.skype&&(a.innerText+='\"skype\":\"Skype\",');1==!!b.stumbleupon&&(a.innerText+='\"stumbleupon\":\"Stumbleupon\",');1==!!b.telegram&&(a.innerText+='\"telegram\":\"Telegram\",');1==!!b.tumblr&&\n(a.innerText+='\"tumblr\":\"Tumblr\",');1==!!b.vk&&(a.innerText+='\"vk\":\"VK\",');1==!!b.whatsapp&&(a.innerText+='\"whatsapp\":\"WhatsApp\",');1==!!b.sms&&(a.innerText+='\"sms\":\"SMS\",');1==!!b.yahoo&&(a.innerText+='\"yahoo\":\"Yahoo\",');1==!!b.cloudshare&&(a.innerText+='\"cloudshare\":\"Cloud Share\",');a.innerText=a.innerText.slice(0,-1);a.innerText+=\"};opt.size = \"+b.size+\";opt.template= {\";null!=b.corners&&(a.innerText+='corners:\"'+b.corners+'px\",');1==!!b.enablebgcolor&&null!=b.bgcolor&&(a.innerText+='bgcolor:\"'+\nb.bgcolor+'\",');if(\"Inline\"==b[\"interface\"])a.innerText+='interface:\"inline\",',a.innerText+='id:\".as_socialshare\",',\"Desktop\"==b.position_hide_on_devices?a.innerText+='alignment:{desktop: \"hide\"},':\"Mobile\"==b.position_hide_on_devices&&(a.innerText+='alignment:{mobile: \"hide\"},');else if(\"Sticky\"==b[\"interface\"]){a.innerText+='interface:\"floating\",';if(null!=b.position_on_desktop||null!=b.position_on_mobile)a.innerText+='alignment:{desktop: \"'+b.position_on_desktop+'\",mobile: \"'+b.position_on_mobile+\n'\"},';null!=b.desktop_vertical_offset&&(a.innerText+='topoffset:\"'+b.desktop_vertical_offset+'px\",')}a.innerText=a.innerText.slice(0,-1);a.innerText+=\"};new ass_SocialShare(opt);\";d.canvas.append(a)};document.getElementsByTagName(\"head\")[0].appendChild(c)}};"},"initialize":{"fn":"function(a,b){};"},"update":{"fn":"function(d,b,c){1==b.enable&&(c=document.createElement(\"script\"),c.src=\"//cdn.addsocialshare.com/v1/socialshare.min.js\",c.onload=function(){var a=document.createElement(\"div\");a.className=\"as_socialshare\";d.canvas.append(a);a=document.createElement(\"script\");a.innerText=\"var opt = {};\";a.innerText+=\"opt.providers = {\";1==!!b.facebook&&(a.innerText+='\"facebook\":\"Facebook\",');1==!!b.twitter&&(a.innerText+='\"twitter\":\"Twitter\",');1==!!b.pinterest&&(a.innerText+='\"pinterest\":\"Pinterest\",');\n1==!!b.linkedin&&(a.innerText+='\"linkedin\":\"LinkedIn\",');1==!!b.blogger&&(a.innerText+='\"blogger\":\"Blogger\",');1==!!b.buffer&&(a.innerText+='\"buffer\":\"Buffer\",');1==!!b.email&&(a.innerText+='\"email\":\"Email\",');1==!!b.evernote&&(a.innerText+='\"evernote\":\"Evernote\",');1==!!b.flipboard&&(a.innerText+='\"flipboard\":\"Flipboard\",');1==!!b.gmail&&(a.innerText+='\"gmail\":\"Gmail\",');1==!!b.googlebookmarks&&(a.innerText+='\"googlebookmarks\":\"Google Bookmarks\",');1==!!b.googleclassroom&&(a.innerText+='\"googleclassroom\":\"Google Classroom\",');\n1==!!b.line&&(a.innerText+='\"line\":\"Line\",');1==!!b.livejournal&&(a.innerText+='\"livejournal\":\"Live Journal\",');1==!!b.myspace&&(a.innerText+='\"myspace\":\"Myspace\",');1==!!b.pocket&&(a.innerText+='\"pocket\":\"Pocket\",');1==!!b.print&&(a.innerText+='\"print\":\"Print\",');1==!!b.reddit&&(a.innerText+='\"reddit\":\"Reddit\",');1==!!b.skype&&(a.innerText+='\"skype\":\"Skype\",');1==!!b.stumbleupon&&(a.innerText+='\"stumbleupon\":\"Stumbleupon\",');1==!!b.telegram&&(a.innerText+='\"telegram\":\"Telegram\",');1==!!b.tumblr&&\n(a.innerText+='\"tumblr\":\"Tumblr\",');1==!!b.vk&&(a.innerText+='\"vk\":\"VK\",');1==!!b.whatsapp&&(a.innerText+='\"whatsapp\":\"WhatsApp\",');1==!!b.sms&&(a.innerText+='\"sms\":\"SMS\",');1==!!b.yahoo&&(a.innerText+='\"yahoo\":\"Yahoo\",');1==!!b.cloudshare&&(a.innerText+='\"cloudshare\":\"Cloud Share\",');a.innerText=a.innerText.slice(0,-1);a.innerText+=\"};opt.size = \"+b.size+\";opt.template= {\";null!=b.corners&&(a.innerText+='corners:\"'+b.corners+'px\",');1==!!b.enablebgcolor&&null!=b.bgcolor&&(a.innerText+='bgcolor:\"'+\nb.bgcolor+'\",');if(\"Inline\"==b[\"interface\"])a.innerText+='interface:\"inline\",',a.innerText+='id:\".as_socialshare\",',\"Desktop\"==b.position_hide_on_devices?a.innerText+='alignment:{desktop: \"hide\"},':\"Mobile\"==b.position_hide_on_devices&&(a.innerText+='alignment:{mobile: \"hide\"},');else if(\"Sticky\"==b[\"interface\"]){a.innerText+='interface:\"floating\",';if(null!=b.position_on_desktop||null!=b.position_on_mobile)a.innerText+='alignment:{desktop: \"'+b.position_on_desktop+'\",mobile: \"'+b.position_on_mobile+\n'\"},';null!=b.desktop_vertical_offset&&(a.innerText+='topoffset:\"'+b.desktop_vertical_offset+'px\",')}a.innerText=a.innerText.slice(0,-1);a.innerText+=\"};new ass_SocialShare(opt);\";d.canvas.append(a)},document.getElementsByTagName(\"head\")[0].appendChild(c))};"},"reset":{"fn":"function(a,b){};"}}}}};
window._bubble_page_load_data.plugins_size['1605707159449x219404648315093000'] = 10052;
window.preloaded['plugin/third_party:1605707159449x219404648315093000:2.0.0'] = true;
window.plugins["1621953922170x687987145409298400"] = {"human":"Blog HTML WYSIWYG Editor TinyMCE","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAG":{"display":"HTML TinyMCE Editor for Blogs","property_applications":{"MinWidth":true,"resizable":true,"Border":true,"BoxShadow":true,"Font":true},"add_is_visible":true,"add_large_file_upload_properties":false,"support_autobinding":false,"autobinding_value":"text","has_reset_fn":true,"fields":{"AAH":{"caption":"Initial content","name":"initial_content","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAa":{"caption":"line height","name":"line_height","rank":1,"editor":"StaticNumber","in_style":true,"default_val":1.5},"AAb":{"caption":"h2 tag size","name":"h2_tag_size","rank":2,"editor":"StaticNumber","default_val":2,"in_style":true},"AAc":{"caption":"h2 tag color","name":"h2_tag_color","rank":3,"editor":"Color","default_val":"rgba(0, 0, 0, 1)","in_style":true},"AAd":{"caption":"h3 tag size","name":"h3_tag_size","rank":4,"editor":"StaticNumber","default_val":1.25,"in_style":true},"AAe":{"caption":"h3 tag color","name":"h3_tag_color","rank":5,"editor":"Color","default_val":"rgba(0, 0, 0, 1)","in_style":true},"AAf":{"caption":"paragraph margin","name":"paragraph_margin","rank":6,"editor":"StaticNumber","default_val":1.5,"in_style":true},"AAg":{"caption":"link colors","name":"link_colors","rank":7,"editor":"Color","default_val":"rgba(0, 0, 255, 1)","in_style":true},"AAh":{"caption":"table first row background","name":"table_first_row_background","rank":8,"editor":"Color","optional":true,"in_style":true},"AAi":{"caption":"table first row text","name":"table_first_row_text","rank":9,"editor":"Color","optional":true,"in_style":true}},"states":{"AAJ":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":"function(properties, context) {\n\t\n    \n\n}"}}},"events":{"ABC":{"caption":"HTML TineMCE Editor is Changed","name":"html_tinemce_editor_is_changed"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\tvar div = instance.canvas;\n   \t\n    div.css(\"background-color\", \"#F7F7F7\")\n    \n    // Insert container on the page\n    div.append('<div>The blog post editor will come here</div>');\n\n}","add_debugger":false},"initialize":{"fn":"function(instance, context) {\n    \n    var div = instance.canvas;\n    \n    // Give an Id to the editor (necessary for Repeating Groups)\n    instance.data.editorId = editorCount;\n    editorCount++;\n\n    // Insert container on the page\n    div.append(`<textarea id=\"editor-${instance.data.editorId}\" class=\"html-editor-plugin-wysiwyg\" disabled></textarea>`);\n\n    //console.log(`Bubble: Initialize ${instance.data.editorId}!`)\n}"},"update":{"fn":"function(instance, properties, context) {\n\n    // Storing styles defined by the user in the bubble element editor\n    var CSS_Styles = `\n        .mce-content-body {\n            font-family: ${properties.bubble.font_face().replace(/:(.*)/g,\"\")} !important;\n            font-size: ${properties.bubble.font_size()}px !important;\n            line-height: ${properties.line_height} !important;\n            overflow-wrap: break-word;\n        }\n        .mce-content-body p {\n        \tmargin-bottom: ${properties.paragraph_margin}em;\n        }\n        .mce-content-body td, .mce-content-body th {\n            border: 1px solid #ddd;\n            padding: 8px;\n        }\n\t\t.mce-content-body tr:first-child {\n            background-color: ${properties.table_first_row_background};\n            color: ${properties.table_first_row_text};\n        }\n\t\t.mce-content-body tr:first-child:hover {\n            background-color: ${properties.table_first_row_background} !important;\n        }\n        .mce-content-body tr:hover {\n       \t\tbackground-color: #f2f2f2;\n        }\n        .mce-content-body a {\n        \tcolor: ${properties.link_colors};\n        }\n        .mce-content-body h2 {\n            font-size: ${properties.h2_tag_size}em;\n            color: ${properties.h2_tag_color};\n        }\n        .mce-content-body h3 {\n            font-size: ${properties.h3_tag_size}em;\n            color: ${properties.h3_tag_color};\n        }\n        .mce-content-body h2, .mce-content-body h3 {\n            font-weight: bold;\n            margin-top: 1em;\n            margin-bottom: 1em;\n        }\n\t\t.mce-content-body img {\n\t\t\tmax-width: 100%;\n\t\t\theight: auto;\n\t\t}\n        `\n    \n    // Create instance of TinyMCE\n    let element_height = $(`textarea#editor-${instance.data.editorId}`).parent().height();\n    if (tinyMCE.editors[instance.data.editorId] == undefined) {\n        loadEditor(element_height, \n                   \tCSS_Styles,\n                    instance.data.editorId,\n                   \tfunction(editor) {\n\n            // Set what happens when the user edits the content\n            editor.on('Change', function (e) {\n                \n                let updatedValue = `\n                <style>\n                .html-editor-plugin-content {\n                font-family: ${properties.bubble.font_face().replace(/:(.*)/g,\"\")} !important;\n                font-size: ${properties.bubble.font_size()}px !important;\n                line-height: ${properties.line_height} !important;\n                overflow-wrap: break-word;\n                }\n                .html-editor-plugin-content p {\n                margin-bottom: ${properties.paragraph_margin}em;\n                }\n                .html-editor-plugin-content td, .html-editor-plugin-content th {\n                border: 1px solid #ddd;\n                padding: 8px;\n                }\n                .html-editor-plugin-content tr:first-child {\n                background-color: ${properties.table_first_row_background};\n                color: ${properties.table_first_row_text};\n                }\n                .html-editor-plugin-content tr:first-child:hover {\n                background-color: ${properties.table_first_row_background} !important;\n                }\n                .html-editor-plugin-content tr:hover {\n                background-color: #f2f2f2;\n                }\n                .html-editor-plugin-content a {\n                color: ${properties.link_colors};\n                }\n                .html-editor-plugin-content h2 {\n                font-size: ${properties.h2_tag_size}em;\n                color: ${properties.h2_tag_color};\n                }\n                .html-editor-plugin-content h3 {\n                font-size: ${properties.h3_tag_size}em;\n                color: ${properties.h3_tag_color};\n                }\n                .html-editor-plugin-content h2, .html-editor-plugin-content h3 {\n                font-weight: bold;\n                margin-top: 1em;\n                margin-bottom: 1em;\n                }\n                .html-editor-plugin-content img {\n                max-width: 100%;\n                height: auto;\n                }\n                </style>\n                <article class=\"html-editor-plugin-content\">\n                ${editor.getContent()}\n                </article><br>`\n                \n                instance.publishState(\"value\", updatedValue)\n                // instance.publishAutobinding(updatedValue)\n\n                instance.triggerEvent('html_tinemce_editor_is_changed', function(err) {console.log(err)})\n                //console.log('TinyMCE: updated!');\n            });\n\n            // Set the initial content of the editor, given by the app admin\n            editor.save() // saving the initial_content in the textarea input, as a backup\n            //console.log(\"TinyMCE: HTML editor loaded!\");\n        }\n        );\n\n    }\n\n    // Extracting the content for the editor\n    if (properties.autobinding != null) {\n        // autobinding has preference over initial_content\n        if(properties.autobinding.indexOf(\n            '<article class=\"html-editor-plugin-content\">') !== -1)\n        {\n            var start_pos = properties.autobinding.indexOf('<article class=\"html-editor-plugin-content\">') + '<article class=\"html-editor-plugin-content\">'.length;\n            var end_pos = properties.autobinding.indexOf('</article>',start_pos);\n            var text_to_get = properties.autobinding.substring(start_pos,end_pos);    \n        } else {\n            var text_to_get = properties.autobinding\n        }\n\n        $(`textarea#editor-${instance.data.editorId}`).val(text_to_get);\n        instance.publishState(\"value\", properties.autobinding);\n    } else if(properties.initial_content != null) {\n        // Use the initial_content value, if there is no autobinding\n        if(properties.initial_content.indexOf(\n            '<article class=\"html-editor-plugin-content\">') !== -1)\n        {\n            var start_pos = properties.initial_content.indexOf('<article class=\"html-editor-plugin-content\">') + '<article class=\"html-editor-plugin-content\">'.length;\n            var end_pos = properties.initial_content.indexOf('</article>',start_pos);\n            var text_to_get = properties.initial_content.substring(start_pos,end_pos);    \n        } else {\n            var text_to_get = properties.initial_content\n        }\n\n        $(`textarea#editor-${instance.data.editorId}`).val(text_to_get);\n        instance.publishState(\"value\", properties.initial_content);\n    } else {\n        // do nothing\n    }\n    \n    if (tinyMCE.editors[instance.data.editorId] != undefined) {\n        // Update element with new data\n        tinyMCE.editors[instance.data.editorId].load()\n    }\n    //console.log(`Bubble: Updated editor ${instance.data.editorId}!`)\n    \n}","add_debugger":false},"reset":{"fn":"function(instance, context) {\n\t\n    if (tinyMCE.editors[instance.data.editorId] != undefined){\n        // loading the initial content present in the textarea backup\n        tinyMCE.editors[instance.data.editorId].load()\n        instance.publishState(\"value\", tinyMCE.editors[instance.data.editorId].getContent())\n    }\n\t//console.log(`Bubble: Reset editor ${instance.data.editorId}!`)\n    \n}"}}}}};
window._bubble_page_load_data.plugins_size['1621953922170x687987145409298400'] = 10145;
window.preloaded['plugin/third_party:1621953922170x687987145409298400:4.1.0'] = true;
window.plugins["1649513217691x427261680952541200"] = {"human":"Frames Utilites","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_api":{"human":"Frames","calls":{"AAC":{"name":"User","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","initialized":true,"types":"{\"plugin_api.AAC\":{\"caption\":\"User\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Beth Harrison\"},\"_p_image\":{\"ret_value\":\"image\",\"caption\":\"image\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666174139758x740673921030028500/Beth%20Harrison.jpg\"},\"_p_handle\":{\"ret_value\":\"text\",\"caption\":\"handle\",\"sample_value\":\"@beth_harrison\"},\"_p_position\":{\"ret_value\":\"text\",\"caption\":\"position\",\"sample_value\":\"Social Media Manager\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"beth.harrison@email.com\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAC","params":{"AAN":{"key":"type","value":"user","private":true,"visibility":"hidden"}}},"AAF":{"0":"A","1":"A","2":"E","name":"Order","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/orders","initialized":true,"types":"{\"plugin_api.AAF\":{\"caption\":\"Order\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"DD586C82-E8DA-EACC-62F6-B9FB831880AF\"},\"_p_invoice_id\":{\"ret_value\":\"number\",\"caption\":\"invoice_id\",\"sample_value\":10000},\"_p_customer\":{\"ret_value\":\"text\",\"caption\":\"customer\",\"sample_value\":\"Olympia Walls\"},\"_p_phone\":{\"ret_value\":\"text\",\"caption\":\"phone\",\"sample_value\":\"(440) 433-2462\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"faucibus@google.edu\"},\"_p_ship_to\":{\"ret_value\":\"text\",\"caption\":\"ship_to\",\"sample_value\":\"P.O. Box 517, 1464 Donec Rd.\"},\"_p_payment_method\":{\"ret_value\":\"text\",\"caption\":\"payment_method\",\"sample_value\":\"300766256428729\"},\"_p_date_ordered\":{\"ret_value\":\"date\",\"caption\":\"date_ordered\",\"sample_value\":\"2022-05-23 10:59:57\"},\"_p_date_shipped\":{\"ret_value\":\"date\",\"caption\":\"date_shipped\",\"sample_value\":\"2021-08-20 04:50:10\"},\"_p_description\":{\"ret_value\":\"text\",\"caption\":\"description\",\"sample_value\":\"Aliquam ultrices iaculis odio. Nam interdum enim non\"},\"_p_amount\":{\"ret_value\":\"number\",\"caption\":\"amount\",\"sample_value\":3315.86},\"_p_shipped\":{\"ret_value\":\"boolean\",\"caption\":\"shipped\",\"sample_value\":false}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAF"},"AAH":{"0":"A","1":"A","2":"G","name":"Global","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/global","initialized":true,"types":"{}","is_list":true,"ret_value":"text","body":""},"AAJ":{"0":"A","1":"A","2":"I","name":"Pricing","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","initialized":true,"types":"{\"plugin_api.AAJ\":{\"caption\":\"Pricing\",\"fields\":{\"_p_plan\":{\"ret_value\":\"text\",\"caption\":\"plan\",\"sample_value\":\"Standard\"},\"_p_price_monthly\":{\"ret_value\":\"text\",\"caption\":\"price_monthly\",\"sample_value\":\"$20\"},\"_p_price_yearly\":{\"ret_value\":\"text\",\"caption\":\"price_yearly\",\"sample_value\":\"$200\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAJ","body":"","params":{"AAK":{"key":"type","value":"pricing","private":true,"visibility":"hidden"}}},"AAM":{"0":"A","1":"A","2":"L","name":"Career","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","initialized":true,"types":"{\"plugin_api.AAM\":{\"caption\":\"Career\",\"fields\":{\"_p_title\":{\"ret_value\":\"text\",\"caption\":\"title\",\"sample_value\":\"Head of Success\"},\"_p_location\":{\"ret_value\":\"text\",\"caption\":\"location\",\"sample_value\":\"New York\"},\"_p_hours\":{\"ret_value\":\"text\",\"caption\":\"hours\",\"sample_value\":\"Full-time\"},\"_p_tag\":{\"ret_value\":\"text\",\"caption\":\"tag\",\"sample_value\":\"Operations\"}}}}","ret_value":"api.1649513217691x427261680952541200.plugin_api.AAM","body":"","params":{"AAK":{"key":"type","value":"career","private":true,"visibility":"hidden"}},"is_list":true},"AAn":{"name":"Metric","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"AAo":{"key":"type","value":"metrics","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAn\":{\"caption\":\"Metric\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Active users\"},\"_p_metric\":{\"ret_value\":\"text\",\"caption\":\"metric\",\"sample_value\":\"1K+\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAn"},"AAp":{"name":"Logo Fictitious","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"AAq":{"key":"type","value":"logo_fictitious","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAp\":{\"caption\":\"Logo Fictitiou\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Uptick\"},\"_p_logo\":{\"ret_value\":\"image\",\"caption\":\"logo\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666100332866x414829172276499200/UpTick.png\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAp"},"AAr":{"name":"Logo Real","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"AAs":{"key":"type","value":"logo_real","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAr\":{\"caption\":\"Logo Real\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Zapier\"},\"_p_logo\":{\"ret_value\":\"image\",\"caption\":\"logo\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666096189502x342222774698357060/Zapier.png\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAr"},"AAt":{"name":"Blog Category","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"AAu":{"key":"type","value":"blog_category","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAt\":{\"caption\":\"Blog Category\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Saas\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAt"},"AAv":{"name":"Blog Tag","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"AAw":{"key":"type","value":"blog_tag","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAv\":{\"caption\":\"Blog Tag\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Seo\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAv"},"AAx":{"name":"Blog Post","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"AAy":{"key":"type","value":"blog_post","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAx\":{\"caption\":\"Blog Post\",\"fields\":{\"_p_title\":{\"ret_value\":\"text\",\"caption\":\"title\",\"sample_value\":\"Saas for creatives\"},\"_p_cover\":{\"ret_value\":\"image\",\"caption\":\"cover\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666178051342x490393085244160700/untitled--17.jpg\"},\"_p_image\":{\"ret_value\":\"image\",\"caption\":\"image\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666174145002x724393482047347500/Tracey%20Moore.jpg\"},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Tracey Moore\"},\"_p_blog-category\":{\"ret_value\":\"text\",\"caption\":\"blog-category\",\"sample_value\":\"Saas\"},\"_p_blog-tag\":{\"ret_value\":\"text\",\"caption\":\"blog-tag\",\"sample_value\":\"Seo\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAx"},"AAz":{"name":"FAQ","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"ABA":{"key":"type","value":"faq","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAz\":{\"caption\":\"FAQ\",\"fields\":{\"_p_question\":{\"ret_value\":\"text\",\"caption\":\"question\",\"sample_value\":\"Which plan shall I choose?\"},\"_p_answer\":{\"ret_value\":\"text\",\"caption\":\"answer\",\"sample_value\":\"You can start off on the free plan while you build your product. When you are ready to deploy, you can upgrade your plan. No credit card required.\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.AAz"},"ABB":{"name":"Feed","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"ABC":{"key":"type","value":"feed","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.ABB\":{\"caption\":\"Feed\",\"fields\":{\"_p_content\":{\"ret_value\":\"text\",\"caption\":\"content\",\"sample_value\":\"Commented on Apple iPhone landing page\"},\"_p_user\":{\"ret_value\":\"text\",\"caption\":\"user\",\"sample_value\":\"Beth Harrison\"},\"_p_image\":{\"ret_value\":\"image\",\"caption\":\"image\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666174139758x740673921030028500/Beth%20Harrison.jpg\"},\"_p_timestamp\":{\"ret_value\":\"text\",\"caption\":\"timestamp\",\"sample_value\":\"1 min ago\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.ABB"},"ABD":{"name":"Message","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"ABE":{"key":"type","value":"message","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.ABD\":{\"caption\":\"Message\",\"fields\":{\"_p_user\":{\"ret_value\":\"text\",\"caption\":\"user\",\"sample_value\":\"Beth Harrison\"},\"_p_image\":{\"ret_value\":\"image\",\"caption\":\"image\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666174139758x740673921030028500/Beth%20Harrison.jpg\"},\"_p_content\":{\"ret_value\":\"text\",\"caption\":\"content\",\"sample_value\":\"Nice to see you again Andrew. Jump into my Calendly and book some time with me next week to go over your previous experience.\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.ABD"},"ABF":{"name":"Card","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://madewithframes.com/version-test/api/1.1/wf/dummy","params":{"ABG":{"key":"type","value":"card","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.ABF\":{\"caption\":\"Card\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Visa\"},\"_p_logo\":{\"ret_value\":\"image\",\"caption\":\"logo\",\"sample_value\":\"https://s3.amazonaws.com/appforest_uf/d14/f1666090597182x408955605422598660/Visa.png\"},\"_p_expiry\":{\"ret_value\":\"text\",\"caption\":\"expiry\",\"sample_value\":\"05/2023\"},\"_p_ending\":{\"ret_value\":\"text\",\"caption\":\"ending\",\"sample_value\":\"2356\"}}}}","is_list":true,"ret_value":"api.1649513217691x427261680952541200.plugin_api.ABF"}},"shared_headers":{"AAD":{"key":"content-type","value":"application/json","private":true,"visibility":"hidden"},"AAm":{"key":"accept","value":"application/json","private":true,"visibility":"hidden"}}},"plugin_elements":{"ABL":{"display":"Frames Icon - Box ","property_applications":{"MinWidth":true,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"ABH":{"caption":"Icon name","default_val":"user","editor":"DynamicValue","name":"icon","rank":1,"value":"text"},"ABI":{"caption":"Icon style","default_val":"Regular","editor":"Dropdown","name":"style","rank":3},"ABJ":{"caption":"Icon size","default_val":"16px","editor":"DynamicValue","name":"icon_size","rank":4,"value":"number"},"ABK":{"caption":"Icon color","default_val":"rgba(0,0,0,1)","editor":"Color","name":"icon_color","rank":5},"ABr":{"caption":"Icon is clickable","name":"is_clickable","rank":6,"editor":"DynamicValue","value":"boolean","default_val":false},"ABs":{"caption":"Give your app a sleek, modern look with these stylish and versatile icons. All the icons available can be found at https://boxicons.com/ or simply Google ‘Box Icons’.","name":"information","rank":0,"editor":"Label"},"ABt":{"caption":"Not all icons are available in every style. Make sure the icon you want is available in the style you’ve chosen or no icon will be displayed.","name":"information","rank":2,"editor":"Label"}},"events":{"ABq":{"caption":"is clicked","name":"is_clicked"}},"code":{"initialize":{"fn":"function(instance, context) {\n\n    let i = instance,\n        c = context,\n        data = i.data,\n        trigger = i.triggerEvent,\n        root = i.canvas.get(0);\n\n    data.clickEvent = (e) => {\n            trigger('is_clicked');\n            e.stopPropagation();\n        }\n    \n}"},"update":{"fn":"function(instance, properties, context) {\n\n    let i = instance,\n        p = properties,\n        c = context,\n        data = i.data,\n        root = i.canvas.get(0);       \n\n    if (p.is_clickable) {\n        root.removeEventListener('click', data.clickEvent);\n        root.addEventListener('click', data.clickEvent);\n        root.style.cursor = \"pointer\";\n    } else {\n        root.removeEventListener('click', data.clickEvent);\n        root.style.cursor = \"inherit\";\n    }\n\n    root.innerHTML = `<i style='font-size: ${p.icon_size || '24'}px; color: ${p.icon_color || '#000'};' class='bx ${bc_frames.iconType.get(p.style) || 'bx'}-${p.icon.toLowerCase() || 'user'}'></i>`\n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"},"preview":{"fn":"function(instance, properties) {\n\n\n    let i = instance,\n        p = properties,\n        data = i.data,\n        root = i.canvas.get(0);\n\n\n\n    let style = new Map();\n\n\n    style.set(\"Solid\", \"bxs\");\n    style.set(\"Regular\", \"bx\");\n    style.set(\"Logo\",\"bxl\");\n\n\n    let icon = 'user';\n\n    if (p.icon.includes('value')) {\n\n        icon = 'user'\n\n    } else if (p.icon != null) {\n\n        icon = p.icon.toLowerCase()\n\n    };\n\n    root.innerHTML = `<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'><i style='font-size: ${p.icon_size || '24'}px; color: ${p.icon_color || '#000'};' class='bx ${style.get(p.style) || 'bx'}-${icon}'></i>`\n\n\n}"}}},"ABg":{"display":"Frames Chart - Spline","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"ABM":{"caption":"Curve","default_val":"Smooth","editor":"Dropdown","name":"curve","rank":1},"ABN":{"caption":"Show grid","default_val":true,"editor":"Checkbox","name":"show_grid","rank":2},"ABO":{"caption":"Series 1 Name","editor":"DynamicValue","name":"series_1_name","rank":5,"value":"text"},"ABP":{"caption":"Series 1 Data","editor":"DynamicValue","is_list":true,"name":"series_1_data","rank":6,"value":"number"},"ABQ":{"caption":"X Axis Type","editor":"Dropdown","name":"x_axis_type","rank":3,"value":"text","optional":false,"default_val":"DateTime"},"ABR":{"caption":"X Axis Data","editor":"DynamicValue","is_list":true,"name":"x_axis_data","rank":4,"value":"_any_thing","optional":false},"ABS":{"caption":"Series 2 Name","editor":"DynamicValue","name":"series_2_name","rank":9,"value":"text","optional":true},"ABT":{"caption":"Series 2 Data","editor":"DynamicValue","is_list":true,"name":"series_2_data","rank":10,"value":"number","optional":true},"ABU":{"caption":"Series 3 Name","editor":"DynamicValue","name":"series_3_name","rank":13,"value":"text","optional":true},"ABV":{"caption":"Series 3 Data","editor":"DynamicValue","is_list":true,"name":"series_3_data","rank":14,"value":"number","optional":true},"ABW":{"caption":"Series 4 Name","name":"series_4_name","rank":17,"editor":"DynamicValue","value":"text","optional":true},"ABX":{"caption":"Series 4 Data","name":"series_4_data","rank":18,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"ABY":{"caption":"Series 1 Color","name":"series_1_color","rank":7,"editor":"Color","default_val":"rgba(0,49,186,1)"},"ABZ":{"caption":"Series 1 Color Fill","name":"series_1_color_fill","rank":8,"editor":"Color","default_val":"rgba(0,60,240,0.2)","optional":false},"ABa":{"caption":"Series 2 Color","name":"series_2_color","rank":11,"editor":"Color"},"ABb":{"caption":"Series 2 Color Fill","name":"series_2_color_fill","rank":12,"editor":"Color"},"ABc":{"caption":"Series 3 Color","name":"series_3_color","rank":15,"editor":"Color"},"ABd":{"caption":"Series 3 Color Fill","name":"series_3_color_fill","rank":16,"editor":"Color"},"ABe":{"caption":"Series 4 Color","name":"series_4_color","rank":19,"editor":"Color"},"ABf":{"caption":"Series 4 Color Fill","name":"series_4_color_fill","rank":20,"editor":"Color"},"ABm":{"caption":"This chart was built using the Apex charts library","name":"information","rank":0,"editor":"Label"}},"code":{"initialize":{"fn":"function(instance, context) {\n    \n    let data = instance.data;\n    \n    function getList(data) {\n        \n        return data.get(0, data.length())\n   \n    }\n    \n    data.getList = getList;\n\n    data.getSeries = function(name,data) {\n\n        return {\n            name: name,\n            data: getList(data)\n        }\n\n    }\n    \n    let root = $(`<div></div>`);\n    \n    data.root = root[0];\n\n\n\n    $(instance.canvas).append(root);\n\n\n\n\n}","add_debugger":true},"update":{"fn":"function(instance, properties, context) {\n\n\n    const i = instance,\n          p = properties,\n          c = context,\n          data = i.data,\n          getList = data.getList,\n          getSeries = data.getSeries;\n\n    let seriesArray = [], colors = [], colorsFill = [];\n\n    seriesArray.push(getSeries(p.series_1_name,p.series_1_data));\n\n    !p.series_2_name ? '' : seriesArray.push(getSeries(p.series_2_name,p.series_2_data));\n    !p.series_3_name ? '' : seriesArray.push(getSeries(p.series_3_name,p.series_3_data));\n    !p.series_4_name ? '' : seriesArray.push(getSeries(p.series_4_name,p.series_4_data));\n\n    colors.push(p.series_1_color || '');\n    colors.push(p.series_2_color || '');\n    colors.push(p.series_3_color || '');\n    colors.push(p.series_4_color || '');\n    \n    colorsFill.push(p.series_1_color_fill || '');\n    colorsFill.push(p.series_2_color_fill || '');\n    colorsFill.push(p.series_3_color_fill || '');\n    colorsFill.push(p.series_4_color_fill || '');\n\n    console.log(colors)\n\n    var options = {\n        series: seriesArray,\n        chart: {\n            height: '100%',\n            width: '100%',\n            type: 'area',\n            toolbar: {\n                show: false\n            }\n        },\n        grid: {\n            show: p.show_grid\n        },\n        dataLabels: {\n            enabled: false\n        },\n        colors: colors,\n        fill: {\n            colors: colorsFill,\n            type: 'solid'\n        },\n        stroke: {\n            curve: p.curve.toLowerCase(),\n            width: 2,\n            colors: colors\n        },\n        xaxis: {\n            type: p.x_axis_type.toLowerCase(),\n            categories: getList(p.x_axis_data)\n        }\n    };\n\nif (data.chart) { data.chart.destroy(); }\n\nconsole.log(!data.chart)\n\ndata.chart = new ApexCharts(data.root, options); \n\ndata.chart.render();\n\n\n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"},"preview":{"fn":"function(instance, properties) {\n\n    let i = instance,\n        p = properties,\n        data = i.data,\n        root = i.canvas.get(0);\n    \n    root.style.height = p.bubble.height() + 'px';\n\n    root.innerHTML = `<div style=\"width: ${p.bubble.width()}px; height: ${p.bubble.height()}px\"><img src=\"https://9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1669733134743x356563610468454660/chart-spline.png\" style=\"object-fit:fill; width: ${p.bubble.width()}px; height: ${p.bubble.height()}px;\" /></div>`\n}"}}},"ABk":{"display":"Frames Chart - Donut","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"ABh":{"caption":"Values","default_val":"44, 55, 41, 17, 15","editor":"DynamicValue","name":"data","rank":1,"value":"number","is_list":true},"ABi":{"caption":"Labels","name":"labels","rank":2,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ABj":{"caption":"Legend position","name":"legend_position","rank":3,"editor":"Dropdown","default_val":"Right"},"ABl":{"caption":"This chart was built using the Apex charts library","name":"information","rank":0,"editor":"Label"}},"code":{"initialize":{"fn":"function(instance, context) {\n\n    let data = instance.data;\n\n    instance.canvas[0].style.overflow = 'visible';\n\n    let root = $(`<div></div>`);\n\n    data.root = root[0];\n\n    $(instance.canvas).append(root);\n\n    function getList(data) {\n\n        return data.get(0, data.length())\n\n    }\n\n    data.getList = getList;\n\n\n}"},"update":{"fn":"function(instance, properties, context) {\n\n    const i = instance,\n          p = properties,\n          c = context,\n          data = i.data,\n          getList = data.getList,\n          showLabels = !p.labels !== true;\n\n    let labels = [];\n\n\n    console.log(\"show labels \" + showLabels)\n\n    if (showLabels == true) { labels = getList(p.labels) }\n\n    console.log('labels ' + labels)\n\n\n\n\n\n    var options = {\n        series: getList(p.data),\n        chart: {\n            height: '100%',\n            width: '100%',\n            type: 'donut',\n            toolbar: {\n                show: false\n            }\n        },\n        legend: {\n            show: showLabels,\n            position: p.legend_position.toLowerCase()\n        },\n        labels: labels\n    };\n\n\n\n    if (data.chart) { data.chart.destroy(); }\n\n    console.log(!data.chart)\n\n    data.chart = new ApexCharts(data.root, options); \n\n    data.chart.render();\n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"},"preview":{"fn":"function(instance, properties) {\n\n    let i = instance,\n        p = properties,\n        data = i.data,\n        root = i.canvas.get(0);\n\n   root.style.height = p.bubble.height() + 'px';\n    \n   root.innerHTML = `<div style=\"width: ${p.bubble.height()}px; height: ${p.bubble.height()}px\"><img src=\"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1669737911175x643328059659175300/donut%20chart.png\" style=\"object-fit:fill; width: ${p.bubble.height()}px; height: ${p.bubble.height()}px;\" /></div>`\n\n}"}}}}};
window._bubble_page_load_data.plugins_size['1649513217691x427261680952541200'] = 23563;
window.preloaded['plugin/third_party:1649513217691x427261680952541200:3.2.0'] = true;
window.plugins["1656491011335x675939450810269700"] = {"human":"Simple Share - Social Media","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAl":{"display":"Wonderful Share Buttons","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":false,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAU":{"caption":"Button Text","name":"displayText","rank":1,"editor":"DynamicValue","value":"text","default_val":"Share on %s","optional":true},"AAW":{"caption":"URL To Share","name":"shareUrl","rank":2,"editor":"DynamicValue","value":"text","default_val":"https://bubble.io/","optional":true},"AAX":{"caption":"Description","name":"description","rank":3,"editor":"DynamicValue","value":"text","default_val":"Wonderful Share Buttons is light-weight, super fast and easy!","optional":true},"AAm":{"caption":"Target","name":"pageTarget","rank":4,"editor":"Dropdown","default_val":"Popup","in_style":true},"AAn":{"caption":"Slot 1","name":"slot1","rank":6,"editor":"Dropdown","default_val":"Facebook"},"AAo":{"caption":"Slot 2","name":"slot2","rank":7,"editor":"Dropdown","default_val":"Twitter"},"AAp":{"caption":"Slot 3","name":"slot3","rank":8,"editor":"Dropdown","default_val":"LinkedIn"},"AAq":{"caption":"Slot 4","name":"slot4","rank":9,"editor":"Dropdown","default_val":"Email"},"AAr":{"caption":"Slot 5","name":"slot5","rank":10,"editor":"Dropdown","default_val":"Null"},"AAs":{"caption":"Slot 6","name":"slot6","rank":11,"editor":"Dropdown","default_val":"Null"},"AAt":{"caption":"Slot 7","name":"slot7","rank":12,"editor":"Dropdown","default_val":"Null"},"AAu":{"caption":"Slot 8","name":"slot8","rank":13,"editor":"Dropdown","default_val":"Null"},"AAv":{"caption":"Slot 9","name":"slot9","rank":14,"editor":"Dropdown","default_val":"Null"},"AAw":{"caption":"Slot 10","name":"slot10","rank":15,"editor":"Dropdown","default_val":"Null"},"AAx":{"caption":"Slot 11","name":"slot11","rank":16,"editor":"Dropdown","default_val":"Null"},"AAy":{"caption":"Slot 12","name":"slot12","rank":17,"editor":"Dropdown","default_val":"Null"},"AAz":{"caption":"*** ABOUT BUTTON TEXT: When you enter \"%s\", the name of the social media app will be written according to which social media app the button belongs to. ***","name":"info","rank":0,"editor":"Label"},"ABA":{"caption":"*** With slots, you can show the buttons in the order you want. We do not recommend showing the same social media app in more than one slot. ***","name":"info2","rank":5,"editor":"Label"},"ABB":{"caption":"Slot 13","name":"slot13","rank":18,"editor":"Dropdown","default_val":"Null"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n  var d = document.createElement(\"div\")\n  d.id = \"loaderr preview\"\n  d.style.display = \"flex\"\n  d.style.width = properties.bubble.width-0 + \"px\"\n  d.style.height = properties.bubble.height-0 + \"px\"\n  d.style.overflow = \"hidden\"\n  d.style.justifyContent = \"center\"\n  d.style.background = \"none\"\n  var x = document.createElement(\"IMG\");\n  x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1648210251773x808269200674233600/icons8-share-100%20%283%29.png\")\n  var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n  x.style.width = \"100px\"\n    x.style.height = \"100px\"\n  x.style.verticalAlign = \"middle\"\n    x.setAttribute(\"transform\", \"translateX(50%) translateY(50%)\")\n  d.appendChild(x)\n  var e = []\n  \n  \n  instance.canvas[0].appendChild(d)\n  var iconScale = x.offsetWidth / 100\n  e.forEach(element => element.style.fontSize = iconScale * 100 + \"%\") \n\n}"},"initialize":{"fn":"function(instance,context){instance.data.randomId=Math.floor(1e3*Math.random()),instance.data.parseText=function(text){const regex=/\\[(.*?)\\]/g,parsedText=undefined;return text.replace(regex,\"\")},instance.data.urlEncode=function(text){const encodedText=undefined;return encodeURIComponent(text)}}"},"update":{"fn":"function(instance,properties,context){let randomId=instance.data.randomId,parseText=instance.data.parseText,urlEncode=instance.data.urlEncode;var displayText=\"\",buttonSize=\"small\";properties.displayText&&(displayText=properties.displayText,buttonSize=\"large\");var shareUrl=\"\";properties.shareUrl&&(shareUrl=urlEncode(properties.shareUrl));var description=\"\";function openPopup(url){window.open(url,\"name\",\"width=600,height=400\")}properties.description&&(description=urlEncode(parseText(properties.description))),description=(description=(description=(description=(description=(description=(description=(description=(description=(description=(description=(description=description.replace(\" \",\"%20\")).replace(\"!\",\"%21\")).replace('\"',\"%22\")).replace(\"#\",\"%23\")).replace(\"$\",\"%24\")).replace(\"&\",\"%26\")).replace(\"'\",\"%27\")).replace(\"(\",\"%28\")).replace(\")\",\"%29\")).replace(\"*\",\"%2A\")).replace(\"+\",\"%2B\")).replace(\"\\n\",\"%0A\");var samePage=!0;\"New Tab\"==properties.pageTarget&&(samePage=!1);const orderArray=[properties.slot1,properties.slot2,properties.slot3,properties.slot4,properties.slot5,properties.slot6,properties.slot7,properties.slot8,properties.slot9,properties.slot10,properties.slot11,properties.slot12,properties.slot13];var largeSolidFacebook='<a class=\"resp-sharing-button__link\" id=\"wonderfulFacebook'+randomId+'\" href=\"https://facebook.com/sharer/sharer.php?u='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Facebook\")+'\"><div class=\"resp-sharing-button resp-sharing-button--facebook resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solidcircle\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z\"/></svg></div>'+displayText.replace(\"%s\",\"Facebook\")+\"</div></a>\",largeSolidTwitter='<a class=\"resp-sharing-button__link\" id=\"wonderfulTwitter'+randomId+'\" href=\"https://twitter.com/intent/tweet/?text='+description.replace(\" \",\"%20\")+\"&amp;url=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"X\")+'\"><div class=\"resp-sharing-button resp-sharing-button--twitter resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" shape-rendering=\"geometricPrecision\" text-rendering=\"geometricPrecision\" image-rendering=\"optimizeQuality\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" viewBox=\"0 0 512 462.799\"><path fill-rule=\"nonzero\" d=\"M403.229 0h78.506L310.219 196.04 512 462.799H354.002L230.261 301.007 88.669 462.799h-78.56l183.455-209.683L0 0h161.999l111.856 147.88L403.229 0zm-27.556 415.805h43.505L138.363 44.527h-46.68l283.99 371.278z\"/></svg></div>'+displayText.replace(\"%s\",\"X\")+\"</div></a>\",largeSolidTumblr='<a class=\"resp-sharing-button__link\" id=\"wonderfulTumblr'+randomId+'\" href=\"https://www.tumblr.com/widgets/share/tool?posttype=link&amp;title='+description.replace(\" \",\"%20\")+\"&amp;caption=\"+description.replace(\" \",\"%20\")+\"&amp;content=\"+shareUrl+\"&amp;canonicalUrl=\"+shareUrl+'&amp;shareSource=tumblr_share_button\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Tumblr\")+'\"><div class=\"resp-sharing-button resp-sharing-button--tumblr resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13.5.5v5h5v4h-5V15c0 5 3.5 4.4 6 2.8v4.4c-6.7 3.2-12 0-12-4.2V9.5h-3V6.7c1-.3 2.2-.7 3-1.3.5-.5 1-1.2 1.4-2 .3-.7.6-1.7.7-3h3.8z\"/></svg></div>'+displayText.replace(\"%s\",\"Tumblr\")+\"</div></a>\",largeSolidEmail='<a class=\"resp-sharing-button__link\" href=\"mailto:?subject='+description.replace(\" \",\"%20\")+\"&amp;body=\"+shareUrl+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"E-Mail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--email resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z\"/></svg></div>'+displayText.replace(\"%s\",\"E-Mail\")+\"</div></a>\",largeSolidPinterest='<a class=\"resp-sharing-button__link\" id=\"wonderfulPinterest'+randomId+'\" href=\"https://pinterest.com/pin/create/button/?url='+shareUrl+\"&amp;media=\"+shareUrl+\"&amp;description=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Pinterest\")+'\"><div class=\"resp-sharing-button resp-sharing-button--pinterest resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z\"/></svg></div>'+displayText.replace(\"%s\",\"Pinterest\")+\"</div></a>\",largeSolidLinkedin='<a class=\"resp-sharing-button__link\" id=\"wonderfulLinkedin'+randomId+'\" href=\"https://www.linkedin.com/shareArticle?mini=true&amp;url='+shareUrl+\"&amp;title=\"+description.replace(\" \",\"%20\")+\"&amp;summary=\"+description.replace(\" \",\"%20\")+\"&amp;source=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"LinkedIn\")+'\"><div class=\"resp-sharing-button resp-sharing-button--linkedin resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z\"/></svg></div>'+displayText.replace(\"%s\",\"LinkedIn\")+\"</div></a>\",largeSolidReddit='<a class=\"resp-sharing-button__link\" id=\"wonderfulReddit'+randomId+'\" href=\"https://reddit.com/submit/?url='+shareUrl+\"&amp;resubmit=true&amp;title=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Reddit\")+'\"><div class=\"resp-sharing-button resp-sharing-button--reddit resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z\"/></svg></div>'+displayText.replace(\"%s\",\"Reddit\")+\"</div></a>\",largeSolidXing='<a class=\"resp-sharing-button__link\" id=\"wonderfulXing'+randomId+'\" href=\"https://www.xing.com/app/user?op=share;url='+shareUrl+\";title=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"XING\")+'\"><div class=\"resp-sharing-button resp-sharing-button--xing resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z\"/></svg></div>'+displayText.replace(\"%s\",\"XING\")+\"</div></a>\",largeSolidWhatsapp='<a class=\"resp-sharing-button__link\" href=\"https://wa.me?text='+description.replace(\" \",\"%20\")+\"%20\"+shareUrl+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"WhatsApp\")+'\"><div class=\"resp-sharing-button resp-sharing-button--whatsapp resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z\"/></svg></div>'+displayText.replace(\"%s\",\"WhatsApp\")+\"</div></a>\",largeSolidHackernews='<a class=\"resp-sharing-button__link\" id=\"wonderfulHackernews'+randomId+'\" href=\"https://news.ycombinator.com/submitlink?u='+shareUrl+\"&amp;t=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Hacker News\")+'\"><div class=\"resp-sharing-button resp-sharing-button--hackernews resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\"><path fill-rule=\"evenodd\" d=\"M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z\"></path></svg></div>'+displayText.replace(\"%s\",\"Hacker News\")+\"</div></a>\",largeSolidVk='<a class=\"resp-sharing-button__link\" id=\"wonderfulVk'+randomId+'\" href=\"http://vk.com/share.php?title='+description.replace(\" \",\"%20\")+\"&amp;url=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"VK\")+'\"><div class=\"resp-sharing-button resp-sharing-button--vk resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z\"/></svg></div>'+displayText.replace(\"%s\",\"VK\")+\"</div></a>\",largeSolidTelegram='<a class=\"resp-sharing-button__link\" id=\"wonderfulTelegram'+randomId+'\" href=\"https://telegram.me/share/url?text='+description.replace(\" \",\"%20\")+\"&amp;url=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Telegram\")+'\"><div class=\"resp-sharing-button resp-sharing-button--telegram resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z\"/></svg></div>'+displayText.replace(\"%s\",\"Telegram\")+\"</div></a>\",largeSolidGmail='<a class=\"resp-sharing-button__link\" id=\"wonderfulGmail'+randomId+'\" href=\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su='+description.replace(\" \",\"%20\")+\"&body=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Gmail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--gmail resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"48\"  height=\"48\" viewBox=\"0 0 48 48\" style=\" fill:#000000;\"><path fill=\"#4caf50\" d=\"M45,16.2l-5,2.75l-5,4.75L35,40h7c1.657,0,3-1.343,3-3V16.2z\"></path><path fill=\"#1e88e5\" d=\"M3,16.2l3.614,1.71L13,23.7V40H6c-1.657,0-3-1.343-3-3V16.2z\"></path><polygon fill=\"#e53935\" points=\"35,11.2 24,19.45 13,11.2 12,17 13,23.7 24,31.95 35,23.7 36,17\"></polygon><path fill=\"#c62828\" d=\"M3,12.298V16.2l10,7.5V11.2L9.876,8.859C9.132,8.301,8.228,8,7.298,8h0C4.924,8,3,9.924,3,12.298z\"></path><path fill=\"#fbc02d\" d=\"M45,12.298V16.2l-10,7.5V11.2l3.124-2.341C38.868,8.301,39.772,8,40.702,8h0 C43.076,8,45,9.924,45,12.298z\"></path></svg></div>'+displayText.replace(\"%s\",\"Gmail\")+\"</div></a>\",htmlContent=\"\",i;for(i=0;i<orderArray.length;i++)\"facebook\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidFacebook),\"twitter\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidTwitter),\"tumblr\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidTumblr),\"email\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidEmail),\"pinterest\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidPinterest),\"linkedin\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidLinkedin),\"reddit\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidReddit),\"xing\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidXing),\"whatsapp\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidWhatsapp),\"hackernews\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidHackernews),\"vk\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidVk),\"telegram\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidTelegram),\"gmail\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidGmail);var elem=document.getElementById(\"wonderfulShare\"+randomId);elem&&elem.remove(),instance.canvas.append('<div id=\"wonderfulShare'+randomId+'\">'+htmlContent+\"</div>\"),samePage&&(document.getElementById(\"wonderfulTwitter\"+randomId)&&document.getElementById(\"wonderfulTwitter\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://twitter.com/intent/tweet/?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl)})),document.getElementById(\"wonderfulFacebook\"+randomId)&&document.getElementById(\"wonderfulFacebook\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://facebook.com/sharer/sharer.php?u=\"+shareUrl+\"&quote=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulTumblr\"+randomId)&&document.getElementById(\"wonderfulTumblr\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://www.tumblr.com/widgets/share/tool?posttype=link&title=\"+description.replace(\" \",\"%20\")+\"&caption=\"+description.replace(\" \",\"%20\")+\"&content=\"+shareUrl+\"&canonicalUrl=\"+shareUrl+\"&shareSource=tumblr_share_button\")})),document.getElementById(\"wonderfulPinterest\"+randomId)&&document.getElementById(\"wonderfulPinterest\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://pinterest.com/pin/create/button/?url=\"+shareUrl+\"&media=\"+shareUrl+\"&description=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulLinkedin\"+randomId)&&document.getElementById(\"wonderfulLinkedin\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://www.linkedin.com/feed/?shareActive=true&text=\"+(description+\" \"+shareUrl))})),document.getElementById(\"wonderfulReddit\"+randomId)&&document.getElementById(\"wonderfulReddit\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://reddit.com/submit/?url=\"+shareUrl+\"&resubmit=true&title=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulXing\"+randomId)&&document.getElementById(\"wonderfulXing\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://www.xing.com/app/user?op=share;url=\"+shareUrl+\";title=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulHackernews\"+randomId)&&document.getElementById(\"wonderfulHackernews\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://news.ycombinator.com/submitlink?u=\"+shareUrl+\"&t=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulVk\"+randomId)&&document.getElementById(\"wonderfulVk\"+randomId).addEventListener(\"click\",(function(){openPopup(\"http://vk.com/share.php?title=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl)})),document.getElementById(\"wonderfulTelegram\"+randomId)&&document.getElementById(\"wonderfulTelegram\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://telegram.me/share/url?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl)})),document.getElementById(\"wonderfulGmail\"+randomId)&&document.getElementById(\"wonderfulGmail\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su=\"+description.replace(\" \",\"%20\")+\"&body=\"+shareUrl)})))}"},"reset":{"fn":"function(instance,context){}"}}}}};
window._bubble_page_load_data.plugins_size['1656491011335x675939450810269700'] = 23404;
window.preloaded['plugin/third_party:1656491011335x675939450810269700:1.2.0'] = true;
window.plugins["1666284313043x618167528962654200"] = {"human":"Weglot Translate","dependencies":{"use_jquery":true,"plugin_api_version":3}};
window._bubble_page_load_data.plugins_size['1666284313043x618167528962654200'] = 86;
window.preloaded['plugin/third_party:1666284313043x618167528962654200:1.0.1'] = true;
window.plugins["1674023250070x214371738013401100"] = {"human":"Custom Social Share","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_elements":{"AAa":{"display":" Share Button","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":false,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAH":{"caption":"Button Text","name":"displayText","rank":0,"editor":"DynamicValue","value":"text","default_val":" ","optional":true},"AAI":{"caption":"URL To Share","name":"shareUrl","rank":1,"editor":"DynamicValue","value":"text","default_val":"https://www.google.co.in/","optional":true},"AAJ":{"caption":"Description","name":"description","rank":2,"editor":"DynamicValue","value":"text","default_val":"Share on Social Media","optional":true},"AAK":{"caption":"Target","name":"pageTarget","rank":3,"editor":"Dropdown","default_val":"Popup","in_style":true},"AAL":{"caption":"Channel 1","name":"slot1","rank":4,"editor":"Dropdown","default_val":"Facebook"},"AAM":{"caption":"Channel 2","name":"slot2","rank":5,"editor":"Dropdown","default_val":"Twitter"},"AAN":{"caption":"Channel 3","name":"slot3","rank":6,"editor":"Dropdown","default_val":"LinkedIn"},"AAO":{"caption":"Channel 4","name":"slot4","rank":7,"editor":"Dropdown","default_val":"Email"},"AAP":{"caption":"Channel 5","name":"slot5","rank":8,"editor":"Dropdown","default_val":"Null"},"AAQ":{"caption":"Channel 6","name":"slot6","rank":9,"editor":"Dropdown","default_val":"Null"},"AAR":{"caption":"Channel 7","name":"slot7","rank":10,"editor":"Dropdown","default_val":"Null"},"AAS":{"caption":"Channel 8","name":"slot8","rank":11,"editor":"Dropdown","default_val":"Null"},"AAT":{"caption":"Channel 9","name":"slot9","rank":12,"editor":"Dropdown","default_val":"Null"},"AAU":{"caption":"Channel 10","name":"slot10","rank":13,"editor":"Dropdown","default_val":"Null"},"AAV":{"caption":"Channel 11","name":"slot11","rank":14,"editor":"Dropdown","default_val":"Null"},"AAW":{"caption":"Channel 12","name":"slot12","rank":15,"editor":"Dropdown","default_val":"Null"},"AAZ":{"caption":"Channel 13","name":"slot13","rank":16,"editor":"Dropdown","default_val":"Null"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n  var d = document.createElement(\"div\")\n  d.id = \"loaderr preview\"\n  d.style.display = \"flex\"\n  d.style.width = properties.bubble.width-0 + \"px\"\n  d.style.height = properties.bubble.height-0 + \"px\"\n  d.style.overflow = \"hidden\"\n  d.style.justifyContent = \"center\"\n  d.style.background = \"none\"\n  var x = document.createElement(\"IMG\");\n  x.setAttribute(\"src\", \"//meta.cdn.bubble.io/f1675141496316x367905996917495800/Social-Sharing.png\")\n  var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n  x.style.width = \"100px\"\n    x.style.height = \"100px\"\n  x.style.verticalAlign = \"middle\"\n    x.setAttribute(\"transform\", \"translateX(50%) translateY(50%)\")\n  d.appendChild(x)\n  var e = []\n  \n  \n  instance.canvas[0].appendChild(d)\n  var iconScale = x.offsetWidth / 100\n  e.forEach(element => element.style.fontSize = iconScale * 100 + \"%\") \n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\tinstance.data.randomId = Math.floor(Math.random() * 1000);\n\n}"},"update":{"fn":"function(instance, properties, context) {\n\t\n  let randomId = instance.data.randomId;\n  \n  \n  \n  var displayText = \"\";\n  \n  var buttonSize = \"small\";\n  \n  \n  if(properties.displayText){\n    displayText = properties.displayText;  \n  buttonSize = \"large\";\n  }\n  \n  \n  \n  \n  var shareUrl = \"\";\n  \n  if(properties.shareUrl){\n    shareUrl = properties.shareUrl;  \n  }\n  \n  var description = \"\";\n  \n  if(properties.description){\n    description = properties.description;  \n  }\n  \n  description = description.replace(\" \",\"%20\");\n  description = description.replace(\"!\",\"%21\");\n  description = description.replace('\"',\"%22\");\n  description = description.replace(\"#\",\"%23\");\n  description = description.replace(\"$\",\"%24\");\n  description = description.replace(\"&\",\"%26\");\n  description = description.replace(\"'\",\"%27\");\n  description = description.replace(\"(\",\"%28\");\n  description = description.replace(\")\",\"%29\");\n  description = description.replace(\"*\",\"%2A\");\n  description = description.replace(\"+\",\"%2B\");\n  \n  \n  function openPopup(url){\n      window.open(url,'name','width=600,height=400');\n                  \n  }\n  \n  var samePage = true;\n  if(properties.pageTarget == 'New Tab'){\n      samePage = false;\n  }\n  \n  \n  // Array for ordering\n  \n  \n  const orderArray = [properties.slot1, properties.slot2, properties.slot3, properties.slot4, properties.slot5, properties.slot6, properties.slot7, properties.slot8, properties.slot9, properties.slot10, properties.slot11, properties.slot12, properties.slot13];\n  \n  \n  // Array for ordering\n  \n  \n  \n  \n  // LARGE SOLID BUTTONS\n  \n  \n     \n     \n  \n  var largeSolidFacebook = '<a class=\"resp-sharing-button__link\" id=\"wonderfulFacebook'+randomId+'\" href=\"https://facebook.com/sharer/sharer.php?u='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Facebook\")+'\"><div class=\"resp-sharing-button resp-sharing-button--facebook resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solidcircle\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z\"/></svg></div>'+displayText.replace(\"%s\",\"Facebook\")+'</div></a>';\n  \n  var largeSolidTwitter = '<a class=\"resp-sharing-button__link\" id=\"wonderfulTwitter'+randomId+'\" href=\"https://twitter.com/intent/tweet/?text='+description.replace(\" \",\"%20\")+'&amp;url='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Twitter\")+'\"><div class=\"resp-sharing-button resp-sharing-button--twitter resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z\"/></svg></div>'+displayText.replace(\"%s\",\"Twitter\")+'</div></a>';\n     \n  var largeSolidTumblr = '<a class=\"resp-sharing-button__link\" id=\"wonderfulTumblr'+randomId+'\" href=\"https://www.tumblr.com/widgets/share/tool?posttype=link&amp;title='+description.replace(\" \",\"%20\")+'&amp;caption='+description.replace(\" \",\"%20\")+'&amp;content='+shareUrl+'&amp;canonicalUrl='+shareUrl+'&amp;shareSource=tumblr_share_button\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Tumblr\")+'\"><div class=\"resp-sharing-button resp-sharing-button--tumblr resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M13.5.5v5h5v4h-5V15c0 5 3.5 4.4 6 2.8v4.4c-6.7 3.2-12 0-12-4.2V9.5h-3V6.7c1-.3 2.2-.7 3-1.3.5-.5 1-1.2 1.4-2 .3-.7.6-1.7.7-3h3.8z\"/></svg></div>'+displayText.replace(\"%s\",\"Tumblr\")+'</div></a>';\n  \n  var largeSolidEmail = '<a class=\"resp-sharing-button__link\" href=\"mailto:?subject='+description.replace(\" \",\"%20\")+'&amp;body='+shareUrl+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"E-Mail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--email resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z\"/></svg></div>'+displayText.replace(\"%s\",\"E-Mail\")+'</div></a>';\n      \nvar largeSolidPinterest = '<a class=\"resp-sharing-button__link\" id=\"wonderfulPinterest'+randomId+'\" href=\"https://pinterest.com/pin/create/button/?url='+shareUrl+'&amp;media='+shareUrl+'&amp;description='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Pinterest\")+'\"><div class=\"resp-sharing-button resp-sharing-button--pinterest resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z\"/></svg></div>'+displayText.replace(\"%s\",\"Pinterest\")+'</div></a>';\n      \n  var largeSolidLinkedin = '<a class=\"resp-sharing-button__link\" id=\"wonderfulLinkedin'+randomId+'\" href=\"https://www.linkedin.com/shareArticle?mini=true&amp;url='+shareUrl+'&amp;title='+description.replace(\" \",\"%20\")+'&amp;summary='+description.replace(\" \",\"%20\")+'&amp;source='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"LinkedIn\")+'\"><div class=\"resp-sharing-button resp-sharing-button--linkedin resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z\"/></svg></div>'+displayText.replace(\"%s\",\"LinkedIn\")+'</div></a>';\n  \n  var largeSolidReddit = '<a class=\"resp-sharing-button__link\" id=\"wonderfulReddit'+randomId+'\" href=\"https://reddit.com/submit/?url='+shareUrl+'&amp;resubmit=true&amp;title='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Reddit\")+'\"><div class=\"resp-sharing-button resp-sharing-button--reddit resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z\"/></svg></div>'+displayText.replace(\"%s\",\"Reddit\")+'</div></a>';\n      \n  var largeSolidXing = '<a class=\"resp-sharing-button__link\" id=\"wonderfulXing'+randomId+'\" href=\"https://www.xing.com/app/user?op=share;url='+shareUrl+';title='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"XING\")+'\"><div class=\"resp-sharing-button resp-sharing-button--xing resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z\"/></svg></div>'+displayText.replace(\"%s\",\"XING\")+'</div></a>';\n      \n  var largeSolidWhatsapp = '<a class=\"resp-sharing-button__link\" href=\"whatsapp://send?text='+description.replace(\" \",\"%20\")+'%20'+shareUrl+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"WhatsApp\")+'\"><div class=\"resp-sharing-button resp-sharing-button--whatsapp resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z\"/></svg></div>'+displayText.replace(\"%s\",\"WhatsApp\")+'</div></a>';\n  \n  var largeSolidHackernews = '<a class=\"resp-sharing-button__link\" id=\"wonderfulHackernews'+randomId+'\" href=\"https://news.ycombinator.com/submitlink?u='+shareUrl+'&amp;t='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Hacker News\")+'\"><div class=\"resp-sharing-button resp-sharing-button--hackernews resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\"><path fill-rule=\"evenodd\" d=\"M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z\"></path></svg></div>'+displayText.replace(\"%s\",\"Hacker News\")+'</div></a>';\n      \n  var largeSolidVk = '<a class=\"resp-sharing-button__link\" id=\"wonderfulVk'+randomId+'\" href=\"http://vk.com/share.php?title='+description.replace(\" \",\"%20\")+'&amp;url='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"VK\")+'\"><div class=\"resp-sharing-button resp-sharing-button--vk resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z\"/></svg></div>'+displayText.replace(\"%s\",\"VK\")+'</div></a>';\n      \n  var largeSolidTelegram = '<a class=\"resp-sharing-button__link\" id=\"wonderfulTelegram'+randomId+'\" href=\"https://telegram.me/share/url?text='+description.replace(\" \",\"%20\")+'&amp;url='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Telegram\")+'\"><div class=\"resp-sharing-button resp-sharing-button--telegram resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 24\"><path d=\"M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z\"/></svg></div>'+displayText.replace(\"%s\",\"Telegram\")+'</div></a>';\n    \n    var largeSolidGmail = '<a class=\"resp-sharing-button__link\" id=\"wonderfulGmail'+randomId+'\" href=\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su='+description.replace(\" \",\"%20\")+'&body='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Gmail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--gmail resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"48\"  height=\"48\" viewBox=\"0 0 48 48\" style=\" fill:#000000;\"><path fill=\"#4caf50\" d=\"M45,16.2l-5,2.75l-5,4.75L35,40h7c1.657,0,3-1.343,3-3V16.2z\"></path><path fill=\"#1e88e5\" d=\"M3,16.2l3.614,1.71L13,23.7V40H6c-1.657,0-3-1.343-3-3V16.2z\"></path><polygon fill=\"#e53935\" points=\"35,11.2 24,19.45 13,11.2 12,17 13,23.7 24,31.95 35,23.7 36,17\"></polygon><path fill=\"#c62828\" d=\"M3,12.298V16.2l10,7.5V11.2L9.876,8.859C9.132,8.301,8.228,8,7.298,8h0C4.924,8,3,9.924,3,12.298z\"></path><path fill=\"#fbc02d\" d=\"M45,12.298V16.2l-10,7.5V11.2l3.124-2.341C38.868,8.301,39.772,8,40.702,8h0 C43.076,8,45,9.924,45,12.298z\"></path></svg></div>'+displayText.replace(\"%s\",\"Gmail\")+'</div></a>';\n      \n  \n  \n  // LARGE SOLID BUTTONS\n  \n  // Add buttons\n  \n  var htmlContent = \"\";\n  var i;\n  \n  for(i=0 ; i < orderArray.length; i++){\n      \n      if(orderArray[i].toLowerCase() == \"facebook\"){\n          htmlContent+= largeSolidFacebook;\n      }\n      \n      if(orderArray[i].toLowerCase() == \"twitter\"){\n        htmlContent+= largeSolidTwitter;\n      }\n\n      if(orderArray[i].toLowerCase() == \"tumblr\"){\n          htmlContent+= largeSolidTumblr;\n      }\n\n      if(orderArray[i].toLowerCase() == \"email\"){\n          htmlContent+= largeSolidEmail;\n      }\n\n      if(orderArray[i].toLowerCase() == \"pinterest\"){\n          htmlContent+= largeSolidPinterest;\n      }\n\n      if(orderArray[i].toLowerCase() == \"linkedin\"){\n          htmlContent+= largeSolidLinkedin;\n      }\n\n      if(orderArray[i].toLowerCase() == \"reddit\"){\n          htmlContent+= largeSolidReddit;\n      }\n\n      if(orderArray[i].toLowerCase() == \"xing\"){\n          htmlContent+= largeSolidXing;\n      }\n\n      if(orderArray[i].toLowerCase() == \"whatsapp\"){\n          htmlContent+= largeSolidWhatsapp;\n      }\n\n      if(orderArray[i].toLowerCase() == \"hackernews\"){\n          htmlContent+= largeSolidHackernews;\n      }\n\n      if(orderArray[i].toLowerCase() == \"vk\"){\n          htmlContent+= largeSolidVk;\n      }\n\n      if(orderArray[i].toLowerCase() == \"telegram\"){\n          htmlContent+= largeSolidTelegram;\n      }\n      \n      if(orderArray[i].toLowerCase() == \"gmail\"){\n          htmlContent += largeSolidGmail;\n      }\n      \n      \n  }\n  \n  \n \n  \n  \n  \n  \n  // Add buttons\n  \n  \n  \n  var elem = document.getElementById(\"wonderfulShare\"+randomId);\n  if (elem){\n   elem.remove();\n  }\n  \n  \ninstance.canvas.append('<div id=\"wonderfulShare'+randomId+'\">'+htmlContent+'</div>');\n \n    \n    \n //  instance.setHeight(document.getElementById(\"wonderfulShare\"+randomId).offsetHeight);\n  \n  if(samePage){\n      \n      if(document.getElementById(\"wonderfulTwitter\"+randomId)){\n          document.getElementById(\"wonderfulTwitter\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://twitter.com/intent/tweet/?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl);\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulFacebook\"+randomId)){\n          document.getElementById(\"wonderfulFacebook\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://facebook.com/sharer/sharer.php?u=\"+shareUrl);\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulTumblr\"+randomId)){\n          document.getElementById(\"wonderfulTumblr\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://www.tumblr.com/widgets/share/tool?posttype=link&title=\"+description.replace(\" \",\"%20\")+\"&caption=\"+description.replace(\" \",\"%20\")+\"&content=\"+shareUrl+\"&canonicalUrl=\"+shareUrl+\"&shareSource=tumblr_share_button\");\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulPinterest\"+randomId)){\n          document.getElementById(\"wonderfulPinterest\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://pinterest.com/pin/create/button/?url=\"+shareUrl+\"&media=\"+shareUrl+\"&description=\"+description.replace(\" \",\"%20\"));\n          });\n      }\n          \n  if(document.getElementById(\"wonderfulLinkedin\"+randomId)){\n          document.getElementById(\"wonderfulLinkedin\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://www.linkedin.com/shareArticle?mini=true&url=\"+shareUrl+\"&title=\"+description.replace(\" \",\"%20\")+\"&summary=\"+description.replace(\" \",\"%20\")+\"&source=\"+shareUrl);\n          });\n      }\n      \n  if(document.getElementById(\"wonderfulReddit\"+randomId)){\n          document.getElementById(\"wonderfulReddit\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://reddit.com/submit/?url=\"+shareUrl+\"&resubmit=true&title=\"+description.replace(\" \",\"%20\"));\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulXing\"+randomId)){\n          document.getElementById(\"wonderfulXing\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://www.xing.com/app/user?op=share;url=\"+shareUrl+\";title=\"+description.replace(\" \",\"%20\"));\n          });\n  }\n      \n      if(document.getElementById(\"wonderfulHackernews\"+randomId)){\n          document.getElementById(\"wonderfulHackernews\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://news.ycombinator.com/submitlink?u=\"+shareUrl+\"&t=\"+description.replace(\" \",\"%20\"));\n          });\n      }\n      \n  if(document.getElementById(\"wonderfulVk\"+randomId)){\n          document.getElementById(\"wonderfulVk\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"http://vk.com/share.php?title=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl);\n          });\n      }\n      \n  if(document.getElementById(\"wonderfulTelegram\"+randomId)){\n          document.getElementById(\"wonderfulTelegram\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://telegram.me/share/url?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl);\n          });\n      }   \n      \n  if(document.getElementById(\"wonderfulGmail\"+randomId)){\n          document.getElementById(\"wonderfulGmail\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su=\"+description.replace(\" \",\"%20\")+\"&body=\"+shareUrl);\n          });\n      }\n      \n \n      \n      \n }\n  \n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}}}}};
window._bubble_page_load_data.plugins_size['1674023250070x214371738013401100'] = 24980;
window.preloaded['plugin/third_party:1674023250070x214371738013401100:1.0.0'] = true;
window.plugins["1675244442012x127789119850414080"] = {"human":"Animated Text","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_elements":{"AAC":{"display":"AnimateText","property_applications":{"MinWidth":true,"resizable":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAE":{"caption":"Text","name":"results","rank":0,"editor":"DynamicValue","value":"text","is_list":true},"AAI":{"caption":"Bar color","name":"bar_color","rank":1,"editor":"Color","default_val":"rgba(0,0,0,1)"},"AAJ":{"caption":"Reveal Animation (ms)","name":"reveal_animation","rank":2,"editor":"StaticNumber","default_val":600},"AAK":{"caption":"Text Duration (ms)","name":"text_duration","rank":3,"editor":"StaticNumber","default_val":1500}},"states":{"AAH":{"caption":"Current Text","name":"current_text","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAN":{"caption":"Change text","code":{"fn":"function(instance,properties,context){var element;document.getElementById(\"animation-plugin-chakor\").remove(),instance.data.stop;var resultlength=properties.results.length(),res=properties.results.get(0,resultlength),ress=\"\";for(let i=0;i<resultlength;i++)ress=0==i?ress+\"<b class='is-visible'>\"+res[i]+\"</b>\":ress+\"<b class='is-hidden'>\"+res[i]+\"</b>\";var preview=document.createElement(\"div\");preview.id=\"animation-plugin-chakor\",preview.innerHTML=\"<h1 class='cd-headline clip is-full-width mb-4 '><span class='cd-words-wrapper text-color' style='width: fit-content; overflow:hidden;'>\"+ress+\"</span></h1>\",instance.canvas.append(preview),jQuery(document).ready((function($){var animationDelay=2500,lettersDelay=50,barAnimationDelay=3800,barWaiting=800,typeLettersDelay=150,selectionDuration=500,typeAnimationDelay=1300,revealDuration=instance.data.reveal_animation,revealAnimationDelay=instance.data.text_duration;function initHeadline(){singleLetters($(\".cd-headline.letters\").find(\"b\")),animateHeadline($(\".cd-headline\"))}function singleLetters($words){$words.each((function(){var word=$(this),letters=word.text().split(\"\"),selected=word.hasClass(\"is-visible\");for(i in letters)word.parents(\".rotate-2\").length>0&&(letters[i]=\"<em>\"+letters[i]+\"</em>\"),letters[i]=selected?'<i class=\"in\">'+letters[i]+\"</i>\":\"<i>\"+letters[i]+\"</i>\";var newLetters=letters.join(\"\");word.html(newLetters).css(\"opacity\",1)}))}function animateHeadline($headlines){var duration=2500;$headlines.each((function(){var headline=$(this);if(headline.hasClass(\"loading-bar\"))duration=3800,setTimeout((function(){headline.find(\".cd-words-wrapper\").addClass(\"is-loading\")}),800);else if(headline.hasClass(\"clip\")){var spanWrapper=headline.find(\".cd-words-wrapper\"),newWidth=spanWrapper.width()+10;spanWrapper.css(\"width\",newWidth)}else if(!headline.hasClass(\"type\")){var words=headline.find(\".cd-words-wrapper b\"),width=0;words.each((function(){var wordWidth=$(this).width();wordWidth>width&&(width=wordWidth)})),headline.find(\".cd-words-wrapper\").css(\"width\",width)}setTimeout((function(){hideWord(headline.find(\".is-visible\").eq(0))}),duration)}))}function hideWord($word){var nextWord=takeNext($word);if($word.parents(\".cd-headline\").hasClass(\"type\")){var parentSpan=$word.parent(\".cd-words-wrapper\");parentSpan.addClass(\"selected\").removeClass(\"waiting\"),setTimeout((function(){parentSpan.removeClass(\"selected\"),$word.removeClass(\"is-visible\").addClass(\"is-hidden\").children(\"i\").removeClass(\"in\").addClass(\"out\")}),500),setTimeout((function(){showWord(nextWord,150)}),1300)}else if($word.parents(\".cd-headline\").hasClass(\"letters\")){var bool=$word.children(\"i\").length>=nextWord.children(\"i\").length;hideLetter($word.find(\"i\").eq(0),$word,bool,50),showLetter(nextWord.find(\"i\").eq(0),nextWord,bool,50)}else $word.parents(\".cd-headline\").hasClass(\"clip\")?$word.parents(\".cd-words-wrapper\").animate({width:\"2px\"},revealDuration,(function(){switchWord($word,nextWord),showWord(nextWord)})):$word.parents(\".cd-headline\").hasClass(\"loading-bar\")?($word.parents(\".cd-words-wrapper\").removeClass(\"is-loading\"),switchWord($word,nextWord),setTimeout((function(){hideWord(nextWord)}),3800),setTimeout((function(){$word.parents(\".cd-words-wrapper\").addClass(\"is-loading\")}),800)):(switchWord($word,nextWord),setTimeout((function(){hideWord(nextWord)}),2500))}function showWord($word,$duration){$word.parents(\".cd-headline\").hasClass(\"type\")?(showLetter($word.find(\"i\").eq(0),$word,!1,$duration),$word.addClass(\"is-visible\").removeClass(\"is-hidden\")):$word.parents(\".cd-headline\").hasClass(\"clip\")&&$word.parents(\".cd-words-wrapper\").animate({width:$word.width()+10},revealDuration,(function(){setTimeout((function(){hideWord($word)}),revealAnimationDelay)}))}function hideLetter($letter,$word,$bool,$duration){if($letter.removeClass(\"in\").addClass(\"out\"),$letter.is(\":last-child\")?$bool&&setTimeout((function(){hideWord(takeNext($word))}),2500):setTimeout((function(){hideLetter($letter.next(),$word,$bool,$duration)}),$duration),$letter.is(\":last-child\")&&$(\"html\").hasClass(\"no-csstransitions\")){var nextWord=takeNext($word);switchWord($word,nextWord)}}function showLetter($letter,$word,$bool,$duration){$letter.addClass(\"in\").removeClass(\"out\"),$letter.is(\":last-child\")?($word.parents(\".cd-headline\").hasClass(\"type\")&&setTimeout((function(){$word.parents(\".cd-words-wrapper\").addClass(\"waiting\")}),200),$bool||setTimeout((function(){hideWord($word)}),2500)):setTimeout((function(){showLetter($letter.next(),$word,$bool,$duration)}),$duration)}function takeNext($word){return $word.is(\":last-child\")?$word.parent().children().eq(0):$word.next()}function takePrev($word){return $word.is(\":first-child\")?$word.parent().children().last():$word.prev()}function switchWord($oldWord,$newWord){$oldWord.removeClass(\"is-visible\").addClass(\"is-hidden\"),$newWord.removeClass(\"is-hidden\").addClass(\"is-visible\")}initHeadline()}));var styleTag=\"<style>.cd-words-wrapper {  display: inline-block;  position: relative;  text-align: left;}.cd-words-wrapper b {  display: inline-block;  position: absolute;  white-space: nowrap;}.cd-words-wrapper b.is-visible {  position: relative; height: \"+instance.data.heightt+\"px;}.no-js .cd-words-wrapper b {  opacity: 0;}.no-js .cd-words-wrapper b.is-visible {  opacity: 1;}.cd-words-wrapper {  overflow: hidden;  vertical-align: top;}.cd-words-wrapper::after {  /* line */  content: '';  position: absolute;  right: 0;  width: 2px;  height: 100%;  background-color: \"+properties.bar_color+\";}b {  opacity: 0;}b.is-visible {opacity: 1;}</style>\";$(\"html > head\").append(styleTag)}"},"fields":{"AAO":{"caption":"text","name":"results","rank":0,"editor":"DynamicValue","value":"text","is_list":true}}}},"code":{"preview":{"fn":""},"initialize":{"fn":"function(instance,context){instance.data.run=!0,instance.data.stop=!1}"},"update":{"fn":"function(instance,properties,context){if(1==instance.data.run&&null!=properties.results){instance.data.text_duration=properties.text_duration,instance.data.reveal_animation=properties.reveal_animation,jQuery(document).ready((function($){var animationDelay=2500,lettersDelay=50,barAnimationDelay=3800,barWaiting=800,typeLettersDelay=150,selectionDuration=500,typeAnimationDelay=1300,revealDuration=properties.reveal_animation,revealAnimationDelay=properties.text_duration;function initHeadline(){singleLetters($(\".cd-headline.letters\").find(\"b\")),animateHeadline($(\".cd-headline\"))}function singleLetters($words){instance.publishState(\"current_text\",document.querySelector(\".is-visible\").innerHTML),$words.each((function(){var word=$(this),letters=word.text().split(\"\"),selected=word.hasClass(\"is-visible\");for(i in letters)word.parents(\".rotate-2\").length>0&&(letters[i]=\"<em>\"+letters[i]+\"</em>\"),letters[i]=selected?'<i class=\"in\">'+letters[i]+\"</i>\":\"<i>\"+letters[i]+\"</i>\";var newLetters=letters.join(\"\");word.html(newLetters).css(\"opacity\",1)}))}function animateHeadline($headlines){var duration=2500;$headlines.each((function(){var headline=$(this);if(headline.hasClass(\"loading-bar\"))duration=3800,setTimeout((function(){headline.find(\".cd-words-wrapper\").addClass(\"is-loading\")}),800);else if(headline.hasClass(\"clip\")){var spanWrapper=headline.find(\".cd-words-wrapper\"),newWidth=spanWrapper.width()+10;spanWrapper.css(\"width\",newWidth)}else if(!headline.hasClass(\"type\")){var words=headline.find(\".cd-words-wrapper b\"),width=0;words.each((function(){var wordWidth=$(this).width();wordWidth>width&&(width=wordWidth)})),headline.find(\".cd-words-wrapper\").css(\"width\",width)}setTimeout((function(){hideWord(headline.find(\".is-visible\").eq(0))}),duration)}))}function hideWord($word){var nextWord=takeNext($word);if($word.parents(\".cd-headline\").hasClass(\"type\")){var parentSpan=$word.parent(\".cd-words-wrapper\");parentSpan.addClass(\"selected\").removeClass(\"waiting\"),setTimeout((function(){parentSpan.removeClass(\"selected\"),$word.removeClass(\"is-visible\").addClass(\"is-hidden\").children(\"i\").removeClass(\"in\").addClass(\"out\")}),500),setTimeout((function(){showWord(nextWord,150)}),1300)}else if($word.parents(\".cd-headline\").hasClass(\"letters\")){var bool=$word.children(\"i\").length>=nextWord.children(\"i\").length;hideLetter($word.find(\"i\").eq(0),$word,bool,50),showLetter(nextWord.find(\"i\").eq(0),nextWord,bool,50)}else $word.parents(\".cd-headline\").hasClass(\"clip\")?$word.parents(\".cd-words-wrapper\").animate({width:\"2px\"},revealDuration,(function(){switchWord($word,nextWord),showWord(nextWord)})):$word.parents(\".cd-headline\").hasClass(\"loading-bar\")?($word.parents(\".cd-words-wrapper\").removeClass(\"is-loading\"),switchWord($word,nextWord),setTimeout((function(){hideWord(nextWord)}),3800),setTimeout((function(){$word.parents(\".cd-words-wrapper\").addClass(\"is-loading\")}),800)):(switchWord($word,nextWord),setTimeout((function(){hideWord(nextWord)}),2500))}function showWord($word,$duration){$word.parents(\".cd-headline\").hasClass(\"type\")?(showLetter($word.find(\"i\").eq(0),$word,!1,$duration),$word.addClass(\"is-visible\").removeClass(\"is-hidden\")):$word.parents(\".cd-headline\").hasClass(\"clip\")&&$word.parents(\".cd-words-wrapper\").animate({width:$word.width()+10},revealDuration,(function(){setTimeout((function(){hideWord($word)}),revealAnimationDelay)}))}function hideLetter($letter,$word,$bool,$duration){if($letter.removeClass(\"in\").addClass(\"out\"),$letter.is(\":last-child\")?$bool&&setTimeout((function(){hideWord(takeNext($word))}),2500):setTimeout((function(){hideLetter($letter.next(),$word,$bool,$duration)}),$duration),$letter.is(\":last-child\")&&$(\"html\").hasClass(\"no-csstransitions\")){var nextWord=takeNext($word);switchWord($word,nextWord)}}function showLetter($letter,$word,$bool,$duration){$letter.addClass(\"in\").removeClass(\"out\"),$letter.is(\":last-child\")?($word.parents(\".cd-headline\").hasClass(\"type\")&&setTimeout((function(){$word.parents(\".cd-words-wrapper\").addClass(\"waiting\")}),200),$bool||setTimeout((function(){hideWord($word)}),2500)):setTimeout((function(){showLetter($letter.next(),$word,$bool,$duration)}),$duration)}function takeNext($word){return $word.is(\":last-child\")?$word.parent().children().eq(0):$word.next()}function takePrev($word){return $word.is(\":first-child\")?$word.parent().children().last():$word.prev()}function switchWord($oldWord,$newWord){$oldWord.removeClass(\"is-visible\").addClass(\"is-hidden\"),$newWord.removeClass(\"is-hidden\").addClass(\"is-visible\"),instance.publishState(\"current_text\",document.querySelector(\".is-visible\").innerHTML)}initHeadline()}));var resultlength=properties.results.length(),res=properties.results.get(0,resultlength),ress=\"\";for(let i=0;i<resultlength;i++)ress=0==i?ress+\"<b class='is-visible'>\"+res[i]+\"</b>\":ress+\"<b class='is-hidden'>\"+res[i]+\"</b>\";var preview=document.createElement(\"div\");preview.id=\"animation-plugin-chakor\",preview.innerHTML=\"<h1 class='cd-headline clip is-full-width mb-4'><span class='cd-words-wrapper text-color' style='width: fit-content; overflow:hidden;'>\"+ress+\"</span></h1>\",instance.canvas.append(preview),instance.data.heightt=properties.bubble.font_size()+10,instance.data.run=!1}var styleTag=\"<style>.cd-words-wrapper {  display: inline-block;  position: relative;  text-align: left;}.cd-words-wrapper b {  display: inline-block;  position: absolute;  white-space: nowrap;}.cd-words-wrapper b.is-visible {  position: relative; height: \"+instance.data.heightt+\"px;}.no-js .cd-words-wrapper b {  opacity: 0;}.no-js .cd-words-wrapper b.is-visible {  opacity: 1;}.cd-words-wrapper {  overflow: hidden;  vertical-align: top;}.cd-words-wrapper::after {  /* line */  content: '';  position: absolute;  right: 0;  width: 2px;  height: 100%;  background-color: \"+properties.bar_color+\";}b {  opacity: 0;}b.is-visible {opacity: 1;}</style>\";$(\"html > head\").append(styleTag)}"},"reset":{"fn":"function(instance,context){}"}}}}};
window._bubble_page_load_data.plugins_size['1675244442012x127789119850414080'] = 13143;
window.preloaded['plugin/third_party:1675244442012x127789119850414080:1.0.3'] = true;
window.plugins["1695919380905x297443820195807200"] = {"human":"Nocodable Components","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_api":{"human":"Nocodable","shared_headers":{"AAC":{"key":"content-type","value":"application/json","private":true,"visibility":"hidden"},"AAD":{"key":"accept","value":"application/json","private":true,"visibility":"hidden"}},"calls":{"AAE":{"name":"Users","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://app.nocodable-components.com/api/1.1/wf/get_dummy_users","initialized":true,"types":"{\"plugin_api.AAE\":{\"caption\":\"User\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"success\"},\"_p_response.users\":{\"ret_value\":\"list.api.1695919380905x297443820195807200.plugin_api.AAE.response.users\",\"caption\":\"response users\",\"path\":[\"response\",\"users\"]}}},\"plugin_api.AAE.response.users\":{\"caption\":\"Users response user\",\"fields\":{\"_p_First name\":{\"ret_value\":\"text\",\"caption\":\"First name\",\"sample_value\":\"John\"},\"_p_Last name\":{\"ret_value\":\"text\",\"caption\":\"Last name\",\"sample_value\":\"Doe\"},\"_p_Profile picture\":{\"ret_value\":\"text\",\"caption\":\"Profile picture\",\"sample_value\":null},\"_p_Age\":{\"ret_value\":\"number\",\"caption\":\"Age\",\"sample_value\":28},\"_p_Birthday\":{\"ret_value\":\"number\",\"caption\":\"Birthday\",\"sample_value\":800488800000},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"johndoe@example.com\"},\"_p_Phone number\":{\"ret_value\":\"text\",\"caption\":\"Phone number\",\"sample_value\":\"+1 (123) 456-7890\"},\"_p__id\":{\"ret_value\":\"text\",\"caption\":\"_id\",\"sample_value\":\"1696320596371x740854023843773600\"}}}}","ret_value":"api.1695919380905x297443820195807200.plugin_api.AAE"},"AAG":{"0":"A","1":"A","2":"F","name":"Transactions","method":"post","publish_as":"data","should_reinitialize":false,"url":"https://app.nocodable-components.com/api/1.1/wf/get_dummy_transactions","initialized":true,"types":"{\"plugin_api.AAG\":{\"caption\":\"Transaction\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"success\"},\"_p_response.transactions\":{\"ret_value\":\"list.api.1695919380905x297443820195807200.plugin_api.AAG.response.transactions\",\"caption\":\"response transactions\",\"path\":[\"response\",\"transactions\"]}}},\"plugin_api.AAG.response.transactions\":{\"caption\":\"Transactions response transaction\",\"fields\":{\"_p_Amount\":{\"ret_value\":\"number\",\"caption\":\"Amount\",\"sample_value\":50},\"_p_Customer_first_name\":{\"ret_value\":\"text\",\"caption\":\"Customer_first_name\",\"sample_value\":\"John\"},\"_p_Customer_last_name\":{\"ret_value\":\"text\",\"caption\":\"Customer_last_name\",\"sample_value\":\"Doe\"},\"_p_Periodicity\":{\"ret_value\":\"text\",\"caption\":\"Periodicity\",\"sample_value\":null},\"_p_Payment_method\":{\"ret_value\":\"text\",\"caption\":\"Payment_method\",\"sample_value\":\"Credit Card\"},\"_p_Date of payment\":{\"ret_value\":\"date\",\"caption\":\"Date of payment\",\"sample_value\":1694728800000},\"_p_Customer_profile_pic\":{\"ret_value\":\"image\",\"caption\":\"Customer_profile_pic\",\"sample_value\":\"//90165705fd67cb544c96ed3eb75388f3.cdn.bubble.io/f1696325289463x411536326683352500/Rectangle%2018.png\"},\"_p_Customer_email\":{\"ret_value\":\"text\",\"caption\":\"Customer_email\",\"sample_value\":\"johndoe@example.com\"},\"_p_Status\":{\"ret_value\":\"text\",\"caption\":\"Status\",\"sample_value\":null},\"_p__id\":{\"ret_value\":\"text\",\"caption\":\"_id\",\"sample_value\":\"1696320757047x513862600097837700\"}}}}","ret_value":"api.1695919380905x297443820195807200.plugin_api.AAG"},"AAK":{"0":"A","1":"A","2":"J","name":"Blog Posts","method":"post","publish_as":"data","should_reinitialize":false,"url":"https://app.nocodable-components.com/api/1.1/wf/get_dummy_blog_posts","initialized":true,"types":"{\"plugin_api.AAK\":{\"caption\":\"Blog Post\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"success\"},\"_p_response.blog_posts\":{\"ret_value\":\"list.api.1695919380905x297443820195807200.plugin_api.AAK.response.blog_posts\",\"caption\":\"response blog_posts\",\"path\":[\"response\",\"blog_posts\"]}}},\"plugin_api.AAK.response.blog_posts\":{\"caption\":\"Blog Posts response blog_post\",\"fields\":{\"_p_Author_first_name\":{\"ret_value\":\"text\",\"caption\":\"Author_first_name\",\"sample_value\":\"Jane\"},\"_p_Summary\":{\"ret_value\":\"text\",\"caption\":\"Summary\",\"sample_value\":\"An insightful look into the latest trends and techniques in web design.\"},\"_p_Author_last_name\":{\"ret_value\":\"text\",\"caption\":\"Author_last_name\",\"sample_value\":\"Smith\"},\"_p_Title\":{\"ret_value\":\"text\",\"caption\":\"Title\",\"sample_value\":\"Exploring the World of Web Design\"},\"_p_Author_profile_picture\":{\"ret_value\":\"image\",\"caption\":\"Author_profile_picture\",\"sample_value\":null},\"_p_Category\":{\"ret_value\":\"text\",\"caption\":\"Category\",\"sample_value\":\"Web Design\"},\"_p_Content\":{\"ret_value\":\"text\",\"caption\":\"Content\",\"sample_value\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec urna velit. Maecenas non justo in arcu bibendum tempus. Proin bibendum fringilla nulla a vehicula. Fusce vehicula, ex ac venenatis.\"},\"_p_Image\":{\"ret_value\":\"image\",\"caption\":\"Image\",\"sample_value\":null},\"_p_Number of views\":{\"ret_value\":\"number\",\"caption\":\"Number of views\",\"sample_value\":1220},\"_p_Published_date\":{\"ret_value\":\"date\",\"caption\":\"Published_date\",\"sample_value\":null},\"_p_Author_job_title\":{\"ret_value\":\"text\",\"caption\":\"Author_job_title\",\"sample_value\":\"UX/UI Designer\"},\"_p__id\":{\"ret_value\":\"text\",\"caption\":\"_id\",\"sample_value\":\"1697026317306x145169193242559400\"}}}}","ret_value":"api.1695919380905x297443820195807200.plugin_api.AAK"},"AAM":{"0":"A","1":"A","2":"L","name":"FAQ","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://app.nocodable-components.com/api/1.1/wf/get_dummy_faq","initialized":true,"types":"{\"plugin_api.AAM\":{\"caption\":\"FAQ\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"success\"},\"_p_response.faq\":{\"ret_value\":\"list.api.1695919380905x297443820195807200.plugin_api.AAM.response.faq\",\"caption\":\"response faq\",\"path\":[\"response\",\"faq\"]}}},\"plugin_api.AAM.response.faq\":{\"caption\":\"FAQ response faq\",\"fields\":{\"_p_Answer\":{\"ret_value\":\"text\",\"caption\":\"Answer\",\"sample_value\":\"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\"},\"_p_Question\":{\"ret_value\":\"text\",\"caption\":\"Question\",\"sample_value\":\"Is it useful for design?\"},\"_p__id\":{\"ret_value\":\"text\",\"caption\":\"_id\",\"sample_value\":\"1696320739329x166292041087508380\"}}}}","ret_value":"api.1695919380905x297443820195807200.plugin_api.AAM"},"AAO":{"0":"A","1":"A","2":"N","name":"Products","method":"post","publish_as":"data","should_reinitialize":false,"url":"https://nocodable-components.bubbleapps.io/version-test/api/1.1/wf/get_dummy_products","initialized":true,"types":"{\"plugin_api.AAO\":{\"caption\":\"Product\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"success\"},\"_p_response.products\":{\"ret_value\":\"list.api.1695919380905x297443820195807200.plugin_api.AAO.response.products\",\"caption\":\"response products\",\"path\":[\"response\",\"products\"]}}},\"plugin_api.AAO.response.products\":{\"caption\":\"Products response product\",\"fields\":{\"_p_Colors (Hex)\":{\"ret_value\":\"list.text\",\"caption\":\"Colors (Hex)\",\"sample_value\":\"FFC0CB\"},\"_p_Name\":{\"ret_value\":\"text\",\"caption\":\"Name\",\"sample_value\":\"Pink Elegant T-Shirt\"},\"_p_Rating\":{\"ret_value\":\"number\",\"caption\":\"Rating\",\"sample_value\":1},\"_p_Sizes\":{\"ret_value\":\"list.text\",\"caption\":\"Sizes\",\"sample_value\":\"M\"},\"_p_Number of reviews\":{\"ret_value\":\"number\",\"caption\":\"Number of reviews\",\"sample_value\":201},\"_p_Colors\":{\"ret_value\":\"list.text\",\"caption\":\"Colors\",\"sample_value\":\"Pink\"},\"_p_Description\":{\"ret_value\":\"text\",\"caption\":\"Description\",\"sample_value\":\"This pink t-shirt is a must-have in every wardrobe. Made with premium quality fabric, it ensures comfort and durability. Whether you're going for a casual day out or a night in the town, this t-shirt has got you covered. Its unique color stands out and adds a touch of elegance to your outfit. The fit is perfect, and the design is versatile. It pair\"},\"_p_Price\":{\"ret_value\":\"number\",\"caption\":\"Price\",\"sample_value\":29.22},\"_p__id\":{\"ret_value\":\"text\",\"caption\":\"_id\",\"sample_value\":\"1697041876336x245227863922735200\"}}}}","ret_value":"api.1695919380905x297443820195807200.plugin_api.AAO"},"AAQ":{"0":"A","1":"A","2":"P","name":"JOB Offers","method":"post","publish_as":"data","should_reinitialize":false,"url":"https://nocodable-components.bubbleapps.io/api/1.1/wf/get_dummy_job_offers","initialized":true,"types":"{\"plugin_api.AAQ\":{\"caption\":\"JOB Offer\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"success\"},\"_p_response.job_offers\":{\"ret_value\":\"list.api.1695919380905x297443820195807200.plugin_api.AAQ.response.job_offers\",\"caption\":\"response job_offers\",\"path\":[\"response\",\"job_offers\"]}}},\"plugin_api.AAQ.response.job_offers\":{\"caption\":\"JOB Offers response job_offer\",\"fields\":{\"_p_Modified Date\":{\"ret_value\":\"number\",\"caption\":\"Modified Date\",\"sample_value\":1698656339792},\"_p_Created Date\":{\"ret_value\":\"number\",\"caption\":\"Created Date\",\"sample_value\":1698656339792},\"_p_Created By\":{\"ret_value\":\"text\",\"caption\":\"Created By\",\"sample_value\":\"admin_user_nocodable-components_live\"},\"_p_Company Name\":{\"ret_value\":\"text\",\"caption\":\"Company Name\",\"sample_value\":\"Microsoft\"},\"_p_Job Title\":{\"ret_value\":\"text\",\"caption\":\"Job Title\",\"sample_value\":\"Software Engineer\"},\"_p_Remote\":{\"ret_value\":\"text\",\"caption\":\"Remote\",\"sample_value\":\"Fully Remote\"},\"_p_Status\":{\"ret_value\":\"text\",\"caption\":\"Status\",\"sample_value\":\"Active\"},\"_p_Summary\":{\"ret_value\":\"text\",\"caption\":\"Summary\",\"sample_value\":\"Develop, test, and deploy software solutions to meet customer needs.\"},\"_p_Type of Job\":{\"ret_value\":\"text\",\"caption\":\"Type of Job\",\"sample_value\":\"Full Time\"},\"_p__id\":{\"ret_value\":\"text\",\"caption\":\"_id\",\"sample_value\":\"1698656339792x994374876206722200\"},\"_p_Company logo\":{\"ret_value\":\"text\",\"caption\":\"Company logo\",\"sample_value\":\"//90165705fd67cb544c96ed3eb75388f3.cdn.bubble.io/f1698656351464x456682400060077100/Salesforce.com_logo.svg\"}}}}","ret_value":"api.1695919380905x297443820195807200.plugin_api.AAQ"},"AAS":{"0":"A","1":"A","2":"R","name":"Notifications","method":"post","publish_as":"data","should_reinitialize":false,"url":"https://nocodable-components.bubbleapps.io/api/1.1/wf/get_dummy_notifications","initialized":true,"types":"{\"plugin_api.AAS\":{\"caption\":\"Notification\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"success\"},\"_p_response.notifications\":{\"ret_value\":\"list.api.1695919380905x297443820195807200.plugin_api.AAS.response.notifications\",\"caption\":\"response notifications\",\"path\":[\"response\",\"notifications\"]}}},\"plugin_api.AAS.response.notifications\":{\"caption\":\"Notifications response notification\",\"fields\":{\"_p_Message\":{\"ret_value\":\"text\",\"caption\":\"Message\",\"sample_value\":\"John Doe commented on your post\"},\"_p_Sender name\":{\"ret_value\":\"text\",\"caption\":\"Sender name\",\"sample_value\":\"John Doe\"},\"_p_Sender profile picture\":{\"ret_value\":\"text\",\"caption\":\"Sender profile picture\",\"sample_value\":\"//90165705fd67cb544c96ed3eb75388f3.cdn.bubble.io/f1700039230239x393277882369557060/Ellipse%2039.png\"},\"_p_Sent\":{\"ret_value\":\"text\",\"caption\":\"Sent\",\"sample_value\":\"1 hour ago\"},\"_p_Created Date\":{\"ret_value\":\"number\",\"caption\":\"Created Date\",\"sample_value\":1700039564836},\"_p_Modified Date\":{\"ret_value\":\"number\",\"caption\":\"Modified Date\",\"sample_value\":1700039564836},\"_p__id\":{\"ret_value\":\"text\",\"caption\":\"_id\",\"sample_value\":\"1700039564836x374084779278430340\"}}}}","ret_value":"api.1695919380905x297443820195807200.plugin_api.AAS"}}}};
window._bubble_page_load_data.plugins_size['1695919380905x297443820195807200'] = 12637;
window.preloaded['plugin/third_party:1695919380905x297443820195807200:1.3.0'] = true;
window['bubble_run_derived'] = window['bubble_run_derived'] || {}
window['bubble_run_derived']['{"function_name":"PageByName","args":[]}'] = {"404":{"id":"AAU","_path":"%p3.AAX"},"reset_pw":{"id":"AAL","_path":"%p3.AAW"},"dashboard":{"id":"bTGYf","_path":"%p3.bTGbC"},"sign-up-auth":{"id":"bTHMq","_path":"%p3.bTHNo"},"index":{"id":"bTIBe","_path":"%p3.bTIBf"},"dash2":{"id":"bTKhJ","_path":"%p3.bTKyy"},"slidegenerator":{"id":"bTNIZ","_path":"%p3.bTNSL"},"previewslide":{"id":"bTNcp","_path":"%p3.bTNlw"},"slidegeneratorv2":{"id":"bTOAR","_path":"%p3.bTOKs"},"subscription_confirmation":{"id":"bTQkz","_path":"%p3.bTQqn"},"terms_and_conditions":{"id":"bTQue","_path":"%p3.bTREa"},"schools_landing":{"id":"bTRRb","_path":"%p3.bTRbd"},"lesson-planner":{"id":"bTSFM","_path":"%p3.bTSPm"},"report-writer":{"id":"bTSaR","_path":"%p3.bTSkn"},"assessment-creator":{"id":"bTSlV","_path":"%p3.bTSvr"},"old-blogs":{"id":"bTSzB","_path":"%p3.bTTJj"},"index-pro":{"id":"bTTWF","_path":"%p3.bTTgn"},"sign-up-auth-pro":{"id":"bTTqb","_path":"%p3.bTTtt"},"subscription-pro":{"id":"bTTuH","_path":"%p3.bTUAA"},"blog-post-1":{"id":"bTUun","_path":"%p3.bTVGC"},"privacy-policy":{"id":"bTVmd","_path":"%p3.bTVqD"},"about-us":{"id":"bTVqH","_path":"%p3.bTVth"},"contact-us":{"id":"bTVuF","_path":"%p3.bTVxp"},"blog":{"id":"bTXzF","_path":"%p3.bTXzG"},"account":{"id":"bTIUy0","_path":"%p3.bTIXd0"},"tool":{"id":"bTIaL0","_path":"%p3.bTIcq0"},"tool_template_image":{"id":"bTIkT0","_path":"%p3.bTInm0"},"verification":{"id":"bTPNJ0","_path":"%p3.bTPQK0"},"subscription":{"id":"bTPfz0","_path":"%p3.bTPns0"},"blog-post":{"id":"bTXHl1","_path":"%p3.bTXHm1"},"add-blog":{"id":"bTXJY0","_path":"%p3.bTXNO0"},"export":{"id":"bTYRv0","_path":"%p3.bTYRw0"}}
window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true;
window['bubble_run_derived']['{"function_name":"CustomByName","args":[]}'] = {"Account Details":{"id":"bTHQA","_path":"%ed.bTHQB"},"Plan":{"id":"bTHRy","_path":"%ed.bTHSV"},"Usage":{"id":"bTHcJ","_path":"%ed.bTHfv"}}
window.preloaded['app/derived:{"function_name":"CustomByName","args":[]}'] = true;
window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = ["stripe-GetStripeCard","stripe-GetStripeCards","stripe-GetStripeSubscription","stripe-GetStripeSubscriptions","stripe-GetSellerData","stripe-GetCustomerID","stripe-GetStripeInvoices","stripe-GetStripeTaxIDs"]
window.preloaded['app/derived:{"function_name":"UserCalls","args":[]}'] = true;
window['bubble_run_derived']['{"function_name":"OAuthProviders","args":[]}'] = []
window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true;
window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"banners":[{"name":"color2_text","value":"text","display":"Color2","default_val":"#9729DC","deleted":null},{"name":"color_text","value":"text","display":"Color1","default_val":"#C67BF5","deleted":null},{"name":"content_text","value":"text","display":"Content","deleted":null},{"name":"header_text","value":"text","display":"Header","deleted":null},{"name":"image_image","value":"image","display":"Image","default_val":"//9b05dd864822d678c9fcbed18bf8311c.cdn.bubble.io/f1694377456518x643839668183807000/7800_6_2_02%20-%20Moyenne.png","deleted":null},{"name":"plan_and_billing_boolean","value":"boolean","display":"Plan and billing","deleted":null},{"name":"tool_boolean","value":"boolean","display":"Tool","deleted":null},{"name":"tool_custom_tool","value":"custom.tool","display":"Tool","deleted":null},{"name":"visibility_boolean","value":"boolean","display":"Visibility","default_val":false,"deleted":null}],"blog":[{"name":"catagory_option_blog_category","value":"option.blog_category","display":"catagory","deleted":null},{"name":"catagory_option_views","value":"option.views","display":"catagory - deleted","deleted":true},{"name":"content_text","value":"text","display":"content","deleted":null},{"name":"contentafter_text","value":"text","display":"content_2","deleted":null},{"name":"contentbefore_text","value":"text","display":"content_1","deleted":null},{"name":"image1_image","value":"image","display":"image_1","deleted":null},{"name":"image2_image","value":"image","display":"image_2","deleted":null},{"name":"teaser_text_text","value":"text","display":"Teaser text","deleted":null},{"name":"thumbnail_image","value":"image","display":"Thumbnail","deleted":null},{"name":"title_text","value":"text","display":"Title","deleted":null}],"category":[{"name":"appear_first__boolean","value":"boolean","display":"Appear first?","deleted":null},{"name":"icon_text","value":"text","display":"Icon","deleted":null},{"name":"modified_order_number","value":"number","display":"modified order","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null}],"chart":[{"name":"day_date","value":"date","display":"Day","deleted":null},{"name":"iteration_number","value":"number","display":"Iteration","deleted":null}],"curriculums":[{"name":"country_option_country","value":"option.country","display":"Country","deleted":null},{"name":"country_text","value":"text","display":"Country - deleted","deleted":true},{"name":"name_text","value":"text","display":"Name","deleted":null}],"favorites":[],"feedbacks":[{"name":"cancellation_feedback_text","value":"text","display":"Cancellation Feedback","deleted":null},{"name":"email_text","value":"text","display":"Email","deleted":null},{"name":"first_name_text","value":"text","display":"First Name","deleted":null},{"name":"last_name__text","value":"text","display":"Last name ","deleted":null},{"name":"tools_request_text","value":"text","display":"Tools Request","deleted":null}],"new_plans":[{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"features_list_custom_tool","value":"list.custom.tool","display":"Features","deleted":null},{"name":"free_trial_number","value":"number","display":"Free Trial","deleted":null},{"name":"frequency_option_payment_frequency","value":"option.payment_frequency","display":"Frequency","deleted":null},{"name":"monthly_limit_number","value":"number","display":"Monthly Limit","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"price_number","value":"number","display":"Price","deleted":null},{"name":"productid_stripe_text","value":"text","display":"productID Stripe","deleted":null}],"payments":[{"name":"canceled_boolean","value":"boolean","display":"canceled","default_val":false,"deleted":null},{"name":"last_payement_date_date","value":"date","display":"last payement date","deleted":null},{"name":"monthly_limit_number","value":"number","display":"monthly limit","deleted":null},{"name":"payement_frequency_text","value":"text","display":"payement frequency","deleted":null},{"name":"plan_custom_plan","value":"custom.plan","display":"plan","deleted":null},{"name":"planname_text","value":"text","display":"planName","deleted":null},{"name":"product_id_text","value":"text","display":"product ID","deleted":null},{"name":"statut_text","value":"text","display":"statut","deleted":null},{"name":"stripe_customer_id_text","value":"text","display":"stripe customer ID","deleted":null},{"name":"subscription_end_date_date","value":"date","display":"subscription end date","deleted":null}],"plan":[{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"features_list_text","value":"list.text","display":"Features - deleted","deleted":true},{"name":"free_trial_number","value":"number","display":"Free Trial","deleted":null},{"name":"free_trial_text","value":"text","display":"Free Trial - deleted","deleted":true},{"name":"frequence_text","value":"text","display":"Frequence - deleted","deleted":true},{"name":"frequency_option_payment_frequency","value":"option.payment_frequency","display":"Frequency","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"new_boolean","value":"boolean","display":"new","deleted":null},{"name":"ordernumber_number","value":"number","display":"orderNumber","deleted":null},{"name":"price_number","value":"number","display":"Price","deleted":null},{"name":"productid_stripe_text","value":"text","display":"productID Stripe","deleted":null},{"name":"tools_custom_tool","value":"custom.tool","display":"Tools - deleted","deleted":true},{"name":"tools_list_custom_tool","value":"list.custom.tool","display":"Features","deleted":null},{"name":"words_number","value":"number","display":"Monthly Limit","deleted":null}],"responseai":[{"name":"content_text","value":"text","display":"Content","deleted":null},{"name":"savedhours_number","value":"number","display":"SavedHours","deleted":null},{"name":"tool_custom_tool","value":"custom.tool","display":"Tool","deleted":null}],"slides":[{"name":"contentai_text","value":"text","display":"ContentAI","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"pages_custom_slidespages","value":"custom.slidespages","display":"Pages","deleted":null}],"slidespages":[{"name":"content_text","value":"text","display":"Content","deleted":null},{"name":"image_text","value":"text","display":"Image","deleted":null},{"name":"index_number","value":"number","display":"Index","deleted":null},{"name":"slide_custom_slides","value":"custom.slides","display":"Slide","deleted":null}],"tool":[{"name":"category_id_custom_category","value":"custom.category","display":"Category ID - deleted","deleted":true},{"name":"category_id_list_custom_category","value":"list.custom.category","display":"Category Id","deleted":null},{"name":"category_option_views","value":"option.views","display":"Category Display","deleted":null},{"name":"char_limit_of_input_2_number","value":"number","display":"Char Limit of Input 2","deleted":null},{"name":"char_limit_of_input_3_number","value":"number","display":"Char Limit of Input 3","deleted":null},{"name":"char_limit_of_input_4_number","value":"number","display":"Char limit of input 4","deleted":null},{"name":"char_limit_of_input_4_text","value":"text","display":"Char limit of input 4 - deleted","deleted":true},{"name":"char_limit_of_input_5_number","value":"number","display":"Char limit of input 5","deleted":null},{"name":"char_limit_of_input_6_number","value":"number","display":"Char limit of input 6","deleted":null},{"name":"character_limit_of_input_1_number","value":"number","display":"Char Limit of Input 1","deleted":null},{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"dropdown_choices_10_list_text","value":"list.text","display":"Dropdown choices 10","deleted":null},{"name":"dropdown_choices_1_list_text","value":"list.text","display":"Dropdown choices 1","deleted":null},{"name":"dropdown_choices_2_list_text","value":"list.text","display":"Dropdown choices 2","deleted":null},{"name":"dropdown_choices_2_text","value":"text","display":"Dropdown choices 2 - deleted","deleted":true},{"name":"dropdown_choices_3_list_text","value":"list.text","display":"Dropdown choices 3","deleted":null},{"name":"dropdown_choices_4_list_text","value":"list.text","display":"Dropdown choices 4","deleted":null},{"name":"dropdown_choices_4_text","value":"text","display":"Dropdown choices 4 - deleted","deleted":true},{"name":"dropdown_choices_5_list_text","value":"list.text","display":"Dropdown choices 5","deleted":null},{"name":"dropdown_choices_6_list_text","value":"list.text","display":"Dropdown choices 6","deleted":null},{"name":"dropdown_choices_7_list_text","value":"list.text","display":"Dropdown choices 7","deleted":null},{"name":"dropdown_choices_8_list_text","value":"list.text","display":"Dropdown choices 8","deleted":null},{"name":"dropdown_choices_9_list_text","value":"list.text","display":"Dropdown choices 9","deleted":null},{"name":"icon_text","value":"text","display":"Icon","deleted":null},{"name":"image_image","value":"image","display":"Image","deleted":null},{"name":"inputtye_option_input_type","value":"option.input_type","display":"inputType 1","deleted":null},{"name":"inputtype2_option_input_type","value":"option.input_type","display":"inputType 2","deleted":null},{"name":"inputtype_10_option_input_type","value":"option.input_type","display":"inputType 10","deleted":null},{"name":"inputtype_3_option_input_type","value":"option.input_type","display":"inputType 3","deleted":null},{"name":"inputtype_4_option_input_type","value":"option.input_type","display":"inputType 4","deleted":null},{"name":"inputtype_5_option_input_type","value":"option.input_type","display":"inputType 5","deleted":null},{"name":"inputtype_6_option_input_type","value":"option.input_type","display":"inputType 6","deleted":null},{"name":"inputtype_7_option_input_type","value":"option.input_type","display":"inputType 7","deleted":null},{"name":"inputtype_8_option_input_type","value":"option.input_type","display":"inputType 8","deleted":null},{"name":"inputtype_9_option_input_type","value":"option.input_type","display":"inputType 9","deleted":null},{"name":"instructions_text","value":"text","display":"Instructions","deleted":null},{"name":"isvisble_boolean","value":"boolean","display":"isVisble","deleted":null},{"name":"max_tokens_number","value":"number","display":"Max tokens (API)","deleted":null},{"name":"name_of_input_10_text","value":"text","display":"Name of input 10","deleted":null},{"name":"name_of_input_1_text","value":"text","display":"Name of input 1","deleted":null},{"name":"name_of_input_2_text","value":"text","display":"Name of Input 2","deleted":null},{"name":"name_of_input_3_text","value":"text","display":"Name of input 3","deleted":null},{"name":"name_of_input_4_text","value":"text","display":"Name of input 4","deleted":null},{"name":"name_of_input_5_text","value":"text","display":"Name of input 5","deleted":null},{"name":"name_of_input_6_text","value":"text","display":"Name of input 6","deleted":null},{"name":"name_of_input_7_text","value":"text","display":"Name of input 7","deleted":null},{"name":"name_of_input_8_text","value":"text","display":"Name of input 8","deleted":null},{"name":"name_of_input_9_text","value":"text","display":"Name of input 9","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"placeholder_input_10_text","value":"text","display":"Placeholder Input 10","deleted":null},{"name":"placeholder_input_1_text","value":"text","display":"Placeholder Input 1","deleted":null},{"name":"placeholder_input_21_text","value":"text","display":"Placeholder Input 2","deleted":null},{"name":"placeholder_input_2_text","value":"text","display":"Placeholder Input 2 - deleted","deleted":true},{"name":"placeholder_input_31_text","value":"text","display":"Placeholder Input 3","deleted":null},{"name":"placeholder_input_3_text","value":"text","display":"Placeholder Input 3 - deleted","deleted":true},{"name":"placeholder_input_4_text","value":"text","display":"Placeholder Input 4","deleted":null},{"name":"placeholder_input_5_text","value":"text","display":"Placeholder Input 5","deleted":null},{"name":"placeholder_input_6_text","value":"text","display":"Placeholder Input 6","deleted":null},{"name":"placeholder_input_7_text","value":"text","display":"Placeholder Input 7","deleted":null},{"name":"placeholder_input_8_text","value":"text","display":"Placeholder Input 8","deleted":null},{"name":"placeholder_input_9_text","value":"text","display":"Placeholder Input 9","deleted":null},{"name":"plan_option_plan","value":"option.plan","display":"plan","deleted":null},{"name":"plandata_custom_plan","value":"custom.plan","display":"planData - deleted","deleted":true},{"name":"plandata_list_custom_plan","value":"list.custom.plan","display":"planData","deleted":null},{"name":"pro_boolean","value":"boolean","display":"pro","deleted":null},{"name":"promp_start_text","value":"text","display":"Promp Start (API)","deleted":null},{"name":"prompt_before_input_10__api__text","value":"text","display":"Prompt before input 10 (API)","deleted":null},{"name":"prompt_before_input_11_text","value":"text","display":"Prompt before input 1 (API)","deleted":null},{"name":"prompt_before_input_1_text","value":"text","display":"Prompt before input 1 - deleted","deleted":true},{"name":"prompt_before_input_21_text","value":"text","display":"Prompt before input 2 (API)","deleted":null},{"name":"prompt_before_input_2_text","value":"text","display":"Prompt before input 2 - deleted","deleted":true},{"name":"prompt_before_input_31_text","value":"text","display":"Prompt before input 3 (API)","deleted":null},{"name":"prompt_before_input_3_text","value":"text","display":"Prompt before input 3 - deleted","deleted":true},{"name":"prompt_before_input_4_text","value":"text","display":"Prompt before input 4 (API)","deleted":null},{"name":"prompt_before_input_5_text","value":"text","display":"Prompt before input 5 (API)","deleted":null},{"name":"prompt_before_input_6__api__text","value":"text","display":"Prompt before input 6 (API)","deleted":null},{"name":"prompt_before_input_7__api__text","value":"text","display":"Prompt before input 7 (API)","deleted":null},{"name":"prompt_before_input_8__api__text","value":"text","display":"Prompt before input 8 (API)","deleted":null},{"name":"prompt_before_input_9__api__text","value":"text","display":"Prompt before input 9 (API)","deleted":null},{"name":"prompt_end1_text","value":"text","display":"Prompt End (API)","deleted":null},{"name":"prompt_end_text","value":"text","display":"Prompt End - deleted","deleted":true},{"name":"prompt_start_text","value":"text","display":"Prompt Start - deleted","deleted":true},{"name":"responseai1_custom_responseai","value":"custom.responseai","display":"ResponseAI - deleted","deleted":true},{"name":"responseai_custom_responseai","value":"custom.responseai","display":"ResponseAI - deleted","deleted":true},{"name":"responseai_list_custom_responseai","value":"list.custom.responseai","display":"ResponseAI","deleted":null},{"name":"timesaved_number","value":"number","display":"TimeSaved","deleted":null}],"wordspack":[{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"price_number","value":"number","display":"Price","deleted":null},{"name":"quantity_number","value":"number","display":"Quantity","deleted":null}],"user":[{"name":"accountactive_boolean","value":"boolean","display":"accountActive","default_val":true,"deleted":null},{"name":"actualplan_custom_plan","value":"custom.plan","display":"actualPlan","deleted":null},{"name":"chart_data_list_custom_chart","value":"list.custom.chart","display":"Chart Data","deleted":null},{"name":"country_option_country","value":"option.country","display":"Country","deleted":null},{"name":"curriculum_custom_curriculums","value":"custom.curriculums","display":"Curriculum","deleted":null},{"name":"enddatetrial_date","value":"date","display":"endDateTrial","deleted":null},{"name":"first_name_text","value":"text","display":"First Name","deleted":null},{"name":"firsttrial_boolean","value":"boolean","display":"firstTrial","deleted":null},{"name":"isadmin_boolean","value":"boolean","display":"isAdmin","default_val":false,"deleted":null},{"name":"isverified_boolean","value":"boolean","display":"isVerified","default_val":false,"deleted":null},{"name":"isverified_text","value":"text","display":"isVerified - deleted","deleted":true},{"name":"last_name_text","value":"text","display":"Last Name","deleted":null},{"name":"number_of_words_available_number","value":"number","display":"Number of words available","deleted":null},{"name":"number_of_words_used_number","value":"number","display":"Number of words used","default_val":0,"deleted":null},{"name":"numbertrial_number","value":"number","display":"numberTrial","deleted":null},{"name":"paymentstatut_custom_payments","value":"custom.payments","display":"paymentStatut","deleted":null},{"name":"phone1_number","value":"number","display":"Phone - deleted","deleted":true},{"name":"phone_text","value":"text","display":"Phone","deleted":null},{"name":"profile_pic_image","value":"image","display":"Profile Pic","deleted":null},{"name":"residencecountry_text","value":"text","display":"ResidenceCountry","deleted":null},{"name":"subscription_type_option_plan","value":"option.plan","display":"Subscription Type - deleted","deleted":true},{"name":"subscription_type_text","value":"text","display":"Subscription Type - deleted","default_val":"free","deleted":true},{"name":"toolsfav_list_custom_tool","value":"list.custom.tool","display":"ToolsFav","deleted":null},{"name":"verificationcode_number","value":"number","display":"verificationCode - deleted","deleted":true},{"name":"verificationcode_text","value":"text","display":"verificationCode","deleted":null},{"name":"verificationexpires_date","value":"date","display":"verificationExpires","deleted":null}]}
window.preloaded['app/derived:{"function_name":"DefaultValues","args":[]}'] = true;

    window._bubble_page_load_data.js_execution_timings.static_js_end_execution = Date.now();

jQuery.migrateEnablePatches('self-closed-tags');