
    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 = {"bTWbV":{"statics":{"title":true,"backdropBackgroundData":true,"containerClass":true,"id":true},"styles":{"6":{},"12":{"opacity":1}},"props":{"title":"Studyflash","backdropBackgroundData":{"is_backdrop":true,"background_style":"none","bgcolor":"var(--color_destructive_default)","background_gradient_direction":"top","background_gradient_from":"#FFFFFF","background_gradient_mid":null,"background_gradient_to":"#AAAAAA","background_image":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1704657142903x741627011412093800/Landing_Background.svg","center_background":true,"crop_responsive":null,"background_size_cover":true,"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}},"bTWhD":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"0px 120px 0px 120px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWhH":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"0px","max-width":"1200px","order":1,"min-height":"614px","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 row","id":"Home_pricing"},"preCached":{"shouldAddWrapper":false}},"bTWhI":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"200px","max-width":"","order":1,"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}},"bTWhN":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"14px","font-weight":"500","color":"rgba(74, 83, 96, 1)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWhJ":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"52px","font-weight":"800","color":"rgba(33, 33, 33, 1)"},"11":{"opacity":1},"15":{"align-self":"flex-start","min-width":"0px","max-width":"","order":1,"min-height":"0px","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"},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTWhO":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"300px","max-width":"714px","order":2,"min-height":"446px","max-height":"","width":"300px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container relative"},"preCached":{"shouldAddWrapper":false}},"bTWhP":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","justify-self":"center","min-width":"325px","max-width":"325px","min-height":"400px","max-height":"400px","width":"325px","height":"400px","margin-left":"0px","margin-top":"0px","margin-right":"280px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container relative","id":"free"},"preCached":{"shouldAddWrapper":false}},"bTWhT":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWhU":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"FREE"},"useDotDotDot":false,"verticalCenter":true},"preCached":{"tagName":"div"}},"bTWhV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"40px 0px 0px 0px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWhZ":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"20px","font-weight":"500","color":"rgba(33, 33, 33, 1)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWha":{"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":"100px","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}},"bTWhf":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"52px","font-weight":"800","color":"rgba(33, 33, 33, 1)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWhb":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWhg":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"14":{"align-self":"center","min-width":"0px","max-width":"276px","order":3,"min-height":"48px","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"},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWhh":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706021575770x309422404699255500/Union%281%29.png"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWhl":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","justify-self":"center","min-width":"345px","max-width":"345px","min-height":"440px","max-height":"440px","width":"345px","height":"440px","margin-left":"240px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container relative","id":"starter"},"preCached":{"shouldAddWrapper":false}},"bTWhm":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWhn":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"YEARLY SUB"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWhr":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"30px 0px 0px 0px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWhs":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"20px","font-weight":"500","color":"var(--color_primary_contrast_default)","text-align":"center"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWht":{"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":"100px","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}},"bTWhy":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"52px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWhx":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWhz":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"14":{"align-self":"center","min-width":"0px","max-width":"276px","order":3,"min-height":"46px","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"},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWiD":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706021830372x467628910970344900/Union%282%29.png"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWiE":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706093702426x711062572650875300/Asset%209.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWiF":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWiJ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWiz":{"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}},"bTWjA":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWjB":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWjF":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjG":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjH":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjL":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjM":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star-half-o"},"tabIndex":""}},"bTWjN":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Lorem ipsum dolor sit amet consectetur. Integer integer habitasse sit eu. Tincidunt lectus venenatis facilisi enim eu et ornare "},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWjR":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWjS":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWjT":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWjX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWjY":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//261091f01535cf4f447a8907bdb0e56a.cdn.bubble.io/f1689590323654x640061435239738600/f82775abb8f97d077c3700584fdb4977-sticker%201"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWjZ":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//261091f01535cf4f447a8907bdb0e56a.cdn.bubble.io/f1689590360828x617525635357740800/Group"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWjd":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWje":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWjf":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjj":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjk":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjl":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjp":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWjq":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Lorem ipsum dolor sit amet consectetur. Integer integer habitasse sit eu. Tincidunt lectus venenatis facilisi enim eu et ornare "},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWjr":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWjv":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWjw":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWjx":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWkB":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//261091f01535cf4f447a8907bdb0e56a.cdn.bubble.io/f1689590323407x567195796294095200/f82775abb8f97d077c3700584fdb4977-sticker%201"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWkC":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//261091f01535cf4f447a8907bdb0e56a.cdn.bubble.io/f1689590361695x786665898958569600/Group"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWkD":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWkH":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWkI":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWkJ":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWkN":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWkO":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWkP":{"statics":{"icon":true,"spin":true,"tabIndex":true,"id":true},"styles":{"1":{},"7":{"opacity":1},"13":{}},"props":{"icon":{"set":"fa","icon":"fa-star"},"tabIndex":""}},"bTWkT":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Lorem ipsum dolor sit amet consectetur. Integer integer habitasse sit eu. Tincidunt lectus venenatis facilisi enim eu et ornare "},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWkU":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWkV":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWkZ":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":true,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWka":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWkf":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//261091f01535cf4f447a8907bdb0e56a.cdn.bubble.io/f1689590362704x320116895797877500/Group"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWkb":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//261091f01535cf4f447a8907bdb0e56a.cdn.bubble.io/f1689590324342x402278516136651140/f82775abb8f97d077c3700584fdb4977-sticker%201"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWib":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWiK":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTWiL":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWiP":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWiQ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWiR":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWiV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWiW":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWiX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container fixed"},"preCached":{"shouldAddWrapper":false}},"bTWkg":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1708082569819x821514544375655600/Asset%2012%404x.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWkh":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1708081153767x937725930140647600/Asset%2011%404x.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWbZ":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706094095197x423086425599173100/Asset%2012.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWba":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"200px 0px 0px 120px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWbb":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWbf":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWbg":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"72px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Revolutioniere\nDeinen Lernprozess"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWbh":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{"visibility":"hidden"},"11":{"opacity":1},"17":{"display":"none"}},"props":{"textData":{"html":"Revolutionize Your Flashcard Game "},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h1"}},"bTWbl":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWbm":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1704656060870x921339185824529400/Swiss.svg"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWbn":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Made in Switzerland"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWbr":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWbs":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWbt":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1704656280099x433558510294193000/Clock.svg"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWbx":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Spare bis zu 10 Stunden pro Woche!"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWby":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"0px 0px 2px 0px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWbz":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"800","color":"#FFFFFF","text-align":"center"},"8":{"padding":"0px 12px 0px 12px"},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWcD":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"800","color":"var(--color_primary_contrast_default)","text-align":"center"},"8":{"padding":"14px 32px 14px 32px"},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWcE":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"4":{"border-top-left-radius":"30px","border-top-right-radius":"0px","border-bottom-right-radius":"0px","border-bottom-left-radius":"30px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWcF":{"statics":{"html":true,"useIframe":true,"id":true},"styles":{"0":{},"6":{"opacity":1},"12":{}},"props":{"html":"<video id=\"video-tutorial\" src=\"https://0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1692193627714x342697720742930240/Pain_hq_compressed.mp4\" poster=\"https://0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1694503530749x844946231487486100/download%20%2830%29.png\" playsinline=\"true\" autoplay=\"true\" loop=\"true\"muted=\"muted\" style=\"width: 100%; height: 100%;\" ></video>\n","useIframe":false},"preCached":{"deferDrawing":false}},"bTWcJ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"7":{"padding":"80px 120px 24px 120px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWcK":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWcL":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWcP":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWcQ":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWcR":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWcV":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWcW":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWco":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":0,"column-gap":40},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWcv":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWcp":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWct":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWcu":{"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"}},"bTWcX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-end","row-gap":0,"column-gap":30},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWcb":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"50px","max-width":"50px","order":1,"min-height":"50px","max-height":"50px","width":"50px","flex-grow":1,"height":"50px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"15":{}},"props":{"containerClass":"bubble-r-container relative"},"preCached":{"shouldAddWrapper":false}},"bTWcc":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","justify-self":"center","min-width":"24px","max-width":"24px","min-height":"","max-height":"","width":"24px","height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706818555550x989698072885326800/fi_739193%281%29.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWcd":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"50px","max-width":"50px","order":2,"min-height":"50px","max-height":"50px","width":"50px","flex-grow":1,"height":"50px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"15":{}},"props":{"containerClass":"bubble-r-container relative"},"preCached":{"shouldAddWrapper":false}},"bTWch":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","justify-self":"center","min-width":"24px","max-width":"24px","min-height":"","max-height":"","width":"24px","height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706790432530x859549140376460500/Group%281%29.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWci":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"50px","max-width":"50px","order":3,"min-height":"50px","max-height":"50px","width":"50px","flex-grow":1,"height":"50px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"15":{}},"props":{"containerClass":"bubble-r-container relative"},"preCached":{"shouldAddWrapper":false}},"bTWcj":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"12":{"align-self":"center","justify-self":"center","min-width":"24px","max-width":"24px","min-height":"","max-height":"","width":"24px","height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706790436750x294368817176285500/icon-in.svg.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWcn":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"altTag":"Studyflash logo. The AI study tool.","src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1690191894148x871177687195176200/Logo_white.svg"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWcz":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWdR":{"statics":{"containerClass":true,"wrappedClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"center","min-width":"0px","max-width":"1314px","order":1,"min-height":"0px","max-height":"","height":"0px","flex-grow":0,"flex-shrink":0,"width":"calc(100% - 32px)","margin-left":"16px","margin-top":"0px","margin-right":"16px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container-wrapper","wrappedClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":true}},"bTWdj":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWdk":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"48px","font-weight":"800","color":"rgba(33, 33, 33, 1)","text-align":"center"},"6":{},"11":{"opacity":1},"15":{"align-self":"center","min-width":"0px","max-width":"740px","order":1,"min-height":"92px","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":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTWdl":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWdS":{"statics":{"separatorWidth":true,"separatorColor":true,"separatorStyle":true,"id":true},"styles":{"1":{"min-width":"","min-height":"0px","box-sizing":"content-box"},"2":{},"7":{"opacity":1},"12":{}},"props":{"separatorWidth":0,"separatorColor":"rgba(var(--color_text_default_rgb), 0.15)","separatorStyle":"none"}},"bTWdT":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"0px","max-width":"","order":1,"min-height":"0px","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"},"15":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWdX":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWdZ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container relative"},"preCached":{"shouldAddWrapper":false}},"bTWdd":{"statics":{"altTag":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1706614956531x136863477632139360/Arrow%201%282%29.png"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWdY":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"20px","font-weight":"700","color":"rgba(33, 33, 33, 1)"},"11":{"opacity":1},"15":{"align-self":"center","min-width":"0px","max-width":"","order":1,"min-height":"0px","max-height":"","width":"0px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWde":{"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}},"bTWdf":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"600","color":"rgba(241, 233, 243, 1)"},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWdA":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"space-between","row-gap":"","column-gap":""},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWdG":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":32,"column-gap":""},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"0px","max-width":"340px","order":1,"min-height":"0px","max-height":"","width":"0px","flex-grow":1,"height":"max-content","margin-left":"110px","margin-top":"70px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWdL":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWdM":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"40px","font-weight":"600","color":"rgba(74,83,97,1)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWdN":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"24px","font-weight":"500","color":"rgba(110,117,128,1)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWdH":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"14":{"align-self":"flex-start","min-width":"0px","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":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWdB":{"statics":{"altTag":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1692440102512x408861509027021300/get_started_illu2.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWdF":{"statics":{"altTag":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1692439981828x264706163389566660/Get_started_illu1.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWdp":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":80,"column-gap":""},"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":"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}},"bTWdq":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWdv":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWdr":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTWdw":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":80,"column-gap":""},"2":{},"7":{"padding":"0px 120px 0px 120px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWef":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"space-around","row-gap":0,"column-gap":76},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWeg":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1705249845722x326184666681039500/Step3.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWes":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"320px","max-width":"512px","order":1,"min-height":"400px","max-height":"400px","width":"320px","flex-grow":1,"height":"400px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWeh":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWel":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWem":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"32px","font-weight":"500","color":"rgba(74,83,96,1)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWen":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"15":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWer":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"42px","font-weight":"800","color":"var(--color_text_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTWdx":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"space-around","row-gap":0,"column-gap":76},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWeB":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1709492127804x629569093682072800/img.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWeC":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"320px","max-width":"512px","order":3,"min-height":"400px","max-height":"400px","width":"320px","flex-grow":1,"height":"400px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWeD":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWeH":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWeI":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"32px","font-weight":"500","color":"rgba(74,83,96,1)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWeJ":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"15":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWeN":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"42px","font-weight":"800","color":"var(--color_text_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTYqR":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1709492127804x629569093682072800/img.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWeO":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"space-around","row-gap":0,"column-gap":76},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWeU":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWeV":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWeZ":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"32px","font-weight":"500","color":"rgba(74,83,96,1)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWea":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"15":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWeb":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"'Manrope'","font-size":"42px","font-weight":"800","color":"var(--color_text_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h3"}},"bTWeP":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1705249399143x946731842306880900/Step11.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWeT":{"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}},"bTWet":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":60,"column-gap":""},"2":{},"7":{"padding":"120px 120px 100px 120px"},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWgM":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWgT":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"h2"}},"bTWgN":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgR":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWgS":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWex":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWfd":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWfh":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWfi":{"statics":{"useAspectRatio":true,"id":true},"styles":{"1":{},"6":{"opacity":1},"12":{}},"props":{"useAspectRatio":false}},"bTWfj":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWfn":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"40px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWfo":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWfp":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWft":{"statics":{"useAspectRatio":true,"id":true},"styles":{"1":{},"6":{"opacity":1},"12":{}},"props":{"useAspectRatio":false}},"bTWfu":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWgB":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"40px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWgF":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWfv":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWfz":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"15":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1708083371682x528376370183682100/unibe_startup_logo_en_neg_claim%281%29.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWgA":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"15":{}},"props":{"src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1709479841461x987418235189290000/FF_Campus_Logo_RGB_White_01.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWgG":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWgH":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"12":{"align-self":"flex-start","min-width":"300px","max-width":"900px","order":5,"min-height":"0px","max-height":"","width":"300px","flex-grow":1,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"14":{}},"props":{"containerClass":"bubble-r-container relative"},"preCached":{"shouldAddWrapper":false}},"bTWgL":{"statics":{"useAspectRatio":true,"id":true},"styles":{"1":{},"6":{"opacity":1},"13":{}},"props":{"useAspectRatio":true}},"bTWey":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWfc":{"statics":{"buttonType":true,"text":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"15":{}},"props":{"buttonType":"label","text":"Convince yourself","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWez":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWfD":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWfK":{"statics":{"useAspectRatio":true,"id":true},"styles":{"1":{},"6":{"opacity":1},"12":{}},"props":{"useAspectRatio":false}},"bTWfE":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWfF":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"40px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Strong Support"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWfJ":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"Science is a t the core of everything we do. That’s why we’re backed by the best."},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWfL":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWfP":{"statics":{"useAspectRatio":true,"id":true},"styles":{"1":{},"6":{"opacity":1},"12":{}},"props":{"useAspectRatio":false}},"bTWfQ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}},"bTWfR":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"40px","font-weight":"800","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"From Students"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWfV":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"11":{"opacity":1},"17":{}},"props":{"textData":{"html":"9 students, 1 mission: make education more compatible with life"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWfW":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWfX":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1705997947384x704000721231540200/unibe_startup_logo_en_neg_claim%201.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWfb":{"statics":{"altTag":true,"src":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"14":{}},"props":{"src":"//da37d080e1f833cf3eb3ad10b0f2eba4.cdn.bubble.io/f1705997953810x713250221315343100/campus-fund%201.png"},"preCached":{"isStatic":true,"useAspectRatio":true}},"bTWgX":{"statics":{"containerClass":true,"id":true},"styles":{"1":{},"2":{},"4":{},"9":{"padding":"0px 120px 0px 120px"},"10":{"opacity":1}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgY":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgZ":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-end","row-gap":0,"column-gap":24},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgd":{"statics":{"buttonType":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"2":{"font-family":"var(--font_default)","font-size":"14px","font-weight":"800","color":"#FFFFFF","text-align":"center"},"8":{"padding":"0px 30px 0px 30px"},"9":{"opacity":1},"14":{"align-self":"center","min-width":"0px","max-width":"","order":1,"min-height":"47px","max-height":"","width":"max-content","flex-grow":0,"height":"max-content","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWge":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgf":{"statics":{"buttonType":true,"text":true,"iconPlacement":true,"icon":true,"id":true},"styles":{"0":{},"9":{"opacity":1},"16":{}},"props":{"buttonType":"label","text":"","iconPlacement":"left","icon":{"set":"fa","icon":"fa-square-o"}}},"bTWgj":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgl":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":0,"column-gap":60},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgp":{"statics":{"altTag":true,"cropData":true,"editorPreviewImage":true,"id":true},"styles":{"3":{},"8":{"opacity":1},"13":{"align-self":"flex-start","min-width":"134.55px","max-width":"134.55px","order":1,"min-height":"48px","max-height":"","width":"134.55px","flex-grow":1,"height":"48px","margin-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px"},"15":{}},"props":{"altTag":"Studyflash logo. The all-in-one study tool.","src":"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1704652620430x129759682319348530/Logo.svg"},"preCached":{"isStatic":true,"useAspectRatio":false}},"bTWgq":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"1":{"justify-content":"flex-start","row-gap":0,"column-gap":40},"2":{},"8":{"opacity":1},"14":{}},"props":{"containerClass":"bubble-r-container flex row"},"preCached":{"shouldAddWrapper":false}},"bTWgr":{"statics":{"textData":true,"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"500","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":"FAQ"},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWgv":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"500","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWgw":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"400","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWgx":{"statics":{"useDotDotDot":true,"verticalCenter":true,"id":true},"styles":{"1":{},"3":{"font-family":"var(--font_default)","font-size":"16px","font-weight":"500","color":"var(--color_primary_contrast_default)"},"6":{},"11":{"opacity":1},"18":{}},"props":{"textData":{"html":""},"useDotDotDot":false,"verticalCenter":false},"preCached":{"tagName":"div"}},"bTWhB":{"statics":{"containerClass":true,"id":true},"styles":{"0":{"overflow":"visible"},"2":{"visibility":"hidden"},"8":{"opacity":1},"14":{"display":"none"}},"props":{"containerClass":"bubble-r-container flex column"},"preCached":{"shouldAddWrapper":false}}}
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 = 28;
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['google'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['9b8ce453fa5ae1415bb8775ae0b6f3abe21aaf4c3002a1cfb9d8de78c3cfa7bc']){window.__code__['9b8ce453fa5ae1415bb8775ae0b6f3abe21aaf4c3002a1cfb9d8de78c3cfa7bc']=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 btype_ids=safe_require.safe_require("./lang/btype_ids"),external=safe_require.safe_require("./external"),cls=class extends external.Service{constructor(){super(),this.authenticator=new external.Oauth2({scope:"https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email",authentication_url:"https://accounts.google.com/o/oauth2/auth",generate_token_from_code_uri:"https://accounts.google.com/o/oauth2/token",access_type:"offline",prompt:"consent",token_param_name:"access_token"}),this.values=this._get_initial_values(),this.calls=this._get_initial_calls()}_get_initial_values(){return{profile:new external.StructValue("Profile",{id:{},email:{},given_name:{caption:"First name"},family_name:{caption:"Last name"},picture:{caption:"Profile picture",ret_btype:"image"}})}}get oauth_providers(){return["google"]}get user_calls(){return["google"]}_get_initial_calls(){return{oauth_user_data_call:class extends external.Call{get btype_id(){return btype_ids.api_type("google.profile")}build(prev,properties){return{path:"/oauth2/v1/userinfo",data:{alt:"json"}}}},google:class extends external.Call{get human(){return"Google"}get btype_id(){return btype_ids.api_type("google.profile")}get is_reflective(){return!0}build(prev,properties){return{path:"/oauth2/v1/userinfo",data:{alt:"json"}}}}}}get base_url(){return"https://www.googleapis.com"}get keys(){return{appsecret:{caption:"App Secret",type:"secure"},appid:{caption:"App ID/API Key",type:"client_safe"}}}get_error_message(response){let data;try{data=JSON.parse(response.body)}catch(error){return}if(data.error!=null){if(typeof data.error=="string")return"Error from Google: "+data.error;data=data.error}if(data.code>=400&&data.code<499)return"Error connecting to Google: check your App ID / API Key. "+data.message;if(data.code>=500&&data.code<=599)return"Error connecting to Google: "+data.message}},google={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.google=google);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("google",google);})();
/*! 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:google'] = 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['draggableui'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['07aa7238a628e69e2c62052d19693274a881bfc466fe42d830275ab9b9814b07']){window.__code__['07aa7238a628e69e2c62052d19693274a881bfc466fe42d830275ab9b9814b07']=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 $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_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 $2=require_export(),$parseInt=require_number_parse_int();$2({global:!0,forced:parseInt!==$parseInt},{parseInt:$parseInt})}});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_array_includes=__toESM(require_es_array_includes()),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 external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),shared_fields=safe_require.safe_require("./core/shared_fields"),groups=safe_require.safe_require("./core/core_elements/shared/groups"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),core_actions=safe_require.safe_require("./core/core_actions"),appquery=safe_require.safe_require("./lang/appquery"),Lib=safe_require.safe_require("./lib"),btypes=safe_require.safe_require("./lang/btypes"),logger=safe_require.safe_require("./logger"),core_consts=safe_require.safe_require("./constants/core"),core_ds_workflow_utilities=safe_require.safe_require("./core/core_datasources/utilities/core_ds_workflow_utilities"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),LegacyContainerComponent=safe_require.safe_require("./core/core_elements/components/LegacyContainerComponent"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("draggableui-DroppableGroup");element_modifications.set_legacy_element_modifications("draggableui-Dropzone");function _child_mov(instance,max_delta){let height=instance.element.get_height()+max_delta;(instance.is_visible()||!instance._has_been_hidden)&&instance.set_height(height)}var PLUGIN_FILE="draggableui",DRAGGED_Z_INDEX=1e7;function droppable_group_initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();if(instance.run_mode()){let parent_offset=canvas.parent().offset(),canvas_offset=canvas.offset();instance.state("x_position",canvas_offset.left-parent_offset.left),instance.state("y_position",canvas_offset.top-parent_offset.top),instance.on_message("child_movement",max_delta=>_child_mov(instance,max_delta));let clone_container=null,clone_ref=null,stored_parent_ref=null,stored_parent_overflow_style=null,offset_necessary=null,helper_necessary=determine_helper(instance);canvas.draggable({containment:instance.get_static_property("constrained")?instance.parent().get_canvas():void 0,revert:instance.get_static_property("droppable")?"invalid":!1,revertDuration:200,cancel:"input, textarea, select, option",helper:helper_necessary,start(event,ui){if(instance.state("dragged",!0),instance.initial={top:canvas[0].style.top,left:canvas[0].style.left},helper_necessary==="clone"){if(clone_ref=ui.helper[0],offset_necessary===null&&(offset_necessary=determine_clone_properties(instance,canvas).offset_necessary,stored_parent_ref=determine_clone_properties(instance,canvas).parent_ref),offset_necessary){let helper_placement=canvas.offset();clone_container=document.createElement("div"),clone_container.style.position="absolute",clone_container.style.left="".concat(helper_placement.left-ui.position.left,"px"),clone_container.style.top="".concat(helper_placement.top-ui.position.top,"px"),clone_container.style.overflow="visible",clone_ref.style.left="".concat(ui.position.left,"px"),clone_ref.style.top="".concat(ui.position.top,"px"),clone_ref.style.placeSelf="",clone_ref.style.minWidth="",clone_ref.style.maxWidth="",clone_ref.style.minHeight="",clone_ref.style.maxHeight="",clone_ref.style.width="".concat(canvas.outerWidth(),"px"),clone_ref.style.height="".concat(canvas.outerHeight(),"px"),clone_container.appendChild(clone_ref),document.body.appendChild(clone_container)}stored_parent_ref!=null&&(stored_parent_overflow_style=stored_parent_ref.style.overflow,stored_parent_ref.style.overflow="visible"),clone_ref.style["z-index"]=DRAGGED_Z_INDEX,canvas.hide()}else canvas[0].style["z-index"]=DRAGGED_Z_INDEX},drag(){let{top,left}=canvas.offset();if(helper_necessary==="clone")for(let item of clone_ref.style)["offsetTop","offsetLeft","z-index","left","top","display","width","height"].includes(item)||(clone_ref.style[item]=canvas[0].style[item]);let parent_data=canvas.parent().offset();instance.state("x_position",left-parent_data.left),instance.state("y_position",top-parent_data.top)},stop(){instance.state("dragged",!1),canvas.show(),clone_container!=null&&document.body.removeChild(clone_container),stored_parent_ref!=null&&(stored_parent_ref.style.overflow=stored_parent_overflow_style)}}),canvas.on("mousedown",evt=>{!$(evt.target).is("input")&&!$(evt.target).is("textarea")&&canvas.find("input, textarea").blur()}),element_eval.on_property_change(instance,"disabled",val=>{canvas.draggable(val?"disable":"enable"),val?canvas.removeClass("grabbable movable"):instance.get_static_property("droppable")?canvas.addClass("droppable-element grabbable"):canvas.addClass("draggable-element movable")})}}function dropzone_initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();instance.run_mode()&&(instance.on_message("child_movement",max_delta=>_child_mov(instance,max_delta)),instance.autorun(()=>{instance.should_collapse()&&instance.state("hovered_by_drag",!1)}),canvas.droppable({accept:".droppable-element",tolerance:instance.get_static_property("tolerance"),over(){instance.state("hovered_by_drag",!0)},out(){instance.state("hovered_by_drag",!1)},drop(event,ui){instance.state("hovered_by_drag",!1);let dropped_instance=ui.draggable[0].bubble_data.bubble_instance,_move_back=()=>{u.velocity(dropped_instance.get_canvas(),dropped_instance.initial,{duration:0})},events=instance.element.get_related_workflows("draggableui-DroppedOn"),to_run=[],bad_events=[];for(event of events){let event_type=event.get_static_property("custom_event_data_type");event_type==null||event_type===dropped_instance.get_static_property("group_type")?to_run.push(event):bad_events.push(event)}if(plugin_version()===0&&to_run.length===0||dropped_instance.get_static_property("post_event")==="move_back"?_move_back():u.velocity(dropped_instance.get_canvas(),"fadeOut",u.extend({duration:200,complete_cb(){dropped_instance.workflow_hide(),dropped_instance.get_canvas().css("opacity",1)}},instance.get_hidden_css())),to_run.length&&element_workflows.run_element_workflow(instance,"draggableui-DroppedOn",event,to_run,{get_wf_param:core_ds_workflow_utilities.generate_wf_param_datasource({[core_consts.LEGACY_PARAM_ID]:()=>dropped_instance.state("group_data")})}),bad_events.length)for(let bad_event of bad_events)logger.owner_error("There is a type mismatch between the dropped group and the workflow type",{event:bad_event,element_instance:instance})}}),instance.on_destroy(()=>{canvas.droppable("destroy")}))}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements(),this.actions=this._get_initial_actions(),this.events=this._get_initial_events()}_get_initial_elements(){return{DroppableGroup:u.extend({},groups.group_element_definition,{display:"Drag/drop Group",icon:"ion-android-hand",category:"containers",condition(root){var _root$is_mobile;return!(root!=null&&(_root$is_mobile=root.is_mobile)!=null&&_root$is_mobile.call(root))},defaults:{width:400,height:400,fixed_width:!0},field_names:u.extend({},groups.container_field_names,{constrained:{no_states:!0,default:!1},droppable:{no_states:!0,default:!1},disabled:{default:!1},post_event:{default:"hide",no_states:!0}}),uses_css_responsive:!0,can_fit_width:!0,can_fit_height:!0,solid_component:LegacyContainerComponent,initialize:droppable_group_initialize,legacy_container_mount:droppable_group_initialize,get_states(element){return["dragged"]},add_specific_messages(messages,element){return u.extend(messages,{is_dragged:{description:" is dragged",is_client_state(){return!0},section:"States",ret_btype:"boolean",fn(a,b){return a==null?void 0:a.state("dragged")}},x_position:{description:"'s X position",is_client_state(){return!0},section:"States",ret_btype:"number",fn(a,b){return a==null?void 0:a.state("x_position")}},y_position:{description:"'s Y position",is_client_state(){return!0},section:"States",ret_btype:"number",fn(a,b){return a==null?void 0:a.state("y_position")}}})},get_state_value(element,name){if(name==="group_data")return element.get_static_property("group_type");if(name==="dragged")return"boolean"},get_private_messages(element){return["child_movement"]},jquery_plugins(){return["jquery_plugins/jquery-ui.draggable.min","jquery_plugins/jquery.ui.touch-punch.min"]},only_send_to_client_in_runmode:!0,css_files:["css/optional/draggableui.css"],events:[],actions:["ResetGroup","DisplayGroupData","draggableui-MoveElement"],check_for_errors(element,report){return groups._check_for_errors_datasource_set_to_self(element,"get_group_data",report)}}),Dropzone:u.extend({},groups.group_element_definition,{display:"Drop Area",icon:"ion-ios-download",condition(root){var _root$is_mobile2;return!(root!=null&&(_root$is_mobile2=root.is_mobile)!=null&&_root$is_mobile2.call(root))},defaults:{width:300,height:300,border_style:"solid",border_width:1,border_color:"#BDBDBD",border_roundness:3,background_style:"bgcolor",bgcolor:"#F0F0F0"},default_states:[{condition:{type:"ThisElement",next:{type:"Message",name:"is_dragged_over"}},properties:{bgcolor:"#E0E0E0"}}],field_names:u.extend({},groups.container_field_names,{tolerance:{no_states:!0,default:"intersect"}}),uses_css_responsive:!0,can_fit_width:!0,can_fit_height:!0,solid_component:LegacyContainerComponent,initialize:dropzone_initialize,legacy_container_mount:dropzone_initialize,get_states(element){return["hovered_by_drag"]},get_private_messages(element){return["child_movement"]},get_state_value(element,name){if(name==="group_data")return element.get_static_property("group_type");if(name==="hovered_by_drag")return"boolean"},add_specific_messages(messages,element){return u.extend(messages,{is_dragged_over:{description:" is dragged over",is_client_state(){return!0},section:"States",ret_btype:"boolean",fn(a,b){return a==null?void 0:a.state("hovered_by_drag")}}})},jquery_plugins(){return["jquery_plugins/jquery-ui.draggable.min"]},only_send_to_client_in_runmode:!0,events:["draggableui-DroppedOn"],check_for_errors(element,report){return groups._check_for_errors_datasource_set_to_self(element,"get_group_data",report)}})}}_get_initial_events(){return{DroppedOn:{_display(){return" has a group dropped on it"},element_name:"A drop area",field_names:{element_id:{},custom_event_data_type:{}},_fields(event){return[{name:"custom_event_data_type",caption:"Type of thing",editor:"Dropdown",set:btypes_dropdowns.displayableInListBtypes(),optional:!0}]},check_for_errors(event,report){let type=event==null?void 0:event.get_static_property("custom_event_data_type");if(type){let page_drag_groups=event.root().find_elements("draggableui-DroppableGroup"),found_group_with_type=!1;for(let a of page_drag_groups)if(a.get_static_property("group_type")===type){found_group_with_type=!0;break}found_group_with_type||report(this.display(event)+": the type of thing for this workflow is "+btypes.get(type).display()+" but no drag/drop group on the page has this type of content.")}}}}}_get_initial_actions(){return{MoveElement:{display(action){let target=appquery.element(action==null?void 0:action.element_id());return"Move "+(target?target.get_name():"a draggable group")},field_names:{element_id:{},moving_type:{default:"element"},reference:{},offset_top:{default:0},offset_left:{default:0},top_position:{},left_position:{},animation_delay:{default:500}},run(action,properties,context,cb){u.run_once(30,()=>({instance:context.element.find_instance_by_id(properties.element_id),reference:context.element.find_instance_by_id(properties.reference)}),(err,res)=>{if(err){logger.log(err);return}let{instance,reference}=res;if(!instance){cb();return}let new_position=null;if(properties.moving_type==="coords"){if(properties.top_position==null||properties.left_position==null){cb();return}new_position={top:properties.top_position,left:properties.left_position}}else{if(reference==null){cb();return}let{top,left}=reference.get_canvas().offset(),instance_canvas=instance.get_canvas(),offset_difference={top:instance_canvas.offset().top-parseInt(instance_canvas.css("top"),10),left:instance_canvas.offset().left-parseInt(instance_canvas.css("left"),10)};new_position={left:left+properties.offset_left-offset_difference.left,top:top+properties.offset_top-offset_difference.top}}instance.state("x_position",new_position.left),instance.state("y_position",new_position.top),u.velocity(instance.get_canvas(),new_position,{duration:properties.animation_delay}),cb()})},data_to_refresh:null}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"'Hide group' applies even when no workflow is attached",type:"client_safe",editor:"Checkbox"}}}};function determine_helper(instance){return instance.get_static_property("droppable")&&!instance.get_static_property("constrained")?"clone":"original"}function determine_clone_properties(instance,canvas){let ret_value={offset_necessary:!1,parent_ref:null},parent=canvas.parent();for(;(_parent=parent)!=null&&_parent.length&&parent[0].style!=null;){var _parent,_u$get_element$elemen;if(((_u$get_element$elemen=u.get_element(parent).element)==null?void 0:_u$get_element$elemen.E.category)==="containers"&&(ret_value.offset_necessary=!0),parent.hasClass("GroupFocus")){ret_value.parent_ref=parent[0],ret_value.offset_necessary=!1;break}parent=parent.parent()}return ret_value}function plugin_version(){if(Lib()){var _appquery$get_public_;return(_appquery$get_public_=appquery.get_public_setting("draggableui_installed_version"))!=null?_appquery$get_public_:0}else return 1}var draggableui={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.draggableui=draggableui);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("draggableui",draggableui);})();
/*! 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:draggableui'] = 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._bubble_page_load_data.hardcoded_plugins['materialicons'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']){window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']=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 require_is_regexp=__commonJS({"node_modules/core-js/internals/is-regexp.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),classof=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),MATCH=wellKnownSymbol("match");module.exports=function(it){var isRegExp;return isObject(it)&&((isRegExp=it[MATCH])!==void 0?!!isRegExp:classof(it)==="RegExp")}}});var require_not_a_regexp=__commonJS({"node_modules/core-js/internals/not-a-regexp.js"(exports,module){"use strict";init_define_process_env();init_shim();var isRegExp=require_is_regexp(),$TypeError=TypeError;module.exports=function(it){if(isRegExp(it))throw new $TypeError("The method doesn't accept regular expressions");return it}}});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_correct_is_regexp_logic=__commonJS({"node_modules/core-js/internals/correct-is-regexp-logic.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),MATCH=wellKnownSymbol("match");module.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_includes=__commonJS({"node_modules/core-js/modules/es.string.includes.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),uncurryThis=require_function_uncurry_this(),notARegExp=require_not_a_regexp(),requireObjectCoercible=require_require_object_coercible(),toString=require_to_string(),correctIsRegExpLogic=require_correct_is_regexp_logic(),stringIndexOf=uncurryThis("".indexOf);$2({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(searchString){return!!~stringIndexOf(toString(requireObjectCoercible(this)),toString(notARegExp(searchString)),arguments.length>1?arguments[1]:void 0)}})}});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_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 _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 materialicons_Materialicon_exports={};__export(materialicons_Materialicon_exports,{additional_data:()=>additional_data,initialize:()=>initialize,property_applications:()=>property_applications_internal});function initialize(instance){return services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),instance.wait_for_visible_lite(()=>{let canvas=instance.get_canvas();return property_applications.patch_user_agent_styles(canvas),canvas.addClass("inner-element bubble-element material-icons"),element_eval.on_property_change(instance,"icon",icon=>{icon.includes(".outline")?(canvas.removeClass("material-icons"),canvas.addClass("material-icons-outline")):(canvas.removeClass("material-icons-outline"),canvas.addClass("material-icons")),canvas.text(icon.replace(".outline",""))}),element_eval.on_property_change(instance,"icon_color",icon_color=>canvas.css("color",icon_color)),icons_legacy.calculate_font_size_for_fontawesome(instance)})}var import_es_array_includes,import_es_string_includes,import_es_regexp_exec,import_es_string_replace,services,property_applications,icons_legacy,element_eval,PLUGIN_FILE,property_applications_internal,additional_data,init_materialicons_Materialicon=__esm({"lib-browser-old/optional/services/legacy/responsive_v0/materialicons_Materialicon.js"(){"use strict";init_define_process_env();init_shim();import_es_array_includes=__toESM(require_es_array_includes()),import_es_string_includes=__toESM(require_es_string_includes()),import_es_regexp_exec=__toESM(require_es_regexp_exec()),import_es_string_replace=__toESM(require_es_string_replace());init_window_register();services=safe_require.safe_require("./services"),property_applications=safe_require.safe_require("./core/property_applications"),icons_legacy=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/shared/icons"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),PLUGIN_FILE="materialicons",property_applications_internal=[new property_applications.MinWidth];additional_data={notify_width(instance,width){return instance.state("notify_width",width)}}}});init_define_process_env();init_shim();var import_es_array_includes2=__toESM(require_es_array_includes()),import_es_string_includes2=__toESM(require_es_string_includes()),import_es_regexp_exec2=__toESM(require_es_regexp_exec()),import_es_string_replace2=__toESM(require_es_string_replace());init_window_register();var element_eval2=safe_require.safe_require("./lang/evaluation/element_eval"),external=safe_require.safe_require("./external"),services2=safe_require.safe_require("./services"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),property_applications2=safe_require.safe_require("./core/property_applications"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),icons=safe_require.safe_require("./core/core_elements/shared/icons"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("materialicons-Materialicon",(init_materialicons_Materialicon(),__toCommonJS(materialicons_Materialicon_exports)));var goToElementEvent;u.is_edit_mode()&&!u.is_plugin_edit_mode()&&({goToElementEvent}=safe_require.safe_require("./editor/workflow_tab/logic/events"));var PLUGIN_FILE2="materialicons";function plugin_version(){if(Lib()){var _appquery$get_public_;return(_appquery$get_public_=appquery.get_public_setting("materialicons_installed_version"))!=null?_appquery$get_public_:0}else return 1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("materialicons_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{Materialicon:{display:"Material Icon",category:"visual elements",icon:"ion-social-google",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",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:"insert_emoticon"},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.ToolTip,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},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){return services2.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE2}),instance.wait_for_visible_lite(()=>{let canvas=instance.get_canvas();property_applications2.patch_user_agent_styles(canvas),$(document).ready(()=>{instance.autorun(()=>{canvas.empty();let icon=element_eval2.evaluate_property(instance,"icon"),icon_name=icon;icon!=null&&icon.includes(".outline")?(icon_name=icon.replace(".outline",""),canvas.append(icons.get_svg_canvas("material-icons-outline",icon_name,icons.ICON_SIZE/2,-icons.ICON_SIZE/2,"start"))):canvas.append(icons.get_svg_canvas("material-icons",icon_name,icons.ICON_SIZE/2,-icons.ICON_SIZE/2,"start")),element_eval2.evaluate_property(instance,"button_disabled")&&canvas.attr("tabindex","-1")})}),element_eval2.on_property_change(instance,"icon_color",icon_color=>canvas.css("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/material-icons.css"]}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},materialicons={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.materialicons=materialicons);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("materialicons",materialicons);})();
/*! 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:materialicons'] = true;
window._bubble_page_load_data.hardcoded_plugins['multifileupload'] = true;
window.__code__ = window.__code__ || {};
if(!window.__code__['946675add0b934d84d31a8c398e047446b33321809270ab528391d56eb666415']){window.__code__['946675add0b934d84d31a8c398e047446b33321809270ab528391d56eb666415']=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 $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")}});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 btype_ids=safe_require.safe_require("./lang/btype_ids"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),Lib=safe_require.safe_require("./lib"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),sliderinputs=safe_require.safe_require("./core/core_elements/shared/sliderinputs"),pictureinputs=safe_require.safe_require("./core/core_elements/shared/pictureinputs"),property_applications=safe_require.safe_require("./core/property_applications"),webfonts=safe_require.safe_require("./webfonts"),core_events=safe_require.safe_require("./core/core_events"),logger=safe_require.safe_require("./logger"),workflow_consts=safe_require.safe_require("./constants/workflow"),appquery=safe_require.safe_require("./lang/appquery"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),element_props=safe_require.safe_require("./lang/evaluation/element_props");element_modifications.set_legacy_element_modifications("multifileupload-MultiFileInput");var core_elements_fields=null,PLUGIN_FILE="multifileupload";function file_upload_destination(element){if(Lib().is_edit_mode()){var _core_elements_fields;return(_core_elements_fields=core_elements_fields)!=null||(core_elements_fields=safe_require.safe_require("./core/core_elements_fields")),core_elements_fields.file_upload_destination(element,"MultiFileContent")}else return[]}var _dropzone_loaded=!1;function load_dropzone(){if(_dropzone_loaded)return;_dropzone_loaded=!0;let Dropzone=safe_require.safe_require("./optional/dropzone");Dropzone.autoDiscover=!1}function plugin_version(){if(Lib()){var _appquery$get_public_;return(_appquery$get_public_=appquery.get_public_setting("multifileupload_installed_version"))!=null?_appquery$get_public_:0}else return 1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("multifileupload_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{MultiFileInput:{display:"Multi-File Uploader",category:"input forms",icon:"ion-upload",condition(root){var _root$is_mobile;return!(root!=null&&(_root$is_mobile=root.is_mobile)!=null&&_root$is_mobile.call(root))},field_names:u.extend({mandatory:{no_states:!0},message:{default:"Drop files here to upload (or click)"},initial:{},max_files:{no_states:!0},private:{no_states:!0},attach_to:{},service:{no_states:!0},destination:{}},inputs.get_disabled_field_name),primary_field(){},_fields(element){return[{name:"message",caption:"Message to display",editor:"ShortText",pretty:{section:"MultiFileContent"}},{name:"mandatory",caption:"This input is mandatory",editor:"Checkbox",pretty:{short_caption:!1,section:"MultiFileContent"}},{name:"initial",caption:"Initial files to display",editor:"Basic",btype:btype_ids.list_type("file"),optional:!0,pretty:{section:"MultiFileContent"}},{name:"max_files",caption:"Maximum number of files",optional:!0,editor:"Dropdown",numerical_step:1,set:Lib().sets.get_set("Integer")([1,2,5,10,20]),pretty:{section:"MultiFileContent"}},{name:"disabled",caption:"This input is disabled",editor:"Checkbox",pretty:{short_caption:!1,section:"MultiFileContent"}}].concat(file_upload_destination(element))},mandatory_sections(){return["MultiFileContent"]},property_applications:[new property_applications.Dimensions,new property_applications.Background,new property_applications.Border,new property_applications.BoxShadow,new property_applications.Font(".dz-message"),new property_applications.FontSpacing(".dz-message"),new property_applications.PaddingText(".dz-message"),new property_applications.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},get_min_width(){return 0},initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),sliderinputs.show_message_for_ios_8_upload_bug();let canvas=instance.get_canvas(),inner=u.div("dropzone needsclick",canvas);instance.autorun(()=>{let w=element_eval.evaluate_property(instance,"width"),h=element_eval.evaluate_property(instance,"height");inner.css({width:w,height:h-2})});let my_files=[],current=()=>Lib().db_instance().static_list("file",my_files),get_font_data=()=>({font_face:element_props.get_font_face(instance),font_size:element_eval.evaluate_property(instance,"font_size"),bold:element_eval.evaluate_property(instance,"bold"),italic:element_eval.evaluate_property(instance,"italic"),underline:element_eval.evaluate_property(instance,"underline"),font_alignment:element_eval.evaluate_property(instance,"font_alignment"),font_color:element_eval.evaluate_property(instance,"font_color"),disabled:element_eval.evaluate_property(instance,"disabled")});function apply_font_to_file_divs(data){let font_data=webfonts.get_quoted_face_and_variant(data.font_face);inner.find("*").css({"font-family":font_data.font_family,"font-size":data.font_size,"font-weight":data.bold?"bold":font_data.variant&&font_data.variant!=="regular"?font_data.variant:"normal","text-decoration":data.underline?"underline":"none","font-style":data.italic?"italic":"normal","text-align":data.font_alignment}),inner.find(".dz-filename").css({color:data.font_color})}let get_additional_data=cb=>u.run_once(30,()=>pictureinputs.process_upload_security(instance),(err,data)=>err?cb(err):!data.public&&!data.attach_to?cb(new u.UserError("PRIVATE_FILE")):cb(null,data)),style_files_once=()=>{u.run_once(30,()=>get_font_data(),(err,data)=>{var _data$disabled;if(err){logger.log(err);return}apply_font_to_file_divs(data),(_data$disabled=data.disabled)!=null||(data.disabled=!1),inner.find(".dz-remove").toggle(!data.disabled)})};load_dropzone();let file_mapping={},current_uploads=0,my_params={};function upload_finished(){current_uploads--,current_uploads===0&&(instance.state("upload_in_progress",!1),instance.message("user_submit",current())),instance.setTimeout(()=>{inner.find(".dz-remove").text(Lib().get_text("multifileupload","REMOVE_FILE"))},5)}inner.dropzone({url:Lib().location.get_server_base()+"fileupload",paramName:"contents",maxFilesize:50,addRemoveLinks:!0,maxFiles:instance.get_static_property("max_files"),params:my_params,accept(file,done){return get_additional_data((err,data)=>{if(err){let msg=logger.human_friendly(err);return alert(msg),done(msg)}else return u.extend(my_params,data),done()})},init(){let urls_to_files={};this.on("sending",()=>{style_files_once(),current_uploads++,instance.state("upload_in_progress",!0),inner.find(".dz-remove").text(Lib().get_text("multifileupload","CANCEL_UPLOAD"))}),this.on("error",(file,err)=>{var _err;if(String((_err=err)==null?void 0:_err.message).indexOf("Error parsing request body: request entity too large")!==-1)err=new u.UserError("FILE_TOO_LARGE");else if(err!=="Upload canceled."){var _err$message;err=new u.UserError(null,(_err$message=err.message)!=null?_err$message:err,{original:err}),core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.ELEMENT,cb(err2){err2&&window.alert(logger.human_friendly(err2)),upload_finished()}})}}),this.on("canceled",files=>{upload_finished()}),this.on("maxfilesexceeded",file=>{current_uploads++}),this.on("success",(file,server_response)=>{my_files.push(server_response),file._id=u.UUID(),file_mapping[file._id]=server_response,urls_to_files[server_response]=file,upload_finished(),$(file.previewElement).find(".dz-filename span").wrap('<a href="'+server_response+'" target="_blank"></a>'),style_files_once()});let auto_remove=!1;this.on("removedfile",file=>{let link=file_mapping[file._id];u.array_remove(my_files,link),auto_remove||instance.message("user_submit",current())}),instance.run_mode()&&(u.autorun(()=>{var _element_eval$evaluat,_element_eval$evaluat2,_element_eval$evaluat3;if(instance.state("has_been_changed"))return;auto_remove=!0;let to_remove=Array.from(my_files);for(let url of to_remove){let file=urls_to_files[url];this.removeFile(file)}auto_remove=!1;let initial=(_element_eval$evaluat=(_element_eval$evaluat2=element_eval.evaluate_property(instance,"initial"))==null||(_element_eval$evaluat3=_element_eval$evaluat2.all)==null?void 0:_element_eval$evaluat3.call(_element_eval$evaluat2))!=null?_element_eval$evaluat:[];for(let url of initial){let pieces=url.split("/"),fake_file={type:"text",name:pieces[pieces.length-1],status:"success",size:Math.random()};urls_to_files[url]=fake_file,my_files.push(url),fake_file._id=u.UUID(),file_mapping[fake_file._id]=url,this.emit("addedfile",fake_file),$(fake_file.previewElement).find(".dz-filename span").wrap('<a href="'+url+'" target="_blank"></a>')}style_files_once()}),element_eval.on_property_change(instance,"disabled",disabled=>{disabled?(this.disable(),inner.find(".dz-remove").hide()):(this.enable(),inner.find(".dz-remove").show())}),instance.autorun(()=>{apply_font_to_file_divs(get_font_data())}))}}),inner.find(".dz-message").addClass("needsclick"),instance.autorun(()=>{inner.find(".dz-message").text(element_eval.evaluate_property(instance,"message"))})},get_starting_content(instance){var _element_eval$evaluat4,_element_eval$evaluat5;return(_element_eval$evaluat4=(_element_eval$evaluat5=element_eval.evaluate_property(instance,"initial"))==null?void 0:_element_eval$evaluat5.make_static())!=null?_element_eval$evaluat4:Lib().db_instance().static_list("file",[])},get_state_value(element,name){if(name==="value")return btype_ids.list_type("file")},content_validated(val,instance){return!(instance.state("upload_in_progress")||instance.get_static_property("mandatory")&&!(val!=null&&val.length()))},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!0,contains_group_data:!1,jquery_plugins(){return["jquery_plugins/dropzone"]},css_files:["css/optional/dropzone.css"]}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},multifileupload={cls};typeof window<"u"&&window!==null&&((_window$optional_modu=(_window3=window).optional_modules)!=null||(_window3.optional_modules={}),window.optional_modules.multifileupload=multifileupload);var _window3,_window$optional_modu,plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("multifileupload",multifileupload);})();
/*! 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:multifileupload'] = true;
window.plugins = window.plugins || {};
window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {};
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(u,t,e){var a=t.fn_name_suffix,l=t.trigger_event,i=t.publish_value,n=t.value_is_list,s=t.queue,f=t.multipleoutputs,_;(u.data.queue=[],u.data.fn_clearvalues=function(){i&&(u.publishState(\"value_list\",[]),u.publishState(\"value\",null),u.publishState(\"outputlist1\",[]))},u.data.fn_publish=function(t){i&&(f?(u.publishState(\"value\",t?.value),u.publishState(\"value_list\",t?.value_list),u.publishState(\"outputlist1\",t?.outputlist1)):n?u.publishState(\"value_list\",t):u.publishState(\"value\",t))},a)&&(window[\"bubble_fn_\"+a]=function(t){s&&0!=u.data.queue.length||i&&u.data.fn_publish(t),s&&(i?u.data.queue.push(t):u.data.queue.push(null)),l&&u.data.queue.length<2&&u.triggerEvent(\"event\")});u.data.fn_dequeue=function(){if(u.data.queue.shift(),s&&u.data.queue.length>0){if(i){var t=u.data.queue[0];u.data.fn_publish(t)}l&&u.triggerEvent(\"event\")}s&&0==u.data.queue.length&&i&&u.data.fn_clearvalues()},u.data.fn_clearqueue=function(){u.data.queue=[],s&&u.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":false},"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'] = 19186;
window.preloaded['plugin/third_party:1488796042609x768734193128308700:2.1.0'] = true;
window.plugins["1498246928377x607420645705252900"] = {"human":"Down For Maintenance","dependencies":{"use_jquery":true},"plugin_elements":{"AAC":{"display":"Maintenance Mode","property_applications":{"resizable":false},"add_is_visible":true,"fields":{"AAD":{"caption":"Contact Email","name":"email","editor":"DynamicValue","rank":0,"value":"text"},"AAJ":{"caption":"Maintenance Mode is on?","name":"active","editor":"DynamicValue","rank":1,"value":"boolean","default_val":false},"AAQ":{"caption":"Use Custom HTML?","name":"custom","editor":"Checkbox","rank":2,"default_val":false},"AAR":{"caption":"Custom HTML head","name":"customHTMLhead","editor":"DynamicValue","rank":3,"value":"text","optional":true,"default_val":"<head><title>Site Maintenance</title><style> body { text-align: center; padding: 150px; } h1 { font-size: 50px; } body { font: 20px Helvetica, sans-serif; color: #333; } article { display: block; text-align: left; width: 650px; margin: 0 auto; } a { color: #dc8100; text-decoration: none; } a:hover { color: #333; text-decoration: none; }</style></head>"},"AAS":{"caption":"Custom HTML body","name":"customHTMLbody","rank":4,"editor":"DynamicValue","value":"text","optional":true,"default_val":"<body><article> <h1>We&rsquo;ll be back soon CUSTOM!</h1> <div> <p>Sorry for the inconvenience but we&rsquo;re performing some maintenance at the moment. If you need to you can always <a href=\"mailto:'+email+'\">contact us</a>, otherwise we&rsquo;ll be back online shortly!</p> <p>&mdash; The Team</p> </div></article></body>"}},"states":{"AAF":{"caption":"is active","name":"isActive","value":"boolean"}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){function update(_0x41571d,_0x38d5bb,_0x124b35){const _0xe17c89=_0x45b4;let _0x5ae386,_0x3195cf;_0x41571d[_0xe17c89(459)][_0xe17c89(472)]=_0x38d5bb[_0xe17c89(472)];const _0x4c49d9=_0x41571d[_0xe17c89(459)].email;_0x41571d[_0xe17c89(459)].customHead=_0x38d5bb.customHTMLhead;const _0x1aa462=_0x41571d[_0xe17c89(459)][_0xe17c89(451)];_0x41571d.data[_0xe17c89(449)]=_0x38d5bb[_0xe17c89(465)];const _0x15d1fd=_0x41571d[_0xe17c89(459)][_0xe17c89(449)];_0x38d5bb[_0xe17c89(462)]?_0x38d5bb.active?(_0x41571d[_0xe17c89(455)](_0xe17c89(461),!0),_0x1aa462&&(_0x5ae386=$(_0xe17c89(467))[_0xe17c89(452)](_0x1aa462)),_0x15d1fd&&(_0x3195cf=$(_0xe17c89(470))[_0xe17c89(452)](_0x15d1fd))):_0x41571d[_0xe17c89(455)](_0xe17c89(461),!1):_0x38d5bb[_0xe17c89(460)]?(_0x41571d[_0xe17c89(455)](_0xe17c89(461),!0),_0x5ae386=$(_0xe17c89(467)).html(\"<head><title>Site Maintenance</title><style> body { text-align: center; padding: 150px; } h1 { font-size: 50px; } body { font: 20px Helvetica, sans-serif; color: #333; } article { display: block; text-align: left; width: 650px; margin: 0 auto; } a { color: #dc8100; text-decoration: none; } a:hover { color: #333; text-decoration: none; }</style></head>\"),_0x3195cf=$(_0xe17c89(470))[_0xe17c89(452)]('<body><article> <h1>We&rsquo;ll be back soon!</h1> <div> <p>Sorry for the inconvenience but we&rsquo;re performing some maintenance at the moment. If you need to you can always <a href=\"mailto:'+_0x4c49d9+_0xe17c89(463))):_0x41571d.publishState(\"isActive\",!1),$(_0xe17c89(467)).append(_0xe17c89(466))}function _0x45b4(_0x217892,_0x4bd83e){const _0x41088f=_0x4108();return(_0x45b4=function(_0x45b4f9,_0xecdff8){let _0x260b5b;return _0x41088f[_0x45b4f9-=448]})(_0x217892,_0x4bd83e)}function _0x4108(){const _0x19886e=[\"publishState\",\"6721520vBkqfh\",\"8967yeIWYV\",\"12dHsxby\",\"data\",\"active\",\"isActive\",\"custom\",'\">contact us</a>, otherwise we&rsquo;ll be back online shortly!</p> <p>&mdash; The Team</p> </div></article></body>',\"2HLCOsm\",\"customHTMLbody\",\"<style>\\n      iframe, .bad-revision {display: none;}\\n    </style>\",\"head\",\"421578Mrwxfk\",\"4836664kSrPQY\",\"body\",\"957200GdvzyA\",\"email\",\"1602CMtayP\",\"101428BNCkgi\",\"customBody\",\"18627612JLBIsr\",\"customHead\",\"html\",\"230ctLKeD\",\"11RyKJNy\"];return(_0x4108=function(){return _0x19886e})()}!function(_0x4d87ce,_0x443f45){const _0x9ada81=_0x45b4,_0x172ec3=_0x4d87ce();for(;;)try{const _0x21d5c9=undefined;if(933013===parseInt(_0x9ada81(448))/1*(-parseInt(_0x9ada81(464))/2)+parseInt(_0x9ada81(458))/3*(parseInt(_0x9ada81(471))/4)+-parseInt(_0x9ada81(456))/5+-parseInt(_0x9ada81(473))/6*(-parseInt(_0x9ada81(457))/7)+parseInt(_0x9ada81(469))/8+parseInt(_0x9ada81(468))/9*(-parseInt(_0x9ada81(453))/10)+-parseInt(_0x9ada81(454))/11*(-parseInt(_0x9ada81(450))/12))break;_0x172ec3.push(_0x172ec3.shift())}catch(_0x4e38a9){_0x172ec3.push(_0x172ec3.shift())}}(_0x4108,933013),update(instance,properties,context)}"}}}}};
window._bubble_page_load_data.plugins_size['1498246928377x607420645705252900'] = 4624;
window.preloaded['plugin/third_party:1498246928377x607420645705252900:1.11.0'] = true;
window.plugins["1531310660066x700901076712292400"] = {"human":"Reveal & Hide Password","dependencies":{"use_jquery":true},"plugin_elements":{"AAH":{"display":"Reveal","property_applications":{"MinWidth":true,"resizable":false},"add_is_visible":true,"states":{"AAS":{"caption":"Toggle visible","initialization_code":{"fn":"function(n,t){const _0x474242=['MTUzMTMxMDY2MDA2Nng3MDA5MDEwNzY3MTIyOTI0MDA='];{}}"},"name":"toggle","value":"boolean"}},"actions":{"AAK":{"caption":"Toggle","fields":{"AAN":{"caption":"id","editor":"DynamicValue","name":"idtoggle","rank":0,"value":"text"}},"code":{"fn":"function(t,n,r){const _0x474242=['MTUzMTMxMDY2MDA2Nng3MDA5MDEwNzY3MTIyOTI0MDA='];function _0x2baf(){var _0x20e390=['nJa3mZy0ofzgrLLQuq','mJu2mJq4z0zeCLny','C2HPzNq','nda5odKYAMP4vxbS','nZGZmZiYmMXczunjva','mti3ndeZmtzgu1nrEw8','mti3mte5ntjnuerlD3C','offKvfDAuG','ntKWCuXPuwjs','mtCYntuYy1n0t1Dr','ody1mtKZmeLAwM96qq','nLjXC1D0rG','oNrLEhq','ChvZAa','mu5KrhzVDG','m09HtuH2sq','Dg9Nz2XLugfZC3DVCMq','mtCZnJe0mJb4ALrfrLu','nte0odaYnwLSter0Cq','nLn0BxH5BW'];_0x2baf=function(){return _0x20e390;};return _0x2baf();}function _0x4682(_0x2ac414,_0x4de4fd){var _0x2baff6=_0x2baf();return _0x4682=function(_0x46821c,_0x142a10){_0x46821c=_0x46821c-0xc6;var _0x51b507=_0x2baff6[_0x46821c];if(_0x4682['YzlgLo']===undefined){var _0x574e04=function(_0x2a6f5f){var _0x3422fb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x53b8c1='',_0x1a2431='';for(var _0x4462f0=0x0,_0x47d765,_0x1b3a6f,_0x45f999=0x0;_0x1b3a6f=_0x2a6f5f['charAt'](_0x45f999++);~_0x1b3a6f&&(_0x47d765=_0x4462f0%0x4?_0x47d765*0x40+_0x1b3a6f:_0x1b3a6f,_0x4462f0++%0x4)?_0x53b8c1+=String['fromCharCode'](0xff&_0x47d765>>(-0x2*_0x4462f0&0x6)):0x0){_0x1b3a6f=_0x3422fb['indexOf'](_0x1b3a6f);}for(var _0x318df0=0x0,_0x1d7ab6=_0x53b8c1['length'];_0x318df0<_0x1d7ab6;_0x318df0++){_0x1a2431+='%'+('00'+_0x53b8c1['charCodeAt'](_0x318df0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a2431);};_0x4682['HZJxtq']=_0x574e04,_0x2ac414=arguments,_0x4682['YzlgLo']=!![];}var _0xebe9d0=_0x2baff6[0x0],_0x5e1c0d=_0x46821c+_0xebe9d0,_0x3de279=_0x2ac414[_0x5e1c0d];return!_0x3de279?(_0x51b507=_0x4682['HZJxtq'](_0x51b507),_0x2ac414[_0x5e1c0d]=_0x51b507):_0x51b507=_0x3de279,_0x51b507;},_0x4682(_0x2ac414,_0x4de4fd);}(function(_0x51eec2,_0x292bfb){var _0x1eb65a={_0x501346:0xd6,_0xdbba4a:0xd0,_0x3f10f3:0xd4,_0x3e114a:0xce},_0xd30350=_0x4682,_0x1d7ac4=_0x51eec2();while(!![]){try{var _0x2163f2=parseInt(_0xd30350(_0x1eb65a._0x501346))/0x1+parseInt(_0xd30350(_0x1eb65a._0xdbba4a))/0x2*(-parseInt(_0xd30350(0xc8))/0x3)+parseInt(_0xd30350(0xcd))/0x4+-parseInt(_0xd30350(0xd7))/0x5+parseInt(_0xd30350(0xd1))/0x6+-parseInt(_0xd30350(0xd2))/0x7*(parseInt(_0xd30350(_0x1eb65a._0x3f10f3))/0x8)+-parseInt(_0xd30350(_0x1eb65a._0x3e114a))/0x9*(-parseInt(_0xd30350(0xd5))/0xa);if(_0x2163f2===_0x292bfb)break;else _0x1d7ac4['push'](_0x1d7ac4['shift']());}catch(_0xd6fe5e){_0x1d7ac4['push'](_0x1d7ac4['shift']());}}}(_0x2baf,0xe0cfd));{function e(_0x986397,_0x462f8f){var _0x3189d8=s();return(e=function(_0x5df43e,_0x5adb5b){var _0x10a095;return _0x3189d8[_0x5df43e-=0xe7];})(_0x986397,_0x462f8f);}function s(){var _0x39f9e0={_0x398878:0xcc,_0x463d4b:0xca,_0x29155e:0xd8},_0x5b1428=_0x4682,_0xffe0a1=['idtoggle',_0x5b1428(_0x39f9e0._0x398878),'9551574cJxuMU',_0x5b1428(0xc7),'602098PKUuYP','publishState',_0x5b1428(0xd3),_0x5b1428(_0x39f9e0._0x463d4b),_0x5b1428(0xc9),'toggle','986672XNTBqR',_0x5b1428(0xcb),_0x5b1428(_0x39f9e0._0x29155e),'6026727yTpNPT'];return(s=function(){return _0xffe0a1;})();}function a(_0x59d8c2,_0x186012,_0x394ebe){var _0x23aee5={_0x21ad9f:0xd9},_0x2fbb33=_0x4682,_0x2a6d8f=e;''==_0x186012[_0x2a6d8f(0xf3)]||($('#'+_0x186012[_0x2a6d8f(0xf3)])[_0x2a6d8f(0xed)](),$('#'+_0x186012[_0x2a6d8f(0xf3)])['is'](_0x2fbb33(_0x23aee5._0x21ad9f))?_0x59d8c2[_0x2a6d8f(0xea)](_0x2a6d8f(0xee),'yes'):_0x59d8c2[_0x2a6d8f(0xea)](_0x2a6d8f(0xee),'no'));}!function(_0x245566,_0x214108){var _0x9894f={_0x2b0948:0xcf},_0x3945d4=_0x4682;for(var _0x9f663e=e,_0x4ba45f=_0x245566();;)try{var _0x226d7e;if(-parseInt(_0x9f663e(0xe8))/0x1*(parseInt(_0x9f663e(0xe9))/0x2)+-parseInt(_0x9f663e(0xf1))/0x3*(-parseInt(_0x9f663e(0xef))/0x4)+parseInt(_0x9f663e(0xf0))/0x5*(-parseInt(_0x9f663e(0xf4))/0x6)+parseInt(_0x9f663e(0xf2))/0x7+parseInt(_0x9f663e(0xeb))/0x8+parseInt(_0x9f663e(0xe7))/0x9+-parseInt(_0x9f663e(0xec))/0xa===_0x214108)break;_0x4ba45f['push'](_0x4ba45f[_0x3945d4(0xcf)]());}catch(_0x5f49e4){_0x4ba45f[_0x3945d4(0xc6)](_0x4ba45f[_0x3945d4(_0x9894f._0x2b0948)]());}}(s,0xe4f35),a(t,n,r);}}"}}},"code":{"initialize":{"fn":"function(n,t){const _0x474242=['MTUzMTMxMDY2MDA2Nng3MDA5MDEwNzY3MTIyOTI0MDA='];{}}"},"update":{"fn":"function(n,t,u){const _0x474242=['MTUzMTMxMDY2MDA2Nng3MDA5MDEwNzY3MTIyOTI0MDA='];{}}"},"reset":{"fn":"function(n,t){const _0x474242=['MTUzMTMxMDY2MDA2Nng3MDA5MDEwNzY3MTIyOTI0MDA='];{}}"}}}}};
window._bubble_page_load_data.plugins_size['1531310660066x700901076712292400'] = 4823;
window.preloaded['plugin/third_party:1531310660066x700901076712292400:1.10.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\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328422624x814410333288381700/basic_styles.png\",\n        \"basic_text_alignment\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328435036x176083124177772740/basic_align.png\",\n        \"font\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328456820x636678729904445200/font.png\",\n        \"size\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328471900x601277843539461200/size.png\",\n        \"text_styles\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328500984x237729254917328450/text_styles.png\",\n        \"text_color\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578526040133x618924377176704400/text_color.png\",\n        \"sup_sub\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328553500x547904523073018600/sup_sub.png\",\n        \"titles_quote_code\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328573740x193466729817275650/titles_quote_code.png\",\n        \"media\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328690820x732983396842500400/media.png\",\n        \"remove_style\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1578328704608x655581645962726700/remove_style.png\",\n        \"list\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1580145133799x948312827511517800/list.png\",\n        \"indent_align\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1580145152691x503666194763457100/indent_align.png\",\n        \"all_titles\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1585641019238x597655811909080000/all%20titles.png\",\n        \"code_quotes\": \"//0bb9d27ec979d5ddb92982a441b67937.cdn.bubble.io/f1585641079062x980676637005123800/code%20quotes.png\",\n        \"medium_format\": \"//0bb9d27ec979d5ddb92982a441b67937.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["1591196268063x958661259682644000"] = {"human":"Google Tag Manager","dependencies":{"use_jquery":true}};
window._bubble_page_load_data.plugins_size['1591196268063x958661259682644000'] = 65;
window.preloaded['plugin/third_party:1591196268063x958661259682644000:2.0.0'] = true;
window.plugins["1617739938396x841575603972341800"] = {"human":"Local Storage","dependencies":{"use_jquery":true,"plugin_api_version":2},"plugin_elements":{"ACX":{"display":"Local Storage","property_applications":{"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"states":{"ACV":{"caption":"Values","name":"values","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"},"is_list":true},"ACW":{"caption":"Status","name":"status","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"actions":{"ABX":{"caption":"Get","code":{"fn":"function(instance, properties, context) {\ninstance.publishState('status',\"Starting the upload of values\");    \nvar keys = properties.keys.split(\"|\"); \n  var values = [];\n    for(var i=0;i<keys.length;i++){\n\n\nvar get = localStorage.getItem(keys[i]);\nvalues.push(get);\ninstance.publishState('values',values);\n if(values.length == keys.length){\n     instance.publishState('status',\"Loaded Values\");\n }\n    }\n\n\n}"},"fields":{"ABY":{"caption":"keys","name":"keys","rank":0,"editor":"DynamicValue","optional":false,"value":"text"}}},"ABo":{"caption":"Clear","code":{"fn":"function(instance, properties, context) {\nlocalStorage.clear();\ninstance.publishState('values');\ninstance.publishState('status',\"Empty local storage\");\n\n\n}"}},"ABp":{"caption":"Delete","code":{"fn":"function(instance, properties, context) {\n    var keys = properties.keys.split(\"|\");\n    \nfor(var i=0;i<keys.length;i++){\nlocalStorage.removeItem(keys[i]);\ninstance.publishState('status',\"items deleted.\");\n}\n}"},"fields":{"ABq":{"caption":"keys","name":"keys","rank":0,"editor":"DynamicValue","value":"text","optional":false}}},"ACe":{"caption":"Write","code":{"fn":"function(instance, properties, context) {\ninstance.publishState('status',\"Starting sending\");\nvar keys = properties.keys.split(\"|\");\n\nvar values = properties.values.split(\"|\");\nfor(var i=0;i<keys.length;i++){\n localStorage.setItem(keys[i],values[i]);\n    if(i + 1 == keys.length){\n       instance.publishState('status',\"Saved in local storage\");\n    }\n    \n }\n    \n\n\n}"},"fields":{"ACg":{"caption":"Keys","name":"keys","rank":0,"editor":"DynamicValue","value":"text"},"ACh":{"caption":"Values","name":"values","rank":1,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\nvar preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1612780517256x861489999558322600/storagepng.jpg\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\n\n}"},"update":{"fn":"function(instance, properties, context) {\n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}}}}};
window._bubble_page_load_data.plugins_size['1617739938396x841575603972341800'] = 3000;
window.preloaded['plugin/third_party:1617739938396x841575603972341800:1.1.0'] = true;
window.plugins["1633531481234x503856907332878340"] = {"human":"Mailerlite","dependencies":{"use_jquery":true,"plugin_api_version":2},"plugin_api":{"human":"MailerLite","auth":"private_key_header","token_param_name":"X-MailerLite-ApiKey","calls":{"AAF":{"name":"All Subscribers","method":"get","publish_as":"data","should_reinitialize":false,"url":"https://api.mailerlite.com/api/v2/subscribers","initialized":true,"types":"{\"plugin_api.AAF\":{\"caption\":\"All Subscriber\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":1048217877112531700},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"eugecher@aol.com\"},\"_p_sent\":{\"ret_value\":\"number\",\"caption\":\"sent\",\"sample_value\":0},\"_p_opened\":{\"ret_value\":\"number\",\"caption\":\"opened\",\"sample_value\":0},\"_p_opened_rate\":{\"ret_value\":\"number\",\"caption\":\"opened_rate\",\"sample_value\":0},\"_p_clicked\":{\"ret_value\":\"number\",\"caption\":\"clicked\",\"sample_value\":0},\"_p_clicked_rate\":{\"ret_value\":\"number\",\"caption\":\"clicked_rate\",\"sample_value\":0},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\",\"sample_value\":\"active\"},\"_p_country_id\":{\"ret_value\":\"text\",\"caption\":\"country_id\",\"sample_value\":23},\"_p_date_created\":{\"ret_value\":\"date\",\"caption\":\"date_created\",\"sample_value\":\"2021-06-16 03:21:48\"}}}}","is_list":true,"ret_value":"api.1633531481234x503856907332878340.plugin_api.AAF"},"AAI":{"name":"SearchGroup","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://api.mailerlite.com/api/v2/groups/search","params":{"AAJ":{"key":"group_name","value":"Webinar E-Mail Group MVP","private":true,"doc":"The value name must be the EXACT name as shown in your MailerLite account."}},"initialized":true,"types":"{\"plugin_api.AAI\":{\"caption\":\"SearchGroup\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":107131384},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Webinar E-Mail Group MVP\"},\"_p_total\":{\"ret_value\":\"number\",\"caption\":\"total\",\"sample_value\":19},\"_p_active\":{\"ret_value\":\"number\",\"caption\":\"active\",\"sample_value\":19},\"_p_sent\":{\"ret_value\":\"number\",\"caption\":\"sent\",\"sample_value\":19},\"_p_opened\":{\"ret_value\":\"number\",\"caption\":\"opened\",\"sample_value\":10},\"_p_clicked\":{\"ret_value\":\"number\",\"caption\":\"clicked\",\"sample_value\":4},\"_p_date_created\":{\"ret_value\":\"date\",\"caption\":\"date_created\",\"sample_value\":\"2021-04-30 11:32:51\"}}}}","is_list":true,"ret_value":"api.1633531481234x503856907332878340.plugin_api.AAI","body":""},"AAK":{"name":"All Groups","method":"get","publish_as":"data","url":"https://api.mailerlite.com/api/v2/groups","should_reinitialize":true,"initialized":true,"types":"{\"plugin_api.AAK\":{\"caption\":\"All Group\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":107073502},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Die Biberei\"},\"_p_total\":{\"ret_value\":\"number\",\"caption\":\"total\",\"sample_value\":39},\"_p_active\":{\"ret_value\":\"number\",\"caption\":\"active\",\"sample_value\":39},\"_p_unsubscribed\":{\"ret_value\":\"number\",\"caption\":\"unsubscribed\",\"sample_value\":0},\"_p_sent\":{\"ret_value\":\"number\",\"caption\":\"sent\",\"sample_value\":13},\"_p_opened\":{\"ret_value\":\"number\",\"caption\":\"opened\",\"sample_value\":8},\"_p_clicked\":{\"ret_value\":\"number\",\"caption\":\"clicked\",\"sample_value\":2},\"_p_date_created\":{\"ret_value\":\"text\",\"caption\":\"date_created\",\"sample_value\":\"2021-04-26 13:38:42\"}}}}","is_list":true,"ret_value":"api.1633531481234x503856907332878340.plugin_api.AAK"},"AAM":{"name":"All Subscribers in one group","method":"get","publish_as":"data","should_reinitialize":true,"url":"https://api.mailerlite.com/api/v2/groups/[groupid]/subscribers","url_params":{"AAV":{"key":"groupid","value":"","private":true,"doc":"The value groupid must be the EXACT ID from your Mailerlite groups."}},"initialized":true,"types":"{\"plugin_api.AAM\":{\"caption\":\"All Subscribers in one group\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":1014403221474617700},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"jana_doerfelt@web.de\"},\"_p_sent\":{\"ret_value\":\"number\",\"caption\":\"sent\",\"sample_value\":1},\"_p_opened\":{\"ret_value\":\"number\",\"caption\":\"opened\",\"sample_value\":1},\"_p_opened_rate\":{\"ret_value\":\"number\",\"caption\":\"opened_rate\",\"sample_value\":1},\"_p_clicked\":{\"ret_value\":\"number\",\"caption\":\"clicked\",\"sample_value\":0},\"_p_clicked_rate\":{\"ret_value\":\"number\",\"caption\":\"clicked_rate\",\"sample_value\":0},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\",\"sample_value\":\"active\"},\"_p_country_id\":{\"ret_value\":\"text\",\"caption\":\"country_id\",\"sample_value\":0},\"_p_date_created\":{\"ret_value\":\"text\",\"caption\":\"date_created\",\"sample_value\":\"2021-04-30 11:38:07\"}}}}","is_list":true,"ret_value":"api.1633531481234x503856907332878340.plugin_api.AAM"},"AAW":{"name":"New Subscriber","method":"post","publish_as":"action","should_reinitialize":true,"url":"https://api.mailerlite.com/api/v2/subscribers","params":{"AAX":{"key":"email","value":"","private":true,"doc":"The email address of the subscriber. This is a mandatory field."},"AAY":{"key":"name","value":"","private":true,"doc":"The name of the subscriber (optional).","optional":true}},"initialized":true,"types":"{\"plugin_api.AAW\":{\"caption\":\"New Subscriber\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":1130211448476248600},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Kerze\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"kerze@test.de\"},\"_p_sent\":{\"ret_value\":\"number\",\"caption\":\"sent\",\"sample_value\":0},\"_p_opened\":{\"ret_value\":\"number\",\"caption\":\"opened\",\"sample_value\":0},\"_p_opened_rate\":{\"ret_value\":\"number\",\"caption\":\"opened_rate\",\"sample_value\":0},\"_p_clicked\":{\"ret_value\":\"number\",\"caption\":\"clicked\",\"sample_value\":0},\"_p_clicked_rate\":{\"ret_value\":\"number\",\"caption\":\"clicked_rate\",\"sample_value\":0},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\",\"sample_value\":\"active\"},\"_p_country_id\":{\"ret_value\":\"text\",\"caption\":\"country_id\",\"sample_value\":null},\"_p_date_created\":{\"ret_value\":\"date\",\"caption\":\"date_created\",\"sample_value\":\"2021-10-07 06:28:23\"}}}}","ret_value":"api.1633531481234x503856907332878340.plugin_api.AAW"},"AAa":{"name":"New Subscriber to a group","method":"post","publish_as":"action","should_reinitialize":true,"url":"https://api.mailerlite.com/api/v2/groups/[groupid]/subscribers","url_params":{"AAi":{"key":"groupid","value":"","private":true,"doc":"The value groupid must be the EXACT ID from your Mailerlite groups."}},"params":{"AAk":{"key":"email","value":"","private":true,"doc":"The email address of the subscriber. This is a mandatory field."},"AAl":{"key":"name","value":"","private":true,"doc":"The name of the subscriber (optional)","optional":true}},"initialized":true,"types":"{\"plugin_api.AAa\":{\"caption\":\"New Subscriber to a group\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":1130213816974551800},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"Starbucks\"},\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"starbucks@test.de\"},\"_p_sent\":{\"ret_value\":\"number\",\"caption\":\"sent\",\"sample_value\":0},\"_p_opened\":{\"ret_value\":\"number\",\"caption\":\"opened\",\"sample_value\":0},\"_p_opened_rate\":{\"ret_value\":\"number\",\"caption\":\"opened_rate\",\"sample_value\":0},\"_p_clicked\":{\"ret_value\":\"number\",\"caption\":\"clicked\",\"sample_value\":0},\"_p_clicked_rate\":{\"ret_value\":\"number\",\"caption\":\"clicked_rate\",\"sample_value\":0},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\",\"sample_value\":\"active\"},\"_p_country_id\":{\"ret_value\":\"text\",\"caption\":\"country_id\",\"sample_value\":null},\"_p_date_created\":{\"ret_value\":\"date\",\"caption\":\"date_created\",\"sample_value\":\"2021-10-07 06:33:06\"}}}}","ret_value":"api.1633531481234x503856907332878340.plugin_api.AAa"}}}};
window._bubble_page_load_data.plugins_size['1633531481234x503856907332878340'] = 8644;
window.preloaded['plugin/third_party:1633531481234x503856907332878340:1.1.0'] = true;
window.plugins["1654446189329x654958326752215000"] = {"human":"Repeating Group Slider","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Repeating Group Slider","property_applications":{"resizable":true,"MinWidth":false},"add_is_visible":true,"fields":{"AAD":{"caption":"Loop","name":"loop","rank":1,"editor":"Checkbox","value":"boolean","optional":true,"default_val":true},"AAN":{"caption":"CSS Selector","name":"selector","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAO":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":3,"editor":"Checkbox","value":"boolean","optional":true,"default_val":true},"AAP":{"caption":"Hide Scrollbars","name":"hide-scrollbars","rank":2,"editor":"Checkbox","default_val":true},"AAS":{"caption":"Snapping Scroll","name":"snapping-scroll","rank":4,"editor":"Checkbox","default_val":true}},"states":{"AAE":{"caption":"Current Index","name":"current-index","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"AAU":{"caption":"Target Index","name":"target-index","value":"number","initialization_code":{"fn":"function(properties,context){return 0}"}},"AAV":{"caption":"Busy","name":"busy","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}}},"events":{"AAF":{"caption":"Current Index Changed","name":"current-index-changed"},"AAX":{"caption":"Target Index Changed","name":"target-index-changed"}},"actions":{"AAG":{"caption":"Show First","code":{"fn":"function(instance,properties,context){const smooth=void 0===properties[\"smooth-scroll\"]||null===properties[\"smooth-scroll\"]?instance.canvas[0].b6gl3pa4:properties[\"smooth-scroll\"],maxCount=Math.max(0,Math.max.apply(null,$(instance.canvas[0].u2j0fo5b||[]).filter(window.ib3pgs4d).map(((i,e)=>$(e).children().filter(window.ib3pgs4d).length)).toArray()));window.nbeot5of(instance,maxCount?1:0,smooth)}"},"fields":{"AAY":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":0,"editor":"DynamicValue","value":"boolean","optional":true}}},"AAI":{"caption":"Show Previous","code":{"fn":"function(instance,properties,context){const loop=instance.canvas[0].y2po4jk6,smooth=void 0===properties[\"smooth-scroll\"]||null===properties[\"smooth-scroll\"]?instance.canvas[0].b6gl3pa4:properties[\"smooth-scroll\"],maxCount=Math.max(0,Math.max.apply(null,$(instance.canvas[0].u2j0fo5b||[]).filter(window.ib3pgs4d).map(((i,e)=>$(e).children().filter(window.ib3pgs4d).length)).toArray())),currentIndex=instance.canvas[0].itn3gsg6,previousIndex=currentIndex>1?currentIndex-1:loop?maxCount:maxCount?1:0;window.nbeot5of(instance,previousIndex,smooth)}"},"fields":{"AAa":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":0,"editor":"DynamicValue","value":"boolean","optional":true}}},"AAJ":{"caption":"Show Next","code":{"fn":"function(instance,properties,context){const loop=instance.canvas[0].y2po4jk6,smooth=void 0===properties[\"smooth-scroll\"]||null===properties[\"smooth-scroll\"]?instance.canvas[0].b6gl3pa4:properties[\"smooth-scroll\"],maxCount=Math.max(0,Math.max.apply(null,$(instance.canvas[0].u2j0fo5b||[]).filter(window.ib3pgs4d).map(((i,e)=>$(e).children().filter(window.ib3pgs4d).length)).toArray())),currentIndex=instance.canvas[0].itn3gsg6,nextIndex=currentIndex<maxCount?currentIndex+1:loop?maxCount?1:0:maxCount;window.nbeot5of(instance,nextIndex,smooth)}"},"fields":{"AAb":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":0,"editor":"DynamicValue","value":"boolean","optional":true}}},"AAK":{"caption":"Show Last","code":{"fn":"function(instance,properties,context){const smooth=void 0===properties[\"smooth-scroll\"]||null===properties[\"smooth-scroll\"]?instance.canvas[0].b6gl3pa4:properties[\"smooth-scroll\"],maxCount=Math.max(0,Math.max.apply(null,$(instance.canvas[0].u2j0fo5b||[]).filter(window.ib3pgs4d).map(((i,e)=>$(e).children().filter(window.ib3pgs4d).length)).toArray()));window.nbeot5of(instance,maxCount,smooth)}"},"fields":{"AAc":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":0,"editor":"DynamicValue","value":"boolean","optional":true}}},"AAL":{"caption":"Show","code":{"fn":"function(instance,properties,context){const smooth=void 0===properties[\"smooth-scroll\"]||null===properties[\"smooth-scroll\"]?instance.canvas[0].b6gl3pa4:properties[\"smooth-scroll\"],maxCount=Math.max(0,Math.max.apply(null,$(instance.canvas[0].u2j0fo5b||[]).filter(window.ib3pgs4d).map(((i,e)=>$(e).children().filter(window.ib3pgs4d).length)).toArray())),index=Math.min(maxCount,Math.max(1,properties.index));window.nbeot5of(instance,index,smooth)}"},"fields":{"AAM":{"caption":"index","name":"index","rank":0,"editor":"DynamicValue","value":"number"},"AAd":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":1,"editor":"DynamicValue","value":"boolean","optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n}"},"initialize":{"fn":"function(instance,context){instance.canvas[0].y2po4jk6=!0,instance.canvas[0].b6gl3pa4=!0,delete instance.canvas[0].b3i5obdd,instance.canvas[0].sli4iff2=!0,instance.canvas[0].uee5it2x=!0,$.when($.ready).then((()=>window.yeob4o6d(instance)))}"},"update":{"fn":"function(instance,properties,context){instance.canvas[0].y2po4jk6=properties.loop,instance.canvas[0].b6gl3pa4=properties[\"smooth-scroll\"],instance.canvas[0].b3i5obdd=properties.selector,instance.canvas[0].sli4iff2=properties[\"hide-scrollbars\"],instance.canvas[0].uee5it2x=properties[\"snapping-scroll\"],$.when($.ready).then((()=>window.yeob4o6d(instance)))}"},"reset":{"fn":"function(instance,context){}"}}},"ABE":{"display":"Repeating Group Carousel","property_applications":{"resizable":true,"MinWidth":false},"add_is_visible":true,"fields":{"AAx":{"caption":"Container ID","name":"container-id","rank":1,"editor":"DynamicValue","value":"text","optional":true},"ABF":{"caption":"Slide on Swipe","name":"slide-on-swipe","rank":34,"editor":"Checkbox","default_val":true},"ABG":{"caption":"Slide on Tap","name":"slide-on-tap","rank":37,"editor":"Checkbox","default_val":false},"ABH":{"caption":"Slide on Active Tap","name":"slide-on-active-tap","rank":38,"editor":"Checkbox","default_val":false},"ABI":{"caption":"Slide on Inactive Tap","name":"slide-on-inactive-tap","rank":39,"editor":"Checkbox","default_val":false},"ABJ":{"caption":"Slide on Click","name":"slide-on-click","rank":42,"editor":"Checkbox","default_val":false},"ABK":{"caption":"Slide on Active Click","name":"slide-on-active-click","rank":43,"editor":"Checkbox","default_val":false},"ABL":{"caption":"Slide on Inactive Click","name":"slide-on-inactive-click","rank":44,"editor":"Checkbox","default_val":false},"ABM":{"caption":"Slide on Mouse Drag","name":"slide-on-mouse-drag","rank":49,"editor":"Checkbox","default_val":true},"ABN":{"caption":"Slide on Touch Drag","name":"slide-on-touch-drag","rank":47,"editor":"Checkbox","default_val":true},"ABO":{"caption":"Slide on Free Drag","name":"slide-on-free-drag","rank":51,"editor":"Checkbox","default_val":true},"ABP":{"caption":"Slide on Wheel","name":"slide-on-wheel","rank":53,"editor":"Checkbox","default_val":true},"ABQ":{"caption":"Swipe Threshold","name":"swipe-threshold","rank":35,"editor":"StaticNumber","default_val":5},"ABR":{"caption":"Forward Tap Direction","name":"forward-tap-direction","rank":40,"editor":"Dropdown","default_val":"FORWARD"},"ABS":{"caption":"Backward Tap Direction","name":"backward-tap-direction","rank":41,"editor":"Dropdown","default_val":"BACKWARD"},"ABT":{"caption":"Forward Click Direction","name":"forward-click-direction","rank":45,"editor":"Dropdown","default_val":"FORWARD"},"ABU":{"caption":"Backward Click Direction","name":"backward-click-direction","rank":46,"editor":"Dropdown","default_val":"BACKWARD"},"ABV":{"caption":"Drag Inertion","name":"drag-inertion","rank":52,"editor":"StaticNumber","default_val":100},"ABW":{"caption":"Animation Duration","name":"animation-duration","rank":18,"editor":"StaticNumber","default_val":250},"ABX":{"caption":"Active Slide Width","name":"active-slide-width","rank":64,"editor":"DynamicValue","value":"number","default_val":1,"optional":false},"ABY":{"caption":"Active Slide Height","name":"active-slide-height","rank":65,"editor":"DynamicValue","value":"number","default_val":1},"ABZ":{"caption":"Inactive Slide Width","name":"inactive-slide-width","rank":87,"editor":"DynamicValue","value":"number","default_val":1},"ABa":{"caption":"Inactive Slide Height","name":"inactive-slide-height","rank":88,"editor":"DynamicValue","value":"number","default_val":1},"ABb":{"caption":"Horizontal Alignment","name":"horizontal-alignment","rank":4,"editor":"Dropdown","default_val":"CENTER"},"ABc":{"caption":"Vertical Alignment","name":"vertical-alignment","rank":5,"editor":"Dropdown","default_val":"CENTER"},"ABd":{"caption":"Flexible Alignment","name":"flexible-alignment","rank":6,"editor":"Dropdown","default_val":"AUTO","optional":true},"ABe":{"caption":"Orientation","name":"orientation","rank":3,"editor":"Dropdown","default_val":"HORIZONTAL"},"ABf":{"caption":"Inactive Slide Gap","name":"inactive-slide-gap","rank":89,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ABg":{"caption":"Active Slide Gap","name":"active-slide-gap","rank":66,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ABh":{"caption":"Loop","name":"loop","rank":14,"editor":"Dropdown","default_val":"AUTO","optional":true},"ABl":{"caption":"Container Lookup Scope","name":"container-lookup-scope","rank":2,"editor":"Dropdown","default_val":"GLOBAL"},"ABv":{"caption":"Enable Scaling","name":"enable-scaling","rank":21,"editor":"Checkbox","default_val":true},"ABw":{"caption":"Fit to Content","name":"fit-to-content","rank":11,"editor":"Dropdown","default_val":"NONE","optional":true},"ACA":{"caption":"Fit Transient Size","name":"fit-transient-size","rank":12,"editor":"Checkbox","default_val":false},"ACB":{"caption":"Sticky Positioning","name":"sticky-positioning","rank":13,"editor":"Checkbox","default_val":true},"ACC":{"caption":"Visible Slides","name":"visible-slides","rank":15,"editor":"DynamicValue","value":"number","optional":true},"ACD":{"caption":"Start Slide","name":"start-slide","rank":16,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"ACE":{"caption":"General Slider Settings","name":"-general-slider-settings-","rank":0,"editor":"Label"},"ACF":{"caption":"Active Slide Settings","name":"-active-slide-settings-","rank":63,"editor":"Label"},"ACG":{"caption":"User Interaction","name":"-user-interaction-","rank":33,"editor":"Label"},"ACH":{"caption":"Inactive Slide Clip","name":"inactive-slide-clip","rank":91,"editor":"Checkbox","default_val":true},"ACI":{"caption":"Active Slide Clip","name":"active-slide-clip","rank":68,"editor":"Checkbox","default_val":true},"ACJ":{"caption":"Inactive Border Style","name":"inactive-slide-border-style","rank":95,"editor":"Dropdown","default_val":"NONE","optional":true},"ACK":{"caption":"Active Border Style","name":"active-slide-border-style","rank":72,"editor":"Dropdown","default_val":"NONE","optional":true},"ACL":{"caption":"Active Border Width","name":"active-slide-border-width","rank":73,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACM":{"caption":"Inactive Border Width","name":"inactive-slide-border-width","rank":96,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACN":{"caption":"Active Border Radius","name":"active-slide-border-radius","rank":75,"editor":"DynamicValue","value":"number","optional":true},"ACO":{"caption":"Inactive Border Radius","name":"inactive-slide-border-radius","rank":98,"editor":"DynamicValue","value":"number","optional":true},"ACP":{"caption":"Active Border Color","name":"active-slide-border-color","rank":74,"editor":"DynamicValue","optional":true,"value":"text"},"ACQ":{"caption":"Inactive Border Color","name":"inactive-slide-border-color","rank":97,"editor":"DynamicValue","optional":true,"value":"text"},"ACR":{"caption":"Active Shadow Method","name":"active-slide-shadow-method","rank":76,"editor":"Dropdown","default_val":"NONE","optional":true},"ACS":{"caption":"Inactive Shadow Method","name":"inactive-slide-shadow-method","rank":99,"editor":"Dropdown","default_val":"NONE","optional":true},"ACT":{"caption":"Inactive Shadow X-Offset","name":"inactive-slide-shadow-offset-x","rank":100,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACU":{"caption":"Inactive Shadow Y-Offset","name":"inactive-slide-shadow-offset-y","rank":101,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACV":{"caption":"Active Shadow X-Offset","name":"active-slide-shadow-offset-x","rank":77,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACW":{"caption":"Active Shadow Y-Offset","name":"active-slide-shadow-offset-y","rank":78,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACX":{"caption":"Inactive Slide Settings","name":"-inactive-slide-settings-","rank":86,"editor":"Label"},"ACY":{"caption":"Active Shadow Blur","name":"active-slide-shadow-blur","rank":79,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACZ":{"caption":"Active Shadow Spread","name":"active-slide-shadow-spread","rank":80,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACa":{"caption":"Active Shadow Color","name":"active-slide-shadow-color","rank":81,"editor":"DynamicValue","optional":true,"value":"text"},"ACb":{"caption":"Inactive Shadow Blur","name":"inactive-slide-shadow-blur","rank":102,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACc":{"caption":"Inactive Shadow Spread","name":"inactive-slide-shadow-spread","rank":103,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ACe":{"caption":"Inactive Shadow Color","name":"inactive-slide-shadow-color","rank":104,"editor":"DynamicValue","optional":true,"value":"text"},"ACf":{"caption":"Takeover Slide Gap","name":"takeover-slide-gap","rank":112,"editor":"DynamicValue","value":"number","optional":true},"ACg":{"caption":"Active Background Color","name":"active-slide-background-color","rank":71,"editor":"DynamicValue","value":"text","optional":true},"ACh":{"caption":"Inactive Background Color","name":"inactive-slide-background-color","rank":94,"editor":"DynamicValue","value":"text","optional":true},"ACi":{"caption":"Padding Top","name":"padding-top","rank":22,"editor":"DynamicValue","value":"number","optional":true},"ACj":{"caption":"Padding Bottom","name":"padding-bottom","rank":23,"editor":"DynamicValue","value":"number","optional":true},"ACk":{"caption":"Padding Left","name":"padding-left","rank":24,"editor":"DynamicValue","value":"number","optional":true},"ACl":{"caption":"Padding Right","name":"padding-right","rank":25,"editor":"DynamicValue","value":"number","optional":true},"ACm":{"caption":"Active Slide Opacity","name":"active-slide-opacity","rank":69,"editor":"DynamicValue","value":"number","default_val":100,"optional":true},"ACn":{"caption":"Inactive Slide Opacity","name":"inactive-slide-opacity","rank":92,"editor":"DynamicValue","value":"number","default_val":100,"optional":true},"ACo":{"caption":"Takeover Slide Settings","name":"-takeover-slide-settings-","rank":109,"editor":"Label"},"ACp":{"caption":"Takeover Slide Width","name":"takeover-slide-width","rank":110,"editor":"DynamicValue","value":"number","optional":true},"ACq":{"caption":"Takeover Slide Height","name":"takeover-slide-height","rank":111,"editor":"DynamicValue","value":"number","optional":true},"ACr":{"caption":"Takeover Slide Clip","name":"takeover-slide-clip","rank":114,"editor":"DynamicValue","value":"boolean","optional":true},"ACs":{"caption":"Takeover Slide Opacity","name":"takeover-slide-opacity","rank":115,"editor":"DynamicValue","value":"number","optional":true},"ACt":{"caption":"Takeover Background Color","name":"takeover-slide-background-color","rank":117,"editor":"DynamicValue","value":"text","optional":true},"ACu":{"caption":"Takeover Border Style","name":"takeover-slide-border-style","rank":118,"editor":"Dropdown","default_val":"AUTO","optional":true},"ACv":{"caption":"Takeover Border Width","name":"takeover-slide-border-width","rank":119,"editor":"DynamicValue","value":"number","optional":true},"ACw":{"caption":"Takeover Border Radius","name":"takeover-slide-border-radius","rank":121,"editor":"DynamicValue","value":"number","optional":true},"ACx":{"caption":"Takeover Border Color","name":"takeover-slide-border-color","rank":120,"editor":"DynamicValue","value":"text","optional":true},"ACy":{"caption":"Takeover Shadow Method","name":"takeover-slide-shadow-method","rank":122,"editor":"Dropdown","value":"text","optional":true,"default_val":"AUTO"},"ACz":{"caption":"Takeover Shadow X-Offset","name":"takeover-slide-shadow-offset-x","rank":123,"editor":"DynamicValue","optional":true,"value":"number"},"ADA":{"caption":"Takeover Shadow Y-Offset","name":"takeover-slide-shadow-offset-y","rank":124,"editor":"DynamicValue","value":"number","optional":true},"ADB":{"caption":"Takeover Shadow Blur","name":"takeover-slide-shadow-blur","rank":125,"editor":"DynamicValue","value":"number","optional":true},"ADC":{"caption":"Takeover Shadow Spread","name":"takeover-slide-shadow-spread","rank":126,"editor":"DynamicValue","value":"number","optional":true},"ADD":{"caption":"Takeover Shadow Color","name":"takeover-slide-shadow-color","rank":127,"editor":"DynamicValue","value":"text","optional":true},"ADE":{"caption":"Active Slide Blur","name":"active-slide-blur","rank":70,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"ADF":{"caption":"Inactive Slide Blur","name":"inactive-slide-blur","rank":93,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ADG":{"caption":"Takeover Slide Blur","name":"takeover-slide-blur","rank":116,"editor":"DynamicValue","value":"number","optional":true},"ADH":{"caption":"Mirror X-Rotation","name":"mirror-x-rotation","rank":26,"editor":"Checkbox","default_val":true},"ADI":{"caption":"Mirror Y-Rotation","name":"mirror-y-rotation","rank":27,"editor":"Checkbox","default_val":true},"ADJ":{"caption":"Mirror Z-Rotation","name":"mirror-z-rotation","rank":28,"editor":"Checkbox","default_val":true},"ADK":{"caption":"Active Slide X-Rotation","name":"active-slide-x-rotation","rank":82,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ADL":{"caption":"Active Slide Y-Rotation","name":"active-slide-y-rotation","rank":83,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ADM":{"caption":"Active Slide Z-Rotation","name":"active-slide-z-rotation","rank":84,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ADN":{"caption":"Inactive Slide X-Rotation","name":"inactive-slide-x-rotation","rank":105,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ADO":{"caption":"3D Perspective","name":"3d-perspective","rank":29,"editor":"DynamicValue","value":"number","optional":true,"default_val":2500},"ADP":{"caption":"Inactive Slide Y-Rotation","name":"inactive-slide-y-rotation","rank":106,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ADQ":{"caption":"Inactive Slide Z-Rotation","name":"inactive-slide-z-rotation","rank":107,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"ADR":{"caption":"Takeover Slide X-Rotation","name":"takeover-slide-x-rotation","rank":128,"editor":"DynamicValue","value":"number","optional":true},"ADS":{"caption":"Takeover Slide Y-Rotation","name":"takeover-slide-y-rotation","rank":129,"editor":"DynamicValue","value":"number","optional":true},"ADT":{"caption":"Takeover Slide Z-Rotation","name":"takeover-slide-z-rotation","rank":130,"editor":"DynamicValue","value":"number","optional":true},"ADU":{"caption":"Active Backface Visible","name":"active-slide-backface-visible","rank":85,"editor":"Checkbox","default_val":false},"ADV":{"caption":"Inactive Backface Visible","name":"inactive-slide-backface-visible","rank":108,"editor":"Checkbox","default_val":false},"ADW":{"caption":"Takeover Backface Visible","name":"takeover-slide-backface-visible","rank":131,"editor":"DynamicValue","value":"boolean","optional":true},"ADX":{"caption":"Animation Ease In","name":"animation-ease-in","rank":19,"editor":"DynamicValue","value":"number","optional":true,"default_val":0.48},"ADY":{"caption":"Animation Ease Out","name":"animation-ease-out","rank":20,"editor":"DynamicValue","value":"number","optional":true,"default_val":0.48},"ADb":{"caption":"Report Slide Visibility","name":"report-slide-visibility","rank":30,"editor":"Checkbox","default_val":false},"ADh":{"caption":"Block Wheel in Animation","name":"block-wheel-in-animation","rank":56,"editor":"Checkbox","default_val":false},"AFh":{"caption":"Mouse Drag Sensitivity","name":"mouse-drag-sensitivity","rank":50,"editor":"DynamicValue","value":"number","optional":true},"AFi":{"caption":"Touch Drag Sensitivity","name":"touch-drag-sensitivity","rank":48,"editor":"DynamicValue","value":"number","optional":true},"AFj":{"caption":"Animation Behavior","name":"animation-behavior","rank":17,"editor":"Dropdown","default_val":"CONSTANT DURATION","optional":true},"AFk":{"caption":"Disable Optimization","name":"disable-optimization","rank":32,"editor":"Checkbox","default_val":false},"AFm":{"caption":"Fit Slide Width","name":"fit-slide-width","rank":7,"editor":"Dropdown","default_val":"MIN CONTENT","optional":true},"AFn":{"caption":"Fit Slide Height","name":"fit-slide-height","rank":9,"editor":"Dropdown","default_val":"MAX CONTENT","optional":true},"AFo":{"caption":"Active Slide Cursor","name":"active-slide-cursor","rank":67,"editor":"DynamicValue","value":"text","optional":true},"AFp":{"caption":"Inactive Slide Cursor","name":"inactive-slide-cursor","rank":90,"editor":"DynamicValue","value":"text","optional":true},"AFq":{"caption":"Takeover Slide Cursor","name":"takeover-slide-cursor","rank":113,"editor":"DynamicValue","value":"text","optional":true},"AFt":{"caption":"Slide Width Relative To","name":"slide-width-relative-to","rank":8,"editor":"Dropdown","default_val":"VIEWPORT WIDTH","optional":true},"AFu":{"caption":"Slide Height Relative To","name":"slide-height-relative-to","rank":10,"editor":"Dropdown","default_val":"VIEWPORT HEIGHT","optional":true},"APC":{"caption":"Wheel Start Threshold","name":"wheel-start-threshold","rank":54,"editor":"DynamicValue","value":"number","optional":true,"default_val":5},"APF":{"caption":"Wheel Continue Threshold","name":"wheel-continuation-threshold","rank":55,"editor":"DynamicValue","value":"number","optional":true,"default_val":30},"APN":{"caption":"Swipe with Drag","name":"swipe-with-drag","rank":36,"editor":"Checkbox","default_val":true},"APS":{"caption":"Enable Autoslide","name":"autoslide-enabled","rank":57,"editor":"Checkbox","default_val":false},"APT":{"caption":"Autoslide Direction","name":"autoslide-direction","rank":58,"editor":"Dropdown","default_val":"FORWARD"},"APU":{"caption":"Autoslide Delay","name":"autoslide-delay","rank":60,"editor":"DynamicValue","value":"number","optional":true},"APV":{"caption":"Autoslide Interval","name":"autoslide-interval","rank":59,"editor":"DynamicValue","value":"number","optional":false,"default_val":3},"APo":{"caption":"Pause on Hover","name":"pause-on-hover","rank":61,"editor":"Checkbox","default_val":true},"APu":{"caption":"Disable on Touch Device","name":"disable-on-touch-device","rank":62,"editor":"Checkbox","default_val":false},"AQk":{"caption":"Enable Markup Classes","name":"enable-markup-classes","rank":31,"editor":"Checkbox","default_val":false}},"states":{"ABB":{"caption":"Current Index","name":"current-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ABC":{"caption":"Target Index","name":"target-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ABj":{"caption":"Active Index","name":"active-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ABm":{"caption":"Current Number","name":"current-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ABn":{"caption":"Target Number","name":"target-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ABo":{"caption":"Active Number","name":"active-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ABp":{"caption":"Busy","name":"busy","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}},"ADZ":{"caption":"Minimum Slide Number","name":"minimum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ADa":{"caption":"Maximum Slide Number","name":"maximum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ADe":{"caption":"Minimum Slide Index","name":"minimum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ADf":{"caption":"Maximum Slide Index","name":"maximum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ADg":{"caption":"Slide Visibility","name":"slide-visibility","value":"number","initialization_code":{"fn":"function(properties,context){return null}"},"is_list":true},"ADi":{"caption":"Component ID","name":"component-id","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}}},"events":{"AAu":{"caption":"Current Slide Changed","name":"current-slide-changed"},"AAv":{"caption":"Target Slide Changed","name":"target-slide-changed"},"ABi":{"caption":"Active Slide Changed","name":"active-slide-changed"}},"actions":{"AAj":{"caption":"Show First","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=0;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const lowerNumber=activeNumber-activeIndex,upperNumber=lowerNumber+count;targetNumber=upperNumber-activeNumber<activeNumber-lowerNumber?upperNumber:lowerNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"AAk":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"ABs":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AAl":{"caption":"Show Previous","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number>start?number-1:end:Math.max(start,Math.min(end,number-1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"AAm":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"ABz":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"AAn":{"caption":"Show Next","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number<end?number+1:start:Math.max(start,Math.min(end,number+1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"AAo":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"ABy":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"AAp":{"caption":"Show Last","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=count-1;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const upperNumber=activeNumber-activeIndex+targetNumber,lowerNumber=upperNumber-count;targetNumber=activeNumber-lowerNumber<upperNumber-activeNumber?lowerNumber:upperNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"AAq":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"ABt":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AAr":{"caption":"Show","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){const shortcircuit=properties.shortcircuit;let slideNumber=properties[\"slide-number\"];if(control.carousel){if(shortcircuit){const slideIndex=slideNumber%count+(slideNumber%count<0?count:0),activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0),slideDistance=undefined;slideNumber=activeNumber+(slideIndex-activeIndex-Math.round((slideIndex-activeIndex)/count-1e-6)*count)}}else{const range=control.navigationRange;slideNumber=Math.max(range.minimumSlideNumber,Math.min(range.maximumSlideNumber,slideNumber))}properties[\"disable-animation\"]?control.activeSlide=slideNumber:control.slideTo(slideNumber)}}"},"fields":{"AAs":{"caption":"Slide Number","name":"slide-number","rank":0,"editor":"DynamicValue","value":"number","default_val":0},"AAt":{"caption":"Disable Animation","name":"disable-animation","rank":1,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"ABr":{"caption":"Shortcircuit","name":"shortcircuit","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n}"},"initialize":{"fn":"function(instance,context){instance.data.control=new window.uiKit.Carousel(window.uiKit.Carousel.BUBBLE),instance.data.control.addActiveSlideCallback(((activeSlideNumber,activeSlideIndex,activeSlideOffset)=>{if(instance.data.activeSlideNumber!=activeSlideNumber){instance.data.activeSlideNumber=activeSlideNumber;try{instance.publishState(\"active-number\",null!=activeSlideNumber?activeSlideNumber:null)}catch(err){console.error(\"Failed to update Active Number state\",err)}try{instance.publishState(\"active-index\",null!=activeSlideIndex?activeSlideIndex:null)}catch(err){console.error(\"Failed to update Active Index state\",err)}instance.triggerEvent(\"active-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addCurrentSlideCallback(((currentSlideNumber,currentSlideIndex,currentSlideOffset)=>{if(instance.data.currentSlideNumber!=currentSlideNumber){instance.data.currentSlideNumber=currentSlideNumber;try{instance.publishState(\"current-number\",null!=currentSlideNumber?currentSlideNumber:null)}catch(err){console.error(\"Failed to update Current Number state\",err)}try{instance.publishState(\"current-index\",null!=currentSlideIndex?currentSlideIndex:null)}catch(err){console.error(\"Failed to update Current Index state\",err)}instance.triggerEvent(\"current-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addTargetSlideCallback(((targetSlideNumber,targetSlideIndex,targetSlideOffset)=>{if(instance.data.targetSlideNumber!=targetSlideNumber){instance.data.targetSlideNumber=targetSlideNumber;try{instance.publishState(\"target-number\",null!=targetSlideNumber?targetSlideNumber:null)}catch(err){console.error(\"Failed to update Target Number state\",err)}try{instance.publishState(\"target-index\",null!=targetSlideIndex?targetSlideIndex:null)}catch(err){console.error(\"Failed to update Target Index state\",err)}instance.triggerEvent(\"target-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addAnimationStartCallback((()=>{instance.publishState(\"busy\",!0)})),instance.data.control.addAnimationStopCallback((()=>{instance.publishState(\"busy\",!1)})),instance.data.control.addRenderCallback((()=>{const navigationRange=instance.data.control.navigationRange;if(instance.data.minimumSlideNumber!=navigationRange.minimumSlideNumber){instance.data.minimumSlideNumber=navigationRange.minimumSlideNumber;try{instance.publishState(\"minimum-slide-number\",isFinite(navigationRange.minimumSlideNumber)?navigationRange.minimumSlideNumber:navigationRange.minimumSlideNumber<0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.maximumSlideNumber!=navigationRange.maximumSlideNumber){instance.data.maximumSlideNumber=navigationRange.maximumSlideNumber;try{instance.publishState(\"maximum-slide-number\",isFinite(navigationRange.maximumSlideNumber)?navigationRange.maximumSlideNumber:navigationRange.maximumSlideNumber>0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.minimumSlideIndex!=navigationRange.minimumSlideIndex){instance.data.minimumSlideIndex=navigationRange.minimumSlideIndex;try{instance.publishState(\"minimum-slide-index\",navigationRange.minimumSlideIndex)}catch(err){console.error(err)}}if(instance.data.maximumSlideIndex!=navigationRange.maximumSlideIndex){instance.data.maximumSlideIndex=navigationRange.maximumSlideIndex;try{instance.publishState(\"maximum-slide-index\",navigationRange.maximumSlideIndex)}catch(err){console.error(err)}}if(instance.data.reportSlideVisibility){const layout=instance.data.control.currentSlidesLayout;if(layout){const visibility=layout.prevHiddenSlides.concat(layout.prevVisibleSlides).concat([layout.activeSlide]).concat(layout.nextVisibleSlides).concat(layout.nextHiddenSlides).filter((e=>e)).sort(((a,b)=>a.slideIndex-b.slideIndex)).map((e=>e.visibility));try{instance.publishState(\"slide-visibility\",visibility)}catch(err){console.error(err)}}}})),instance.data.lookup=function(){const containerId=instance.data.containerId,containerLookupScope=instance.data.containerLookupScope,control=instance.data.control;let element=null;if(containerId){if(\"CHILDREN\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\")));element=parent&&$(parent).find(\"#\"+containerId),element=element&&element.length?element[0]:null}else if(\"SIBLINGS\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\"))),siblings=Array.from(parent&&parent.children||[]);for(let i=0;i<siblings.length;i++){const sibling=siblings[i];if(sibling.classList.contains(\"bubble-r-line\")){siblings.splice(i--,1);const children=sibling.children||[];for(let j=0;j<children.length;j++){const child=children[j];child.classList.contains(\"bubble-r-box\")&&siblings.splice(i+1,0,...Array.from(child.children||[]))}}}element=siblings&&siblings.find((e=>e.getAttribute(\"id\")===containerId))}else element=document.getElementById(containerId);element&&element.children&&element.children.length&&element.children[0].classList.contains(\"rows\")&&(element=element.children[0])}element!==control.element&&(control.element&&(control.element.classList.contains(\"rows\")?control.element.parentElement:control.element).classList.remove(\"pv5og3ed\"),element&&(element.classList.contains(\"rows\")?element.parentElement:element).classList.add(\"pv5og3ed\"),control.element=element),control.element||requestAnimationFrame(instance.data.lookup)},instance.publishState(\"component-id\",instance.data.control.componentId)}"},"update":{"fn":"function(instance,properties,context){const containerId=properties[\"container-id\"],containerLookupScope=properties[\"container-lookup-scope\"],orientation=properties.orientation,horizontalAlignment=properties[\"horizontal-alignment\"],verticalAlignment=properties[\"vertical-alignment\"],flexibleAlignment=properties[\"flexible-alignment\"],fitSlideWidth=properties[\"fit-slide-width\"],slideWidthRelativeTo=properties[\"slide-width-relative-to\"],fitSlideHeight=properties[\"fit-slide-height\"],slideHeightRelativeTo=properties[\"slide-height-relative-to\"],fitToContent=properties[\"fit-to-content\"],fitTransientSize=properties[\"fit-transient-size\"],fitSmoothly=properties[\"fit-smoothly\"],stickyPositioning=properties[\"sticky-positioning\"],loop=properties.loop,visibleSlides=properties[\"visible-slides\"],startSlide=properties[\"start-slide\"],animationBehavior=properties[\"animation-behavior\"],animationDuration=properties[\"animation-duration\"],animationEaseIn=properties[\"animation-ease-in\"],animationEaseOut=properties[\"animation-ease-out\"],enableScaling=properties[\"enable-scaling\"],paddingTop=properties[\"padding-top\"],paddingBottom=properties[\"padding-bottom\"],paddingLeft=properties[\"padding-left\"],paddingRight=properties[\"padding-right\"],mirrorXRotation=properties[\"mirror-x-rotation\"],mirrorYRotation=properties[\"mirror-y-rotation\"],mirrorZRotation=properties[\"mirror-z-rotation\"],perspective3d=properties[\"3d-perspective\"],reportSlideVisibility=properties[\"report-slide-visibility\"],enableMarkupClasses=properties[\"enable-markup-classes\"],disableOptimization=properties[\"disable-optimization\"],slideOnSwipe=properties[\"slide-on-swipe\"],swipeThreshold=properties[\"swipe-threshold\"],swipeWithDrag=properties[\"swipe-with-drag\"],slideOnTap=properties[\"slide-on-tap\"],slideOnActiveTap=properties[\"slide-on-active-tap\"],slideOnInactiveTap=properties[\"slide-on-inactive-tap\"],forwardTapDirection=properties[\"forward-tap-direction\"],backwardTapDirection=properties[\"backward-tap-direction\"],slideOnClick=properties[\"slide-on-click\"],slideOnActiveClick=properties[\"slide-on-active-click\"],slideOnInactiveClick=properties[\"slide-on-inactive-click\"],forwardClickDirection=properties[\"forward-click-direction\"],backwardClickDirection=properties[\"backward-click-direction\"],slideOnTouchDrag=properties[\"slide-on-touch-drag\"],touchDragSensitivity=properties[\"touch-drag-sensitivity\"],slideOnMouseDrag=properties[\"slide-on-mouse-drag\"],mouseDragSensitivity=properties[\"mouse-drag-sensitivity\"],slideOnFreeDrag=properties[\"slide-on-free-drag\"],dragInertion=properties[\"drag-inertion\"],slideOnWheel=properties[\"slide-on-wheel\"],wheelStartThreshold=properties[\"wheel-start-threshold\"],wheelContinuationThreshold=properties[\"wheel-continuation-threshold\"],blockWheelInAnimation=properties[\"block-wheel-in-animation\"],autoslideEnabled=properties[\"autoslide-enabled\"],autoslideDirection=properties[\"autoslide-direction\"],autoslideInterval=properties[\"autoslide-interval\"],autoslideDelay=properties[\"autoslide-delay\"],pauseOnHover=properties[\"pause-on-hover\"],disableOnTouchDevice=properties[\"disable-on-touch-device\"],activeSlideWidth=properties[\"active-slide-width\"],activeSlideHeight=properties[\"active-slide-height\"],activeSlideGap=properties[\"active-slide-gap\"],activeSlideCursor=properties[\"active-slide-cursor\"],activeSlideClip=properties[\"active-slide-clip\"],activeSlideOpacity=properties[\"active-slide-opacity\"],activeSlideBlur=properties[\"active-slide-blur\"],activeSlideBackgroundColor=properties[\"active-slide-background-color\"],activeSlideBorderStyle=properties[\"active-slide-border-style\"],activeSlideBorderWidth=properties[\"active-slide-border-width\"],activeSlideBorderRadius=properties[\"active-slide-border-radius\"],activeSlideBorderColor=properties[\"active-slide-border-color\"],activeSlideShadowMethod=properties[\"active-slide-shadow-method\"],activeSlideShadowOffsetX=properties[\"active-slide-shadow-offset-x\"],activeSlideShadowOffsetY=properties[\"active-slide-shadow-offset-y\"],activeSlideShadowBlur=properties[\"active-slide-shadow-blur\"],activeSlideShadowSpread=properties[\"active-slide-shadow-spread\"],activeSlideShadowColor=properties[\"active-slide-shadow-color\"],activeSlideXRotation=properties[\"active-slide-x-rotation\"],activeSlideYRotation=properties[\"active-slide-y-rotation\"],activeSlideZRotation=properties[\"active-slide-z-rotation\"],activeSlideBackfaceVisible=properties[\"active-slide-backface-visible\"],inactiveSlideWidth=properties[\"inactive-slide-width\"],inactiveSlideHeight=properties[\"inactive-slide-height\"],inactiveSlideGap=properties[\"inactive-slide-gap\"],inactiveSlideCursor=properties[\"inactive-slide-cursor\"],inactiveSlideClip=properties[\"inactive-slide-clip\"],inactiveSlideOpacity=properties[\"inactive-slide-opacity\"],inactiveSlideBlur=properties[\"inactive-slide-blur\"],inactiveSlideBackgroundColor=properties[\"inactive-slide-background-color\"],inactiveSlideBorderStyle=properties[\"inactive-slide-border-style\"],inactiveSlideBorderWidth=properties[\"inactive-slide-border-width\"],inactiveSlideBorderRadius=properties[\"inactive-slide-border-radius\"],inactiveSlideBorderColor=properties[\"inactive-slide-border-color\"],inactiveSlideShadowMethod=properties[\"inactive-slide-shadow-method\"],inactiveSlideShadowOffsetX=properties[\"inactive-slide-shadow-offset-x\"],inactiveSlideShadowOffsetY=properties[\"inactive-slide-shadow-offset-y\"],inactiveSlideShadowBlur=properties[\"inactive-slide-shadow-blur\"],inactiveSlideShadowSpread=properties[\"inactive-slide-shadow-spread\"],inactiveSlideShadowColor=properties[\"inactive-slide-shadow-color\"],inactiveSlideXRotation=properties[\"inactive-slide-x-rotation\"],inactiveSlideYRotation=properties[\"inactive-slide-y-rotation\"],inactiveSlideZRotation=properties[\"inactive-slide-z-rotation\"],inactiveSlideBackfaceVisible=properties[\"inactive-slide-backface-visible\"],takeoverSlideWidth=properties[\"takeover-slide-width\"],takeoverSlideHeight=properties[\"takeover-slide-height\"],takeoverSlideGap=properties[\"takeover-slide-gap\"],takeoverSlideCursor=properties[\"takeover-slide-cursor\"],takeoverSlideClip=properties[\"takeover-slide-clip\"],takeoverSlideOpacity=properties[\"takeover-slide-opacity\"],takeoverSlideBlur=properties[\"takeover-slide-blur\"],takeoverSlideBackgroundColor=properties[\"takeover-slide-background-color\"],takeoverSlideBorderStyle=properties[\"takeover-slide-border-style\"],takeoverSlideBorderWidth=properties[\"takeover-slide-border-width\"],takeoverSlideBorderRadius=properties[\"takeover-slide-border-radius\"],takeoverSlideBorderColor=properties[\"takeover-slide-border-color\"],takeoverSlideShadowMethod=properties[\"takeover-slide-shadow-method\"],takeoverSlideShadowOffsetX=properties[\"takeover-slide-shadow-offset-x\"],takeoverSlideShadowOffsetY=properties[\"takeover-slide-shadow-offset-y\"],takeoverSlideShadowBlur=properties[\"takeover-slide-shadow-blur\"],takeoverSlideShadowSpread=properties[\"takeover-slide-shadow-spread\"],takeoverSlideShadowColor=properties[\"takeover-slide-shadow-color\"],takeoverSlideXRotation=properties[\"takeover-slide-x-rotation\"],takeoverSlideYRotation=properties[\"takeover-slide-y-rotation\"],takeoverSlideZRotation=properties[\"takeover-slide-z-rotation\"],takeoverSlideBackfaceVisible=properties[\"takeover-slide-backface-visible\"],lookup=containerId!=instance.data.containerId;instance.data.containerId=containerId,instance.data.containerLookupScope=containerLookupScope,instance.data.reportSlideVisibility=reportSlideVisibility,instance.data.control.orientation=\"HORIZONTAL\"===orientation?window.uiKit.Carousel.HORIZONTAL:\"VERTICAL\"===orientation?window.uiKit.Carousel.VERTICAL:null,instance.data.control.carousel=\"ENABLED\"===loop||\"DISABLED\"!==loop&&null,instance.data.control.maximumVisibleSlides=visibleSlides,instance.data.control.startSlideNumber=startSlide,instance.data.control.startSlideOffset=0,instance.data.control.horizontalAlignment=\"LEFT\"===horizontalAlignment?window.uiKit.Carousel.LEFT:\"RIGHT\"===horizontalAlignment?window.uiKit.Carousel.RIGHT:window.uiKit.Carousel.CENTER,instance.data.control.verticalAlignment=\"TOP\"===verticalAlignment?window.uiKit.Carousel.TOP:\"BOTTOM\"===verticalAlignment?window.uiKit.Carousel.BOTTOM:window.uiKit.Carousel.CENTER,instance.data.control.flexibleAlignment=\"ENABLED\"===flexibleAlignment||\"DISABLED\"!==flexibleAlignment&&null,instance.data.control.fitSlideWidth=\"MAX CONTENT\"===fitSlideWidth?window.uiKit.Carousel.MAX_CONTENT:window.uiKit.Carousel.MIN_CONTENT,instance.data.control.fitSlideHeight=\"MIN CONTENT\"===fitSlideHeight?window.uiKit.Carousel.MIN_CONTENT:window.uiKit.Carousel.MAX_CONTENT,instance.data.control.fitViewportToContent=\"LARGEST\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST:\"SMALLEST\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST:\"LARGEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_SMOOTH:\"SMALLEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_SMOOTH:\"LARGEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_INSTANT:\"SMALLEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_INSTANT:window.uiKit.Carousel.FIT_NONE,instance.data.control.fitTransientSize=fitTransientSize,instance.data.control.stickyPositioning=stickyPositioning,instance.data.control.animationBehavior=\"CONSTANT SPEED\"===animationBehavior?window.uiKit.Carousel.CONSTANT_SPEED:window.uiKit.Carousel.CONSTANT_DURATION,instance.data.control.animationDuration=animationDuration,instance.data.control.animationEaseIn=animationEaseIn,instance.data.control.animationEaseOut=animationEaseOut,instance.data.control.enableScaling=enableScaling,instance.data.control.paddingTop=paddingTop,instance.data.control.paddingBottom=paddingBottom,instance.data.control.paddingLeft=paddingLeft,instance.data.control.paddingRight=paddingRight,instance.data.control.mirrorXRotation=mirrorXRotation,instance.data.control.mirrorYRotation=mirrorYRotation,instance.data.control.mirrorZRotation=mirrorZRotation,instance.data.control.perspective3d=perspective3d,instance.data.control.enableMarkupClasses=enableMarkupClasses,instance.data.control.disableOptimization=disableOptimization,instance.data.control.slideOnSwipe=slideOnSwipe,instance.data.control.swipeThreshold=swipeThreshold,instance.data.control.swipeWithDrag=swipeWithDrag,instance.data.control.slideOnTap=slideOnTap,instance.data.control.slideOnActiveTap=slideOnActiveTap,instance.data.control.slideOnInactiveTap=slideOnInactiveTap,instance.data.control.forwardTapDirection=\"BACKWARD\"===forwardTapDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardTapDirection=\"FORWARD\"===backwardTapDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnClick=slideOnClick,instance.data.control.slideOnActiveClick=slideOnActiveClick,instance.data.control.slideOnInactiveClick=slideOnInactiveClick,instance.data.control.forwardClickDirection=\"BACKWARD\"===forwardClickDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardClickDirection=\"FORWARD\"===backwardClickDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnMouseDrag=slideOnMouseDrag,instance.data.control.mouseDragSensitivity=mouseDragSensitivity,instance.data.control.slideOnTouchDrag=slideOnTouchDrag,instance.data.control.touchDragSensitivity=touchDragSensitivity,instance.data.control.slideOnFreeDrag=slideOnFreeDrag,instance.data.control.dragInertion=dragInertion,instance.data.control.slideOnWheel=slideOnWheel,instance.data.control.wheelStartThreshold=window.uiKit.coalesce(wheelStartThreshold,5),instance.data.control.wheelContinuationThreshold=window.uiKit.coalesce(wheelContinuationThreshold,100),instance.data.control.blockWheelInAnimation=blockWheelInAnimation,instance.data.control.activeSlideWidth=activeSlideWidth,instance.data.control.activeSlideWidthRelativeTo=window.uiKit.Carousel.VIEWPORT,instance.data.control.activeSlideHeight=activeSlideHeight,instance.data.control.activeSlideHeightRelativeTo=window.uiKit.Carousel.VIEWPORT,instance.data.control.activeSlideGap=activeSlideGap,instance.data.control.activeSlideGapRelativeTo=\"HORIZONTAL\"===orientation?\"ACTIVE WIDTH\"===slideWidthRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT:\"VERTICAL\"===orientation&&\"ACTIVE HEIGHT\"===slideHeightRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT,instance.data.control.activeSlideCursor=activeSlideCursor,instance.data.control.activeSlideClip=activeSlideClip,instance.data.control.activeSlideOpacity=null!=activeSlideOpacity?activeSlideOpacity/100:null,instance.data.control.activeSlideBlur=activeSlideBlur,instance.data.control.activeSlideBackgroundColor=activeSlideBackgroundColor,instance.data.control.activeSlideBorderStyle=activeSlideBorderStyle&&activeSlideBorderStyle.toLowerCase()||null,instance.data.control.activeSlideBorderWidth=activeSlideBorderWidth,instance.data.control.activeSlideBorderRadius=activeSlideBorderRadius,instance.data.control.activeSlideBorderColor=activeSlideBorderColor,instance.data.control.activeSlideShadowMethod=\"DROP SHADOW\"===activeSlideShadowMethod?\"drop-shadow\":\"BOX SHADOW\"===activeSlideShadowMethod?\"box-shadow\":\"NONE\"===activeSlideShadowMethod?\"none\":null,instance.data.control.activeSlideShadowOffsetX=activeSlideShadowOffsetX,instance.data.control.activeSlideShadowOffsetY=activeSlideShadowOffsetY,instance.data.control.activeSlideShadowBlur=activeSlideShadowBlur,instance.data.control.activeSlideShadowSpread=activeSlideShadowSpread,instance.data.control.activeSlideShadowColor=activeSlideShadowColor,instance.data.control.activeSlideXRotation=activeSlideXRotation,instance.data.control.activeSlideYRotation=activeSlideYRotation,instance.data.control.activeSlideZRotation=activeSlideZRotation,instance.data.control.activeslideBackfaceVisible=activeSlideBackfaceVisible,instance.data.control.inactiveSlideWidth=inactiveSlideWidth,instance.data.control.inactiveSlideWidthRelativeTo=\"ACTIVE WIDTH\"===slideWidthRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT,instance.data.control.inactiveSlideHeight=inactiveSlideHeight,instance.data.control.inactiveSlideHeightRelativeTo=\"ACTIVE HEIGHT\"===slideHeightRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT,instance.data.control.inactiveSlideGap=inactiveSlideGap,instance.data.control.inactiveSlideGapRelativeTo=\"HORIZONTAL\"===orientation?\"ACTIVE WIDTH\"===slideWidthRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT:\"VERTICAL\"===orientation&&\"ACTIVE HEIGHT\"===slideHeightRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT,instance.data.control.inactiveSlideCursor=inactiveSlideCursor,instance.data.control.inactiveSlideClip=inactiveSlideClip,instance.data.control.inactiveSlideOpacity=null!=inactiveSlideOpacity?inactiveSlideOpacity/100:null,instance.data.control.inactiveSlideBlur=inactiveSlideBlur,instance.data.control.inactiveSlideBackgroundColor=inactiveSlideBackgroundColor,instance.data.control.inactiveSlideBorderStyle=inactiveSlideBorderStyle&&inactiveSlideBorderStyle.toLowerCase()||null,instance.data.control.inactiveSlideBorderWidth=inactiveSlideBorderWidth,instance.data.control.inactiveSlideBorderRadius=inactiveSlideBorderRadius,instance.data.control.inactiveSlideBorderColor=inactiveSlideBorderColor,instance.data.control.inactiveSlideShadowMethod=\"DROP SHADOW\"===inactiveSlideShadowMethod?\"drop-shadow\":\"BOX SHADOW\"===inactiveSlideShadowMethod?\"box-shadow\":\"NONE\"===inactiveSlideShadowMethod?\"none\":null,instance.data.control.inactiveSlideShadowOffsetX=inactiveSlideShadowOffsetX,instance.data.control.inactiveSlideShadowOffsetY=inactiveSlideShadowOffsetY,instance.data.control.inactiveSlideShadowBlur=inactiveSlideShadowBlur,instance.data.control.inactiveSlideShadowSpread=inactiveSlideShadowSpread,instance.data.control.inactiveSlideShadowColor=inactiveSlideShadowColor,instance.data.control.inactiveSlideXRotation=inactiveSlideXRotation,instance.data.control.inactiveSlideYRotation=inactiveSlideYRotation,instance.data.control.inactiveSlideZRotation=inactiveSlideZRotation,instance.data.control.inactiveSlideBackfaceVisible=inactiveSlideBackfaceVisible,instance.data.control.takeoverSlideWidth=takeoverSlideWidth,instance.data.control.takeoverSlideWidthRelativeTo=\"ACTIVE WIDTH\"===slideWidthRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT,instance.data.control.takeoverSlideHeight=takeoverSlideHeight,instance.data.control.takeoverSlideHeightRelativeTo=\"ACTIVE HEIGHT\"===slideHeightRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT,instance.data.control.takeoverSlideGap=takeoverSlideGap,instance.data.control.takeoverSlideGapRelativeTo=\"HORIZONTAL\"===orientation?\"ACTIVE WIDTH\"===slideWidthRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT:\"VERTICAL\"===orientation&&\"ACTIVE HEIGHT\"===slideHeightRelativeTo?window.uiKit.Carousel.ACTIVE_SELF:window.uiKit.Carousel.VIEWPORT,instance.data.control.takeoverSlideCursor=takeoverSlideCursor,instance.data.control.takeoverSlideClip=takeoverSlideClip,instance.data.control.takeoverSlideOpacity=null!=takeoverSlideOpacity?takeoverSlideOpacity/100:null,instance.data.control.takeoverSlideBlur=takeoverSlideBlur,instance.data.control.takeoverSlideBackgroundColor=takeoverSlideBackgroundColor,instance.data.control.takeoverSlideBorderStyle=takeoverSlideBorderStyle&&\"AUTO\"!==takeoverSlideBorderStyle&&takeoverSlideBorderStyle.toLowerCase()||null,instance.data.control.takeoverSlideBorderWidth=takeoverSlideBorderWidth,instance.data.control.takeoverSlideBorderRadius=takeoverSlideBorderRadius,instance.data.control.takeoverSlideBorderColor=takeoverSlideBorderColor,instance.data.control.takeoverSlideShadowMethod=\"DROP SHADOW\"===takeoverSlideShadowMethod?\"drop-shadow\":\"BOX SHADOW\"===takeoverSlideShadowMethod?\"box-shadow\":\"NONE\"===takeoverSlideShadowMethod?\"none\":null,instance.data.control.takeoverSlideShadowOffsetX=takeoverSlideShadowOffsetX,instance.data.control.takeoverSlideShadowOffsetY=takeoverSlideShadowOffsetY,instance.data.control.takeoverSlideShadowBlur=takeoverSlideShadowBlur,instance.data.control.takeoverSlideShadowSpread=takeoverSlideShadowSpread,instance.data.control.takeoverSlideShadowColor=takeoverSlideShadowColor,instance.data.control.takeoverSlideXRotation=takeoverSlideXRotation,instance.data.control.takeoverSlideYRotation=takeoverSlideYRotation,instance.data.control.takeoverSlideZRotation=takeoverSlideZRotation,instance.data.control.takeoverSlideBackfaceVisible=takeoverSlideBackfaceVisible,instance.data.control.autoslideEnabled=window.uiKit.parseBoolean(autoslideEnabled,!1),instance.data.control.autoslideDelay=window.uiKit.parseNumber(autoslideDelay,0),instance.data.control.autoslideInterval=window.uiKit.parseNumber(autoslideInterval,0),instance.data.control.autoslideDirection=window.uiKit.parseEnum(autoslideDirection,{FORWARD:window.uiKit.Carousel.FORWARD,BACKWARD:window.uiKit.Carousel.BACKWARD},window.uiKit.Carousel.FORWARD),instance.data.control.pauseOnHover=window.uiKit.parseBoolean(pauseOnHover,!0),instance.data.control.disableOnTouchDevice=window.uiKit.parseBoolean(disableOnTouchDevice,!1),lookup?(instance.data.control.element=null,requestAnimationFrame(instance.data.lookup)):instance.data.control.update()}"},"reset":{"fn":"function(instance,context){}"}}},"ADj":{"display":"Carousel Navigation Bar","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"ADk":{"caption":"Active Point Color","name":"active-point-color","rank":8,"editor":"Color","default_val":"rgba(102, 118, 242, 1)","optional":true},"ADl":{"caption":"Active Border Style","name":"active-point-border-style","rank":12,"editor":"Dropdown","default_val":"SOLID"},"ADm":{"caption":"Active Border Width","name":"active-point-border-width","rank":13,"editor":"StaticNumber","default_val":1},"ADn":{"caption":"Active Border Color","name":"active-point-border-color","rank":14,"editor":"Color","default_val":"rgba(102, 118, 242, 1)"},"ADo":{"caption":"Active Border Radius","name":"active-point-border-radius","rank":15,"editor":"StaticNumber","default_val":0},"ADp":{"caption":"Inactive Border Style","name":"inactive-point-border-style","rank":27,"editor":"Dropdown","default_val":"SOLID"},"ADq":{"caption":"Inactive Point Color","name":"inactive-point-color","rank":23,"optional":true,"editor":"Color","default_val":"rgba(102,118,242,0)"},"ADr":{"caption":"Inactive Border Width","name":"inactive-point-border-width","rank":28,"editor":"StaticNumber","default_val":1},"ADs":{"caption":"Inactive Border Color","name":"inactive-point-border-color","rank":29,"editor":"Color","default_val":"rgba(102, 118, 242, 1)"},"ADt":{"caption":"Inactive Border Radius","name":"inactive-point-border-radius","rank":30,"editor":"StaticNumber","default_val":0},"ADu":{"caption":"Active Shadow","name":"active-point-box-shadow","rank":16,"editor":"Checkbox","default_val":false},"ADv":{"caption":"Active Shadow Color","name":"active-point-box-shadow-color","rank":17,"editor":"Color","default_val":"rgba(128,128,128,1)"},"ADw":{"caption":"Active Shadow Blur","name":"active-point-box-shadow-blur","rank":18,"editor":"StaticNumber","default_val":4},"ADx":{"caption":"Active Shadow Spread","name":"active-point-box-shadow-spread","rank":19,"editor":"StaticNumber","default_val":0},"ADy":{"caption":"Active Shadow X-Offset","name":"active-point-box-shadow-offset-x","rank":20,"editor":"StaticNumber","default_val":0},"ADz":{"caption":"Active Shadow Y-Offset","name":"active-point-box-shadow-offset-y","rank":21,"editor":"StaticNumber","default_val":0},"AEA":{"caption":"Inactive Shadow","name":"inactive-point-box-shadow","rank":31,"editor":"Checkbox","default_val":false},"AEB":{"caption":"Inactive Shadow Color","name":"inactive-point-box-shadow-color","rank":32,"editor":"Color","default_val":"rgba(128,128,128,1)"},"AEC":{"caption":"Inactive Shadow Blur","name":"inactive-point-box-shadow-blur","rank":33,"editor":"StaticNumber","default_val":4},"AED":{"caption":"Inactive Shadow Spread","name":"inactive-point-box-shadow-spread","rank":34,"editor":"StaticNumber","default_val":0},"AEE":{"caption":"Inactive Shadow X-Offset","name":"inactive-point-box-shadow-offset-x","rank":35,"editor":"StaticNumber","default_val":0},"AEF":{"caption":"Inactive Shadow Y-Offset","name":"inactive-point-box-shadow-offset-y","rank":36,"editor":"StaticNumber","default_val":0},"AEG":{"caption":"Active Navigation Point Settings","name":"--active-navigation-point-settings","rank":7,"editor":"Label"},"AEH":{"caption":"Inactive Navigation Point Settings","name":"--inactive-navigation-point_settings--","rank":22,"editor":"Label"},"AEI":{"caption":"Interactive","name":"interactive","rank":6,"editor":"Checkbox","default_val":true},"AEJ":{"caption":"Component ID","name":"component-id","rank":1,"editor":"DynamicValue","value":"number"},"AEK":{"caption":"Active Point Width","name":"active-point-width","rank":9,"editor":"StaticNumber","default_val":10},"AEL":{"caption":"Active Point Height","name":"active-point-height","rank":10,"editor":"StaticNumber","default_val":10},"AEM":{"caption":"Inactive Point Width","name":"inactive-point-width","rank":24,"editor":"StaticNumber","default_val":10},"AEN":{"caption":"Inactive Point Height","name":"inactive-point-height","rank":25,"editor":"StaticNumber","default_val":10},"AEO":{"caption":"Horizontal Alignment","name":"horizontal-alignment","rank":3,"editor":"Dropdown","default_val":"CENTER"},"AEP":{"caption":"Vertical Alignment","name":"vertical-alignment","rank":4,"editor":"Dropdown","default_val":"CENTER"},"AEQ":{"caption":"Smooth Transition","name":"smooth-transition","rank":5,"editor":"Checkbox","default_val":true},"AEU":{"caption":"Active Point Gap","name":"active-point-gap","rank":11,"editor":"StaticNumber","default_val":3},"AEV":{"caption":"Inactive Point Gap","name":"inactive-point-gap","rank":26,"editor":"StaticNumber","default_val":3},"AEW":{"caption":"Orientation","name":"orientation","rank":2,"editor":"Dropdown","default_val":"HORIZONTAL"},"AEX":{"caption":"General Settings","name":"--general-settings--","rank":0,"editor":"Label"},"AEY":{"caption":"Takeover Point Settings","name":"--takeover-point-settings--","rank":37,"editor":"Label"},"AEZ":{"caption":"Takeover Point Color","name":"takeover-point-color","rank":38,"editor":"DynamicValue","value":"text","optional":true,"default_val":""},"AEa":{"caption":"Takeover Point Width","name":"takeover-point-width","rank":39,"editor":"DynamicValue","value":"number","optional":true},"AEb":{"caption":"Takeover Point Height","name":"takeover-point-height","rank":40,"editor":"DynamicValue","value":"number","optional":true},"AEc":{"caption":"Takeover Point Gap","name":"takeover-point-gap","rank":41,"editor":"DynamicValue","value":"number","optional":true},"AEd":{"caption":"Takeover Border Style","name":"takeover-point-border-style","rank":42,"editor":"Dropdown","value":"text","default_val":"AUTO","optional":true},"AEe":{"caption":"Takeover Border Width","name":"takeover-point-border-width","rank":43,"editor":"DynamicValue","value":"number","optional":true},"AEf":{"caption":"Takeover Border Color","name":"takeover-point-border-color","rank":44,"editor":"DynamicValue","value":"text","optional":true},"AEg":{"caption":"Takeover Border Radius","name":"takeover-point-border-radius","rank":45,"editor":"DynamicValue","value":"number","optional":true},"AEh":{"caption":"Takeover Box Shadow","name":"takeover-point-box-shadow","rank":46,"editor":"DynamicValue","value":"boolean","optional":true},"AEi":{"caption":"Takeover Shadow Color","name":"takeover-point-box-shadow-color","rank":47,"editor":"DynamicValue","value":"text","optional":true,"default_val":""},"AEj":{"caption":"Takeover Shadow Blur","name":"takeover-point-box-shadow-blur","rank":48,"editor":"DynamicValue","value":"number","optional":true},"AEk":{"caption":"Takeover Shadow Spread","name":"takeover-point-box-shadow-spread","rank":49,"editor":"DynamicValue","optional":true,"value":"number"},"AEl":{"caption":"Takeover Shadow X-Offset","name":"takeover-point-box-shadow-offset-x","rank":50,"editor":"DynamicValue","value":"number","optional":true},"AEm":{"caption":"Takeover Shadow Y-Offset","name":"takeover-point-box-shadow-offset-y","rank":51,"editor":"DynamicValue","value":"number","optional":true}},"code":{"preview":{"fn":"function(instance, properties) {\n    const orientation = properties[\"orientation\"];\n    const horizontalAlignment = properties[\"horizontal-alignment\"];\n    const verticalAlignment = properties[\"vertical-alignment\"];\n    const interactive = properties[\"interactive\"];\n    const activePointColor = properties[\"active-point-color\"];\n    const activePointWidth = properties[\"active-point-width\"];\n    const activePointHeight = properties[\"active-point-height\"];\n    const activePointGap = properties[\"active-point-gap\"];\n    const activePointBorderStyle = properties[\"active-point-border-style\"];\n    const activePointBorderWidth = properties[\"active-point-border-width\"];\n    const activePointBorderColor = properties[\"active-point-border-color\"];\n    const activePointBorderRadius = properties[\"active-point-border-radius\"];\n    const activePointBoxShadow = properties[\"active-point-box-shadow\"];\n    const activePointBoxShadowColor = properties[\"active-point-box-shadow-color\"];\n    const activePointBoxShadowBlur = properties[\"active-point-box-shadow-blur\"];\n    const activePointBoxShadowSpread = properties[\"active-point-box-shadow-spread\"];\n    const activePointBoxShadowXOffset = properties[\"active-point-box-shadow-offset-x\"];\n    const activePointBoxShadowYOffset = properties[\"active-point-box-shadow-offset-y\"];\n    const inactivePointColor = properties[\"inactive-point-color\"];\n    const inactivePointWidth = properties[\"inactive-point-width\"];\n    const inactivePointHeight = properties[\"inactive-point-height\"];\n    const inactivePointGap = properties[\"inactive-point-gap\"];\n    const inactivePointBorderStyle = properties[\"inactive-point-border-style\"];\n    const inactivePointBorderWidth = properties[\"inactive-point-border-width\"];\n    const inactivePointBorderColor = properties[\"inactive-point-border-color\"];\n    const inactivePointBorderRadius = properties[\"inactive-point-border-radius\"];\n    const inactivePointBoxShadow = properties[\"inactive-point-box-shadow\"];\n    const inactivePointBoxShadowColor = properties[\"inactive-point-box-shadow-color\"];\n    const inactivePointBoxShadowBlur = properties[\"inactive-point-box-shadow-blur\"];\n    const inactivePointBoxShadowSpread = properties[\"inactive-point-box-shadow-spread\"];\n    const inactivePointBoxShadowXOffset = properties[\"inactive-point-box-shadow-offset-x\"];\n    const inactivePointBoxShadowYOffset = properties[\"inactive-point-box-shadow-offset-y\"];\n    \n    if (\"HORIZONTAL\" === orientation) {\n        const justify = \"LEFT\" === horizontalAlignment ? \"start\" : (\"RIGHT\" === horizontalAlignment ? \"end\" : \"center\");\n        const align = \"TOP\" === verticalAlignment ? \"start\" : (\"BOTTOM\" === verticalAlignment ? \"end\" : \"center\");\n        instance.canvas.css({\n            \"height\": \"100%\",\n            \"display\": \"flex\",\n            \"flex-grow\": \"0\",\n            \"flex-shrink\": \"0\",\n            \"flex-wrap\": \"nowrap\",\n            \"flex-direction\": \"row\",\n            \"justify-content\": justify,\n            \"justify-items\": justify,\n            \"align-content\": align,\n            \"align-items\": align,\n        });\n    } else if (\"VERTICAL\" === orientation) {\n        const justify = \"TOP\" === verticalAlignment ? \"start\" : (\"BOTTOM\" === verticalAlignment ? \"end\" : \"center\");\n        const align = \"LEFT\" === horizontalAlignment ? \"start\" : (\"RIGHT\" === horizontalAlignment ? \"end\" : \"center\");\n        instance.canvas.css({\n            \"height\": \"100%\",\n            \"display\": \"flex\",\n            \"flex-grow\": \"0\",\n            \"flex-shrink\": \"0\",\n            \"flex-wrap\": \"nowrap\",\n            \"flex-direction\": \"column\",\n            \"justify-content\": justify,\n            \"justify-items\": justify,\n            \"align-content\": align,\n            \"align-items\": align,\n        });\n\t}\n    \n    if (instance.canvas.length) {\n        const container = instance.canvas[0];\n        const child1 = document.createElement(\"div\");\n        const child2 = document.createElement(\"div\");\n        const child3 = document.createElement(\"div\");\n        container.appendChild(child1);\n        container.appendChild(child2);\n        container.appendChild(child3);\n        $(child1).css({\n            \"width\": activePointWidth,\n            \"height\": activePointHeight,\n            \"background-color\": activePointColor || \"\",\n            \"border-style\": (activePointBorderStyle && activePointBorderStyle.toLowerCase() || \"\"),\n            \"border-width\": activePointBorderWidth || \"\",\n            \"border-color\": activePointBorderColor || \"\",\n            \"border-radius\": activePointBorderRadius || \"\",\n            \"box-shadow\": (activePointBoxShadow ? (activePointBoxShadowXOffset || 0) +  \"px \" + (activePointBoxShadowYOffset || 0) + \"px \" + (activePointBoxShadowBlur || 0)+ \"px \" + (activePointBoxShadowSpread || 0) + \"px\" + (null != activePointBoxShadowColor ? \" \" + activePointBoxShadowColor : \"\") : \"\"),\n            \"margin-right\": activePointGap + \"px\"\n        });\n        $(child2).css({\n            \"width\": inactivePointWidth,\n            \"height\": inactivePointHeight,\n            \"background-color\": inactivePointColor || \"\",\n            \"border-style\": (inactivePointBorderStyle && inactivePointBorderStyle.toLowerCase() || \"\"),\n            \"border-width\": inactivePointBorderWidth || \"\",\n            \"border-color\": inactivePointBorderColor || \"\",\n            \"border-radius\": inactivePointBorderRadius || \"\",\n            \"box-shadow\": (inactivePointBoxShadow ? (inactivePointBoxShadowXOffset || 0) +  \"px \" + (inactivePointBoxShadowYOffset || 0) + \"px \" + (inactivePointBoxShadowBlur || 0)+ \"px \" + (inactivePointBoxShadowSpread || 0) + \"px\" + (null != inactivePointBoxShadowColor ? \" \" + inactivePointBoxShadowColor : \"\") : \"\"),\n            \"margin-right\": inactivePointGap + \"px\"\n        });\n        $(child3).css({\n            \"width\": inactivePointWidth,\n            \"height\": inactivePointHeight,\n            \"background-color\": inactivePointColor || \"\",\n            \"border-style\": (inactivePointBorderStyle && inactivePointBorderStyle.toLowerCase() || \"\"),\n            \"border-width\": inactivePointBorderWidth || \"\",\n            \"border-color\": inactivePointBorderColor || \"\",\n            \"border-radius\": inactivePointBorderRadius || \"\",\n            \"box-shadow\": (inactivePointBoxShadow ? (inactivePointBoxShadowXOffset || 0) +  \"px \" + (inactivePointBoxShadowYOffset || 0) + \"px \" + (inactivePointBoxShadowBlur || 0)+ \"px \" + (inactivePointBoxShadowSpread || 0) + \"px\" + (null != inactivePointBoxShadowColor ? \" \" + inactivePointBoxShadowColor : \"\") : \"\"),\n            \"margin-right\": inactivePointGap + \"px\"\n        });\n    }\n}"},"initialize":{"fn":"function(instance,context){instance.data.control=new window.uiKit.CarouselNavigation,instance.data.lookup=function(){const container=instance.canvas&&instance.canvas.length&&instance.canvas[0]||null,componentId=instance.data.componentId,navigation=instance.data.control,slider=uiKit.getComponent(componentId);navigation.element!==container&&(navigation.element=container),navigation.slider!==slider&&(navigation.slider=slider),navigation.element&&navigation.slider||requestAnimationFrame(instance.data.lookup)}}"},"update":{"fn":"function(instance,properties,context){const componentId=properties[\"component-id\"],orientation=properties.orientation,horizontalAlignment=properties[\"horizontal-alignment\"],verticalAlignment=properties[\"vertical-alignment\"],smoothTransition=properties[\"smooth-transition\"],interactive=properties.interactive,activePointColor=properties[\"active-point-color\"],activePointWidth=properties[\"active-point-width\"],activePointHeight=properties[\"active-point-height\"],activePointGap=properties[\"active-point-gap\"],activePointBorderStyle=properties[\"active-point-border-style\"],activePointBorderWidth=properties[\"active-point-border-width\"],activePointBorderColor=properties[\"active-point-border-color\"],activePointBorderRadius=properties[\"active-point-border-radius\"],activePointBoxShadow=properties[\"active-point-box-shadow\"],activePointBoxShadowColor=properties[\"active-point-box-shadow-color\"],activePointBoxShadowBlur=properties[\"active-point-box-shadow-blur\"],activePointBoxShadowSpread=properties[\"active-point-box-shadow-spread\"],activePointBoxShadowOffsetX=properties[\"active-point-box-shadow-offset-x\"],activePointBoxShadowOffsetY=properties[\"active-point-box-shadow-offset-y\"],inactivePointColor=properties[\"inactive-point-color\"],inactivePointWidth=properties[\"inactive-point-width\"],inactivePointHeight=properties[\"inactive-point-height\"],inactivePointGap=properties[\"inactive-point-gap\"],inactivePointBorderStyle=properties[\"inactive-point-border-style\"],inactivePointBorderWidth=properties[\"inactive-point-border-width\"],inactivePointBorderColor=properties[\"inactive-point-border-color\"],inactivePointBorderRadius=properties[\"inactive-point-border-radius\"],inactivePointBoxShadow=properties[\"inactive-point-box-shadow\"],inactivePointBoxShadowColor=properties[\"inactive-point-box-shadow-color\"],inactivePointBoxShadowBlur=properties[\"inactive-point-box-shadow-blur\"],inactivePointBoxShadowSpread=properties[\"inactive-point-box-shadow-spread\"],inactivePointBoxShadowOffsetX=properties[\"inactive-point-box-shadow-offset-x\"],inactivePointBoxShadowOffsetY=properties[\"inactive-point-box-shadow-offset-y\"],takeoverPointColor=properties[\"takeover-point-color\"],takeoverPointWidth=properties[\"takeover-point-width\"],takeoverPointHeight=properties[\"takeover-point-height\"],takeoverPointGap=properties[\"takeover-point-gap\"],takeoverPointBorderStyle=properties[\"takeover-point-border-style\"],takeoverPointBorderWidth=properties[\"takeover-point-border-width\"],takeoverPointBorderColor=properties[\"takeover-point-border-color\"],takeoverPointBorderRadius=properties[\"takeover-point-border-radius\"],takeoverPointBoxShadow=properties[\"takeover-point-box-shadow\"],takeoverPointBoxShadowColor=properties[\"takeover-point-box-shadow-color\"],takeoverPointBoxShadowBlur=properties[\"takeover-point-box-shadow-blur\"],takeoverPointBoxShadowSpread=properties[\"takeover-point-box-shadow-spread\"],takeoverPointBoxShadowOffsetX=properties[\"takeover-point-box-shadow-offset-x\"],takeoverPointBoxShadowOffsetY=properties[\"takeover-point-box-shadow-offset-y\"],lookup=componentId!=instance.data.componentId;instance.data.componentId=componentId,instance.data.control.orientation=\"HORIZONTAL\"===orientation?window.uiKit.CarouselNavigation.HORIZONTAL:\"VERTICAL\"===orientation?window.uiKit.CarouselNavigation.VERTICAL:null,instance.data.control.horizontalAlignment=\"LEFT\"===horizontalAlignment?window.uiKit.CarouselNavigation.LEFT:\"RIGHT\"===horizontalAlignment?window.uiKit.CarouselNavigation.RIGHT:window.uiKit.CarouselNavigation.CENTER,instance.data.control.verticalAlignment=\"TOP\"===verticalAlignment?window.uiKit.CarouselNavigation.TOP:\"BOTTOM\"===verticalAlignment?window.uiKit.CarouselNavigation.BOTTOM:window.uiKit.CarouselNavigation.CENTER,instance.data.control.smoothTransition=smoothTransition,instance.data.control.interactive=interactive,instance.data.control.activePointColor=activePointColor,instance.data.control.activePointWidth=activePointWidth,instance.data.control.activePointHeight=activePointHeight,instance.data.control.activePointGap=activePointGap,instance.data.control.activePointBorderStyle=activePointBorderStyle&&activePointBorderStyle.toLowerCase(),instance.data.control.activePointBorderWidth=activePointBorderWidth,instance.data.control.activePointBorderColor=activePointBorderColor,instance.data.control.activePointBorderRadius=activePointBorderRadius,instance.data.control.activePointBoxShadow=activePointBoxShadow,instance.data.control.activePointBoxShadowColor=activePointBoxShadowColor,instance.data.control.activePointBoxShadowBlur=activePointBoxShadowBlur,instance.data.control.activePointBoxShadowSpread=activePointBoxShadowSpread,instance.data.control.activePointBoxShadowOffsetX=activePointBoxShadowOffsetX,instance.data.control.activePointBoxShadowOffsetY=activePointBoxShadowOffsetY,instance.data.control.inactivePointColor=inactivePointColor,instance.data.control.inactivePointWidth=inactivePointWidth,instance.data.control.inactivePointHeight=inactivePointHeight,instance.data.control.inactivePointGap=inactivePointGap,instance.data.control.inactivePointBorderStyle=inactivePointBorderStyle,instance.data.control.inactivePointBorderWidth=inactivePointBorderWidth,instance.data.control.inactivePointBorderColor=inactivePointBorderColor,instance.data.control.inactivePointBorderRadius=inactivePointBorderRadius,instance.data.control.inactivePointBoxShadow=inactivePointBoxShadow,instance.data.control.inactivePointBoxShadowColor=inactivePointBoxShadowColor,instance.data.control.inactivePointBoxShadowBlur=inactivePointBoxShadowBlur,instance.data.control.inactivePointBoxShadowSpread=inactivePointBoxShadowSpread,instance.data.control.inactivePointBoxShadowOffsetX=inactivePointBoxShadowOffsetX,instance.data.control.inactivePointBoxShadowOffsetY=inactivePointBoxShadowOffsetY,instance.data.control.takeoverPointColor=takeoverPointColor,instance.data.control.takeoverPointWidth=takeoverPointWidth,instance.data.control.takeoverPointHeight=takeoverPointHeight,instance.data.control.takeoverPointGap=takeoverPointGap,instance.data.control.takeoverPointBorderStyle=takeoverPointBorderStyle&&\"AUTO\"!==takeoverPointBorderStyle?takeoverPointBorderStyle.toLowerCase():null,instance.data.control.takeoverPointBorderWidth=takeoverPointBorderWidth,instance.data.control.takeoverPointBorderColor=takeoverPointBorderColor,instance.data.control.takeoverPointBorderRadius=takeoverPointBorderRadius,instance.data.control.takeoverPointBoxShadow=takeoverPointBoxShadow,instance.data.control.takeoverPointBoxShadowColor=takeoverPointBoxShadowColor,instance.data.control.takeoverPointBoxShadowBlur=takeoverPointBoxShadowBlur,instance.data.control.takeoverPointBoxShadowSpread=takeoverPointBoxShadowSpread,instance.data.control.takeoverPointBoxShadowOffsetX=takeoverPointBoxShadowOffsetX,instance.data.control.takeoverPointBoxShadowOffsetY=takeoverPointBoxShadowOffsetY,lookup?(instance.data.control.slider=null,requestAnimationFrame(instance.data.lookup)):instance.data.control.render()}"},"reset":{"fn":"function(instance,context){}"}}},"AEn":{"display":"Carousel Scroll Thumb","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":false,"fields":{"AEq":{"caption":"Component ID","name":"component-id","rank":0,"editor":"DynamicValue","value":"number"},"AEr":{"caption":"Orientation","name":"orientation","rank":1,"editor":"Dropdown","default_val":"HORIZONTAL"},"AEu":{"caption":"Auto Size","name":"adjust-carriage-size","rank":3,"editor":"Checkbox","default_val":true},"AEv":{"caption":"Interactive","name":"interactive","rank":4,"editor":"Checkbox","default_val":true},"AEw":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":5,"editor":"Checkbox","default_val":false},"AFr":{"caption":"Cursor","name":"cursor","rank":2,"editor":"StaticText","value":"text","optional":true,"default_val":"pointer"}},"code":{"preview":{"fn":"function(instance, properties) {\n}"},"initialize":{"fn":"function(instance,context){instance.data.control=new window.uiKit.CarouselThumb,instance.data.lookup=function(){const container=instance.canvas&&instance.canvas.length&&instance.canvas[0]||null,componentId=instance.data.componentId,carriage=instance.data.control,slider=window.uiKit.getComponent(componentId);carriage.element!==container&&(carriage.element=container),carriage.slider!==slider&&(carriage.slider=slider),carriage.element&&carriage.slider||requestAnimationFrame(instance.data.lookup)}}"},"update":{"fn":"function(instance,properties,context){const componentId=properties[\"component-id\"],orientation=properties.orientation,cursor=properties.cursor,interactive=properties.interactive,adjustCarriageSize=properties[\"adjust-carriage-size\"],smoothScroll=properties[\"smooth-scroll\"],lookup=componentId!=instance.data.componentId;instance.data.componentId=componentId,instance.data.control.orientation=\"HORIZONTAL\"===orientation?window.uiKit.CarouselThumb.HORIZONTAL:\"VERTICAL\"===orientation?window.uiKit.CarouselThumb.VERTICAL:null,instance.data.control.cursor=cursor||null,instance.data.control.adjustCarriageSize=adjustCarriageSize,instance.data.control.interactive=interactive,instance.data.control.smoothScroll=smoothScroll,lookup?(instance.data.control.slider=null,requestAnimationFrame(instance.data.lookup)):instance.data.control.render()}"},"reset":{"fn":"function(instance,context){}"}}},"AEx":{"display":"Carousel Scroll Bar","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AEy":{"caption":"Component ID","name":"component-id","rank":1,"editor":"DynamicValue","value":"number"},"AFA":{"caption":"Interactive","name":"interactive","rank":4,"editor":"Checkbox","default_val":true},"AFB":{"caption":"Smooth Scroll","name":"smooth-scroll","rank":5,"editor":"Checkbox","default_val":false},"AFC":{"caption":"Thumb Color","name":"thumb-color","rank":10,"editor":"Color","default_val":"rgba(48,50,88,0.5)","optional":true},"AFD":{"caption":"Thumb Width","name":"thumb-width","rank":8,"editor":"StaticNumber","optional":true},"AFE":{"caption":"Thumb Height","name":"thumb-height","rank":9,"editor":"StaticNumber","optional":true},"AFF":{"caption":"Thumb Border Style","name":"thumb-border-style","rank":11,"editor":"Dropdown","default_val":"NONE","optional":true},"AFG":{"caption":"Thumb Border Width","name":"thumb-border-width","rank":12,"editor":"StaticNumber","default_val":1,"optional":true},"AFH":{"caption":"Thumb Border Color","name":"thumb-border-color","rank":13,"editor":"Color","optional":true},"AFI":{"caption":"Thumb Border Radius","name":"thumb-border-radius","rank":14,"editor":"StaticNumber","default_val":0,"optional":true},"AFJ":{"caption":"Thumb Box Shadow","name":"thumb-box-shadow","rank":15,"editor":"Checkbox","default_val":false},"AFK":{"caption":"Thumb Box Shadow Color","name":"thumb-box-shadow-color","rank":16,"editor":"Color","optional":true},"AFL":{"caption":"Thumb Box Shadow Blur","name":"thumb-box-shadow-blur","rank":17,"editor":"StaticNumber","default_val":4,"optional":true},"AFM":{"caption":"Thumb Box Shadow Spread","name":"thumb-box-shadow-spread","rank":18,"editor":"StaticNumber","optional":true,"default_val":0},"AFN":{"caption":"Thumb Box Shadow X-Offset","name":"thumb-box-shadow-offset-x","rank":19,"editor":"StaticNumber","optional":true,"default_val":0},"AFO":{"caption":"Thumb Box Shadow Y-Offset","name":"thumb-box-shadow-offset-y","rank":20,"editor":"StaticNumber","optional":true,"default_val":0},"AFP":{"caption":"Hover Color","name":"hover-color","rank":24,"editor":"Color","optional":true},"AFQ":{"caption":"Hover Width","name":"hover-width","rank":22,"editor":"StaticNumber","optional":true},"AFR":{"caption":"Hover Height","name":"hover-height","rank":23,"editor":"StaticNumber","optional":true},"AFS":{"caption":"Hover Border Style","name":"hover-border-style","rank":25,"editor":"Dropdown","default_val":"AUTO","optional":true},"AFT":{"caption":"Hover Border Width","name":"hover-border-width","rank":26,"editor":"StaticNumber","value":"number","optional":true},"AFU":{"caption":"Hover Border Color","name":"hover-border-color","rank":27,"editor":"Color","optional":true},"AFV":{"caption":"Hover Border Radius","name":"hover-border-radius","rank":28,"editor":"StaticNumber","value":"number","optional":true},"AFW":{"caption":"Hover Box Shadow","name":"hover-box-shadow","rank":29,"editor":"DynamicValue","value":"boolean","optional":true},"AFX":{"caption":"Hover Box Shadow Color","name":"hover-box-shadow-color","rank":30,"editor":"Color","optional":true},"AFY":{"caption":"Hover Box Shadow Blur","name":"hover-box-shadow-blur","rank":31,"editor":"StaticNumber","value":"number","optional":true},"AFZ":{"caption":"Hover Box Shadow Spread","name":"hover-box-shadow-spread","rank":32,"editor":"StaticNumber","value":"number","optional":true},"AFa":{"caption":"Hover Box Shadow X-Offset","name":"hover-box-shadow-offset-x","rank":33,"editor":"StaticNumber","value":"number","optional":true},"AFb":{"caption":"Hover Box Shadow Y-Offset","name":"hover-box-shadow-offset-y","rank":34,"editor":"StaticNumber","value":"number","optional":true},"AFc":{"caption":"General Settings","name":"--general-settings--","rank":0,"editor":"Label"},"AFd":{"caption":"Thumb Default Settings","name":"--thumb-default-settings--","rank":7,"editor":"Label"},"AFe":{"caption":"Thumb Hover Settings--","name":"--thumb-hover-settings--","rank":21,"editor":"Label"},"AFf":{"caption":"Orientation","name":"orientation","rank":2,"editor":"Dropdown","default_val":"HORIZONTAL"},"AFg":{"caption":"Transition Duration","name":"transition-duration","rank":6,"editor":"StaticNumber","optional":false,"default_val":250},"AFs":{"caption":"Cursor","name":"cursor","rank":3,"editor":"StaticText","value":"text","optional":true,"default_val":"pointer"}},"code":{"preview":{"fn":"function(instance, properties) {\n    const orientation = properties[\"orientation\"];\n    const thumbColor = properties[\"thumb-color\"];\n    const thumbWidth = properties[\"thumb-width\"];\n    const thumbHeight = properties[\"thumb-height\"];\n    const thumbBorderStyle = properties[\"thumb-border-style\"];\n    const thumbBorderWidth = properties[\"thumb-border-width\"];\n    const thumbBorderColor = properties[\"thumb-border-color\"];\n    const thumbBorderRadius = properties[\"thumb-border-radius\"];\n    const thumbBoxShadow = properties[\"thumb-box-shadow\"];\n    const thumbBoxShadowColor = properties[\"thumb-box-shadow-color\"];\n    const thumbBoxShadowBlur = properties[\"thumb-box-shadow-blur\"];\n    const thumbBoxShadowSpread = properties[\"thumb-box-shadow-spread\"];\n    const thumbBoxShadowXOffset = properties[\"thumb-box-shadow-offset-x\"];\n    const thumbBoxShadowYOffset = properties[\"thumb-box-shadow-offset-y\"];\n\n    const scrollbarStyle = { \"display\": \"flex\", \"justify-content\": \"start\", \"justify-items\": \"start\", \"align-content\": \"center\", \"align-items\": \"center\", \"flex-wrap\": \"nowrap\", \"flex-grow\": \"0\", \"flex-shrink\": \"0\" };\n    if (\"HORIZONTAL\" === orientation) {\n        scrollbarStyle[\"flex-direction\"] = \"row\";\n        instance.canvas.css(scrollbarStyle);\n    } else if (\"VERTICAL\" === orientation) {\n        scrollbarStyle[\"flex-direction\"] = \"column\";\n        instance.canvas.css(scrollbarStyle);\n    }\n\n    const thumbElement = document.createElement(\"div\");\n    instance.canvas[0].appendChild(thumbElement);\n\n    const thumbStyle = {};\n    if (thumbWidth) {\n        thumbStyle[\"min-width\"] = thumbWidth;\n\t\tthumbStyle[\"max-width\"] = thumbWidth;\n        thumbStyle[\"width\"] = thumbWidth;\n    } else if (\"HORIZONTAL\" !== orientation) {\n        thumbStyle[\"min-width\"] = properties.bubble.min_width_css();\n\t\tthumbStyle[\"max-width\"] = properties.bubble.max_width_css();\n        thumbStyle[\"width\"] = properties.bubble.width();\n    } else {\n        thumbStyle[\"min-width\"] = \"33%\";\n\t\tthumbStyle[\"max-width\"] = \"33%\";\n        thumbStyle[\"width\"] = \"33%\";\n    }\n\n    if (thumbHeight) {\n        thumbStyle[\"min-height\"] = thumbHeight;\n        thumbStyle[\"max-height\"] = thumbHeight;\n        thumbStyle[\"height\"] = thumbHeight;\n    } else if (\"VERTICAL\" !== orientation) {\n        thumbStyle[\"min-height\"] = properties.bubble.min_height_css();\n        thumbStyle[\"max-height\"] = properties.bubble.max_height_css();\n        thumbStyle[\"height\"] = properties.bubble.height();\n    } else {\n        thumbStyle[\"min-height\"] = \"33%\";\n        thumbStyle[\"max-height\"] = \"33%\";\n        thumbStyle[\"height\"] = \"33%\";\n    }\n\n    thumbStyle[\"background-color\"] = thumbColor || \"\";\n    thumbStyle[\"border-style\"] = thumbBorderStyle || \"\";\n    thumbStyle[\"border-width\"] = thumbBorderStyle && \"NONE\" !== thumbBorderStyle && null != thumbBorderWidth ? thumbBorderWidth : \"\";\n    thumbStyle[\"border-color\"] = thumbBorderStyle && \"NONE\" !== thumbBorderStyle && thumbBorderColor ? thumbBorderColor : \"\";\n    thumbStyle[\"border-radius\"] = null != thumbBorderRadius ? thumbBorderRadius : \"\";\n    thumbStyle[\"box-shadow\"] = thumbBoxShadow ? (thumbBoxShadowXOffset || 0) + \"px \" + (thumbBoxShadowYOffset || 0) + \"px \" + (thumbBoxShadowBlur || 0) + \"px \" + (thumbBoxShadowSpread || 0) + \"px\" + (thumbBoxShadowColor ? \" \" + thumbBoxShadowColor : \"\") : \"\";\n    \n\t$(thumbElement).css(thumbStyle);\n}"},"initialize":{"fn":"function(instance,context){let id=0;window.boxblsre?(window.boxblsre=window.boxblsre+1,id=window.boxblsre):id=window.boxblsre=1;const className=\"vlbab3hs\"+id,classSelector=\".\"+className,styleElement=document.createElement(\"style\");styleElement.appendChild(document.createTextNode(classSelector+\" {}\")),document.getElementsByTagName(\"head\")[0].appendChild(styleElement);let styleSheet=null;for(let i=0;i<document.styleSheets.length;i++){const sheet=document.styleSheets[i];try{const rules=sheet.cssRules||sheet.rules;if(rules&&rules.length&&rules[0].cssText&&rules[0].cssText.startsWith(classSelector)){styleSheet=sheet;break}}catch(err){}}const thumbElement=document.createElement(\"div\");thumbElement.classList.add(className),instance.canvas[0].appendChild(thumbElement),instance.data.className=className,instance.data.styleSheet=styleSheet,instance.data.thumbElement=thumbElement,instance.data.control=new window.uiKit.CarouselThumb,instance.data.lookup=function(){const container=instance.data.thumbElement,componentId=instance.data.componentId,carriage=instance.data.control,slider=window.uiKit.getComponent(componentId);carriage.element!==container&&(carriage.element=container),carriage.slider!==slider&&(carriage.slider=slider),carriage.attached||requestAnimationFrame(instance.data.lookup)}}"},"update":{"fn":"function(instance,properties,context){const coalesce=(v,d)=>null!=v?v:d,componentId=properties[\"component-id\"],orientation=properties.orientation,cursor=properties.cursor,interactive=properties.interactive,smoothScroll=properties[\"smooth-scroll\"],transitionDuration=properties[\"transition-duration\"],thumbColor=properties[\"thumb-color\"],thumbWidth=properties[\"thumb-width\"],thumbHeight=properties[\"thumb-height\"],thumbBorderStyle=properties[\"thumb-border-style\"],thumbBorderWidth=properties[\"thumb-border-width\"],thumbBorderColor=properties[\"thumb-border-color\"],thumbBorderRadius=properties[\"thumb-border-radius\"],thumbBoxShadow=properties[\"thumb-box-shadow\"],thumbBoxShadowColor=properties[\"thumb-box-shadow-color\"],thumbBoxShadowBlur=properties[\"thumb-box-shadow-blur\"],thumbBoxShadowSpread=properties[\"thumb-box-shadow-spread\"],thumbBoxShadowXOffset=properties[\"thumb-box-shadow-offset-x\"],thumbBoxShadowYOffset=properties[\"thumb-box-shadow-offset-y\"],hoverColor=coalesce(properties[\"hover-color\"],thumbColor),hoverWidth=coalesce(properties[\"hover-width\"],thumbWidth),hoverHeight=coalesce(properties[\"hover-height\"],thumbHeight),hoverBorderStyle=coalesce(properties[\"hover-border-style\"],thumbBorderStyle),hoverBorderWidth=coalesce(properties[\"hover-border-width\"],thumbBorderWidth),hoverBorderColor=coalesce(properties[\"hover-border-color\"],thumbBorderColor),hoverBorderRadius=coalesce(properties[\"hover-border-radius\"],thumbBorderRadius),hoverBoxShadow=coalesce(properties[\"hover-box-shadow\"],thumbBoxShadow),hoverBoxShadowColor=coalesce(properties[\"hover-box-shadow-color\"],thumbBoxShadowColor),hoverBoxShadowBlur=coalesce(properties[\"hover-box-shadow-blur\"],thumbBoxShadowBlur),hoverBoxShadowSpread=coalesce(properties[\"hover-box-shadow-spread\"],thumbBoxShadowSpread),hoverBoxShadowXOffset=coalesce(properties[\"hover-box-shadow-offset-x\"],thumbBoxShadowXOffset),hoverBoxShadowYOffset=coalesce(properties[\"hover-box-shadow-offset-y\"],thumbBoxShadowYOffset),lookup=componentId!=instance.data.componentId,scrollbarStyle={display:\"flex\",\"justify-content\":\"start\",\"justify-items\":\"start\",\"align-content\":\"center\",\"align-items\":\"center\",\"flex-wrap\":\"nowrap\",\"flex-grow\":\"0\",\"flex-shrink\":\"0\"};\"HORIZONTAL\"===orientation?(scrollbarStyle[\"flex-direction\"]=\"row\",instance.canvas.css(scrollbarStyle)):\"VERTICAL\"===orientation&&(scrollbarStyle[\"flex-direction\"]=\"column\",instance.canvas.css(scrollbarStyle));const styleSheet=instance.data.styleSheet;for(;(styleSheet.cssRules||styleSheet.rules).length;)styleSheet.deleteRule(0);let defaultRule=\"{\";if(thumbWidth?defaultRule+=\"min-width:\"+thumbWidth+\"px;max-width:\"+thumbWidth+\"px;width:\"+thumbWidth+\"px;\":\"HORIZONTAL\"!==orientation&&(defaultRule+=\"min-width:100%;max-width:100%;width:100%;\"),thumbHeight?defaultRule+=\"min-height:\"+thumbHeight+\"px;max-height:\"+thumbHeight+\"px;height:\"+thumbHeight+\"px;\":\"VERTICAL\"!==orientation&&(defaultRule+=\"min-height:100%;max-height:100%;height:100%;\"),thumbColor&&(defaultRule+=\"background-color:\"+thumbColor+\";\"),thumbBorderStyle&&(defaultRule+=\"border-style:\"+thumbBorderStyle.toLowerCase()+\";\"),thumbBorderStyle&&\"NONE\"!==thumbBorderStyle&&null!=thumbBorderWidth&&(defaultRule+=\"border-width:\"+thumbBorderWidth+\"px;\"),thumbBorderStyle&&\"NONE\"!==thumbBorderStyle&&thumbBorderColor&&(defaultRule+=\"border-color:\"+thumbBorderColor+\";\"),null!=thumbBorderRadius&&(defaultRule+=\"border-radius:\"+thumbBorderRadius+\"px;\"),thumbBoxShadow&&(defaultRule+=\"box-shadow:\"+(thumbBoxShadowXOffset||0)+\"px \"+(thumbBoxShadowYOffset||0)+\"px \"+(thumbBoxShadowBlur||0)+\"px \"+(thumbBoxShadowSpread||0)+\"px\"+(thumbBoxShadowColor?\" \"+thumbBoxShadowColor:\"\")+\";\"),transitionDuration){const d=transitionDuration.toString();defaultRule+=\"transition:min-width \"+d+\"ms, max-width \"+d+\"ms, width \"+d+\"ms, min-height \"+d+\"ms, max-height \"+d+\"ms, height \"+d+\"ms, background-color \"+d+\"ms, border-width \"+d+\"ms, border-color \"+d+\"ms, border-radius \"+d+\"ms, box-shadow \"+d+\"ms;\"}defaultRule+=\"}\";let hoverRule=\"{\";hoverWidth&&(hoverRule+=\"min-width:\"+hoverWidth+\"px;max-width:\"+hoverWidth+\"px;width:\"+hoverWidth+\"px;\"),hoverHeight&&(hoverRule+=\"min-height:\"+hoverHeight+\"px;max-height:\"+hoverHeight+\"px;height:\"+hoverHeight+\"px;\"),hoverColor&&(hoverRule+=\"background-color:\"+hoverColor+\";\"),hoverBorderStyle&&(hoverRule+=\"border-style:\"+hoverBorderStyle+\";\"),hoverBorderStyle&&\"none\"!==hoverBorderStyle&&null!=hoverBorderWidth&&(hoverRule+=\"border-width:\"+hoverBorderWidth+\"px;\"),hoverBorderStyle&&\"none\"!==hoverBorderStyle&&hoverBorderColor&&(hoverRule+=\"border-color:\"+hoverBorderColor+\";\"),null!=hoverBorderRadius&&(hoverRule+=\"border-radius:\"+hoverBorderRadius+\"px;\"),hoverBoxShadow&&(hoverRule+=\"box-shadow:\"+(hoverBoxShadowXOffset||0)+\"px \"+(hoverBoxShadowYOffset||0)+\"px \"+(hoverBoxShadowBlur||0)+\"px \"+(hoverBoxShadowSpread||0)+\"px\"+(hoverBoxShadowColor?\" \"+hoverBoxShadowColor:\"\")+\";\"),hoverRule+=\"}\";const className=instance.data.className;styleSheet.insertRule(\".\"+className+\" \"+defaultRule),styleSheet.insertRule(\".\"+className+\":hover \"+hoverRule),styleSheet.insertRule(\".\"+className+\":active \"+hoverRule),instance.data.componentId=componentId,instance.data.control.orientation=\"HORIZONTAL\"===orientation?window.uiKit.CarouselThumb.HORIZONTAL:\"VERTICAL\"===orientation?window.uiKit.CarouselThumb.VERTICAL:null,instance.data.control.cursor=cursor||null,instance.data.control.interactive=interactive,instance.data.control.adjustCarriageSize=\"HORIZONTAL\"===orientation?!thumbWidth:\"VERTICAL\"===orientation&&!thumbHeight,instance.data.control.smoothScroll=smoothScroll,lookup?(instance.data.control.slider=null,requestAnimationFrame(instance.data.lookup)):instance.data.control.render()}"},"reset":{"fn":"function(instance,context){}"}}},"AJt":{"display":"Simple Carousel","property_applications":{"resizable":true,"MinWidth":false},"add_is_visible":true,"fields":{"AHO":{"caption":"Container ID","name":"container-id","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AHP":{"caption":"Slide on Swipe","name":"slide-on-swipe","rank":25,"editor":"Checkbox","default_val":true},"AHQ":{"caption":"Slide on Tap","name":"slide-on-tap","rank":28,"editor":"Checkbox","default_val":false},"AHR":{"caption":"Slide on Active Tap","name":"slide-on-active-tap","rank":29,"editor":"Checkbox","default_val":false},"AHS":{"caption":"Slide on Inactive Tap","name":"slide-on-inactive-tap","rank":30,"editor":"Checkbox","default_val":true},"AHT":{"caption":"Slide on Click","name":"slide-on-click","rank":33,"editor":"Checkbox","default_val":false},"AHU":{"caption":"Slide on Active Click","name":"slide-on-active-click","rank":34,"editor":"Checkbox","default_val":false},"AHV":{"caption":"Slide on Inactive Click","name":"slide-on-inactive-click","rank":35,"editor":"Checkbox","default_val":true},"AHW":{"caption":"Slide on Mouse Drag","name":"slide-on-mouse-drag","rank":40,"editor":"Checkbox","default_val":true},"AHX":{"caption":"Slide on Touch Drag","name":"slide-on-touch-drag","rank":38,"editor":"Checkbox","default_val":true},"AHY":{"caption":"Slide on Free Drag","name":"slide-on-free-drag","rank":42,"editor":"Checkbox","default_val":true},"AHZ":{"caption":"Slide on Wheel","name":"slide-on-wheel","rank":44,"editor":"Checkbox","default_val":true},"AHa":{"caption":"Swipe Threshold","name":"swipe-threshold","rank":26,"editor":"StaticNumber","default_val":5},"AHb":{"caption":"Forward Tap Direction","name":"forward-tap-direction","rank":31,"editor":"Dropdown","default_val":"FORWARD"},"AHc":{"caption":"Backward Tap Direction","name":"backward-tap-direction","rank":32,"editor":"Dropdown","default_val":"BACKWARD"},"AHd":{"caption":"Forward Click Direction","name":"forward-click-direction","rank":36,"editor":"Dropdown","default_val":"FORWARD"},"AHe":{"caption":"Backward Click Direction","name":"backward-click-direction","rank":37,"editor":"Dropdown","default_val":"BACKWARD"},"AHf":{"caption":"Drag Inertion","name":"drag-inertion","rank":43,"editor":"StaticNumber","default_val":100},"AHg":{"caption":"Animation Duration","name":"animation-duration","rank":15,"editor":"StaticNumber","default_val":250},"AHh":{"caption":"Slide Width","name":"slide-width","rank":53,"editor":"DynamicValue","value":"number","default_val":1,"optional":false},"AHi":{"caption":"Slide Height","name":"slide-height","rank":54,"editor":"DynamicValue","value":"number","default_val":1},"AHl":{"caption":"Horizontal Alignment","name":"horizontal-alignment","rank":4,"editor":"Dropdown","default_val":"CENTER"},"AHm":{"caption":"Vertical Alignment","name":"vertical-alignment","rank":5,"editor":"Dropdown","default_val":"CENTER"},"AHn":{"caption":"Flexible Alignment","name":"flexible-alignment","rank":6,"editor":"Dropdown","default_val":"AUTO","optional":true},"AHo":{"caption":"Orientation","name":"orientation","rank":3,"editor":"Dropdown","default_val":"HORIZONTAL"},"AHq":{"caption":"Slide Gap","name":"slide-gap","rank":55,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"AHr":{"caption":"Loop","name":"loop","rank":11,"editor":"Dropdown","default_val":"AUTO","optional":true},"AHs":{"caption":"Container Lookup Scope","name":"container-lookup-scope","rank":2,"editor":"Dropdown","default_val":"GLOBAL"},"AHt":{"caption":"Enable Scaling","name":"enable-scaling","rank":16,"editor":"Checkbox","default_val":true},"AHu":{"caption":"Fit to Content","name":"fit-to-content","rank":9,"editor":"Dropdown","default_val":"NONE","optional":true},"AHw":{"caption":"Sticky Positioning","name":"sticky-positioning","rank":10,"editor":"Checkbox","default_val":true},"AHx":{"caption":"Visible Slides","name":"visible-slides","rank":12,"editor":"DynamicValue","value":"number","optional":true},"AHy":{"caption":"Start Slide","name":"start-slide","rank":13,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"AHz":{"caption":"General Slider Settings","name":"-general-slider-settings-","rank":0,"editor":"Label"},"AIA":{"caption":"Slide Settings","name":"-slide-settings-","rank":52,"editor":"Label"},"AIB":{"caption":"User Interaction","name":"-user-interaction-","rank":24,"editor":"Label"},"AID":{"caption":"Slide Clip","name":"slide-clip","rank":57,"editor":"Checkbox","default_val":true},"AIc":{"caption":"Padding Top","name":"padding-top","rank":17,"editor":"DynamicValue","value":"number","optional":true},"AId":{"caption":"Padding Bottom","name":"padding-bottom","rank":18,"editor":"DynamicValue","value":"number","optional":true},"AIe":{"caption":"Padding Left","name":"padding-left","rank":19,"editor":"DynamicValue","value":"number","optional":true},"AIf":{"caption":"Padding Right","name":"padding-right","rank":20,"editor":"DynamicValue","value":"number","optional":true},"AJT":{"caption":"Report Slide Visibility","name":"report-slide-visibility","rank":21,"editor":"Checkbox","default_val":false},"AJU":{"caption":"Block Wheel in Animation","name":"block-wheel-in-animation","rank":45,"editor":"Checkbox","default_val":false},"AJV":{"caption":"Mouse Drag Sensitivity","name":"mouse-drag-sensitivity","rank":41,"editor":"DynamicValue","value":"number","optional":true},"AJW":{"caption":"Touch Drag Sensitivity","name":"touch-drag-sensitivity","rank":39,"editor":"DynamicValue","value":"number","optional":true},"AJX":{"caption":"Animation Behavior","name":"animation-behavior","rank":14,"editor":"Dropdown","default_val":"CONSTANT DURATION","optional":true},"AJY":{"caption":"Disable Optimization","name":"disable-optimization","rank":23,"editor":"Checkbox","default_val":false},"AJZ":{"caption":"Fit Slide Width","name":"fit-slide-width","rank":7,"editor":"Dropdown","default_val":"MIN CONTENT","optional":true},"AJa":{"caption":"Fit Slide Height","name":"fit-slide-height","rank":8,"editor":"Dropdown","default_val":"MAX CONTENT","optional":true},"AJb":{"caption":"Slide Cursor","name":"slide-cursor","rank":56,"editor":"DynamicValue","value":"text","optional":true},"APO":{"caption":"Swipe with Drag","name":"swipe-with-drag","rank":27,"editor":"Checkbox","default_val":true},"APW":{"caption":"Enable Autoslide","name":"autoslide-enabled","rank":46,"editor":"Checkbox","default_val":false},"APX":{"caption":"Autoslide Direction","name":"autoslide-direction","rank":47,"editor":"Dropdown","default_val":"FORWARD"},"APY":{"caption":"Autoslide Delay","name":"autoslide-delay","rank":49,"editor":"DynamicValue","value":"number","optional":true},"APZ":{"caption":"Autoslide Interval","name":"autoslide-interval","rank":48,"editor":"DynamicValue","value":"number","optional":false,"default_val":3},"APp":{"caption":"Pause on Hover","name":"pause-on-hover","rank":50,"editor":"Checkbox","default_val":true},"APv":{"caption":"Disable on Touch Device","name":"disable-on-touch-device","rank":51,"editor":"Checkbox","default_val":false},"AQn":{"caption":"Enable Markup Classes","name":"enable-markup-classes","rank":22,"editor":"Checkbox","default_val":false}},"states":{"AJg":{"caption":"Current Index","name":"current-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJh":{"caption":"Target Index","name":"target-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJi":{"caption":"Active Index","name":"active-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJj":{"caption":"Current Number","name":"current-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJk":{"caption":"Target Number","name":"target-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJl":{"caption":"Active Number","name":"active-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJm":{"caption":"Busy","name":"busy","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}},"AJn":{"caption":"Minimum Slide Number","name":"minimum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJo":{"caption":"Maximum Slide Number","name":"maximum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJp":{"caption":"Minimum Slide Index","name":"minimum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJq":{"caption":"Maximum Slide Index","name":"maximum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AJr":{"caption":"Slide Visibility","name":"slide-visibility","value":"number","initialization_code":{"fn":"function(properties,context){return null}"},"is_list":true},"AJs":{"caption":"Component ID","name":"component-id","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}}},"events":{"AHL":{"caption":"Current Slide Changed","name":"current-slide-changed"},"AHM":{"caption":"Target Slide Changed","name":"target-slide-changed"},"AHN":{"caption":"Active Slide Changed","name":"active-slide-changed"}},"actions":{"AGv":{"caption":"Show First","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=0;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const lowerNumber=activeNumber-activeIndex,upperNumber=lowerNumber+count;targetNumber=upperNumber-activeNumber<activeNumber-lowerNumber?upperNumber:lowerNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"AGw":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AGx":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AGy":{"caption":"Show Previous","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number>start?number-1:end:Math.max(start,Math.min(end,number-1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"AGz":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"AHA":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"AHB":{"caption":"Show Next","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number<end?number+1:start:Math.max(start,Math.min(end,number+1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"AHC":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"AHD":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"AHE":{"caption":"Show Last","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=count-1;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const upperNumber=activeNumber-activeIndex+targetNumber,lowerNumber=upperNumber-count;targetNumber=activeNumber-lowerNumber<upperNumber-activeNumber?lowerNumber:upperNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"AHF":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AHG":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AHH":{"caption":"Show","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){const shortcircuit=properties.shortcircuit;let slideNumber=properties[\"slide-number\"];if(control.carousel){if(shortcircuit){const slideIndex=slideNumber%count+(slideNumber%count<0?count:0),activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0),slideDistance=undefined;slideNumber=activeNumber+(slideIndex-activeIndex-Math.round((slideIndex-activeIndex)/count-1e-6)*count)}}else{const range=control.navigationRange;slideNumber=Math.max(range.minimumSlideNumber,Math.min(range.maximumSlideNumber,slideNumber))}properties[\"disable-animation\"]?control.activeSlide=slideNumber:control.slideTo(slideNumber)}}"},"fields":{"AHI":{"caption":"Slide Number","name":"slide-number","rank":0,"editor":"DynamicValue","value":"number","default_val":0},"AHJ":{"caption":"Disable Animation","name":"disable-animation","rank":1,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AHK":{"caption":"Shortcircuit","name":"shortcircuit","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n}"},"initialize":{"fn":"function(instance,context){instance.data.control=new window.uiKit.Carousel(window.uiKit.Carousel.BUBBLE),instance.data.control.addActiveSlideCallback(((activeSlideNumber,activeSlideIndex,activeSlideOffset)=>{if(instance.data.activeSlideNumber!=activeSlideNumber){instance.data.activeSlideNumber=activeSlideNumber;try{instance.publishState(\"active-number\",null!=activeSlideNumber?activeSlideNumber:null)}catch(err){console.error(\"Failed to update Active Number state\",err)}try{instance.publishState(\"active-index\",null!=activeSlideIndex?activeSlideIndex:null)}catch(err){console.error(\"Failed to update Active Index state\",err)}instance.triggerEvent(\"active-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addCurrentSlideCallback(((currentSlideNumber,currentSlideIndex,currentSlideOffset)=>{if(instance.data.currentSlideNumber!=currentSlideNumber){instance.data.currentSlideNumber=currentSlideNumber;try{instance.publishState(\"current-number\",null!=currentSlideNumber?currentSlideNumber:null)}catch(err){console.error(\"Failed to update Current Number state\",err)}try{instance.publishState(\"current-index\",null!=currentSlideIndex?currentSlideIndex:null)}catch(err){console.error(\"Failed to update Current Index state\",err)}instance.triggerEvent(\"current-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addTargetSlideCallback(((targetSlideNumber,targetSlideIndex,targetSlideOffset)=>{if(instance.data.targetSlideNumber!=targetSlideNumber){instance.data.targetSlideNumber=targetSlideNumber;try{instance.publishState(\"target-number\",null!=targetSlideNumber?targetSlideNumber:null)}catch(err){console.error(\"Failed to update Target Number state\",err)}try{instance.publishState(\"target-index\",null!=targetSlideIndex?targetSlideIndex:null)}catch(err){console.error(\"Failed to update Target Index state\",err)}instance.triggerEvent(\"target-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addAnimationStartCallback((()=>{instance.publishState(\"busy\",!0)})),instance.data.control.addAnimationStopCallback((()=>{instance.publishState(\"busy\",!1)})),instance.data.control.addRenderCallback((()=>{const navigationRange=instance.data.control.navigationRange;if(instance.data.minimumSlideNumber!=navigationRange.minimumSlideNumber){instance.data.minimumSlideNumber=navigationRange.minimumSlideNumber;try{instance.publishState(\"minimum-slide-number\",isFinite(navigationRange.minimumSlideNumber)?navigationRange.minimumSlideNumber:navigationRange.minimumSlideNumber<0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.maximumSlideNumber!=navigationRange.maximumSlideNumber){instance.data.maximumSlideNumber=navigationRange.maximumSlideNumber;try{instance.publishState(\"maximum-slide-number\",isFinite(navigationRange.maximumSlideNumber)?navigationRange.maximumSlideNumber:navigationRange.maximumSlideNumber>0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.minimumSlideIndex!=navigationRange.minimumSlideIndex){instance.data.minimumSlideIndex=navigationRange.minimumSlideIndex;try{instance.publishState(\"minimum-slide-index\",navigationRange.minimumSlideIndex)}catch(err){console.error(err)}}if(instance.data.maximumSlideIndex!=navigationRange.maximumSlideIndex){instance.data.maximumSlideIndex=navigationRange.maximumSlideIndex;try{instance.publishState(\"maximum-slide-index\",navigationRange.maximumSlideIndex)}catch(err){console.error(err)}}if(instance.data.reportSlideVisibility){const layout=instance.data.control.currentSlidesLayout;if(layout){const visibility=layout.prevHiddenSlides.concat(layout.prevVisibleSlides).concat([layout.activeSlide]).concat(layout.nextVisibleSlides).concat(layout.nextHiddenSlides).filter((e=>e)).sort(((a,b)=>a.slideIndex-b.slideIndex)).map((e=>e.visibility));try{instance.publishState(\"slide-visibility\",visibility)}catch(err){console.error(err)}}}})),instance.data.lookup=function(){const containerId=instance.data.containerId,containerLookupScope=instance.data.containerLookupScope,control=instance.data.control;let element=null;if(containerId){if(\"CHILDREN\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\")));element=parent&&$(parent).find(\"#\"+containerId),element=element&&element.length?element[0]:null}else if(\"SIBLINGS\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\"))),siblings=Array.from(parent&&parent.children||[]);for(let i=0;i<siblings.length;i++){const sibling=siblings[i];if(sibling.classList.contains(\"bubble-r-line\")){siblings.splice(i--,1);const children=sibling.children||[];for(let j=0;j<children.length;j++){const child=children[j];child.classList.contains(\"bubble-r-box\")&&siblings.splice(i+1,0,...Array.from(child.children||[]))}}}element=siblings&&siblings.find((e=>e.getAttribute(\"id\")===containerId))}else element=document.getElementById(containerId);element&&element.children&&element.children.length&&element.children[0].classList.contains(\"rows\")&&(element=element.children[0])}element!==control.element&&(control.element&&(control.element.classList.contains(\"rows\")?control.element.parentElement:control.element).classList.remove(\"pv5og3ed\"),element&&(element.classList.contains(\"rows\")?element.parentElement:element).classList.add(\"pv5og3ed\"),control.element=element),control.element||requestAnimationFrame(instance.data.lookup)},instance.publishState(\"component-id\",instance.data.control.componentId)}"},"update":{"fn":"function(instance,properties,context){const containerId=properties[\"container-id\"],containerLookupScope=properties[\"container-lookup-scope\"],orientation=properties.orientation,horizontalAlignment=properties[\"horizontal-alignment\"],verticalAlignment=properties[\"vertical-alignment\"],flexibleAlignment=properties[\"flexible-alignment\"],fitSlideWidth=properties[\"fit-slide-width\"],fitSlideHeight=properties[\"fit-slide-height\"],fitToContent=properties[\"fit-to-content\"],stickyPositioning=properties[\"sticky-positioning\"],loop=properties.loop,visibleSlides=properties[\"visible-slides\"],startSlide=properties[\"start-slide\"],animationBehavior=properties[\"animation-behavior\"],animationDuration=properties[\"animation-duration\"],enableScaling=properties[\"enable-scaling\"],paddingTop=properties[\"padding-top\"],paddingBottom=properties[\"padding-bottom\"],paddingLeft=properties[\"padding-left\"],paddingRight=properties[\"padding-right\"],reportSlideVisibility=properties[\"report-slide-visibility\"],enableMarkupClasses=properties[\"enable-markup-classes\"],disableOptimization=properties[\"disable-optimization\"],slideOnSwipe=properties[\"slide-on-swipe\"],swipeThreshold=properties[\"swipe-threshold\"],swipeWithDrag=properties[\"swipe-with-drag\"],slideOnTap=properties[\"slide-on-tap\"],slideOnActiveTap=properties[\"slide-on-active-tap\"],slideOnInactiveTap=properties[\"slide-on-inactive-tap\"],forwardTapDirection=properties[\"forward-tap-direction\"],backwardTapDirection=properties[\"backward-tap-direction\"],slideOnClick=properties[\"slide-on-click\"],slideOnActiveClick=properties[\"slide-on-active-click\"],slideOnInactiveClick=properties[\"slide-on-inactive-click\"],forwardClickDirection=properties[\"forward-click-direction\"],backwardClickDirection=properties[\"backward-click-direction\"],slideOnTouchDrag=properties[\"slide-on-touch-drag\"],touchDragSensitivity=properties[\"touch-drag-sensitivity\"],slideOnMouseDrag=properties[\"slide-on-mouse-drag\"],mouseDragSensitivity=properties[\"mouse-drag-sensitivity\"],slideOnFreeDrag=properties[\"slide-on-free-drag\"],dragInertion=properties[\"drag-inertion\"],slideOnWheel=properties[\"slide-on-wheel\"],blockWheelInAnimation=properties[\"block-wheel-in-animation\"],autoslideEnabled=properties[\"autoslide-enabled\"],autoslideDirection=properties[\"autoslide-direction\"],autoslideInterval=properties[\"autoslide-interval\"],autoslideDelay=properties[\"autoslide-delay\"],pauseOnHover=properties[\"pause-on-hover\"],disableOnTouchDevice=properties[\"disable-on-touch-device\"],slideWidth=properties[\"slide-width\"],slideHeight=properties[\"slide-height\"],slideGap=properties[\"slide-gap\"],slideCursor=properties[\"slide-cursor\"],slideClip=properties[\"slide-clip\"],lookup=containerId!=instance.data.containerId;instance.data.containerId=containerId,instance.data.containerLookupScope=containerLookupScope,instance.data.reportSlideVisibility=reportSlideVisibility,instance.data.control.orientation=\"HORIZONTAL\"===orientation?window.uiKit.Carousel.HORIZONTAL:\"VERTICAL\"===orientation?window.uiKit.Carousel.VERTICAL:null,instance.data.control.carousel=\"ENABLED\"===loop||\"DISABLED\"!==loop&&null,instance.data.control.maximumVisibleSlides=visibleSlides,instance.data.control.startSlideNumber=startSlide,instance.data.control.startSlideOffset=0,instance.data.control.horizontalAlignment=\"LEFT\"===horizontalAlignment?window.uiKit.Carousel.LEFT:\"RIGHT\"===horizontalAlignment?window.uiKit.Carousel.RIGHT:window.uiKit.Carousel.CENTER,instance.data.control.verticalAlignment=\"TOP\"===verticalAlignment?window.uiKit.Carousel.TOP:\"BOTTOM\"===verticalAlignment?window.uiKit.Carousel.BOTTOM:window.uiKit.Carousel.CENTER,instance.data.control.flexibleAlignment=\"ENABLED\"===flexibleAlignment||\"DISABLED\"!==flexibleAlignment&&null,instance.data.control.fitSlideWidth=\"MAX CONTENT\"===fitSlideWidth?window.uiKit.Carousel.MAX_CONTENT:window.uiKit.Carousel.MIN_CONTENT,instance.data.control.fitSlideHeight=\"MIN CONTENT\"===fitSlideHeight?window.uiKit.Carousel.MIN_CONTENT:window.uiKit.Carousel.MAX_CONTENT,instance.data.control.fitViewportToContent=\"LARGEST\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST:\"SMALLEST\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST:\"LARGEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_SMOOTH:\"SMALLEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_SMOOTH:\"LARGEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_INSTANT:\"SMALLEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_INSTANT:window.uiKit.Carousel.FIT_NONE,instance.data.control.stickyPositioning=stickyPositioning,instance.data.control.animationBehavior=\"CONSTANT SPEED\"===animationBehavior?window.uiKit.Carousel.CONSTANT_SPEED:window.uiKit.Carousel.CONSTANT_DURATION,instance.data.control.animationDuration=animationDuration,instance.data.control.enableScaling=enableScaling,instance.data.control.paddingTop=paddingTop,instance.data.control.paddingBottom=paddingBottom,instance.data.control.paddingLeft=paddingLeft,instance.data.control.paddingRight=paddingRight,instance.data.control.enableMarkupClasses=enableMarkupClasses,instance.data.control.disableOptimization=disableOptimization,instance.data.control.slideOnSwipe=slideOnSwipe,instance.data.control.swipeThreshold=swipeThreshold,instance.data.control.swipeWithDrag=swipeWithDrag,instance.data.control.slideOnTap=slideOnTap,instance.data.control.slideOnActiveTap=slideOnActiveTap,instance.data.control.slideOnInactiveTap=slideOnInactiveTap,instance.data.control.forwardTapDirection=\"BACKWARD\"===forwardTapDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardTapDirection=\"FORWARD\"===backwardTapDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnClick=slideOnClick,instance.data.control.slideOnActiveClick=slideOnActiveClick,instance.data.control.slideOnInactiveClick=slideOnInactiveClick,instance.data.control.forwardClickDirection=\"BACKWARD\"===forwardClickDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardClickDirection=\"FORWARD\"===backwardClickDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnMouseDrag=slideOnMouseDrag,instance.data.control.mouseDragSensitivity=mouseDragSensitivity,instance.data.control.slideOnTouchDrag=slideOnTouchDrag,instance.data.control.touchDragSensitivity=touchDragSensitivity,instance.data.control.slideOnFreeDrag=slideOnFreeDrag,instance.data.control.dragInertion=dragInertion,instance.data.control.slideOnWheel=slideOnWheel,instance.data.control.blockWheelInAnimation=blockWheelInAnimation,instance.data.control.activeSlideWidth=slideWidth,instance.data.control.inactiveSlideWidth=slideWidth,instance.data.control.activeSlideHeight=slideHeight,instance.data.control.inactiveSlideHeight=slideHeight,instance.data.control.activeSlideGap=slideGap,instance.data.control.inactiveSlideGap=slideGap,instance.data.control.activeSlideCursor=slideCursor,instance.data.control.inactiveSlideCursor=slideCursor,instance.data.control.activeSlideClip=slideClip,instance.data.control.inactiveSlideClip=slideClip,instance.data.control.autoslideEnabled=window.uiKit.parseBoolean(autoslideEnabled,!1),instance.data.control.autoslideDelay=window.uiKit.parseNumber(autoslideDelay,0),instance.data.control.autoslideInterval=window.uiKit.parseNumber(autoslideInterval,0),instance.data.control.autoslideDirection=window.uiKit.parseEnum(autoslideDirection,{FORWARD:window.uiKit.Carousel.FORWARD,BACKWARD:window.uiKit.Carousel.BACKWARD},window.uiKit.Carousel.FORWARD),instance.data.control.pauseOnHover=window.uiKit.parseBoolean(pauseOnHover,!0),instance.data.control.disableOnTouchDevice=window.uiKit.parseBoolean(disableOnTouchDevice,!1),lookup?(instance.data.control.element=null,requestAnimationFrame(instance.data.lookup)):instance.data.control.update()}"},"reset":{"fn":"function(instance,context){}"}}},"ANV":{"display":"Simple Flipper","property_applications":{"resizable":true,"MinWidth":false},"add_is_visible":true,"fields":{"AKq":{"caption":"Container ID","name":"container-id","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AKr":{"caption":"Slide on Swipe","name":"slide-on-swipe","rank":21,"editor":"Checkbox","default_val":true},"AKs":{"caption":"Slide on Tap","name":"slide-on-tap","rank":24,"editor":"Checkbox","default_val":true},"AKv":{"caption":"Slide on Click","name":"slide-on-click","rank":27,"editor":"Checkbox","default_val":true},"AKy":{"caption":"Slide on Mouse Drag","name":"slide-on-mouse-drag","rank":32,"editor":"Checkbox","default_val":true},"AKz":{"caption":"Slide on Touch Drag","name":"slide-on-touch-drag","rank":30,"editor":"Checkbox","default_val":true},"ALA":{"caption":"Slide on Free Drag","name":"slide-on-free-drag","rank":34,"editor":"Checkbox","default_val":true},"ALB":{"caption":"Slide on Wheel","name":"slide-on-wheel","rank":36,"editor":"Checkbox","default_val":true},"ALC":{"caption":"Swipe Threshold","name":"swipe-threshold","rank":22,"editor":"StaticNumber","default_val":5},"ALD":{"caption":"Forward Tap Direction","name":"forward-tap-direction","rank":25,"editor":"Dropdown","default_val":"FORWARD"},"ALE":{"caption":"Backward Tap Direction","name":"backward-tap-direction","rank":26,"editor":"Dropdown","default_val":"BACKWARD"},"ALF":{"caption":"Forward Click Direction","name":"forward-click-direction","rank":28,"editor":"Dropdown","default_val":"FORWARD"},"ALG":{"caption":"Backward Click Direction","name":"backward-click-direction","rank":29,"editor":"Dropdown","default_val":"BACKWARD"},"ALH":{"caption":"Drag Inertion","name":"drag-inertion","rank":35,"editor":"StaticNumber","default_val":100},"ALI":{"caption":"Animation Duration","name":"animation-duration","rank":12,"editor":"StaticNumber","default_val":250},"ALJ":{"caption":"Slide Width","name":"slide-width","rank":45,"editor":"DynamicValue","value":"number","default_val":1,"optional":false},"ALK":{"caption":"Slide Height","name":"slide-height","rank":46,"editor":"DynamicValue","value":"number","default_val":1},"ALN":{"caption":"Horizontal Alignment","name":"horizontal-alignment","rank":4,"editor":"Dropdown","default_val":"CENTER"},"ALO":{"caption":"Vertical Alignment","name":"vertical-alignment","rank":5,"editor":"Dropdown","default_val":"CENTER"},"ALQ":{"caption":"Orientation","name":"orientation","rank":3,"editor":"Dropdown","default_val":"HORIZONTAL"},"ALT":{"caption":"Loop","name":"loop","rank":10,"editor":"Dropdown","default_val":"AUTO","optional":true},"ALU":{"caption":"Container Lookup Scope","name":"container-lookup-scope","rank":2,"editor":"Dropdown","default_val":"GLOBAL"},"ALW":{"caption":"Fit to Content","name":"fit-to-content","rank":8,"editor":"Dropdown","default_val":"NONE","optional":true},"ALY":{"caption":"Sticky Positioning","name":"sticky-positioning","rank":9,"editor":"Checkbox","default_val":true},"ALa":{"caption":"Start Slide","name":"start-slide","rank":11,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"ALb":{"caption":"General Slider Settings","name":"-general-slider-settings-","rank":0,"editor":"Label"},"ALc":{"caption":"Slide Settings","name":"-active-slide-settings-","rank":44,"editor":"Label"},"ALd":{"caption":"User Interaction","name":"-user-interaction-","rank":20,"editor":"Label"},"ALf":{"caption":"Slide Clip","name":"slide-clip","rank":48,"editor":"Checkbox","default_val":true},"AME":{"caption":"Padding Top","name":"padding-top","rank":13,"editor":"DynamicValue","value":"number","optional":true},"AMF":{"caption":"Padding Bottom","name":"padding-bottom","rank":14,"editor":"DynamicValue","value":"number","optional":true},"AMG":{"caption":"Padding Left","name":"padding-left","rank":15,"editor":"DynamicValue","value":"number","optional":true},"AMH":{"caption":"Padding Right","name":"padding-right","rank":16,"editor":"DynamicValue","value":"number","optional":true},"AMv":{"caption":"Report Slide Visibility","name":"report-slide-visibility","rank":17,"editor":"Checkbox","default_val":false},"AMw":{"caption":"Block Wheel in Animation","name":"block-wheel-in-animation","rank":37,"editor":"Checkbox","default_val":true},"AMx":{"caption":"Mouse Drag Sensitivity","name":"mouse-drag-sensitivity","rank":33,"editor":"DynamicValue","value":"number","optional":true},"AMy":{"caption":"Touch Drag Sensitivity","name":"touch-drag-sensitivity","rank":31,"editor":"DynamicValue","value":"number","optional":true},"ANA":{"caption":"Disable Optimization","name":"disable-optimization","rank":19,"editor":"Checkbox","default_val":false},"ANB":{"caption":"Fit Slide Width","name":"fit-slide-width","rank":6,"editor":"Dropdown","default_val":"MIN CONTENT","optional":true},"ANC":{"caption":"Fit Slide Height","name":"fit-slide-height","rank":7,"editor":"Dropdown","default_val":"MAX CONTENT","optional":true},"AND":{"caption":"Slide Cursor","name":"slide-cursor","rank":47,"editor":"DynamicValue","value":"text","optional":true},"APP":{"caption":"Swipe with Drag","name":"swipe-with-drag","rank":23,"editor":"Checkbox","default_val":true},"APa":{"caption":"Enable Autoslide","name":"autoslide-enabled","rank":38,"editor":"Checkbox","default_val":false},"APb":{"caption":"Autoslide Direction","name":"autoslide-direction","rank":39,"editor":"Dropdown","default_val":"FORWARD"},"APc":{"caption":"Autoslide Delay","name":"autoslide-delay","rank":41,"editor":"DynamicValue","value":"number","optional":true},"APd":{"caption":"Autoslide Interval","name":"autoslide-interval","rank":40,"editor":"DynamicValue","value":"number","default_val":3,"optional":false},"APq":{"caption":"Pause on Hover","name":"pause-on-hover","rank":42,"editor":"Checkbox","default_val":true},"APw":{"caption":"Disable on Touch Device","name":"disable-on-touch-device","rank":43,"editor":"Checkbox","default_val":false},"AQo":{"caption":"Enable Markup Classes","name":"enable-markup-classes","rank":18,"editor":"Checkbox","default_val":false}},"states":{"ANI":{"caption":"Current Index","name":"current-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANJ":{"caption":"Target Index","name":"target-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANK":{"caption":"Active Index","name":"active-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANL":{"caption":"Current Number","name":"current-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANM":{"caption":"Target Number","name":"target-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANN":{"caption":"Active Number","name":"active-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANO":{"caption":"Busy","name":"busy","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}},"ANP":{"caption":"Minimum Slide Number","name":"minimum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANQ":{"caption":"Maximum Slide Number","name":"maximum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANR":{"caption":"Minimum Slide Index","name":"minimum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANS":{"caption":"Maximum Slide Index","name":"maximum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"ANT":{"caption":"Slide Visibility","name":"slide-visibility","value":"number","initialization_code":{"fn":"function(properties,context){return null}"},"is_list":true},"ANU":{"caption":"Component ID","name":"component-id","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}}},"events":{"AKn":{"caption":"Current Slide Changed","name":"current-slide-changed"},"AKo":{"caption":"Target Slide Changed","name":"target-slide-changed"},"AKp":{"caption":"Active Slide Changed","name":"active-slide-changed"}},"actions":{"AKX":{"caption":"Show First","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=0;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const lowerNumber=activeNumber-activeIndex,upperNumber=lowerNumber+count;targetNumber=upperNumber-activeNumber<activeNumber-lowerNumber?upperNumber:lowerNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"AKY":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AKZ":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AKa":{"caption":"Show Previous","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number>start?number-1:end:Math.max(start,Math.min(end,number-1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"AKb":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"AKc":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"AKd":{"caption":"Show Next","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number<end?number+1:start:Math.max(start,Math.min(end,number+1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"AKe":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"AKf":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"AKg":{"caption":"Show Last","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=count-1;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const upperNumber=activeNumber-activeIndex+targetNumber,lowerNumber=upperNumber-count;targetNumber=activeNumber-lowerNumber<upperNumber-activeNumber?lowerNumber:upperNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"AKh":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AKi":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AKj":{"caption":"Show","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){const shortcircuit=properties.shortcircuit;let slideNumber=properties[\"slide-number\"];if(control.carousel){if(shortcircuit){const slideIndex=slideNumber%count+(slideNumber%count<0?count:0),activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0),slideDistance=undefined;slideNumber=activeNumber+(slideIndex-activeIndex-Math.round((slideIndex-activeIndex)/count-1e-6)*count)}}else{const range=control.navigationRange;slideNumber=Math.max(range.minimumSlideNumber,Math.min(range.maximumSlideNumber,slideNumber))}properties[\"disable-animation\"]?control.activeSlide=slideNumber:control.slideTo(slideNumber)}}"},"fields":{"AKk":{"caption":"Slide Number","name":"slide-number","rank":0,"editor":"DynamicValue","value":"number","default_val":0},"AKl":{"caption":"Disable Animation","name":"disable-animation","rank":1,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"AKm":{"caption":"Shortcircuit","name":"shortcircuit","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n}"},"initialize":{"fn":"function(instance,context){instance.data.control=new window.uiKit.Carousel(window.uiKit.Carousel.BUBBLE),instance.data.control.addActiveSlideCallback(((activeSlideNumber,activeSlideIndex,activeSlideOffset)=>{if(instance.data.activeSlideNumber!=activeSlideNumber){instance.data.activeSlideNumber=activeSlideNumber;try{instance.publishState(\"active-number\",null!=activeSlideNumber?activeSlideNumber:null)}catch(err){console.error(\"Failed to update Active Number state\",err)}try{instance.publishState(\"active-index\",null!=activeSlideIndex?activeSlideIndex:null)}catch(err){console.error(\"Failed to update Active Index state\",err)}instance.triggerEvent(\"active-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addCurrentSlideCallback(((currentSlideNumber,currentSlideIndex,currentSlideOffset)=>{if(instance.data.currentSlideNumber!=currentSlideNumber){instance.data.currentSlideNumber=currentSlideNumber;try{instance.publishState(\"current-number\",null!=currentSlideNumber?currentSlideNumber:null)}catch(err){console.error(\"Failed to update Current Number state\",err)}try{instance.publishState(\"current-index\",null!=currentSlideIndex?currentSlideIndex:null)}catch(err){console.error(\"Failed to update Current Index state\",err)}instance.triggerEvent(\"current-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addTargetSlideCallback(((targetSlideNumber,targetSlideIndex,targetSlideOffset)=>{if(instance.data.targetSlideNumber!=targetSlideNumber){instance.data.targetSlideNumber=targetSlideNumber;try{instance.publishState(\"target-number\",null!=targetSlideNumber?targetSlideNumber:null)}catch(err){console.error(\"Failed to update Target Number state\",err)}try{instance.publishState(\"target-index\",null!=targetSlideIndex?targetSlideIndex:null)}catch(err){console.error(\"Failed to update Target Index state\",err)}instance.triggerEvent(\"target-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addAnimationStartCallback((()=>{instance.publishState(\"busy\",!0)})),instance.data.control.addAnimationStopCallback((()=>{instance.publishState(\"busy\",!1)})),instance.data.control.addRenderCallback((()=>{const navigationRange=instance.data.control.navigationRange;if(instance.data.minimumSlideNumber!=navigationRange.minimumSlideNumber){instance.data.minimumSlideNumber=navigationRange.minimumSlideNumber;try{instance.publishState(\"minimum-slide-number\",isFinite(navigationRange.minimumSlideNumber)?navigationRange.minimumSlideNumber:navigationRange.minimumSlideNumber<0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.maximumSlideNumber!=navigationRange.maximumSlideNumber){instance.data.maximumSlideNumber=navigationRange.maximumSlideNumber;try{instance.publishState(\"maximum-slide-number\",isFinite(navigationRange.maximumSlideNumber)?navigationRange.maximumSlideNumber:navigationRange.maximumSlideNumber>0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.minimumSlideIndex!=navigationRange.minimumSlideIndex){instance.data.minimumSlideIndex=navigationRange.minimumSlideIndex;try{instance.publishState(\"minimum-slide-index\",navigationRange.minimumSlideIndex)}catch(err){console.error(err)}}if(instance.data.maximumSlideIndex!=navigationRange.maximumSlideIndex){instance.data.maximumSlideIndex=navigationRange.maximumSlideIndex;try{instance.publishState(\"maximum-slide-index\",navigationRange.maximumSlideIndex)}catch(err){console.error(err)}}if(instance.data.reportSlideVisibility){const layout=instance.data.control.currentSlidesLayout;if(layout){const visibility=layout.prevHiddenSlides.concat(layout.prevVisibleSlides).concat([layout.activeSlide]).concat(layout.nextVisibleSlides).concat(layout.nextHiddenSlides).filter((e=>e)).sort(((a,b)=>a.slideIndex-b.slideIndex)).map((e=>e.visibility));try{instance.publishState(\"slide-visibility\",visibility)}catch(err){console.error(err)}}}})),instance.data.lookup=function(){const containerId=instance.data.containerId,containerLookupScope=instance.data.containerLookupScope,control=instance.data.control;let element=null;if(containerId){if(\"CHILDREN\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\")));element=parent&&$(parent).find(\"#\"+containerId),element=element&&element.length?element[0]:null}else if(\"SIBLINGS\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\"))),siblings=Array.from(parent&&parent.children||[]);for(let i=0;i<siblings.length;i++){const sibling=siblings[i];if(sibling.classList.contains(\"bubble-r-line\")){siblings.splice(i--,1);const children=sibling.children||[];for(let j=0;j<children.length;j++){const child=children[j];child.classList.contains(\"bubble-r-box\")&&siblings.splice(i+1,0,...Array.from(child.children||[]))}}}element=siblings&&siblings.find((e=>e.getAttribute(\"id\")===containerId))}else element=document.getElementById(containerId);element&&element.children&&element.children.length&&element.children[0].classList.contains(\"rows\")&&(element=element.children[0])}element!==control.element&&(control.element&&(control.element.classList.contains(\"rows\")?control.element.parentElement:control.element).classList.remove(\"pv5og3ed\"),element&&(element.classList.contains(\"rows\")?element.parentElement:element).classList.add(\"pv5og3ed\"),control.element=element),control.element||requestAnimationFrame(instance.data.lookup)},instance.publishState(\"component-id\",instance.data.control.componentId)}"},"update":{"fn":"function(instance,properties,context){const containerId=properties[\"container-id\"],containerLookupScope=properties[\"container-lookup-scope\"],orientation=properties.orientation,horizontalAlignment=properties[\"horizontal-alignment\"],verticalAlignment=properties[\"vertical-alignment\"],fitSlideWidth=properties[\"fit-slide-width\"],fitSlideHeight=properties[\"fit-slide-height\"],fitToContent=properties[\"fit-to-content\"],fitSmoothly=properties[\"fit-smoothly\"],stickyPositioning=properties[\"sticky-positioning\"],loop=properties.loop,startSlide=properties[\"start-slide\"],animationDuration=properties[\"animation-duration\"],paddingTop=properties[\"padding-top\"],paddingBottom=properties[\"padding-bottom\"],paddingLeft=properties[\"padding-left\"],paddingRight=properties[\"padding-right\"],reportSlideVisibility=properties[\"report-slide-visibility\"],enableMarkupClasses=properties[\"enable-markup-classes\"],disableOptimization=properties[\"disable-optimization\"],slideOnSwipe=properties[\"slide-on-swipe\"],swipeThreshold=properties[\"swipe-threshold\"],swipeWithDrag=properties[\"swipe-with-drag\"],slideOnTap=properties[\"slide-on-tap\"],forwardTapDirection=properties[\"forward-tap-direction\"],backwardTapDirection=properties[\"backward-tap-direction\"],slideOnClick=properties[\"slide-on-click\"],forwardClickDirection=properties[\"forward-click-direction\"],backwardClickDirection=properties[\"backward-click-direction\"],slideOnTouchDrag=properties[\"slide-on-touch-drag\"],touchDragSensitivity=properties[\"touch-drag-sensitivity\"],slideOnMouseDrag=properties[\"slide-on-mouse-drag\"],mouseDragSensitivity=properties[\"mouse-drag-sensitivity\"],slideOnFreeDrag=properties[\"slide-on-free-drag\"],dragInertion=properties[\"drag-inertion\"],slideOnWheel=properties[\"slide-on-wheel\"],blockWheelInAnimation=properties[\"block-wheel-in-animation\"],autoslideEnabled=properties[\"autoslide-enabled\"],autoslideDirection=properties[\"autoslide-direction\"],autoslideInterval=properties[\"autoslide-interval\"],autoslideDelay=properties[\"autoslide-delay\"],pauseOnHover=properties[\"pause-on-hover\"],disableOnTouchDevice=properties[\"disable-on-touch-device\"],slideWidth=properties[\"slide-width\"],slideHeight=properties[\"slide-height\"],slideCursor=properties[\"slide-cursor\"],slideClip=properties[\"slide-clip\"],lookup=containerId!=instance.data.containerId;instance.data.containerId=containerId,instance.data.containerLookupScope=containerLookupScope,instance.data.reportSlideVisibility=reportSlideVisibility,instance.data.control.orientation=\"HORIZONTAL\"===orientation?window.uiKit.Carousel.HORIZONTAL:\"VERTICAL\"===orientation?window.uiKit.Carousel.VERTICAL:null,instance.data.control.carousel=\"ENABLED\"===loop||\"DISABLED\"!==loop&&null,instance.data.control.maximumVisibleSlides=3,instance.data.control.startSlideNumber=startSlide,instance.data.control.startSlideOffset=0,instance.data.control.horizontalAlignment=\"LEFT\"===horizontalAlignment?window.uiKit.Carousel.LEFT:\"RIGHT\"===horizontalAlignment?window.uiKit.Carousel.RIGHT:window.uiKit.Carousel.CENTER,instance.data.control.verticalAlignment=\"TOP\"===verticalAlignment?window.uiKit.Carousel.TOP:\"BOTTOM\"===verticalAlignment?window.uiKit.Carousel.BOTTOM:window.uiKit.Carousel.CENTER,instance.data.control.flexibleAlignment=null,instance.data.control.fitSlideWidth=\"MAX CONTENT\"===fitSlideWidth?window.uiKit.Carousel.MAX_CONTENT:window.uiKit.Carousel.MIN_CONTENT,instance.data.control.fitSlideHeight=\"MIN CONTENT\"===fitSlideHeight?window.uiKit.Carousel.MIN_CONTENT:window.uiKit.Carousel.MAX_CONTENT,instance.data.control.fitViewportToContent=\"LARGEST\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST:\"SMALLEST\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST:\"LARGEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_SMOOTH:\"SMALLEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_SMOOTH:\"LARGEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_INSTANT:\"SMALLEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_INSTANT:window.uiKit.Carousel.FIT_NONE,instance.data.control.stickyPositioning=stickyPositioning,instance.data.control.animationBehavior=window.uiKit.Carousel.CONSTANT_DURATION,instance.data.control.animationDuration=animationDuration,instance.data.control.enableScaling=!1,instance.data.control.paddingTop=paddingTop,instance.data.control.paddingBottom=paddingBottom,instance.data.control.paddingLeft=paddingLeft,instance.data.control.paddingRight=paddingRight,instance.data.control.enableMarkupClasses=enableMarkupClasses,instance.data.control.disableOptimization=disableOptimization,instance.data.control.slideOnSwipe=slideOnSwipe,instance.data.control.swipeThreshold=swipeThreshold,instance.data.control.swipeWithDrag=swipeWithDrag,instance.data.control.slideOnTap=slideOnTap,instance.data.control.slideOnActiveTap=slideOnTap,instance.data.control.slideOnInactiveTap=slideOnTap,instance.data.control.forwardTapDirection=\"BACKWARD\"===forwardTapDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardTapDirection=\"FORWARD\"===backwardTapDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnClick=slideOnClick,instance.data.control.slideOnActiveClick=slideOnClick,instance.data.control.slideOnInactiveClick=slideOnClick,instance.data.control.forwardClickDirection=\"BACKWARD\"===forwardClickDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardClickDirection=\"FORWARD\"===backwardClickDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnMouseDrag=slideOnMouseDrag,instance.data.control.mouseDragSensitivity=mouseDragSensitivity,instance.data.control.slideOnTouchDrag=slideOnTouchDrag,instance.data.control.touchDragSensitivity=touchDragSensitivity,instance.data.control.slideOnFreeDrag=slideOnFreeDrag,instance.data.control.dragInertion=dragInertion,instance.data.control.slideOnWheel=slideOnWheel,instance.data.control.blockWheelInAnimation=blockWheelInAnimation,instance.data.control.activeSlideWidth=slideWidth,instance.data.control.inactiveSlideWidth=slideWidth,instance.data.control.activeSlideHeight=slideHeight,instance.data.control.inactiveSlideHeight=slideHeight,instance.data.control.activeSlideCursor=slideCursor,instance.data.control.inactiveSlideCursor=slideCursor,instance.data.control.activeSlideClip=slideClip,instance.data.control.inactiveSlideClip=slideClip,instance.data.control.activeSlideGap=-1,instance.data.control.inactiveSlideGap=-1,instance.data.control.activeSlideGapRelativeTo=window.uiKit.Carousel.CURRENT_SELF,instance.data.control.inactiveSlideGapRelativeTo=window.uiKit.Carousel.CURRENT_SELF,instance.data.control.activeSlideXRotation=0,instance.data.control.activeSlideYRotation=0,instance.data.control.inactiveSlideXRotation=\"VERTICAL\"===orientation?180:0,instance.data.control.inactiveSlideYRotation=\"HORIZONTAL\"===orientation?180:0,instance.data.control.mirrorXRotation=!0,instance.data.control.mirrorYRotation=!0,instance.data.control.mirrorZRotation=!1,instance.data.control.perspective3d=2500,instance.data.control.autoslideEnabled=window.uiKit.parseBoolean(autoslideEnabled,!1),instance.data.control.autoslideDelay=window.uiKit.parseNumber(autoslideDelay,0),instance.data.control.autoslideInterval=window.uiKit.parseNumber(autoslideInterval,0),instance.data.control.autoslideDirection=window.uiKit.parseEnum(autoslideDirection,{FORWARD:window.uiKit.Carousel.FORWARD,BACKWARD:window.uiKit.Carousel.BACKWARD},window.uiKit.Carousel.FORWARD),instance.data.control.pauseOnHover=window.uiKit.parseBoolean(pauseOnHover,!0),instance.data.control.disableOnTouchDevice=window.uiKit.parseBoolean(disableOnTouchDevice,!1),lookup?(instance.data.control.element=null,requestAnimationFrame(instance.data.lookup)):instance.data.control.update()}"},"reset":{"fn":"function(instance,context){}"}}},"AOy":{"display":"Simple Fader","property_applications":{"resizable":true,"MinWidth":false},"add_is_visible":true,"fields":{"ANw":{"caption":"Container ID","name":"container-id","rank":1,"editor":"DynamicValue","value":"text","optional":true},"ANx":{"caption":"Slide on Swipe","name":"slide-on-swipe","rank":21,"editor":"Checkbox","default_val":true},"ANy":{"caption":"Slide on Tap","name":"slide-on-tap","rank":24,"editor":"Checkbox","default_val":true},"ANz":{"caption":"Slide on Click","name":"slide-on-click","rank":27,"editor":"Checkbox","default_val":true},"AOA":{"caption":"Slide on Mouse Drag","name":"slide-on-mouse-drag","rank":32,"editor":"Checkbox","default_val":true},"AOB":{"caption":"Slide on Touch Drag","name":"slide-on-touch-drag","rank":30,"editor":"Checkbox","default_val":true},"AOC":{"caption":"Slide on Free Drag","name":"slide-on-free-drag","rank":34,"editor":"Checkbox","default_val":true},"AOD":{"caption":"Slide on Wheel","name":"slide-on-wheel","rank":36,"editor":"Checkbox","default_val":true},"AOE":{"caption":"Swipe Threshold","name":"swipe-threshold","rank":22,"editor":"StaticNumber","default_val":5},"AOF":{"caption":"Forward Tap Direction","name":"forward-tap-direction","rank":25,"editor":"Dropdown","default_val":"FORWARD"},"AOG":{"caption":"Backward Tap Direction","name":"backward-tap-direction","rank":26,"editor":"Dropdown","default_val":"BACKWARD"},"AOH":{"caption":"Forward Click Direction","name":"forward-click-direction","rank":28,"editor":"Dropdown","default_val":"FORWARD"},"AOI":{"caption":"Backward Click Direction","name":"backward-click-direction","rank":29,"editor":"Dropdown","default_val":"BACKWARD"},"AOJ":{"caption":"Drag Inertion","name":"drag-inertion","rank":35,"editor":"StaticNumber","default_val":100},"AOK":{"caption":"Animation Duration","name":"animation-duration","rank":12,"editor":"StaticNumber","default_val":250},"AOL":{"caption":"Slide Width","name":"slide-width","rank":45,"editor":"DynamicValue","value":"number","default_val":1,"optional":false},"AOM":{"caption":"Slide Height","name":"slide-height","rank":46,"editor":"DynamicValue","value":"number","default_val":1},"AON":{"caption":"Horizontal Alignment","name":"horizontal-alignment","rank":4,"editor":"Dropdown","default_val":"CENTER"},"AOO":{"caption":"Vertical Alignment","name":"vertical-alignment","rank":5,"editor":"Dropdown","default_val":"CENTER"},"AOP":{"caption":"Orientation","name":"orientation","rank":3,"editor":"Dropdown","default_val":"HORIZONTAL"},"AOQ":{"caption":"Loop","name":"loop","rank":10,"editor":"Dropdown","default_val":"AUTO","optional":true},"AOR":{"caption":"Container Lookup Scope","name":"container-lookup-scope","rank":2,"editor":"Dropdown","default_val":"GLOBAL"},"AOS":{"caption":"Fit to Content","name":"fit-to-content","rank":8,"editor":"Dropdown","default_val":"NONE","optional":true},"AOT":{"caption":"Sticky Positioning","name":"sticky-positioning","rank":9,"editor":"Checkbox","default_val":true},"AOU":{"caption":"Start Slide","name":"start-slide","rank":11,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"AOV":{"caption":"General Slider Settings","name":"-general-slider-settings-","rank":0,"editor":"Label"},"AOW":{"caption":"Slide Settings","name":"-active-slide-settings-","rank":44,"editor":"Label"},"AOX":{"caption":"User Interaction","name":"-user-interaction-","rank":20,"editor":"Label"},"AOY":{"caption":"Slide Clip","name":"slide-clip","rank":48,"editor":"Checkbox","default_val":true},"AOZ":{"caption":"Padding Top","name":"padding-top","rank":13,"editor":"DynamicValue","value":"number","optional":true},"AOa":{"caption":"Padding Bottom","name":"padding-bottom","rank":14,"editor":"DynamicValue","value":"number","optional":true},"AOb":{"caption":"Padding Left","name":"padding-left","rank":15,"editor":"DynamicValue","value":"number","optional":true},"AOc":{"caption":"Padding Right","name":"padding-right","rank":16,"editor":"DynamicValue","value":"number","optional":true},"AOd":{"caption":"Report Slide Visibility","name":"report-slide-visibility","rank":17,"editor":"Checkbox","default_val":false},"AOe":{"caption":"Block Wheel in Animation","name":"block-wheel-in-animation","rank":37,"editor":"Checkbox","default_val":true},"AOf":{"caption":"Mouse Drag Sensitivity","name":"mouse-drag-sensitivity","rank":33,"editor":"DynamicValue","value":"number","optional":true},"AOg":{"caption":"Touch Drag Sensitivity","name":"touch-drag-sensitivity","rank":31,"editor":"DynamicValue","value":"number","optional":true},"AOh":{"caption":"Disable Optimization","name":"disable-optimization","rank":19,"editor":"Checkbox","default_val":false},"AOi":{"caption":"Fit Slide Width","name":"fit-slide-width","rank":6,"editor":"Dropdown","default_val":"MIN CONTENT","optional":true},"AOj":{"caption":"Fit Slide Height","name":"fit-slide-height","rank":7,"editor":"Dropdown","default_val":"MAX CONTENT","optional":true},"AOk":{"caption":"Slide Cursor","name":"slide-cursor","rank":47,"editor":"DynamicValue","value":"text","optional":true},"APQ":{"caption":"Swipe with Drag","name":"swipe-with-drag","rank":23,"editor":"Checkbox","default_val":true},"APe":{"caption":"Enable Autoslide","name":"autoslide-enabled","rank":38,"editor":"Checkbox","default_val":false},"APf":{"caption":"Autoslide Direction","name":"autoslide-direction","rank":39,"editor":"Dropdown","default_val":"FORWARD"},"APg":{"caption":"Autoslide Delay","name":"autoslide-delay","rank":41,"editor":"DynamicValue","value":"number","optional":true},"APh":{"caption":"Autoslide Interval","name":"autoslide-interval","rank":40,"editor":"DynamicValue","value":"number","default_val":3,"optional":false},"APs":{"caption":"Pause on Hover","name":"pause-on-hover","rank":42,"editor":"Checkbox","default_val":true},"APx":{"caption":"Disable on Touch Device","name":"disable-on-touch-device","rank":43,"editor":"Checkbox","default_val":false},"AQq":{"caption":"Enable Markup Classes","name":"enable-markup-classes","rank":18,"editor":"Checkbox","default_val":false}},"states":{"AOl":{"caption":"Current Index","name":"current-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOm":{"caption":"Target Index","name":"target-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOn":{"caption":"Active Index","name":"active-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOo":{"caption":"Current Number","name":"current-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOp":{"caption":"Target Number","name":"target-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOq":{"caption":"Active Number","name":"active-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOr":{"caption":"Busy","name":"busy","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}},"AOs":{"caption":"Minimum Slide Number","name":"minimum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOt":{"caption":"Maximum Slide Number","name":"maximum-slide-number","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOu":{"caption":"Minimum Slide Index","name":"minimum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOv":{"caption":"Maximum Slide Index","name":"maximum-slide-index","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}},"AOw":{"caption":"Slide Visibility","name":"slide-visibility","value":"number","initialization_code":{"fn":"function(properties,context){return null}"},"is_list":true},"AOx":{"caption":"Component ID","name":"component-id","value":"number","initialization_code":{"fn":"function(properties,context){return null}"}}},"events":{"ANt":{"caption":"Current Slide Changed","name":"current-slide-changed"},"ANu":{"caption":"Target Slide Changed","name":"target-slide-changed"},"ANv":{"caption":"Active Slide Changed","name":"active-slide-changed"}},"actions":{"ANd":{"caption":"Show First","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=0;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const lowerNumber=activeNumber-activeIndex,upperNumber=lowerNumber+count;targetNumber=upperNumber-activeNumber<activeNumber-lowerNumber?upperNumber:lowerNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"ANe":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"ANf":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"ANg":{"caption":"Show Previous","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number>start?number-1:end:Math.max(start,Math.min(end,number-1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"ANh":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"ANi":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"ANj":{"caption":"Show Next","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let loop=properties.loop;loop=loop&&\"DEFAULT\"!==loop?\"AUTO\"===loop?control.carouselAvailable:\"ENABLED\"===loop:control.carousel;const range=control.navigationRange,active=control.activeSlide,number=active&&active.slideNumber||0,start=Math.floor(number/count)*count+range.minimumSlideIndex,end=Math.floor(number/count)*count+range.maximumSlideIndex;let slide=number;slide=loop?control.carousel||number<end?number+1:start:Math.max(start,Math.min(end,number+1)),slide!==number&&(properties[\"disable-animation\"]?control.activeSlide=slide:control.slideTo(slide))}}"},"fields":{"ANk":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true},"ANl":{"caption":"Loop","name":"loop","rank":1,"editor":"Dropdown","optional":true,"default_val":"DEFAULT"}}},"ANm":{"caption":"Show Last","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){let targetNumber=count-1;const activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0);if(control.carousel&&properties.shortcircuit){const upperNumber=activeNumber-activeIndex+targetNumber,lowerNumber=upperNumber-count;targetNumber=activeNumber-lowerNumber<upperNumber-activeNumber?lowerNumber:upperNumber}targetNumber!==activeNumber&&(properties[\"disable-animation\"]?control.activeSlide=targetNumber:control.slideTo(targetNumber))}}"},"fields":{"ANn":{"caption":"Disable Animation","name":"disable-animation","rank":0,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"ANo":{"caption":"Shortcircuit","name":"shortcircuit","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"ANp":{"caption":"Show","code":{"fn":"function(instance,properties,context){const control=instance.data.control,count=control&&control.slidesCount;if(count){const shortcircuit=properties.shortcircuit;let slideNumber=properties[\"slide-number\"];if(control.carousel){if(shortcircuit){const slideIndex=slideNumber%count+(slideNumber%count<0?count:0),activeSlide=control.activeSlide,activeNumber=activeSlide&&activeSlide.slideNumber||0,activeIndex=activeNumber%count+(activeNumber%count<0?count:0),slideDistance=undefined;slideNumber=activeNumber+(slideIndex-activeIndex-Math.round((slideIndex-activeIndex)/count-1e-6)*count)}}else{const range=control.navigationRange;slideNumber=Math.max(range.minimumSlideNumber,Math.min(range.maximumSlideNumber,slideNumber))}properties[\"disable-animation\"]?control.activeSlide=slideNumber:control.slideTo(slideNumber)}}"},"fields":{"ANq":{"caption":"Slide Number","name":"slide-number","rank":0,"editor":"DynamicValue","value":"number","default_val":0},"ANr":{"caption":"Disable Animation","name":"disable-animation","rank":1,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false},"ANs":{"caption":"Shortcircuit","name":"shortcircuit","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n}"},"initialize":{"fn":"function(instance,context){instance.data.control=new window.uiKit.Carousel(window.uiKit.Carousel.BUBBLE),instance.data.control.addActiveSlideCallback(((activeSlideNumber,activeSlideIndex,activeSlideOffset)=>{if(instance.data.activeSlideNumber!=activeSlideNumber){instance.data.activeSlideNumber=activeSlideNumber;try{instance.publishState(\"active-number\",null!=activeSlideNumber?activeSlideNumber:null)}catch(err){console.error(\"Failed to update Active Number state\",err)}try{instance.publishState(\"active-index\",null!=activeSlideIndex?activeSlideIndex:null)}catch(err){console.error(\"Failed to update Active Index state\",err)}instance.triggerEvent(\"active-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addCurrentSlideCallback(((currentSlideNumber,currentSlideIndex,currentSlideOffset)=>{if(instance.data.currentSlideNumber!=currentSlideNumber){instance.data.currentSlideNumber=currentSlideNumber;try{instance.publishState(\"current-number\",null!=currentSlideNumber?currentSlideNumber:null)}catch(err){console.error(\"Failed to update Current Number state\",err)}try{instance.publishState(\"current-index\",null!=currentSlideIndex?currentSlideIndex:null)}catch(err){console.error(\"Failed to update Current Index state\",err)}instance.triggerEvent(\"current-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addTargetSlideCallback(((targetSlideNumber,targetSlideIndex,targetSlideOffset)=>{if(instance.data.targetSlideNumber!=targetSlideNumber){instance.data.targetSlideNumber=targetSlideNumber;try{instance.publishState(\"target-number\",null!=targetSlideNumber?targetSlideNumber:null)}catch(err){console.error(\"Failed to update Target Number state\",err)}try{instance.publishState(\"target-index\",null!=targetSlideIndex?targetSlideIndex:null)}catch(err){console.error(\"Failed to update Target Index state\",err)}instance.triggerEvent(\"target-slide-changed\",(err=>{err&&console.error(err)}))}})),instance.data.control.addAnimationStartCallback((()=>{instance.publishState(\"busy\",!0)})),instance.data.control.addAnimationStopCallback((()=>{instance.publishState(\"busy\",!1)})),instance.data.control.addRenderCallback((()=>{const navigationRange=instance.data.control.navigationRange;if(instance.data.minimumSlideNumber!=navigationRange.minimumSlideNumber){instance.data.minimumSlideNumber=navigationRange.minimumSlideNumber;try{instance.publishState(\"minimum-slide-number\",isFinite(navigationRange.minimumSlideNumber)?navigationRange.minimumSlideNumber:navigationRange.minimumSlideNumber<0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.maximumSlideNumber!=navigationRange.maximumSlideNumber){instance.data.maximumSlideNumber=navigationRange.maximumSlideNumber;try{instance.publishState(\"maximum-slide-number\",isFinite(navigationRange.maximumSlideNumber)?navigationRange.maximumSlideNumber:navigationRange.maximumSlideNumber>0?Number.MIN_SAFE_INTEGER:null)}catch(err){console.error(err)}}if(instance.data.minimumSlideIndex!=navigationRange.minimumSlideIndex){instance.data.minimumSlideIndex=navigationRange.minimumSlideIndex;try{instance.publishState(\"minimum-slide-index\",navigationRange.minimumSlideIndex)}catch(err){console.error(err)}}if(instance.data.maximumSlideIndex!=navigationRange.maximumSlideIndex){instance.data.maximumSlideIndex=navigationRange.maximumSlideIndex;try{instance.publishState(\"maximum-slide-index\",navigationRange.maximumSlideIndex)}catch(err){console.error(err)}}if(instance.data.reportSlideVisibility){const layout=instance.data.control.currentSlidesLayout;if(layout){const visibility=layout.prevHiddenSlides.concat(layout.prevVisibleSlides).concat([layout.activeSlide]).concat(layout.nextVisibleSlides).concat(layout.nextHiddenSlides).filter((e=>e)).sort(((a,b)=>a.slideIndex-b.slideIndex)).map((e=>e.visibility));try{instance.publishState(\"slide-visibility\",visibility)}catch(err){console.error(err)}}}})),instance.data.lookup=function(){const containerId=instance.data.containerId,containerLookupScope=instance.data.containerLookupScope,control=instance.data.control;let element=null;if(containerId){if(\"CHILDREN\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\")));element=parent&&$(parent).find(\"#\"+containerId),element=element&&element.length?element[0]:null}else if(\"SIBLINGS\"===containerLookupScope){const parent=window.uiKit.findNode(instance.canvas&&instance.canvas.length&&instance.canvas[0],(p=>!p.classList.contains(\"bubble-r-line\")&&!p.classList.contains(\"bubble-r-box\"))),siblings=Array.from(parent&&parent.children||[]);for(let i=0;i<siblings.length;i++){const sibling=siblings[i];if(sibling.classList.contains(\"bubble-r-line\")){siblings.splice(i--,1);const children=sibling.children||[];for(let j=0;j<children.length;j++){const child=children[j];child.classList.contains(\"bubble-r-box\")&&siblings.splice(i+1,0,...Array.from(child.children||[]))}}}element=siblings&&siblings.find((e=>e.getAttribute(\"id\")===containerId))}else element=document.getElementById(containerId);element&&element.children&&element.children.length&&element.children[0].classList.contains(\"rows\")&&(element=element.children[0])}element!==control.element&&(control.element&&(control.element.classList.contains(\"rows\")?control.element.parentElement:control.element).classList.remove(\"pv5og3ed\"),element&&(element.classList.contains(\"rows\")?element.parentElement:element).classList.add(\"pv5og3ed\"),control.element=element),control.element||requestAnimationFrame(instance.data.lookup)},instance.publishState(\"component-id\",instance.data.control.componentId)}"},"update":{"fn":"function(instance,properties,context){const containerId=properties[\"container-id\"],containerLookupScope=properties[\"container-lookup-scope\"],orientation=properties.orientation,horizontalAlignment=properties[\"horizontal-alignment\"],verticalAlignment=properties[\"vertical-alignment\"],fitSlideWidth=properties[\"fit-slide-width\"],fitSlideHeight=properties[\"fit-slide-height\"],fitToContent=properties[\"fit-to-content\"],fitSmoothly=properties[\"fit-smoothly\"],stickyPositioning=properties[\"sticky-positioning\"],loop=properties.loop,startSlide=properties[\"start-slide\"],animationDuration=properties[\"animation-duration\"],paddingTop=properties[\"padding-top\"],paddingBottom=properties[\"padding-bottom\"],paddingLeft=properties[\"padding-left\"],paddingRight=properties[\"padding-right\"],reportSlideVisibility=properties[\"report-slide-visibility\"],enableMarkupClasses=properties[\"enable-markup-classes\"],disableOptimization=properties[\"disable-optimization\"],slideOnSwipe=properties[\"slide-on-swipe\"],swipeThreshold=properties[\"swipe-threshold\"],swipeWithDrag=properties[\"swipe-with-drag\"],slideOnTap=properties[\"slide-on-tap\"],forwardTapDirection=properties[\"forward-tap-direction\"],backwardTapDirection=properties[\"backward-tap-direction\"],slideOnClick=properties[\"slide-on-click\"],forwardClickDirection=properties[\"forward-click-direction\"],backwardClickDirection=properties[\"backward-click-direction\"],slideOnTouchDrag=properties[\"slide-on-touch-drag\"],touchDragSensitivity=properties[\"touch-drag-sensitivity\"],slideOnMouseDrag=properties[\"slide-on-mouse-drag\"],mouseDragSensitivity=properties[\"mouse-drag-sensitivity\"],slideOnFreeDrag=properties[\"slide-on-free-drag\"],dragInertion=properties[\"drag-inertion\"],slideOnWheel=properties[\"slide-on-wheel\"],blockWheelInAnimation=properties[\"block-wheel-in-animation\"],autoslideEnabled=properties[\"autoslide-enabled\"],autoslideDirection=properties[\"autoslide-direction\"],autoslideInterval=properties[\"autoslide-interval\"],autoslideDelay=properties[\"autoslide-delay\"],pauseOnHover=properties[\"pause-on-hover\"],disableOnTouchDevice=properties[\"disable-on-touch-device\"],slideWidth=properties[\"slide-width\"],slideHeight=properties[\"slide-height\"],slideCursor=properties[\"slide-cursor\"],slideClip=properties[\"slide-clip\"],lookup=containerId!=instance.data.containerId;instance.data.containerId=containerId,instance.data.containerLookupScope=containerLookupScope,instance.data.reportSlideVisibility=reportSlideVisibility,instance.data.control.orientation=\"HORIZONTAL\"===orientation?window.uiKit.Carousel.HORIZONTAL:\"VERTICAL\"===orientation?window.uiKit.Carousel.VERTICAL:null,instance.data.control.carousel=\"ENABLED\"===loop||\"DISABLED\"!==loop&&null,instance.data.control.maximumVisibleSlides=3,instance.data.control.startSlideNumber=startSlide,instance.data.control.startSlideOffset=0,instance.data.control.horizontalAlignment=\"LEFT\"===horizontalAlignment?window.uiKit.Carousel.LEFT:\"RIGHT\"===horizontalAlignment?window.uiKit.Carousel.RIGHT:window.uiKit.Carousel.CENTER,instance.data.control.verticalAlignment=\"TOP\"===verticalAlignment?window.uiKit.Carousel.TOP:\"BOTTOM\"===verticalAlignment?window.uiKit.Carousel.BOTTOM:window.uiKit.Carousel.CENTER,instance.data.control.flexibleAlignment=null,instance.data.control.fitSlideWidth=\"MAX CONTENT\"===fitSlideWidth?window.uiKit.Carousel.MAX_CONTENT:window.uiKit.Carousel.MIN_CONTENT,instance.data.control.fitSlideHeight=\"MIN CONTENT\"===fitSlideHeight?window.uiKit.Carousel.MIN_CONTENT:window.uiKit.Carousel.MAX_CONTENT,instance.data.control.fitViewportToContent=\"LARGEST\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST:\"SMALLEST\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST:\"LARGEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_SMOOTH:\"SMALLEST SMOOTH\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_SMOOTH:\"LARGEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_LARGEST_INSTANT:\"SMALLEST INSTANT\"===fitToContent?window.uiKit.Carousel.FIT_SMALLEST_INSTANT:window.uiKit.Carousel.FIT_NONE,instance.data.control.stickyPositioning=stickyPositioning,instance.data.control.animationBehavior=window.uiKit.Carousel.CONSTANT_DURATION,instance.data.control.animationDuration=animationDuration,instance.data.control.enableScaling=!1,instance.data.control.paddingTop=paddingTop,instance.data.control.paddingBottom=paddingBottom,instance.data.control.paddingLeft=paddingLeft,instance.data.control.paddingRight=paddingRight,instance.data.control.enableMarkupClasses=enableMarkupClasses,instance.data.control.disableOptimization=disableOptimization,instance.data.control.slideOnSwipe=slideOnSwipe,instance.data.control.swipeThreshold=swipeThreshold,instance.data.control.swipeWithDrag=swipeWithDrag,instance.data.control.slideOnTap=slideOnTap,instance.data.control.slideOnActiveTap=slideOnTap,instance.data.control.slideOnInactiveTap=slideOnTap,instance.data.control.forwardTapDirection=\"BACKWARD\"===forwardTapDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardTapDirection=\"FORWARD\"===backwardTapDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnClick=slideOnClick,instance.data.control.slideOnActiveClick=slideOnClick,instance.data.control.slideOnInactiveClick=slideOnClick,instance.data.control.forwardClickDirection=\"BACKWARD\"===forwardClickDirection?window.uiKit.Carousel.BACKWARD:window.uiKit.Carousel.FORWARD,instance.data.control.backwardClickDirection=\"FORWARD\"===backwardClickDirection?window.uiKit.Carousel.FORWARD:window.uiKit.Carousel.BACKWARD,instance.data.control.slideOnMouseDrag=slideOnMouseDrag,instance.data.control.mouseDragSensitivity=mouseDragSensitivity,instance.data.control.slideOnTouchDrag=slideOnTouchDrag,instance.data.control.touchDragSensitivity=touchDragSensitivity,instance.data.control.slideOnFreeDrag=slideOnFreeDrag,instance.data.control.dragInertion=dragInertion,instance.data.control.slideOnWheel=slideOnWheel,instance.data.control.blockWheelInAnimation=blockWheelInAnimation,instance.data.control.activeSlideWidth=slideWidth,instance.data.control.inactiveSlideWidth=slideWidth,instance.data.control.activeSlideHeight=slideHeight,instance.data.control.inactiveSlideHeight=slideHeight,instance.data.control.activeSlideCursor=slideCursor,instance.data.control.inactiveSlideCursor=slideCursor,instance.data.control.activeSlideClip=slideClip,instance.data.control.inactiveSlideClip=slideClip,instance.data.control.activeSlideGap=-1,instance.data.control.inactiveSlideGap=-1,instance.data.control.activeSlideGapRelativeTo=window.uiKit.Carousel.CURRENT_SELF,instance.data.control.inactiveSlideGapRelativeTo=window.uiKit.Carousel.CURRENT_SELF,instance.data.control.activeSlideOpacity=1,instance.data.control.takeoverSlideOpacity=.25,instance.data.control.inactiveSlideOpacity=0,instance.data.control.autoslideEnabled=window.uiKit.parseBoolean(autoslideEnabled,!1),instance.data.control.autoslideDelay=window.uiKit.parseNumber(autoslideDelay,0),instance.data.control.autoslideInterval=window.uiKit.parseNumber(autoslideInterval,0),instance.data.control.autoslideDirection=window.uiKit.parseEnum(autoslideDirection,{FORWARD:window.uiKit.Carousel.FORWARD,BACKWARD:window.uiKit.Carousel.BACKWARD},window.uiKit.Carousel.FORWARD),instance.data.control.pauseOnHover=window.uiKit.parseBoolean(pauseOnHover,!0),instance.data.control.disableOnTouchDevice=window.uiKit.parseBoolean(disableOnTouchDevice,!1),lookup?(instance.data.control.element=null,requestAnimationFrame(instance.data.lookup)):instance.data.control.update()}"},"reset":{"fn":"function(instance,context){}"}}}}};
window._bubble_page_load_data.plugins_size['1654446189329x654958326752215000'] = 179313;
window.preloaded['plugin/third_party:1654446189329x654958326752215000:1.17.11'] = 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"},"request_new_pw":{"id":"bTHwf","_path":"%p3.bTHxF"},"sign_up":{"id":"bTIpN","_path":"%p3.bTIpO"},"dashboard":{"id":"bTJAp","_path":"%p3.bTJAq"},"tos":{"id":"bTJDr","_path":"%p3.bTJDv"},"homepage_mobile":{"id":"bTKub","_path":"%p3.bTLCt"},"create":{"id":"bTLjD","_path":"%p3.bTLlv"},"decks":{"id":"bTLuv","_path":"%p3.bTLxj"},"deck":{"id":"bTMIo","_path":"%p3.bTMMG"},"dashboard_mobile":{"id":"bTMvP","_path":"%p3.bTNAT"},"create_mobile":{"id":"bTNVr","_path":"%p3.bTNZP"},"decks_mobile":{"id":"bTNZt","_path":"%p3.bTNcK"},"deck_mobile":{"id":"bTNdL","_path":"%p3.bTNgf"},"tos_mobile":{"id":"bTOTv","_path":"%p3.bTOVc"},"privacy_policy_mobile":{"id":"bTOYn","_path":"%p3.bTOaV"},"tokens_mobile":{"id":"bTPKI","_path":"%p3.bTPOz"},"404_mobile":{"id":"bTPrx","_path":"%p3.bTPtr"},"imprint":{"id":"bTQzN","_path":"%p3.bTRBS"},"onboarding":{"id":"bTSJx","_path":"%p3.bTSOu"},"opt_in":{"id":"bTSbL","_path":"%p3.bTSbl"},"z_migrate":{"id":"bTSqF","_path":"%p3.bTSqG"},"test":{"id":"bTWbT","_path":"%p3.bTWbU"},"index":{"id":"bTWbV","_path":"%p3.bTWmw"},"new_homepage_mobile":{"id":"bTXGt","_path":"%p3.bTXah"},"privacy_policy":{"id":"bTJnF0","_path":"%p3.bTJnG0"},"old_index":{"id":"bTKED0","_path":"%p3.bTKLk0"},"study":{"id":"bTMbp0","_path":"%p3.bTMgV0"},"tokens":{"id":"bTOwJ0","_path":"%p3.bTOzz0"},"google_redirect":{"id":"bTRWR0","_path":"%p3.bTRWS0"},"blog":{"id":"bTRjl0","_path":"%p3.bTRod0"},"articles":{"id":"bTRoe0","_path":"%p3.bTRqd0"},"article_page":{"id":"bTRqh0","_path":"%p3.bTRss0"},"new_landing":{"id":"bTVwH1","_path":"%p3.bTWFw1"},"custom_study":{"id":"bTWNV1","_path":"%p3.bTWTz1"}}
window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true;
window['bubble_run_derived']['{"function_name":"CustomByName","args":[]}'] = {"navbar":{"id":"bTJEn","_path":"%ed.bTJEr"},"nav_bar_left_desktop":{"id":"bTKRv","_path":"%ed.bTKRw"},"nav_bar_top_desktop":{"id":"bTKZV","_path":"%ed.bTKZW"},"navbar_mobile":{"id":"bTLCx","_path":"%ed.bTLDi"},"navigation items":{"id":"bTNCM","_path":"%ed.bTNCN"},"Invite + Log out":{"id":"bTNEt","_path":"%ed.bTNEu"},"Avatar Settings":{"id":"bTNFw","_path":"%ed.bTNFx"},"Settings Tabs":{"id":"bTNMn","_path":"%ed.bTNMx"},"nav_bar_top_mobile":{"id":"bTNSn","_path":"%ed.bTNSr"},"Feedback Popup Content":{"id":"bTNsr","_path":"%ed.bTNsv"},"Popup Feedback":{"id":"bTOPE","_path":"%ed.bTOPF"},"Popup Referral":{"id":"bTOhL","_path":"%ed.bTOie"},"Popup_referral_mob":{"id":"bTOkt","_path":"%ed.bTOlj"},"Token Packages":{"id":"bTRZq","_path":"%ed.bTRZr"},"set ref cookie":{"id":"bTSEx","_path":"%ed.bTSEy"},"create new folder dialog":{"id":"bTSux","_path":"%ed.bTSuy"},"Decks hierarchical":{"id":"bTThf","_path":"%ed.bTThg"},"Popup edit Deck name":{"id":"bTUSV","_path":"%ed.bTUSW"},"language chooser":{"id":"bTPZs1","_path":"%ed.bTPZt1"},"Popup Move Deck":{"id":"bTUdO1","_path":"%ed.bTUfA1"},"Spaced Repetition Popup":{"id":"bTUuf2","_path":"%ed.bTUvb2"},"Feedback Subscr":{"id":"bTVYd0","_path":"%ed.bTVZm0"},"Popup Custom Study Sess":{"id":"bTWXR1","_path":"%ed.bTWZE1"}}
window.preloaded['app/derived:{"function_name":"CustomByName","args":[]}'] = true;
window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = ["google-google","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":[]}'] = ["google"]
window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true;
window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"affiliate_codes":[{"name":"2nd_discount_boolean","value":"boolean","display":"2nd Discount","default_val":false,"deleted":null},{"name":"code_text","value":"text","display":"Code","deleted":null}],"articles":[{"name":"body_text_de_text","value":"text","display":"Body text DE","deleted":null},{"name":"body_text_text","value":"text","display":"Body text","deleted":null},{"name":"category_de_list_option_category_de","value":"list.option.category_de","display":"category DE - deleted","deleted":true},{"name":"category_de_option_category_de","value":"option.category_de","display":"category DE - deleted","deleted":true},{"name":"category_list_option_category","value":"list.option.category","display":"category","deleted":null},{"name":"excerpt_text","value":"text","display":"Short Description ","deleted":null},{"name":"main_picture_image","value":"image","display":"Main Picture","deleted":null},{"name":"short_description_de_text","value":"text","display":"Short Description DE","deleted":null},{"name":"tags__list_custom_tags","value":"list.custom.tags","display":"Tags ","deleted":null},{"name":"title_de_text","value":"text","display":"Title DE","deleted":null},{"name":"title_text","value":"text","display":"Title","deleted":null}],"articles_en":[{"name":"body_text_text","value":"text","display":"Body text","deleted":null},{"name":"category_list_option_category","value":"list.option.category","display":"category","deleted":null},{"name":"excerpt_text","value":"text","display":"Short Description ","deleted":null},{"name":"main_picture_image","value":"image","display":"Main Picture","deleted":null},{"name":"tags__list_custom_tags","value":"list.custom.tags","display":"Tags ","deleted":null},{"name":"title_text","value":"text","display":"Title","deleted":null}],"card1":[{"name":"answer_text","value":"text","display":"Answer","deleted":null},{"name":"custom_nextpractice_date","value":"date","display":"custom NextPractice","deleted":null},{"name":"deck_custom_deck1","value":"custom.deck1","display":"Deck","deleted":null},{"name":"deleted_date_date","value":"date","display":"Deleted Date","deleted":null},{"name":"easiness_number","value":"number","display":"Easiness","default_val":2.5,"deleted":null},{"name":"interval_number","value":"number","display":"Interval","deleted":null},{"name":"learning_step_number","value":"number","display":"Learning Step","default_val":0,"deleted":null},{"name":"nextpractice_date","value":"date","display":"NextPractice","deleted":null},{"name":"order_number","value":"number","display":"Order","deleted":null},{"name":"question_text","value":"text","display":"Question","default_val":"","deleted":null},{"name":"repetitions_number","value":"number","display":"Repetitions","default_val":0,"deleted":null},{"name":"type_text","value":"text","display":"Type","default_val":"New","deleted":null}],"conversions":[{"name":"buy_klicks_number","value":"number","display":"Buy-Klicks","deleted":null}],"country":[{"name":"alpha_two_code_text","value":"text","display":"Alpha Two Code","deleted":null},{"name":"name_de_text","value":"text","display":"Name DE","deleted":null},{"name":"name_en_text","value":"text","display":"Name EN","deleted":null}],"deck1":[{"name":"deck_name_text","value":"text","display":"Name","deleted":null},{"name":"deleted_date_date","value":"date","display":"Deleted Date","deleted":null},{"name":"failed_generating_boolean","value":"boolean","display":"Failed Generating","default_val":false,"deleted":null},{"name":"failed_generating_pages_text","value":"text","display":"Failed Generating Pages","deleted":null},{"name":"file_file","value":"file","display":"file","deleted":null},{"name":"finished_generating_boolean","value":"boolean","display":"Finished Generating","default_val":false,"deleted":null},{"name":"level_number","value":"number","display":"Level","deleted":null},{"name":"order_number","value":"number","display":"Order - deleted","default_val":0,"deleted":true},{"name":"original_tokens_number","value":"number","display":"Original Tokens","deleted":null},{"name":"parent_deck_custom_deck1","value":"custom.deck1","display":"Parent Deck","deleted":null},{"name":"progress_number","value":"number","display":"Progress","default_val":0,"deleted":null},{"name":"token_refund_number","value":"number","display":"Token Refund","deleted":null},{"name":"tokens_number","value":"number","display":"tokens","deleted":null}],"feedback":[{"name":"flashcard_quality_number","value":"number","display":"Flashcard_Quality","deleted":null},{"name":"general_feedback_text","value":"text","display":"General_feedback","deleted":null},{"name":"improvement_text","value":"text","display":"Improvement - deleted","deleted":true},{"name":"studytool_satisfaction_number","value":"number","display":"Studytool_satisfaction - deleted","deleted":true},{"name":"title_text","value":"text","display":"Title","deleted":null},{"name":"ui_number","value":"number","display":"UI - deleted","deleted":true},{"name":"willingness_to_pay_text","value":"text","display":"Willingness_to_pay - deleted","deleted":true}],"nestedtestobject":[{"name":"level_number","value":"number","display":"Level","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"order_number","value":"number","display":"Order","deleted":null},{"name":"parent_custom_nestedtestobject","value":"custom.nestedtestobject","display":"Parent","deleted":null}],"purchases":[{"name":"affilliate_code_custom_affiliate_codes","value":"custom.affiliate_codes","display":"Affilliate Code","deleted":null},{"name":"buyer_user","value":"user","display":"Buyer","deleted":null},{"name":"credit_through_system_boolean","value":"boolean","display":"Credit through System","default_val":false,"deleted":null},{"name":"currency_text","value":"text","display":"Currency","deleted":null},{"name":"price_number","value":"number","display":"Price","deleted":null},{"name":"referral_code_user_user","value":"user","display":"Referral Code User","deleted":null},{"name":"referral_purchase_custom_purchases","value":"custom.purchases","display":"From Referral Purchase","deleted":null},{"name":"stripe_id_text","value":"text","display":"Stripe ID","deleted":null},{"name":"tokens_number","value":"number","display":"Tokens","deleted":null}],"subscription_feedback":[{"name":"subscription_option_yes_no","value":"option.yes_no","display":"Subscription","deleted":null}],"tags":[{"name":"article_list_custom_articles","value":"list.custom.articles","display":"Article","deleted":null},{"name":"name_tags_text","value":"text","display":"Name Tags","deleted":null}],"university":[{"name":"name_text","value":"text","display":"Name","deleted":null}],"user":[{"name":"accepted_tos_and_pp_boolean","value":"boolean","display":"Accepted TOS and PP","default_val":false,"deleted":null},{"name":"birthday_date","value":"date","display":"Birthday","deleted":null},{"name":"country_text","value":"text","display":"Country","deleted":null},{"name":"currency_text","value":"text","display":"Currency","default_val":"CHF","deleted":null},{"name":"degree_level_text","value":"text","display":"Degree Level","deleted":null},{"name":"feedback_shown_boolean","value":"boolean","display":"First Feedback Shown","default_val":false,"deleted":null},{"name":"how_come_text","value":"text","display":"How come","deleted":null},{"name":"language_text","value":"text","display":"language","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"newsletter_opt_in_boolean","value":"boolean","display":"Newsletter Opt-in","default_val":false,"deleted":null},{"name":"our_stripe_customer_id_text","value":"text","display":"Our Stripe Customer ID","deleted":null},{"name":"ready_to_display_beta_feedback_boolean","value":"boolean","display":"Ready to display Beta Feedback","default_val":false,"deleted":null},{"name":"referee_code_text","value":"text","display":"Applied Code","deleted":null},{"name":"referral_code_text","value":"text","display":"Referral Code","deleted":null},{"name":"start_of_studies_text","value":"text","display":"Start of Studies","deleted":null},{"name":"subject_of_studies_text","value":"text","display":"Subject of Studies","deleted":null},{"name":"subscription_feedback_option_yes_no","value":"option.yes_no","display":"Subscription Preference","deleted":null},{"name":"subscription_feedback_text","value":"text","display":"Subscription Feedback","deleted":null},{"name":"super_user_boolean","value":"boolean","display":"Super User","default_val":false,"deleted":null},{"name":"trial_boolean","value":"boolean","display":"Trial","default_val":false,"deleted":null},{"name":"understood_spaced_repetition_boolean","value":"boolean","display":"understood spaced repetition","default_val":false,"deleted":null},{"name":"uni_text","value":"text","display":"Uni","deleted":null},{"name":"university_text","value":"text","display":"University - deleted","deleted":true}]}
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');