1 2 if (!window._bubble_page_load_data) { 3 window._bubble_page_load_data = {} 4 } 5 if (!window._bubble_page_load_data.js_execution_timings) { 6 window._bubble_page_load_data.js_execution_timings = {} 7 } 8 window._bubble_page_load_data.js_execution_timings.static_js_start_execution = Date.now(); 9window.preloaded = window.preloaded || {}; 10 11window.preloaded['app/page_metadata:login_mush'] = true; 12/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 13// BUBBLE PATCH NOTES - offset() changed below, see comment 14"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.no
14deName&&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={}
14,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(){ 15 var e=this[0]; 16 // BUBBLE PATCH NOTES - offset() changed below, see comment in non-minified 17 if (!e) return {left:0, top:0}; 18 return(!e||e.nodeType&&e.getBoundingClientRect) 19 ?I.apply(this,arguments) 20 :(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length 21 ?this 22 :({left:0,top:0}))},"offset-valid-elem" 23),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}); 24 25window.preloaded['js/vendor:jquery-migrate-3.4.1.min.js'] = true; 26 27window.bubble_version = 22; 28window.preloaded['app/metadata:bubble_version'] = true; 29window._bubble_page_load_data.hardcoded_plugins = window._bubble_page_load_data.hardcoded_plugins || {}; 30window._bubble_page_load_data.hardcoded_plugins['chartjs'] = true; 31window.__code__ = window.__code__ || {}; 32if(!window.__code__['57ad5e238c8edcfecc06220f043d627d376e0fc008338c081d27ea30969c3c9a']){window.__code__['57ad5e238c8edcfecc06220f043d627d376e0fc008338c081d27ea30969c3c9a']=1; 33 34"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={exp
vendor: 5,994 bytes, line 34
34orts:{}}).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{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>
vendor: 23,595 bytes, line 34
34K_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);
vendor: 3,223 bytes, line 34
34)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;
vendor: 5,180 bytes, line 34
34if(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{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{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{try{return cachedSetTimeout.call(null,fun,0)}catch{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{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
34var 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&¤tQueue[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{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-uncurr
34y-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)}
34:$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{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{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(S
34HARED,{});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
34=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{}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&¤t[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)}
34:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}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}}});
34var 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=uncurr
34yThis([].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{}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{}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","toLocaleStr
34ing","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_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});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_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_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_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
34(),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{}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_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_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});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_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_esnext_iterator_filter=__commonJS({"node_modules/core-js/modules/esnext.iterator.filter.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IS_PURE=require_is_pure(),IteratorProxy=createIteratorProxy(function(){for(var iterator=this.iterator,predicate=this.predicate,next=this.next,result,done,value;;){if(result=anObject(call(next,iterator)),done=this.done=!!result.done,done)return;if(value=result.value,callWithSafeIterationClosing(iterator,predicate,[value,this.counter++],!0))return value}});$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var u,base_safe_require,legacy_keys,safe_require,init_window_register=__esm({"lib-browser/window_register.js"(){"use strict";init_define_process_env();init_shim();u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};
34safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register}}});var chartjs_LineBarChart_exports={};__export(chartjs_LineBarChart_exports,{additional_data:()=>additional_data,property_applications:()=>chart_property_applications});var property_applications,chart_property_applications,additional_data,init_chartjs_LineBarChart=__esm({"lib-browser/optional/services/legacy/responsive_v0/chartjs_LineBarChart.js"(){"use strict";init_define_process_env();init_shim();init_window_register();property_applications=safe_require.safe_require("./core/property_applications"),chart_property_applications=[new property_applications.MinWidth],additional_data={notify_width(instance,width){if(instance.get_static_property("keep_proportion_resize")){let height=width/instance.element.get_width()*instance.element.get_height();instance.set_height(height)}}}}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_filter=__toESM(require_esnext_iterator_filter());init_window_register();var external=safe_require.safe_require("./external"),btype_ids=safe_require.safe_require("./lang/btype_ids"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),lang=safe_require.safe_require("./lang/lang"),numeric_format_utilities=safe_require.safe_require("./core/core_btypes/utilities/numeric_format_utilities"),btypes=safe_require.safe_require("./lang/btypes"),shared_fields=safe_require.safe_require("./core/shared_fields"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),node_eval=safe_require.safe_require("@bubblegroup/evaluation/engine/node_eval"),{default_eval_host}=safe_require.safe_require("./lang/default_eval_host"),color_tokens=safe_require.safe_require("./lang/color_tokens"),page_state=safe_require.safe_require("@bubblegroup/evaluation/engine/page_state"),currency_consts=safe_require.safe_require("./constants/currency"),_chartjs_loaded=!1,Chart=null,shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));function load_chartjs(){_chartjs_loaded||(_chartjs_loaded=!0,Chart=safe_require.safe_require("./optional/chart"))}var property_applications2=safe_require.safe_require("./core/property_applications"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("chartjs-LineBarChart",(init_chartjs_LineBarChart(),__toCommonJS(chartjs_LineBarChart_exports)));function plugin_version(){return Lib()?appquery.get_public_setting("chartjs_installed_version")??0:1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("chartjs_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{LineBarChart:{display:"Line/Bar Chart",category:"visual elements",icon:"ion-stats-bars",condition(root){return!root?.is_mobile?.()},defaults:{width:590,height:370,collapse_margin:500},field_names:u.extend({chart_type:{default:"Line",no_states:!0},data_points_type:{no_states:!0},data_source:{},y_value_expression:{no_states:!0},label_expression:{no_states:!0},series1_color:{default:"rgba(151,187,205,1)",no_states:!0,in_style:!0},series1_fillColor:{default:"rgba(151,187,205,0.2)",no_states:!0,in_style:!0},showScale:{default:!0,no_states:!0,in_style:!0},scaleLineColor:{default:"rgba(0,0,0,.1)",no_states:!0,in_style:!0},scaleFontColor:{default:"#666",no_states:!0,in_style:!0},scaleShowGridLines:{default:!0,no_states:!0,in_style:!0},scaleGridLineColor:{default:"rgba(0,0,0,.05)",no_states:!0,in_style:!0},showTooltips:{default:!0,no_states:!0},customize_tooltips:{default:!1,no_states:!0},hide_label_tooltips:{default:!1,no_states:!0},bezierCurve:{default:!0,no_states:!0},animateRotate:{default:!0,no_states:!0},datasetFill:{default:!0,no_states:!0},keep_proportion_resize:{no_states:!0}},numeric_format_utilities.format_number_names),property_applications:[new property_applications2.Dimensions,new property_applications2.Backgroun
34d,new property_applications2.Border,new property_applications2.Padding,new property_applications2.BoxShadow,new property_applications2.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},can_fix_aspect_ratio(){return!0},get_min_width(){return 0},get_html(instance){return"<div></div>"},initialize(instance){let canvas=instance.get_canvas();load_chartjs();let chart_drawn_once=!1,myChartInstance=null,data_point_context={element:instance,datasources:{...page_state.get_basic_datasources(default_eval_host,instance.element.root()),injected_value_btype:()=>this.get_injected_btype(instance.element)}};element_eval.pre_cache(instance,["height","width","padding_vertical","padding_horizontal","showScale","scaleLineColor","showTooltips","bezierCurve","datasetFill","scaleShowGridLines","scaleGridLineColor","scaleFontColor","animateRotate"]),instance.autorun(()=>{if(!instance.is_visible())return;let ratio=instance.get_static_property("aspect_ratio_height")/instance.get_static_property("aspect_ratio_width"),h=(instance.element.root()?.get_responsive_version()>0&&uses_css_responsive()&&instance.element.has_fixed_aspect_ratio()?element_eval.evaluate_property(instance,"width")*ratio:element_eval.evaluate_property(instance,"height"))-property_applications2.calculate_border_height(instance)-2*element_eval.evaluate_property(instance,"padding_vertical"),w=element_eval.evaluate_property(instance,"width")-property_applications2.calculate_border_width(instance)-2*element_eval.evaluate_property(instance,"padding_horizontal"),chart_type=instance.get_static_property("chart_type"),props={};for(let prop of["showScale","showTooltips","bezierCurve","datasetFill","scaleShowGridLines","animateRotate"])props[prop]=element_eval.evaluate_property(instance,prop);for(let prop of["scaleLineColor","scaleGridLineColor","scaleFontColor"])props[prop]=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,prop));props.pointLabelFontColor=props.scaleFontColor,canvas.empty();let chart_canvas=$('<canvas id="myChart" width="'+w+'" height = "'+h+'"></canvas>');canvas.append(chart_canvas);let ctx=chart_canvas[0].getContext("2d"),myChart=new Chart(ctx),series1_color=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,"series1_color")),series1_fill_color=color_tokens.color_property_to_rgba(element_eval.evaluate_property(instance,"series1_fillColor")),data;if(Lib().is_edit_mode())props.animation=!1,props.showTooltips=!1,["Line","Bar","Radar"].includes(chart_type)?data={labels:["January","February","March","April","May","June","July"],datasets:[{label:"Dataset 1",fillColor:series1_fill_color,strokeColor:series1_color,pointColor:series1_color,pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:series1_color,data:[65,59,80,81,56,55,40]}]}:["Pie","Doughnut"].includes(chart_type)&&(data=[{value:300,color:"#F7464A",highlight:"#FF5A5E",label:"Red"},{value:50,color:"#46BFBD",highlight:"#5AD3D1",label:"Green"},{value:100,color:"#FDB45C",highlight:"#FFC870",label:"Yellow"}]);else{let data_points_list=element_eval.evaluate_property(instance,"data_source")??null,data_points=[],list=data_points_list?.all?.()??[];if(list.length===0)return;for(let raw_data_point of list){data_point_context.datasources.injected_value=()=>raw_data_point;for(let name of["y_value_expression","label_expression"])try{node_eval.eval_property(instance.element,name,data_point_context,default_eval_host)}catch{}}for(let raw_data_point of list)data_point_context.datasources.injected_value=()=>raw_data_point,data_points.push({value:node_eval.eval_property(instance.element,"y_value_expression",data_point_context,default_eval_host)??0,label:node_eval.eval_property(instance.element,"label_expression",data_point_context,default_eval_host)});if(["Line","Bar","Radar"].includes(chart_type))data={labels:data_points.map(a=>a.label),datasets:[{label:"Dataset 1",fillColor:series1_fill_color,strokeColor:series1_color,pointColor:series1_color,pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:series1_color,data:data_points.map(a=>a.value)}]};else if(["Pie","Doughnut"].includes(chart_type)){let color_list=["#F7464A","#46BFBD","#FDB45C","#F8F65F","#BA8FF7","#46F776","#7FF7F7","#9830F7"],color_index=0;data=[];for(let a of data_points)data.push({value:a.value,label:a.label,color:color_list[color_index]}
34),color_index++,color_index>color_list.length-1&&(color_index=0)}if(chart_drawn_once?props.animation=!1:(props.animation=!0,chart_drawn_once=!0),instance.get_static_property("showTooltips")&&instance.get_static_property("customize_tooltips")){let format_data={};for(let k in numeric_format_utilities.format_number_names)format_data[k]=element_eval.evaluate_property(instance,k);let format_fn=btypes.get("number").get_message("format_number").evaluate,fn_name="chart_format_fn_"+instance.element_id();window[fn_name]=val=>format_fn(val,void 0,format_data),instance.get_static_property("hide_label_tooltips")?props.tooltipTemplate="<%= window."+fn_name+"(value) %>":props.tooltipTemplate="<%if (label){%><%=label%>: <%}%><%= window."+fn_name+"(value) %>"}}if(["Line","Bar"].includes(chart_type)){props.scaleBeginAtZero=!0;for(let datapoint of data.datasets?.[0]?.data??[])datapoint<0&&(props.scaleBeginAtZero=!1)}myChartInstance=myChart[chart_type](data,props)}),instance.on_destroy(()=>myChartInstance?.destroy())},get_injected_btype(element){return element.get_static_property("data_points_type")},get_injected_display(){return"Current point"},use_injected_datasource(node,element){return node.path().indexOf(element.property("y_value_expression").path())===0||node.path().indexOf(element.property("label_expression").path())===0},change_cursor_style_if_clickable:!0,add_an_invisible_div_on_the_top:!0,is_input:!1,contains_group_data:!1,get_states(element){return[]},get_state_value(element,name){},jquery_plugins(){return["jquery_plugins/chart"]}}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},chartjs={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.chartjs=chartjs);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("chartjs",chartjs);})(); 35/*! Bundled license information: 36 37buffer/index.js: 38 (*! 39 * The buffer module from node.js, for the browser. 40 * 41 * @author Feross Aboukhadijeh <https://feross.org> 42 * @license MIT 43 *) 44*/ 45 46} 47 48 49window.preloaded['plugin/first_party:chartjs'] = true; 50window._bubble_page_load_data.hardcoded_plugins['select2'] = true; 51window.__code__ = window.__code__ || {}; 52if(!window.__code__['72cfda4646fc75796175600b74cb4f4b4a2df064438392d2a6ac4f61e51d8d36']){window.__code__['72cfda4646fc75796175600b74cb4f4b4a2df064438392d2a6ac4f61e51d8d36']=1; 53 54"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);
vendor: 28,123 bytes, line 54
54var 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{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);
vendor: 3,223 bytes, line 54
54)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;
vendor: 5,180 bytes, line 54
54if(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{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{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{try{return cachedSetTimeout.call(null,fun,0)}catch{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{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
54var 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&¤tQueue[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{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-uncurr
54y-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)}
54:$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{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{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(S
54HARED,{});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
54=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{}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&¤t[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)}
54:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}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}}});
54var 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=uncurr
54yThis([].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{}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{}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","toLocaleStr
54ing","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_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});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_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_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_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
54(),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{}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_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_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});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_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_esnext_iterator_filter=__commonJS({"node_modules/core-js/modules/esnext.iterator.filter.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IS_PURE=require_is_pure(),IteratorProxy=createIteratorProxy(function(){for(var iterator=this.iterator,predicate=this.predicate,next=this.next,result,done,value;;){if(result=anObject(call(next,iterator)),done=this.done=!!result.done,done)return;if(value=result.value,callWithSafeIterationClosing(iterator,predicate,[value,this.counter++],!0))return value}});$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
54y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===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{}};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_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
54){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});var require_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IteratorProxy=createIteratorProxy(function(){var iterator=this.iterator,result=anObject(call(this.next,iterator)),done=this.done=!!result.done;if(!done)return callWithSafeIterationClosing(iterator,this.mapper,[result.value,this.counter++],!0)});module.exports=function(mapper){return anObject(this),aCallable(mapper),new IteratorProxy(getIteratorDirect(this),{mapper})}}});var require_esnext_iterator_map=__commonJS({"node_modules/core-js/modules/esnext.iterator.map.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var u,base_safe_require,legacy_keys,safe_require,init_window_register=__esm({"lib-browser/window_register.js"(){"use strict";init_define_process_env();init_shim();u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register}}});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_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_validate_arguments_length=__commonJS({"node_modules/core-js/internals/validate-arguments-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var $TypeError=TypeError;module.exports=function(passed,required){if(passed<required)throw new $TypeError("Not enough arguments");return passed}}});var require_engine_is_ios=__commonJS({"node_modules/core-js/internals/engine-is-ios.js"(exports,module){"use strict";init_define_process_env();init_shim();var userAgent=require_engine_user_agent();
54module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)}});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_task=__commonJS({"node_modules/core-js/internals/task.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),apply=require_function_apply(),bind=require_function_bind_context(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),fails=require_fails(),html=require_html(),arraySlice=require_array_slice(),createElement=require_document_create_element(),validateArgumentsLength=require_validate_arguments_length(),IS_IOS=require_engine_is_ios(),IS_NODE=require_engine_is_node(),set=global.setImmediate,clear=global.clearImmediate,process2=global.process,Dispatch=global.Dispatch,Function2=global.Function,MessageChannel=global.Me
54ssageChannel,String2=global.String,counter=0,queue={},ONREADYSTATECHANGE="onreadystatechange",$location,defer,channel,port;fails(function(){$location=global.location});var run=function(id){if(hasOwn(queue,id)){var fn=queue[id];delete queue[id],fn()}},runner=function(id){return function(){run(id)}},eventListener=function(event){run(event.data)},globalPostMessageDefer=function(id){global.postMessage(String2(id),$location.protocol+"//"+$location.host)};(!set||!clear)&&(set=function(handler){validateArgumentsLength(arguments.length,1);var fn=isCallable(handler)?handler:Function2(handler),args=arraySlice(arguments,1);return queue[++counter]=function(){apply(fn,void 0,args)},defer(counter),counter},clear=function(id){delete queue[id]},IS_NODE?defer=function(id){process2.nextTick(runner(id))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(runner(id))}:MessageChannel&&!IS_IOS?(channel=new MessageChannel,port=channel.port2,channel.port1.onmessage=eventListener,defer=bind(port.postMessage,port)):global.addEventListener&&isCallable(global.postMessage)&&!global.importScripts&&$location&&$location.protocol!=="file:"&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global.addEventListener("message",eventListener,!1)):ONREADYSTATECHANGE in createElement("script")?defer=function(id){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(id)}}:defer=function(id){setTimeout(runner(id),0)});module.exports={set,clear}}});var require_web_clear_immediate=__commonJS({"node_modules/core-js/modules/web.clear-immediate.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),clearImmediate=require_task().clear;$2({global:!0,bind:!0,enumerable:!0,forced:global.clearImmediate!==clearImmediate},{clearImmediate})}});var require_engine_is_bun=__commonJS({"node_modules/core-js/internals/engine-is-bun.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"}});var require_schedulers_fix=__commonJS({"node_modules/core-js/internals/schedulers-fix.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),apply=require_function_apply(),isCallable=require_is_callable(),ENGINE_IS_BUN=require_engine_is_bun(),USER_AGENT=require_engine_user_agent(),arraySlice=require_array_slice(),validateArgumentsLength=require_validate_arguments_length(),Function2=global.Function,WRAP=/MSIE .\./.test(USER_AGENT)||ENGINE_IS_BUN&&function(){var version=global.Bun.version.split(".");return version.length<3||version[0]==="0"&&(version[1]<3||version[1]==="3"&&version[2]==="0")}();module.exports=function(scheduler,hasTimeArg){var firstParamIndex=hasTimeArg?2:1;return WRAP?function(handler,timeout){var boundArgs=validateArgumentsLength(arguments.length,1)>firstParamIndex,fn=isCallable(handler)?handler:Function2(handler),params=boundArgs?arraySlice(arguments,firstParamIndex):[],callback=boundArgs?function(){apply(fn,this,params)}:fn;return hasTimeArg?scheduler(callback,timeout):scheduler(callback)}:scheduler}}});var require_web_set_immediate=__commonJS({"node_modules/core-js/modules/web.set-immediate.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),setTask=require_task().set,schedulersFix=require_schedulers_fix(),setImmediate2=global.setImmediate?schedulersFix(setTask,!1):setTask;$2({global:!0,bind:!0,enumerable:!0,forced:global.setImmediate!==setImmediate2},{setImmediate:setImmediate2})}});var require_web_immediate=__commonJS({"node_modules/core-js/modules/web.immediate.js"(){"use strict";init_define_process_env();init_shim();require_web_clear_immediate();require_web_set_immediate()}});var select2_MultiDropdown_exports={};__export(select2_MultiDropdown_exports,{additional_data:()=>additional_data,initialize:()=>initialize,property_applications:()=>property_applications_internal});function get_translation(key){return Lib().get_text("select2",key)}function initialize(instance){let canvas=instance.get_canvas(),div=$('<select class="inner-dropdown select2-hidden-accessible"></select>');canvas.append(div),div.attr("multiple","multiple"),div.css({width:"100%",height:"100%"});let current_displayed_value=null;function select_value(val){let select_raw_values=[];for(let v of val?.all?.()??val??[])select_raw_values.push(hydrate.dehydrate_tree_to_string_safe(v));div.val(select_raw_values).trigger("change",{source:"triggered_js"})}function restyle_tags(data){property_applications.apply_css_style(canvas.find(".select2-selection__choice"),{color:data.tag_font_color,"background-color":data.tag_bgcolor,"border-radius":`${data.tag_border_roundness}px`,"border-color":data.tag_border_color,"border-width":`${data.tag_border_width}px`,"border-style":"solid",padding:"3px 5px 3px 5px"}),property_applications.apply_css_style(canvas.find(".select2-selection__choice__remove"),{color:data.tag_delete_color})}let list_defined=b_async.MakeSwitch(void 0,"select2_list"),get_choice_list;if(instance.run_mode()){let recalculate_height2=function(){let items=canvas.find(".select2-selection__rendered");if(items.length){let inner_height=parseInt(items.css("height").replace("px",""))+5,padding_top=parseInt(canvas[0].style["padding-top"]);isNaN(padding_top)||(inner_height+=padding_top*2);let min_height=instance.element.get_height();instance.set_height(Math.max(min_height,inner_height)),instance.state("should_recalc",!1)}};var recalculate_height=recalculate_height2;canvas.css("overflow","visible"),element_eval.on_property_change(instance,"disabled",value=>div.prop("disabled",value??!1)),get_choice_list=()=>{let raw_choices=this._get_raw_choice_list(instance),get_display=v=>this._get_display_option(instance)(v)?.trim(),already_listed_captions=[],raw_choice_list=raw_choices.get_children(0,MAX_DROPDOWN);autorun.run_once(30,()=>raw_choice_list.map(raw_choice=>get_display(raw_choice)));let choice_list=[];for(let v of raw_choice_list)choice_list.push({text:get_display(v),id:hydrate.dehydrate_tree_to_string_safe(v)}
54),already_listed_captions.push(get_display(v));if((instance.get_static_property("dynamic_type")==="text"||instance.get_static_property("choices_style")!=="dynamic")&&instance.get_static_property("enable_tagging"))for(let a of current_displayed_value??[])already_listed_captions.includes(a.trim())||choice_list.push({text:a,id:a});return choice_list};let bad_value_watcher=autorun.Watcher(()=>{if(!instance.state("has_been_changed"))return!1;let val=instance.state("value"),items=val?.all?.()??val;if(!items?.length||this._tagging_enabled(instance))return!1;for(let v of items)if(!this._choice_list_contains(instance,v))return!0;return!1});instance.on_destroy(()=>{bad_value_watcher.destroy()}),bad_value_watcher.on_value(is_bad=>{is_bad&&instance.message("reset_input")});let run_mode_tag_styling=()=>autorun.run_once(30,()=>{let props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color"])props[prop]=element_eval.evaluate_property(instance,prop);return props},(err,data)=>{if(err){logger.log(err);return}instance.setTimeout(()=>{restyle_tags(data)},1)});autorun.autorun(()=>{instance.is_visible()&&(instance.state("notify_width"),instance.state("value"),instance.state("should_recalc"),setImmediate(recalculate_height2))}),element_utils.register_tab_index_listener(instance,num=>{div.attr("tabindex",num)});let retrieve_properties=instance2=>({font_face:element_props.get_font_face(instance2),font_size:element_eval.evaluate_property(instance2,"font_size"),border_radius:element_eval.evaluate_property(instance2,"border_roundness"),border_width:element_eval.evaluate_property(instance2,"border_width"),border_color:element_eval.evaluate_property(instance2,"border_color"),background_style:element_eval.evaluate_property(instance2,"background_style"),background_color:element_eval.evaluate_property(instance2,"bgcolor")}),set_property_styles=data=>{property_applications.apply_css_style($(".select2-dropdown"),{"font-family":webfonts.get_face_and_variant(data.font_face).font_family,"font-size":data.font_size+"px","border-radius":data.border_radius+"px","border-width":data.border_width+"px","border-color":"#aaa","background-color":data.background_style==="bgcolor"?data.background_color??"white":"transparent"}),property_applications.apply_css_style($(".select2-container.select2-container--open .select2-dropdown--below"),{left:"-"+data.border_width+"px",top:"-"+data.border_width+"px"})};instance.wait_for_visible_lite(()=>{div.change((e,data)=>{let new_val=div.val();if(current_displayed_value=new_val,run_mode_tag_styling(),instance.state("should_recalc",!0),data?.source==="triggered_js")return;let res=[];for(let v of new_val??[])res.push(dropdowns.rehydrate_dropdown_value(v));instance.message("user_submit",res)});let _last_val=null;inputs.input_change_autorun(instance,val=>{_last_val=val,b_async.WaitFor(list_defined,()=>select_value(_last_val))}),instance.on_message("set_focus",()=>canvas.find("input").focus());let interval=null;div.on("select2:open",()=>{instance.state("is_focused",!0),instance.run_mode()?instance.setTimeout(()=>{autorun.run_once(30,()=>retrieve_properties(instance),(err,data)=>{if(err){logger.log(err);return}run_mode_tag_styling();let search_input=canvas.find(".select2-search__field");search_input.off("keydown.styling keyup.styling keypress.styling"),search_input.on("keydown.styling keyup.styling keypress.styling",()=>run_mode_tag_styling()),interval=instance.setInterval(()=>run_mode_tag_styling(),5),set_property_styles(data)})},1):autorun.run_once(30,()=>{retrieve_properties(instance)},(err,data)=>{if(err){logger.log(err);return}set_property_styles(data)})}),div.on("select2:close",()=>{run_mode_tag_styling(),instance.clearInterval(interval),canvas.find("input").is(":focus")||instance.state("is_focused",!1)}),$(document).on("click",evt=>{$.contains(canvas[0],evt.target)||instance.state("is_focused",!1)})})}else current_displayed_value=["tag1"];let is_dropdown_focused=autorun.Box(!1);div.on("focus",()=>is_dropdown_focused(!0)),div.on("blur",()=>is_dropdown_focused(!1));let succesfully_updated_once=autorun.Box(!1);element_eval.pre_cache(instance,["height","placeholder"]),instance.autorun(()=>
54{if(instance.is_visible()&&(!succesfully_updated_once()||!is_dropdown_focused())){list_defined.turn_off(),succesfully_updated_once(!0);let props={};for(let prop of["height","placeholder"])props[prop]=element_eval.evaluate_property(instance,prop);let choices=instance.run_mode()?get_choice_list():[{id:"tag1",text:"Tag 1"}],options={placeholder:props.placeholder,data:choices,maximumSelectionLength:instance.get_static_property("limit_selection"),dir:languages.is_rtl(Lib().app_language())&&"rtl",language:{errorLoading(){return get_translation("ERROR_LOADING")},inputTooLong(){return get_translation("INPUT_TOO_LONG")},inputTooShort(){return get_translation("INPUT_TOO_SHORT")},loadingMore(){return get_translation("LOADING_MORE")},maximumSelected(){return get_translation("MAXIMUM_SELECTED")},noResults(){return get_translation("NO_RESULTS")},searching(){return get_translation("SEARCHING")},removeAllItems(){return get_translation("REMOVE_ALL_ITEMS")}}};this._tagging_enabled(instance)&&(options.tags=!0,options.tokenSeparators=[","],instance.get_static_property("tags_with_spaces")||options.tokenSeparators.push(" ")),div.data("select2")!=null&&div.select2("destroy").empty(),div.select2(options),canvas.find(".select2-selection, .select2-container--default").height(props.height),canvas.find("input").is(":focus")&&instance.message("set_focus"),instance.run_mode()&&inputs.register_focus(instance,canvas.find(".select2-selection, input")),select_value(current_displayed_value),instance.state("has_been_changed")||select_value(instance.state("value")),list_defined.turn_on(),element_eval.pre_cache(instance,["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_face","font_family","font_weight","font_size","font_color","placeholder_color"]),instance.autorun(()=>{props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_size","font_color","placeholder_color"])props[prop]=element_eval.evaluate_property(instance,prop);props.font_face=element_props.get_font_face(instance),restyle_tags(props);let font_data=webfonts.get_quoted_face_and_variant(props.font_face),search_field=canvas.find(".select2-search__field");property_applications.apply_css_style(search_field,{"font-family":font_data.font_family,"font-weight":font_data.variant,"font-size":`${props.font_size}px`,color:props.font_color,width:"100%"}),new property_applications.PlaceholderColor().apply(props,search_field,instance),property_applications.apply_css_style(canvas.find(".select2-search--inline"),{width:instance.run_mode()&¤t_displayed_value.length>0?"":"100%"})})}})}var import_esnext_iterator_constructor,import_esnext_iterator_find,import_esnext_iterator_map,import_web_immediate,b_async,autorun,Lib,property_applications,inputs,dropdowns,element_utils,hydrate,languages,webfonts,logger,element_eval,element_props,MAX_DROPDOWN,property_applications_internal,additional_data,init_select2_MultiDropdown=__esm({"lib-browser/optional/services/legacy/responsive_v0/select2_MultiDropdown.js"(){"use strict";init_define_process_env();init_shim();import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find()),import_esnext_iterator_map=__toESM(require_esnext_iterator_map()),import_web_immediate=__toESM(require_web_immediate());init_window_register();b_async=safe_require.safe_require("./u/shared/async/b_async"),autorun=safe_require.safe_require("./u/shared/async/autorun"),Lib=safe_require.safe_require("./lib"),property_applications=safe_require.safe_require("./core/property_applications"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),dropdowns=safe_require.safe_require("./core/core_elements/shared/dropdowns"),element_utils=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_utils"),hydrate=safe_require.safe_require("@bubblegroup/db/hydrate"),languages=safe_require.safe_require("./languages"),webfonts=safe_require.safe_require("./webfonts"),logger=safe_require.safe_require("./logger"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),element_props=safe_require.safe_require("./lang/evaluation/element_props");MAX_DROPDOWN=5e3,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_esnext_iterator_constructor2=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_filter=__toESM(require_esnext_iterator_filter()),import_esnext_iterator_find2=__toESM(require_esnext_iterator_find()),import_esnext_iterator_map2=__toESM(require_esnext_iterator_map());init_window_register();var external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),Lib2=safe_require.safe_require("./lib"),property_applications2=safe_require.safe_require("./core/property_applications"),shared_fields=safe_require.safe_require("./core/shared_fields"),inputs2=safe_require.safe_require("./core/core_elements/shared/inputs"),dropdowns2=safe_require.safe_require("./core/core_elements/shared/dropdowns"),hydrate2=safe_require.safe_require("@bubblegroup/db/hydrate"),btypes=safe_require.safe_require("./lang/btypes"),lang=safe_require.safe_require("./lang/lang"),languages2=safe_require.safe_require("./languages"),webfonts2=safe_require.safe_require("./webfonts"),logger2=safe_require.safe_require("./logger"),element_eval2=safe_require.safe_require("./lang/evaluation/element_eval"),element_props2=safe_require.safe_require("./lang/evaluation/element_props"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications"),shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var btype_ids=safe_require.safe_require("./lang/btype_ids"),PLUGIN_FILE="select2";element_modifications.set_legacy_element_modifications("select2-MultiDropdown",(init_select2_MultiDropdown(),__toCommonJS(select2_MultiDropdown_exports)));var MAX_DROPDOWN2=5e3,cls=class extends external.Service{constructor(){super(),this.elements=this._get_initial_elements(),this.authenticator=new external.NoAuth}_get_initial_elements(){return{MultiDropdown:{category:"input forms",display:"Multi dropdown",icon:"ion-pricetags",condition(root){return!root?.is_mobile?.()},defaults:{font_size:14,background_style:"bgcolor",bgcolor:"#FFFFFF",border_style:"solid",border_width:1,border_color:"#858585",border_roundness:3,width:250,height:45,placeholder:"Choose some options...",use_max_width:!0,max_width:150},default_states:[{condition:{type:"ThisElement",next:{type:"Message",name:"is_focused"}},properties:{border_color:"#52A8EC",boxshadow_color:"#52A8EC",boxshadow_style:"outset",boxshadow_horizontal:0,boxshadow_vertical:0,boxshadow_blur:6}}],field_names:u.extend({choices_style:{default:"static",no_states:!0},choices:{no_states:!0,default:`Choice 1 55Choice 2 56Choice 3`},dynamic_type:{no_states:!0},data_source:{},option_display_expression:{no_states:!0},default:{},enable_tagging:{no_states:!0},tags_with_spaces:{no_states:!0},placeholder:{},tag_font_color:{default:"#252525"},tag_bgcolor:{default:"#e4e4e4"},tag_delete_color:{default:"#999"},tag_border_roundness:{default:2},tag_border_width:{default:1},tag_border_color:{default:"#C9C9C9"},limit_selection:{no_states:!0,optional:!0}},inputs2.get_disabled_field_name,inputs2.get_auto_binding_field_names),property_applications:[new property_applications2.Dimensions,new property_applications2.Font,new property_applications2.Backgroun
56d,new property_applications2.ResponsiveElement,new property_applications2.Border(void 0,void 0,{only_main_border:!0}),new property_applications2.PaddingText,new property_applications2.BoxShadow,new property_applications2.PlaceholderColor("input.select2-search__field")],get_html(instance){return"<div></div>"},get_min_width(element){return 0},_get_display_option:dropdowns2._get_display_option,uses_css_responsive:!0,can_fit_height:!0,initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas(),div=$('<select class="inner-dropdown select2-hidden-accessible"></select>');canvas.append(div),div.attr("multiple","multiple"),div.css({width:"100%",height:"100%"});let current_displayed_value=null;function select_value(val){let select_raw_values=(val?.all?.()??val??[]).map(v=>hydrate2.dehydrate_tree_to_string_safe(v));div.val(select_raw_values).trigger("change",{source:"triggered_js"})}function restyle_tags(data){property_applications2.apply_css_style(canvas.find(".select2-selection__choice"),{color:data.tag_font_color,"background-color":data.tag_bgcolor,"border-radius":data.tag_border_roundness+"px","border-color":data.tag_border_color,"border-width":data.tag_border_width+"px","border-style":"solid",padding:"3px 5px 3px 5px"}),property_applications2.apply_css_style(canvas.find(".select2-selection__choice__remove"),{color:data.tag_delete_color})}let list_defined=u.MakeSwitch(void 0,"select2_list"),get_choice_list;if(instance.run_mode()){canvas.css({"overflow-x":"visible","overflow-y":"auto"}),element_eval2.on_property_change(instance,"disabled",value=>{div.prop("disabled",value??!1),div.prop("disabled")?canvas.css("pointer-events","none"):canvas.css("pointer-events","")}),get_choice_list=()=>{let raw_choices=this._get_raw_choice_list(instance),get_display=v=>this._get_display_option(instance)(v)?.trim(),already_listed_captions=[],raw_choice_list=raw_choices.get_children(0,MAX_DROPDOWN2);u.run_once(30,()=>{for(let raw_choice in raw_choice_list)get_display(raw_choice)});let choice_list=[];for(let v of raw_choice_list)choice_list.push({text:get_display(v),id:hydrate2.dehydrate_tree_to_string_safe(v)}),already_listed_captions.push(get_display(v));if((instance.get_static_property("dynamic_type")==="text"||instance.get_static_property("choices_style")!=="dynamic")&&instance.get_static_property("enable_tagging"))for(let a of current_displayed_value??[])already_listed_captions.includes(a.trim())||choice_list.push({text:a,id:a});return choice_list};let bad_value_watcher=u.Watcher(()=>{if(!instance.state("has_been_changed"))return!1;let val=instance.state("value"),items=val?.all?.()??val;if(!items?.length||this._tagging_enabled(instance))return!1;for(let v of items)if(!this._choice_list_contains(instance,v))return!0;return!1});instance.on_destroy(()=>{bad_value_watcher.destroy()}),bad_value_watcher.on_value(is_bad=>{is_bad&&instance.message("reset_input")});let run_mode_tag_styling=()=>u.run_once(30,()=>{let props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color"])props[prop]=element_eval2.evaluate_property(instance,prop);return props},(err,data)=>{if(err){logger2.log(err);return}instance.setTimeout(()=>restyle_tags(data),1)}),retrieve_properties=instance2=>({font_face:element_props2.get_font_face(instance2),font_size:element_eval2.evaluate_property(instance2,"font_size"),border_radius:element_eval2.evaluate_property(instance2,"border_roundness"),border_width:element_eval2.evaluate_property(instance2,"border_width"),border_color:element_eval2.evaluate_property(instance2,"border_color"),background_style:element_eval2.evaluate_property(instance2,"background_style"),background_color:element_eval2.evaluate_property(instance2,"bgcolor")}),set_property_styles=data=>{property_applications2.apply_css_style($(".select2-dropdown"),{"font-family":webfonts2.get_face_and_variant(data.font_face).font_family,"font-size":data.font_size+"px","border-radius":data.border_radius+"px","border-width":data.border_width+"px","border-color":"#aaa","background-color":data.background_style==="bgcolor"?data.background_color??"white":"transparent"}),property_applications2.apply_css_style($(".select2-container.select2-container--open .select2-dropdown--below"),{left:"-"+data.border_width+"px",top:"-"+data.border_width+"px"})};instance.on_message("add_tab_index",num=>{div.attr("tabindex",num)}),instance.wait_for_visible_lite(()=>{div.change((e,data)=>{let new_val=div.val();if(current_displayed_value=new_val,run_mode_tag_styling(),instance.state("should_recalc",!0),data?.source==="triggered_js")return;let res=(new_val??[]).map(v=>dropdowns2.rehydrate_dropdown_value(v));instance.message("user_submit",res)});let _last_val=null;inputs2.input_change_autorun(instance,val=>{_last_val=val,u.WaitFor(list_defined,()=>{select_value(_last_val)})}),instance.on_message("set_focus",()=>{canvas.find("input").focus()});let interval=null;div.on("select2:open",()=>{instance.state("is_focused",!0),instance.run_mode()?instance.setTimeout(()=>{u.run_once(30,()=>retrieve_properties(instance),(err,data)=>
56{if(err){logger2.log(err);return}run_mode_tag_styling();let search_input=canvas.find(".select2-search__field");search_input.off("keydown.styling keyup.styling keypress.styling"),search_input.on("keydown.styling keyup.styling keypress.styling",()=>{run_mode_tag_styling()}),interval=instance.setInterval(()=>{run_mode_tag_styling()},5),set_property_styles(data)})},1):u.run_once(30,()=>{retrieve_properties(instance)},(err,data)=>{if(err){logger2.log(err);return}set_property_styles(data)})}),div.on("select2:close",()=>{run_mode_tag_styling(),instance.clearInterval(interval),canvas.find("input").is(":focus")||instance.state("is_focused",!1)}),$(document).on("click",evt=>{$.contains(canvas[0],evt.target)||instance.state("is_focused",!1)})})}else current_displayed_value=["tag1"];let is_dropdown_focused=u.Box(!1);div.on("focus",()=>is_dropdown_focused(!0)),div.on("blur",()=>is_dropdown_focused(!1));let succesfully_updated_once=u.Box(!1);element_eval2.pre_cache(instance,["placeholder"]),instance.autorun(()=>{if(instance.is_visible()&&(!succesfully_updated_once()||!is_dropdown_focused())){list_defined.turn_off(),succesfully_updated_once(!0);let props={};for(let prop of["placeholder"])props[prop]=element_eval2.evaluate_property(instance,prop);let choices=instance.run_mode()?get_choice_list():[{id:"tag1",text:"Tag 1"}
56],options={placeholder:props.placeholder,data:choices,maximumSelectionLength:instance.get_static_property("limit_selection"),dir:languages2.is_rtl(Lib2().app_language())&&"rtl",language:{errorLoading(){return get_translation2("ERROR_LOADING")},inputTooLong(){return get_translation2("INPUT_TOO_LONG")},inputTooShort(){return get_translation2("INPUT_TOO_SHORT")},loadingMore(){return get_translation2("LOADING_MORE")},maximumSelected(){return get_translation2("MAXIMUM_SELECTED")},noResults(){return get_translation2("NO_RESULTS")},searching(){return get_translation2("SEARCHING")},removeAllItems(){return get_translation2("REMOVE_ALL_ITEMS")}}};this._tagging_enabled(instance)&&(options.tags=!0,options.tokenSeparators=[","],instance.get_static_property("tags_with_spaces")||options.tokenSeparators.push(" "));let is_focused=canvas.find("input").is(":focus");div.data("select2")!=null&&div.select2("destroy").empty(),div.select2(options),canvas.find(".select2-selection, .select2-container--default").css("height","100%"),is_focused&&instance.message("set_focus"),instance.run_mode()&&inputs2.register_focus(instance,canvas.find(".select2-selection, input")),select_value(current_displayed_value),instance.state("has_been_changed")||select_value(instance.state("value")),list_defined.turn_on(),element_eval2.pre_cache(instance,["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_face","font_family","font_weight","font_size","font_color","placeholder_color"]),instance.autorun(()=>{props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_size","font_color","placeholder_color"])props[prop]=element_eval2.evaluate_property(instance,prop);props.font_face=element_props2.get_font_face(instance),restyle_tags(props);let font_data=webfonts2.get_quoted_face_and_variant(props.font_face),search_field=canvas.find(".select2-search__field");property_applications2.apply_css_style(search_field,{"font-family":font_data.font_family,"font-weight":font_data.variant,"font-size":props.font_size+"px",color:props.font_color}),new property_applications2.PlaceholderColor().apply(props,search_field,instance),property_applications2.apply_css_style(canvas.find(".select2-search--inline"),{width:instance.run_mode()&¤t_displayed_value.length>0?"":"100%"})})}})},_tagging_enabled(instance){return this._supports_tagging(instance)&&instance.get_static_property("enable_tagging")},_supports_tagging(instance){return!(instance.get_static_property("choices_style")==="dynamic"&&instance.get_static_property("dynamic_type")!=="text")},_get_raw_btype(element){return element.get_static_property("choices_style")==="dynamic"?element.get_static_property("dynamic_type"):"text"},_get_raw_choice_list(instance){return dropdowns2._get_raw_choice_list_dropdown(instance,this)},_choice_list_contains(instance,val){let V=btypes.get(this._get_raw_btype(instance.element));return this._get_raw_choice_list(instance).contains(val,V)},get_starting_content(instance){let starting_content;return instance.run_mode()&&instance.get_static_property("auto_binding")?starting_content=inputs2.get_input_autobind_thing_field(instance):(starting_content=element_eval2.evaluate_property(instance,"default"),instance.get_static_property("choices_style")!=="dynamic"&&(starting_content=starting_content?.split?.(","),starting_content=(starting_content??[]).map(a=>a.trim()))),starting_content=starting_content?.all?.()??starting_content??[],this._tagging_enabled(instance)?starting_content:starting_content.filter(val=>this._choice_list_contains(instance,val))},get_state_value(element,name){if(name==="value")return btype_ids.list_type(this._get_raw_btype(element))},get_injected_btype(element){return element.get_static_property("dynamic_type")},get_injected_display(){return"Current option"},use_injected_datasource(node,element){return node.path().indexOf(element.property("option_display_expression").path())===0},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/select2.min"]},css_files:["css/optional/select2.min.css"],actions:["ResetInputs"]}}}};function get_translation2(key){return Lib2().get_text("select2",key)}var select2={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.select2=select2);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("select2",select2);})(); 57/*! Bundled license information: 58 59buffer/index.js: 60 (*! 61 * The buffer module from node.js, for the browser. 62 * 63 * @author Feross Aboukhadijeh <https://feross.org> 64 * @license MIT 65 *) 66*/ 67 68} 69 70 71window.preloaded['plugin/first_party:select2'] = true; 72window._bubble_page_load_data.hardcoded_plugins['airtable'] = true; 73window.__code__ = window.__code__ || {}; 74if(!window.__code__['995272fbb391ee45584b7b58d1bf0fdcbf0bbfc5af67e9b6c96b26812102932f']){window.__code__['995272fbb391ee45584b7b58d1bf0fdcbf0bbfc5af67e9b6c96b26812102932f']=1; 75 76"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={exp
vendor: 5,879 bytes, line 76
76orts:{}}).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 define_process_env_default,init_define_process_env=__esm({"<define:process.env>"(){define_process_env_default={}}});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{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>
vendor: 23,595 bytes, line 76
76K_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);
vendor: 3,223 bytes, line 76
76)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;
vendor: 5,180 bytes, line 76
76if(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{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{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{try{return cachedSetTimeout.call(null,fun,0)}catch{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{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
76var 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&¤tQueue[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{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-uncurr
76y-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)}
76:$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{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{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(S
76HARED,{});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
76=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{}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&¤t[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)}
76:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}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}}});
76var 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=uncurr
76yThis([].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{}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{}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","toLocaleStr
76ing","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_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});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_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_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_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
76(),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{}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_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_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});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_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_esnext_iterator_filter=__commonJS({"node_modules/core-js/modules/esnext.iterator.filter.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IS_PURE=require_is_pure(),IteratorProxy=createIteratorProxy(function(){for(var iterator=this.iterator,predicate=this.predicate,next=this.next,result,done,value;;){if(result=anObject(call(next,iterator)),done=this.done=!!result.done,done)return;if(value=result.value,callWithSafeIterationClosing(iterator,predicate,[value,this.counter++],!0))return value}});$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
76y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===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{}};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_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
76){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});var require_esnext_iterator_for_each=__commonJS({"node_modules/core-js/modules/esnext.iterator.for-each.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{forEach:function(fn){anObject(this),aCallable(fn);var record=getIteratorDirect(this),counter=0;iterate(record,function(value){fn(value,counter++)},{IS_RECORD:!0})}})}});var require_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IteratorProxy=createIteratorProxy(function(){var iterator=this.iterator,result=anObject(call(this.next,iterator)),done=this.done=!!result.done;if(!done)return callWithSafeIterationClosing(iterator,this.mapper,[result.value,this.counter++],!0)});module.exports=function(mapper){return anObject(this),aCallable(mapper),new IteratorProxy(getIteratorDirect(this),{mapper})}}});var require_esnext_iterator_map=__commonJS({"node_modules/core-js/modules/esnext.iterator.map.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});var require_isArray=__commonJS({"node_modules/lodash/isArray.js"(exports,module){init_define_process_env();init_shim();var isArray=Array.isArray;module.exports=isArray}});var require_freeGlobal=__commonJS({"node_modules/lodash/_freeGlobal.js"(exports,module){init_define_process_env();init_shim();var freeGlobal=typeof window=="object"&&window&&window.Object===Object&&window;module.exports=freeGlobal}});var require_root=__commonJS({"node_modules/lodash/_root.js"(exports,module){init_define_process_env();init_shim();var freeGlobal=require_freeGlobal(),freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root}});var require_Symbol=__commonJS({"node_modules/lodash/_Symbol.js"(exports,module){init_define_process_env();init_shim();var root=require_root(),Symbol2=root.Symbol;module.exports=Symbol2}});var require_getRawTag=__commonJS({"node_modules/lodash/_getRawTag.js"(exports,module){init_define_process_env();init_shim();var Symbol2=require_Symbol(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol2?Symbol2.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch{}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}module.exports=getRawTag}});var require_objectToString=__commonJS({"node_modules/lodash/_objectToString.js"(exports,module){init_define_process_env();init_shim();var objectProto=Object.prototype,nativeObjectToString=objectProto.toString;function objectToString(value){return nativeObjectToString.call(value)}module.exports=objectToString}});var require_baseGetTag=__commonJS({"node_modules/lodash/_baseGetTag.js"(exports,module){init_define_process_env();init_shim();var Symbol2=require_Symbol(),getRawTag=require_getRawTag(),objectToString=require_objectToString(),nullTag="[object Null]",undefinedTag="[object Undef
76ined]",symToStringTag=Symbol2?Symbol2.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}module.exports=baseGetTag}});var require_isObjectLike=__commonJS({"node_modules/lodash/isObjectLike.js"(exports,module){init_define_process_env();init_shim();function isObjectLike(value){return value!=null&&typeof value=="object"}module.exports=isObjectLike}});var require_isSymbol=__commonJS({"node_modules/lodash/isSymbol.js"(exports,module){init_define_process_env();init_shim();var baseGetTag=require_baseGetTag(),isObjectLike=require_isObjectLike(),symbolTag="[object Symbol]";function isSymbol(value){return typeof value=="symbol"||isObjectLike(value)&&baseGetTag(value)==symbolTag}module.exports=isSymbol}});var require_isKey=__commonJS({"node_modules/lodash/_isKey.js"(exports,module){init_define_process_env();init_shim();var isArray=require_isArray(),isSymbol=require_isSymbol(),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return type=="number"||type=="symbol"||type=="boolean"||value==null||isSymbol(value)?!0:reIsPlainProp.test(value)||!reIsDeepProp.test(value)||object!=null&&value in Object(object)}module.exports=isKey}});var require_isObject=__commonJS({"node_modules/lodash/isObject.js"(exports,module){init_define_process_env();init_shim();function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}module.exports=isObject}});var require_isFunction=__commonJS({"node_modules/lodash/isFunction.js"(exports,module){init_define_process_env();init_shim();var baseGetTag=require_baseGetTag(),isObject=require_isObject(),asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}module.exports=isFunction}});var require_coreJsData=__commonJS({"node_modules/lodash/_coreJsData.js"(exports,module){init_define_process_env();init_shim();var root=require_root(),coreJsData=root["__core-js_shared__"];module.exports=coreJsData}});var require_isMasked=__commonJS({"node_modules/lodash/_isMasked.js"(exports,module){init_define_process_env();init_shim();var coreJsData=require_coreJsData(),maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}module.exports=isMasked}});var require_toSource=__commonJS({"node_modules/lodash/_toSource.js"(exports,module){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{}try{return func+""}catch{}}return""}module.exports=toSource}});var require_baseIsNative=__commonJS({"node_modules/lodash/_baseIsNative.js"(exports,module){init_define_process_env();init_shim();var isFunction=require_isFunction(),isMasked=require_isMasked(),isObject=require_isObject(),toSource=require_toSource(),reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject(value)||isMasked(value))return!1;var pattern=isFunction(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}module.exports=baseIsNative}});var require_getValue=__commonJS({"node_modules/lodash/_getValue.js"(exports,module){init_define_process_env();init_shim();function getValue(object,key){return object?.[key]}module.exports=getValue}});var require_getNative=__commonJS({"node_modules/lodash/_getNative.js"(exports,module){init_define_process_env();init_shim();var baseIsNative=require_baseIsNative(),getValue=require_getValue();function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}module.exports=getNative}});var require_nativeCreate=__commonJS({"node_modules/lodash/_nativeCreate.js"(exports,module){init_define_process_env();init_shim();var getNative=require_getNative(),nativeCreate=getNative(Object,"create");module.exports=nativeCreate}});var require_hashClear=__commonJS({"node_modules/lodash/_hashClear.js"(exports,module){init_define_process_env();init_shim();var nativeCreate=require_nativeCreate();function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}module.exports=hashClear}});var require_hashDelete=__commonJS({"node_modules/lodash/_hashDelete.js"(exports,module){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}module.exports=hashDelete}});var require_hashGet=__commonJS({"node_modules/lodash/_hashGet.js"(exports,module){init_define_process_env();init_shim();var nativeCreate=require_nativeCreate(),HASH_UNDEFINED="__lodash_hash_undefined__",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}module.exports=hashGet}});var require_hashHas=__commonJS({"node_modules/lodash/_hashHas.js"(exports,module){init_define_process_env();init_shim();var nativeCreate=require_nativeCreate(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==void 0:hasOwnProperty.call(data,key)}module.exports=hashHas}});var require_hashSet=__commonJS({"node_modules/lodash/_hashSet.js"(exports,module){init_define_process_env();init_shim();var nativeCreate=require_nativeCreate(),HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&value===void 0?HASH_UNDEFINED:value,this}module.exports=hashSet}});var require_Hash=__commonJS({"node_modules/lodash/_Hash.js"(exports,module){init_define_process_env();init_shim();var hashClear=require_hashClear(),hashDelete=require_hashDelete(),hashGet=require_hashGet(),hashHas=require_hashHas(),hashSet=require_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;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;module.exports=Hash}});var require_listCacheClear=__commonJS({"node_modules/lodash/_listCacheClear.js"(exports,module){init_define_process_env();init_shim();function listCacheClear(){this.__data__=[],this.size=0}module.exports=listCacheClear}});var require_eq=__commonJS({"node_modules/lodash/eq.js"(exports,module){init_define_process_env();init_shim();function eq(value,other){return value===other||value!==value&&other!==other}module.exports=eq}});var require_assocIndexOf=__commonJS({"node_modules/lodash/_assocIndexOf.js"(exports,module){init_define_process_env();init_shim();var eq=require_eq();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}module.exports=assocIndexOf}});var require_listCacheDelete=__commonJS({"node_modules/lodash/_listCacheDelete.js"(exports,module){init_define_process_env();init_shim();var assocIndexOf=require_assocIndexOf(),arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(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}module.exports=listCacheDelete}});
76var require_listCacheGet=__commonJS({"node_modules/lodash/_listCacheGet.js"(exports,module){init_define_process_env();init_shim();var assocIndexOf=require_assocIndexOf();function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}module.exports=listCacheGet}});var require_listCacheHas=__commonJS({"node_modules/lodash/_listCacheHas.js"(exports,module){init_define_process_env();init_shim();var assocIndexOf=require_assocIndexOf();function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}module.exports=listCacheHas}});var require_listCacheSet=__commonJS({"node_modules/lodash/_listCacheSet.js"(exports,module){init_define_process_env();init_shim();var assocIndexOf=require_assocIndexOf();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}module.exports=listCacheSet}});var require_ListCache=__commonJS({"node_modules/lodash/_ListCache.js"(exports,module){init_define_process_env();init_shim();var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_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;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;module.exports=ListCache}});var require_Map=__commonJS({"node_modules/lodash/_Map.js"(exports,module){init_define_process_env();init_shim();var getNative=require_getNative(),root=require_root(),Map=getNative(root,"Map");module.exports=Map}});var require_mapCacheClear=__commonJS({"node_modules/lodash/_mapCacheClear.js"(exports,module){init_define_process_env();init_shim();var Hash=require_Hash(),ListCache=require_ListCache(),Map=require_Map();function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}module.exports=mapCacheClear}});var require_isKeyable=__commonJS({"node_modules/lodash/_isKeyable.js"(exports,module){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}module.exports=isKeyable}});var require_getMapData=__commonJS({"node_modules/lodash/_getMapData.js"(exports,module){init_define_process_env();init_shim();var isKeyable=require_isKeyable();function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=="string"?"string":"hash"]:data.map}module.exports=getMapData}});var require_mapCacheDelete=__commonJS({"node_modules/lodash/_mapCacheDelete.js"(exports,module){init_define_process_env();init_shim();var getMapData=require_getMapData();function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}module.exports=mapCacheDelete}});var require_mapCacheGet=__commonJS({"node_modules/lodash/_mapCacheGet.js"(exports,module){init_define_process_env();init_shim();var getMapData=require_getMapData();function mapCacheGet(key){return getMapData(this,key).get(key)}module.exports=mapCacheGet}});var require_mapCacheHas=__commonJS({"node_modules/lodash/_mapCacheHas.js"(exports,module){init_define_process_env();init_shim();var getMapData=require_getMapData();function mapCacheHas(key){return getMapData(this,key).has(key)}module.exports=mapCacheHas}});var require_mapCacheSet=__commonJS({"node_modules/lodash/_mapCacheSet.js"(exports,module){init_define_process_env();init_shim();var getMapData=require_getMapData();function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}module.exports=mapCacheSet}});var require_MapCache=__commonJS({"node_modules/lodash/_MapCache.js"(exports,module){init_define_process_env();init_shim();var mapCacheClear=require_mapCacheClear(),mapCacheDelete=require_mapCacheDelete(),mapCacheGet=require_mapCacheGet(),mapCacheHas=require_mapCacheHas(),mapCacheSet=require_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;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;module.exports=MapCache}});var require_memoize=__commonJS({"node_modules/lodash/memoize.js"(exports,module){init_define_process_env();init_shim();
76var MapCache=require_MapCache(),FUNC_ERROR_TEXT="Expected a function";function memoize(func,resolver){if(typeof func!="function"||resolver!=null&&typeof resolver!="function")throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;module.exports=memoize}});var require_memoizeCapped=__commonJS({"node_modules/lodash/_memoizeCapped.js"(exports,module){init_define_process_env();init_shim();var memoize=require_memoize(),MAX_MEMOIZE_SIZE=500;function memoizeCapped(func){var result=memoize(func,function(key){return cache.size===MAX_MEMOIZE_SIZE&&cache.clear(),key}),cache=result.cache;return result}module.exports=memoizeCapped}});var require_stringToPath=__commonJS({"node_modules/lodash/_stringToPath.js"(exports,module){init_define_process_env();init_shim();var memoizeCapped=require_memoizeCapped(),rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped(function(string){var result=[];return string.charCodeAt(0)===46&&result.push(""),string.replace(rePropName,function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)}),result});module.exports=stringToPath}});var require_arrayMap=__commonJS({"node_modules/lodash/_arrayMap.js"(exports,module){init_define_process_env();init_shim();function arrayMap(array,iteratee){for(var index=-1,length=array==null?0:array.length,result=Array(length);++index<length;)result[index]=iteratee(array[index],index,array);return result}module.exports=arrayMap}});var require_baseToString=__commonJS({"node_modules/lodash/_baseToString.js"(exports,module){init_define_process_env();init_shim();var Symbol2=require_Symbol(),arrayMap=require_arrayMap(),isArray=require_isArray(),isSymbol=require_isSymbol(),INFINITY=1/0,symbolProto=Symbol2?Symbol2.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(value){if(typeof value=="string")return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}module.exports=baseToString}});var require_toString=__commonJS({"node_modules/lodash/toString.js"(exports,module){init_define_process_env();init_shim();var baseToString=require_baseToString();function toString(value){return value==null?"":baseToString(value)}module.exports=toString}});var require_castPath=__commonJS({"node_modules/lodash/_castPath.js"(exports,module){init_define_process_env();init_shim();var isArray=require_isArray(),isKey=require_isKey(),stringToPath=require_stringToPath(),toString=require_toString();function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}module.exports=castPath}});var require_toKey=__commonJS({"node_modules/lodash/_toKey.js"(exports,module){init_define_process_env();init_shim();
76var isSymbol=require_isSymbol(),INFINITY=1/0;function toKey(value){if(typeof value=="string"||isSymbol(value))return value;var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}module.exports=toKey}});var require_baseGet=__commonJS({"node_modules/lodash/_baseGet.js"(exports,module){init_define_process_env();init_shim();var castPath=require_castPath(),toKey=require_toKey();function baseGet(object,path){path=castPath(path,object);for(var index=0,length=path.length;object!=null&&index<length;)object=object[toKey(path[index++])];return index&&index==length?object:void 0}module.exports=baseGet}});var require_get=__commonJS({"node_modules/lodash/get.js"(exports,module){init_define_process_env();init_shim();var baseGet=require_baseGet();function get(object,path,defaultValue){var result=object==null?void 0:baseGet(object,path);return result===void 0?defaultValue:result}module.exports=get}});var require_overArg=__commonJS({"node_modules/lodash/_overArg.js"(exports,module){init_define_process_env();init_shim();function overArg(func,transform){return function(arg){return func(transform(arg))}}module.exports=overArg}});var require_getPrototype=__commonJS({"node_modules/lodash/_getPrototype.js"(exports,module){init_define_process_env();init_shim();var overArg=require_overArg(),getPrototype=overArg(Object.getPrototypeOf,Object);module.exports=getPrototype}});var require_isPlainObject=__commonJS({"node_modules/lodash/isPlainObject.js"(exports,module){init_define_process_env();init_shim();var baseGetTag=require_baseGetTag(),getPrototype=require_getPrototype(),isObjectLike=require_isObjectLike(),objectTag="[object Object]",funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return!1;var proto=getPrototype(value);if(proto===null)return!0;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return typeof Ctor=="function"&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}module.exports=isPlainObject}});var require_baseTimes=__commonJS({"node_modules/lodash/_baseTimes.js"(exports,module){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}module.exports=baseTimes}});var require_baseIsArguments=__commonJS({"node_modules/lodash/_baseIsArguments.js"(exports,module){init_define_process_env();init_shim();var baseGetTag=require_baseGetTag(),isObjectLike=require_isObjectLike(),argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag}module.exports=baseIsArguments}});var require_isArguments=__commonJS({"node_modules/lodash/isArguments.js"(exports,module){init_define_process_env();init_shim();var baseIsArguments=require_baseIsArguments(),isObjectLike=require_isObjectLike(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments}});var require_stubFalse=__commonJS({"node_modules/lodash/stubFalse.js"(exports,module){init_define_process_env();init_shim();function stubFalse(){return!1}module.exports=stubFalse}});var require_isBuffer=__commonJS({"node_modules/lodash/isBuffer.js"(exports,module){init_define_process_env();init_shim();var root=require_root(),stubFalse=require_stubFalse(),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.Buffer:void 0,nativeIsBuffer=Buffer3?Buffer3.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse;module.exports=isBuffer}});var require_isIndex=__commonJS({"node_modules/lodash/_isIndex.js"(exports,module){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??MAX_SAFE_INTEGER,!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}module.exports=isIndex}});var require_isLength=__commonJS({"node_modules/lodash/isLength.js"(exports,module){init_define_process_env();init_shim();var MAX_SAFE_INTEGER=9007199254740991;function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module.exports=isLength}});var require_baseIsTypedArray=__commonJS({"node_modules/lodash/_baseIsTypedArray.js"(exports,module){init_define_process_env();init_shim();var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[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
76]",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[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module.exports=baseIsTypedArray}});var require_baseUnary=__commonJS({"node_modules/lodash/_baseUnary.js"(exports,module){init_define_process_env();init_shim();function baseUnary(func){return function(value){return func(value)}}module.exports=baseUnary}});var require_nodeUtil=__commonJS({"node_modules/lodash/_nodeUtil.js"(exports,module){init_define_process_env();init_shim();var freeGlobal=require_freeGlobal(),freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}();module.exports=nodeUtil}});var require_isTypedArray=__commonJS({"node_modules/lodash/isTypedArray.js"(exports,module){init_define_process_env();init_shim();var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray}});var require_arrayLikeKeys=__commonJS({"node_modules/lodash/_arrayLikeKeys.js"(exports,module){init_define_process_env();init_shim();var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key=="length"||isBuff&&(key=="offset"||key=="parent")||isType&&(key=="buffer"||key=="byteLength"||key=="byteOffset")||isIndex(key,length)))&&result.push(key);return result}module.exports=arrayLikeKeys}});var require_isPrototype=__commonJS({"node_modules/lodash/_isPrototype.js"(exports,module){init_define_process_env();init_shim();var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto;return value===proto}module.exports=isPrototype}});var require_nativeKeys=__commonJS({"node_modules/lodash/_nativeKeys.js"(exports,module){init_define_process_env();init_shim();var overArg=require_overArg(),nativeKeys=overArg(Object.keys,Object);module.exports=nativeKeys}});var require_baseKeys=__commonJS({"node_modules/lodash/_baseKeys.js"(exports,module){init_define_process_env();init_shim();var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!="constructor"&&result.push(key);return result}module.exports=baseKeys}});var require_isArrayLike=__commonJS({"node_modules/lodash/isArrayLike.js"(exports,module){init_define_process_env();init_shim();var isFunction=require_isFunction(),isLength=require_isLength();function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}module.exports=isArrayLike}});var require_keys=__commonJS({"node_modules/lodash/keys.js"(exports,module){init_define_process_env();init_shim();var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module.exports=keys}});var require_browser2=__commonJS({"(disabled):node_modules/node-fetch/browser.js"(){init_define_process_env();init_shim()}});var require_fetch=__commonJS({"node_modules/airtable/lib/fetch.js"(exports,module){"use strict";init_define_process_env();init_shim();var __importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},node_fetch_1=__importDefault(require_browser2());module.exports=typeof window>"u"?node_fetch_1.default:window.fetch.bind(window)}});var require_browser3=__commonJS({"(disabled):node_modules/abort-controller/browser.js"(){init_define_process_env();init_shim()}});var require_cjs_ponyfill=__commonJS({"node_modules/abortcontroller-polyfill/dist/cjs-ponyfill.js"(exports){"use strict";init_define_process_env();init_shim();Object.defineProperty(exports,"__esModule",{value:!0});function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _inherits(subClass,superClass){if(typeof superClass!="function"&&superClass!==null)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}
76function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o2){return o2.__proto__||Object.getPrototypeOf(o2)},_getPrototypeOf(o)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function(o2,p2){return o2.__proto__=p2,o2},_setPrototypeOf(o,p)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _assertThisInitialized(self2){if(self2===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self2}function _possibleConstructorReturn(self2,call){return call&&(typeof call=="object"||typeof call=="function")?call:_assertThisInitialized(self2)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _superPropBase(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&(object=_getPrototypeOf(object),object!==null););return object}function _get(target,property,receiver){return typeof Reflect<"u"&&Reflect.get?_get=Reflect.get:_get=function(target2,property2,receiver2){var base=_superPropBase(target2,property2);if(base){var desc=Object.getOwnPropertyDescriptor(base,property2);return desc.get?desc.get.call(receiver2):desc.value}},_get(target,property,receiver||target)}var Emitter=function(){function Emitter2(){_classCallCheck(this,Emitter2),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return _createClass(Emitter2,[{key:"addEventListener",value:function(type,callback,options){type in this.listeners||(this.listeners[type]=[]),this.listeners[type].push({callback,options})}},{key:"removeEventListener",value:function(type,callback){if(type in this.listeners){for(var stack=this.listeners[type],i=0,l=stack.length;i<l;i++)if(stack[i].callback===callback){stack.splice(i,1);return}}}},{key:"dispatchEvent",value:function(event){if(event.type in this.listeners){for(var stack=this.listeners[event.type],stackToCall=stack.slice(),i=0,l=stackToCall.length;i<l;i++){var listener=stackToCall[i];try{listener.callback.call(this,event)}catch(e){Promise.resolve().then(function(){throw e})}listener.options&&listener.options.once&&this.removeEventListener(event.type,listener.callback)}return!event.defaultPrevented}}}]),Emitter2}(),AbortSignal=function(_Emitter){_inherits(AbortSignal2,_Emitter);var _super=_createSuper(AbortSignal2);function AbortSignal2(){var _this;return _classCallCheck(this,AbortSignal2),_this=_super.call(this),_this.listeners||Emitter.call(_assertThisInitialized(_this)),Object.defineProperty(_assertThisInitialized(_this),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(_assertThisInitialized(_this),"onabort",{value:null,writable:!0,configurable:!0}),_this}return _createClass(AbortSignal2,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(event){event.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,event)),_get(_getPrototypeOf(AbortSignal2.prototype),"dispatchEvent",this).call(this,event)}}]),AbortSignal2}(Emitter),AbortController=function(){function AbortController2(){_classCallCheck(this,AbortController2),Object.defineProperty(this,"signal",{value:new AbortSignal,writable:!0,configurable:!0})}return _createClass(AbortController2,[{key:"abort",value:function(){var event;try{event=new Event("abort")}catch{typeof document<"u"?document.createEvent?(event=document.createEvent("Event"),event.initEvent("abort",!1,!1)):(event=document.createEventObject(),event.type="abort"):event={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(event)}},{key:"toString",value:function(){return"[object AbortController]"}}]),AbortController2}();typeof Symbol<"u"&&Symbol.toStringTag&&(AbortController.prototype[Symbol.toStringTag]="AbortController",AbortSignal.prototype[Symbol.toStringTag]="AbortSignal");function polyfillNeeded(self2){return self2.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof self2.Request=="function"&&!self2.Request.prototype.hasOwnProperty("signal")||!self2.AbortController}function abortableFetchDecorator(patchTargets){typeof patchTargets=="function"&&(patchTargets={fetch:patchTargets});var _patchTargets=patchTargets,fetch=_patchTargets.fetch,_patchTargets$Request=_patchTargets.Request,NativeRequest=_patchTargets$Request===void 0?fetch.Request:_patchTargets$Request,NativeAbortController=_patchTargets.AbortController,_patchTargets$__FORCE=_patchTargets.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=_patchTargets$__FORCE===void 0?!1:_patchTargets$__FORCE;if(!polyfillNeeded({fetch,Request:NativeRequest,AbortController:NativeAbortController,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL}))return{fetch,Request:Request2};var Request2=NativeRequest;(Request2&&!Request2.prototype.hasOwnProperty("signal")||__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL)&&(Request2=function(input,init){var signal;init&&init.signal&&(signal=init.signal,delete init.signal);var request=new NativeRequest(input,init);
76return signal&&Object.defineProperty(request,"signal",{writable:!1,enumerable:!1,configurable:!0,value:signal}),request},Request2.prototype=NativeRequest.prototype);var realFetch=fetch,abortableFetch=function(input,init){var signal=Request2&&Request2.prototype.isPrototypeOf(input)?input.signal:init?init.signal:void 0;if(signal){var abortError;try{abortError=new DOMException("Aborted","AbortError")}catch{abortError=new Error("Aborted"),abortError.name="AbortError"}if(signal.aborted)return Promise.reject(abortError);var cancellation=new Promise(function(_,reject){signal.addEventListener("abort",function(){return reject(abortError)},{once:!0})});return init&&init.signal&&delete init.signal,Promise.race([cancellation,realFetch(input,init)])}return realFetch(input,init)};return{fetch:abortableFetch,Request:Request2}}exports.AbortController=AbortController;exports.AbortSignal=AbortSignal;exports.abortableFetch=abortableFetchDecorator}});var require_abort_controller=__commonJS({"node_modules/airtable/lib/abort-controller.js"(exports,module){"use strict";init_define_process_env();init_shim();var AbortController;typeof window>"u"?AbortController=require_browser3():"signal"in new Request("")?AbortController=window.AbortController:(polyfill=require_cjs_ponyfill(),AbortController=polyfill.AbortController);var polyfill;module.exports=AbortController}});var require_isNil=__commonJS({"node_modules/lodash/isNil.js"(exports,module){init_define_process_env();init_shim();function isNil(value){return value==null}module.exports=isNil}});var require_object_to_query_param_string=__commonJS({"node_modules/airtable/lib/object_to_query_param_string.js"(exports,module){"use strict";init_define_process_env();init_shim();var __importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},isArray_1=__importDefault(require_isArray()),isNil_1=__importDefault(require_isNil()),keys_1=__importDefault(require_keys());function buildParams(prefix,obj,addFn){if(isArray_1.default(obj))for(var index=0;index<obj.length;index++){var value=obj[index];/\[\]$/.test(prefix)?addFn(prefix,value):buildParams(prefix+"["+(typeof value=="object"&&value!==null?index:"")+"]",value,addFn)}else if(typeof obj=="object")for(var _i=0,_a=keys_1.default(obj);_i<_a.length;_i++){var key=_a[_i],value=obj[key];buildParams(prefix+"["+key+"]",value,addFn)}else addFn(prefix,obj)}function objectToQueryParamString(obj){for(var parts=[],addFn=function(key2,value2){value2=isNil_1.default(value2)?"":value2,parts.push(encodeURIComponent(key2)+"="+encodeURIComponent(value2))},_i=0,_a=keys_1.default(obj);_i<_a.length;_i++){var key=_a[_i],value=obj[key];buildParams(key,value,addFn)}return parts.join("&").replace(/%20/g,"+")}module.exports=objectToQueryParamString}});var require_airtable_error=__commonJS({"node_modules/airtable/lib/airtable_error.js"(exports,module){"use strict";init_define_process_env();init_shim();var AirtableError=function(){function AirtableError2(error,message,statusCode){this.error=error,this.message=message,this.statusCode=statusCode}return AirtableError2.prototype.toString=function(){return[this.message,"(",this.error,")",this.statusCode?"[Http code "+this.statusCode+"]":""].join("")},AirtableError2}();module.exports=AirtableError}});var require_deprecate=__commonJS({"node_modules/airtable/lib/deprecate.js"(exports,module){"use strict";init_define_process_env();init_shim();var didWarnForDeprecation={};function deprecate(fn,key,message){return function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];didWarnForDeprecation[key]||(didWarnForDeprecation[key]=!0,console.warn(message)),fn.apply(this,args)}}module.exports=deprecate}});var require_callback_to_promise=__commonJS({"node_modules/airtable/lib/callback_to_promise.js"(exports,module){"use strict";init_define_process_env();init_shim();function callbackToPromise(fn,context,callbackArgIndex){return callbackArgIndex===void 0&&(callbackArgIndex=void 0),function(){for(var callArgs=[],_i=0;_i<arguments.length;_i++)callArgs[_i]=arguments[_i];var thisCallbackArgIndex;callbackArgIndex===void 0?thisCallbackArgIndex=callArgs.length>0?callArgs.length-1:0:thisCallbackArgIndex=callbackArgIndex;var callbackArg=callArgs[thisCallbackArgIndex];if(typeof callbackArg=="function"){fn.apply(context,callArgs);return}else{for(var args_1=[],argLen=Math.max(callArgs.length,thisCallbackArgIndex),i=0;i<argLen;i++)args_1.push(callArgs[i]);return new Promise(function(resolve,reject){args_1.push(function(err,result){err?reject(err):resolve(result)}),fn.apply(context,args_1)})}}}module.exports=callbackToPromise}});var require_record=__commonJS({"node_modules/airtable/lib/record.js"(exports,module){"use strict";init_define_process_env();init_shim();var __assign=exports&&exports.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},callback_to_promise_1=__importDefault(require_callback_to_promise()),Record=function(){function Record2(table,recordId,recordJson){this._table=table,this.id=recordId||recordJson.id,this.setRawJson(recordJson),this.save=callback_to_promise_1.default(save,this),this.patchUpdate=callback_to_promise_1.default(patchUpdate,this),this.putUpdate=callback_to_promise_1.default(putUpdate,this),this.destroy=callback_to_promise_1.default(destroy,this),this.fetch=callback_to_promise_1.default(fetch,this),this.updateFields=this.patchUpdate,this.replaceFields=this.putUpdate}return Record2.prototype.getId=function(){return this.id},Record2.prototype.get=function(columnName){return this.fields[columnName]},Record2.prototype.set=function(columnName,columnValue){this.fields[columnName]=columnValue},Record2.prototype.setRawJson=function(rawJson){this._rawJson=rawJson,this.fields=this._rawJson&&this._rawJson.fields||{}},Record2}();function save(done){this.putUpdate(this.fields,done)}function patchUpdate(cellValuesByName,opts,done){var _this=this;done||(done=opts,opts={});var updateBody=__assign({fields:cellValuesByName},opts);this._table._base.runAction("patch","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},updateBody,function(err,response,results){if(err){done(err);return}_this.setRawJson(results),done(null,_this)})}function putUpdate(cellValuesByName,opts,done){var _this=this;done||(done=opts,opts={});var updateBody=__assign({fields:cellValuesByName},opts);this._table._base.runAction("put","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},updateBody,function(err,response,results){if(err){done(err);return}_this.setRawJson(results),done(null,_this)})}function destroy(done){var _this=this;
76this._table._base.runAction("delete","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},null,function(err){if(err){done(err);return}done(null,_this)})}function fetch(done){var _this=this;this._table._base.runAction("get","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},null,function(err,response,results){if(err){done(err);return}_this.setRawJson(results),done(null,_this)})}module.exports=Record}});var require_has=__commonJS({"node_modules/airtable/lib/has.js"(exports,module){"use strict";init_define_process_env();init_shim();function has(object,property){return Object.prototype.hasOwnProperty.call(object,property)}module.exports=has}});var require_typecheck=__commonJS({"node_modules/airtable/lib/typecheck.js"(exports,module){"use strict";init_define_process_env();init_shim();function check(fn,error){return function(value){return fn(value)?{pass:!0}:{pass:!1,error}}}check.isOneOf=function(options){return options.includes.bind(options)};check.isArrayOf=function(itemValidator){return function(value){return Array.isArray(value)&&value.every(itemValidator)}};module.exports=check}});var require_isString=__commonJS({"node_modules/lodash/isString.js"(exports,module){init_define_process_env();init_shim();var baseGetTag=require_baseGetTag(),isArray=require_isArray(),isObjectLike=require_isObjectLike(),stringTag="[object String]";function isString(value){return typeof value=="string"||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}module.exports=isString}});var require_isNumber=__commonJS({"node_modules/lodash/isNumber.js"(exports,module){init_define_process_env();init_shim();var baseGetTag=require_baseGetTag(),isObjectLike=require_isObjectLike(),numberTag="[object Number]";function isNumber(value){return typeof value=="number"||isObjectLike(value)&&baseGetTag(value)==numberTag}module.exports=isNumber}});var require_query_params=__commonJS({"node_modules/airtable/lib/query_params.js"(exports){"use strict";init_define_process_env();init_shim();var __importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});exports.paramValidators=void 0;var typecheck_1=__importDefault(require_typecheck()),isString_1=__importDefault(require_isString()),isNumber_1=__importDefault(require_isNumber()),isPlainObject_1=__importDefault(require_isPlainObject());exports.paramValidators={fields:typecheck_1.default(typecheck_1.default.isArrayOf(isString_1.default),"the value for `fields` should be an array of strings"),filterByFormula:typecheck_1.default(isString_1.default,"the value for `filterByFormula` should be a string"),maxRecords:typecheck_1.default(isNumber_1.default,"the value for `maxRecords` should be a number"),pageSize:typecheck_1.default(isNumber_1.default,"the value for `pageSize` should be a number"),offset:typecheck_1.default(isNumber_1.default,"the value for `offset` should be a number"),sort:typecheck_1.default(typecheck_1.default.isArrayOf(function(obj){return isPlainObject_1.default(obj)&&isString_1.default(obj.field)&&(obj.direction===void 0||["asc","desc"].includes(obj.direction))}),'the value for `sort` should be an array of sort objects. Each sort object must have a string `field` value, and an optional `direction` value that is "asc" or "desc".'),view:typecheck_1.default(isString_1.default,"the value for `view` should be a string"),cellFormat:typecheck_1.default(function(cellFormat){return isString_1.default(cellFormat)&&["json","string"].includes(cellFormat)},'the value for `cellFormat` should be "json" or "string"'),timeZone:typecheck_1.default(isString_1.default,"the value for `timeZone` should be a string"),userLocale:typecheck_1.default(isString_1.default,"the value for `userLocale` should be a string")}}});var require_query=__commonJS({"node_modules/airtable/lib/query.js"(exports,module){"use strict";init_define_process_env();init_shim();var __assign=exports&&exports.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},isFunction_1=__importDefault(require_isFunction()),keys_1=__importDefault(require_keys()),record_1=__importDefault(require_record()),callback_to_promise_1=__importDefault(require_callback_to_promise()),has_1=__importDefault(require_has()),query_params_1=require_query_params(),Query=function(){function Query2(table,params){this._table=table,this._params=params,this.firstPage=callback_to_promise_1.default(firstPage,this),this.eachPage=callback_to_promise_1.default(eachPage,this,1),this.all=callback_to_promise_1.default(all,this)}return Query2.validateParams=function(params){for(var validParams={},ignoredKeys=[],errors=[],_i=0,_a=keys_1.default(params);_i<_a.length;_i++){var key=_a[_i],value=params[key];if(has_1.default(Query2.paramValidators,key)){var validator=Query2.paramValidators[key],validationResult=validator(value);validationResult.pass?validParams[key]=value:errors.push(validationResult.error)}else ignoredKeys.push(key)}return{validParams,ignoredKeys,errors}},Query2.paramValidators=query_params_1.paramValidators,Query2}();function firstPage(done){if(!isFunction_1.default(done))throw new Error("The first parameter to `firstPage` must be a function");this.eachPage(function(records){done(null,records)},function(error){done(error,null)})}function eachPage(pageCallback,done){var _this=this;if(!isFunction_1.default(pageCallback))throw new Error("The first parameter to `eachPage` must be a function");if(!isFunction_1.default(done)&&done!==void 0)throw new Error("The second parameter to `eachPage` must be a function or undefined");var path="/"+this._table._urlEncodedNameOrId(),params=__assign({},this._params),inner=function(){_this._table._base.runAction("get",path,params,null,function(err,response,result){if(err)done(err,null);else{var next=void 0;result.offset?(params.offset=result.offset,next=inner):next=function(){done(null)};var records=result.records.map(function(recordJson){return new record_1.default(_this._table,null,recordJson)});
76pageCallback(records,next)}})};inner()}function all(done){if(!isFunction_1.default(done))throw new Error("The first parameter to `all` must be a function");var allRecords=[];this.eachPage(function(pageRecords,fetchNextPage){allRecords.push.apply(allRecords,pageRecords),fetchNextPage()},function(err){err?done(err,null):done(null,allRecords)})}module.exports=Query}});var require_table=__commonJS({"node_modules/airtable/lib/table.js"(exports,module){"use strict";init_define_process_env();init_shim();var __assign=exports&&exports.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},isPlainObject_1=__importDefault(require_isPlainObject()),deprecate_1=__importDefault(require_deprecate()),query_1=__importDefault(require_query()),record_1=__importDefault(require_record()),callback_to_promise_1=__importDefault(require_callback_to_promise()),Table=function(){function Table2(base,tableId,tableName){if(!tableId&&!tableName)throw new Error("Table name or table ID is required");this._base=base,this.id=tableId,this.name=tableName,this.find=callback_to_promise_1.default(this._findRecordById,this),this.select=this._selectRecords.bind(this),this.create=callback_to_promise_1.default(this._createRecords,this),this.update=callback_to_promise_1.default(this._updateRecords.bind(this,!1),this),this.replace=callback_to_promise_1.default(this._updateRecords.bind(this,!0),this),this.destroy=callback_to_promise_1.default(this._destroyRecord,this),this.list=deprecate_1.default(this._listRecords.bind(this),"table.list","Airtable: `list()` is deprecated. Use `select()` instead."),this.forEach=deprecate_1.default(this._forEachRecord.bind(this),"table.forEach","Airtable: `forEach()` is deprecated. Use `select()` instead.")}return Table2.prototype._findRecordById=function(recordId,done){var record=new record_1.default(this,recordId);record.fetch(done)},Table2.prototype._selectRecords=function(params){if(params===void 0&&(params={}),arguments.length>1&&console.warn("Airtable: `select` takes only one parameter, but it was given "+arguments.length+" parameters. Use `eachPage` or `firstPage` to fetch records."),isPlainObject_1.default(params)){var validationResults=query_1.default.validateParams(params);if(validationResults.errors.length){var formattedErrors=validationResults.errors.map(function(error){return" * "+error});throw new Error("Airtable: invalid parameters for `select`:\n"+formattedErrors.join(` 77`))}return validationResults.ignoredKeys.length&&console.warn("Airtable: the following parameters to `select` will be ignored: "+validationResults.ignoredKeys.join(", ")),new query_1.default(this,validationResults.validParams)}else throw new Error("Airtable: the parameter for `select` should be a plain object or undefined.")},Table2.prototype._urlEncodedNameOrId=function(){return this.id||encodeURIComponent(this.name)},Table2.prototype._createRecords=function(recordsData,optionalParameters,done){var _this=this,isCreatingMultipleRecords=Array.isArray(recordsData);done||(done=optionalParameters,optionalParameters={});var requestData;isCreatingMultipleRecords?requestData=__assign({records:recordsData}
77,optionalParameters):requestData=__assign({fields:recordsData},optionalParameters),this._base.runAction("post","/"+this._urlEncodedNameOrId()+"/",{},requestData,function(err,resp,body){if(err){done(err);return}var result;isCreatingMultipleRecords?result=body.records.map(function(record){return new record_1.default(_this,record.id,record)}):result=new record_1.default(_this,body.id,body),done(null,result)})},Table2.prototype._updateRecords=function(isDestructiveUpdate,recordsDataOrRecordId,recordDataOrOptsOrDone,optsOrDone,done){var _this=this,opts;if(Array.isArray(recordsDataOrRecordId)){var recordsData=recordsDataOrRecordId;opts=isPlainObject_1.default(recordDataOrOptsOrDone)?recordDataOrOptsOrDone:{},done=optsOrDone||recordDataOrOptsOrDone;var method=isDestructiveUpdate?"put":"patch",requestData=__assign({records:recordsData},opts);this._base.runAction(method,"/"+this._urlEncodedNameOrId()+"/",{},requestData,function(err,resp,body){if(err){done(err);return}var result=body.records.map(function(record2){return new record_1.default(_this,record2.id,record2)});done(null,result)})}else{var recordId=recordsDataOrRecordId,recordData=recordDataOrOptsOrDone;opts=isPlainObject_1.default(optsOrDone)?optsOrDone:{},done=done||optsOrDone;var record=new record_1.default(this,recordId);isDestructiveUpdate?record.putUpdate(recordData,opts,done):record.patchUpdate(recordData,opts,done)}},Table2.prototype._destroyRecord=function(recordIdsOrId,done){var _this=this;if(Array.isArray(recordIdsOrId)){var queryParams={records:recordIdsOrId};this._base.runAction("delete","/"+this._urlEncodedNameOrId(),queryParams,null,function(err,response,results){if(err){done(err);return}var records=results.records.map(function(_a){var id=_a.id;return new record_1.default(_this,id,null)});done(null,records)})}else{var record=new record_1.default(this,recordIdsOrId);record.destroy(done)}},Table2.prototype._listRecords=function(limit,offset,opts,done){var _this=this;done||(done=opts,opts={});var listRecordsParameters=__assign({limit,offset},opts);this._base.runAction("get","/"+this._urlEncodedNameOrId()+"/",listRecordsParameters,null,function(err,response,results){if(err){done(err);return}var records=results.records.map(function(recordJson){return new record_1.default(_this,null,recordJson)});done(null,records,results.offset)})},Table2.prototype._forEachRecord=function(opts,callback,done){var _this=this;arguments.length===2&&(done=callback,callback=opts,opts={});var limit=Table2.__recordsPerPageForIteration||100,offset=null,nextPage=function(){_this._listRecords(limit,offset,opts,function(err,page,newOffset){if(err){done(err);return}for(var index=0;index<page.length;index++)callback(page[index]);newOffset?(offset=newOffset,nextPage()):done()})};nextPage()},Table2}();module.exports=Table}});var require_http_headers=__commonJS({"node_modules/airtable/lib/http_headers.js"(exports,module){"use strict";init_define_process_env();init_shim();var __importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},keys_1=__importDefault(require_keys()),isBrowser=typeof window<"u",HttpHeaders=function(){function HttpHeaders2(){this._headersByLowercasedKey={}}return HttpHeaders2.prototype.set=function(headerKey,headerValue){var lowercasedKey=headerKey.toLowerCase();lowercasedKey==="x-airtable-user-agent"&&(lowercasedKey="user-agent",headerKey="User-Agent"),this._headersByLowercasedKey[lowercasedKey]={headerKey,headerValue}},HttpHeaders2.prototype.toJSON=function(){for(var result={},_i=0,_a=keys_1.default(this._headersByLowercasedKey);_i<_a.length;_i++){var lowercasedKey=_a[_i],headerDefinition=this._headersByLowercasedKey[lowercasedKey],headerKey=void 0;isBrowser&&lowercasedKey==="user-agent"?headerKey="X-Airtable-User-Agent":headerKey=headerDefinition.headerKey,result[headerKey]=headerDefinition.headerValue}return result},HttpHeaders2}();module.exports=HttpHeaders}});var require_internal_config=__commonJS({"node_modules/airtable/lib/internal_config.json"(exports,module){module.exports={INITIAL_RETRY_DELAY_IF_RATE_LIMITED:5e3,MAX_RETRY_DELAY_IF_RATE_LIMITED:6e5}}});var require_exponential_backoff_with_jitter=__commonJS({"node_modules/airtable/lib/exponential_backoff_with_jitter.js"(exports,module){"use strict";init_define_process_env();init_shim();var __importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},internal_config_json_1=__importDefault(require_internal_config());function exponentialBackoffWithJitter(numberOfRetries){var rawBackoffTimeMs=internal_config_json_1.default.INITIAL_RETRY_DELAY_IF_RATE_LIMITED*Math.pow(2,numberOfRetries),clippedBackoffTimeMs=Math.min(internal_config_json_1.default.MAX_RETRY_DELAY_IF_RATE_LIMITED,rawBackoffTimeMs),jitteredBackoffTimeMs=Math.random()*clippedBackoffTimeMs;return jitteredBackoffTimeMs}module.exports=exponentialBackoffWithJitter}});var require_package_version_browser=__commonJS({"node_modules/airtable/lib/package_version_browser.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=define_process_env_default.npm_package_version}});var require_run_action=__commonJS({"node_modules/airtable/lib/run_action.js"(exports,module){"use strict";init_define_process_env();init_shim();var __importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},exponential_backoff_with_jitter_1=__importDefault(require_exponential_backoff_with_jitter()),object_to_query_param_string_1=__importDefault(require_object_to_query_param_string()),package_version_1=__importDefault(require_package_version_browser()),fetch_1=__importDefault(require_fetch()),abort_controller_1=__importDefault(require_abort_controller()),userAgent="Airtable.js/"+package_version_1.default;function runAction(base,method,path,queryParams,bodyData,callback,numAttempts){var url=base._airtable._endpointUrl+"/v"+base._airtable._apiVersionMajor+"/"+base._id+path+"?"+object_to_query_param_string_1.default(queryParams),headers={authorization:"Bearer "+base._airtable._apiKey,"x-api-version":base._airtable._apiVersion,"x-airtable-application-id":base.getId(),"content-type":"application/json"},isBrowser=typeof window<"u";isBrowser?headers["x-airtable-user-agent"]=userAgent:headers["User-Agent"]=userAgent;var controller=new abort_controller_1.default,normalizedMethod=method.toUpperCase(),options={method:normalizedMethod,headers,signal:controller.signal};bodyData!==null&&(normalizedMethod==="GET"||normalizedMethod==="HEAD"?console.warn("body argument to runAction are ignored with GET or HEAD requests"):options.body=JSON.stringify(bodyData));var timeout=setTimeout(function(){controller.abort()},base._airtable._requestTimeout);fetch_1.default(url,options).then(function(resp){if(clearTimeout(timeout),resp.status===429&&!base._airtable._noRetryIfRateLimited){var backoffDelayMs=exponential_backoff_with_jitter_1.default(numAttempts);setTimeout(function(){runAction(base,method,path,queryParams,bodyData,callback,numAttempts+1)},backoffDelayMs)}else resp.json().then(function(body){var error=base._checkStatusForError(resp.status,body),r={};
77Object.keys(resp).forEach(function(property){r[property]=resp[property]}),r.body=body,r.statusCode=resp.status,callback(error,r,body)}).catch(function(){callback(base._checkStatusForError(resp.status))})}).catch(function(error){clearTimeout(timeout),callback(error)})}module.exports=runAction}});var require_base=__commonJS({"node_modules/airtable/lib/base.js"(exports,module){"use strict";init_define_process_env();init_shim();var __assign=exports&&exports.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},get_1=__importDefault(require_get()),isPlainObject_1=__importDefault(require_isPlainObject()),keys_1=__importDefault(require_keys()),fetch_1=__importDefault(require_fetch()),abort_controller_1=__importDefault(require_abort_controller()),object_to_query_param_string_1=__importDefault(require_object_to_query_param_string()),airtable_error_1=__importDefault(require_airtable_error()),table_1=__importDefault(require_table()),http_headers_1=__importDefault(require_http_headers()),run_action_1=__importDefault(require_run_action()),package_version_1=__importDefault(require_package_version_browser()),exponential_backoff_with_jitter_1=__importDefault(require_exponential_backoff_with_jitter()),userAgent="Airtable.js/"+package_version_1.default,Base=function(){function Base2(airtable2,baseId){this._airtable=airtable2,this._id=baseId}return Base2.prototype.table=function(tableName){return new table_1.default(this,null,tableName)},Base2.prototype.makeRequest=function(options){var _this=this,_a;options===void 0&&(options={});var method=get_1.default(options,"method","GET").toUpperCase(),url=this._airtable._endpointUrl+"/v"+this._airtable._apiVersionMajor+"/"+this._id+get_1.default(options,"path","/")+"?"+object_to_query_param_string_1.default(get_1.default(options,"qs",{})),controller=new abort_controller_1.default,headers=this._getRequestHeaders(Object.assign({},this._airtable._customHeaders,(_a=options.headers)!==null&&_a!==void 0?_a:{})),requestOptions={method,headers,signal:controller.signal};"body"in options&&_canRequestMethodIncludeBody(method)&&(requestOptions.body=JSON.stringify(options.body));var timeout=setTimeout(function(){controller.abort()},this._airtable._requestTimeout);return new Promise(function(resolve,reject){fetch_1.default(url,requestOptions).then(function(resp){if(clearTimeout(timeout),resp.status===429&&!_this._airtable._noRetryIfRateLimited){var numAttempts_1=get_1.default(options,"_numAttempts",0),backoffDelayMs=exponential_backoff_with_jitter_1.default(numAttempts_1);setTimeout(function(){var newOptions=__assign(__assign({},options),{_numAttempts:numAttempts_1+1});_this.makeRequest(newOptions).then(resolve).catch(reject)},backoffDelayMs)}else resp.json().then(function(body){var err=_this._checkStatusForError(resp.status,body)||_getErrorForNonObjectBody(resp.status,body);err?reject(err):resolve({statusCode:resp.status,headers:resp.headers,body})}).catch(function(){var err=_getErrorForNonObjectBody(resp.status);reject(err)})}).catch(function(err){clearTimeout(timeout),err=new airtable_error_1.default("CONNECTION_ERROR",err.message,null),reject(err)})})},Base2.prototype.runAction=function(method,path,queryParams,bodyData,callback){run_action_1.default(this,method,path,queryParams,bodyData,callback,0)},Base2.prototype._getRequestHeaders=function(headers){var result=new http_headers_1.default;result.set("Authorization","Bearer "+this._airtable._apiKey),result.set("User-Agent",userAgent),result.set("Content-Type","application/json");for(var _i=0,_a=keys_1.default(headers);_i<_a.length;_i++){var headerKey=_a[_i];result.set(headerKey,headers[headerKey])}return result.toJSON()},Base2.prototype._checkStatusForError=function(statusCode,body){var _a=(body??{error:{}}).error,error=_a===void 0?{}:_a,type=error.type,message=error.message;return statusCode===401?new airtable_error_1.default("AUTHENTICATION_REQUIRED","You should provide valid api key to perform this operation",statusCode):statusCode===403?new airtable_error_1.default("NOT_AUTHORIZED","You are not authorized to perform this operation",statusCode):statusCode===404?new airtable_error_1.default("NOT_FOUND",message??"Could not find what you are looking for",statusCode):statusCode===413?new airtable_error_1.default("REQUEST_TOO_LARGE","Request body is too large",statusCode):statusCode===422?new airtable_error_1.default(type??"UNPROCESSABLE_ENTITY",message??"The operation cannot be processed",statusCode):statusCode===429?new airtable_error_1.default("TOO_MANY_REQUESTS","You have made too many requests in a short period of time. Please retry your request later",statusCode):statusCode===500?new airtable_error_1.default("SERVER_ERROR","Try again. If the problem persists, contact support.",statusCode):statusCode===503?new airtable_error_1.default("SERVICE_UNAVAILABLE","The service is temporarily unavailable. Please retry shortly.",statusCode):statusCode>
77=400?new airtable_error_1.default(type??"UNEXPECTED_ERROR",message??"An unexpected error occurred",statusCode):null},Base2.prototype.doCall=function(tableName){return this.table(tableName)},Base2.prototype.getId=function(){return this._id},Base2.createFunctor=function(airtable2,baseId){var base=new Base2(airtable2,baseId),baseFn=function(tableName){return base.doCall(tableName)};return baseFn._base=base,baseFn.table=base.table.bind(base),baseFn.makeRequest=base.makeRequest.bind(base),baseFn.runAction=base.runAction.bind(base),baseFn.getId=base.getId.bind(base),baseFn},Base2}();function _canRequestMethodIncludeBody(method){return method!=="GET"&&method!=="DELETE"}function _getErrorForNonObjectBody(statusCode,body){return isPlainObject_1.default(body)?null:new airtable_error_1.default("UNEXPECTED_ERROR","The response from Airtable was invalid JSON. Please try again soon.",statusCode)}module.exports=Base}});var require_airtable=__commonJS({"node_modules/airtable/lib/airtable.js"(exports,module){"use strict";init_define_process_env();init_shim();var __importDefault=exports&&exports.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}},base_1=__importDefault(require_base()),record_1=__importDefault(require_record()),table_1=__importDefault(require_table()),airtable_error_1=__importDefault(require_airtable_error()),Airtable2=function(){function Airtable3(opts){opts===void 0&&(opts={});var defaultConfig=Airtable3.default_config(),apiVersion=opts.apiVersion||Airtable3.apiVersion||defaultConfig.apiVersion;if(Object.defineProperties(this,{_apiKey:{value:opts.apiKey||Airtable3.apiKey||defaultConfig.apiKey},_apiVersion:{value:apiVersion},_apiVersionMajor:{value:apiVersion.split(".")[0]},_customHeaders:{value:opts.customHeaders||{}},_endpointUrl:{value:opts.endpointUrl||Airtable3.endpointUrl||defaultConfig.endpointUrl},_noRetryIfRateLimited:{value:opts.noRetryIfRateLimited||Airtable3.noRetryIfRateLimited||defaultConfig.noRetryIfRateLimited},_requestTimeout:{value:opts.requestTimeout||Airtable3.requestTimeout||defaultConfig.requestTimeout}}),!this._apiKey)throw new Error("An API key is required to connect to Airtable")}return Airtable3.prototype.base=function(baseId){return base_1.default.createFunctor(this,baseId)},Airtable3.default_config=function(){return{endpointUrl:define_process_env_default.AIRTABLE_ENDPOINT_URL||"https://api.airtable.com",apiVersion:"0.1.0",apiKey:define_process_env_default.AIRTABLE_API_KEY,noRetryIfRateLimited:!1,requestTimeout:300*1e3}},Airtable3.configure=function(_a){var apiKey=_a.apiKey,endpointUrl=_a.endpointUrl,apiVersion=_a.apiVersion,noRetryIfRateLimited=_a.noRetryIfRateLimited,requestTimeout=_a.requestTimeout;Airtable3.apiKey=apiKey,Airtable3.endpointUrl=endpointUrl,Airtable3.apiVersion=apiVersion,Airtable3.noRetryIfRateLimited=noRetryIfRateLimited,Airtable3.requestTimeout=requestTimeout},Airtable3.base=function(baseId){return new Airtable3().base(baseId)},Airtable3.Base=base_1.default,Airtable3.Record=record_1.default,Airtable3.Table=table_1.default,Airtable3.Error=airtable_error_1.default,Airtable3}();module.exports=Airtable2}});var require_moment=__commonJS({"node_modules/moment/moment.js"(exports,module){init_define_process_env();init_shim();(function(global,factory){typeof exports=="object"&&typeof module<"u"?module.exports=factory():typeof define=="function"&&define.amd?define(factory):global.moment=factory()})(exports,function(){"use strict";var hookCallback;function hooks(){return hookCallback.apply(null,arguments)}function setHookCallback(callback){hookCallback=callback}function isArray(input){return input instanceof Array||Object.prototype.toString.call(input)==="[object Array]"}function isObject(input){return input!=null&&Object.prototype.toString.call(input)==="[object Object]"}function hasOwnProp(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
vendor: 31,585 bytes, lines 77-80
77function isObjectEmpty(obj){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(obj).length===0;var k;for(k in obj)if(hasOwnProp(obj,k))return!1;return!0}function isUndefined(input){return input===void 0}function isNumber(input){return typeof input=="number"||Object.prototype.toString.call(input)==="[object Number]"}function isDate(input){return input instanceof Date||Object.prototype.toString.call(input)==="[object Date]"}function map(arr,fn){var res=[],i,arrLen=arr.length;for(i=0;i<arrLen;++i)res.push(fn(arr[i],i));return res}function extend(a,b){for(var i in b)hasOwnProp(b,i)&&(a[i]=b[i]);return hasOwnProp(b,"toString")&&(a.toString=b.toString),hasOwnProp(b,"valueOf")&&(a.valueOf=b.valueOf),a}function createUTC(input,format2,locale2,strict){return createLocalOrUTC(input,format2,locale2,strict,!0).utc()}function defaultParsingFlags(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function getParsingFlags(m){return m._pf==null&&(m._pf=defaultParsingFlags()),m._pf}var some;Array.prototype.some?some=Array.prototype.some:some=function(fun){var t=Object(this),len=t.length>>>0,i;for(i=0;i<len;i++)if(i in t&&fun.call(this,t[i],i,t))return!0;return!1};function isValid(m){var flags=null,parsedParts=!1,isNowValid=m._d&&!isNaN(m._d.getTime());if(isNowValid&&(flags=getParsingFlags(m),parsedParts=some.call(flags.parsedDateParts,function(i){return i!=null}),isNowValid=flags.overflow<0&&!flags.empty&&!flags.invalidEra&&!flags.invalidMonth&&!flags.invalidWeekday&&!flags.weekdayMismatch&&!flags.nullInput&&!flags.invalidFormat&&!flags.userInvalidated&&(!flags.meridiem||flags.meridiem&&parsedParts),m._strict&&(isNowValid=isNowValid&&flags.charsLeftOver===0&&flags.unusedTokens.length===0&&flags.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(m))m._isValid=isNowValid;else return isNowValid;return m._isValid}function createInvalid(flags){var m=createUTC(NaN);return flags!=null?extend(getParsingFlags(m),flags):getParsingFlags(m).userInvalidated=!0,m}var momentProperties=hooks.momentProperties=[],updateInProgress=!1;function copyConfig(to2,from2){var i,prop,val,momentPropertiesLen=momentProperties.length;if(isUndefined(from2._isAMomentObject)||(to2._isAMomentObject=from2._isAMomentObject),isUndefined(from2._i)||(to2._i=from2._i),isUndefined(from2._f)||(to2._f=from2._f),isUndefined(from2._l)||(to2._l=from2._l),isUndefined(from2._strict)||(to2._strict=from2._strict),isUndefined(from2._tzm)||(to2._tzm=from2._tzm),isUndefined(from2._isUTC)||(to2._isUTC=from2._isUTC),isUndefined(from2._offset)||(to2._offset=from2._offset),isUndefined(from2._pf)||(to2._pf=getParsingFlags(from2)),isUndefined(from2._locale)||(to2._locale=from2._locale),momentPropertiesLen>0)for(i=0;i<momentPropertiesLen;i++)prop=momentProperties[i],val=from2[prop],isUndefined(val)||(to2[prop]=val);return to2}function Moment(config){copyConfig(this,config),this._d=new Date(config._d!=null?config._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),updateInProgress===!1&&(updateInProgress=!0,hooks.updateOffset(this),updateInProgress=!1)}function isMoment(obj){return obj instanceof Moment||obj!=null&&obj._isAMomentObject!=null}function warn(msg){hooks.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+msg)}function deprecate(msg,fn){var firstTime=!0;return extend(function(){if(hooks.deprecationHandler!=null&&hooks.deprecationHandler(null,msg),firstTime){var args=[],arg,i,key,argLen=arguments.length;for(i=0;i<argLen;i++){if(arg="",typeof arguments[i]=="object"){arg+=` 78[`+i+"] ";for(key in arguments[0])hasOwnProp(arguments[0],key)&&(arg+=key+": "+arguments[0][key]+", ");arg=arg.slice(0,-2)}else arg=arguments[i];args.push(arg)}warn(msg+` 79Arguments: `+Array.prototype.slice.call(args).join("")+` 80`+new Error().stack),firstTime=!1}return fn.apply(this,arguments)},fn)}var deprecations={};function deprecateSimple(name,msg){hooks.deprecationHandler!=null&&hooks.deprecationHandler(name,msg),deprecations[name]||(warn(msg),deprecations[name]=!0)}hooks.suppressDeprecationWarnings=!1,hooks.deprecationHandler=null;function isFunction(input){return typeof Function<"u"&&input instanceof Function||Object.prototype.toString.call(input)==="[object Function]"}function set(config){var prop,i;for(i in config)hasOwnProp(config,i)&&(prop=config[i],isFunction(prop)?this[i]=prop:this["_"+i]=prop);this._config=config,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mergeConfigs(parentConfig,childConfig){var res=extend({},parentConfig),prop;for(prop in childConfig)hasOwnProp(childConfig,prop)&&(isObject(parentConfig[prop])&&isObject(childConfig[prop])?(res[prop]={},extend(res[prop],parentConfig[prop]),extend(res[prop],childConfig[prop])):childConfig[prop]!=null?res[prop]=childConfig[prop]:delete res[prop]);for(prop in parentConfig)hasOwnProp(parentConfig,prop)&&!hasOwnProp(childConfig,prop)&&isObject(parentConfig[prop])&&(res[prop]=extend({},res[prop]));return res}function Locale(config){config!=null&&this.set(config)}var keys;Object.keys?keys=Object.keys:keys=function(obj){var i,res=[];for(i in obj)hasOwnProp(obj,i)&&res.push(i);return res};var defaultCalendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function calendar(key,mom,now2){var output=this._calendar[key]||this._calendar.sameElse;return isFunction(output)?output.call(mom,now2):output}function zeroFill(number,targetLength,forceSign){var absNumber=""+Math.abs(number),zerosToFill=targetLength-absNumber.length,sign2=number>=0;return(sign2?forceSign?"+":"":"-")+Math.pow(10,Math.max(0,zerosToFill)).toString().substr(1)+absNumber}var formattingTokens=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,formatFunctions={},formatTokenFunctions={};function addFormatToken(token2,padded,ordinal2,callback){var func=callback;typeof callback=="string"&&(func=function(){return this[callback]()}),token2&&(formatTokenFunctions[token2]=func),padded&&(formatTokenFunctions[padded[0]]=function(){return zeroFill(func.apply(this,arguments),padded[1],padded[2])}),ordinal2&&(formatTokenFunctions[ordinal2]=function(){return this.localeData().ordinal(func.apply(this,arguments),token2)})}function removeFormattingTokens(input){return input.match(/\[[\s\S]/)?input.replace(/^\[|\]$/g,""):input.replace(/\\/g,"")}function makeFormatFunction(format2){var array=format2.match(formattingTokens),i,length;for(i=0,length=array.length;i<length;i++)formatTokenFunctions[array[i]]?array[i]=formatTokenFunctions[array[i]]:array[i]=removeFormattingTokens(array[i]);return function(mom){var output="",i2;for(i2=0;i2<length;i2++)output+=isFunction(array[i2])?array[i2].call(mom,format2):array[i2];return output}}function formatMoment(m,format2){return m.isValid()?(format2=expandFormat(format2,m.localeData()),formatFunctions[format2]=formatFunctions[format2]||makeFormatFunction(format2),formatFunctions[format2](m)):m.localeData().invalidDate()}function expandFormat(format2,locale2){var i=5;function replaceLongDateFormatTokens(input){return locale2.longDateFormat(input)||input}for(localFormattingTokens.lastIndex=0;i>=0&&localFormattingTokens.test(format2);)format2=format2.replace(localFormattingTokens,replaceLongDateFormatTokens),localFormattingTokens.lastIndex=0,i-=1;return format2}var defaultLongDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function longDateFormat(key){var format2=this._longDateFormat[key],formatUpper=this._longDateFormat[key.toUpperCase()];return format2||!formatUpper?format2:(this._longDateFormat[key]=formatUpper.match(formattingTokens).map(function(tok){return tok==="MMMM"||tok==="MM"||tok==="DD"||tok==="dddd"?tok.slice(1):tok}).join(""),this._longDateFormat[key])}var defaultInvalidDate="Invalid date";function invalidDate(){return this._invalidDate}var defaultOrdinal="%d",defaultDayOfMonthOrdinalParse=/\d{1,2}/;function ordinal(number){return this._ordinal.replace("%d",number)}var defaultRelativeTime={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function relativeTime(number,withoutSuffix,string,isFuture){var output=this._relativeTime[string];return isFunction(output)?output(number,withoutSuffix,string,isFuture):output.replace(/%d/i,number)}function pastFuture(diff2,output){var format2=this._relativeTime[diff2>0?"future":"past"];return isFunction(format2)?format2(output):format2.replace(/%s/i,output)}var aliases={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function normalizeUnits(units){return typeof units=="string"?aliases[units]||aliases[units.toLowerCase()]:void 0}function normalizeObjectUnits(inputObject){var normalizedInput={},normalizedProp,prop;for(prop in inputObject)hasOwnProp(inputObject,prop)&&(normalizedProp=normalizeUnits(prop),normalizedProp&&(normalizedInput[normalizedProp]=inputObject[prop]));return normalizedInput}var priorities={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function getPrioritizedUnits(unitsObj){var units=[],u2;for(u2 in unitsObj)hasOwnProp(unitsObj,u2)&&units.push({unit:u2,priority:priorities[u2]});return units.sort(function(a,b){return a.priority-b.priority}),units}var match1=/\d/,match2=/\d\d/,match3=/\d{3}/,match4=/\d{4}/,match6=/[+-]?\d{6}/,match1to2=/\d\d?/,match3to4=/\d\d\d\d?/,match5to6=/\d\d\d\d\d\d?/,match1to3=/\d{1,3}/,match1to4=/\d{1,4}/,match1to6=/[+-]?\d{1,6}/,matchUnsigned=/\d+/,matchSigned=/[+-]?\d+/,matchOffset=/Z|[+-]\d\d:?\d\d/gi,matchShortOffset=/Z|[+-]\d\d(?::?\d\d)?/gi,matchTimestamp=/[+-]?\d+(\.\d{1,3})?/,matchWord=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,match1to2NoLeadingZero=/^[1-9]\d?/,match1to2HasZero=/^([1-9]\d|\d)/,regexes;regexes={};function addRegexToken(token2,regex,strictRegex){regexes[token2]=isFunction(regex)?regex:function(isStrict,localeData2){return isStrict&&strictRegex?strictRegex:regex}}function getParseRegexForToken(token2,config){return hasOwnProp(regexes,token2)?regexes[token2](config._strict,config._locale):new RegExp(unescapeFormat(token2))}function unescapeFormat(s){return regexEscape(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(matched,p1,p2,p3,p4){return p1||p2||p3||p4}))}function regexEscape(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function absFloor(number){return number<0?Math.ceil(number)||0:Math.floor(number)}function toInt(argumentForCoercion){var coercedNumber=+argumentForCoercion,value=0;return coercedNumber!==0&&isFinite(coercedNumber)&&(value=absFloor(coercedNumber)),value}var tokens={};function addParseToken(token2,callback){var i,func=callback,tokenLen;for(typeof token2=="string"&&(token2=[token2]),isNumber(callback)&&(func=function(input,array){array[callback]=toInt(input)}),tokenLen=token2.length,i=0;i<tokenLen;i++)tokens[token2[i]]=func}function addWeekParseToken(token2,callback){addParseToken(token2,function(input,array,config,token3){config._w=config._w||{},callback(input,config._w,config,token3)})}function addTimeToArrayFromToken(token2,input,config){input!=null&&hasOwnProp(tokens,token2)&&tokens[token2](input,config._a,config,token2)}function isLeapYear(year){return year%4===0&&year%100!==0||year%400===0}var YEAR=0,MONTH=1,DATE=2,HOUR=3,MINUTE=4,SECOND=5,MILLISECOND=6,WEEK=7,WEEKDAY=8;addFormatToken("Y",0,0,function(){var y=this.year();return y<=9999?zeroFill(y,4):"+"+y}),addFormatToken(0,["YY",2],0,function(){return this.year()%100}),addFormatToken(0,["YYYY",4],0,"year"),addFormatToken(0,["YYYYY",5],0,"year"),addFormatToken(0,["YYYYYY",6,!0],0,"year"),addRegexToken("Y",matchSigned),addRegexToken("YY",match1to2,match2),addRegexToken("YYYY",match1to4,match4),addRegexToken("YYYYY",match1to6,match6),addRegexToken("YYYYYY",match1to6,match6),addParseToken(["YYYYY","YYYYYY"],YEAR),addParseToken("YYYY",function(input,array){array[YEAR]=input.length===2?hooks.parseTwoDigitYear(input):toInt(input)}),addParseToken("YY",function(input,array){array[YEAR]=hooks.parseTwoDigitYear(input)}),addParseToken("Y",function(input,array){array[YEAR]=parseInt(input,10)});function daysInYear(year){return isLeapYear(year)?366:365}hooks.parseTwoDigitYear=function(input){return toInt(input)+(toInt(input)>68?1900:2e3)};var getSetYear=makeGetSet("FullYear",!0);function getIsLeapYear(){return isLeapYear(this.year())}function makeGetSet(unit,keepTime){return function(value){return value!=null?(set$1(this,unit,value),hooks.updateOffset(this,keepTime),this):get(this,unit)}}function get(mom,unit){if(!mom.isValid())return NaN;var d=mom._d,isUTC=mom._isUTC;switch(unit){case"Milliseconds":return isUTC?d.getUTCMilliseconds():d.getMilliseconds();case"Seconds":return isUTC?d.getUTCSeconds():d.getSeconds();case"Minutes":return isUTC?d.getUTCMinutes():d.getMinutes();case"Hours":return isUTC?d.getUTCHours():d.getHours();case"Date":return isUTC?d.getUTCDate():d.getDate();case"Day":return isUTC?d.getUTCDay():d.getDay();case"Month":return isUTC?d.getUTCMonth():d.getMonth();case"FullYear":return isUTC?d.getUTCFullYear():d.getFullYear();default:return NaN}}function set$1(mom,unit,value){var d,isUTC,year,month,date;if(!(!mom.isValid()||isNaN(value))){switch(d=mom._d,isUTC=mom._isUTC,unit){case"Milliseconds":return void(isUTC?d.setUTCMilliseconds(value):d.setMilliseconds(value));case"Seconds":return void(isUTC?d.setUTCSeconds(value):d.setSeconds(value));case"Minutes":return void(isUTC?d.setUTCMinutes(value):d.setMinutes(value));case"Hours":return void(isUTC?d.setUTCHours(value):d.setHours(value));case"Date":return void(isUTC?d.setUTCDate(value):d.setDate(value));case"FullYear":break;default:return}year=value,month=mom.month(),date=mom.date(),date=date===29&&month===1&&!isLeapYear(year)?28:date,isUTC?d.setUTCFullYear(year,month,date):d.setFullYear(year,month,date)}}function stringGet(units){return units=normalizeUnits(units),isFunction(this[units])?this[units]():this}function stringSet(units,value){if(typeof units=="object"){units=normalizeObjectUnits(units);var prioritized=getPrioritizedUnits(units),i,prioritizedLen=prioritized.length;for(i=0;i<prioritizedLen;i++)this[prioritized[i].unit](units[prioritized[i].unit])}else if(units=normalizeUnits(units),isFunction(this[units]))return this[units](value);return this}function mod(n,x){return(n%x+x)%x}var indexOf;Array.prototype.indexOf?indexOf=Array.prototype.indexOf:indexOf=function(o){var i;for(i=0;i<this.length;++i)if(this[i]===o)return i;return-1};function daysInMonth(year,month){if(isNaN(year)||isNaN(month))return NaN;var modMonth=mod(month,12);return year+=(month-modMonth)/12,modMonth===1?isLeapYear(year)?29:28:31-modMonth%7%2}addFormatToken("M",["MM",2],"Mo",function(){return this.month()+1}),addFormatToken("MMM",0,0,function(format2){return this.localeData().monthsShort(this,format2)}),addFormatToken("MMMM",0,0,function(format2){return this.localeData().months(this,format2)}),addRegexToken("M",match1to2,match1to2NoLeadingZero),addRegexToken("MM",match1to2,match2),addRegexToken("MMM",function(isStrict,locale2){return locale2.monthsShortRegex(isStrict)}),addRegexToken("MMMM",function(isStrict,locale2){return locale2.monthsRegex(isStrict)}),addParseToken(["M","MM"],function(input,array){array[MONTH]=toInt(input)-1}),addParseToken(["MMM","MMMM"],function(input,array,config,token2){var month=config._locale.monthsParse(input,token2,config._strict);month!=null?array[MONTH]=month:getParsingFlags(config).invalidMonth=input});var defaultLocaleMonths="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),defaultLocaleMonthsShort="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),MONTHS_IN_FORMAT=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,defaultMonthsShortRegex=matchWord,defaultMonthsRegex=matchWord;function localeMonths(m,format2){return m?isArray(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||MONTHS_IN_FORMAT).test(format2)?"format":"standalone"][m.month()]:isArray(this._months)?this._months:this._months.standalone}function localeMonthsShort(m,format2){return m?isArray(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[MONTHS_IN_FORMAT.test(format2)?"format":"standalone"][m.month()]:isArray(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function handleStrictParse(monthName,format2,strict){var i,ii,mom,llc=monthName.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)mom=createUTC([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(mom,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(mom,"").toLocaleLowerCase();return strict?format2==="MMM"?(ii=indexOf.call(this._shortMonthsParse,llc),ii!==-1?ii:null):(ii=indexOf.call(this._longMonthsParse,llc),ii!==-1?ii:null):format2==="MMM"?(ii=indexOf.call(this._shortMonthsParse,llc),ii!==-1?ii:(ii=indexOf.call(this._longMonthsParse,llc),ii!==-1?ii:null)):(ii=indexOf.call(this._longMonthsParse,llc),ii!==-1?ii:(ii=indexOf.call(this._shortMonthsParse,llc),ii!==-1?ii:null))}function localeMonthsParse(monthName,format2,strict){var i,mom,regex;if(this._monthsParseExact)return handleStrictParse.call(this,monthName,format2,strict);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(mom=createUTC([2e3,i]),strict&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(mom,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(mom,"").replace(".","")+"$","i")),!strict&&!this._monthsParse[i]&&(regex="^"+this.months(mom,"")+"|^"+this.monthsShort(mom,""),this._monthsParse[i]=new RegExp(regex.replace(".",""),"i")),strict&&format2==="MMMM"&&this._longMonthsParse[i].test(monthName))return i;if(strict&&format2==="MMM"&&this._shortMonthsParse[i].test(monthName))return i;if(!strict&&this._monthsParse[i].test(monthName))return i}}function setMonth(mom,value){if(!mom.isValid())return mom;if(typeof value=="string"){if(/^\d+$/.test(value))value=toInt(value);else if(value=mom.localeData().monthsParse(value),!isNumber(value))return mom}var month=value,date=mom.date();return date=date<29?date:Math.min(date,daysInMonth(mom.year(),month)),mom._isUTC?mom._d.setUTCMonth(month,date):mom._d.setMonth(month,date),mom}function getSetMonth(value){return value!=null?(setMonth(this,value),hooks.updateOffset(this,!0),this):get(this,"Month")}function getDaysInMonth(){return daysInMonth(this.year(),this.month())}function monthsShortRegex(isStrict){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),isStrict?this._monthsShortStrictRegex:this._monthsShortRegex):(hasOwnProp(this,"_monthsShortRegex")||(this._monthsShortRegex=defaultMonthsShortRegex),this._monthsShortStrictRegex&&isStrict?this._monthsShortStrictRegex:this._monthsShortRegex)}function monthsRegex(isStrict){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),isStrict?this._monthsStrictRegex:this._monthsRegex):(hasOwnProp(this,"_monthsRegex")||(this._monthsRegex=defaultMonthsRegex),this._monthsStrictRegex&&isStrict?this._monthsStrictRegex:this._monthsRegex)}function computeMonthsParse(){function cmpLenRev(a,b){return b.length-a.length}var shortPieces=[],longPieces=[],mixedPieces=[],i,mom,shortP,longP;for(i=0;i<12;i++)mom=createUTC([2e3,i]),shortP=regexEscape(this.monthsShort(mom,"")),longP=regexEscape(this.months(mom,"")),shortPieces.push(shortP),longPieces.push(longP),mixedPieces.push(longP),mixedPieces.push(shortP);shortPieces.sort(cmpLenRev),longPieces.sort(cmpLenRev),mixedPieces.sort(cmpLenRev),this._monthsRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+longPieces.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+shortPieces.join("|")+")","i")}function createDate(y,m,d,h,M,s,ms){var date;return y<100&&y>=0?(date=new Date(y+400,m,d,h,M,s,ms),isFinite(date.getFullYear())&&date.setFullYear(y)):date=new Date(y,m,d,h,M,s,ms),date}function createUTCDate(y){var date,args;return y<100&&y>=0?(args=Array.prototype.slice.call(arguments),args[0]=y+400,date=new Date(Date.UTC.apply(null,args)),isFinite(date.getUTCFullYear())&&date.setUTCFullYear(y)):date=new Date(Date.UTC.apply(null,arguments)),date}function firstWeekOffset(year,dow,doy){var fwd=7+dow-doy,fwdlw=(7+createUTCDate(year,0,fwd).getUTCDay()-dow)%7;return-fwdlw+fwd-1}function dayOfYearFromWeeks(year,week,weekday,dow,doy){var localWeekday=(7+weekday-dow)%7,weekOffset=firstWeekOffset(year,dow,doy),dayOfYear=1+7*(week-1)+localWeekday+weekOffset,resYear,resDayOfYear;return dayOfYear<=0?(resYear=year-1,resDayOfYear=daysInYear(resYear)+dayOfYear):dayOfYear>daysInYear(year)?(resYear=year+1,resDayOfYear=dayOfYear-daysInYear(year)):(resYear=year,resDayOfYear=dayOfYear),{year:resYear,dayOfYear:resDayOfYear}}function weekOfYear(mom,dow,doy){var weekOffset=firstWeekOffset(mom.year(),dow,doy),week=Math.floor((mom.dayOfYear()-weekOffset-1)/7)+1,resWeek,resYear;return week<1?(resYear=mom.year()-1,resWeek=week+weeksInYear(resYear,dow,doy)):week>weeksInYear(mom.year(),dow,doy)?(resWeek=week-weeksInYear(mom.year(),dow,doy),resYear=mom.year()+1):(resYear=mom.year(),resWeek=week),{week:resWeek,year:resYear}}function weeksInYear(year,dow,doy){var weekOffset=firstWeekOffset(year,dow,doy),weekOffsetNext=firstWeekOffset(year+1,dow,doy);return(daysInYear(year)-weekOffset+weekOffsetNext)/7}addFormatToken("w",["ww",2],"wo","week"),addFormatToken("W",["WW",2],"Wo","isoWeek"),addRegexToken("w",match1to2,match1to2NoLeadingZero),addRegexToken("ww",match1to2,match2),addRegexToken("W",match1to2,match1to2NoLeadingZero),addRegexToken("WW",match1to2,match2),addWeekParseToken(["w","ww","W","WW"],function(input,week,config,token2){week[token2.substr(0,1)]=toInt(input)});function localeWeek(mom){return weekOfYear(mom,this._week.dow,this._week.doy).week}var defaultLocaleWeek={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(input){var week=this.localeData().week(this);return input==null?week:this.add((input-week)*7,"d")}function getSetISOWeek(input){var week=weekOfYear(this,1,4).week;return input==null?week:this.add((input-week)*7,"d")}addFormatToken("d",0,"do","day"),addFormatToken("dd",0,0,function(format2){return this.localeData().weekdaysMin(this,format2)}),addFormatToken("ddd",0,0,function(format2){return this.localeData().weekdaysShort(this,format2)}),addFormatToken("dddd",0,0,function(format2){return this.localeData().weekdays(this,format2)}),addFormatToken("e",0,0,"weekday"),addFormatToken("E",0,0,"isoWeekday"),addRegexToken("d",match1to2),addRegexToken("e",match1to2),addRegexToken("E",match1to2),addRegexToken("dd",function(isStrict,locale2){return locale2.weekdaysMinRegex(isStrict)}),addRegexToken("ddd",function(isStrict,locale2){return locale2.weekdaysShortRegex(isStrict)}),addRegexToken("dddd",function(isStrict,locale2){return locale2.weekdaysRegex(isStrict)}),addWeekParseToken(["dd","ddd","dddd"],function(input,week,config,token2){var weekday=config._locale.weekdaysParse(input,token2,config._strict);weekday!=null?week.d=weekday:getParsingFlags(config).invalidWeekday=input}),addWeekParseToken(["d","e","E"],function(input,week,config,token2){week[token2]=toInt(input)});function parseWeekday(input,locale2){return typeof input!="string"?input:isNaN(input)?(input=locale2.weekdaysParse(input),typeof input=="number"?input:null):parseInt(input,10)}function parseIsoWeekday(input,locale2){return typeof input=="string"?locale2.weekdaysParse(input)%7||7:isNaN(input)?null:input}function shiftWeekdays(ws,n){return ws.slice(n,7).concat(ws.slice(0,n))}var defaultLocaleWeekdays="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),defaultLocaleWeekdaysShort="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),defaultLocaleWeekdaysMin="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),defaultWeekdaysRegex=matchWord,defaultWeekdaysShortRegex=matchWord,defaultWeekdaysMinRegex=matchWord;function localeWeekdays(m,format2){var weekdays=isArray(this._weekdays)?this._weekdays:this._weekdays[m&&m!==!0&&this._weekdays.isFormat.test(format2)?"format":"standalone"];return m===!0?shiftWeekdays(weekdays,this._week.dow):m?weekdays[m.day()]:weekdays}function localeWeekdaysShort(m){return m===!0?shiftWeekdays(this._weekdaysShort,this._week.dow):m?this._weekdaysShort[m.day()]:this._weekdaysShort}function localeWeekdaysMin(m){return m===!0?shiftWeekdays(this._weekdaysMin,this._week.dow):m?this._weekdaysMin[m.day()]:this._weekdaysMin}function handleStrictParse$1(weekdayName,format2,strict){var i,ii,mom,llc=weekdayName.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)mom=createUTC([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(mom,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(mom,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(mom,"").toLocaleLowerCase();return strict?format2==="dddd"?(ii=indexOf.call(this._weekdaysParse,llc),ii!==-1?ii:null):format2==="ddd"?(ii=indexOf.call(this._shortWeekdaysParse,llc),ii!==-1?ii:null):(ii=indexOf.call(this._minWeekdaysParse,llc),ii!==-1?ii:null):format2==="dddd"?(ii=indexOf.call(this._weekdaysParse,llc),ii!==-1||(ii=indexOf.call(this._shortWeekdaysParse,llc),ii!==-1)?ii:(ii=indexOf.call(this._minWeekdaysParse,llc),ii!==-1?ii:null)):format2==="ddd"?(ii=indexOf.call(this._shortWeekdaysParse,llc),ii!==-1||(ii=indexOf.call(this._weekdaysParse,llc),ii!==-1)?ii:(ii=indexOf.call(this._minWeekdaysParse,llc),ii!==-1?ii:null)):(ii=indexOf.call(this._minWeekdaysParse,llc),ii!==-1||(ii=indexOf.call(this._weekdaysParse,llc),ii!==-1)?ii:(ii=indexOf.call(this._shortWeekdaysParse,llc),ii!==-1?ii:null))}function localeWeekdaysParse(weekdayName,format2,strict){var i,mom,regex;if(this._weekdaysParseExact)return handleStrictParse$1.call(this,weekdayName,format2,strict);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(mom=createUTC([2e3,1]).day(i),strict&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(mom,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(mom,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(mom,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(regex="^"+this.weekdays(mom,"")+"|^"+this.weekdaysShort(mom,"")+"|^"+this.weekdaysMin(mom,""),this._weekdaysParse[i]=new RegExp(regex.replace(".",""),"i")),strict&&format2==="dddd"&&this._fullWeekdaysParse[i].test(weekdayName))return i;if(strict&&format2==="ddd"&&this._shortWeekdaysParse[i].test(weekdayName))return i;if(strict&&format2==="dd"&&this._minWeekdaysParse[i].test(weekdayName))return i;if(!strict&&this._weekdaysParse[i].test(weekdayName))return i}}function getSetDayOfWeek(input){if(!this.isValid())return input!=null?this:NaN;var day=get(this,"Day");return input!=null?(input=parseWeekday(input,this.localeData()),this.add(input-day,"d")):day}function getSetLocaleDayOfWeek(input){if(!this.isValid())return input!=null?this:NaN;var weekday=(this.day()+7-this.localeData()._week.dow)%7;return input==null?weekday:this.add(input-weekday,"d")}function getSetISODayOfWeek(input){if(!this.isValid())return input!=null?this:NaN;if(input!=null){var weekday=parseIsoWeekday(input,this.localeData());return this.day(this.day()%7?weekday:weekday-7)}else return this.day()||7}function weekdaysRegex(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysStrictRegex:this._weekdaysRegex):(hasOwnProp(this,"_weekdaysRegex")||(this._weekdaysRegex=defaultWeekdaysRegex),this._weekdaysStrictRegex&&isStrict?this._weekdaysStrictRegex:this._weekdaysRegex)}function weekdaysShortRegex(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(hasOwnProp(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=defaultWeekdaysShortRegex),this._weekdaysShortStrictRegex&&isStrict?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function weekdaysMinRegex(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(hasOwnProp(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=defaultWeekdaysMinRegex),this._weekdaysMinStrictRegex&&isStrict?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function computeWeekdaysParse(){function cmpLenRev(a,b){return b.length-a.length}var minPieces=[],shortPieces=[],longPieces=[],mixedPieces=[],i,mom,minp,shortp,longp;for(i=0;i<7;i++)mom=createUTC([2e3,1]).day(i),minp=regexEscape(this.weekdaysMin(mom,"")),shortp=regexEscape(this.weekdaysShort(mom,"")),longp=regexEscape(this.weekdays(mom,"")),minPieces.push(minp),shortPieces.push(shortp),longPieces.push(longp),mixedPieces.push(minp),mixedPieces.push(shortp),mixedPieces.push(longp);minPieces.sort(cmpLenRev),shortPieces.sort(cmpLenRev),longPieces.sort(cmpLenRev),mixedPieces.sort(cmpLenRev),this._weekdaysRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+longPieces.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+shortPieces.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+minPieces.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}addFormatToken("H",["HH",2],0,"hour"),addFormatToken("h",["hh",2],0,hFormat),addFormatToken("k",["kk",2],0,kFormat),addFormatToken("hmm",0,0,function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)}
vendor: 9,083 bytes, line 80
80),addFormatToken("hmmss",0,0,function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)}),addFormatToken("Hmm",0,0,function(){return""+this.hours()+zeroFill(this.minutes(),2)}),addFormatToken("Hmmss",0,0,function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)});function meridiem(token2,lowercase){addFormatToken(token2,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),lowercase)})}meridiem("a",!0),meridiem("A",!1);function matchMeridiem(isStrict,locale2){return locale2._meridiemParse}addRegexToken("a",matchMeridiem),addRegexToken("A",matchMeridiem),addRegexToken("H",match1to2,match1to2HasZero),addRegexToken("h",match1to2,match1to2NoLeadingZero),addRegexToken("k",match1to2,match1to2NoLeadingZero),addRegexToken("HH",match1to2,match2),addRegexToken("hh",match1to2,match2),addRegexToken("kk",match1to2,match2),addRegexToken("hmm",match3to4),addRegexToken("hmmss",match5to6),addRegexToken("Hmm",match3to4),addRegexToken("Hmmss",match5to6),addParseToken(["H","HH"],HOUR),addParseToken(["k","kk"],function(input,array,config){var kInput=toInt(input);array[HOUR]=kInput===24?0:kInput}),addParseToken(["a","A"],function(input,array,config){config._isPm=config._locale.isPM(input),config._meridiem=input}),addParseToken(["h","hh"],function(input,array,config){array[HOUR]=toInt(input),getParsingFlags(config).bigHour=!0}),addParseToken("hmm",function(input,array,config){var pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos)),array[MINUTE]=toInt(input.substr(pos)),getParsingFlags(config).bigHour=!0}),addParseToken("hmmss",function(input,array,config){var pos1=input.length-4,pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1)),array[MINUTE]=toInt(input.substr(pos1,2)),array[SECOND]=toInt(input.substr(pos2)),getParsingFlags(config).bigHour=!0}),addParseToken("Hmm",function(input,array,config){var pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos)),array[MINUTE]=toInt(input.substr(pos))}),addParseToken("Hmmss",function(input,array,config){var pos1=input.length-4,pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1)),array[MINUTE]=toInt(input.substr(pos1,2)),array[SECOND]=toInt(input.substr(pos2))});function localeIsPM(input){return(input+"").toLowerCase().charAt(0)==="p"}var defaultLocaleMeridiemParse=/[ap]\.?m?\.?/i,getSetHour=makeGetSet("Hours",!0);function localeMeridiem(hours2,minutes2,isLower){return hours2>11?isLower?"pm":"PM":isLower?"am":"AM"}var baseConfig={calendar:defaultCalendar,longDateFormat:defaultLongDateFormat,invalidDate:defaultInvalidDate,ordinal:defaultOrdinal,dayOfMonthOrdinalParse:defaultDayOfMonthOrdinalParse,relativeTime:defaultRelativeTime,months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:defaultLocaleWeek,weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:defaultLocaleMeridiemParse},locales={},localeFamilies={},globalLocale;function commonPrefix(arr1,arr2){var i,minl=Math.min(arr1.length,arr2.length);for(i=0;i<minl;i+=1)if(arr1[i]!==arr2[i])return i;return minl}function normalizeLocale(key){return key&&key.toLowerCase().replace("_","-")}function chooseLocale(names){for(var i=0,j,next,locale2,split;i<names.length;){for(split=normalizeLocale(names[i]).split("-"),j=split.length,next=normalizeLocale(names[i+1]),next=next?next.split("-"):null;j>0;){if(locale2=loadLocale(split.slice(0,j).join("-")),locale2)return locale2;if(next&&next.length>=j&&commonPrefix(split,next)>=j-1)break;j--}i++}return globalLocale}function isLocaleNameSane(name){return!!(name&&name.match("^[^/\\\\]*$"))}function loadLocale(name){var oldLocale=null,aliasedRequire;if(locales[name]===void 0&&typeof module<"u"&&module&&module.exports&&isLocaleNameSane(name))try{oldLocale=globalLocale._abbr,aliasedRequire=__require,aliasedRequire("./locale/"+name),getSetGlobalLocale(oldLocale)}catch{locales[name]=null}return locales[name]}function getSetGlobalLocale(key,values){var data;return key&&(isUndefined(values)?data=getLocale(key):data=defineLocale(key,values),data?globalLocale=data:typeof console<"u"&&console.warn&&console.warn("Locale "+key+" not found. Did you forget to load it?")),globalLocale._abbr}function defineLocale(name,config){if(config!==null){var locale2,parentConfig=baseConfig;if(config.abbr=name,locales[name]!=null)deprecateSimple("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),parentConfig=locales[name]._config;else if(config.parentLocale!=null)if(locales[config.parentLocale]!=null)parentConfig=locales[config.parentLocale]._config;else if(locale2=loadLocale(config.parentLocale),locale2!=null)parentConfig=locale2._config;else return localeFamilies[config.parentLocale]||(localeFamilies[config.parentLocale]=[]),localeFamilies[config.parentLocale].push({name,config}),null;return locales[name]=new Locale(mergeConfigs(parentConfig,config)),localeFamilies[name]&&localeFamilies[name].forEach(function(x){defineLocale(x.name,x.config)}),getSetGlobalLocale(name),locales[name]}else return delete locales[name],null}function updateLocale(name,config){if(config!=null){var locale2,tmpLocale,parentConfig=baseConfig;locales[name]!=null&&locales[name].parentLocale!=null?locales[name].set(mergeConfigs(locales[name]._config,config)):(tmpLocale=loadLocale(name),tmpLocale!=null&&(parentConfig=tmpLocale._config),config=mergeConfigs(parentConfig,config),tmpLocale==null&&(config.abbr=name),locale2=new Locale(config),locale2.parentLocale=locales[name],locales[name]=locale2),getSetGlobalLocale(name)}else locales[name]!=null&&(locales[name].parentLocale!=null?(locales[name]=locales[name].parentLocale,name===getSetGlobalLocale()&&getSetGlobalLocale(name)):locales[name]!=null&&delete locales[name]);return locales[name]}function getLocale(key){var locale2;if(key&&key._locale&&key._locale._abbr&&(key=key._locale._abbr),!key)return globalLocale;if(!isArray(key)){if(locale2=loadLocale(key),locale2)return locale2;key=[key]}return chooseLocale(key)}function listLocales(){return keys(locales)}function checkOverflow(m){var overflow,a=m._a;return a&&getParsingFlags(m).overflow===-2&&(overflow=a[MONTH]<0||a[MONTH]>11?MONTH:a[DATE]<1||a[DATE]>daysInMonth(a[YEAR],a[MONTH])?DATE:a[HOUR]<0||a[HOUR]>24||a[HOUR]===24&&(a[MINUTE]!==0||a[SECOND]!==0||a[MILLISECOND]!==0)?HOUR:a[MINUTE]<0||a[MINUTE]>59?MINUTE:a[SECOND]<0||a[SECOND]>59?SECOND:a[MILLISECOND]<0||a[MILLISECOND]>999?MILLISECOND:-1,getParsingFlags(m)._overflowDayOfYear&&(overflow<YEAR||overflow>DATE)&&(overflow=DATE),getParsingFlags(m)._overflowWeeks&&overflow===-1&&(overflow=WEEK),getParsingFlags(m)._overflowWeekday&&overflow===-1&&(overflow=WEEKDAY),getParsingFlags(m).overflow=overflow),m}var extendedIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,basicIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tzRegex=/Z|[+-]\d\d(?::?\d\d)?/,isoDates=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],isoTimes=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],aspNetJsonRegex=/^\/?Date\((-?\d+)/i,rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,obsOffsets={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function configFromISO(config){var i,l,string=config._i,match=extendedIsoRegex.exec(string)||basicIsoRegex.exec(string),allowTime,dateFormat,timeFormat,tzFormat,isoDatesLen=isoDates.length,isoTimesLen=isoTimes.length;if(match){for(getParsingFlags(config).iso=!0,i=0,l=isoDatesLen;i<l;i++)if(isoDates[i][1].exec(match[1])){dateFormat=isoDates[i][0],allowTime=isoDates[i][2]!==!1;break}if(dateFormat==null){config._isValid=!1;return}if(match[3]){for(i=0,l=isoTimesLen;i<l;i++)if(isoTimes[i][1].exec(match[3])){timeFormat=(match[2]||" ")+isoTimes[i][0];break}if(timeFormat==null){config._isValid=!1;return}}if(!allowTime&&timeFormat!=null){config._isValid=!1;return}if(match[4])if(tzRegex.exec(match[4]))tzFormat="Z";else{config._isValid=!1;return}config._f=dateFormat+(timeFormat||"")+(tzFormat||""),configFromStringAndFormat(config)}
vendor: 55,623 bytes, line 80
80else config._isValid=!1}function extractFromRFC2822Strings(yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr){var result=[untruncateYear(yearStr),defaultLocaleMonthsShort.indexOf(monthStr),parseInt(dayStr,10),parseInt(hourStr,10),parseInt(minuteStr,10)];return secondStr&&result.push(parseInt(secondStr,10)),result}function untruncateYear(yearStr){var year=parseInt(yearStr,10);return year<=49?2e3+year:year<=999?1900+year:year}function preprocessRFC2822(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function checkWeekday(weekdayStr,parsedInput,config){if(weekdayStr){var weekdayProvided=defaultLocaleWeekdaysShort.indexOf(weekdayStr),weekdayActual=new Date(parsedInput[0],parsedInput[1],parsedInput[2]).getDay();if(weekdayProvided!==weekdayActual)return getParsingFlags(config).weekdayMismatch=!0,config._isValid=!1,!1}return!0}function calculateOffset(obsOffset,militaryOffset,numOffset){if(obsOffset)return obsOffsets[obsOffset];if(militaryOffset)return 0;var hm=parseInt(numOffset,10),m=hm%100,h=(hm-m)/100;return h*60+m}function configFromRFC2822(config){var match=rfc2822.exec(preprocessRFC2822(config._i)),parsedArray;if(match){if(parsedArray=extractFromRFC2822Strings(match[4],match[3],match[2],match[5],match[6],match[7]),!checkWeekday(match[1],parsedArray,config))return;config._a=parsedArray,config._tzm=calculateOffset(match[8],match[9],match[10]),config._d=createUTCDate.apply(null,config._a),config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm),getParsingFlags(config).rfc2822=!0}else config._isValid=!1}function configFromString(config){var matched=aspNetJsonRegex.exec(config._i);if(matched!==null){config._d=new Date(+matched[1]);return}if(configFromISO(config),config._isValid===!1)delete config._isValid;else return;if(configFromRFC2822(config),config._isValid===!1)delete config._isValid;else return;config._strict?config._isValid=!1:hooks.createFromInputFallback(config)}hooks.createFromInputFallback=deprecate("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(config){config._d=new Date(config._i+(config._useUTC?" UTC":""))});function defaults(a,b,c){return a??b??c}function currentDateArray(config){var nowValue=new Date(hooks.now());return config._useUTC?[nowValue.getUTCFullYear(),nowValue.getUTCMonth(),nowValue.getUTCDate()]:[nowValue.getFullYear(),nowValue.getMonth(),nowValue.getDate()]}function configFromArray(config){var i,date,input=[],currentDate,expectedWeekday,yearToUse;if(!config._d){for(currentDate=currentDateArray(config),config._w&&config._a[DATE]==null&&config._a[MONTH]==null&&dayOfYearFromWeekInfo(config),config._dayOfYear!=null&&(yearToUse=defaults(config._a[YEAR],currentDate[YEAR]),(config._dayOfYear>daysInYear(yearToUse)||config._dayOfYear===0)&&(getParsingFlags(config)._overflowDayOfYear=!0),date=createUTCDate(yearToUse,0,config._dayOfYear),config._a[MONTH]=date.getUTCMonth(),config._a[DATE]=date.getUTCDate()),i=0;i<3&&config._a[i]==null;++i)config._a[i]=input[i]=currentDate[i];for(;i<7;i++)config._a[i]=input[i]=config._a[i]==null?i===2?1:0:config._a[i];config._a[HOUR]===24&&config._a[MINUTE]===0&&config._a[SECOND]===0&&config._a[MILLISECOND]===0&&(config._nextDay=!0,config._a[HOUR]=0),config._d=(config._useUTC?createUTCDate:createDate).apply(null,input),expectedWeekday=config._useUTC?config._d.getUTCDay():config._d.getDay(),config._tzm!=null&&config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm),config._nextDay&&(config._a[HOUR]=24),config._w&&typeof config._w.d<"u"&&config._w.d!==expectedWeekday&&(getParsingFlags(config).weekdayMismatch=!0)}}function dayOfYearFromWeekInfo(config){var w,weekYear,week,weekday,dow,doy,temp,weekdayOverflow,curWeek;w=config._w,w.GG!=null||w.W!=null||w.E!=null?(dow=1,doy=4,weekYear=defaults(w.GG,config._a[YEAR],weekOfYear(createLocal(),1,4).year),week=defaults(w.W,1),weekday=defaults(w.E,1),(weekday<1||weekday>7)&&(weekdayOverflow=!0)):(dow=config._locale._week.dow,doy=config._locale._week.doy,curWeek=weekOfYear(createLocal(),dow,doy),weekYear=defaults(w.gg,config._a[YEAR],curWeek.year),week=defaults(w.w,curWeek.week),w.d!=null?(weekday=w.d,(weekday<0||weekday>6)&&(weekdayOverflow=!0)):w.e!=null?(weekday=w.e+dow,(w.e<0||w.e>6)&&(weekdayOverflow=!0)):weekday=dow),week<1||week>weeksInYear(weekYear,dow,doy)?getParsingFlags(config)._overflowWeeks=!0:weekdayOverflow!=null?getParsingFlags(config)._overflowWeekday=!0:(temp=dayOfYearFromWeeks(weekYear,week,weekday,dow,doy),config._a[YEAR]=temp.year,config._dayOfYear=temp.dayOfYear)}hooks.ISO_8601=function(){},hooks.RFC_2822=function(){};function configFromStringAndFormat(config){if(config._f===hooks.ISO_8601){configFromISO(config);return}if(config._f===hooks.RFC_2822){configFromRFC2822(config);return}config._a=[],getParsingFlags(config).empty=!0;var string=""+config._i,i,parsedInput,tokens2,token2,skipped,stringLength=string.length,totalParsedInputLength=0,era,tokenLen;for(tokens2=expandFormat(config._f,config._locale).match(formattingTokens)||[],tokenLen=tokens2.length,i=0;i<tokenLen;i++)token2=tokens2[i],parsedInput=(string.match(getParseRegexForToken(token2,config))||[])[0],parsedInput&&(skipped=string.substr(0,string.indexOf(parsedInput)),skipped.length>0&&getParsingFlags(config).unusedInput.push(skipped),string=string.slice(string.indexOf(parsedInput)+parsedInput.length),totalParsedInputLength+=parsedInput.length),formatTokenFunctions[token2]?(parsedInput?getParsingFlags(config).empty=!1:getParsingFlags(config).unusedTokens.push(token2),addTimeToArrayFromToken(token2,parsedInput,config)):config._strict&&!parsedInput&&getParsingFlags(config).unusedTokens.push(token2);getParsingFlags(config).charsLeftOver=stringLength-totalParsedInputLength,string.length>0&&getParsingFlags(config).unusedInput.push(string),config._a[HOUR]<=12&&getParsingFlags(config).bigHour===!0&&config._a[HOUR]>0&&(getParsingFlags(config).bigHour=void 0),getParsingFlags(config).parsedDateParts=config._a.slice(0),getParsingFlags(config).meridiem=config._meridiem,config._a[HOUR]=meridiemFixWrap(config._locale,config._a[HOUR],config._meridiem),era=getParsingFlags(config).era,era!==null&&(config._a[YEAR]=config._locale.erasConvertYear(era,config._a[YEAR])),configFromArray(config),checkOverflow(config)}function meridiemFixWrap(locale2,hour,meridiem2){var isPm;return meridiem2==null?hour:locale2.meridiemHour!=null?locale2.meridiemHour(hour,meridiem2):(locale2.isPM!=null&&(isPm=locale2.isPM(meridiem2),isPm&&hour<12&&(hour+=12),!isPm&&hour===12&&(hour=0)),hour)}function configFromStringAndArray(config){var tempConfig,bestMoment,scoreToBeat,i,currentScore,validFormatFound,bestFormatIsValid=!1,configfLen=config._f.length;if(configfLen===0){getParsingFlags(config).invalidFormat=!0,config._d=new Date(NaN);return}for(i=0;i<configfLen;i++)currentScore=0,validFormatFound=!1,tempConfig=copyConfig({},config),config._useUTC!=null&&(tempConfig._useUTC=config._useUTC),tempConfig._f=config._f[i],configFromStringAndFormat(tempConfig),isValid(tempConfig)&&(validFormatFound=!0),currentScore+=getParsingFlags(tempConfig).charsLeftOver,currentScore+=getParsingFlags(tempConfig).unusedTokens.length*10,getParsingFlags(tempConfig).score=currentScore,bestFormatIsValid?currentScore<scoreToBeat&&(scoreToBeat=currentScore,bestMoment=tempConfig):(scoreToBeat==null||currentScore<scoreToBeat||validFormatFound)&&(scoreToBeat=currentScore,bestMoment=tempConfig,validFormatFound&&(bestFormatIsValid=!0));extend(config,bestMoment||tempConfig)}function configFromObject(config){if(!config._d){var i=normalizeObjectUnits(config._i),dayOrDate=i.day===void 0?i.date:i.day;config._a=map([i.year,i.month,dayOrDate,i.hour,i.minute,i.second,i.millisecond],function(obj){return obj&&parseInt(obj,10)}),configFromArray(config)}}function createFromConfig(config){var res=new Moment(checkOverflow(prepareConfig(config)));return res._nextDay&&(res.add(1,"d"),res._nextDay=void 0),res}function prepareConfig(config){var input=config._i,format2=config._f;return config._locale=config._locale||getLocale(config._l),input===null||format2===void 0&&input===""?createInvalid({nullInput:!0}):(typeof input=="string"&&(config._i=input=config._locale.preparse(input)),isMoment(input)?new Moment(checkOverflow(input)):(isDate(input)?config._d=input:isArray(format2)?configFromStringAndArray(config):format2?configFromStringAndFormat(config):configFromInput(config),isValid(config)||(config._d=null),config))}function configFromInput(config){var input=config._i;isUndefined(input)?config._d=new Date(hooks.now()):isDate(input)?config._d=new Date(input.valueOf()):typeof input=="string"?configFromString(config):isArray(input)?(config._a=map(input.slice(0),function(obj){return parseInt(obj,10)}),configFromArray(config)):isObject(input)?configFromObject(config):isNumber(input)?config._d=new Date(input):hooks.createFromInputFallback(config)}function createLocalOrUTC(input,format2,locale2,strict,isUTC){var c={};return(format2===!0||format2===!1)&&(strict=format2,format2=void 0),(locale2===!0||locale2===!1)&&(strict=locale2,locale2=void 0),(isObject(input)&&isObjectEmpty(input)||isArray(input)&&input.length===0)&&(input=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=isUTC,c._l=locale2,c._i=input,c._f=format2,c._strict=strict,createFromConfig(c)}function createLocal(input,format2,locale2,strict){return createLocalOrUTC(input,format2,locale2,strict,!1)}var prototypeMin=deprecate("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var other=createLocal.apply(null,arguments);return this.isValid()&&other.isValid()?other<this?this:other:createInvalid()}),prototypeMax=deprecate("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var other=createLocal.apply(null,arguments);return this.isValid()&&other.isValid()?other>this?this:other:createInvalid()});function pickBy(fn,moments){var res,i;if(moments.length===1&&isArray(moments[0])&&(moments=moments[0]),!moments.length)return createLocal();for(res=moments[0],i=1;i<moments.length;++i)(!moments[i].isValid()||moments[i][fn](res))&&(res=moments[i]);return res}function min(){var args=[].slice.call(arguments,0);return pickBy("isBefore",args)}function max(){var args=[].slice.call(arguments,0);return pickBy("isAfter",args)}var now=function(){return Date.now?Date.now():+new Date},ordering=["year","quarter","month","week","day","hour","minute","second","millisecond"];function isDurationValid(m){var key,unitHasDecimal=!1,i,orderLen=ordering.length;for(key in m)if(hasOwnProp(m,key)&&!(indexOf.call(ordering,key)!==-1&&(m[key]==null||!isNaN(m[key]))))return!1;for(i=0;i<orderLen;++i)if(m[ordering[i]]){if(unitHasDecimal)return!1;parseFloat(m[ordering[i]])!==toInt(m[ordering[i]])&&(unitHasDecimal=!0)}return!0}function isValid$1(){return this._isValid}function createInvalid$1(){return createDuration(NaN)}function Duration(duration){var normalizedInput=normalizeObjectUnits(duration),years2=normalizedInput.year||0,quarters=normalizedInput.quarter||0,months2=normalizedInput.month||0,weeks2=normalizedInput.week||normalizedInput.isoWeek||0,days2=normalizedInput.day||0,hours2=normalizedInput.hour||0,minutes2=normalizedInput.minute||0,seconds2=normalizedInput.second||0,milliseconds2=normalizedInput.millisecond||0;this._isValid=isDurationValid(normalizedInput),this._milliseconds=+milliseconds2+seconds2*1e3+minutes2*6e4+hours2*1e3*60*60,this._days=+days2+weeks2*7,this._months=+months2+quarters*3+years2*12,this._data={},this._locale=getLocale(),this._bubble()}function isDuration(obj){return obj instanceof Duration}function absRound(number){return number<0?Math.round(-1*number)*-1:Math.round(number)}function compareArrays(array1,array2,dontConvert){var len=Math.min(array1.length,array2.length),lengthDiff=Math.abs(array1.length-array2.length),diffs=0,i;for(i=0;i<len;i++)(dontConvert&&array1[i]!==array2[i]||!dontConvert&&toInt(array1[i])!==toInt(array2[i]))&&diffs++;return diffs+lengthDiff}function offset(token2,separator){addFormatToken(token2,0,0,function(){var offset2=this.utcOffset(),sign2="+";return offset2<0&&(offset2=-offset2,sign2="-"),sign2+zeroFill(~~(offset2/60),2)+separator+zeroFill(~~offset2%60,2)})}offset("Z",":"),offset("ZZ",""),addRegexToken("Z",matchShortOffset),addRegexToken("ZZ",matchShortOffset),addParseToken(["Z","ZZ"],function(input,array,config){config._useUTC=!0,config._tzm=offsetFromString(matchShortOffset,input)});var chunkOffset=/([\+\-]|\d\d)/gi;function offsetFromString(matcher,string){var matches=(string||"").match(matcher),chunk,parts,minutes2;return matches===null?null:(chunk=matches[matches.length-1]||[],parts=(chunk+"").match(chunkOffset)||["-",0,0],minutes2=+(parts[1]*60)+toInt(parts[2]),minutes2===0?0:parts[0]==="+"?minutes2:-minutes2)}function cloneWithOffset(input,model){var res,diff2;return model._isUTC?(res=model.clone(),diff2=(isMoment(input)||isDate(input)?input.valueOf():createLocal(input).valueOf())-res.valueOf(),res._d.setTime(res._d.valueOf()+diff2),hooks.updateOffset(res,!1),res):createLocal(input).local()}function getDateOffset(m){return-Math.round(m._d.getTimezoneOffset())}hooks.updateOffset=function(){};function getSetOffset(input,keepLocalTime,keepMinutes){var offset2=this._offset||0,localAdjust;if(!this.isValid())return input!=null?this:NaN;if(input!=null){if(typeof input=="string"){if(input=offsetFromString(matchShortOffset,input),input===null)return this}else Math.abs(input)<16&&!keepMinutes&&(input=input*60);return!this._isUTC&&keepLocalTime&&(localAdjust=getDateOffset(this)),this._offset=input,this._isUTC=!0,localAdjust!=null&&this.add(localAdjust,"m"),offset2!==input&&(!keepLocalTime||this._changeInProgress?addSubtract(this,createDuration(input-offset2,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,hooks.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?offset2:getDateOffset(this)}function getSetZone(input,keepLocalTime){return input!=null?(typeof input!="string"&&(input=-input),this.utcOffset(input,keepLocalTime),this):-this.utcOffset()}function setOffsetToUTC(keepLocalTime){return this.utcOffset(0,keepLocalTime)}function setOffsetToLocal(keepLocalTime){return this._isUTC&&(this.utcOffset(0,keepLocalTime),this._isUTC=!1,keepLocalTime&&this.subtract(getDateOffset(this),"m")),this}function setOffsetToParsedOffset(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var tZone=offsetFromString(matchOffset,this._i);tZone!=null?this.utcOffset(tZone):this.utcOffset(0,!0)}return this}function hasAlignedHourOffset(input){return this.isValid()?(input=input?createLocal(input).utcOffset():0,(this.utcOffset()-input)%60===0):!1}function isDaylightSavingTime(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined(this._isDSTShifted))return this._isDSTShifted;var c={},other;return copyConfig(c,this),c=prepareConfig(c),c._a?(other=c._isUTC?createUTC(c._a):createLocal(c._a),this._isDSTShifted=this.isValid()&&compareArrays(c._a,other.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function isLocal(){return this.isValid()?!this._isUTC:!1}function isUtcOffset(){return this.isValid()?this._isUTC:!1}function isUtc(){return this.isValid()?this._isUTC&&this._offset===0:!1}var aspNetRegex=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(input,key){var duration=input,match=null,sign2,ret,diffRes;return isDuration(input)?duration={ms:input._milliseconds,d:input._days,M:input._months}:isNumber(input)||!isNaN(+input)?(duration={},key?duration[key]=+input:duration.milliseconds=+input):(match=aspNetRegex.exec(input))?(sign2=match[1]==="-"?-1:1,duration={y:0,d:toInt(match[DATE])*sign2,h:toInt(match[HOUR])*sign2,m:toInt(match[MINUTE])*sign2,s:toInt(match[SECOND])*sign2,ms:toInt(absRound(match[MILLISECOND]*1e3))*sign2}):(match=isoRegex.exec(input))?(sign2=match[1]==="-"?-1:1,duration={y:parseIso(match[2],sign2),M:parseIso(match[3],sign2),w:parseIso(match[4],sign2),d:parseIso(match[5],sign2),h:parseIso(match[6],sign2),m:parseIso(match[7],sign2),s:parseIso(match[8],sign2)}):duration==null?duration={}:typeof duration=="object"&&("from"in duration||"to"in duration)&&(diffRes=momentsDifference(createLocal(duration.from),createLocal(duration.to)),duration={},duration.ms=diffRes.milliseconds,duration.M=diffRes.months),ret=new Duration(duration),isDuration(input)&&hasOwnProp(input,"_locale")&&(ret._locale=input._locale),isDuration(input)&&hasOwnProp(input,"_isValid")&&(ret._isValid=input._isValid),ret}createDuration.fn=Duration.prototype,createDuration.invalid=createInvalid$1;function parseIso(inp,sign2){var res=inp&&parseFloat(inp.replace(",","."));return(isNaN(res)?0:res)*sign2}function positiveMomentsDifference(base,other){var res={};return res.months=other.month()-base.month()+(other.year()-base.year())*12,base.clone().add(res.months,"M").isAfter(other)&&--res.months,res.milliseconds=+other-+base.clone().add(res.months,"M"),res}function momentsDifference(base,other){var res;return base.isValid()&&other.isValid()?(other=cloneWithOffset(other,base),base.isBefore(other)?res=positiveMomentsDifference(base,other):(res=positiveMomentsDifference(other,base),res.milliseconds=-res.milliseconds,res.months=-res.months),res):{milliseconds:0,months:0}}function createAdder(direction,name){return function(val,period){var dur,tmp;return period!==null&&!isNaN(+period)&&(deprecateSimple(name,"moment()."+name+"(period, number) is deprecated. Please use moment()."+name+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),tmp=val,val=period,period=tmp),dur=createDuration(val,period),addSubtract(this,dur,direction),this}}function addSubtract(mom,duration,isAdding,updateOffset){var milliseconds2=duration._milliseconds,days2=absRound(duration._days),months2=absRound(duration._months);mom.isValid()&&(updateOffset=updateOffset??!0,months2&&setMonth(mom,get(mom,"Month")+months2*isAdding),days2&&set$1(mom,"Date",get(mom,"Date")+days2*isAdding),milliseconds2&&mom._d.setTime(mom._d.valueOf()+milliseconds2*isAdding),updateOffset&&hooks.updateOffset(mom,days2||months2))}var add=createAdder(1,"add"),subtract=createAdder(-1,"subtract");function isString(input){return typeof input=="string"||input instanceof String}function isMomentInput(input){return isMoment(input)||isDate(input)||isString(input)||isNumber(input)||isNumberOrStringArray(input)||isMomentInputObject(input)||input===null||input===void 0}function isMomentInputObject(input){var objectTest=isObject(input)&&!isObjectEmpty(input),propertyTest=!1,properties=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,property,propertyLen=properties.length;for(i=0;i<propertyLen;i+=1)property=properties[i],propertyTest=propertyTest||hasOwnProp(input,property);return objectTest&&propertyTest}function isNumberOrStringArray(input){var arrayTest=isArray(input),dataTypeTest=!1;return arrayTest&&(dataTypeTest=input.filter(function(item){return!isNumber(item)&&isString(input)}).length===0),arrayTest&&dataTypeTest}function isCalendarSpec(input){var objectTest=isObject(input)&&!isObjectEmpty(input),propertyTest=!1,properties=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,property;for(i=0;i<properties.length;i+=1)property=properties[i],propertyTest=propertyTest||hasOwnProp(input,property);return objectTest&&propertyTest}function getCalendarFormat(myMoment,now2){var diff2=myMoment.diff(now2,"days",!0);return diff2<-6?"sameElse":diff2<-1?"lastWeek":diff2<0?"lastDay":diff2<1?"sameDay":diff2<2?"nextDay":diff2<7?"nextWeek":"sameElse"}function calendar$1(time,formats){arguments.length===1&&(arguments[0]?isMomentInput(arguments[0])?(time=arguments[0],formats=void 0):isCalendarSpec(arguments[0])&&(formats=arguments[0],time=void 0):(time=void 0,formats=void 0));var now2=time||createLocal(),sod=cloneWithOffset(now2,this).startOf("day"),format2=hooks.calendarFormat(this,sod)||"sameElse",output=formats&&(isFunction(formats[format2])?formats[format2].call(this,now2):formats[format2]);return this.format(output||this.localeData().calendar(format2,this,createLocal(now2)))}function clone(){return new Moment(this)}function isAfter(input,units){var localInput=isMoment(input)?input:createLocal(input);return this.isValid()&&localInput.isValid()?(units=normalizeUnits(units)||"millisecond",units==="millisecond"?this.valueOf()>localInput.valueOf():localInput.valueOf()<this.clone().startOf(units).valueOf()):!1}function isBefore(input,units){var localInput=isMoment(input)?input:createLocal(input);return this.isValid()&&localInput.isValid()?(units=normalizeUnits(units)||"millisecond",units==="millisecond"?this.valueOf()<localInput.valueOf():this.clone().endOf(units).valueOf()<localInput.valueOf()):!1}function isBetween(from2,to2,units,inclusivity){var localFrom=isMoment(from2)?from2:createLocal(from2),localTo=isMoment(to2)?to2:createLocal(to2);return this.isValid()&&localFrom.isValid()&&localTo.isValid()?(inclusivity=inclusivity||"()",(inclusivity[0]==="("?this.isAfter(localFrom,units):!this.isBefore(localFrom,units))&&(inclusivity[1]===")"?this.isBefore(localTo,units):!this.isAfter(localTo,units))):!1}function isSame(input,units){var localInput=isMoment(input)?input:createLocal(input),inputMs;return this.isValid()&&localInput.isValid()?(units=normalizeUnits(units)||"millisecond",units==="millisecond"?this.valueOf()===localInput.valueOf():(inputMs=localInput.valueOf(),this.clone().startOf(units).valueOf()<=inputMs&&inputMs<=this.clone().endOf(units).valueOf())):!1}function isSameOrAfter(input,units){return this.isSame(input,units)||this.isAfter(input,units)}function isSameOrBefore(input,units){return this.isSame(input,units)||this.isBefore(input,units)}function diff(input,units,asFloat){var that,zoneDelta,output;if(!this.isValid())return NaN;if(that=cloneWithOffset(input,this),!that.isValid())return NaN;switch(zoneDelta=(that.utcOffset()-this.utcOffset())*6e4,units=normalizeUnits(units),units){case"year":output=monthDiff(this,that)/12;break;case"month":output=monthDiff(this,that);break;case"quarter":output=monthDiff(this,that)/3;break;case"second":output=(this-that)/1e3;break;case"minute":output=(this-that)/6e4;break;case"hour":output=(this-that)/36e5;break;case"day":output=(this-that-zoneDelta)/864e5;break;case"week":output=(this-that-zoneDelta)/6048e5;break;default:output=this-that}return asFloat?output:absFloor(output)}function monthDiff(a,b){if(a.date()<b.date())return-monthDiff(b,a);var wholeMonthDiff=(b.year()-a.year())*12+(b.month()-a.month()),anchor=a.clone().add(wholeMonthDiff,"months"),anchor2,adjust;return b-anchor<0?(anchor2=a.clone().add(wholeMonthDiff-1,"months"),adjust=(b-anchor)/(anchor-anchor2)):(anchor2=a.clone().add(wholeMonthDiff+1,"months"),adjust=(b-anchor)/(anchor2-anchor)),-(wholeMonthDiff+adjust)||0}hooks.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",hooks.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function toString(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function toISOString(keepOffset){if(!this.isValid())return null;var utc=keepOffset!==!0,m=utc?this.clone().utc():this;return m.year()<0||m.year()>9999?formatMoment(m,utc?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):isFunction(Date.prototype.toISOString)?utc?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",formatMoment(m,"Z")):formatMoment(m,utc?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function inspect(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var func="moment",zone="",prefix,year,datetime,suffix;return this.isLocal()||(func=this.utcOffset()===0?"moment.utc":"moment.parseZone",zone="Z"),prefix="["+func+'("]',year=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",datetime="-MM-DD[T]HH:mm:ss.SSS",suffix=zone+'[")]',this.format(prefix+year+datetime+suffix)}function format(inputString){inputString||(inputString=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat);var output=formatMoment(this,inputString);return this.localeData().postformat(output)}function from(time,withoutSuffix){return this.isValid()&&(isMoment(time)&&time.isValid()||createLocal(time).isValid())?createDuration({to:this,from:time}).locale(this.locale()).humanize(!withoutSuffix):this.localeData().invalidDate()}function fromNow(withoutSuffix){return this.from(createLocal(),withoutSuffix)}function to(time,withoutSuffix){return this.isValid()&&(isMoment(time)&&time.isValid()||createLocal(time).isValid())?createDuration({from:this,to:time}).locale(this.locale()).humanize(!withoutSuffix):this.localeData().invalidDate()}function toNow(withoutSuffix){return this.to(createLocal(),withoutSuffix)}function locale(key){var newLocaleData;return key===void 0?this._locale._abbr:(newLocaleData=getLocale(key),newLocaleData!=null&&(this._locale=newLocaleData),this)}var lang=deprecate("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(key){return key===void 0?this.localeData():this.locale(key)});function localeData(){return this._locale}var MS_PER_SECOND=1e3,MS_PER_MINUTE=60*MS_PER_SECOND,MS_PER_HOUR=60*MS_PER_MINUTE,MS_PER_400_YEARS=(365*400+97)*24*MS_PER_HOUR;function mod$1(dividend,divisor){return(dividend%divisor+divisor)%divisor}function localStartOfDate(y,m,d){return y<100&&y>=0?new Date(y+400,m,d)-MS_PER_400_YEARS:new Date(y,m,d).valueOf()}function utcStartOfDate(y,m,d){return y<100&&y>=0?Date.UTC(y+400,m,d)-MS_PER_400_YEARS:Date.UTC(y,m,d)}function startOf(units){var time,startOfDate;if(units=normalizeUnits(units),units===void 0||units==="millisecond"||!this.isValid())return this;switch(startOfDate=this._isUTC?utcStartOfDate:localStartOfDate,units){case"year":time=startOfDate(this.year(),0,1);break;case"quarter":time=startOfDate(this.year(),this.month()-this.month()%3,1);break;case"month":time=startOfDate(this.year(),this.month(),1);break;case"week":time=startOfDate(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":time=startOfDate(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":time=startOfDate(this.year(),this.month(),this.date());break;case"hour":time=this._d.valueOf(),time-=mod$1(time+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR);break;case"minute":time=this._d.valueOf(),time-=mod$1(time,MS_PER_MINUTE);break;case"second":time=this._d.valueOf(),time-=mod$1(time,MS_PER_SECOND);break}return this._d.setTime(time),hooks.updateOffset(this,!0),this}function endOf(units){var time,startOfDate;if(units=normalizeUnits(units),units===void 0||units==="millisecond"||!this.isValid())return this;switch(startOfDate=this._isUTC?utcStartOfDate:localStartOfDate,units){case"year":time=startOfDate(this.year()+1,0,1)-1;break;case"quarter":time=startOfDate(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":time=startOfDate(this.year(),this.month()+1,1)-1;break;case"week":time=startOfDate(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":time=startOfDate(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":time=startOfDate(this.year(),this.month(),this.date()+1)-1;break;case"hour":time=this._d.valueOf(),time+=MS_PER_HOUR-mod$1(time+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR)-1;break;case"minute":time=this._d.valueOf(),time+=MS_PER_MINUTE-mod$1(time,MS_PER_MINUTE)-1;break;case"second":time=this._d.valueOf(),time+=MS_PER_SECOND-mod$1(time,MS_PER_SECOND)-1;break}return this._d.setTime(time),hooks.updateOffset(this,!0),this}function valueOf(){return this._d.valueOf()-(this._offset||0)*6e4}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray(){var m=this;return[m.year(),m.month(),m.date(),m.hour(),m.minute(),m.second(),m.millisecond()]}function toObject(){var m=this;return{years:m.year(),months:m.month(),date:m.date(),hours:m.hours(),minutes:m.minutes(),seconds:m.seconds(),milliseconds:m.milliseconds()}}function toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}addFormatToken("N",0,0,"eraAbbr"),addFormatToken("NN",0,0,"eraAbbr"),addFormatToken("NNN",0,0,"eraAbbr"),addFormatToken("NNNN",0,0,"eraName"),addFormatToken("NNNNN",0,0,"eraNarrow"),addFormatToken("y",["y",1],"yo","eraYear"),addFormatToken("y",["yy",2],0,"eraYear"),addFormatToken("y",["yyy",3],0,"eraYear"),addFormatToken("y",["yyyy",4],0,"eraYear"),addRegexToken("N",matchEraAbbr),addRegexToken("NN",matchEraAbbr),addRegexToken("NNN",matchEraAbbr),addRegexToken("NNNN",matchEraName),addRegexToken("NNNNN",matchEraNarrow),addParseToken(["N","NN","NNN","NNNN","NNNNN"],function(input,array,config,token2){var era=config._locale.erasParse(input,token2,config._strict);era?getParsingFlags(config).era=era:getParsingFlags(config).invalidEra=input}),addRegexToken("y",matchUnsigned),addRegexToken("yy",matchUnsigned),addRegexToken("yyy",matchUnsigned),addRegexToken("yyyy",matchUnsigned),addRegexToken("yo",matchEraYearOrdinal),addParseToken(["y","yy","yyy","yyyy"],YEAR),addParseToken(["yo"],function(input,array,config,token2){var match;config._locale._eraYearOrdinalRegex&&(match=input.match(config._locale._eraYearOrdinalRegex)),config._locale.eraYearOrdinalParse?array[YEAR]=config._locale.eraYearOrdinalParse(input,match):array[YEAR]=parseInt(input,10)});function localeEras(m,format2){var i,l,date,eras=this._eras||getLocale("en")._eras;for(i=0,l=eras.length;i<l;++i){switch(typeof eras[i].since){case"string":date=hooks(eras[i].since).startOf("day"),eras[i].since=date.valueOf();break}switch(typeof eras[i].until){case"undefined":eras[i].until=1/0;break;case"string":date=hooks(eras[i].until).startOf("day").valueOf(),eras[i].until=date.valueOf();break}}return eras}function localeErasParse(eraName,format2,strict){var i,l,eras=this.eras(),name,abbr,narrow;for(eraName=eraName.toUpperCase(),i=0,l=eras.length;i<l;++i)if(name=eras[i].name.toUpperCase(),abbr=eras[i].abbr.toUpperCase(),narrow=eras[i].narrow.toUpperCase(),strict)switch(format2){case"N":case"NN":case"NNN":if(abbr===eraName)return eras[i];break;case"NNNN":if(name===eraName)return eras[i];break;case"NNNNN":if(narrow===eraName)return eras[i];break}else if([name,abbr,narrow].indexOf(eraName)>=0)return eras[i]}function localeErasConvertYear(era,year){var dir=era.since<=era.until?1:-1;return year===void 0?hooks(era.since).year():hooks(era.since).year()+(year-era.offset)*dir}function getEraName(){var i,l,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i)if(val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until||eras[i].until<=val&&val<=eras[i].since)return eras[i].name;return""}function getEraNarrow(){var i,l,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i)if(val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until||eras[i].until<=val&&val<=eras[i].since)return eras[i].narrow;return""}function getEraAbbr(){var i,l,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i)if(val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until||eras[i].until<=val&&val<=eras[i].since)return eras[i].abbr;return""}function getEraYear(){var i,l,dir,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i)if(dir=eras[i].since<=eras[i].until?1:-1,val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until||eras[i].until<=val&&val<=eras[i].since)return(this.year()-hooks(eras[i].since).year())*dir+eras[i].offset;return this.year()}function erasNameRegex(isStrict){return hasOwnProp(this,"_erasNameRegex")||computeErasParse.call(this),isStrict?this._erasNameRegex:this._erasRegex}function erasAbbrRegex(isStrict){return hasOwnProp(this,"_erasAbbrRegex")||computeErasParse.call(this),isStrict?this._erasAbbrRegex:this._erasRegex}function erasNarrowRegex(isStrict){return hasOwnProp(this,"_erasNarrowRegex")||computeErasParse.call(this),isStrict?this._erasNarrowRegex:this._erasRegex}function matchEraAbbr(isStrict,locale2){return locale2.erasAbbrRegex(isStrict)}function matchEraName(isStrict,locale2){return locale2.erasNameRegex(isStrict)}function matchEraNarrow(isStrict,locale2){return locale2.erasNarrowRegex(isStrict)}function matchEraYearOrdinal(isStrict,locale2){return locale2._eraYearOrdinalRegex||matchUnsigned}function computeErasParse(){var abbrPieces=[],namePieces=[],narrowPieces=[],mixedPieces=[],i,l,erasName,erasAbbr,erasNarrow,eras=this.eras();for(i=0,l=eras.length;i<l;++i)erasName=regexEscape(eras[i].name),erasAbbr=regexEscape(eras[i].abbr),erasNarrow=regexEscape(eras[i].narrow),namePieces.push(erasName),abbrPieces.push(erasAbbr),narrowPieces.push(erasNarrow),mixedPieces.push(erasName),mixedPieces.push(erasAbbr),mixedPieces.push(erasNarrow);this._erasRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+namePieces.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+abbrPieces.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+narrowPieces.join("|")+")","i")}addFormatToken(0,["gg",2],0,function(){return this.weekYear()%100}),addFormatToken(0,["GG",2],0,function(){return this.isoWeekYear()%100});function addWeekYearFormatToken(token2,getter){addFormatToken(0,[token2,token2.length],0,getter)}addWeekYearFormatToken("gggg","weekYear"),addWeekYearFormatToken("ggggg","weekYear"),addWeekYearFormatToken("GGGG","isoWeekYear"),addWeekYearFormatToken("GGGGG","isoWeekYear"),addRegexToken("G",matchSigned),addRegexToken("g",matchSigned),addRegexToken("GG",match1to2,match2),addRegexToken("gg",match1to2,match2),addRegexToken("GGGG",match1to4,match4),addRegexToken("gggg",match1to4,match4),addRegexToken("GGGGG",match1to6,match6),addRegexToken("ggggg",match1to6,match6),addWeekParseToken(["gggg","ggggg","GGGG","GGGGG"],function(input,week,config,token2){week[token2.substr(0,2)]=toInt(input)}),addWeekParseToken(["gg","GG"],function(input,week,config,token2){week[token2]=hooks.parseTwoDigitYear(input)});function getSetWeekYear(input){return getSetWeekYearHelper.call(this,input,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function getSetISOWeekYear(input){return getSetWeekYearHelper.call(this,input,this.isoWeek(),this.isoWeekday(),1,4)}function getISOWeeksInYear(){return weeksInYear(this.year(),1,4)}function getISOWeeksInISOWeekYear(){return weeksInYear(this.isoWeekYear(),1,4)}function getWeeksInYear(){var weekInfo=this.localeData()._week;return weeksInYear(this.year(),weekInfo.dow,weekInfo.doy)}function getWeeksInWeekYear(){var weekInfo=this.localeData()._week;return weeksInYear(this.weekYear(),weekInfo.dow,weekInfo.doy)}function getSetWeekYearHelper(input,week,weekday,dow,doy){var weeksTarget;return input==null?weekOfYear(this,dow,doy).year:(weeksTarget=weeksInYear(input,dow,doy),week>weeksTarget&&(week=weeksTarget),setWeekAll.call(this,input,week,weekday,dow,doy))}function setWeekAll(weekYear,week,weekday,dow,doy){var dayOfYearData=dayOfYearFromWeeks(weekYear,week,weekday,dow,doy),date=createUTCDate(dayOfYearData.year,0,dayOfYearData.dayOfYear);return this.year(date.getUTCFullYear()),this.month(date.getUTCMonth()),this.date(date.getUTCDate()),this}addFormatToken("Q",0,"Qo","quarter"),addRegexToken("Q",match1),addParseToken("Q",function(input,array){array[MONTH]=(toInt(input)-1)*3});function getSetQuarter(input){return input==null?Math.ceil((this.month()+1)/3):this.month((input-1)*3+this.month()%3)}addFormatToken("D",["DD",2],"Do","date"),addRegexToken("D",match1to2,match1to2NoLeadingZero),addRegexToken("DD",match1to2,match2),addRegexToken("Do",function(isStrict,locale2){return isStrict?locale2._dayOfMonthOrdinalParse||locale2._ordinalParse:locale2._dayOfMonthOrdinalParseLenient}),addParseToken(["D","DD"],DATE),addParseToken("Do",function(input,array){array[DATE]=toInt(input.match(match1to2)[0])});var getSetDayOfMonth=makeGetSet("Date",!0);addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear"),addRegexToken("DDD",match1to3),addRegexToken("DDDD",match3),addParseToken(["DDD","DDDD"],function(input,array,config){config._dayOfYear=toInt(input)});function getSetDayOfYear(input){var dayOfYear=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return input==null?dayOfYear:this.add(input-dayOfYear,"d")}addFormatToken("m",["mm",2],0,"minute"),addRegexToken("m",match1to2,match1to2HasZero),addRegexToken("mm",match1to2,match2),addParseToken(["m","mm"],MINUTE);var getSetMinute=makeGetSet("Minutes",!1);addFormatToken("s",["ss",2],0,"second"),addRegexToken("s",match1to2,match1to2HasZero),addRegexToken("ss",match1to2,match2),addParseToken(["s","ss"],SECOND);var getSetSecond=makeGetSet("Seconds",!1);addFormatToken("S",0,0,function(){return~~(this.millisecond()/100)}),addFormatToken(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),addFormatToken(0,["SSS",3],0,"millisecond"),addFormatToken(0,["SSSS",4],0,function(){return this.millisecond()*10}),addFormatToken(0,["SSSSS",5],0,function(){return this.millisecond()*100}),addFormatToken(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),addFormatToken(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),addFormatToken(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),addFormatToken(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),addRegexToken("S",match1to3,match1),addRegexToken("SS",match1to3,match2),addRegexToken("SSS",match1to3,match3);var token,getSetMillisecond;for(token="SSSS";token.length<=9;token+="S")addRegexToken(token,matchUnsigned);function parseMs(input,array){array[MILLISECOND]=toInt(("0."+input)*1e3)}for(token="S";token.length<=9;token+="S")addParseToken(token,parseMs);getSetMillisecond=makeGetSet("Milliseconds",!1),addFormatToken("z",0,0,"zoneAbbr"),addFormatToken("zz",0,0,"zoneName");function getZoneAbbr(){return this._isUTC?"UTC":""}function getZoneName(){return this._isUTC?"Coordinated Universal Time":""}var proto=Moment.prototype;proto.add=add,proto.calendar=calendar$1,proto.clone=clone,proto.diff=diff,proto.endOf=endOf,proto.format=format,proto.from=from,proto.fromNow=fromNow,proto.to=to,proto.toNow=toNow,proto.get=stringGet,proto.invalidAt=invalidAt,proto.isAfter=isAfter,proto.isBefore=isBefore,proto.isBetween=isBetween,proto.isSame=isSame,proto.isSameOrAfter=isSameOrAfter,proto.isSameOrBefore=isSameOrBefore,proto.isValid=isValid$2,proto.lang=lang,proto.locale=locale,proto.localeData=localeData,proto.max=prototypeMax,proto.min=prototypeMin,proto.parsingFlags=parsingFlags,proto.set=stringSet,proto.startOf=startOf,proto.subtract=subtract,proto.toArray=toArray,proto.toObject=toObject,proto.toDate=toDate,proto.toISOString=toISOString,proto.inspect=inspect,typeof Symbol<"u"&&Symbol.for!=null&&(proto[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),proto.toJSON=toJSON,proto.toString=toString,proto.unix=unix,proto.valueOf=valueOf,proto.creationData=creationData,proto.eraName=getEraName,proto.eraNarrow=getEraNarrow,proto.eraAbbr=getEraAbbr,proto.eraYear=getEraYear,proto.year=getSetYear,proto.isLeapYear=getIsLeapYear,proto.weekYear=getSetWeekYear,proto.isoWeekYear=getSetISOWeekYear,proto.quarter=proto.quarters=getSetQuarter,proto.month=getSetMonth,proto.daysInMonth=getDaysInMonth,proto.week=proto.weeks=getSetWeek,proto.isoWeek=proto.isoWeeks=getSetISOWeek,proto.weeksInYear=getWeeksInYear,proto.weeksInWeekYear=getWeeksInWeekYear,proto.isoWeeksInYear=getISOWeeksInYear,proto.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear,proto.date=getSetDayOfMonth,proto.day=proto.days=getSetDayOfWeek,proto.weekday=getSetLocaleDayOfWeek,proto.isoWeekday=getSetISODayOfWeek,proto.dayOfYear=getSetDayOfYear,proto.hour=proto.hours=getSetHour,proto.minute=proto.minutes=getSetMinute,proto.second=proto.seconds=getSetSecond,proto.millisecond=proto.milliseconds=getSetMillisecond,proto.utcOffset=getSetOffset,proto.utc=setOffsetToUTC,proto.local=setOffsetToLocal,proto.parseZone=setOffsetToParsedOffset,proto.hasAlignedHourOffset=hasAlignedHourOffset,proto.isDST=isDaylightSavingTime,proto.isLocal=isLocal,proto.isUtcOffset=isUtcOffset,proto.isUtc=isUtc,proto.isUTC=isUtc,proto.zoneAbbr=getZoneAbbr,proto.zoneName=getZoneName,proto.dates=deprecate("dates accessor is deprecated. Use date instead.",getSetDayOfMonth),proto.months=deprecate("months accessor is deprecated. Use month instead",getSetMonth),proto.years=deprecate("years accessor is deprecated. Use year instead",getSetYear),proto.zone=deprecate("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",getSetZone),proto.isDSTShifted=deprecate("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",isDaylightSavingTimeShifted);function createUnix(input){return createLocal(input*1e3)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(string){return string}var proto$1=Locale.prototype;proto$1.calendar=calendar,proto$1.longDateFormat=longDateFormat,proto$1.invalidDate=invalidDate,proto$1.ordinal=ordinal,proto$1.preparse=preParsePostFormat,proto$1.postformat=preParsePostFormat,proto$1.relativeTime=relativeTime,proto$1.pastFuture=pastFuture,proto$1.set=set,proto$1.eras=localeEras,proto$1.erasParse=localeErasParse,proto$1.erasConvertYear=localeErasConvertYear,proto$1.erasAbbrRegex=erasAbbrRegex,proto$1.erasNameRegex=erasNameRegex,proto$1.erasNarrowRegex=erasNarrowRegex,proto$1.months=localeMonths,proto$1.monthsShort=localeMonthsShort,proto$1.monthsParse=localeMonthsParse,proto$1.monthsRegex=monthsRegex,proto$1.monthsShortRegex=monthsShortRegex,proto$1.week=localeWeek,proto$1.firstDayOfYear=localeFirstDayOfYear,proto$1.firstDayOfWeek=localeFirstDayOfWeek,proto$1.weekdays=localeWeekdays,proto$1.weekdaysMin=localeWeekdaysMin,proto$1.weekdaysShort=localeWeekdaysShort,proto$1.weekdaysParse=localeWeekdaysParse,proto$1.weekdaysRegex=weekdaysRegex,proto$1.weekdaysShortRegex=weekdaysShortRegex,proto$1.weekdaysMinRegex=weekdaysMinRegex,proto$1.isPM=localeIsPM,proto$1.meridiem=localeMeridiem;function get$1(format2,index,field,setter){var locale2=getLocale(),utc=createUTC().set(setter,index);return locale2[field](utc,format2)}function listMonthsImpl(format2,index,field){if(isNumber(format2)&&(index=format2,format2=void 0),format2=format2||"",index!=null)return get$1(format2,index,field,"month");var i,out=[];for(i=0;i<12;i++)out[i]=get$1(format2,i,field,"month");return out}function listWeekdaysImpl(localeSorted,format2,index,field){typeof localeSorted=="boolean"?(isNumber(format2)&&(index=format2,format2=void 0),format2=format2||""):(format2=localeSorted,index=format2,localeSorted=!1,isNumber(format2)&&(index=format2,format2=void 0),format2=format2||"");var locale2=getLocale(),shift=localeSorted?locale2._week.dow:0,i,out=[];if(index!=null)return get$1(format2,(index+shift)%7,field,"day");for(i=0;i<7;i++)out[i]=get$1(format2,(i+shift)%7,field,"day");return out}function listMonths(format2,index){return listMonthsImpl(format2,index,"months")}function listMonthsShort(format2,index){return listMonthsImpl(format2,index,"monthsShort")}function listWeekdays(localeSorted,format2,index){return listWeekdaysImpl(localeSorted,format2,index,"weekdays")}function listWeekdaysShort(localeSorted,format2,index){return listWeekdaysImpl(localeSorted,format2,index,"weekdaysShort")}function listWeekdaysMin(localeSorted,format2,index){return listWeekdaysImpl(localeSorted,format2,index,"weekdaysMin")}getSetGlobalLocale("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(number){var b=number%10,output=toInt(number%100/10)===1?"th":b===1?"st":b===2?"nd":b===3?"rd":"th";return number+output}}),hooks.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale),hooks.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var mathAbs=Math.abs;function abs(){var data=this._data;return this._milliseconds=mathAbs(this._milliseconds),this._days=mathAbs(this._days),this._months=mathAbs(this._months),data.milliseconds=mathAbs(data.milliseconds),data.seconds=mathAbs(data.seconds),data.minutes=mathAbs(data.minutes),data.hours=mathAbs(data.hours),data.months=mathAbs(data.months),data.years=mathAbs(data.years),this}function addSubtract$1(duration,input,value,direction){var other=createDuration(input,value);return duration._milliseconds+=direction*other._milliseconds,duration._days+=direction*other._days,duration._months+=direction*other._months,duration._bubble()}function add$1(input,value){return addSubtract$1(this,input,value,1)}function subtract$1(input,value){return addSubtract$1(this,input,value,-1)}function absCeil(number){return number<0?Math.floor(number):Math.ceil(number)}function bubble(){var milliseconds2=this._milliseconds,days2=this._days,months2=this._months,data=this._data,seconds2,minutes2,hours2,years2,monthsFromDays;return milliseconds2>=0&&days2>=0&&months2>=0||milliseconds2<=0&&days2<=0&&months2<=0||(milliseconds2+=absCeil(monthsToDays(months2)+days2)*864e5,days2=0,months2=0),data.milliseconds=milliseconds2%1e3,seconds2=absFloor(milliseconds2/1e3),data.seconds=seconds2%60,minutes2=absFloor(seconds2/60),data.minutes=minutes2%60,hours2=absFloor(minutes2/60),data.hours=hours2%24,days2+=absFloor(hours2/24),monthsFromDays=absFloor(daysToMonths(days2)),months2+=monthsFromDays,days2-=absCeil(monthsToDays(monthsFromDays)),years2=absFloor(months2/12),months2%=12,data.days=days2,data.months=months2,data.years=years2,this}function daysToMonths(days2){return days2*4800/146097}function monthsToDays(months2){return months2*146097/4800}function as(units){if(!this.isValid())return NaN;var days2,months2,milliseconds2=this._milliseconds;if(units=normalizeUnits(units),units==="month"||units==="quarter"||units==="year")switch(days2=this._days+milliseconds2/864e5,months2=this._months+daysToMonths(days2),units){case"month":return months2;case"quarter":return months2/3;case"year":return months2/12}else switch(days2=this._days+Math.round(monthsToDays(this._months)),units){case"week":return days2/7+milliseconds2/6048e5;case"day":return days2+milliseconds2/864e5;case"hour":return days2*24+milliseconds2/36e5;case"minute":return days2*1440+milliseconds2/6e4;case"second":return days2*86400+milliseconds2/1e3;case"millisecond":return Math.floor(days2*864e5)+milliseconds2;default:throw new Error("Unknown unit "+units)}}function makeAs(alias){return function(){return this.as(alias)}}var asMilliseconds=makeAs("ms"),asSeconds=makeAs("s"),asMinutes=makeAs("m"),asHours=makeAs("h"),asDays=makeAs("d"),asWeeks=makeAs("w"),asMonths=makeAs("M"),asQuarters=makeAs("Q"),asYears=makeAs("y"),valueOf$1=asMilliseconds;function clone$1(){return createDuration(this)}function get$2(units){return units=normalizeUnits(units),this.isValid()?this[units+"s"]():NaN}function makeGetter(name){return function(){return this.isValid()?this._data[name]:NaN}}var milliseconds=makeGetter("milliseconds"),seconds=makeGetter("seconds"),minutes=makeGetter("minutes"),hours=makeGetter("hours"),days=makeGetter("days"),months=makeGetter("months"),years=makeGetter("years");function weeks(){return absFloor(this.days()/7)}var round=Math.round,thresholds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(string,number,withoutSuffix,isFuture,locale2){return locale2.relativeTime(number||1,!!withoutSuffix,string,isFuture)}function relativeTime$1(posNegDuration,withoutSuffix,thresholds2,locale2){var duration=createDuration(posNegDuration).abs(),seconds2=round(duration.as("s")),minutes2=round(duration.as("m")),hours2=round(duration.as("h")),days2=round(duration.as("d")),months2=round(duration.as("M")),weeks2=round(duration.as("w")),years2=round(duration.as("y")),a=seconds2<=thresholds2.ss&&["s",seconds2]||seconds2<thresholds2.s&&["ss",seconds2]||minutes2<=1&&["m"]||minutes2<thresholds2.m&&["mm",minutes2]||hours2<=1&&["h"]||hours2<thresholds2.h&&["hh",hours2]||days2<=1&&["d"]||days2<thresholds2.d&&["dd",days2];return thresholds2.w!=null&&(a=a||weeks2<=1&&["w"]||weeks2<thresholds2.w&&["ww",weeks2]),a=a||months2<=1&&["M"]||months2<thresholds2.M&&["MM",months2]||years2<=1&&["y"]||["yy",years2],a[2]=withoutSuffix,a[3]=+posNegDuration>0,a[4]=locale2,substituteTimeAgo.apply(null,a)}function getSetRelativeTimeRounding(roundingFunction){return roundingFunction===void 0?round:typeof roundingFunction=="function"?(round=roundingFunction,!0):!1}function getSetRelativeTimeThreshold(threshold,limit){return thresholds[threshold]===void 0?!1:limit===void 0?thresholds[threshold]:(thresholds[threshold]=limit,threshold==="s"&&(thresholds.ss=limit-1),!0)}function humanize(argWithSuffix,argThresholds){if(!this.isValid())return this.localeData().invalidDate();var withSuffix=!1,th=thresholds,locale2,output;return typeof argWithSuffix=="object"&&(argThresholds=argWithSuffix,argWithSuffix=!1),typeof argWithSuffix=="boolean"&&(withSuffix=argWithSuffix),typeof argThresholds=="object"&&(th=Object.assign({},thresholds,argThresholds),argThresholds.s!=null&&argThresholds.ss==null&&(th.ss=argThresholds.s-1)),locale2=this.localeData(),output=relativeTime$1(this,!withSuffix,th,locale2),withSuffix&&(output=locale2.pastFuture(+this,output)),locale2.postformat(output)}var abs$1=Math.abs;function sign(x){return(x>0)-(x<0)||+x}function toISOString$1(){if(!this.isValid())return this.localeData().invalidDate();var seconds2=abs$1(this._milliseconds)/1e3,days2=abs$1(this._days),months2=abs$1(this._months),minutes2,hours2,years2,s,total=this.asSeconds(),totalSign,ymSign,daysSign,hmsSign;return total?(minutes2=absFloor(seconds2/60),hours2=absFloor(minutes2/60),seconds2%=60,minutes2%=60,years2=absFloor(months2/12),months2%=12,s=seconds2?seconds2.toFixed(3).replace(/\.?0+$/,""):"",totalSign=total<0?"-":"",ymSign=sign(this._months)!==sign(total)?"-":"",daysSign=sign(this._days)!==sign(total)?"-":"",hmsSign=sign(this._milliseconds)!==sign(total)?"-":"",totalSign+"P"+(years2?ymSign+years2+"Y":"")+(months2?ymSign+months2+"M":"")+(days2?daysSign+days2+"D":"")+(hours2||minutes2||seconds2?"T":"")+(hours2?hmsSign+hours2+"H":"")+(minutes2?hmsSign+minutes2+"M":"")+(seconds2?hmsSign+s+"S":"")):"P0D"}var proto$2=Duration.prototype;proto$2.isValid=isValid$1,proto$2.abs=abs,proto$2.add=add$1,proto$2.subtract=subtract$1,proto$2.as=as,proto$2.asMilliseconds=asMilliseconds,proto$2.asSeconds=asSeconds,proto$2.asMinutes=asMinutes,proto$2.asHours=asHours,proto$2.asDays=asDays,proto$2.asWeeks=asWeeks,proto$2.asMonths=asMonths,proto$2.asQuarters=asQuarters,proto$2.asYears=asYears,proto$2.valueOf=valueOf$1,proto$2._bubble=bubble,proto$2.clone=clone$1,proto$2.get=get$2,proto$2.milliseconds=milliseconds,proto$2.seconds=seconds,proto$2.minutes=minutes,proto$2.hours=hours,proto$2.days=days,proto$2.weeks=weeks,proto$2.months=months,proto$2.years=years,proto$2.humanize=humanize,proto$2.toISOString=toISOString$1,proto$2.toString=toISOString$1,proto$2.toJSON=toISOString$1,proto$2.locale=locale,proto$2.localeData=localeData,proto$2.toIsoString=deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1),proto$2.lang=lang,addFormatToken("X",0,0,"unix"),addFormatToken("x",0,0,"valueOf"),addRegexToken("x",matchSigned),addRegexToken("X",matchTimestamp),addParseToken("X",function(input,array,config){config._d=new Date(parseFloat(input)*1e3)}),addParseToken("x",function(input,array,config){config._d=new Date(toInt(input))});return hooks.version="2.30.1",setHookCallback(createLocal),hooks.fn=proto,hooks.min=min,hooks.max=max,hooks.now=now,hooks.utc=createUTC,hooks.unix=createUnix,hooks.months=listMonths,hooks.isDate=isDate,hooks.locale=getSetGlobalLocale,hooks.invalid=createInvalid,hooks.duration=createDuration,hooks.isMoment=isMoment,hooks.weekdays=listWeekdays,hooks.parseZone=createInZone,hooks.localeData=getLocale,hooks.isDuration=isDuration,hooks.monthsShort=listMonthsShort,hooks.weekdaysMin=listWeekdaysMin,hooks.defineLocale=defineLocale,hooks.updateLocale=updateLocale,hooks.locales=listLocales,hooks.weekdaysShort=listWeekdaysShort,hooks.normalizeUnits=normalizeUnits,hooks.relativeTimeRounding=getSetRelativeTimeRounding,hooks.relativeTimeThreshold=getSetRelativeTimeThreshold,hooks.calendarFormat=getCalendarFormat,hooks.prototype=proto,hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},hooks})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_filter=__toESM(require_esnext_iterator_filter()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find()),import_esnext_iterator_for_each=__toESM(require_esnext_iterator_for_each()),import_esnext_iterator_map=__toESM(require_esnext_iterator_map()),import_airtable=__toESM(require_airtable()),import_moment=__toESM(require_moment());init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var get_composer,decaf=safe_require.safe_require("./u/shared/decaf"),b_fiber
80=safe_require.safe_require("./u/shared/async/b_fiber"),hydrate=safe_require.safe_require("@bubblegroup/db/hydrate"),appquery=safe_require.safe_require("./lang/appquery"),widgets=safe_require.safe_require("./core/widgets"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),logger=safe_require.safe_require("./logger"),external=safe_require.safe_require("./external"),btypes=safe_require.safe_require("./lang/btypes"),Lib=safe_require.safe_require("./lib"),db_values=safe_require.safe_require("@bubblegroup/db/values/db_values"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),node_eval=safe_require.safe_require("@bubblegroup/evaluation/engine/node_eval"),{default_eval_host}=safe_require.safe_require("./lang/default_eval_host"),btype_ids=safe_require.safe_require("./lang/btype_ids"),workflow_utils=safe_require.safe_require("./lang/workflow/workflow_utils");u.is_edit_mode()&&({get_composer}=safe_require.safe_require("./editor/composer/compatibility/composers"));var _base_open_close_status={},_table_open_close_status={},_account_open_close_status={};function get_path(base_id,table_id,field_name,field_id,key_name){if(base_id==null){logger.error("Airtable plugin error, calling airtable with an empty base_id");return}let path=`airtable.${base_id}`;return table_id&&(path+=`.tables.${table_id}`),field_name&&(path+=`.${field_name}`,field_id&&(path+=`.${field_id}`,key_name&&(path+=`.${key_name}`))),path}function get_meta_path(account_id,table_id,field_name,field_id,key_name){if(account_id==null){logger.error("Airtable plugin error, calling airtable with an empty account_id");return}let path="airtable_meta.account_map."+account_id;return table_id&&(path+=`.tables.${table_id}`),field_name&&(path+=`.${field_name}`,field_id&&(path+=`.${field_id}`,key_name&&(path+=`.${key_name}`))),path}function get_field(is_public,base_id,table_id,field_name,field_id,key_name){let path=get_path(base_id,table_id,field_name,field_id,key_name);return is_public?appquery.get_public_setting(path):appquery.get_private_setting(path)}function get_meta_field(is_public,account_id,table_id,field_name,field_id,key_name){let path=get_meta_path(account_id,table_id,field_name,field_id,key_name);return is_public?appquery.get_public_setting(path):appquery.get_private_setting(path)}function set_meta_field(is_public,value,account_id,table_id,field_name,field_id,key_name){let path=get_meta_path(account_id,table_id,field_name,field_id,key_name);return appquery.set_setting(is_public,path,value)}var _first_configuration_check=!0;function configure_meta_settings(){if(_first_configuration_check!==!1&&(_first_configuration_check=!1,appquery.get_public_setting("airtable_meta")==null))if(appquery.get_public_setting("airtable")!=null){let meta_public_settings={},meta_private_settings={},all_api_keys={},main_api_key=appquery.get_private_setting("airtable_api_key"),api_key_id=appquery.uid();main_api_key!=null&&(all_api_keys[main_api_key]=api_key_id),meta_public_settings[api_key_id]={human:"My Account",tables:{}},meta_private_settings[api_key_id]=main_api_key;let starter_rank=0;for(let base_id of get_base_list()){let account_key_id,base=get_field(!0,base_id);if(base.use_different_key){let base_api_key=appquery.get_private_setting(`airtable.${base_id}.base_api_key`);all_api_keys[base_api_key]==null&&(account_key_id=appquery.uid(),all_api_keys[base_api_key]=account_key_id,meta_public_settings[account_key_id]={human:"My Account",tables:{}},meta_private_settings[account_key_id]=base_api_key),account_key_id=all_api_keys[base_api_key]}else account_key_id=api_key_id;appquery.set_setting(!0,`airtable_meta.legacy_map.${base_id}`,account_key_id);for(let table_id of get_table_list(base_id)){let table=get_field(!0,base_id,table_id);meta_public_settings[account_key_id].tables[table_id]={authorized_delete:table.authorized_delete,authorized_read:table.authorized_read,authorized_write:table.authorized_write,initialized:table.initialized,rank:starter_rank+table.rank,show_link_warning:table.show_link_warning,table_name:table.name,table_id:"",view_name:table.view,view_id:"",airtable_base_id:base.airtable_base_id,airtable_base_name:base.human,outer_id:base_id};let link_init_tracker={},legacy_schema={},new_schema="";if(table.schema!=="")if(legacy_schema=u.json_parse(table.schema),table.initialized&&(meta_public_settings[account_key_id].tables[table_id].initialized_base_id=base.airtable_base_id,meta_public_settings[account_key_id].tables[table_id].initialized_table_name=legacy_schema.caption),Object.keys(legacy_schema).length===0)new_schema="";else{let schema={};for(let legacy_id in legacy_schema){let legacy_fields=legacy_schema[legacy_id];
80schema[`${account_key_id}.${table_id}`]=legacy_schema[legacy_id],meta_public_settings[account_key_id].tables[table_id].initialized_table_name=legacy_fields.caption}new_schema=u.json_stringify(schema)}if(meta_public_settings[account_key_id].tables[table_id].schema=new_schema,table.link_init_tracker!=null){link_init_tracker={};for(let legacy_link_id in table.link_init_tracker){let legacy_link=table.link_init_tracker[legacy_link_id];link_init_tracker[`${account_key_id}${legacy_link.table_id}`]={account_id:account_key_id,table_id:legacy_link.table_id}}meta_public_settings[account_key_id].tables[table_id].link_init_tracker=link_init_tracker}}starter_rank+=get_table_list(base_id).length}appquery.set_setting(!0,"airtable_meta.account_map",meta_public_settings),appquery.set_setting(!1,"airtable_meta.account_map",meta_private_settings),appquery.commit()}else appquery.set_setting(!0,"airtable_meta",{}),appquery.set_setting(!1,"airtable_meta",{}),appquery.commit()}function new_account(){let new_id=appquery.uid();return _account_open_close_status[new_id]??=u.Box(!0),_base_open_close_status[new_id]??=u.Box(!0),appquery.set_setting(!0,`airtable_meta.account_map.${new_id}`,{human:"New Account"}),appquery.commit(),new_id}function delete_account(account_id){if(account_id){let path=`airtable_meta.account_map.${account_id}`;appquery.set_setting(!1,path,null),appquery.set_setting(!0,path,null),appquery.commit()}}function new_meta_table(account_id){let new_table_id=appquery.uid();_table_open_close_status[new_table_id]??=u.Box(!0);let table_data={initialized:!1,schema:"",authorized_write:!1,authorized_read:!0,authorized_delete:!1,outer_id:account_id,airtable_base_id:""},path=`airtable_meta.account_map.${account_id}.tables.${new_table_id}`;return appquery.set_setting(!0,path,table_data),appquery.commit(),new_table_id}function delete_meta_table(account_id,table_id){let link_tracker=get_meta_field(!0,account_id,table_id,"link_init_tracker");if(link_tracker)for(let link_table_hash in link_tracker){let link_table_data=link_tracker[link_table_hash],link_link_tracker=get_meta_field(!0,link_table_data.account_id,link_table_data.table_id,"link_init_tracker");link_link_tracker&&(delete link_link_tracker[account_id+table_id],set_meta_field(!0,link_link_tracker,link_table_data.account_id,link_table_data.table_id,"link_init_tracker"),set_meta_field(!0,!0,link_table_data.account_id,link_table_data.table_id,"show_link_warning"))}if(account_id&&table_id){let path=get_meta_path(account_id,table_id);return appquery.set_setting(!0,path,null),appquery.commit()}}function get_account_list(){return appquery.app().json.child_by_path("settings.client_safe.airtable_meta.account_map").child_names()}function get_base_list(){return appquery.app().json.child_by_path("settings.client_safe.airtable").child_names()}function get_table_list(base_id){return appquery.app().json.child_by_path(`settings.client_safe.airtable.${base_id}
80.tables`).child_names()}function meta_get_table_list(account){return appquery.app().json.child_by_path(`settings.client_safe.airtable_meta.account_map.${account}.tables`).child_names()}var _schema_cache={};function cache_base_data(account){if(account===""||account===null)return{};if(_schema_cache[account])return _schema_cache[account];{let base_info=meta_get_bases(account);if(Object.keys(base_info).length===0)return{};if(base_info.error)return{error:"Invalid Personal Access Token. Please check your Airtable account settings and try again.",error_subtitle:"Note that the schema.bases:read scope is required."};_schema_cache[account]={};for(let base of decaf.array_from(base_info.bases))_schema_cache[account][base.id]=base;return _schema_cache[account]}}function cache_table_data(account,base){if(base==null||base==="_blank"||_schema_cache[account]?.[base]==null)return{};if(_schema_cache[account][base]?.tables)return _schema_cache[account][base].tables;{let table_info=meta_get_tables(account,base);if(Object.keys(table_info).length===0)return{};_schema_cache[account][base].tables={};for(let table of decaf.array_from(table_info.tables))_schema_cache[account][base].tables[table.id]=table;return _schema_cache[account][base].tables}}function get_cached_schema(account,base,table){return _schema_cache[account][base].tables[table]?.fields??[]}var _base_results={},_table_results={},_server_call_keys={};function meta_get_bases(api_key){if(_base_results[api_key])return _base_results[api_key];let bases_promise=Lib().location.post("server://pluginserver/getairtableschemafromserver",{api_key});return _server_call_keys[api_key]==null&&(_server_call_keys[api_key]=u.MakeKey(null,"fetching some base data"),bases_promise.callback((err,response)=>(_base_results[api_key]=u.json_parse(response),_server_call_keys[api_key].turn()))),u.ensure_ready(_server_call_keys[api_key]),_base_results[api_key]??{}}function meta_get_tables(api_key,base_id){if(_table_results[base_id])return _table_results[base_id];let table_promise=Lib().location.post("server://pluginserver/getairtableschemafromserver",{api_key,base_id});return _server_call_keys[base_id]==null&&(_server_call_keys[base_id]=u.MakeKey(null,"fetching some table data"),table_promise.callback((err,response)=>(_table_results[base_id]=u.json_parse(response),_server_call_keys[base_id].turn()))),u.ensure_ready(_server_call_keys[base_id]),_table_results[base_id]??{}}function refresh_tables_schema_without_cache(account_id,base_id){let api_key=appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),table_promise=Lib().location.post("server://pluginserver/getairtableschemafromserver",{api_key,base_id});return _server_call_keys[base_id]==null&&(_server_call_keys[base_id]=u.MakeKey(null,"fetching some table data"),table_promise.callback((err,response)=>{_table_results[base_id]=u.json_parse(response);let table_info=_table_results[base_id];if(Object.keys(table_info).length===0)return _server_call_keys[base_id].turn();if(_schema_cache[api_key][base_id]){_schema_cache[api_key][base_id].tables={};for(let table of decaf.array_from(table_info.tables))_schema_cache[api_key][base_id].tables[table.id]=table}return _server_call_keys[base_id].turn()})),u.ensure_ready(_server_call_keys[base_id]),_table_results[base_id]??{}}function meta_build_account_div(account_id,container){let base_panel=u.div("call-panel bubble-ui green-box hidden",container),expand_btn=u.div("expand-btn light-button",base_panel,"expand");u.div("field-label airtable-base-id",base_panel,"Account Label");let account_name_input=Lib().composer.get_settings_composer(!0,`airtable_meta.account_map.${account_id}.human`,"TextBox",void 0,void 0,void 0,void 0,void 0,void 0,void 0,"bubble-ui field-value");base_panel.append(account_name_input.get_canvas());let base_id_label=u.div("field-label airtable-base-id",base_panel,"Personal Access Token"),base_id_input=Lib().composer.get_settings_composer(!1,`airtable_meta.account_map.${account_id}`,"TextBox",void 0,void 0,void 0,void 0,void 0,void 0,void 0,"bubble-ui field-value");base_panel.append(base_id_input.get_canvas());let delete_button=u.div("bubble-ui delete-btn",base_panel);delete_button.on("vclick",()=>window.ConfirmPanel({title:"Airtable",message:"Are you sure you want want to delete this account? All tables will be removed.",additional_class:"airtable",cb_yes(){delete_account(account_id)}}));let key_warning_wrapper=u.div("key-warning-wrapper",base_panel,""),key_warning=u.div("warning-icon bubble-ui key-warning",key_warning_wrapper,""),key_warning_subtitle=u.div("bubble-ui key-warning-subtitle",key_warning_wrapper,""),table_wrapper=u.div("calls-wrapper",base_panel),table_warning=u.div("table-warning",base_panel,"").html('Note that you must also add the appropriate scopes & access to this Personal Access Token through the <a class="link" href="https://airtable.com/create/tokens" target="_blank" noopener noreferrer>Airtable console<a>.'),add_table_btn=u.div("btn bubble-ui grey add-table-btn",base_panel,"Add another Table");add_table_btn.on("vclick",()=>new_meta_table(account_id));let rankings=u.Watcher(()=>{let result_list=[],iterable=meta_get_table_list(account_id);for(let n=0;n<iterable.length;n++){let table_id=iterable[n],rank=get_meta_field(!0,account_id,table_id,"rank");rank==null&&(rank=n,set_meta_field(!0,rank,account_id,table_id,"rank")),result_list.push({table_id,rank})}result_list.sort((a,b)=>a.rank<b.rank?-1:1);for(let i=0;i<result_list.length;i++){let c=result_list[i],{table_id,rank}=c;rank!==i&&(set_meta_field(!0,i,account_id,table_id,"rank"),c.rank=i)}return result_list.length>0&&table_wrapper.is(":visible")?table_warning.show():table_warning.hide(),result_list});_base_open_close_status&&(_base_open_close_status[account_id]??=u.Box(!1),expand_btn.on("vclick",()=>_base_open_close_status[account_id](!_base_open_close_status[account_id]())),u.autorun(()=>{let shown=_base_open_close_status[account_id]();return base_panel.toggleClass("hidden",!shown),shown?(table_wrapper.show(),add_table_btn.show(),base_id_label.show(),base_id_input.get_canvas().show(),delete_button.show(),rankings.get().length>0&&table_warning.show(),expand_btn.text("collapse")):(table_wrapper.hide(),table_warning.hide(),add_table_btn.hide(),base_id_label.hide(),base_id_input.get_canvas().hide(),delete_button.hide(),key_warning_wrapper.hide(),expand_btn.text("exp
80and"))}));let cached_base_data=u.Watcher(()=>cache_base_data(appquery.get_private_setting(`airtable_meta.account_map.${account_id}`)));return u.autorun(()=>{table_wrapper.empty();let my_cache=cached_base_data.get();my_cache.error?(key_warning.text(my_cache.error),key_warning_subtitle.text(my_cache.error_subtitle),_base_open_close_status[account_id]()&&(key_warning_wrapper.show(),_keys_valid[account_id]=!1)):(key_warning_wrapper.hide(),_keys_valid[account_id]=!0);let sorted_list=rankings.get();for(let{table_id,rank}of sorted_list)meta_build_table_div(table_id,account_id,table_wrapper,rank,sorted_list,my_cache)})}var _keys_valid={};function meta_build_table_div(table_id,account_id,table_wrapper,rank,sorted_list,cached_base_data){let initialized_warning,link_warning,popup_button,table_warning,base_options={},base_owner_name=get_meta_field(!0,account_id,table_id,"airtable_base_name"),base_owner_id=get_meta_field(!0,account_id,table_id,"airtable_base_id"),table_panel=u.div("sub-call-panel bubble-ui green-box hidden",table_wrapper),expand_btn=u.div("expand-btn light-button table-expand",table_panel,"expand"),move_wrapper=u.div("move-wrapper",table_panel),move_down_btn=u.div("move-down-btn light-button",move_wrapper,"move down"),move_up_btn=u.div("move-up-btn light-button",move_wrapper,"move up");move_up_btn.hide(),move_down_btn.hide();let dropdown_wrapper=u.div("dropdown-wrapper",table_panel),base_wrapper=u.div("fields-list",dropdown_wrapper),base_owner=Lib().composer.Owner(base_owner_id);u.div("field-label airtable-call-name",base_wrapper,"Base "),u.autorun(()=>{for(let base_id in cached_base_data){let base=cached_base_data[base_id];base_id!=="error"&&(base_options[base.id]=base.name)}base_owner_id!=null&&base_owner_id!=="_blank"&&base_options[base_owner_id]==null&&(base_options[base_owner_id]=base_owner_name),base_options=u.get_sorted_object_by_values(base_options);let base_options_set=Lib().sets.get_set("Object")(base_options),base_dropdown=get_composer("Dropdown",base_owner,{set:base_options_set,on_change(){if(_keys_valid[account_id])return set_meta_field(!0,base_owner.get(),account_id,table_id,"airtable_base_id"),set_meta_field(!0,base_options[base_owner.get()],account_id,table_id,"airtable_base_name"),set_meta_field(!0,null,account_id,table_id,"table_id"),set_meta_field(!0,null,account_id,table_id,"table_name"),set_meta_field(!0,null,account_id,table_id,"view_id"),set_meta_field(!0,null,account_id,table_id,"view_name")}});return base_dropdown.get_canvas().addClass("bubble-ui field-value"),base_wrapper.append(base_dropdown.get_canvas())});let cached_table_data=u.Watcher(()=>cache_table_data(appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),base_owner.get()));table_wrapper=u.div("fields-list",dropdown_wrapper);let view_wrapper=u.div("fields-list",dropdown_wrapper);u.autorun(()=>{let id;table_wrapper.empty();let name_to_id_map={"Select a Table":"_blank"},table_owner_name=get_meta_field(!0,account_id,table_id,"table_name"),table_owner_id=get_meta_field(!0,account_id,table_id,"table_id"),table_options={},object=cached_table_data.get();for(id in object){let table=object[id];table_options[id]=table.name,name_to_id_map[table.name]=id}table_owner_id!=null&&table_owner_id!=="_blank"&&name_to_id_map[table_owner_name]==null&&(name_to_id_map[table_owner_name]=table_owner_id),table_owner_id=name_to_id_map[table_owner_name],table_owner_id!=null&&table_owner_id!=="_blank"&&table_owner_id!==""&&table_options[table_owner_id]==null&&(table_options[table_owner_id]=table_owner_name),table_options=u.get_sorted_object_by_values(table_options),_keys_valid[account_id]&&(get_meta_field(!0,account_id,table_id,"table_id")===""||get_meta_field(!0,account_id,table_id,"table_id")===null)&&set_meta_field(!0,table_owner_id,account_id,table_id,"table_id");let table_owner=Lib().composer.Owner(table_owner_id),table_options_set=Lib().sets.get_set("Object")(table_options);u.div("field-label airtable-base-id",table_wrapper,"Table ");let table_dropdown=get_composer("Dropdown",table_owner,{set:table_options_set,on_change(){if(!_keys_valid[account_id])return;table_dropdown.owner.value!==get_meta_field(!0,account_id,table_id,"table_id")&&(set_meta_field(!0,null,account_id,table_id,"view_id"),set_meta_field(!0,null,account_id,table_id,"view_name")),set_meta_field(!0,table_dropdown.owner.value,account_id,table_id,"table_id");let table_name=table_options[table_dropdown.owner.value];return set_meta_field(!0,table_name,account_id,table_id,"table_name")}});return table_dropdown.get_canvas().addClass("bubble-ui field-value"),table_wrapper.append(table_dropdown.get_canvas()),u.autorun(()=>{view_wrapper.empty();let current_table_id=table_owner.get(),current_table=cached_table_data.get()[current_table_id]??{views:[]},view_owner_name=get_meta_field(!0,account_id,table_id,"view_name"),view_owner_id=get_meta_field(!0,account_id,table_id,"view_id"),view_options={},view_to_id_map={};for(let view of decaf.array_from(current_table.views))view_options[view.id]=view.name,view_to_id_map[view.name]=view.id;view_owner_id!=null&&view_owner_id!=="_blank"&&view_to_id_map[view_owner_id]==null&&(view_to_id_map[view_owner_name]=view_owner_id),view_owner_id=view_to_id_map[view_owner_name],view_owner_id!=null&&view_owner_id!=="_blank"&&view_options[view_owner_id]==null&&(view_options[view_owner_id]=view_owner_name),_keys_valid[account_id]&&get_meta_field(!0,account_id,table_id,"view_id")===""&&set_meta_field(!0,view_owner_id,account_id,table_id,"view_id");let view_owner=Lib().composer.Owner(view_owner_id),view_options_set=Lib().sets.get_set("Object")(view_options);u.div("field-label airtable-base-id",view_wrapper,"View (optional)");let view_dropdown=get_composer("Dropdown",view_owner,{set:view_options_set,optional:!0,on_change(){set_meta_field(!0,view_owner.get(),account_id,table_id,"view_id");let view_name=view_options[view_owner.get()];return set_meta_field(!0,view_name,account_id,table_id,"view_name")}});return view_dropdown.get_canvas().addClass("bubble-ui field-value"),view_wrapper.append(view_dropdown.get_canvas())})});let delete_button=u.div("bubble-ui delete-btn",table_panel);delete_button.on("vclick",()=>window.ConfirmPanel({title:"Airtable",message:"Are you sure you want want to delete this table?",additional_class:"airtable",cb_yes(){return delete_meta_table(account_id,table_id)}}));let data_options_row=u.div("row-wrapper",table_panel);u.div("field-label read-label",data_options_row,"Use as data");let read_checkbox=Lib().composer.get_settings_composer(!0,get_meta_path(account_id,table_id,"authorized_read"),"Checkbox");read_checkbox.get_canvas().addClass("bubble-ui permissions-value"),data_options_row.append(read_checkbox.get_canvas()),u.div("field-label write-label",data_options_row,"Create & Modify");let write_checkbox=Lib().composer.get_settings_composer(!0,get_meta_path(account_id,table_id,"authorized_write"),"Checkbox");write_checkbox.get_canvas().addClass("bubble-ui permissions-value"),data_options_row.append(write_checkbox.get_canvas()),u.div("field-label delete-label",data_options_row,"Delete");let delete_checkbox=Lib().composer.get_settings_composer(!0,get_meta_path(account_id,table_id,"authorized_delete"),"Checkbox");delete_checkbox.get_canvas().addClass("bubble-ui permissions-value"),data_options_row.append(delete_checkbox.get_canvas()),get_meta_field(!0,account_id,table_id,"initialized")?(popup_button=u.div("btn bubble-ui grey init-table-btn save-table",data_options_row,"Reinitialize"),popup_button.on("vclick",()=>(_server_call_keys[base_owner.get()]=null,_first_configuration_check=!0,u.run_once(30,()=>(refresh_tables_schema_without_cache(account_id,base_owner.get()),null),()=>{if(_keys_valid[account_id]){let popup_schema=get_meta_schema(!0,account_id,get_meta_field(!0,account_id,table_id,"airtable_base_id"),get_meta_field(!0,account_id,table_id,"table_id"),table_id);if(Object.keys(popup_schema).length>0)return new EditSchemaPopup({account_id,table_id,schema:popup_schema})}}))),get_meta_field(!0,account_id,table_id,"show_link_warning")?link_warning=u.div("warning-icon bubble-ui",table_panel," Your schema includes a link to a table that hasn't been initialized yet."):link_warning=u.div("",table_panel,"")):(popup_button=u.div("btn bubble-ui grey init-table-btn save-table",data_options_row,"Initialize"),table_warning=u.div("hidden warning-icon bubble-ui",table_panel," You need to initialize this table before it will work."),u.autorun(()=>{let is_missing_table_info=!get_meta_field(!0,account_id,table_id,"airtable_base_id")||!get_meta_field(!0,account_id,table_id,"table_id");popup_button.toggleClass("disabled",is_missing_table_info)}),popup_button.on("vclick",()=>{_server_call_keys[base_owner.get()]=null,_first_configuration_check=!0,u.autorun(()=>{refresh_tables_schema_without_cache(account_id,base_owner.get())});let popup_schema=get_meta_schema(!0,account_id,get_meta_field(!0,account_id,table_id,"airtable_base_id"),get_meta_field(!0,account_id,table_id,"table_id"),table_id);if(Object.keys(popup_schema).length>0)return new EditSchemaPopup({account_id,table_id,schema:popup_schema})}));let settings_changed=u.Watcher(()=>{let base_changed=get_meta_field(!0,account_id,table_id,"initialized_base_id")!==get_meta_field(!0,account_id,table_id,"airtable_base_id"),table_changed=get_meta_field(!0,account_id,table_id,"initialized_table_name")!==get_meta_field(!0,account_id,table_id,"table_name");return configure_meta_settings(),base_changed||table_changed});get_meta_field(!0,account_id,table_id,"initialized")&&settings_changed.get()?initialized_
80warning=u.div("warning-icon bubble-ui",table_panel," Your table settings have changed since last initializing."):initialized_warning?.hide();function change_rank(minus){minus??=1;let current_rank=get_meta_field(!0,account_id,table_id,"rank")??rank,other_one;for(let a of sorted_list)if(a.rank===current_rank-minus){other_one=a.table_id;break}function do_it(){if(set_meta_field(!0,current_rank-minus,account_id,table_id,"rank"),other_one)return set_meta_field(!0,current_rank,account_id,other_one,"rank")}if(minus===-1){let height=table_panel.height()+77,next_div=table_panel.next();return table_panel.css("margin-bottom",next_div.height()+77),next_div.hide(),u.velocity(table_panel,{"margin-top":height,"margin-bottom":15},{duration:500,complete_cb(){return do_it()}})}else{let prev_div=table_panel.prev(),height=prev_div.height()+77;return prev_div.hide(),table_panel.css("margin-top",height),u.velocity(table_panel,{"margin-top":15,"margin-bottom":height},{duration:500,complete_cb(){return do_it()}})}}if(u.autorun(()=>{let current_rank=get_meta_field(!0,account_id,table_id,"rank")??rank;if(current_rank>0&&move_up_btn.show(),current_rank<sorted_list.length-1)return move_down_btn.show()}),move_up_btn.on("vclick",()=>change_rank()),move_down_btn.on("vclick",()=>change_rank(-1)),_table_open_close_status)return _table_open_close_status[table_id]??=u.Box(!1),expand_btn.on("vclick",()=>_table_open_close_status[table_id](!_table_open_close_status[table_id]())),u.autorun(()=>{let shown=_table_open_close_status[table_id]();return table_panel.toggleClass("hidden",!shown),shown?(delete_button.show(),popup_button.show(),data_options_row.show(),view_wrapper.show(),table_warning?.show(),link_warning?.show(),initialized_warning?.show(),expand_btn.text("collapse")):(delete_button.hide(),popup_button.hide(),data_options_row.hide(),view_wrapper.hide(),table_warning?.hide(),link_warning?.hide(),initialized_warning?.hide(),expand_btn.text("exp
80and"))})}var AIRTABLE_TO_BUBBLE_TYPE_MAPPINGS={singleLineText:"text",email:"text",url:"text",multilineText:"text",singleSelect:"text",phoneNumber:"text",rollup:"text",multipleLookupValues:"text",multipleSelects:"text",number:"number",currency:"number",percent:"number",count:"number",autoNumber:"number",rating:"number",duration:"number",formula:"number",date:"date",dateTime:"date",createdTime:"date",lastModifiedTime:"date",singleCollaborator:"collaborator",multipleCollaborators:"collaborator",singleRecordLink:"link",multipleRecordLinks:"link",multipleAttachments:"attachment",barcode:"barcode",checkbox:"boolean",DEFAULT:"_ignore"},AIRTABLE_LIST_TYPES=["multipleSelects","multipleCollaborators","multipleRecordLinks","multipleAttachments","multipleLookupValues"];function get_meta_schema(get_remote_schema,account_id,base_id,table_id,bubble_table_id){let schema_string=get_meta_field(!0,account_id,bubble_table_id,"schema")||"{}",current_fields=u.json_parse(schema_string)[`${account_id}.${bubble_table_id}`]?.fields??{};if(!get_remote_schema)return get_in_memory_schema_mappings({current_fields});let airtable_fields=get_cached_schema(appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),base_id,table_id),schema={};for(let field of airtable_fields)schema[field.name]={caption:field.name,data_type:AIRTABLE_TO_BUBBLE_TYPE_MAPPINGS[field.type]||AIRTABLE_TO_BUBBLE_TYPE_MAPPINGS.DEFAULT,is_list:link_field_is_a_list(field)};return enrich_with_in_memory_schema_mappings({remote_schema:schema,current_fields})}function link_field_is_a_list(field){return AIRTABLE_LIST_TYPES.includes(field.type)&&!field.options?.prefersSingleRecordLink}var get_in_memory_schema_mappings=_ref=>{let{current_fields}=_ref,processed_fields={};for(let field_name in current_fields)processed_fields[field_name]=get_single_field_definition(current_fields[field_name]);return processed_fields},enrich_with_in_memory_schema_mappings=_ref2=>{let{remote_schema,current_fields}=_ref2,enriched_schema={};for(let field_name in remote_schema){let field=current_fields[field_name],remote_field=remote_schema[field_name];if(field){let field_currently_treated_as_list=btype_ids.is_list(current_fields[field_name]?.ret_btype??current_fields[field_name]?.ret_value);enriched_schema[field_name]={...remote_field,...get_single_field_definition(field),is_list:field_currently_treated_as_list??remote_schema[field_name].is_list}}else enriched_schema[field_name]=remote_field}return enriched_schema},get_single_field_definition=_ref3=>{let{ret_value,ret_btype,caption,link_table}=_ref3;ret_btype??=ret_value;let is_list,bubble_type;btype_ids.is_list(ret_btype)?(is_list=!0,bubble_type=ret_btype.split(".")[1]):(is_list=!1,bubble_type=ret_btype);let field_data={caption,data_type:bubble_type,is_list};return bubble_type==="link"&&(field_data.link_table=link_table),field_data},EditSchemaPopup=class{constructor(_ref4){let{account_id,table_id,schema}=_ref4;schema=u.sort_obj(schema);let popup=new widgets.ModalPopup("Table Schema - "+get_meta_field(!0,account_id,table_id,"table_name"));popup.get_canvas().addClass("airtable-data-types");let sub_child=popup.children_div,panel=u.div("panel",sub_child);u.div("instruction",panel,"You can modify the data types for your Table schema. This affects how you can use the data in Bubble. If you chose 'Ignore field', the fields won't be shown in the dropdowns.");let unspecified_table_warning=u.div("instruction warning-icon bubble-ui",panel," You won't be able to save your schema until fields of type 'Link to record(s)' have their table type specified."),type_wrapper=u.div("fields-list",panel),all_links={},allow_save=u.Box(!0);this.autorun=u.autorun(()=>{type_wrapper.empty();function process_field(name,field_data,parent_div,set_options2,link_options2,link_ids2){let entry_div=u.div("field-zone",parent_div);function get_type_composer(owner2,set_options3,dropdown_width_override2,link_options3,link_owner2){let row=u.div("field-row bubble-ui",entry_div),caption=field_data.caption??name;field_data.is_list&&field_data.data_type===!1&&(caption+=" (list)"),u.div("schema-field-name",row,caption);
80let field_composer=get_composer("Dropdown",owner2,{set:set_options3});field_composer.get_canvas().addClass("bubble-ui field-type"),row.append(field_composer.get_canvas());let table_row=u.div("bubble-ui",entry_div),list_row=u.div("bubble-ui",entry_div);return u.autorun(()=>{if(field_composer.owner.get()==="link"){table_row.addClass("sub-row"),list_row.addClass("sub-row");let link_composer=get_composer("Dropdown",link_owner2??Lib().composer.Owner(null),{set:link_options3});link_composer.get_canvas().addClass("bubble-ui field-type");let list_options={is_list:"yes",not_list:"no"},list_owner=field_data.is_list?Lib().composer.Owner("is_list"):Lib().composer.Owner("not_list"),list_composer=get_composer("Dropdown",list_owner,{set:Lib().sets.get_set("Object")(list_options),on_change(){let list_of_records=!0;list_owner.get()==="not_list"&&(list_of_records=!1),field_data.is_list=list_of_records}});return list_composer.get_canvas().addClass("bubble-ui field-type"),u.div("schema-field-name",table_row,"Link Table"),table_row.append(link_composer.get_canvas()),field_data.link_table_node=link_composer.owner,u.div("schema-field-name",list_row,"List of records?"),list_row.append(list_composer.get_canvas()),field_data.link_list_node=list_composer.owner,u.autorun(()=>{if(link_composer.owner.get()==null)allow_save(!1),all_links[caption]=!0;else if(all_links[caption]!=null&&delete all_links[caption],Object.keys(all_links).length===0)return allow_save(!0)})}else if(table_row.empty(),table_row.removeClass("sub-row"),list_row.empty(),list_row.removeClass("sub-row"),all_links[caption]!=null&&delete all_links[caption],Object.keys(all_links).length===0)return allow_save(!0)})}let dropdown_width_override=void 0,link_owner;field_data.data_type==="link"?(link_owner=Lib().composer.Owner(field_data.link_table),field_data.link_table_node=link_owner):link_owner=void 0;let owner=Lib().composer.Owner(field_data.data_type);return field_data.ret_btype_node=owner,get_type_composer(owner,set_options2,dropdown_width_override,link_options2,link_owner)}let link_options={},link_ids=[],airtable_base_id=get_meta_field(!0,account_id,table_id,"airtable_base_id");for(let table of meta_get_table_list(account_id))airtable_base_id===get_meta_field(!0,account_id,table,"airtable_base_id")&&(link_options[table]=get_meta_field(!0,account_id,table,"table_name"),link_ids.push(table));link_options=Lib().sets.get_set("Object")(link_options);let set_options={_ignore:"Ignore field",text:"text",number:"number",date:"date",boolean:"yes / no",attachment:"Attachment",collaborator:"Collaborator",barcode:"Barcode",link:"Link to..."};for(let field_name in schema){let field=schema[field_name];field_name!=="value_name"&&process_field(field.value_name,field,type_wrapper,Lib().sets.get_set("Object")(set_options),link_options,link_ids)}});let footer=u.div("bottom-stripe",sub_child),save_button=u.div("btn btn-create bubble-ui",footer,"SAVE"),cancel=u.div("btn btn-cancel",footer,"Cancel");u.autorun(()=>allow_save()&&Object.keys(schema).length>0?(save_button.removeClass("disabled"),unspecified_table_warning?.hide()):(save_button.addClass("disabled"),unspecified_table_warning?.show())),Object.keys(schema).length===0&&save_button.addClass("disabled"),cancel.on("vclick",()=>(popup.hide(),this.destroy())),save_button.on("vclick",()=>{let vals={},table_key=`${account_id}.${table_id}`;vals[table_key]={caption:get_meta_field(!0,account_id,table_id,"table_name"),fields:{}};let show_link_warning=!1;for(let name in schema){let field_data=schema[name],ret_type=field_data.ret_btype_node.get();(field_data.is_list||ret_type==="attachment")&&(ret_type=btype_ids.list_type(ret_type));let field_schema={caption:name,ret_btype:ret_type};if(ret_type==="link"||ret_type===btype_ids.list_type("link")){field_schema.link_table=field_data.link_table_node.get();let link_initialized=get_meta_field(!0,account_id,field_schema.link_table,"initialized")??!1;if(field_schema.link_table!==table_id){link_initialized||(show_link_warning=!0);let link_init_tracker=get_meta_field(!0,account_id,field_schema.link_table,"link_init_tracker")??{};link_init_tracker[account_id+table_id]={account_id,table_id},set_meta_field(!0,link_init_tracker,account_id,field_schema.link_table,"link_init_tracker")}}vals[table_key].fields[name]=field_schema}let this_tracker=get_meta_field(!0,account_id,table_id,"link_init_tracker");if(this_tracker)for(let link_table_hash in this_tracker){let link_table_data=this_tracker[link_table_hash];set_meta_field(!0,!1,link_table_data.account_id,link_table_data.table_id,"show_link_warning")}let str_vals=u.json_stringify(vals);
80set_meta_field(!0,str_vals,account_id,table_id,"schema"),set_meta_field(!0,!0,account_id,table_id,"initialized"),set_meta_field(!0,!0,account_id,table_id,"authorized_read"),set_meta_field(!0,show_link_warning,account_id,table_id,"show_link_warning"),set_meta_field(!0,get_meta_field(!0,account_id,table_id,"airtable_base_id"),account_id,table_id,"initialized_base_id"),set_meta_field(!0,get_meta_field(!0,account_id,table_id,"table_name"),account_id,table_id,"initialized_table_name"),popup.hide(),this.destroy()});let resize=()=>panel.css("max-height",$(window).height()-280);$(window).on("resize.airtable-data-types",resize),resize(),popup.show()}destroy(){$(window).off("resize.airtable-data-types"),this.autorun?.destroy()}};function get_loaded_calls(permission_level){let res={};if(appquery.get_public_setting("airtable_meta")!=null)for(let account of get_account_list())for(let table of meta_get_table_list(account)){let val=get_meta_field(!0,account,table);val.initialized&&(val[permission_level]||permission_level==="all")&&(res[account+"."+table]=val)}else for(let base of get_base_list())for(let table of get_table_list(base)){let val=get_field(!0,base,null,"tables."+table);val.initialized&&(val[permission_level]||permission_level==="all")&&(res[base+"."+table]=val)}return res}function return_btype(action,data_call){return data_call?btype_ids.api_type("airtable."+action):btype_ids.api_type("airtable."+action.get_static_property("thing_type"))}function sub_node_key_to_btype(main,key){return!main||!key?null:main.get_message(key)?.ret_btype()}function make_modification_properties(get_btype){return function(sub_node){let btype=btypes.get(get_btype()),key_name=sub_node?.entry?.("key").get_static(),key_btype=sub_node_key_to_btype(btype,key_name),key_btype_delisted=key_btype?.is_list()&&!["add_list","remove_list","set_list"].includes(sub_node.property("action")?.get_literal())?key_btype.inner():key_btype;key_name=sub_node?.entry?.("key").get_static();let set_obj={};for(let field_name in btype.plugin.fields){let val_field=btype.plugin.fields[field_name];field_name!=="_record_id"&&(set_obj[field_name]=val_field.caption)}let set=Lib().sets.get_set("Object")(set_obj),actions={set_list:"set list"};key_btype?.matches(btype_ids.list_type("file"))&&(actions={add:"add"});let action_set=Lib().sets.get_set("Object")(actions),properties=[{name:"key",editor:"Dropdown",label_text(){return set.get_display(key_name)},set,pretty:{arrowless:!0}},{name:"action",editor:key_btype?.is_list()?"Dropdown":"Label",label_text:" = ",set:action_set,condition(){return key_btype!=null},pretty:{arrowless:!0}}],action_subnode=sub_node?.property("action"),operandless_action=action_subnode?.is_empty()||action_subnode?.get_literal()==="clear_list";if(key_btype?.is_list()&&operandless_action===!0)return properties;key_btype_delisted?.matches(btype_ids.api_type("airtable.attachment"))&&(key_btype_delisted=btypes.get("text"));let editor=key_btype_delisted?.matches("text")?"ShortText":"Basic";return properties.push({name:"value",editor,btype:key_btype_delisted??btypes.get("null"),condition(){return key_btype!=null},pretty:{arrowless:!0},optional:!key_btype?.is_list(),value_setter:{property_modifier(node){let input_element=appquery.element
80(sub_node.property("value").get_static_property?.("element_id"));if(input_element?.type()==="Input"){let needed_content_format=key_btype_delisted.id()==="number"?"float_number":key_btype_delisted.id(),current_content_format=element_eval.evaluate_property(input_element,"content_format");if(current_content_format||needed_content_format==="float_number"&&["int_number","float_int"].includes(current_content_format))return;if(decaf.object_keys(inputs.input_content_options).includes(needed_content_format))return input_element.set_property("content_format",needed_content_format),input_element.commit()}},no_need_to_show_message(){return!0}}}),properties}}function make_constraints(get_btype){return function(sub_node){let btype=btypes.get(get_btype()),key_name=sub_node?.entry?.("key").get_static(),key_btype=sub_node_key_to_btype(btype,key_name),key_btype_delisted=key_btype?.is_list()&&!["add_list","remove_list","set_list"].includes(sub_node.property("action")?.get_literal())?key_btype.inner():key_btype;key_name=sub_node?.entry?.("key").get_static();let set_obj={},allowed_field_types=["number","date","text","boolean",btype_ids.list_type("text")];for(let field_name in btype.plugin.fields){let val_field=btype.plugin.fields[field_name];allowed_field_types.indexOf(val_field.ret_btype)!==-1&&(set_obj[field_name]=val_field.caption)}let set=Lib().sets.get_set("Object")(set_obj),operators=Lib().sets.get_set("SearchOperators")(key_btype),operator_name=sub_node?.entry?.("operator").get_static(),operators_display=operators?.get_display(operator_name),set_display=set.get_display(key_name),properties=[{name:"key",editor:"Dropdown",label_text(){return set_display},set,pretty:{arrowless:!0}},{name:"operator",editor:"Dropdown",label_text(){return operators_display},set:operators,condition(){return key_btype!=null},pretty:{arrowless:!0}}];if(["is empty","isn't empty"].includes(operators_display))return properties;let editor=key_btype_delisted?.matches("text")?"ShortText":"Basic",value_type=operator_name==="in"||operator_name==="not in"?btypes.get(btype_ids.list_type(key_btype_delisted.id()))??btypes.get("null"):key_btype_delisted??btypes.get("null");return properties.push({name:"value",editor,btype:value_type,condition(){return key_btype!=null},pretty:{arrowless:!0},optional:!key_btype?.is_list(),value_setter:{property_modifier(node){let input_element=appquery.element
80(sub_node.property("value").get_static_property?.("element_id"));if(input_element?.type()==="Input"){let needed_content_format=key_btype_delisted.id()==="number"?"float_number":key_btype_delisted.id(),current_content_format=node_eval.eval_property(input_element,"content_format",void 0,default_eval_host);if(current_content_format||needed_content_format==="float_number"&&["int_number","float_int"].includes(current_content_format))return;if(decaf.object_keys(inputs.input_content_options).includes(needed_content_format))return input_element.set_property("content_format",needed_content_format),input_element.commit()}},no_need_to_show_message(){return!0}}}),properties}}function get_date_constraint(operator,key,value,ignore_empty_constraints){if(ignore_empty_constraints&&value==null)return"";let list_value;["in","not in"].includes(operator)?list_value=value.all():value?value=(0,import_moment.default)(value).format("MM/DD/YYYY HH:mma"):value='""';let parsed_value=`DATETIME_PARSE('${value}', 'MM/DD/YYYY HH:mma')`,constraint;if(operator==="equals")constraint=`IS_SAME({${key}}, ${parsed_value}, 'minute')`;else if(operator==="not equal")constraint=`NOT(IS_SAME({${key}}, ${parsed_value}, 'minute'))`;else if(operator==="greater than")constraint=`IS_AFTER({${key}}, ${parsed_value})`;else if(operator==="less than")constraint=`IS_BEFORE({${key}}, ${parsed_value})`;else if(operator==="lte")constraint=`IF(OR(IS_SAME({${key}}, ${parsed_value}, 'minute'), IS_BEFORE({${key}}, ${parsed_value})), TRUE(), FALSE())`;else if(operator==="gte")constraint=`IF(OR(IS_SAME({${key}}, ${parsed_value}, 'minute'), IS_AFTER({${key}}, ${parsed_value})), TRUE(), FALSE())`;else if(operator==="is_empty")constraint=`{${key}} = BLANK()`;else if(operator==="is_not_empty")constraint=`NOT({${key}} = BLANK())`;else if(operator==="in"){constraint="IF(OR(";for(let date of decaf.array_from(list_value))date=(0,import_moment.default)(date).format("MM/DD/YYYY HH:mma"),parsed_value=`DATETIME_PARSE('${date}', 'MM/DD/YYYY HH:mma')`,constraint+=`IS_SAME({${key}}, ${parsed_value}, 'minute'),`;constraint=constraint.slice(0,-1),constraint+="), TRUE(), FALSE())"}else if(operator==="not in"){constraint="IF(OR(";for(let date of decaf.array_from(list_value))date=(0,import_moment.default)(date).format("MM/DD/YYYY HH:mma"),parsed_value=`DATETIME_PARSE('${date}', 'MM/DD/YYYY HH:mma')`,constraint+=`IS_SAME({${key}}, ${parsed_value}, 'minute'),`;constraint=constraint.slice(0,-1),constraint+="), FALSE(), TRUE())"}else constraint="";return constraint}function get_text_constraint(operator,key,value,ignore_empty_constraints){let constraint;return ignore_empty_constraints&&!value?"":(value??="BLANK()",operator==="equals"?constraint=`{${key}} = '${value}'`:operator==="not equal"?constraint=`{${key}} != '${value}'`:operator==="greater than"?constraint=`{${key}} > '${value}'`:operator==="less than"?constraint=`{${key}} < '${value}'`:operator==="text contains"?constraint=`FIND('${value}', {${key}}) > 0`:operator==="not text contains"?constraint=`FIND('${value}', {${key}}) = 0`:operator==="text contains string"?constraint=`FIND('${value}', {${key}}) > 0`:operator==="not text contains string"?constraint=`FIND('${value}', {${key}}) = 0`:operator==="is_empty"?constraint=`{${key}} = BLANK()`:operator==="is_not_empty"?constraint=`NOT({${key}} = BLANK())`:operator==="in"?constraint=`FIND({${key}}, '${value}') > 0`:operator==="not in"?constraint=`FIND({${key}}, '${value}') = 0`:constraint="",constraint)}function get_number_constraint(operator,key,original_value,ignore_empty_constraints){if(ignore_empty_constraints&&original_value==null)return"";let value=original_value??"BLANK()",constraint;if(operator==="equals")constraint=`{${key}} = ${value}`;else if(operator==="not equal")constraint=`{${key}} != ${value}`;else if(operator==="greater than")constraint=`{${key}} > ${value}`;else if(operator==="less than")constraint=`{${key}} < ${value}`;else if(operator==="lte")constraint=`{${key}} <= ${value}`;else if(operator==="gte")constraint=`{${key}} >= ${value}`;else if(operator==="is_empty")constraint=`{${key}} = BLANK()`;else if(operator==="is_not_empty")constraint=`NOT({${key}} = BLANK())`;else if(operator==="in")if(original_value!=null){constraint="IF(OR(";let list_value=value.all();for(let val of decaf.array_from(list_value))constraint+=`{${key}} = ${val},`;constraint=constraint.slice(0,-1),constraint+="), TRUE(), FALSE())"}else constraint="FALSE()";else if(operator==="not in")if(original_value){constraint="IF(OR(";let list_value=value.all();for(let val of decaf.array_from(list_value))constraint+=`{${key}} = ${val},`;constraint=constraint.slice(0,-1),constraint+="), FALSE(), TRUE())"}else constraint="TRUE()";else constraint="";return constraint}function get_boolean_constraint(operator,key,original_value,ignore_empty_constraints){if(ignore_empty_constraints&&original_value==null)return"";let value;original_value===!0?value="TRUE()":original_value===!1?value="FALSE()":original_value==null?value="BLANK()":value=original_value.all();let constraint;if(operator==="equals")constraint=`{${key}} = ${value}`;else if(operator==="not equal")constraint=`{${key}} != ${value}`;else if(operator==="is_empty")constraint=`{${key}} = BLANK()`;else if(operator==="is_not_empty")constraint=`NOT({${key}} = BLANK())`;else if(operator==="in")if(original_value!=null){constraint="IF(OR(";for(let val of decaf.array_from(value))val===!0?val="TRUE()":val="FALSE()",constraint+=`{${key}} = ${val},`;constraint=constraint.slice(0,-1),constraint+="), TRUE(), FALSE())"}else constraint="FALSE()";else if(operator==="not in")if(original_value!=null){constraint="IF(OR(";for(let val of decaf.array_from(value))val===!0?val="TRUE()":val="FALSE()",constraint+=`{${key}} = ${val},`;constraint=constraint.slice(0,-1),constraint+="), FALSE(), TRUE())"}else constraint="TRUE()";else constraint="";return constraint}function get_list_constraint(operator,key,value,ignore_empty_constraints){if(ignore_empty_constraints&&(value==null||value===""))return"";value||(value="BLANK()");let constraint;return operator==="empty"?constraint=`{${key}} = BLANK()`:operator==="not empty"?constraint=`NOT({${key}} = BLANK())`:operator==="contains"?constraint=`FIND('${value}', ARRAYJOIN({${key}})) > 0`:operator==="not contains"?constraint=`FIND('${value}', ARRAYJOIN({${key}})) = 0`:constraint="",constraint}function build_individual_constraint(bubble_operator,key,value,type,ignore_empty_constraints){let constraint;return type==="date"?constraint=get_date_constraint(bubble_operator,key,value,ignore_empty_constraints):type==="text"?constraint=get_text_constraint(bubble_operator,key,value,ignore_empty_constraints):type==="number"?constraint=get_number_constraint(bubble_operator,key,value,ignore_empty_constraints):type==="boolean"?constraint=get_boolean_constraint(bubble_operator,key,value,ignore_empty_constraints):type===btype_ids.list_type("text")?constraint=get_list_constraint(bubble_operator,key,value,ignore_empty_constraints):constraint="",constraint}function get_type_map(schema){let type_map={};for(let table in schema){let schema_fields=schema[table];for(let id in schema_fields.fields){let field=schema_fields.fields[id];type_map[field.caption]=field.ret_btype??field.ret_value}}return type_map}function build_filter(properties,schema){let type_map=get_type_map(schema),filter="",{constraints,ignore_empty_constraints}=properties;if(constraints!=null)if(constraints[1]){let parsed_constraints=Object.entries(constraints).map(function(){let[,{operator,key,value}]=decaf.array_from(arguments.length<=0?void 0:arguments[0]);return build_individual_constraint(operator,key,value,type_map[key],ignore_empty_constraints)});parsed_constraints=parsed_constraints.filter(st=>st!==""),filter=`AND(${parsed_constraints.join(",")})`}else{let constraint=constraints[0];filter=build_individual_constraint(constraint.operator,constraint.key,constraint.value,type_map[constraint.key],ignore_empty_constraints)}return filter}var CASTABLE_TYPES={date:!0};function write_fields(schema,properties){let attachment_tracker={},link_tracker={},real_names={},list_tracker={}
80,castable_tracker={},thing_type="";for(let thing_id in schema)thing_type=thing_id;for(let field_name in schema[thing_type]?.fields){let schema_field=schema[thing_type]?.fields[field_name];schema_field.ret_btype??=schema_field.ret_value,schema_field.ret_btype===btype_ids.list_type("attachment")&&(attachment_tracker[schema_field.caption]=!0),schema_field.ret_btype===btype_ids.list_type("link")&&(link_tracker[schema_field.caption]=!0),schema_field.ret_btype===btype_ids.list_type("text")&&(list_tracker[schema_field.caption]=!0),CASTABLE_TYPES[schema_field.ret_btype]&&(castable_tracker[schema_field.caption]=schema_field.ret_btype),real_names[field_name]=schema_field.caption}let fields={};for(let index in properties.initial_values){let url,property=properties.initial_values[index],field_name=real_names[property.key];if(typeof property.value=="object")if(db_values.registry.is(property.value,db_values.LIST_WRAPPER)){let field_list=[],children=property.value?.all();for(let child of decaf.array_from(children))db_values.registry.is(child,db_values.DYNAMIC)?field_list.push(child.get().get_data()):attachment_tracker[field_name]?(url=property.value,child.indexOf("http")!==0&&(url="https:"+child),field_list.push({url})):field_list.push(child);fields[field_name]=field_list}else db_values.registry.is(property.value,db_values.DYNAMIC)?fields[field_name]=property.value.get().get_data():attachment_tracker[field_name]?(url=property.value,property.value.indexOf("http")!==0&&(url="https:"+property.value),fields[field_name]=[{url}]):fields[field_name]=property.value;else link_tracker[field_name]?fields[field_name]=[property.value]:attachment_tracker[field_name]?(url=property.value,property.value.indexOf("http")!==0&&(url="https:"+property.value),fields[field_name]=[{url}]):list_tracker[field_name]?fields[field_name]=[property.value]:castable_tracker[field_name]?fields[field_name]=btypes.get(castable_tracker[field_name]).cast(property.value):fields[field_name]=property.value}return fields}function get_hash_types(type){let link_types=[type],base_id=type.split(".")[2],table_id=type.split(".")[3],link_tracker;appquery.get_public_setting("airtable_meta")!=null?get_meta_field(!0,base_id,table_id)!=null?link_tracker=get_meta_field(!0,base_id,table_id,"link_init_tracker")??{}:link_tracker=get_meta_field(!0,appquery.get_public_setting(`airtable_meta.legacy_map.${base_id}`),table_id,"link_init_tracker")??{}:link_tracker=get_field(!0,base_id,table_id,"link_init_tracker")??{};for(let idx in link_tracker){let link_type,data=link_tracker[idx];if(appquery.get_public_setting("airtable_meta")!=null){let outer_id=get_meta_field(!0,data.account_id,data.table_id,"outer_id");link_type=btype_ids.api_type(`airtable.${outer_id}.${data.table_id}`)}else link_type=btype_ids.api_type(`airtable.${data.base_id}.${data.table_id}`);link_types.push(link_type)}return link_types}var _service_hashes={};function get_bubble_error(caption,airtable_error){return new u.OwnerError(caption,{display:`${caption}: ${airtable_error.message}`,status_message:airtable_error.error})}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.values=u.autorun_cache(this.__values),this.public_values=u.autorun_cache(this.__public_values),this.calls=u.autorun_cache(this.__calls)}get dynamic_calls(){return!0}get base_url(){return"https://api.airtable.com/v0/"}notify_call_was_hashed(hash,call_details){let call_types=get_hash_types(call_details.table_type);for(let type of call_types)_service_hashes[type]!=null?_service_hashes[type].includes(hash)||_service_hashes[type].push(hash):_service_hashes[type]=[hash]}get_calls_to_refresh(call_instance,action){let calls_to_refresh=[],call_value=btype_ids.api_type("airtable."+action.get_static_property("thing_type")),call_types=get_hash_types(call_value);for(let type of call_types)if(_service_hashes[type]!=null)for(let hash of _service_hashes[type])calls_to_refresh.includes(hash)||calls_to_refresh.push(hash);return calls_to_refresh}__public_values(){let vals=[],authorized_read_calls=get_loaded_calls("authorized_read");for(let name in authorized_read_calls){let call_data=authorized_read_calls[name];call_data!=null&&(call_data.outer_id!=null?vals.push(call_data.outer_id+"."+name.split(".")[1]):vals.push(name))}return vals}__values(){try{configure_meta_settings()}catch(err){logger.info("airtable plugin: error configuring meta settings",{err})}let vals={},all_calls=get_loaded_calls("all");for(let name in all_calls){let call_data=all_calls[name];if(call_data!=null){call_data.schema==null&&logger.warn("Airtable: unexpectedly null schema!",{call_data,instance_path:this.json.path()});let schema=u.json_parse(call_data.schema??JSON.stringify({[name]:{fields:{}}})),fields={},uid_field="_record_id",human=call_data.table_name,account_id=call_data.outer_id??name.split(".")[0],table_id=name.split(".")[1],airtable_base_id,table;appquery.get_public_setting("airtable_meta")!=null?(airtable_base_id=get_meta_field(!0,name.split(".")[0],table_id,"airtable_base_id"),table=get_meta_field(!0,name.split(".")[0],table_id,"table_name")):(airtable_base_id=get_field(!0,account_id,null,"airtable_base_id"),table=get_field(!0,account_id,table_id,"name"));let data_container="fields",call_name=`${account_id}.${table_id}.get_record_by_id`,properties={airtable_base_id,table_name:table,account_id,table_id},build_call_from_uid=uid=>({name:call_name,prev:uid,properties});for(let id in schema[name].fields){let field=schema[name].fields[id];if(field.ret_btype??=field.ret_value,field.ret_btype==="_ignore"||field.ret_btype===btype_ids.list_type("_ignore"))continue;fields[id]={caption:field.caption};let link_outer;field.ret_btype===btype_ids.list_type("attachment")?fields[id].ret_btype=btype_ids.list_type("file"):field.ret_btype===btype_ids.list_type("collaborator")?fields[id].ret_btype=btype_ids.list_type(btype_ids.api_type("airtable.collaborator")):field.ret_btype==="collaborator"?fields[id].ret_btype=btype_ids.api_type("airtable.collaborator"):field.ret_btype==="barcode"?fields[id].ret_btype="text":field.ret_btype==="link"?(link_outer=get_meta_field(!0,name.split(".")[0],field.link_table,"outer_id")??name.split(".")[0],fields[id].ret_btype=btype_ids.api_type(`airtable.${link_outer}.${field.link_table}`)):field.ret_btype===btype_ids.list_type("link")?(link_outer=get_meta_field(!0,name.split(".")[0],field.link_table,"outer_id")??name.split(".")[0],fields[id].ret_btype=btype_ids.list_type(btype_ids.api_type(`airtable.${link_outer}.${field.link_table}`))):fields[id].ret_btype=field.ret_btype}fields._record_id={caption:"Airtable Record ID"},vals[`${account_id}.${table_id}`]=new external.APIValue({human,uid_field,fields,build_call_from_uid,data_container}),vals[`${account_id}.${table_id}`]._airtable_properties=properties}}return vals.collaborator=new external.StructValue("Collaborator",{id:{caption:"id",ret_btype:"text",path:["id"]},email:{caption:"email",ret_btype:"text",path:["email"]},name:{caption:"name",ret_btype:"text",path:["name"]}}),vals}public_calls(){let vals=[],authorized_read_calls=get_loaded_calls("authorized_read");for(let name in authorized_read_calls){let call_data=authorized_read_calls[name];if(call_data!=null){let call_name=`${call_data.outer_id}.${name.split(".")[1]}.read`;vals.push(call_name)}}return vals}action_calls(){return Object.entries(this.calls()).filter(_ref5=>{let[call_name,call]=_ref5;return call.can_be_used_as_action}).map(_ref6=>{let[call_name]=_ref6;return call_name})}__calls(){let calls={},authorized_read_calls=get_loaded_calls("authorized_read");for(let name in authorized_read_calls){let call_data=authorized_read_calls[name];if(call_data!=null){let outer_id=call_data.outer_id??name.split(".")[0],table_id=name.split(".")[1],read_call=`${outer_id}.${name.split(".")[1]}.read`,schema=u.json_parse(call_data.schema),sort_fields={};for(let field_name in schema[name].fields){let field=schema[name].fields[field_name],ret_btype=field.ret_btype??field.ret_value;["text","number","date"].includes(ret_btype)&&(sort_fields[field.caption]=field.caption)}calls[read_call]=class extends external.Call{get human(){return"Airtable: "+call_data.table_name}get btype_id(){return btype_ids.api_type(`airtable.${outer_id}.${name.split(".")[1]}`)}get _must_proxy(){return!0}get is_list(){return!0}get category(){return"plugins"}fields(action){return[{name:"constraints",editor:"ObjectList",sub_properties:make_constraints(()=>return_btype(`${outer_id}.${name.split(".")[1]}`,!0)),optional:!0,button_caption:"Add a new constraint"},{name:"sort_field",caption:"Sort by",editor:"Dropdown",set:Lib().sets.get_set("Object")(sort_fields),optional:!0},{name:"descending",caption:"Descending",editor:"Basic",btype:"boolean",condition:"sort_field",optional:!0},{name:"ignore_empty_constraints",caption:"Ignore empty constraints",editor:"Checkbox"}]}get_relevant_data(){let airtable_base_id,api_key,key,table_name,view;if(appquery.get_private_setting("airtable_meta")!=null){let account_id="";table_id="",schema=u.json_parse(call_data.schema);for(key in schema)account_id=key.split(".")[0],table_id=key.split(".")[1];api_key=appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),airtable_base_id=get_meta_field(!0,account_id,table_id,"airtable_base_id"),table_name=get_meta_field(!0,account_id,table_id,"table_name"),view=get_meta_field(!0,account_id,table_id,"view_name")??"",(get_meta_field(!0,account_id,table_id,"view_id")??"_blank")==="_blank"&&(view="")}else{let base_id="";table_id="",schema=u.json_parse(call_data.schema);for(key in schema)base_id=key.split(".")[0],table_id=key.split(".")[1];get_field(!0,base_id,null,"use_different_key")?api_key=get_field(!1,base_id,null,"base_api_key"):api_key=appquery.get_private_setting("airtable_api_key"),airtable_base_id=get_field(!0,base_id,null,"airtable_base_id"),table_name=get_field(!0,base_id,table_id,"name"),view=get_field(!0,base_id,table_id,"view")??""}return{api_key,airtable_base_id,table_name,schema,view}}execute(prev,properties,authentication,_raw,context){if(properties.table_type=`api.airtable.${outer_id}.${name.split(".")[1]}`,u.on_client())return super.execute(prev,properties,authentication,_raw,context);let base_settings=this.get_relevant_data(),view_name=base_settings.view,sort_by=[];if(properties.sort_field){let direction=properties.descending?"desc":"asc";
80sort_by.push({field:properties.sort_field,direction})}let filter=build_filter(properties,base_settings.schema),base=createAirtable({apiKey:base_settings.api_key}).base(base_settings.airtable_base_id),block=b_fiber.Block("read data"),call_results=[],type_map=get_type_map(base_settings.schema);return base(base_settings.table_name).select({view:view_name,sort:sort_by,filterByFormula:filter}).eachPage((records,fetchNextPage)=>{records.forEach(record=>{let{fields}=record._rawJson,real_fields={};for(let name2 in type_map)type_map[name2]==="boolean"&&(real_fields[name2]=!1);for(let name2 in fields){let field=fields[name2],real_name=name2;if(field[0]&&field[0].url&&field[0].filename){let parsed_attachments=[];for(let attachment of field)parsed_attachments.push(attachment.url);field=parsed_attachments}field.text&&field.type&&(field=field.text),type_map[real_name]==="link"&&(field=field[0]),real_fields[real_name]=field}return real_fields._record_id=record._rawJson.id,call_results.push(real_fields)}),fetchNextPage()},err=>{if(err){block.fail(get_bubble_error("Airtable plugin data load error",err));return}block.success()}),block.wait(),call_results}}}}let all_calls=get_loaded_calls("all");for(let name in all_calls){let call_data=all_calls[name];if(call_data!=null){let bubble_type_hash=`${call_data.outer_id??name.split(".")[0]}.${name.split(".")[1]}`,record_call=bubble_type_hash+".get_record_by_id";calls[record_call]=class extends external.Call{get human(){return`Get ${call_data.name} record by ID`}get btype_id(){return btype_ids.api_type("airtable."+bubble_type_hash)}get parameters(){return{airtable_base_id:{},table_name:{},account_id:{},table_id:{}}}must_proxy(){return!0}generate_server_properties(){return this.service().get_btypes()[bubble_type_hash]._airtable_properties??{}}get_relevant_data(outer_id2,table_id){let api_key,authorized_read;if(appquery.get_private_setting("airtable_meta")!=null){let account_id_temp=outer_id2,account_id=appquery.get_public_setting(`airtable_meta.account_map.${account_id_temp}`)?account_id_temp:appquery.get_public_setting(`airtable_meta.legacy_map.${account_id_temp}`);api_key=appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),authorized_read=get_meta_field(!0,account_id,table_id,"authorized_read")}else get_field(!0,outer_id2,null,"use_different_key")?api_key=get_field(!1,outer_id2,null,"base_api_key"):api_key=appquery.get_private_setting("airtable_api_key"),authorized_read=get_field(!0,outer_id2,table_id,"authorized_read");return{api_key,authorized_read}}build(prev,properties){let req={};req.override_output=!0,req.results={};let settings=this.get_relevant_data(properties.account_id,properties.table_id);if(settings.authorized_read===!1)throw new u.Unauthorized(null,"Table specified as link does not have proper permissions and cannot be used as data.");let{api_key}=settings,base=createAirtable({apiKey:api_key}).base(properties.airtable_base_id),block=b_fiber.Block("read record");return base(properties.table_name).find(prev,(err,record)=>{if(err){block.fail(get_bubble_error("Airtable plugin data load error",err));return}let{fields}=record._rawJson,real_fields={};for(let name2 in fields){let field=fields[name2],real_name=name2;if(field[0]&&field[0].url&&field[0].filename){let parsed_attachments=[];for(let attachment of field)parsed_attachments.push(attachment.url);field=parsed_attachments}field.text&&field.type&&(field=field.text),real_fields[real_name]=field}real_fields._record_id=record._rawJson.id,block.success(real_fields)}),req.results=block.wait(),req}}}}return calls.create=class extends external.Call{constructor(){super(...arguments),this._set_options=this._get_initial_set_options()}get human(){return"Airtable - Create a new record"}get _must_proxy(){return!0}static can_be_used_as_action=!0;get category(){return"plugins"}_get_initial_set_options=()=>{let set_options={},authorized_write_calls=get_loaded_calls("authorized_write");for(let name in authorized_write_calls){let call_data=authorized_write_calls[name],base_id="",table_id="",schema=u.json_parse(call_data.schema);for(let key in schema)base_id=call_data.outer_id??key.split(".")[0],table_id=key.split(".")[1];appquery.get_public_setting(`airtable_meta.account_map.${base_id}`)?set_options[base_id+"."+table_id]=get_meta_field(!0,base_id,table_id,"table_name"):set_options[base_id+"."+table_id]=get_field(!0,base_id,table_id,"name")}return set_options};fields(action){return[{name:"thing_type",caption:"Type",editor:"Dropdown",set:Lib().sets.get_set("Object")(this._set_options)},{name:"initial_values",editor:"ObjectList",sub_properties:make_modification_properties(()=>return_btype(action)),condition:"thing_type",optional:!0,show_expand_all:!0,button_caption:"Set another field"}]}get_field_metadata(action){let initial_values_enabled=action2=>action2.get_static_property("thing_type"),btype=()=>btypes.get(action.return_btype());return{thing_type:{caption:"Type",btype_id:"text",validate:node=>Object.keys(this._set_options).includes(node.get_static_property("thing_type"))},initial_values:{caption:"Set another field",condition:action2=>initial_values_enabled(action2),optional:!0,show_expand_all:!0,child_properties:sub_node=>({key:{caption:"Key",btype_id:"text",validate:val=>{let btype_name=action.return_btype();return Object.keys(btype_name?.plugin.fields).includes(val)&&typeof val=="string"}},value:{caption:"Value",btype_id:()=>sub_node.property("action").get_eval_value().id(),condition(){let key_name=sub_node?.entry?.("key").get_static();return sub_node_key_to_btype(btype(),key_name)!=null}},action:{caption:"Action",btype_id:()=>sub_node.property("action").get_eval_value().id(),condition(){let key_name=sub_node?.entry?.("key").get_static();return sub_node_key_to_btype(btype(),key_name)!=null}}})}
80,...workflow_utils.getCommonFieldsMetadata(action)}}return_btype(action){return btype_ids.api_type("airtable."+action.get_static_property("thing_type"))}dynamic_btype_id(properties){return btype_ids.api_type("airtable."+properties.thing_type)}get_relevant_data(table_path){let airtable_base_id,api_key,schema,table_id,table_name;if(appquery.get_private_setting("airtable_meta")!=null){let account_id,account_id_temp=table_path.split(".")[0];table_id=table_path.split(".")[1],appquery.get_public_setting(`airtable_meta.account_map.${account_id_temp}`)?account_id=account_id_temp:account_id=appquery.get_public_setting(`airtable_meta.legacy_map.${account_id_temp}`),api_key=appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),airtable_base_id=get_meta_field(!0,account_id,table_id,"airtable_base_id"),table_name=get_meta_field(!0,account_id,table_id,"table_name"),schema=get_meta_field(!0,account_id,table_id,"schema")}else{let base_id=table_path.split(".")[0];table_id=table_path.split(".")[1],get_field(!0,base_id,null,"use_different_key")?api_key=get_field(!1,base_id,null,"base_api_key"):api_key=appquery.get_private_setting("airtable_api_key"),airtable_base_id=get_field(!0,base_id,null,"airtable_base_id"),table_name=get_field(!0,base_id,table_id,"name"),schema=get_field(!0,base_id,table_id,"schema")}return{api_key,airtable_base_id,table_name,schema}}execute(prev,properties,authentication,_raw,context){if(u.on_client())return super.execute(prev,properties,authentication,_raw,context);if(!properties.thing_type)throw new u.OwnerError("Airtable Create - missing record type");let base_settings=this.get_relevant_data(properties.thing_type),schema=u.json_parse(base_settings.schema),fields=write_fields(schema,properties),base=createAirtable({apiKey:base_settings.api_key}).base(base_settings.airtable_base_id),block=b_fiber.Block("create record");return base(base_settings.table_name).create([{fields}],{typecast:!0},(err,records)=>{if(err){block.fail(get_bubble_error("Airtable plugin create record error",err));return}return records.forEach(record=>{let fields2=record._rawJson.fields,real_fields={};for(let name in fields2){let field=fields2[name],real_name=name;if(field[0]&&field[0].url&&field[0].filename){let parsed_attachments=[];for(let attachment of field)parsed_attachments.push(attachment.url);field=parsed_attachments}field.text&&field.type&&(field=field.text),real_fields[real_name]=field}real_fields._record_id=record._rawJson.id,block.success(real_fields)})}),block.wait()}},calls.modify=class extends external.Call{constructor(){super(...arguments),this._set_options=this._get_initial_set_options()}get human(){return"Airtable - Modify a record"}get _must_proxy(){return!0}static can_be_used_as_action=!0;get category(){return"plugins"}_get_initial_set_options=()=>{let set_options={},authorized_write_calls=get_loaded_calls("authorized_write");for(let name in authorized_write_calls){let call_data=authorized_write_calls[name],base_id="",table_id="",schema=u.json_parse(call_data.schema);for(let key in schema)base_id=call_data.outer_id??key.split(".")[0],table_id=key.split(".")[1];appquery.get_public_setting(`airtable_meta.account_map.${base_id}`)?set_options[base_id+"."+table_id]=get_meta_field(!0,base_id,table_id,"table_name"):set_options[base_id+"."+table_id]=get_field(!0,base_id,table_id,"name")}return set_options};return_btype(action){return btype_ids.api_type("airtable."+action.get_static_property("thing_type"))}dynamic_btype_id(properties){return btype_ids.api_type("airtable."+properties.thing_type)}fields(action){return[{name:"thing_type",caption:"Type",editor:"Dropdown",set:Lib().sets.get_set("Object")(this._set_options)},{name:"modify_object",caption:"Record",editor:"Basic",condition:"thing_type",btype:btype_ids.api_type("airtable."+action.get_static_property("thing_type"))},{name:"initial_values",editor:"ObjectList",sub_properties:make_modification_properties(()=>return_btype(action)),condition:"thing_type",optional:!0,show_expand_all:!0,button_caption:"Set another field"}]}get_field_metadata(action){let initial_values_enabled=action2=>action2.get_static_property("thing_type"),btype=()=>btypes.get(action.return_btype());return{thing_type:{caption:"Type",btype_id:"text",validate:node=>Object.keys(this._set_options).includes(node.get_static_property("thing_type"))},modify_object:{caption:"Record",btype_id:btype_ids.api_type("airtable."+action.get_static_property("thing_type")),condition:action2=>initial_values_enabled(action2)},initial_values:{caption:"Set another field",condition:action2=>initial_values_enabled(action2),optional:!0,show_expand_all:!0,child_properties:sub_node=>({key:{caption:"Key",btype_id:"text",validate:val=>{let btype_name=action.return_btype();return Object.keys(btype_name?.plugin.fields).includes(val)&&typeof val=="string"}},value:{caption:"Value",btype_id:()=>{let keyName=sub_node.property("key").raw(),keyBtype=sub_node_key_to_btype(btype(),keyName);return(keyBtype?.is_list()&&!["add_list","remove_list","set_list"].includes(sub_node.property("action").get_literal())?keyBtype.inner():keyBtype)??"null"},condition(){let key_name=sub_node?.entry?.("key").get_static();return sub_node_key_to_btype(btype(),key_name)!=null}},action:{caption:"Action",btype_id:()=>sub_node.property("action").get_eval_value().id(),condition(){let key_name=sub_node?.entry?.("key").get_static();return sub_node_key_to_btype(btype(),key_name)!=null}}})}
80,...workflow_utils.getCommonFieldsMetadata(action)}}get_relevant_data_legacy(table_path){let base_id=table_path.split(".")[0],table_id=table_path.split(".")[1],api_key=get_field(!0,base_id,null,"use_different_key")?get_field(!1,base_id,null,"base_api_key"):this.get_key("api_key"),airtable_base_id=get_field(!0,base_id,null,"airtable_base_id"),table_name=get_field(!0,base_id,table_id,"name"),schema=get_field(!0,base_id,table_id,"schema");return{api_key,airtable_base_id,table_name,schema}}get_relevant_data(table_path){let airtable_base_id,api_key,schema,table_id,table_name;if(appquery.get_private_setting("airtable_meta")!=null){let account_id,account_id_temp=table_path.split(".")[0];table_id=table_path.split(".")[1],appquery.get_public_setting(`airtable_meta.account_map.${account_id_temp}`)?account_id=account_id_temp:account_id=appquery.get_public_setting(`airtable_meta.legacy_map.${account_id_temp}`),api_key=appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),airtable_base_id=get_meta_field(!0,account_id,table_id,"airtable_base_id"),table_name=get_meta_field(!0,account_id,table_id,"table_name"),schema=get_meta_field(!0,account_id,table_id,"schema")}else{let base_id=table_path.split(".")[0];table_id=table_path.split(".")[1],get_field(!0,base_id,null,"use_different_key")?api_key=get_field(!1,base_id,null,"base_api_key"):api_key=appquery.get_private_setting("airtable_api_key"),airtable_base_id=get_field(!0,base_id,null,"airtable_base_id"),table_name=get_field(!0,base_id,table_id,"name"),schema=get_field(!0,base_id,table_id,"schema")}return{api_key,airtable_base_id,table_name,schema}}execute(prev,properties,authentication,_raw,context){if(u.on_client())return super.execute(prev,properties,authentication,_raw,context);if(properties.modify_object==null)return{};if(!properties.thing_type)throw new u.OwnerError("Airtable Modify - missing record type");let base_settings=this.get_relevant_data(properties.thing_type),schema=u.json_parse(base_settings.schema),fields=write_fields(schema,properties),id=properties.modify_object,base=createAirtable({apiKey:base_settings.api_key}).base(base_settings.airtable_base_id),block=b_fiber.Block("modify record");return base(base_settings.table_name).update([{id,fields}],{typecast:!0},(err,records)=>{if(err){block.fail(get_bubble_error("Airtable plugin modify record error",err));return}return records.forEach(record=>{let fields2=record._rawJson.fields,real_fields={};for(let name in fields2){let field=fields2[name],real_name=name;if(field[0]&&field[0].url&&field[0].filename){let parsed_attachments=[];for(let attachment of field)parsed_attachments.push(attachment.url);field=parsed_attachments}field.text&&field.type&&(field=field.text),real_fields[real_name]=field}real_fields._record_id=record._rawJson.id,block.success(real_fields)})}),block.wait()}},calls.delete=class extends external.Call{constructor(){super(...arguments),this._set_options=this._get_initial_set_options()}get human(){return"Airtable - Delete a record"}get _must_proxy(){return!0}static can_be_used_as_action=!0;get category(){return"plugins"}_get_initial_set_options=()=>{let set_options={},authorized_delete_calls=get_loaded_calls("authorized_delete");for(let name in authorized_delete_calls){let call_data=authorized_delete_calls[name],base_id="",table_id="",schema=u.json_parse(call_data.schema);for(let key in schema)base_id=call_data.outer_id??key.split(".")[0],table_id=key.split(".")[1];appquery.get_public_setting(`airtable_meta.account_map.${base_id}`)?set_options[base_id+"."+table_id]=get_meta_field(!0,base_id,table_id,"table_name"):set_options[base_id+"."+table_id]=get_field(!0,base_id,table_id,"name")}return set_options};fields(action){return[{name:"thing_type",caption:"Type",editor:"Dropdown",set:Lib().sets.get_set("Object")(this._set_options)},{name:"delete_object",caption:"Record",editor:"Basic",condition:"thing_type",btype:btype_ids.api_type("airtable."+action.get_static_property("thing_type"))}]}get_field_metadata(action){let initial_values_enabled=action2=>action2.get_static_property("thing_type");return{thing_type:{caption:"Type",btype_id:"text",validate:node=>Object.keys(this._set_options).includes(node.get_static_property("thing_type"))},delete_object:{caption:"Record",btype_id:btype_ids.api_type("airtable."+action.get_static_property("thing_type")),condition:action2=>initial_values_enabled(action2)},...workflow_utils.getCommonFieldsMetadata(action)}}get_relevant_data(table_path){let airtable_base_id,api_key,schema,table_id,table_name;if(appquery.get_private_setting("airtable_meta")!=null){let account_id,account_id_temp=table_path.split(".")[0];table_id=table_path.split(".")[1],appquery.get_public_setting(`airtable_meta.account_map.${account_id_temp}`)?account_id=account_id_temp:account_id=appquery.get_public_setting(`airtable_meta.legacy_map.${account_id_temp}`),api_key=appquery.get_private_setting(`airtable_meta.account_map.${account_id}`),airtable_base_id=get_meta_field(!0,account_id,table_id,"airtable_base_id"),table_name=get_meta_field(!0,account_id,table_id,"table_name"),schema=get_meta_field(!0,account_id,table_id,"sc
80hema")}else{let base_id=table_path.split(".")[0];table_id=table_path.split(".")[1],get_field(!0,base_id,null,"use_different_key")?api_key=get_field(!1,base_id,null,"base_api_key"):api_key=appquery.get_private_setting("airtable_api_key"),airtable_base_id=get_field(!0,base_id,null,"airtable_base_id"),table_name=get_field(!0,base_id,table_id,"name"),schema=get_field(!0,base_id,table_id,"schema")}return{api_key,airtable_base_id,table_name,schema}}execute(prev,properties,authentication,_raw,context){if(u.on_client())return super.execute(prev,properties,authentication,_raw,context);if(!properties.thing_type)throw new u.OwnerError("Airtable Delete - missing record type");let base_settings=this.get_relevant_data(properties.thing_type);hydrate.dehydrate_tree({prev,properties});let base=createAirtable({apiKey:base_settings.api_key}).base(base_settings.airtable_base_id),block=b_fiber.Block("delete record");return base(base_settings.table_name).destroy([properties.delete_object],(err,deletedRecords)=>{if(err){block.fail(get_bubble_error("Airtable plugin delete record error",err));return}let results={};return results._record_id=deletedRecords[0].id,block.success(results)}),block.wait()}},calls}get_error_message(response){if(response.statusCode>=400&&response.statusCode<=500){let data;try{data=u.json_parse(response.body)}catch{return"Airtable error: "+response.body}if(data?.error)return"Error connecting to Airtable: "+data.error}}get_settings_panel(div){let base_container=u.div("apps-wrapper",div),add_base_btn=u.div("btn bubble-ui grey add-base-btn",div,"Add another Account");configure_meta_settings(),add_base_btn.on("vclick",()=>new_account()),base_container.empty(),u.Watcher(()=>get_account_list());for(let account of get_account_list())meta_build_account_div(account,base_container)}},createAirtable=_ref7=>{let{apiKey}=_ref7;return new import_airtable.default({apiKey,noRetryIfRateLimited:!0,requestTimeout:60*1e3})},airtable={cls,EditSchemaPopup};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.airtable=airtable);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("airtable",airtable);})(); 81/*! Bundled license information: 82 83buffer/index.js: 84 (*! 85 * The buffer module from node.js, for the browser. 86 * 87 * @author Feross Aboukhadijeh <https://feross.org> 88 * @license MIT 89 *) 90 91moment/moment.js: 92 (*! moment.js *) 93 (*! version : 2.30.1 *) 94 (*! authors : Tim Wood, Iskren Chernev, Moment.js contributors *) 95 (*! license : MIT *) 96 (*! momentjs.com *) 97*/ 98 99} 100 101 102window.preloaded['plugin/first_party:airtable'] = true; 103window._bubble_page_load_data.hardcoded_plugins['jpanelmenu'] = true; 104window.__code__ = window.__code__ || {}; 105if(!window.__code__['0ad46e9024536d413bb370f87d62b3e1ace7128cf9aeb2e497f87d32f1aa8e6b']){window.__code__['0ad46e9024536d413bb370f87d62b3e1ace7128cf9aeb2e497f87d32f1aa8e6b']=1; 106 107"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
vendor: 28,466 bytes, line 107
107+/";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{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);
vendor: 3,223 bytes, line 107
107)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;
vendor: 5,180 bytes, line 107
107if(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{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{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{try{return cachedSetTimeout.call(null,fun,0)}catch{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{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
107var 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&¤tQueue[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{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-uncurr
107y-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)}
107:$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{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{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(S
107HARED,{});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
107=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{}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&¤t[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)}
107:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}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}}});
107var 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=uncurr
107yThis([].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{}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{}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","toLocaleStr
107ing","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_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});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_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_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_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
vendor: 4,762 bytes, line 107
107(),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{}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_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_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
107y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===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{}};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_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
107){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find());init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),property_applications=safe_require.safe_require("./core/property_applications"),Lib=safe_require.safe_require("./lib"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),icons_legacy=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/shared/icons"),shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var fonts_consts=safe_require.safe_require("./constants/fonts"),PLUGIN_FILE="jpanelmenu",cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements(),this.events=this._get_initial_events()}_get_initial_elements(){return{SlidebarMenu:{display:"Slidebar Menu",category:"visual elements",icon:"ion-android-menu",condition(root){return!root?.is_mobile?.()},defaults:{width:50,height:50},field_names:{show_icon:{default:!0,no_states:!0,in_style:!0},icon_color:{default:"#000000",in_style:!0},options:{default:`Option 1 108Option 2`},side:{default:"left",no_states:!0},background_color:{no_states:!0,default:"#222222",in_style:!0},hover_color:{no_states:!0,default:"#373737",in_style:!0},menu_font_color:{no_states:!0,default:"#E8E8E8",in_style:!0},font_face:{no_states:!0,default:"Lato:::",in_style:!0},font_family:{no_states:!0,default:"Lato",in_style:!0},font_weight:{no_states:!0,default:"400",in_style:!0},font_size:{no_states:!0,default:16,in_style:!0},menu_width:{no_states:!0,default:300,in_style:!0},offset_top:{no_states:!0,default:0,in_style:!0},boxshadow_horizontal:{no_states:!0,default:0,in_style:!0},boxshadow_blur:{no_states:!0,default:4,in_style:!0},boxshadow_color:{no_states:!0,default:"rgba(10, 8, 8, 0.77)",in_style:!0}},property_applications:[new property_applications.Dimensions,new property_applications.Background,new property_applications.Border],get_html(instance){return"<div></div>"},initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();if(element_eval.on_property_change(instance,"show_icon",show_icon=>{show_icon?(property_applications.apply_css_style(canvas,{padding:"0px","text-align":"center","font-family":"FontAwesome"}),canvas.addClass("fa-reorder")):canvas.removeClass("fa-reorder")}),element_eval.on_property_change(instance,"icon_color",icon_color=>canvas.css("color",icon_color)),icons_legacy.calculate_font_size_for_fontawesome(instance),instance.run_mode()){canvas.css("cursor","pointer");let background_color=instance.get_static_property("background_color"),direction=instance.get_static_property("side"),menu_width=instance.get_static_property("menu_width"),hover_color=instance.get_static_property("hover_color"),offset_top=instance.get_static_property("offset_top")??0,font_data={font_size:instance.get_static_property("font_size"),font_face:instance.get_static_property("font_face"),font_family:instance.get_static_property("font_family"),font_weight:instance.get_static_property("font_weight"),font_color:instance.get_static_property("menu_font_color")};
108u.WaitFor(window.document_ready_key,()=>{let menu_div=u.div("slideable-menu",$("body"));menu_div.hide();let options={background:background_color,width:menu_width+"px",position:"fixed",top:offset_top+"px",height:"100%","z-index":Lib().bv().MAX_POPUP_ZINDEX};direction==="right"?options.right=-menu_width+"px":options.left=-menu_width+"px",property_applications.apply_css_style(menu_div,options),new property_applications.Font()._apply(font_data,menu_div,instance);let vals={};instance.autorun(()=>{for(let prop of["boxshadow_horizontal","boxshadow_blur","boxshadow_color"])vals[prop]=element_eval.evaluate_property(instance,prop);vals.boxshadow_horizontal>0&&(direction==="right"&&(vals.boxshadow_horizontal*=-1),vals.boxshadow_style="outset",vals.boxshadow_vertical=0,new property_applications.BoxShadow()._apply(vals,menu_div))});let _animated=!1,_showing=!1,greyout=null;function show(){let animation;menu_div.show(),_animated=!0,_showing=!0,direction==="right"?animation={right:0}:animation={left:0},u.velocity(menu_div,animation,{duration:200,complete_cb(){_animated=!1}}),greyout=u.div("invisible-div",$("body")),property_applications.apply_css_style(greyout,{position:"fixed",width:"100%",height:"100%",top:0,left:0,"z-index":Lib().bv().MAX_POPUP_ZINDEX-1}),greyout.on("click.slideablemenu touchstart.slideablemenu",evt=>{!_animated&&menu_div.is(":visible")&&!$(evt.target).hasClass("slideable-option")&&!$(evt.target).parent().hasClass("slideable-option")&&!$(evt.target).is(canvas)&&hide()})}function hide(){let animation;_animated||(_animated=!0,direction==="right"?animation={right:-menu_width}:animation={left:-menu_width},u.velocity(menu_div,animation,{duration:200,complete_cb(){menu_div.hide(),_animated=!1,_showing=!1,greyout.remove()}}))}canvas.on("click",()=>{_showing?hide():show()}),$(window).on("resize.jpanel",evt=>{_showing&&hide()}),instance.autorun(()=>{menu_div.empty(),options=element_eval.evaluate_property(instance,"options")?.split(` 109`)??[];for(let option of options){let opt_div=u.div("slideable-option",menu_div);if(opt_div.html("<div>"+u.bbcode_to_html(option)+"</div>"),![void 0,""].includes(option)){let start_workflow2=function(e){hide(),instance.state("current_slidebar_menu_option",option),element_workflows.run_element_workflow(instance,"jpanelmenu-SlidebarMenuOptionClicked",e)};var start_workflow=start_workflow2;if(opt_div.addClass("non-empty"),u.is_on_mobile_or_tablet()){let scroll_start=null;opt_div.on("touchstart.slideablemenu",()=>{menu_div.find(".slideable-option").css("background","none"),opt_div.css("background",hover_color),scroll_start=menu_div.scrollTop(),opt_div.one("touchend",e=>{menu_div.find(".slideable-option").css("background","none"),menu_div.scrollTop()===scroll_start&&(hide(),start_workflow2(e)),scroll_start=null})}),opt_div.on("click.slideablemenu",e=>{_animated||start_workflow2(e)})}else opt_div.on("click.slideablemenu",e=>start_workflow2(e)),opt_div.on("mouseenter",()=>{menu_div.find(".slideable-option").css("background","none"),opt_div.css("background",hover_color),opt_div.one("mouseleave",()=>opt_div.css("background","none"))})}}})})}},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!1,is_input:!1,contains_group_data:!1,get_states(element){return["current_slidebar_menu_option"]},add_specific_messages(messages,element){return u.extend(messages,{get_current_slidebar_menu_option:{description:"'s current option",section:"States",is_client_state(){return!0},ret_btype:"text",fn(a){return a?.state("current_slidebar_menu_option")??this.ret_btype_null()}}})},get_state_value(element,name){if(name==="current_slidebar_menu_option")return"text"},css_files:["css/optional/slideablemenu.css","css/optional/font-awesome.min.css"],events:["jpanelmenu-SlidebarMenuOptionClicked"]}}}_get_initial_events(){return{SlidebarMenuOptionClicked:{_display(){return"'s option is clicked"},element_name:"A slidebar menu"}}}},jpanelmenu={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.jpanelmenu=jpanelmenu);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("jpanelmenu",jpanelmenu);})(); 110/*! Bundled license information: 111 112buffer/index.js: 113 (*! 114 * The buffer module from node.js, for the browser. 115 * 116 * @author Feross Aboukhadijeh <https://feross.org> 117 * @license MIT 118 *) 119*/ 120 121} 122 123 124window.preloaded['plugin/first_party:jpanelmenu'] = true; 125window._bubble_page_load_data.hardcoded_plugins['progressbar'] = true; 126window.__code__ = window.__code__ || {}; 127if(!window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']){window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']=1; 128 129"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={exp
vendor: 5,823 bytes, line 129
129orts:{}}).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{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>
vendor: 23,595 bytes, line 129
129K_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);
vendor: 3,223 bytes, line 129
129)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;
vendor: 5,180 bytes, line 129
129if(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{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{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{try{return cachedSetTimeout.call(null,fun,0)}catch{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{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
129var 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&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};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");var shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));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;
129bar_element?.[0]&&(padding_left=parseInt(bar_element[0]?.style?.["padding-left"]||padding_left,10),padding_right=parseInt(bar_element[0]?.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,bar_label_styles={"clip-path":`inset(0px 0px 0px ${bar_width-padding_left}px)`,padding:"inherit",transition,width:element_width-total_left_right_padding},bar_label_overlay_styles={"clip-path":`inset(0px ${element_width-bar_width-padding_right}px 0px 0px)`,padding:"inherit",transition,width:element_width-total_left_right_padding};return{bar_label_styles,bar_label_overlay_styles}}function plugin_version(){return Lib()?appquery.get_public_setting("progressbar_installed_version")??0: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){return!root?.is_mobile?.()},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"},get_field_metadata(element){return{percentage:{caption:"Percentage",btype_id:"number"},bar_color:{caption:"Progress bar color",btype_id:"text"},animate:{caption:"Animate progress",btype_id:"boolean"},...new property_applications.Dimensions().get_property_metadata(element,"Dimensions"),...new property_applications.InputPadding(".inner-progressbar").get_property_metadata(element),...new property_applications.Font().get_property_metadata(element),...new property_applications.FontShadow().get_property_metadata(element),...new property_applications.Border().get_property_metadata(element),...new property_applications.BoxShadow().get_property_metadata(element),...new property_applications.Background().get_property_metadata(element),...new property_applications.Rotation().get_property_metadata(element),...new property_applications.ResponsiveElement().get_property_metadata(element),...new property_applications.MinWidth().get_property_metadata(element),...new property_applications.UniqueID().get_property_metadata(element),...shared_field_metadata.get_is_visible_property()}},_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");instance.run_mode()?percentage??=0: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_modules??={},window.optional_modules.progressbar=progressbar);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("progressbar",progressbar);})(); 130/*! Bundled license information: 131 132buffer/index.js: 133 (*! 134 * The buffer module from node.js, for the browser. 135 * 136 * @author Feross Aboukhadijeh <https://feross.org> 137 * @license MIT 138 *) 139*/ 140 141} 142 143 144window.preloaded['plugin/first_party:progressbar'] = true; 145window._bubble_page_load_data.hardcoded_plugins['materialicons'] = true; 146window.__code__ = window.__code__ || {}; 147if(!window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']){window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']=1; 148 149"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={exp
vendor: 5,994 bytes, line 149
149orts:{}}).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{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>
vendor: 23,595 bytes, line 149
149K_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);
vendor: 3,223 bytes, line 149
149)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;
vendor: 5,180 bytes, line 149
149if(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{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{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{try{return cachedSetTimeout.call(null,fun,0)}catch{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{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
149var 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&¤tQueue[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)}});function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var u,base_safe_require,legacy_keys,safe_require,init_window_register=__esm({"lib-browser/window_register.js"(){"use strict";init_define_process_env();init_shim();u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register}}});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 services,property_applications,icons_legacy,element_eval,PLUGIN_FILE,property_applications_internal,additional_data,init_materialicons_Materialicon=__esm({"lib-browser/optional/services/legacy/responsive_v0/materialicons_Materialicon.js"(){"use strict";init_define_process_env();init_shim();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();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"),{MATERIAL_ICONS}
149=safe_require.safe_require("./constants/plugin"),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 core_elements_fields,shared_field_metadata,goToElementEvent;u.is_edit_mode()&&!u.is_plugin_edit_mode()&&({goToElementEvent}=safe_require.safe_require("./editor/workflow_tab/logic/events"));u.uses_field_metadata()&&(core_elements_fields=safe_require.safe_require("./core/core_elements_fields"),core_elements_fields=core_elements_fields.default??core_elements_fields,shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var PLUGIN_FILE2="materialicons";function plugin_version(){return Lib()?appquery.get_public_setting("materialicons_installed_version")??0: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){return!root?.is_mobile?.()},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?.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_modules??={},window.optional_modules.materialicons=materialicons);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("materialicons",materialicons);})(); 150/*! Bundled license information: 151 152buffer/index.js: 153 (*! 154 * The buffer module from node.js, for the browser. 155 * 156 * @author Feross Aboukhadijeh <https://feross.org> 157 * @license MIT 158 *) 159*/ 160 161} 162 163 164window.preloaded['plugin/first_party:materialicons'] = true; 165window._bubble_page_load_data.hardcoded_plugins['apple'] = true; 166window.__code__ = window.__code__ || {}; 167if(!window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']){window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']=1; 168 169"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={exp
vendor: 5,823 bytes, line 169
169orts:{}}).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{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>
vendor: 23,595 bytes, line 169
169K_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);
vendor: 3,223 bytes, line 169
169)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;
vendor: 5,180 bytes, line 169
169if(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{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{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{try{return cachedSetTimeout.call(null,fun,0)}catch{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{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
169var 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&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),AUTH_URL="https://appleid.apple.com/auth/authorize",AppleAuthenticator=class extends external.Oauth2{native_login(native_bridge,authentication_url,api_data,options){return typeof native_bridge?.appleNativeLogin!="function"?Promise.resolve(null):native_bridge.appleNativeLogin(authentication_url,api_data,options)}get_oauth_user_data(login_data){}get_public_key(){return appquery.get_private_setting("mobile.apple.service_id")}get_secret_key(){return null}use_server_side_redirect(){return!0}get_data_for_login(data){let login_data=super.get_data_for_login(data);return data?.user!=null&&(login_data.user=data.user),login_data}
169is_still_valid(){return!0}generate_validity_object(){return{}}},cls=class extends external.Service{constructor(){super(),this.authenticator=new AppleAuthenticator({scope:"name email",response_mode:"form_post",authentication_url:AUTH_URL})}get oauth_providers(){return["apple"]}display(){return"Apple"}},apple={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.apple=apple);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("apple",apple);})(); 170/*! Bundled license information: 171 172buffer/index.js: 173 (*! 174 * The buffer module from node.js, for the browser. 175 * 176 * @author Feross Aboukhadijeh <https://feross.org> 177 * @license MIT 178 *) 179*/ 180 181} 182 183 184window.preloaded['plugin/first_party:apple'] = true; 185window.plugins = window.plugins || {}; 186window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {}; 187window.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}"}},"platform_type":"web"},"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
187) + \"px\";\n div.textContent = \"Expression\";\n instance.canvas.append(div);\n}"}},"platform_type":"web"},"AAP":{"display":"Javascript to Bubble","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAQ":{"caption":"bubble_fn_suffix","name":"fn_name_suffix","editor":"DynamicValue","value":"text","rank":2},"AAR":{"caption":"Trigger event","name":"trigger_event","editor":"Checkbox","default_val":false,"rank":3},"AAS":{"caption":"Publish value","name":"publish_value","editor":"Checkbox","default_val":false,"rank":4},"AAT":{"caption":"Value type","name":"value_type","editor":"custom_type","optional":true,"rank":8},"AAU":{"caption":"Value is a list","name":"value_is_list","editor":"Checkbox","default_val":false,"rank":9},"ABN":{"caption":"Queue","name":"queue","rank":5,"editor":"Checkbox","default_val":false},"ABW":{"caption":"Javascript to Bubble. Brings a value and event to Bubble.","name":"doctitle","rank":0,"editor":"Label"},"ABX":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"},"ABx":{"caption":"------------ Outputs -------------","name":"docoutputs","rank":6,"editor":"Label"},"ABy":{"caption":"Multiple Outputs","name":"multipleoutputs","rank":7,"editor":"Checkbox","default_val":false},"ABz":{"caption":"output1 type","name":"output1type","rank":10,"editor":"custom_type","optional":true},"ACA":{"caption":"output2 type","name":"output2type","rank":11,"editor":"custom_type","optional":true},"ACC":{"caption":"output3 type","name":"output3type","rank":12,"editor":"custom_type","optional":true},"ACD":{"caption":"output4 type","name":"output4type","rank":13,"editor":"custom_type","optional":true},"ACE":{"caption":"outputlist1 type","name":"outputlist1type","rank":14,"editor":"custom_type","optional":true},"ACF":{"caption":"outputlist2 type","name":"outputlist2type","rank":15,"editor":"custom_type","optional":true},"ACG":{"caption":"outputlist3 type","name":"outputlist3type","rank":16,"editor":"custom_type","optional":true},"ACH":{"caption":"outputlist4 type","name":"outputlist4type","rank":17,"editor":"custom_type","optional":true}},"states":{"AAV":{"caption":"value","name":"value","value":"custom_data_AAT","initialization_code":{"fn":"function(n,t){}"}},"AAW":{"caption":"value list","name":"value_list","value":"custom_data_AAT","is_list":true,"initialization_code":{"fn":"function(n,t){}"}},"ACI":{"caption":"output1","name":"output1","value":"custom_data_ABz","initialization_code":{"fn":"function(n,t){}"}},"ACJ":{"caption":"output2","name":"output2","value":"custom_data_ACA","initialization_code":{"fn":"function(n,t){}"}},"ACK":{"caption":"output3","name":"output3","value":"custom_data_ACC","initialization_code":{"fn":"function(n,t){}"}},"ACL":{"caption":"output4","name":"output4","value":"custom_data_ACD","initialization_code":{"fn":"function(n,t){}"}},"ACM":{"caption":"outputlist1","name":"outputlist1","value":"custom_data_ACE","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACN":{"caption":"outputlist2","name":"outputlist2","value":"custom_data_ACF","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACO":{"caption":"outputlist3","name":"outputlist3","value":"custom_data_ACG","initialization_code":{"fn":"function(n,t){}"},"is_list":true},"ACP":{"caption":"outputlist4","name":"outputlist4","value":"custom_data_ACH","initialization_code":{"fn":"function(n,t){}"},"is_list":true}},"events":{"AAX":{"caption":"event","name":"event"}},"actions":{"ABL":{"caption":"Dequeue","code":{"fn":"function(u,e,n){u.data.fn_dequeue()}"}},"ABM":{"caption":"ClearQueue","code":{"fn":"function(u,e,n){u.data.fn_clearqueue()}"}}},"code":{"initialize":{"fn":"function(n,t){}"},"update":{"fn":"function(t,u,e){var l=u.fn_name_suffix,a=u.trigger_event,i=u.publish_value,p=u.value_is_list,s=u.queue,n=u.multipleoutputs,h;(t.data.queue=[],t.data.fn_clearvalues=function(){i&&(t.publishState(\"value_list\",[]),t.publishState(\"value\",null),t.publishState(\"output1\",null),t.publishState(\"output2\",null),t.publishState(\"output3\",null),t.publishState(\"output4\",null),t.publishState(\"outputlist1\",[]),t.publishState(\"outputlist2\",[]),t.publishState(\"outputlist3\",[]),t.publishState(\"outputlist4\",[]))},t.data.fn_publish=function(u){i&&(n?(t.publishState(\"value\",u?.value),t.publishState(\"value_list\",u?.value_list),t.publishState(\"output1\",u?.output1),t.publishState(\"output2\",u?.output2),t.publishState(\"output3\",u?.output3),t.publishState(\"output4\",u?.output4),t.publishState(\"outputlist1\",u?.outputlist1),t.publishState(\"outputlist2\",u?.outputlist2),t.publishState(\"outputlist3\",u?.outputlist3),t.publishState(\"outputlist4\",u?.outputlist4)):p?t.publishState(\"value_list\",u):t.publishState(\"value\",u))},l)&&(window[\"bubble_fn_\"+l]=function(u){s&&0!=t.data.queue.length||i&&t.data.fn_publish(u),s&&(i?t.data.queue.push(u):t.data.queue.push(null)),a&&t.data.queue.length<2&&t.triggerEvent(\"event\")});t.data.fn_dequeue=function(){if(t.data.queue.shift(),s&&t.data.queue.length>0){if(i){var u=t.data.queue[0];t.data.fn_publish(u)}a&&t.triggerEvent(\"event\")}s&&0==t.data.queue.length&&i&&t.data.fn_clearvalues()},t.data.fn_clearqueue=function(){t.data.queue=[],s&&t.data.fn_clearvalues()}}"},"preview":{"fn":"function(instance, properties) {\n var div = document.createElement(\"div\");\n div.style.overflow = \"hidden\";\n div.style.width = \"100%\";\n div.style.height = \"100%\";\n div.style[\"font-style\"] = \"italic\";\n div.style[\"text-wrap\"] = \"nowrap\";\n div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75
187) + \"px\";\n div.textContent = \"JS2Bubble\";\n instance.canvas.append(div);\n}"}},"platform_type":"web"},"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
187) + \"px\";\n div.textContent = \"List Item Expression\";\n instance.canvas.append(div);\n}"}},"platform_type":"web"}},"plugin_actions":{"AAg":{"display":"Run javascript","type":"client_side","fields":{"AAh":{"caption":"Script","name":"script","editor":"DynamicValue","value":"text","rank":2},"AAi":{"caption":"Asynchronous","name":"async","editor":"Checkbox","default_val":true,"rank":3},"ABB":{"caption":"param1","name":"param1","rank":4,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABC":{"caption":"param2","name":"param2","rank":5,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABD":{"caption":"param3","name":"param3","rank":6,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABE":{"caption":"param4","name":"param4","rank":7,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABF":{"caption":"param5","name":"param5","rank":8,"editor":"DynamicValue","value":"_any_thing","optional":true},"ABG":{"caption":"paramlist1","name":"paramlist1","rank":9,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABH":{"caption":"paramlist2","name":"paramlist2","rank":10,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABI":{"caption":"paramlist3","name":"paramlist3","rank":11,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABJ":{"caption":"paramlist4","name":"paramlist4","rank":12,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABK":{"caption":"paramlist5","name":"paramlist5","rank":13,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"ABQ":{"caption":"Run Javascript.","name":"doctitle","rank":0,"editor":"Label"},"ABR":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){var script=properties.script,async=properties.async,_p1=properties.param1,_p2=properties.param2,_p3=properties.param3,_p4=properties.param4,_p5=properties.param5,_pl1=properties.paramlist1,_pl2=properties.paramlist2,_pl3=properties.paramlist3,_pl4=properties.paramlist4,_pl5=properties.paramlist5;eval(\"var properties = arguments[0]; context = arguments[1];\"),async?setTimeout((function(){eval(script)}),1):eval(script)}"}}},"AAn":{"display":"Server script","type":"server_side","return_value":{"AAz":{"caption":"result","name":"result","rank":0,"value":"custom_data_AAp"},"ABA":{"caption":"result list","name":"resultlist","rank":1,"is_list":true,"value":"custom_data_AAp"},"ABg":{"caption":"output1","name":"output1","rank":2,"value":"custom_data_ABf"},"ABp":{"caption":"output2","name":"output2","rank":3,"value":"custom_data_ABh"},"ABq":{"caption":"output3","name":"output3","rank":4,"value":"custom_data_ABi"},"ABr":{"caption":"output4","name":"output4","rank":5,"value":"custom_data_ABj"},"ABs":{"caption":"outputlist1","name":"outputlist1","rank":6,"value":"custom_data_ABk","is_list":true},"ABt":{"caption":"outputlist2","name":"outputlist2","rank":7,"value":"custom_data_ABm","is_list":true},"ABu":{"caption":"outputlist3","name":"outputlist3","rank":8,"value":"custom_data_ABn","is_list":true},"ABv":{"caption":"outputlist4","name":"outputlist4","rank":9,"value":"custom_data_ABo","is_list":true}},"fields":{"AAo":{"caption":"Node script","name":"script","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Return type","name":"returntype","rank":16,"editor":"custom_type","optional":true},"AAq":{"caption":"Returns a list","name":"returnslist","rank":17,"editor":"Checkbox","default_val":false},"AAr":{"caption":"Data","name":"data","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AAs":{"caption":"Keys and values","name":"keyvalues","rank":8,"editor":"key_value_list","value":"text"},"AAt":{"caption":"Thing 1","name":"thing1","rank":9,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAu":{"caption":"Thing 2","name":"thing2","rank":10,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAv":{"caption":"Thing 3","name":"thing3","rank":11,"editor":"DynamicValue","optional":true,"value":"_any_thing"},"AAw":{"caption":"Thing list 1","name":"thinglist1","rank":12,"optional":true,"editor":"DynamicValue","is_list":true,"value":"_any_thing"},"AAx":{"caption":"Thing list 2","name":"thinglist2","rank":13,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AAy":{"caption":"Thing list 3","name":"thinglist3","rank":14,"editor":"DynamicValue","optional":true,"is_list":true,"value":"_any_thing"},"ABO":{"caption":"Server Script. Runs a Node.js AWS Lambda instance.","name":"doctitle","rank":0,"editor":"Label"},"ABP":{"caption":"Docs at toolboxdocs.netlify.app","name":"doclink","rank":1,"editor":"Label"},"ABa":{"caption":"Script is async function","name":"scriptasfn","rank":3,"editor":"Checkbox","default_val":false},"ABb":{"caption":"Ignore errors","name":"ignore_error","rank":4,"editor":"Checkbox","default_val":false},"ABc":{"caption":"Multiple Outputs","name":"multipleoutputs","rank":18,"editor":"Checkbox","default_val":false},"ABd":{"caption":"------------ Inputs ------------","name":"docin
187puts","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}}}}}; 188window._bubble_page_load_data.plugins_size['1488796042609x768734193128308700'] = 19807; 189window.preloaded['plugin/third_party:1488796042609x768734193128308700:2.1.2'] = true; 190window.plugins["1490419628548x723854579525484500"] = {"human":"Link Preview","dependencies":{"use_jquery":true},"plugin_api":{"human":"Link Preview","auth":"none","token_param_name":"key","calls":{"AAC":{"method":"get","publish_as":"data","url":"http://api.linkpreview.net/?key=[key]&q=[q]","name":"Get Preview","url_params":{"AAD":{"key":"key","visibility":"secret"},"AAE":{"key":"q","value":"enter-url-here"}},"initialized":true,"types":"{\"plugin_api.AAC\":{\"caption\":\"Get Preview\",\"fields\":{\"_p_title\":{\"ret_value\":\"text\",\"caption\":\"title\"},\"_p_description\":{\"ret_value\":\"text\",\"caption\":\"description\"},\"_p_image\":{\"ret_value\":\"image\",\"caption\":\"image\"},\"_p_url\":{\"ret_value\":\"text\",\"caption\":\"url\"}}}}","ret_value":"api.1490419628548x723854579525484500.plugin_api.AAC"}}}}; 191window._bubble_page_load_data.plugins_size['1490419628548x723854579525484500'] = 770; 192window.preloaded['plugin/third_party:1490419628548x723854579525484500:1.2.0'] = true; 193window.plugins["1497473108162x748255442121523200"] = {"human":"Air Copy to clipboard","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Air copy to clipboard","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAa":{"caption":"Target element ID attribute","name":"target_id","editor":"DynamicValue","rank":2,"value":"text","optional":true},"AAb":{"caption":"Action type","name":"action_type","editor":"Dropdown","rank":3,"default_val":"copy"},"AAd":{"caption":"Trigger element ID","name":"trigger_id","rank":4,"editor":"DynamicValue","value":"text"},"AAo":{"caption":"Text to copy","name":"text","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Use ID Attribute","name":"use_id_attribute","rank":1,"editor":"Checkbox","default_val":false},"AAt":{"caption":"Copy HTML","name":"copy_html","rank":5,"editor":"Checkbox","default_val":false}},"actions":{"AAl":{"caption":"Paste from clipboard","code":{"fn":"function(instance, properties, context) {\n\n\n \tlet elem = document.getElementById(properties.elem_id);\n if ( elem.nodeName === 'INPUT' ){\n \n try{\n navigator.clipboard.readText().then(clipText => {\n elem.value = clipText;\n $(elem).change();\n });\n } catch (err) {\n if (typeof navigator.clipboard.readText !== 'function'){\n context.reportDebugger('No access to clipboard. Reason: Firefox and internet explorer browsers do not support pasting from clipboard');\n } else {\n context.reportDebugger('No access to clipboard. Reason: ' + err.message);\n }\n \n } \n \n \n } else {\n console.warn(`Air Copy to clipboard: paste from clipboard is allowed only in input element.`);\n }\n\n\n}"},"fields":{"AAm":{"caption":"Element ID","name":"elem_id","rank":0,"editor":"StaticText"}}},"ABH":{"caption":"Copy with links","code":{"fn":"function(instance, properties, context) {\n if (document.selection) {\n var range = document.body.createTextRange();\n range.moveToElementText(document.getElementById(properties.element_id));\n range.select().createTextRange();\n document.execCommand(\"copy\");\n } else if (window.getSelection) {\n setTimeout(() =>{\n var range = document.createRange();\n range.selectNode(document.getElementById(properties.element_id));\n window.getSelection().removeAllRanges(range);\n window.getSelection().addRange(range);\n document.execCommand(\"copy\");\n }, 50);\n }\n}"},"fields":{"ABI":{"caption":"element_id","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":"function(instance, context) {\n \n\t \n}"},"update":{"fn":"function(instance, properties, context) {\n\n\n var target = properties.target_id;\n var trigger = properties.trigger_id;\n \n $(document).ready(function(){\n $(`#${trigger}`).on('click', function(){\n \n let type = properties.action_type;\n if ( properties.use_id_attribute ){\n let element = document.getElementById(target);\n if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n\n let inpVal = element.value;\n navigator.clipboard.writeText(inpVal).then(r => {\n if (type === 'cut') {\n element.value = '';\n }\n });\n\n } else {\n\t\t\t\t\n let divTxt = element.innerText;\n if (properties.copy_html){\n divTxt = element.innerHTML;\n\t\t\t\t}\n navigator.clipboard.writeText(divTxt).then(r => {\n if (type === 'cut') {\n console.warn(`Air Copy to clipboard: Can't cut from static element`);\n }\n\n });\n\n }\n\n } else {\n\n let text = properties.text;\n navigator.clipboard.writeText(text).then(r => {\n if (type === 'cut') {\n console.warn(`Air Copy to clipboard: Can't cut from static element`);\n }\n\n });\n\n }\n \n });\n });\n}"}},"platform_type":"web"}},"plugin_actions":{"AAU":{"display":"Copy to clipboard from static text","type":"client_side","fields":{"AAg":{"caption":"Text to copy","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"}},"code":{"client":{"fn":"function(properties, context) {\n \n \tlet divTxt = properties.element_id;\n navigator.clipboard.writeText(divTxt).then(r => {console.log('Text copied')});\n \n}","add_debugger":false}}},"AAq":{"display":"Copy to clipboard from element","type":"server_side","fields":{"AAr":{"caption":"Delay ( Seconds )","name":"delay","rank":0,"editor":"StaticNumber","default_val":1},"AAs":{"caption":"Element ID","name":"element_id","rank":1,"editor":"DynamicValue","value":"text"},"AAu":{"caption":"Copy HTML","name":"copy_html","rank":2,"editor":"Checkbox","default_val":false}}},"ABC":{"display":"Copy element","type":"client_side","fields":{"ABD":{"caption":"Target ID","name":"target_id","rank":0,"editor":"StaticText"},"ABE":{"caption":"This action uses deprecated method. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. ","name":"this_action_use_deprecated_method._though_some_browsers_might_still_support_it,_it_may_have_already_been_removed_from_the_relevant_web_standards,_may_be_in_the_process_of_being_dropped,_or_may_only_be_kept_for_c
193ompatibility_purposes._","rank":1,"editor":"Label"},"ABF":{"caption":"Be aware that this feature may cease to work at any time.","name":"be_aware_that_this_feature_may_cease_to_work_at_any_time.","rank":2,"editor":"Label"},"ABG":{"caption":"This action can copy the entire content of an item while preserving the formatting.","name":"this_action_can_copy_the_entire_content_of_an_item_while_preserving_the_formatting.","rank":3,"editor":"Label"}},"code":{"client":{"fn":"function(properties, context) {\n\t\n if (document.getElementById(properties.target_id)){\n var element = document.getElementById(properties.target_id);\n var range = document.createRange();\n var selection = window.getSelection();\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n document.execCommand('copy');\n range.collapse();\n }\n}"}}}}}; 194window._bubble_page_load_data.plugins_size['1497473108162x748255442121523200'] = 6798; 195window.preloaded['plugin/third_party:1497473108162x748255442121523200:2.17.0'] = true; 196window.plugins["1513673902412x622117897080930300"] = {"human":"ChartGraph","dependencies":{"use_jquery":true},"plugin_api":{"human":""},"plugin_actions":{"AAC":{"display":"liner_graph_creation","type":"client_side","fields":{"AAD":{"caption":"series1","name":"series1","editor":"DynamicValue","rank":0,"value":"number","is_list":false},"AAE":{"caption":"series2","name":"series2","editor":"DynamicValue","rank":1,"value":"number","is_list":false}},"code":{"client":{"fn":"function(a,b){};\n"}}}}}; 197window._bubble_page_load_data.plugins_size['1513673902412x622117897080930300'] = 443; 198window.preloaded['plugin/third_party:1513673902412x622117897080930300:3.3.0'] = true; 199window.plugins["1515740964274x743012569880985600"] = {"human":"Bar chart with Colors","dependencies":{"use_jquery":true},"plugin_api":{"human":""},"plugin_elements":{"AAC":{"display":"chartjs","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Font":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAD":{"caption":"DATA: Source - Category","name":"data_source_category","editor":"DynamicValue","rank":0,"value":"text","is_list":true},"AAE":{"caption":"DATA: Source - Value","name":"data_source_value","editor":"DynamicValue","rank":1,"value":"number","is_list":true},"AAF":{"caption":"DATA: Source - Color","name":"data_source_color","editor":"DynamicValue","rank":2,"value":"text","is_list":true,"optional":false},"AAG":{"caption":"DATA: Serial - Label","name":"data_source_label","editor":"DynamicValue","rank":3,"value":"text","default_val":"Chart1"},"AAH":{"caption":"DATA: Serial Background color","name":"data_source_bgcolor","editor":"Color","rank":4,"value":"text","default_val":"rgba(0, 0, 0, 1)"},"AAI":{"caption":"DATA: Serial Border color","name":"data_source_bordercolor","editor":"Color","rank":5,"value":"text","default_val":"rgba(0, 0, 0, 1)"},"AAJ":{"caption":"DATA: Serial Hover Background color","name":"data_source_hover_bgcolor","editor":"Color","rank":6,"default_val":"rgba(0, 0, 0, 1)"},"AAK":{"caption":"DATA: Serial Hover Border color","name":"data_source_hover_bordercolor","editor":"Color","rank":7,"default_val":"rgba(0, 0, 0, 1)"},"AAL":{"caption":"Chart Type","name":"data_source_chart_type","rank":8,"editor":"Dropdown","default_val":"bar"}},"code":{"initialize":{"fn":"function(d,g){d.data.update_runCount=0;var f=\"graphdiv\"+Math.round(1E4*Math.random())+1,e=$('<div id=\"'+(f+'_parent\" style=\"position: relative !important;margin: auto !important; height: 80vh; width: 80vw;\" ><canvas id=\"')+f+'\"></canvas></div>');e.css(\"width\",\"100%\");e.css(\"height\",\"100%\");d.canvas.append(e);d.data.drawPie=function(b,a,c){b=10;160<a.maxval&&400>a.maxval?b=50:400<a.maxval&&1E3>a.maxval?b=100:1E3<a.maxval&&2E3>a.maxval?b=250:2E3<a.maxval&&(b=500);b=\"pie\"==c?{responsive:!0,\nlegend:{display:!1},maintainAspectRatio:!1,tooltips:{enabled:!1}}:\"bubble\"==c?{aspectRatio:1,legend:!1,tooltips:!1,elements:{point:{backgroundColor:a.datasets.backgroundColor,borderColor:a.datasets.borderColor,borderWidth:a.datasets.borderWidth,hoverBackgroun
199dColor:\"transparent\",hoverBorderColor:a.datasets.hoverBorderColor,hoverBorderWidth:a.datasets.borderWidth+1,radius:1}}}:\"line\"==c?{legend:!1,tooltips:!1,elements:{line:{fill:!1,backgroundColor:a.datasets.backgroundColor,borderColor:a.datasets.borderColor},\npoint:{backgroundColor:a.datasets.backgroundColor,hoverBackgroundColor:a.datasets.hoverBackgroundColor,radius:5,pointStyle:5,hoverRadius:10}}}:\"polarArea\"==c?{legend:!1,tooltips:!1,elements:{arc:{backgroundColor:a.datasets.backgroundColor,hoverBackgroundColor:a.datasets.hoverBackgroundColor}}}:\"radar\"==c?{legend:!1,tooltips:!0,elements:{line:{backgroundColor:a.datasets.backgroundColor,borderColor:a.datasets.borderColor},point:{backgroundColor:a.datasets.backgroundColor,hoverBackgroundColor:a.datasets.hoverBackgroundColor,\nradius:b+100,pointStyle:\"circle\",hoverRadius:15}}}:{responsive:!0,legend:{display:!1},maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,gridLines:{display:!1},ticks:{fontColor:\"#FFFFFF\",fontSize:8,maxRotation:0}}],yAxes:[{ticks:{min:0,fontColor:\"#FFFFFF\",stepSize:b}}]},tooltips:{enabled:!1}};d.data.update_runCount++;var e=$(\"#\"+f);d.data.chart=new Chart(e,{type:c,data:a,options:b})};setTimeout(function(){},1500)};"},"update":{"fn":"function(c,a,b){b=a.data_source_category.length();data_values=a.data_source_value.get(0,b);data_category=a.data_source_category.get(0,b);data_color=a.data_source_color.get(0,b);b={labels:data_category,datasets:[{label:a.data_source_label,backgroundColor:data_color,borderColor:null==a.data_source_bordercolor?\"rgba(255,99,132,10)\":a.data_source_bordercolor,borderWidth:1,hoverBackgroundColor:null==a.data_source_hover_bgcolor?\"rgba(255,99,132,0.4)\":a.data_source_hover_bgcolor,hoverBorderColor:null==\na.data_source_hover_bordercolor?\"rgba(255,99,132,1)\":a.data_source_hover_bordercolor,data:data_values}],maxval:Math.max.apply(Math,data_values)};c.data.drawPie([],b,a.data_source_chart_type)};"},"reset":{"fn":"function(a,b){};"}},"platform_type":"web"}}}; 200window._bubble_page_load_data.plugins_size['1515740964274x743012569880985600'] = 4395; 201window.preloaded['plugin/third_party:1515740964274x743012569880985600:3.4.0'] = true; 202window.plugins["1515787032525x876315403042684900"] = {"human":"AirAlert","dependencies":{"use_jquery":true},"shared_keys":{"ACS":{"caption":"BgColor - Success","type":"client_safe"},"ACT":{"caption":"BgColor - Info","type":"client_safe"},"ACU":{"caption":"BgColor - Warning","type":"client_safe"},"ACV":{"caption":"BgColor - Error","type":"client_safe"},"ACW":{"caption":"TextColor - Success","type":"client_safe"},"ACX":{"caption":"TextColor - Info","type":"client_safe"},"ACY":{"caption":"TextColor - Warning","type":"client_safe"},"ACZ":{"caption":"TextColor - Error","type":"client_safe"},"ACa":{"caption":"Default Duration","type":"client_safe"}},"plugin_actions":{"ABu":{"display":"AirAlert - Custom","type":"client_side","fields":{"ABv":{"caption":"Heading","name":"heading","editor":"DynamicValue","rank":1,"value":"text","default_val":"Title"},"ABw":{"caption":"Message","name":"text","editor":"DynamicValue","rank":2,"value":"text","default_val":"Content goes here..."},"ABx":{"caption":"Show close button","name":"closeButton","editor":"Checkbox","rank":5,"default_val":true},"ABy":{"caption":"Position on page","name":"position","editor":"Dropdown","rank":6,"default_val":"Top Right"},"ABz":{"caption":"Hide after (ms)","name":"hideAfter","editor":"DynamicValue","rank":7,"value":"number","default_val":5000},"ACC":{"caption":"Display progress bar","name":"progressBar","editor":"Checkbox","rank":11,"default_val":false},"ACL":{"caption":"Icon to display","name":"icon","editor":"Dropdown","rank":3,"default_val":"None"},"ACM":{"caption":"Animation","name":"animation","editor":"Dropdown","rank":4,"default_val":"Plain"},"ACN":{"caption":"Max notifications at once","name":"maxNumber","editor":"StaticNumber","rank":12,"value":"number","default_val":5},"ACO":{"caption":"Progress bar color","name":"progressBarColor","editor":"DynamicValue","rank":10,"value":"text","default_val":"#9EC600"},"ACP":{"caption":"Text alignment","name":"textAlign","editor":"Dropdown","rank":13,"default_val":"Left"}
202,"ACQ":{"caption":"Background color","name":"bgColor","editor":"DynamicValue","rank":8,"value":"text","default_val":"#FF1356"},"ACR":{"caption":"Text color","name":"textColor","editor":"DynamicValue","rank":9,"value":"text","default_val":"#FFFFFF"},"ACg":{"caption":"The Heading and Message fields will also accept valid HTML styling","name":"heading_and_message_also_accept_html_styling","editor":"Label","rank":0},"ACj":{"caption":"XSS Protection","name":"xss_protection","rank":14,"editor":"DynamicValue","value":"boolean","default_val":true}},"code":{"client":{"fn":"function(properties, context) {\n \n var positionMapping = {\n \"Top Right\":\"top-right\",\n \"Bottom Right\":\"bottom-right\",\n \"Bottom Left\":\"bottom-left\",\n \"Top Left\":\"top-left\",\n \"Top Center\":\"top-center\",\n \"Bottom Center\":\"bottom-center\"\n };\n var animationMapping = {\n \"Fade\":\"fade\",\n \"Slide\":\"slide\",\n \"Plain\":\"plain\",\n };\n var iconMapping = {\n \"Warning\":\"warning\",\
202n \"Success\":\"success\",\n \"Error\":\"error\",\n \"Information\":\"info\"\n };\n var textAlignMapping = {\n \"Left\":\"left\",\n \"Center\":\"center\",\n \"Right\":\"right\",\n };\n var settings = {};\n \n /*if (properties.xss_protection && typeof filterXSS === \"undefined\")\n $.getScript(\"https://d2tf8y1b8kxrzw.cloudfront.net/serve_files/xss/xss.min.js\").then(() => {\n showAlert();\n });\n else*/\n showAlert();\n \n function showAlert() {\n \n if (properties.xss_protection) {\n addToSettings('heading',filterXSS(properties.heading));\n addToSettings('text',filterXSS(properties.text));\n }\n else \n addToSettings('heading',properties.heading);\n addToSettings('text',properties.text);\n addToSettings('icon',iconMapping[properties.icon]);\n addToSettings('showHideTransition',animationMapping[properties.animation]);\n addToSettings('allowToastClose',properties.closeButton);\n addToSettings('position',positionMapping[properties.position]);\n addToSettings('hideAfter',properties.hideAfter);\n addToSettings('stack',properties.maxNumber);\n addToSettings('loader',properties.progressBar);\n addToSettings('loaderBg',properties.progressBarColor);\n addToSettings('textAlign',textAlignMapping[properties.textAlign]);\n addToSettings('bgColor',properties.bgColor);\n addToSettings('textColor',properties.textColor);\n\n\n $(document).ready($.toast(settings));\n \n }\n \n function addToSettings(keyname,value) {\n if ((value!==undefined)&&(value!==null)) settings[keyname] = value;\n }\n \n}"}}},"ACb":{"display":"AirAlert - Standard","type":"client_side","fields":{"ACc":{"caption":"Notification type","name":"type","editor":"Dropdown","rank":3,"default_val":"Success"},"ACd":{"caption":"Heading","name":"heading","editor":"DynamicValue","rank":1,"value":"text","default_val":"Title"},"ACe":{"caption":"Message","name":"text","editor":"DynamicValue","rank":2,"value":"text","default_val":"Content goes here..."},"ACh":{"caption":"The Heading and Message fields will also accept valid HTML styling","name":"heading_and_message_also_accept_html_styling","editor":"Label","rank":0},"ACi":{"caption":"XSS Protection","name":"xss_protection","rank":5,"editor":"DynamicValue","value":"boolean","default_val":true},"ACk":{"caption":"Position on page","name":"position","rank":4,"editor":"Dropdown","default_val":"Top Right"}},"code":{"client":{"fn":"function(properties, context) {\n \n //console.log(properties.type);\n var genericDefaults = {\n showHideTransition: 'plain',\n allowToastClose: true,\n position: 'top-right',\n stack: 5,\n loader: false,\n textAlign: 'left'\n }\n \n var themeDefaults = {\n Success: {\n bgColor: context.keys['BgColor - Success'] || '#E7FBEF',\n textColor: context.keys['TextColor - Success'] || '#38ab69',\n hideAfter: Number(context.keys['Default Duration']) || 5000\n },\n Information: {\n bgColor: context.keys['BgColor - Info'] || '#ebeced' ,\n textColor: context.keys['TextColor - Info'] || '#333333',\n hideAfter: Number(context.keys['Default Duration']) || 5000\n },\n Warning: {\n bgColor: context.keys['BgColor - Warning'] || '#FEF6E6',\n textColor: context.keys['TextColor - Warning'] || '#e89320',\n hideAfter: Number(context.keys['Default Duration']) || 5000\n },\n Error: {\n bgColor: context.keys['BgColor - Error'] || '#FBECEC',\n textColor: context.keys['TextColor - Error'] || '#E9403F',\n hideAfter: Number(context.keys['Default Duration']) || 5000\n }\n }\n \n //console.log(themeDefaults[properties.type]);\n \n var positionMapping = {\n \"Top Right\":\"top-right\",\n \"Bottom Right\":\"bottom-right\",\n \"Bottom Left\":\"bottom-left\",\n \"Top Left\":\"top-left\",\n \"Top Center\":\"top-center\",\n \"Bottom Center\":\"bottom-center\"\n };\n var animationMapping = {\n \"Fade\":\"fade\",\n \"Slide\":\"slide\",\n \"Plain\":\"plain\",\n };\n var iconMapping = {\n \"Warning\":\"warning\",\n \"Success\":\"success\",\n \"Error\":\"error\",\n \"Information\":\"info\"\n };\n var textAlignMapping = {\n \"Left\":\"left\",\n \"Center\":\"center\",\n \"Right\":\"right\",\n };\n \n var settings = $.extend({},genericDefaults,themeDefaults[properties.type]);\n \n /*if (properties.xss_protection && typeof filterXSS === \"undefined\")\n $.getScript(\"https://d2tf8y1b8kxrzw.cloudfront.net/serve_files/xss/xss.min.js\").then(() =>
202 {\n showAlert();\n });\n else*/\n showAlert();\n \n function showAlert() {\n \n // Set the position of the alert\n addToSettings('position',positionMapping[properties.position]);\n \n //console.log(settings);\n if ((properties.heading!==undefined)&&(properties.heading!==null)) {\n if (properties.xss_protection)\n addToSettings('heading',\"<div style='padding: 6px 6px 0px';><style>h2{ font-family: 'Inter', sans-serif; !important };</style><b><h2 style='font-size:16px'>\" + filterXSS(properties.heading) + \"</h2></b></div>\");\n else\n addToSettings('heading',\"<div style='padding: 6px 6px 0px';><style>h2{ font-family: 'Inter', sans-serif; !important };</style><b><h2 style='font-size:16px'>\" + properties.heading + \"</h2></b></div>\");\n }\n if ((properties.text!==undefined)&&(properties.text!==null)) {\n if (properties.xss_protection)\n addToSettings('text',\"<div style='padding: 0px 6px 6px';><style>p{ font-family: 'Inter', sans-serif; font-weight: 500; line-height:20px}</style><p style='font-size:14px';>\" + filterXSS(properties.text) + \"</p></div>\");\n else\n addToSettings('text',\"<div style='padding: 0px 6px 6px';><style>p{ font-family: 'Inter', sans-serif; font-weight: 500; line-height:20px}</style><p style='font-size:14px';>\" + properties.text + \"</p></div>\");\n }\n // addToSettings('icon',iconMapping[properties.type]);\n\n $(document).ready($.toast(settings));\n \n }\n \n function addToSettings(keyname,value) {\n if ((value!==undefined)&&(value!==null)) settings[keyname] = value;\n }\n \n}"}}},"ACf":{"display":"AirAlert - Clear all","type":"client_side","code":{"client":{"fn":"function(properties, context) {\n\n\n //Load any data \n $.toast().reset('all');\n\n\n\n //Do the operation\n\n\n\n}"}}}}}; 203window._bubble_page_load_data.plugins_size['1515787032525x876315403042684900'] = 9548; 204window.preloaded['plugin/third_party:1515787032525x876315403042684900:2.1.0'] = true; 205window.plugins["1517026666591x752584999205601300"] = {"human":"Air Database Diagram","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"AirDatabaseDiagram","property_applications":{"resizable":true,"MinWidth":true,"Background":true},"add_is_visible":true,"has_reset_fn":false,"fields":{"AAG":{"caption":"Domain name ","name":"domain_name","editor":"DynamicValue","rank":1,"value":"text"},"AAK":{"caption":"Color tables","name":"color","editor":"Checkbox","rank":3,"default_val":true},"AAL":{"caption":"Diagram direction","name":"direction","editor":"Dropdown","rank":4,"default_val":"Left to Right"},"AAM":{"caption":"Scale (percentage)","name":"scale","editor":"StaticNumber","rank":5,"default_val":100},"AAP":{"caption":"Look and feel","name":"style","editor":"Dropdown","rank":2,"default_val":"scruffy"},"AAQ":{"caption":"Example of domain name is myapp.bubbleapps.io or myapp.com","name":"domain_info","editor":"Label","rank":0},"AAR":{"caption":"Show fields","name":"showfields","editor":"Checkbox","rank":7,"default_val":true},"AAS":{"caption":"For large database with several tables, it is advisable not to show the fields by unchecking the next property. This will allow you to see only the relationships between your data.","name":"show_fields_info","editor":"Label","rank":6},"AAX":{"caption":"File format","name":"fileformat","editor":"Dropdown","rank":8,"default_val":"jpg"},"AAY":{"caption":"Display in viewer","name":"viewer","editor":"Checkbox","rank":9,"default_val":true}},"states":{"AAZ":{"caption":"Link to PDF","name":"link_to_pdf","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAa":{"caption":"Link to SVG","name":"link_to_svg","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAb":{"caption":"Link to PNG","name":"link_to_png","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAc":{"caption":"Link to JPG","name":"link_to_jpg","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"code":{"initialize":{"fn":"function(instance,context){function _0x3600(){var _0x22801e=[\"180YsCKql\",\"10156wPBOGA\",\"5969IndVTw\",\"244464xSQOGM\",\"canvas\",\"222hjfhRr\",\"pow\",\"655zuFwcS\",\"<div id=\",\"800ULBftU\",\"1176807Hjkkex\",\"160fpnGOU\",\"2217138ElNGuu\",\"9360JzhBYe\",\"data\",\"></div>\",\"7SXoPsm\",\"1038713moTwfJ\"];return(_0x3600=function(){return _0x22801e})()}function _0x57e5(_0x4143fd,_0x14c89d){var _0x36000b=_0x3600();return(_0x57e5=function(_0x57e507,_0x1f7eb5){var _0x5d6481;return _0x36000b[_0x57e507-=107]})(_0x4143fd,_0x14c89d)}function initialize(_0x2f31e4,_0x35e606){var _0x5d4eda=_0x57e5,_0x5adfa0,_0x51dfad=\"dp\"+(Math.random()*Math[_0x5d4eda(115)](2,54)).toString(18);_0x5adfa0=$(_0x5d4eda(117)+_0x51dfad+_0x5d4eda(124)),_0x2f31e4[_0x5d4eda(113)].append(_0x5adfa0),_0x2f31e4.canvas.css({overflow:\"visible\"}),_0x2f31e4[_0x5d4eda(123)].uniqueid=_0x51dfad,_0x2f31e4[_0x5d4eda(123)].t=!1}!function(_0x133b4b,_0x3ef9e8){for(var _0x35eed2=_0x57e5,_0x548732=_0x133b4b();;)try{var _0x1cb8da;if(386235===-parseInt(_0x35eed2(111))/1*(parseInt(_0x35eed2(114))/2)+-parseInt(_0x35eed2(119))/3+-parseInt(_0x35eed2(110))/4*(-parseInt(_0x35eed2(116))/5)+parseInt(_0x35eed2(121))/6*(parseInt(_0x35eed2(107))/7)+parseInt(_0x35eed2(118))/8*(-parseInt(_0x35eed2(122))/9)+-parseInt(_0x35eed2(120))/10*(parseInt(_0x35eed2(112))/11)+-parseInt(_0x35eed2(109))/12*(-parseInt(_0x35eed2(108))/13))break;_0x548732.push(_0x548732.shift())}
205catch(_0x51c622){_0x548732.push(_0x548732.shift())}}(_0x3600,386235),initialize(instance,context)}","add_debugger":false},"update":{"fn":"function(instance,properties,context){function _0x5598(_0x5b82b1,_0x3de25a){var _0x6e992=_0x6e99();return(_0x5598=function(_0x5598ca,_0x2cebdd){var _0xaaff0d;return _0x6e992[_0x5598ca-=382]})(_0x5b82b1,_0x3de25a)}function _0x6e99(){var _0x499323=[\"display\",\"viewer\",\"limegreen\",\".pdf\",\"violet\",\"type\",\"Sorry your app doesn't expose any data\",\"random\",\"pow\",\"fields\",\"tomato\",\"papayawhip\",\"style\",\"lightsalmon\",\"royalblue\",\"{bg:\",\"log\",\"Left to Right\",\"link_to_png\",\"scale\",\"bisque\",'\" />',\"}],\",\"slateblue\",\"392448fQpPVK\",\"slategray\",\".png\",\"peru\",\"/class/\",\"split\",\"zoom-in\",\"skeyblue\",\"length\",\"stellblue\",\"palegreen\",\"error\",\"uniqueid\",\"lightskyblue\",\"floor\",\"olivedrab\",\"append\",\"done\",\"5724702tRzMBS\",\"aliceblue\",\"mediumvioletred\",\"lightpink\",\"5186670rLRyWO\",\"red\",\"springgreen\",\"seashell\",\"199298MfgjSS\",\"get\",\"Tmeout: The server is not responding\",\"fileformat\",\"timeout\",\"lightyellow\",\"cursor\",\"plum\",\"pink\",\"navajowhite\",\"wheat\",\"136WabJBA\",\"seagreen\",\"domain_name\",\"https://yuml.me/airdbdiagram/diagram/\",\"saddlebrown\",\"294639EhNVZH\",\"yellowgreen\",\"<>-\",\"white\",\"css\",\"salmon\",\";dir:\",\"palevioletred\",\"canvas\",\"tan\",\"whitesmokek\",\"toString\",\"36dUxxVV\",\"link_to_jpg\",\"href\",\"goldenrod\",\"find\",\"372554MvqbyN\",\"The server is not responding\",\"gray\",\"corla\",\"<>->\",\"2911020eFNXrv\",\"direction\",\"orange\",\"6mdSzro\",\"link_to_pdf\",\" : \",\"sandybrown\",\"showfields\",\"thistle\",\"parse\",\"mediumturquoise\",\"sienna\",\"data\",\"Error : \",\"powderblue\",\"keys\",\".jpg\",\"str\",\"mistyrose\",\"list\",\".svg\",\"chocolate\",\"types\"];return(_0x6e99=function(){return _0x499323})()}function update(_0x390144,_0x17b184,_0x116c34){$((function(){var _0xcb88ce=_0x5598;if(!_0x390144[_0xcb88ce(386)].t){const{publishState:_0x4470aa}=_0x390144;var _0x524859=_0x390144.data[_0xcb88ce(433)],_0x2de7c6=_0x390144[_0xcb88ce(471)][_0xcb88ce(479)](\"#\"+_0x524859)[0],_0x11141a=_0x17b184[_0xcb88ce(460)]+\"api/1.1/meta\",_0x32d0e7=$.get(_0x11141a),_0x233a0f=\"\",_0x2268a7;function _0x3d8970(_0x613a1c){var _0x1742b2=_0xcb88ce,_0x4a9aae;return _0x613a1c[_0x1742b2(426)](\".\")[0]===_0x1742b2(393)}function _0x5dd8b0(_0x44f736){var _0x4a523f;return _0x44f736.split(\".\").length>1}function _0x35dd2f(_0x1191c8){var _0x469043=_0xcb88ce;console.log(_0x469043(391),_0x1191c8);var _0x38d429=_0x1191c8.split(\".\");return _0x38d429.length>1?_0x38d429[_0x38d429[_0x469043(429)]-1]:_0x1191c8}_0x32d0e7[_0xcb88ce(438)]((function(_0x38f806){var _0x1a2854=_0xcb88ce,_0x500cf8=JSON[_0x1a2854(383)](_0x38f806);if(console[_0x1a2854(413)](_0x500cf8),_0x2268a7=_0x500cf8[_0x1a2854(396)],_0x500cf8[_0x1a2854(448)][_0x1a2854(429)]<1)return void alert(_0x1a2854(403));var _0x1ce926=Object[_0x1a2854(389)](_0x2268a7),_0x1326de=\"\",_0x28f6ca=\"\",_0x16f90e=[_0x1a2854(464),_0x1a2854(473),_0x1a2854(454),_0x1a2854(466),_0x1a2854(457),_0x1a2854(401),\"turquoise\",\"yellow\",_0x1a2854(441),_0x1a2854(407),_0x1a2854(382),_0x1a2854(472),_0x1a2854(430),\"rosybrown\",_0x1a2854(445),\"snow\",_0x1a2854(422),_0x1a2854(420),_0x1a2854(385),_0x1a2854(446),_0x1a2854(459),_0x1a2854(428),_0x1a2854(491),_0x1a2854(468),_0x1a2854(462),_0x1a2854(411),_0x1a2854(444),\"purple\",_0x1a2854(388),_0x1a2854(455),_0x1a2854(424),\"peachpuff\",_0x1a2854(408),_0x1a2854(470),\"paletuquoise\",_0x1a2854(431),\"palegoldenrod\",\"orchid\",\"orangered\",_0x1a2854(487),_0x1a2854(436),\"oldlace\",_0x1a2854(456),\"moccasin\",_0x1a2854(392),_0x1a2854(384),\"linen\",_0x1a2854(452),_0x1a2854(434),_0x1a2854(410),\"kkaki\",_0x1a2854(442),_0x1a2854(478),\"gold\",_0x1a2854(482),_0x1a2854(483),_0x1a2854(399),_0x1a2854(395),_0x1a2854(440),_0x1a2854(417)];for(i=0;i<_0x1ce926[_0x1a2854(429)];i++){var _0x2b6204=_0x2268a7[_0x1ce926[i]],_0x40ab7d=_0x2b6204[_0x1a2854(397)],_0x3193f6=_0x2b6204[_0x1a2854(406)],_0x33977e=\"\";for(j=0;j<_0x3193f6.length;j++){var _0x1669f1=_0x3193f6[j][_0x1a2854(397)];_0x1669f1=_0x1669f1.replace(/\\?|\\#/g,\"\");var _0x4b82a3=_0x3193f6[j][_0x1a2854(402)],_0x429650=_0x35dd2f(_0x3193f6[j].type),_0x37eb4f=_0x3d8970(_0x4b82a3)?\" *\":\"\";_0x5dd8b0(_0x4b82a3)?(_0x3d8970(_0x4b82a3)?_0x28f6ca+=\"[\"+_0x40ab7d+\"]\"+_0x1a2854(465)+_0x1669f1+\">*[\"+_0x429650+\"],\":_0x28f6ca+=\"[\"+_0x40ab7d+\"]\"+_0x1a2854(484)+_0x1669f1+\"[\"+_0x429650+\"],\",_0x33977e+=_0x1669f1+_0x1a2854(490)+_0x429650+_0x37eb4f+\"; \"):_0x33977e+=_0x1669f1+_0x1a2854(490)+_0x429650+_0x37eb4f+\"; \"}if(_0x17b184.color){var _0x4fce5d=Math[_0x1a2854(435)](59*Math.random());_0x17b184[_0x1a2854(492)]?_0x1326de+=\"[\"+_0x40ab7d+\"|\"+_0x33977e+_0x1a2854(412)+_0x16f90e[_0x4fce5d]+_0x1a2854(419):_0x1326de+=\"[\"+_0x40ab7d+\"{bg:\"+_0x16f90e[_0x4fce5d]+\"}],\"}else _0x17b184[_0x1a2854(492)]?_0x1326de+=\"[\"+_0x40ab7d+\"|\"+_0x33977e+\"],\":_0x1326de+=\"[\"+_0x40ab7d+\"],\"}var _0x5c19f5=\"lr\";_0x5c19f5=_0x17b184[_0x1a2854(486)]==_0x1a2854(414)?\"lr\":\"Top to Down\"==_0x17b184.direction?\"td\":\"rl\",console[_0x1a2854(413)](_0x17b184[_0x1a2854(450)]);var _0x42dafe,_0x42dafe=(_0x42dafe=_0x1326de+_0x28f6ca).substring(0,_0x42dafe[_0x1a2854(429)]-1),_0x232c72=_0x1a2854(461)+_0x17b184[_0x1a2854(409)]+_0x1a2854(469)+_0x5c19f5+\";scale:\"+_0x17b184[_0x1a2854(416)]+_0x1a2854(425)+_0x42dafe,_0x4aa2d4=(Math[_0x1a2854(404)]()*Math[_0x1a2854(405)](2,54))[_0x1a2854(474)](18),_0x40bd46='<img class=\"'+_0x4aa2d4+'\" style=\"max-height: 100%; max-width: 100%\" src=\"'+_0x232c72+\".\"+_0x17b184[_0x1a2854(450)]+_0x1a2854(418);$(_0x2de7c6)[_0x1a2854(437)](_0x40bd46);var _0x35b277=new URL(_0x232c72)[_0x1a2854(477)];const _0x29691b=_0x35b277+_0x1a2854(423);console[_0x1a2854(413)](_0x29691b),_0x4470aa(_0x1a2854(489),_0x35b277+_0x1a2854(400)),_0x4470aa(\"link_to_svg\",_0x35b277+_0x1a2854(394)),_0x4470aa(_0x1a2854(415),_0x35b277+_0x1a2854(423)),_0x4470aa(_0x1a2854(476),_0x35b277+_0x1a2854(390)),_0x17b184[_0x1a2854(398)]&&($(\".\"+_0x4aa2d4)[_0x1a2854(467)](_0x1a2854(453),_0x1a2854(427)),$(\".\"+_0x4aa2d4)[_0x1a2854(398)]({toolbar:!1,title:!1}))})),_0x32d0e7.fail((function(_0x5df893,_0x45802b,_0x42393a){var _0x4de431=_0xcb88ce;_0x45802b==_0x4de431(451)?(console[_0x4de431(413)](_0x4de431(481)),alert(_0x4de431(449))):_0x45802b==_0x4de431(432)?(alert(_0x4de431(387)+_0x42393a),console[_0x4de431(413)](\"Error: \"+_0x42393a)):alert(\"Request failed : \"+_0x45802b)})),_0x390144[_0xcb88ce(386)].t=!0}}
205))}!function(_0x36f183,_0x28be67){for(var _0x49ebfa=_0x5598,_0x46e659=_0x36f183();;)try{var _0x9c5802;if(628691===-parseInt(_0x49ebfa(447))/1+parseInt(_0x49ebfa(480))/2+parseInt(_0x49ebfa(463))/3*(-parseInt(_0x49ebfa(475))/4)+-parseInt(_0x49ebfa(485))/5*(parseInt(_0x49ebfa(488))/6)+parseInt(_0x49ebfa(421))/7*(parseInt(_0x49ebfa(458))/8)+parseInt(_0x49ebfa(439))/9+parseInt(_0x49ebfa(443))/10)break;_0x46e659.push(_0x46e659.shift())}catch(_0x259fdb){_0x46e659.push(_0x46e659.shift())}}(_0x6e99,628691),update(instance,properties,context)}","add_debugger":false},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 206window._bubble_page_load_data.plugins_size['1517026666591x752584999205601300'] = 10665; 207window.preloaded['plugin/third_party:1517026666591x752584999205601300:1.14.0'] = true; 208window.plugins["1520524904151x890914947846373400"] = {"human":"Sendinblue SMTP","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_api":{"human":"Sendinblue","shared_headers":{"AAC":{"key":"api-key","private":true,"visibility":"secret"},"AAD":{"key":"Content-Type","value":"application/json","private":true,"visibility":"hidden"},"AAE":{"key":"Accept","value":"application/json","private":true,"visibility":"hidden"}},"calls":{"AAG":{"name":"Send SMTP Mail With Reply","method":"post","publish_as":"action","url":"https://api.sendinblue.com/v3/smtp/email","body":"{\"sender\":{\"name\":\"<Sender_name>\",\"email\":\"<Sender_mail*>\"},\"to\":[{\"email\":\"<To_email*>\",\"name\":\"<To_name*>\"}],\"htmlContent\":\"<Message_html*>\",\"subject\":\"<Subject*>\",\"replyTo\":{\"email\":\"<Email_toreply*>\",\"name\":\"<Name_toreply*>\"}}","body_params":{"AAH":{"key":"Sender_name","value":"Test","private":true},"AAI":{"key":"Sender_mail*","value":"[email protected]","private":true,"doc":""},"AAJ":{"key":"To_email*","value":"[email protected]","private":true},"AAK":{"key":"To_name*","value":"Alex","private":true},"AAL":{"key":"Message_html*","value":"Some message2","private":true,"doc":"NOTE! You cannot use double quotes (\"some text\")"},"AAM":{"key":"Subject*","value":"Test subject2","private":true,"doc":"NOTE! You cannot use double quotes (\"some text\")"},"ADD":{"key":"Email_toreply*","value":"[email protected]","private":true},"ADE":{"key":"Name_toreply*","value":"nameToReply","private":true}},"initialized":true,"types":"{\"plugin_api.AAG\":{\"caption\":\"Send SMTP Mail With Reply\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.AAG","should_reinitialize":true,"wrap_error":true},"AAP":{"name":"Send SMTP Mail + File (advanced)","method":"post","publish_as":"action","url":"https://api.sendinblue.com/v3/smtp/email","body":"<body>","initialized":true,"types":"{\"plugin_api.AAP\":{\"caption\":\"Send SMTP Mail + File (advanced)\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.AAP","should_reinitialize":false,"body_params":{"ADI":{"key":"body","value":"{ \"sender\": { \"name\": \"Alexandr Kacinski\", \"email\": \"[email protected]\" }, \"to\": [ { \"email\": \"[email protected]\", \"name\": \"Jimmy\" } ], \"bcc\": [ { \"email\": \"[email protected]\", \"name\": \"Helen\" } ], \"cc\": [ { \"email\": \"[email protected]\", \"name\": \"Ann\" } ], \"replyTo\": { \"email\": \"[email protected]\", \"name\": \"Alexandr K\" }, \"attachment\": [ { \"url\": \"https://images.herzindagi.info/image/2020/Jul/tigerss-day.jpg\", \"name\": \"myAttachment.jpg\" } ], \"htmlContent\": \"<!DOCTYPE html> <html> <body> <h1>Confirm you email</h1> <p>Please confirm your email address by clicking on the link below</p> </body> </html>\", \"subject\": \"Login Email confirmation\" }","private":true}},"wrap_error":true},"ACu":{"name":"Send SMTP Mail","method":"post","publish_as":"action","should_reinitialize":false,"body":"{\n \"sender\":{\"name\":\"<Sender_name>\",\"email\":\"<Sender_mail*>\"},\n \"to\":[\n {\"email\":\"<To_email*>\",\"name\":\"<To_name*>\"\n }
208],\n \"htmlContent\":\"<Message_html*>\",\n \"subject\":\"<Subject*>\"\n}","body_params":{"ACv":{"key":"Sender_name","value":"alex","private":true},"ACw":{"key":"Sender_mail*","value":"[email protected]","private":true,"doc":""},"ACx":{"key":"To_email*","value":"[email protected]","private":true,"doc":"User mail"},"ACy":{"key":"To_name*","value":"Axel","private":true},"ACz":{"key":"Message_html*","value":"<strong>sdf</strong>","private":true,"doc":"Message body (accepts html tags) NOTE! You cannot use double quotes (\"some text\")"},"ADA":{"key":"Subject*","value":"Email with html","private":true,"doc":"NOTE! You cannot use double quotes (\"some text\")"}},"url":"https://api.sendinblue.com/v3/smtp/email","initialized":true,"types":"{\"plugin_api.ACu\":{\"caption\":\"Send SMTP Mail\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.ACu","wrap_error":true},"ADK":{"0":"A","1":"D","2":"J","name":"Send SMTP Mail + Template (advanced)","method":"post","publish_as":"action","url":"https://api.sendinblue.com/v3/smtp/email","body":"<body>","initialized":true,"types":"{\"plugin_api.ADK\":{\"caption\":\"Send SMTP Mail + Template (advanced)\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.ADK","should_reinitialize":true,"body_params":{"ADI":{"key":"body","value":" {\"sender\":{\"email\":\"[email protected]\"},\"to\":[{\"email\":\"[email protected]\"}],\"subject\":\"Test Subject2\",\"replyTo\":{\"email\":\"[email protected]\"},\"params\":{\"user\":\"Alex K\",\"count\":\"Second\"},\"templateId\":2}","private":true}},"wrap_error":true},"ADL":{"name":"Get list of emails","method":"get","publish_as":"data","url":"https://api.sendinblue.com/v3/smtp/emails","should_reinitialize":true,"initialized":true,"headers":{"ADM":{"key":"Accept","value":"application/json","private":true,"visibility":"hidden"}},"params":{"ADN":{"key":"sort","value":"desc","private":true,"doc":"Sort the results in the ascending (asc) /descending (desc) order of record creation"},"ADO":{"key":"templateId","value":"","private":true,"optional":true,"doc":"Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email."},"ADP":{"key":"email","value":"","private":true,"optional":true,"doc":"Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent."},"ADQ":{"key":"messageId","value":"<[email protected]>","private":true,"optional":true,"doc":"Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent."},"ADR":{"key":"startDate","value":"","private":true,"optional":true,"doc":"Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month."},"ADS":{"key":"endDate","value":"","private":true,"optional":true,"doc":"Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month."}}
208,"types":"{\"plugin_api.ADL\":{\"caption\":\"Get list of email\",\"fields\":{\"_p_transactionalEmails\":{\"ret_value\":\"list.api.1520524904151x890914947846373400.plugin_api.ADL.transactionalEmails\",\"caption\":\"transactionalEmails\"}}},\"plugin_api.ADL.transactionalEmails\":{\"caption\":\"Get list of emails transactionalEmail\",\"fields\":{\"_p_email\":{\"ret_value\":\"text\",\"caption\":\"email\",\"sample_value\":\"\"},\"_p_subject\":{\"ret_value\":\"text\",\"caption\":\"subject\",\"sample_value\":\"\"},\"_p_messageId\":{\"ret_value\":\"text\",\"caption\":\"messageId\",\"sample_value\":\"\"},\"_p_uuid\":{\"ret_value\":\"text\",\"caption\":\"uuid\",\"sample_value\":\"\"},\"_p_date\":{\"ret_value\":\"date\",\"caption\":\"date\",\"sample_value\":\"\"},\"_p_templateId\":{\"ret_value\":\"number\",\"caption\":\"templateId\",\"sample_value\":\"\"},\"_p_from\":{\"ret_value\":\"text\",\"caption\":\"from\",\"sample_value\":\"\"},\"_p_tags\":{\"ret_value\":\"list.text\",\"caption\":\"tags\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.ADL"},"ADm":{"0":"A","1":"D","2":"l","name":"Send SMTP Mail + File","method":"post","publish_as":"action","url":"https://api.sendinblue.com/v3/smtp/email","body":"{ \n\t\"sender\": {\n\t\t\t\t\"name\": \"<sender_name>\",\n\t\t\t\t\"email\": \"<sender_email>\"\n\t\t\t},\n\t\"to\": [\n\t\t\t{\n\t\t\t\t\"email\": \"<recipient_email>\",\n\t\t\t\t\"name\": \"<recipient_name>\"\n\t\t\t}\n\t\t ],\n\t\"replyTo\": {\n\t\t\t\t\"email\": \"<reply_to>\",\n\t\t\t\t\"name\": \"<reply_to_name>\"\n\t \t\t\t},\n \"attachment\": [\n \t{\n \t\t\"url\": \"<attachment_url>\",\n \t\t\"name\": \"<attachment_name>\" \n \t}\n ],\n\t\"htmlContent\": \"<html_content>\",\n\t\"subject\": \"<subject>\"\n}","initialized":true,"types":"{\"plugin_api.ADm\":{\"caption\":\"Send SMTP Mail + File\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.ADm","should_reinitialize":false,"body_params":{"AEG":{"key":"sender_name","value":"Alexandr Kacinski","private":true},"AET":{"key":"sender_email","value":"[email protected]","private":true},"AEl":{"key":"recipient_email","value":"[email protected]","private":true},"AFC":{"key":"recipient_name","value":"Jimmy","private":true},"AFL":{"key":"reply_to","value":"[email protected]","private":true},"AFY":{"key":"reply_to_name","value":"Alexandr K","private":true},"AGG":{"key":"attachment_url","value":"https://images.herzindagi.info/image/2020/Jul/tigerss-day.jpg","private":true},"AGW":{"key":"attachment_name","value":"myAttachment.jpg","private":true,"doc":"name must contain extension (e.g. name.jpg)"},"AGX":{"key":"html_content","value":"<!DOCTYPE html> <html> <body> <h1>Confirm you email</h1> <p>Please confirm your email address by clicking on the link below</p> </body> </html>","private":true,"doc":"NOTE! You cannot use double quotes (e.g. \"some text\")"},"AGY":{"key":"subject","value":"Login Email confirmation","private":true,"doc":"NOTE! You cannot use double quotes (e.g. \"some text\")"}},"wrap_error":true},"AGa":{"0":"A","1":"G","2":"Z","name":"Send SMTP Mail + Template","method":"post","publish_as":"action","url":"https://api.sendinblue.com/v3/smtp/email","body":"{\n \"sender\":{\n\t\t\t\"email\":\"<sender_email>\"\n\t\t },\n \"to\":[\n\t\t{\n\t\t \"email\":\"<recipient_email>\"\n\t\t}\n\t ],\n \"subject\":\"<subject>\",\n \"replyTo\":{\n\t\t\t \"email\":\"<replyTo_email>\"\n\t\t\t},\n \"params\":{\n\t\t\t \"user\":\"<params_user>\",\n\t\t\t \"count\":\"<params_count>\"\n\t\t\t},\n \"templateId\":<templateId>\n}","initialized":true,"types":"{\"plugin_api.AGa\":{\"caption\":\"Send SMTP Mail + Template\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]}
208,\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.AGa","should_reinitialize":false,"body_params":{"AGm":{"key":"sender_email","value":"[email protected]","private":true},"AHB":{"key":"recipient_email","value":"[email protected]","private":true},"AHI":{"key":"subject","value":"Test Subject2","private":true},"AHV":{"key":"replyTo_email","value":"[email protected]","private":true},"AHg":{"key":"params_user","value":"Alex K","private":true},"AHs":{"key":"params_count","value":"Second","private":true},"AHt":{"key":"templateId","value":"2","private":true}},"wrap_error":true},"AHv":{"0":"A","1":"H","2":"u","name":"Send SMTP Mail (advanced)","method":"post","publish_as":"action","should_reinitialize":true,"body":"<body>","url":"https://api.sendinblue.com/v3/smtp/email","initialized":true,"types":"{\"plugin_api.AHu\":{\"caption\":\"Send SMTP Mail (advanced)\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.AHv","wrap_error":true,"body_params":{"AHz":{"key":"body","value":"{\"sender\":{\"name\":\"Alex\",\"email\":\"[email protected]\"},\"to\":[{\"email\":\"[email protected]\",\"name\":\"John\"}],\"htmlContent\":\"<html><head></head><body><p>Hello,</p>This is my first transactional email sent from Sendinblue.</p></body></html>\",\"subject\":\"Subject\"}","private":true}}},"AID":{"0":"A","1":"I","2":"C","name":"Send SMTP Mail (copy)","method":"post","publish_as":"action","should_reinitialize":false,"body":"{\n \"sender\":{\"name\":\"<Sender_name>\",\"email\":\"<Sender_mail*>\"},\n \"to\":[\n {\"email\":\"<To_email*>\",\"name\":\"<To_name*>\"\n }],\n \"htmlContent\":\"<Message_html*>\",\n \"subject\":\"<Subject*>\"\n}","body_params":{"ACv":{"key":"Sender_name","value":"alex","private":true},"ACw":{"key":"Sender_mail*","value":"[email protected]","private":true,"doc":""},"ACx":{"key":"To_email*","value":"[email protected]","private":true,"doc":"User mail"},"ACy":{"key":"To_name*","value":"Axel","private":true},"ACz":{"key":"Message_html*","value":"<span style='color: rgb(255, 153, 0)'>sdnvm,snmvls;dkflksngsd</span>","private":true,"doc":"Message body (accepts html tags) NOTE! You cannot use double quotes (\"some text\")"},"ADA":{"key":"Subject*","value":"Email with html","private":true,"doc":"NOTE! You cannot use double quotes (\"some text\")"}},"url":"https://api.sendinblue.com/v3/smtp/email","initialized":true,"types":"{\"plugin_api.AIC\":{\"caption\":\"Send SMTP Mail (copy)\",\"fields\":{\"_p_body.messageId\":{\"ret_value\":\"text\",\"caption\":\"body messageId\",\"sample_value\":\"\",\"path\":[\"body\",\"messageId\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}}}","ret_value":"api.1520524904151x890914947846373400.plugin_api.AID","wrap_error":true}}}}; 209window._bubble_page_load_data.plugins_size['1520524904151x890914947846373400'] = 18053; 210window.preloaded['plugin/third_party:1520524904151x890914947846373400:1.8.0'] = true; 211window.plugins["1553006094610x835866904531566600"] = {"human":"ZQ Fuzzy Search & Autocomplete","dependencies":{"use_jquery":true},"plugin_elements":{"AAC":{"display":"Search & Autocorrect","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Data Type","name":"app_data","rank":0,"editor":"custom_type"},"AAE":{"caption":"Data Source","name":"data_source","rank":1,"editor":"DynamicValue","is_list":true,"value":"custom_data_AAD"},"AAF":{"caption":"Field To Search 1","name":"search_field","rank":2,"editor":"custom_field_AAD"},"AAG":{"caption":"Field To Search 2","name":"search_field_2","rank":3,"editor":"custom_field_AAD","optional":true},"AAH":{"caption":"Field To Search 3","name":"search_field_3","rank":4,"editor":"custom_field_AAD","optional":true},"AAI":{"caption":"Field To Search 4","name":"search_field_4","rank":5,"editor":"custom_field_AAD","optional":true},"AAJ":{"caption":"Field To Search 5","name":"search_field_5","rank":6,"editor":"custom_field_AAD","optional":true},"AAK":{"caption":"Text To Match","name":"string_to_match","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AAL":{"caption":"OR Set Text to Match from an Input Box","name":"search_type","rank":8,"editor":"Checkbox","default_val":false},"AAM":{"caption":"Check for fast updates from an Input Box value. Make sure you set the Input Box ID value below. See documentation for more info.","name":"search_type_info","rank":9,"editor":"Label"},"AAN":{"caption":"Input Box ID","name":"input_box_id","rank":10,"editor":"StaticText","optional":true},"AAO":{"caption":"___ Options ___","name":"options","rank":11,"editor":"Label"},"AAP":{"caption":"Threshold","name":"threshold","rank":12,"editor":"StaticNumber","default_val":0.6},"AAQ":{"caption":"A threshold of 0.0 requires a perfect match (of both letters and location), a threshold of 1.0 would match anything.","name":"threshold_info","rank":13,"editor":"Label"},"AAR":{"caption":"Case Sensitive","name":"case_sensitive","rank":14,"editor":"Checkbox","default_val":false},"AAS":{"caption":"___ Advanced Options ___","name":"advanced_options","rank":15,"editor":"Label"},"AAV":{"caption":"Find All Matches","name":"find_all_matches","rank":16,"editor":"Checkbox","default_val":true},"AAW":{"caption":"Location","name":"location","rank":17,"editor":"StaticNumber","default_val":0},"AAX":{"caption":"Distance","name":"distance","rank":18,"editor":"StaticNumber","default_val":100},"AAZ":{"caption":"Exclude Terms Shorter Than","name":"exclude_under","rank":19,"editor":"StaticNumber","default_val":2}},"states":{"AAa":{"caption":"Matches","name":"match_array","value":"custom_data_AAD","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"},"is_list":true},"AAb":{"caption":"Match Scores","name":"match_scores_array","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"},"is_list":true},"AAc":{"caption":"Input Box's Value","name":"input_box_value","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"actions":{"AAd":{"caption":"Reset input","code":{"fn":"function(instance, properties, context) {\n\n\n if (instance.data.input_box_id) {\n \n // Reset the input box and the match arrays\n $(\"#\" + instance.data.input_box_id).val('');\n instance.publishState('match_array', null);\n instance.publishState('match_scores_array', null);\n instance.publishState('input_box_value', null);\n \n }\n\n\n}"}}},"code":{"initialize":{"fn":"function(instance, context) {\n\n\t//\n //fuzzybug\n\n instance.data.result = '';\n\n //function getResults() {\n instance.data.getResults = function getResults() {\n // Check that result exists and is not empty before attempting to set properties to avoid errors. Reset matched states to null when no matches found\n\n if (instance.data.result && instance.data.result.length) {\n var resultsArray = [];\n var scoresArray = [];\n for (i = 0; i < instance.data.result.length;
211 i++) {\n var resultThing = instance.data.data_source.get(0, instance.data.len + 1)[instance.data.result[i].item.id];\n resultsArray.push(resultThing);\n scoresArray.push(instance.data.result[i].score);\n }\n instance.publishState(\"match_array\", resultsArray)\n instance.publishState(\"match_scores_array\", scoresArray);\n\n } else {\n instance.publishState(\"match_array\", null);\n instance.publishState(\"match_scores_array\", null);\n }\n\n }\n // Bind input change handler to #SearchInput. Run getResults function whenever input changes.\n $(document).ready(function() {\n if (instance.data.input_box_id && instance.data.search_type) {\n\n $(\"#\" + instance.data.input_box_id).on(\"input\", null, null, function() {\n if (instance.data.dictionary && instance.data.options) {\n // Trim leading & trailing whitespace, then remove words shorter than exclude_under value\n var searchTerm = $(\"#\" + instance.data.input_box_id).val().trim();\n searchTerm = searchTerm.split(' ').filter(function(str) {\n //var word = str.match(/[\\wа-Ñ]+/ig);\n let regex = /[\\u0000-\\u007f\\u0080-\\u00ff\\u0100-\\u0180-\\u024f\\u017f\\u0400-\\u04ff\\u3040-\\u30ff\\u3400-\\u4dbf\\u4e00-\\u9fff\\uf900-\\ufa2d\\uff66-\\uff9f\\u3131-\\uD79D\\u0590-\\u05ff\\u0600â\\u06ff\\u10A0-\\u10ff\\u0530-\\u058f\\u0750-\\u07ff\\u08a0-\\u08ff\\ufa30-\\ufa6a\\ufa70-\\ufad9\\ufb50-\\ufdff\\ufe70-\\ufeff\\u10e60-\\u10e7f\\u1ec70-\\u1ecbf\\u1ed00-\\u1ed4f\\u1ee00-\\u1eeff\\u20000-\\u2a6d6\\u2f800-\\u2fa1d]+/\n var word = str.match(regex)\n return word && word[0].length >= instance.data.exclude_under;\n }).join(' ');\n \n var fuse = new Fuse(instance.data.dictionary, instance.data.options);\n instance.data.result = fuse.search(searchTerm);\n //getResults();\n instance.data.getResults();\n } else {\n console.log(\"Search & Autocorrect: Instance variables not declared\");\n }\n \n // Publish the input box's value to the input_box_value state\n instance.publishState('input_box_value', $(\"#\" + instance.data.input_box_id).val());\n });\n\n }\n\n });\n\n\n\n\n}","add_debugger":false},"update":{"fn":"function(instance, properties, context) {\n instance.data.data_source = properties.data_source;\n\n instance.data.loadFuzzy= function loadFuzzy(){\n // declare instance variables\n instance.data.string_to_match = properties.string_to_match;\n instance.data.dictionary = [];\n instance.data.input_box_id = properties.input_box_id;\n instance.data.exclude_under = properties.exclude_under;\n instance.data.search_type = properties.search_type;\n\n\n if (properties.data_source) {\n // var len = properties.data_source.length();\n var len = instance.data.data_source.length();\n instance.data.len = len;\n } else {\n console.log(\"Search & Autocorrect: Data source not defined\");\n }\n // keys array, for fuse.js options. Fuse will search in these keys, so this adds a different key for each Field To Search that has been set.\n var keys = [];\n if (properties.search_field) {\n keys.push(\"word1\");\n }\n if (properties.search_field_2) {\n keys.push(\"word2\");\n }\n if (properties.search_field_3) {\n keys.push(\"word3\");\n }\n if (properties.search_field_4) {\n keys.push(\"word4\");\n }\n if (properties.search_field_5) {\n keys.push(\"word5\");\n }\n // Get data source into value_pairs objects with id number and search terms. Add objects to dictionary array.\n\n instance.data.makearray = function makearray() {\n for (i = 0; i < len;
211 i++) {\n var current_object = instance.data.data_source.get(0, len)[i];\n var value_pairs = {\n id: i,\n word1: current_object.get(properties.search_field),\n word2: (properties.search_field_2) ? current_object.get(properties.search_field_2) : \"Empty\",\n word3: (properties.search_field_3) ? current_object.get(properties.search_field_3) : \"Empty\",\n word4: (properties.search_field_4) ? current_object.get(properties.search_field_4) : \"Empty\",\n word5: (properties.search_field_5) ? current_object.get(properties.search_field_5) : \"Empty\"\n };\n\n instance.data.dictionary.push(value_pairs);\n\n }\n\n }\n\n if (instance.data.data_source) {\n instance.data.makearray();\n }\n // Load fuse.js options\n instance.data.options = {\n shouldSort: true,\n includeScore: true,\n threshold: properties.threshold,\n isCaseSensitive: properties.case_sensitive,\n location: properties.location,\n distance: properties.distance,\n findAllMatches: properties.find_all_matches,\n keys: keys\n };\n\n\n\n\n // var result;\n\n // getResults function, same as in function initialize. Here it runs if the user has set a \"Text To Match\" value, on update.\n\n function getResults() {\n // Check that result exists and is not empty before attempting to set properties to avoid errors. Reset matched states to null when no matches found\n\n if (instance.data.result && instance.data.result.length) {\n\n var resultsArray = [];\n var scoresArray = [];\n\n for (i = 0; i < instance.data.result.length; i++) {\n var resultThing = instance.data.data_source.get(0, instance.data.len + 1)[instance.data.result[i].item.id];\n resultsArray.push(resultThing);\n scoresArray.push(instance.data.result[i].score);\n }\n instance.publishState(\"match_array\", resultsArray);\n instance.publishState(\"match_scores_array\", scoresArray);\n\n } else {\n instance.publishState(\"match_array\", null);\n instance.publishState(\"match_scores_array\", null);\n }\n\n }\n // Run getResults if string_to_match is set and the \"use #SearchInput\" checkbox is not checked\n\n if (!properties.search_type && properties.string_to_match) {\n // Trim leading & trailing whitespace, then remove words shorter than exclude_under value\n var searchTerm = properties.string_to_match.trim();\n searchTerm = searchTerm.split(' ').filter(function(str) {\n let regex = /[\\u0000-\\u007f\\u0080-\\u00ff\\u0100-\\u0180-\\u024f\\u017f\\u0400-\\u04ff\\u3040-\\u30ff\\u3400-\\u4dbf\\u4e00-\\u9fff\\uf900-\\ufa2d\\uff66-\\uff9f\\u3131-\\uD79D\\u0590-\\u05ff\\u0600â\\u06ff\\u10A0-\\u10ff\\u0530-\\u058f\\u0750-\\u07ff\\u08a0-\\u08ff\\ufa30-\\ufa6a\\ufa70-\\ufad9\\ufb50-\\ufdff\\ufe70-\\ufeff\\u10e60-\\u10e7f\\u1ec70-\\u1ecbf\\u1ed00-\\u1ed4f\\u1ee00-\\u1eeff\\u20000-\\u2a6d6\\u2f800-\\u2fa1d]+/\n var word = str.match(regex);\n return word && word[0].length >= instance.data.exclude_under;\n }).join(' ');\n\n var fuse = new Fuse(instance.data.dictionary, instance.data.options);\n instance.data.result = fuse.search(searchTerm);\n getResults();\n\n } else if (!properties.search_type && !properties.string_to_match) {\n instance.publishState(\"match_array\", null);\n instance.publishState(\"match_scores_array\", null);\n }\n\n }\n\tinstance.data.loadFuzzy();\n}","add_debugger":false},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}}; 212window._bubble_page_load_data.plugins_size['1553006094610x835866904531566600'] = 11964; 213window.preloaded['plugin/third_party:1553006094610x835866904531566600:1.12.0'] = true; 214window.plugins["1580238841425x582072028873097200"] = {"human":"Rich Text Editor","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAC":{"display":"Rich Text Input","property_applications":{"Backgroun
214d":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
214C13.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) =>
214 {\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_invali
214d - 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.al
214ign || '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) =>
214 {\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}
214[/${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 space
214s\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
214/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\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 rteContainer.css('border', 'none')\n\n const toolbarElement = rteContainer.siblings('.ql-toolbar')\n d.elements.toolbarElement = toolbarElement\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) =>
214 {\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
214change, 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 // Set a max height based on the toolbar\n d.elements.rteContainer.css({\n 'max-height': 'calc(100% - ' + d.elements.toolbarElement.outerHeight() + 'px)'\n })\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 }\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
214initializing 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\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328422624x814410333288381700/basic_styles.png\",\n \"basic_text_alignment\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328435036x176083124177772740/basic_align.png\",\n \"font\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328456820x636678729904445200/font.png\",\n \"size\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328471900x601277843539461200/size.png\",\n \"text_styles\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328500984x237729254917328450/text_styles.png\",\n \"text_color\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578526040133x618924377176704400/text_color.png\",\n \"sup_sub\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328553500x547904523073018600/sup_sub.png\",\n \"titles_quote_code\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328573740x193466729817275650/titles_quote_code.png\",\n \"media\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328690820x732983396842500400/media.png\",\n \"remove_style\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1578328704608x655581645962726700/remove_style.png\",\n \"list\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1580145133799x948312827511517800/list.png\",\n \"indent_align\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1580145152691x503666194763457100/indent_align.png\",\n \"all_titles\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1585641019238x597655811909080000/all%20titles.png\",\n \"code_quotes\": \"//4e62858311d200006abc31e15df5a678.cdn.bubble.io/f1585641079062x980676637005123800/code%20quotes.png\",\n \"medium_format\": \"//4e62858311d200006abc31e15df5a678.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}"}},"platform_type":"web"}}}; 215window._bubble_page_load_data.plugins_size['1580238841425x582072028873097200'] = 65038; 216window.preloaded['plugin/third_party:1580238841425x582072028873097200:2.0.3'] = true; 217window.plugins["1582601241392x653181519983018000"] = {"human":"1T - CSV Creator","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"human":"CSV Creator","calls":{"ABu":{"name":"New File from Base64","method":"post","publish_as":"action","should_reinitialize":true,"url":"[websiteHomeUrl]fileupload","url_params":{"ABv":{"key":"websiteHomeUrl","value":"","private":true,"doc":"Add website home url here"}},"params":{"ABw":{"key":"name","value":"","private":true,"doc":"File name of the created file","optional":false},"ABx":{"key":"contents","value":"","private":true,"doc":"This should be the 'base64 Text' returned from the plugin action. "}},"initialized":true,"data_type":"text","no_types":true},"ACS":{"0":"A","1":"C","2":"R","name":"New Private File from Base64 ","method":"post","publish_as":"action","should_reinitialize":true,"url":"[websiteHomeUrl]fileupload","url_params":{"ABv":{"key":"websiteHomeUrl","value":"","private":true,"doc":"Add website home url here"}},"params":{"ABw":{"key":"name","value":"","private":true,"doc":"File name of the created file","optional":false},"ABx":{"key":"contents","value":"","private":true,"doc":"This should be the 'base64 Text' returned from the plugin action. ","querystring":false},"ACT":{"key":"private","value":"FALSE","private":true,"optional":false,"doc":"Set to FALSE for non private file. Set to TRUE for private file. If set to TRUE the 'attach_to' parameter must include the unique Id of the thing to which you would like to attach the file. "},"ACU":{"key":"attach_to","value":"","private":true,"optional":true,"doc":"This parameter is required 'private' is set to TRUE."}}
217,"initialized":true,"data_type":"JSON","wrap_error":true,"types":"{\"plugin_api.ACS\":{\"caption\":\"New Private File from Base64 \",\"fields\":{\"_p_body\":{\"ret_value\":\"text\",\"caption\":\"body\",\"sample_value\":\"https://csvcreator.bubbleapps.io/version-test/fileupload/f1632416778434x716174107040414200/name.csv\"},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":200,\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"OK\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\\\"\\\\\\\"https://csvcreator.bubbleapps.io/version-test/fileupload/f1632416778434x716174107040414200/name.csv\\\\\\\"\\\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":false}}}}","ret_value":"api.1582601241392x653181519983018000.plugin_api.ACS"}}},"plugin_elements":{"ABg":{"display":"CSV Creator","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":false,"states":{"ABr":{"caption":"created File","name":"created_file","value":"file","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABi":{"caption":"has created your file","name":"has_created_your_file"}},"actions":{"ABh":{"caption":"Send JSON to","code":{"fn":"function(instance,properties,context){let delimiter=\"tab\"===properties.delimiter?\"\\t\":properties.delimiter,csvData,content=JSON.parse(`[${properties.source_JSON.replace(/(\\r\\n|\\n|\\r)/gm,\"\")}]`),filename=properties.file_name+\".csv\",mimetype=\"text/csv\";csvData=Papa.unparse(content,{delimiter:delimiter});var blob=new Blob([csvData],{type:\"text/csv\"});function openSaveFileDialog(data,filename,mimetype){if(data)if(navigator.msSaveBlob)navigator.msSaveBlob(blob,filename);else{var lnk=document.createElement(\"a\"),url=window.URL,objectURL;mimetype&&(lnk.type=mimetype),lnk.download=filename||\"untitled\",lnk.href=objectURL=url.createObjectURL(blob),lnk.dispatchEvent(new MouseEvent(\"click\")),setTimeout(url.revokeObjectURL.bind(url,objectURL))}}function createFile(){var reader=new FileReader;reader.readAsDataURL(blob),reader.onloadend=function(){var base64String=reader.result,base64Substring=base64String.substr(base64String.indexOf(\",\")+1);context.uploadContent(filename,base64Substring,uploadFile)}}function uploadFile(err,url){instance.publishState(\"created_file\",url),instance.triggerEvent(\"has_created_your_file\"),err&&console.log(\"error \"+err)}createFile(),properties.save_file&&openSaveFileDialog(csvData,filename,\"text/csv\")}"},"fields":{"ABj":{"caption":"<span style=\"color: white; margin-bottom: 20px;\"><b>FILE NAME</b></span>","name":"file_name","rank":0,"editor":"DynamicValue","value":"text","default_val":"csv_creator"},"ABk":{"caption":"This action makes use of the operator :format as text on a list. You will need to format the list content as a JSON object and use a ',' as the delimiter. ","name":"info","rank":4,"editor":"Label"},"ABl":{"caption":"<span style=\"color: white; margin-bottom: 20px;\"><b>JSON CONTENT</span>","name":"source_JSON","rank":3,"editor":"DynamicValue","value":"text","default_val":"{\"Name\": \"Owen Wilson\", \"Date\": \"01-22-21\" }"},"ABn":{"caption":"Here you can set the delimiter for your exported file. By default it will use a comma as the delimiter but you can set this to anything you like. ","name":"here_you_can_set_the_delimiter_for_your_exported_file._by_default_it_will_use_a_comma_as_the_delimiter_but_you_can_set_this_to_anything_you_like._","rank":6,"editor":"Label"},"ABo":{"caption":"To create a tab delimiter, set this value to âtabâ (donât include the quotes)","name":"to_create_a_tab_delimiter,_set_this_value_to_âtabâ_(donât_include_the_quotes)","rank":7,"editor":"Label"},"ABp":{"caption":"Note, using a space, âµ, \", or an empty delimiter will result in a comma being substituted in the exported file.","name":"note,_using_a_space,_âµ,_\",_or_an_empty_delimiter_will_result_in_a_comma_being_substituted_in_the_exported_file.","rank":8,"editor":"Label"},"ABq":{"caption":"<span style=\"color: white; margin-bottom: 20px;\"><b>FILE DELIMITER</span>","name":"delimiter","rank":5,"editor":"DynamicValue","value":"text","default_val":","},"ABs":{"caption":"<span style=\"color: white; margin-bottom: 20px;\"><b>ALLOW USER TO SAVE THE FILE</b></span>","name":"save_file","rank":1,"editor":"Checkbox","default_val":true},"ACP":{"caption":"If this box is unchecked your user will not be given the option to save the file directly to their computer","name":"user_save_file_info","rank":2,"editor":"Label"},"ACQ":{"caption":"With any CSV that contains user generated content, there is the risk of the user entering data that can be run as a function when the CSV is imported into a spreadsheet tool (ie, Excel, Numbers, etc) You should take your own precautions if this vulnerability is a concern.","name":"csv_injection_info","rank":9,"editor":"Label"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n \n \n $(instance.canvas).html('<div style=\"background: #266150; padding: 2px; text-align: center; color: white;\"><span>CSV Creator</span></div>')\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"ABC":{"display":"Create a Dynamic CSV File","type":"client_side","fields":{"AAN":{"caption":"â³ Data","name":"col1","rank":6,"editor":"DynamicValue","value":"_any_thing","default_val":"","optional":false,"is_list":true},"AAP":{"caption":"COLUMN 1 REQUIRED! Leaving Column 1 empty will make things break a lot. Like, a WHOLE lot! Ok, now that that is out of the way. ","name":"info_1","rank":2,"editor":"Label"},"AAQ":{"caption":"File Name","name":"file_name","rank":1,"editor":"DynamicValue","value":"text","default_val":"data_export","optional":true},"AAT":{"caption":"â³ Data","name":"col2","rank":8,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAU":{"caption":"â³ Data","name":"col3","rank":10,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAV":{"caption":"â³ Data","name":"col4","rank":12,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAW":{"caption":"Header 2","name":"h_02","rank":7,"editor":"DynamicValue","optional":true,"value":"text"},"AAX":{"caption":"Header 3","name":"h_03","rank":9,"editor":"DynamicValue","optional":true,"value":"text"},"AAY":{"caption":"Header 4","name":"h_04","rank":11,"editor":"DynamicValue","optional":true,"value":"text"}
217,"AAZ":{"caption":"Header 5","name":"h_05","rank":13,"editor":"DynamicValue","optional":true,"value":"text"},"AAa":{"caption":"â³ Data","name":"col5","rank":14,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAb":{"caption":"â³ Data","name":"col6","rank":16,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAc":{"caption":"Header 6","name":"h_06","rank":15,"editor":"DynamicValue","optional":true,"value":"text"},"AAd":{"caption":"â³ Data","name":"col7","rank":18,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAe":{"caption":"Header 7","name":"h_07","rank":17,"editor":"DynamicValue","optional":true,"value":"text"},"AAf":{"caption":"â³ Data","name":"col8","rank":20,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAg":{"caption":"Header 8","name":"h_08","rank":19,"editor":"DynamicValue","optional":true,"value":"text"},"AAh":{"caption":"â³ Data","name":"col9","rank":22,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAi":{"caption":"Header 9","name":"h_09","rank":21,"editor":"DynamicValue","optional":true,"value":"text"},"AAj":{"caption":"â³ Data","name":"col10","rank":24,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAk":{"caption":"Header 10","name":"h_10","rank":23,"editor":"DynamicValue","optional":true,"value":"text"},"AAl":{"caption":"â³ Data","name":"col11","rank":26,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAm":{"caption":"Header 11","name":"h_11","rank":25,"editor":"DynamicValue","optional":true,"value":"text"},"AAn":{"caption":"â³ Data","name":"col12","rank":28,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAo":{"caption":"Header 12","name":"h_12","rank":27,"editor":"DynamicValue","optional":true,"value":"text"},"AAp":{"caption":"â³ Data","name":"col13","rank":30,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAq":{"caption":"Header 13","name":"h_13","rank":29,"editor":"DynamicValue","optional":true,"value":"text"},"AAr":{"caption":"â³ Data","name":"col14","rank":32,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAs":{"caption":"Header 14","name":"h_14","rank":31,"editor":"DynamicValue","optional":true,"value":"text"},"AAt":{"caption":"â³ Data","name":"col15","rank":34,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"AAu":{"caption":"Header 15","name":"h_15","rank":33,"editor":"DynamicValue","optional":true,"value":"text"},"AAz":{"caption":"You need to do a search for the data you want to export OR you can reference a repeating group. The big mambajamba is that you use the same list (be it by search or RG) in every column input for an accurate CSV to be exported. ","name":"info_2","rank":3,"editor":"Label"},"ABA":{"caption":"Enter the file name you would like to use. It's not necessary though so totally up to you. Your users will typically get a save dialog box when the csv is done downloading as well.","name":"file_info","rank":0,"editor":"Label"},"ACY":{"caption":"Header 1","name":"h_01","rank":5,"editor":"DynamicValue","value":"text","default_val":"Column 1"},"ACZ":{"caption":"Header 16","name":"h_16","rank":35,"editor":"DynamicValue","optional":true,"value":"text"},"ACa":{"caption":"â³ Data","name":"col16","rank":36,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACb":{"caption":"Header 17","name":"h_17","rank":37,"editor":"DynamicValue","optional":true,"value":"text"},"ACc":{"caption":"â³ Data","name":"col17","rank":38,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACd":{"caption":"Header 18","name":"h_18","rank":39,"editor":"DynamicValue","optional":true,"value":"text"},"ACe":{"caption":"â³ Data","name":"col18","rank":40,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACf":{"caption":"Header 19","name":"h_19","rank":41,"editor":"DynamicValue","optional":true,"value":"text"},"ACg":{"caption":"â³ Data","name":"col19","rank":42,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACh":{"caption":"Header 20","name":"h_20","rank":43,"editor":"DynamicValue","optional":true,"value":"text"},"ACi":{"caption":"â³ Data","name":"col20","rank":44,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACj":{"caption":"Header 21","name":"h_21","rank":45,"editor":"DynamicValue","optional":true,"value":"text"},"ACk":{"caption":"â³ Data","name":"col21","rank":46,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACl":{"caption":"Header 22","name":"h_22","rank":47,"editor":"DynamicValue","optional":true,"value":"text"},"ACm":{"caption":"â³ Data","name":"col22","rank":48,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACn":{"caption":"Header 23","name":"h_23","rank":49,"editor":"DynamicValue","optional":true,"value":"text"},"ACo":{"caption":"â³ Data","name":"col23","rank":50,"editor":"DynamicValue","optional":true,"value":"_any_thing","is_list":true},"ACp":{"caption":"Header 24","name":"h_24","rank":51,"editor":"DynamicValue","optional":true,"value":"text"},"ACq":{"caption":"â³ Data","name":"col24","rank":52,"editor":"DynamicValue","optional":true,"value":"_any_thing","is_list":true},"ACr":{"caption":"Header 25","name":"h_25","rank":53,"editor":"DynamicValue","optional":true,"value":"text"},"ACs":{"caption":"â³ Data","name":"col25","rank":54,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true},"ACt":{"caption":"The header input will add a header to the top of each column in your CSV. You can use this as a switch for your data as well. If the header field is empty that column will be ignored even if you have data selected in the corresponding data field.","name":"info_4","rank":4,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){console.log(\"Creating a CSV with the awesome
217CSV Creator!\");let csvFileName=properties.file_name+\".csv\",csvFile,length=properties.col1.length(),columns=[],headers=[],lineArray=[],csvArray=[];const processList=function(list,length){return null!=list&&list.hasOwnProperty(\"get\")?list.get(0,length):[list]};columns.push(processList(properties.col1,length)),headers.push(properties.h_01),null!=properties.h_02&&columns.push(processList(properties.col2,length))&&headers.push(properties.h_02),null!=properties.h_03&&columns.push(processList(properties.col3,length))&&headers.push(properties.h_03),null!=properties.h_04&&columns.push(processList(properties.col4,length))&&headers.push(properties.h_04),null!=properties.h_05&&columns.push(processList(properties.col5,length))&&headers.push(properties.h_05),null!=properties.h_06&&columns.push(processList(properties.col6,length))&&headers.push(properties.h_06),null!=properties.h_07&&columns.push(processList(properties.col7,length))&&headers.push(properties.h_07),null!=properties.h_08&&columns.push(processList(properties.col8,length))&&headers.push(properties.h_08),null!=properties.h_09&&columns.push(processList(properties.col9,length))&&headers.push(properties.h_09),null!=properties.h_10&&columns.push(processList(properties.col10,length))&&headers.push(properties.h_10),null!=properties.h_11&&columns.push(processList(properties.col11,length))&&headers.push(properties.h_11),null!=properties.h_12&&columns.push(processList(properties.col12,length))&&headers.push(properties.h_12),null!=properties.h_13&&columns.push(processList(properties.col13,length))&&headers.push(properties.h_13),null!=properties.h_14&&columns.push(processList(properties.col14,length))&&headers.push(properties.h_14),null!=properties.h_15&&columns.push(processList(properties.col15,length))&&headers.push(properties.h_15),null!=properties.h_16&&columns.push(processList(properties.col16,length))&&headers.push(properties.h_16),null!=properties.h_17&&columns.push(processList(properties.col17,length))&&headers.push(properties.h_17),null!=properties.h_18&&columns.push(processList(properties.col18,length))&&headers.push(properties.h_18),null!=properties.h_19&&columns.push(processList(properties.col19,length))&&headers.push(properties.h_19),null!=properties.h_20&&columns.push(processList(properties.col20,length))&&headers.push(properties.h_20),null!=properties.h_21&&columns.push(processList(properties.col21,length))&&headers.push(properties.h_21),null!=properties.h_22&&columns.push(processList(properties.col22,length))&&headers.push(properties.h_22),null!=properties.h_23&&columns.push(processList(properties.col23,length))&&headers.push(properties.h_23),null!=properties.h_24&&columns.push(processList(properties.col24,length))&&headers.push(properties.h_24),null!=properties.h_25&&columns.push(processList(properties.col25,length))&&headers.push(properties.h_25);for(var i=0;i<columns.length;i++)for(var that=columns[i],z=0;z<length;z++)null!=that[z]&&that[z].hasOwnProperty(\"replace\")?that[z]=that[z].replace(/,/g,\"\"):that[z];for(var i=0;i<length;i++){for(var z=0;z<columns.length;z++)lineArray.push(columns[z][i]);csvArray.push(lineArray),lineArray=[]}function openSaveFileDialog(data,filename,mimetype){if(data){var blob=data.constructor!==Blob?new Blob([data],{type:mimetype||\"application/octet-stream\"}):data;if(navigator.msSaveBlob)navigator.msSaveBlob(blob,filename);else{var lnk=document.createElement(\"a\"),url=window.URL,objectURL;mimetype&&(lnk.type=mimetype),lnk.download=filename||\"untitled\",lnk.href=objectURL=url.createObjectURL(blob),lnk.dispatchEvent(new MouseEvent(\"click\")),setTimeout(url.revokeObjectURL.bind(url,objectURL))}}}csvFile=Papa.unparse({fields:headers,data:csvArray}),openSaveFileDialog(csvFile,csvFileName,\"text/csv\")}","add_debugger":false}}},"ABH":{"display":"Create CSV from JSON","type":"client_side","fields":{"ABG":{"caption":"JSON CONTENT","name":"source_JSON","rank":1,"editor":"DynamicValue","value":"text","is_list":false},"ABI":{"caption":"FILE NAME","name":"file_name","rank":0,"editor":"DynamicValue","value":"text"},"ABJ":{"caption":"This action makes use of the operator :format as text on a list. You will need to format the list content as a JSON object and use a ',' as the delimiter. ","name":"info","rank":2,"editor":"Label"},"ABK":{"caption":"FILE DELIMITER","name":"delimiter","rank":4,"editor":"DynamicValue","value":"text","default_val":","},"ABM":{"caption":"Here you can set the delimiter for your exported file. By default it will use a comma as the delimiter but you can set this to anything you like. ","name":"here_you_can_set_the_delimiter_for_your_exported_file._by_default_it_will_use_a_comma_as_the_delimiter_but_you_can_set_this_to_anything_you_like.___to_create_a_tab_delimiter,_set_this_value_to_âtabâ_(donât_include_the_quotes)","rank":5,"editor":"Label"},"ABN":{"caption":"To create a tab delimiter, set this value to âtabâ (donât include the quotes)","name":"to_create_a_tab_delimiter,_set_this_value_to_âtabâ_(donât_include_the_quotes)","rank":6,"editor":"Label"},"ABO":{"caption":"Note, using a space, âµ, \", or an empty delimiter will result in a comma being substituted in the exported file.","name":"note,_using_a_space,_âµ,_\",_or_an_empty_delimiter_will_result_in_a_comma_being_substituted_in_the_exported_file.","rank":7,"editor":"Label"},"ACN":{"caption":"With any CSV that contains user generated content, there is the risk of the user entering data that can be run as a function when the CSV is imported into a spreadsheet tool (ie, Excel, Numbers, LibreOffice, etc) You should take your own precautions if this vulnerability is a concern.","name":"csv_injection_info","rank":8,"editor":"Label"},"ACV":{"caption":"Enclose in quotes","name":"quotes","rank":3,"editor":"Checkbox","default_val":false}},"code":{"client":{"fn":"function(properties,context){let delimiter=\"tab\"===properties.delimiter?\"\\t\":properties.delimiter,csvFile,content=JSON.parse(`[${properties.source_JSON.replace(/(\\r\\n|\\n|\\r)/gm,\"\")}]`),filename=properties.file_name+\".csv\",mimetype=\"text/csv\";function openSaveFileDialog(data,filename,mimetype){if(data){var blob=data.constructor!==Blob?new Blob([data],{type:mimetype||\"application/octet-stream\"}):data;if(navigator.msSaveBlob)navigator.msSaveBlob(blob,filename);else{var lnk=document.createElement(\"a\"),url=window.URL,objectURL;mimetype&&(lnk.type=mimetype),lnk.download=filename||\"untitled\",lnk.href=objectURL=url.createObjectURL(blob),lnk.dispatchEvent(new MouseEvent(\"click\")),setTimeout(url.revokeObjectURL.bind(url,objectURL))}}}function uploadCallback(err,url){url?alert(url):alert(err)}csvFile=Papa.unparse(content,{delimiter:delimiter,quotes:properties.quotes}),openSaveFileDialog(csvFile,filename,mimetype)}"}}},"ACG":{"display":"Create CSV from JSON (SSA)","type":"server_side","return_value":{"ACH":{"caption":"base64 Text","name":"base64_text","rank":0,"value":"text"},"ACX":{"caption":"Error message","name":"error_message","rank":1,"value":"text"},"ACY":{"caption":"Returned an error","name":"returned_an_error","rank":2,"value":"boolean"}},"fields":{"ABy":{"caption":"JSON CONTENT","name":"source_JSON","rank":0,"editor":"DynamicValue","value":"text","is_list":false},"ACA":{"caption":"This action makes use of the operator :format as text on a list. You will need to format the list content as a JSON object and use a ',' as the delimiter. ","name":"info","rank":1,"editor":"Label"},"ACB":{"caption":"FILE DELIMITER","name":"delimiter","rank":3,"editor":"DynamicValue","value":"text","default_val":","},"ACD":{"caption":"Here you can set the delimiter for your exported file. By default it will use a comma as the delimiter but you can set this to anything you like. ","name":"here_you_can_set_the_delimiter_for_your_exported_file._by_default_it_will_use_a_comma_as_the_delimiter_but_you_can_set_this_to_anything_you_like.___to_create_a_tab_delimiter,_set_this_value_to_âtabâ_(donât_include_the_quotes)","rank":4,"editor":"Label"},"ACE":{"caption":"To create a tab delimiter, set this value to âtabâ (donât include the quotes)","name":"to_create_a_tab_delimiter,_set_this_value_to_âtabâ_(donât_include_the_quotes)","rank":5,"editor":"Label"},"ACF":{"caption":"Note, using a space, âµ, \", or an empty delimiter will result in a comma being substituted in the exported file.","name":"note,_using_a_space,_âµ,_\",_or_an_empty_delimiter_will_result_in_a_comma_being_substituted_in_the_exported_file.","rank":6,"editor":"Label"},"ACL":{"caption":"SCAN FOR CSV INJECTION ðððð","name":"scan_for_csv_injection","rank":7,"editor":"Checkbox","default_val":false},"ACO":{"caption":"With any CSV that contains user generated content, there is the risk of the user entering data that can be run as a function when the CSV is imported into a spreadsheet tool (ie, Excel, Numbers, etc) If this box is checked we will scan for known characters that can be used to trigger spreadsheet functions and prepend them with a single quote to ensure they are read as a text value only. Please note, this is not a guaranteed protection against any possible injection and you should take your own precautions as well if this vulnerability is a concern.","name":"csv_injection_info","rank":8,"editor":"Label"},"ACZ":{"caption":"Enclose in quotes","name":"quotes","rank":2,"editor":"Checkbox","default_val":false}}}}}; 218window._bubble_page_load_data.plugins_size['1582601241392x653181519983018000'] = 23772; 219window.preloaded['plugin/third_party:1582601241392x653181519983018000:3.7.0'] = true; 220window.plugins["1602431280308x575669970275401700"] = {"human":"Open URL in custom Window","dependencies":{"use_jquery":true,"plugin_api_version":1},"plugin_actions":{"AAC":{"display":"Open Window","type":"client_side","fields":{"AAD":{"caption":"URL","name":"url","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAE":{"caption":"OR","name":"info","rank":1,"editor":"Label"},"AAF":{"caption":"HTML Code","name":"html_code","rank":2,"editor":"DynamicValue","optional":true,"value":"text"},"AAG":{"caption":"Open in current window","name":"current_window","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AAH":{"caption":"---- Window size, leave all fields empty if you want it full size ----","name":"info_size","rank":4,"editor":"Label"},"AAI":{"caption":"Width","name":"width","rank":5,"editor":"DynamicValue","value":"number","optional":true,"default_val":400},"AAJ":{"caption":"Height","name":"height","rank":6,"editor":"DynamicValue","value":"number","optional":true,"default_val":500},"AAK":{"caption":"Top","name":"top","rank":7,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"AAL":{"caption":"Left","name":"left","rank":8,"editor":"DynamicValue","value":"number","optional":true,"default_val":0}
220,"AAO":{"caption":"Center of the screen","name":"center","rank":9,"editor":"Checkbox","value":"boolean","default_val":false}},"code":{"client":{"fn":"function(properties, context) {\n\tconst openIn = properties.current_window ? \"_self\" : \"_blank\";\n\tconst w = properties.width ? `width=${properties.width },` : '';\n const h = properties.h ? `height=${properties.height}` : properties.width ? `height=${properties.width}` : '';//set same as width if height is not defined\n let top = properties.top ? `top=${properties.top},` : '';\n let left = properties.left ? `left=${properties.left},` : '';\n const url = properties.url ? properties.url : '';\n if(properties.center){\n top = `top=${(window.outerHeight - properties.height) / 2}`;\n left = `left=${(window.outerWidth - properties.width) / 2}`;\n }\n\n window.openWindowPlugin = window.open(url, openIn, `${top} ${left} ${w} ${h}`); \n if(properties.html_code){\n window.openWindowPlugin.document.write(properties.html_code);\n }\n\n\n}"}}},"AAM":{"display":"Close Window","type":"client_side","fields":{"AAN":{"caption":"Will close newly opened window","name":"info","rank":0,"editor":"Label"}},"code":{"client":{"fn":"function(properties, context) {\n\n\n if(window.openWindowPlugin) window.openWindowPlugin.close();\n window.openWindowPlugin = null;\n\n\n}"}}}}}; 221window._bubble_page_load_data.plugins_size['1602431280308x575669970275401700'] = 2590; 222window.preloaded['plugin/third_party:1602431280308x575669970275401700:1.3.0'] = true; 223window.plugins["1622230862970x241206977446543360"] = {"human":"Google Charts","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAE":{"display":"Google Charts","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"BoxShadow":true,"Background":true,"Font":false,"Padding":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAC":{"caption":"String Value","name":"data","rank":1,"editor":"DynamicValue","value":"text","is_list":false},"AAD":{"caption":"Value (Number)","name":"numbers","rank":2,"editor":"DynamicValue","value":"text"},"AAH":{"caption":"Chart Type","name":"type","rank":0,"editor":"Dropdown","default_val":"Donut"},"AAI":{"caption":"Title","name":"title","rank":5,"editor":"DynamicValue","value":"text","default_val":"My Chart","optional":true},"AAJ":{"caption":"pieHole","name":"pieHole","rank":9,"editor":"DynamicValue","value":"number","default_val":0.4,"optional":true},"AAK":{"caption":"is3D","name":"is3D","rank":8,"editor":"Checkbox","default_val":true},"AAL":{"caption":"SliceText","name":"sliceText","rank":13,"editor":"Dropdown","default_val":"label","optional":true},"AAM":{"caption":"Legend Position","name":"legend","rank":12,"editor":"Dropdown","default_val":"left","optional":true},"AAN":{"caption":"Slice Text Font Size","name":"slicefontsize","rank":14,"editor":"DynamicValue","value":"number","default_val":12,"optional":true},"AAP":{"caption":"Bar,Lignes,Columns Color","name":"barcolors","rank":10,"editor":"DynamicValue","value":"text","optional":true},"AAQ":{"caption":"Slice Text Color","name":"slicetextcolor","rank":15,"editor":"Color","value":"text","default_val":"rgba(255, 255, 255, 1)","optional":true},"AAR":{"caption":"Legend Color","name":"legendcolor","rank":16,"editor":"Color","value":"text","default_val":"rgba(51, 51, 51, 1)","optional":true},"AAS":{"caption":"Legend Font Size","name":"legendfontsize","rank":17,"editor":"DynamicValue","value":"number","default_val":14,"optional":true},"AAT":{"caption":"Key Google Maps","name":"apikeymaps","rank":31,"editor":"DynamicValue","value":"text","optional":true},"AAW":{"caption":"Format AxisH and AxisV","name":"format","rank":18,"editor":"Dropdown","value":"text","optional":true,"default_val":"none"},"AAX":{"caption":"Label for String","name":"string","rank":3,"editor":"DynamicValue","value":"text"},"AAY":{"caption":"Label for Values","name":"values","rank":4,"editor":"DynamicValue","value":"text"},"AAZ":{"caption":"Custom Language","name":"customlanguage","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AAa":{"caption":"Mode Mapas","name":"modemaps","rank":32,"editor":"Dropdown","default_val":"markers","optional":true},"AAb":{"caption":"Region","name":"region","rank":33,"editor":"DynamicValue","value":"text","default_val":"BR","optional":true},"AAd":{"caption":"Bold Title","name":"bold","rank":6,"editor":"Checkbox","default_val":true},"AAg":{"caption":"Horizontal Grid Colors","name":"gridcolorh","rank":19,"editor":"Color","default_val":"rgba(199, 199, 199, 1)","optional":true},"AAh":{"caption":"Vertical Grid Colors","name":"gridcolorv","rank":20,"editor":"Color","default_val":"rgba(199, 199, 199, 1)","optional":true},"AAi":{"caption":"Vertical Text Position","name":"textpositionv","rank":21,"editor":"Dropdown","default_val":"out","in_style":true},"AAj":{"caption":"Horizontal Text Position","name":"textpositionh","rank":22,"editor":"Dropdown","default_val":"out","in_style":true},"AAk":{"caption":"PointShape","name":"pointshape","rank":23,"editor":"Dropdown","default_val":"circle","in_style":true},"AAn":{"caption":"PointSize","name":"pointsize","rank":24,"editor":"DynamicValue","value":"number","default_val":10,"optional":true},"AAo":{"caption":"Line Width","name":"linewidth","rank":25,"editor":"DynamicValue","value":"number","optional":true,"default_val":5},"AAp":{"caption":"Orientation ","name":"orientation","rank":11,"editor":"Dropdown","default_val":"vertical","optional":true}
223,"AAq":{"caption":"Width Bar (Groupe)","name":"groupwidth","rank":26,"editor":"DynamicValue","value":"text","default_val":"40","optional":true},"AAr":{"caption":"Text Color Tooltip","name":"tooltipcolor","rank":27,"editor":"Color","default_val":"rgba(51, 51, 51, 1)"},"AAs":{"caption":"Font Size Tooltip","name":"tooltipfontsize","rank":28,"editor":"DynamicValue","value":"number","default_val":12},"AAt":{"caption":"Bold Tooltip","name":"tooltipbold","rank":29,"editor":"Checkbox","default_val":true},"AAu":{"caption":"Italic Tooltip","name":"tooltipitalic","rank":30,"editor":"Checkbox","default_val":false},"AAy":{"caption":"Map Color","name":"mapcolor","rank":34,"editor":"Color","default_val":"rgba(7, 122, 122, 1)","optional":false}},"states":{"AAw":{"caption":"Data String ","name":"data_clicked","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"AAx":{"caption":"Data Clicked","name":"clicked"}},"code":{"preview":{"fn":"function(instance, properties) {\nvar id = \"preview\"+Math.random().toString(36).substring(2,7);\n var preview = $(`<p id=\"${id}\" style=\"font-size:36px; color: #00000\">${properties.type}</p>`);\n \n $(preview).appendTo('body');\n\n}"},"initialize":{"fn":"function(instance, context) {\nvar chartID = \"chart\"+Math.random().toString(36).substring(2,7);\ninstance.data.id = chartID;\n\n var div = $(`<div id=\"${chartID}\"></div>`);\n $(div).appendTo('body');\n $(instance.canvas[0]).html(div);\n \n}"},"update":{"fn":"function(instance, properties, context) {\n\n//Set properties Width and Height \n var div = document.getElementById(instance.data.id);\n div.style.width = properties.bubble.width();\n div.style.height = properties.bubble.height();\n\n if (properties.slicetextcolor.match(\"rgba\")){\n var rgbaslice = properties.slicetextcolor.replace(/^rgba?\\(|\\s+|\\)$/g, '').split(',');\n var slicetextcolor = `${((1 << 24) + (parseInt(rgbaslice[0]) << 16) + (parseInt(rgbaslice[1]) << 8) + parseInt(rgbaslice[2])).toString(16).slice(1)}`;\n }\n else {\n var slicetextcolor = properties.slicetextcolor;\n }\n if (properties.legendcolor.match(\"rgba\")){\n var rgbalegend = properties.legendcolor.replace(/^rgba?\\(|\\s+|\\)$/g, '').split(',');\n var legendcolor = `${((1 << 24) + (parseInt(rgbalegend[0]) << 16) + (parseInt(rgbalegend[1]) << 8) + parseInt(rgbalegend[2])).toString(16).slice(1)}`;\n } \n else{\n var legendcolor = properties.legendcolor;\n }\n if (properties.gridcolorh.match(\"rgba\")){\n var rgbagridh = properties.gridcolorh.replace(/^rgba?\\(|\\s+|\\)$/g, '').split(',');\n var gridcolorh = `${((1 << 24) + (parseInt(rgbagridh[0]) << 16) + (parseInt(rgbagridh[1]) << 8) + parseInt(rgbagridh[2])).toString(16).slice(1)}`;\n }\n else {\n var gridcolorh = properties.gridcolorh;\n }\n if (properties.gridcolorv.match(\"rgba\")){\n var rgbagridv = properties.gridcolorv.replace(/^rgba?\\(|\\s+|\\)$/g, '').split(',');\n var gridcolorv = `${((1 << 24) + (parseInt(rgbagridv[0]) << 16) + (parseInt(rgbagridv[1]) << 8) + parseInt(rgbagridv[2])).toString(16).slice(1)}`;\n }\n else {\n var gridcolorv = properties.gridcolorv; \n }\n if (properties.tooltipcolor.match(\"rgba\")){\n var rgbatip = properties.tooltipcolor.replace(/^rgba?\\(|\\s+|\\)$/g, '').split(',');\n var tooltcolor = `${((1 << 24) + (parseInt(rgbatip[0]) << 16) + (parseInt(rgbatip[1]) << 8) + parseInt(rgbatip[2])).toString(16).slice(1)}`;\n }\n else {\n var tooltcolor = properties.tooltipcolor; \n }\n \n$(document).ready(function(){ \n\nvar locale,chart,selection,message,item,value\n\nif (properties.customlanguage == null){\n locale = navigator.language;\n} else {\n locale = properties.customlanguage;\n}\n \nvar strings = properties.data.split(',');\nvar values = properties.numbers.split(',');\nvar barColors;\n \n if (properties.barcolors != null){\n barColors = properties.barcolors.split(','); \nvar arraycolor = barColors.map(function(value,i){\n return value.replace(/\\s/g, '')\n });\n } \nvar arraynumber = values.map(function(value,i){\n return Number(value) \n });\n \nvar myarray = strings.map(function(value,i){\n \n if (properties.type === 'Bar' || properties.type === 'Column' || properties.type === 'Line' ){\n \n if (properties.barcolors != null){\n return [value,arraynumber[i],arraycolor[i]]\n } else {\n return [value,arraynumber[i]]\n }\n }\n \n else {\n return [value,arraynumber[i]]\n \n }\n \n}); \n \ngoogle.charts.load(\"current\", {packages:['corechart','bar','geochart','line'],'mapsApiKey': ''+properties.apikeymaps+'','language': ''+locale+''});\n \nif (properties.type != 'Maps'){\ngoogle.charts.setOnLoadCallback(drawChart);\n \nfunction drawChart() {\n var data = new google.visualization.DataTable();\n data.addColumn('string', ''+properties.string+'');\n data.addColumn('number', ''+properties.values+'');\n \n if (properties.type === 'Bar' || properties.type === 'Column' || properties.type === 'Line'){\n if (properties.barcolors != null){\n data.addColumn({ role: 'style' });\n };\n }\ndata.addRows(myarray); \n \nvar pieHole;\n if (properties.type == 'Donut'){\n pieHole = properties.pieHole;\n } else {\n pieHole = 0.0;\n }\n \nvar options = {\nbackgroundColor : 'none',\nchartArea: {backgroundColor:'none', width: '100%', height: '80%', top: 20, left: 20},\nwidth: properties.bubble.width(),\ntitle: ''+properties.title+'',\ntitleTextStyle : {color: '#'+legendcolor, fontSize: properties.legendfontsize, bold: properties.bold}, \nis3D: properties.is3D,\npieHole: pieHole,\npieSliceText: properties.sliceText,\npieSliceTextStyle: {fontSize: properties.slicefontsize, color: '#'+slicetextcolor },\nlegend: {position: properties.legend, textStyle: {color: '#'+legendcolor, fontSize: properties.legendfontsize}},\nvAxis: {gridlines: {color: '#'+gridcolorv},format: properties.format, textPosition: ''+properties.textpositionv+'', textStyle: {color: '#'+legendcolor, fontSize: properties.legendfontsize}},\nhAxis: {gridlines: {color: '#'+gridcolorh},format: properties.format,textPosition: ''+properties.textpositionh+'', textStyle: {color: '#'+legendcolor, fontSize: properties.legendfontsize}},\ncurveType: 'function',\norientation: ''+properties.orientation+'',\npointSize: properties.pointsize,\npointShape: ''+properties.pointshape+'',\nlineWidth: properties.linewidth,\ntooltip: {textStyle: {color: '#'+tooltcolor}, showColorCode: true, fontSize: properties.tooltipfontsize, bold: properties.tooltipbold, italic: properties.tooltipitalic},\nbar: {groupWidth: properties.groupwidth+'%'},\n \n \n};\n \n// Chart Type Pie or Donut \nif (properties.type == 'Pie' || properties.type == 'Donut'){\nc
223hart = new google.visualization.PieChart(div);\n}\n// Chart Type Bar \nif (properties.type == 'Bar'){\nchart = new google.visualization.BarChart(div);\n}\n// Chart Type Column\nif (properties.type == 'Column'){\nchart = new google.visualization.ColumnChart(div);\n}\n// Chart Type Line \nif (properties.type == 'Line'){\nchart = new google.visualization.LineChart(div); \n }\n \n// Draw Chart and Add Event Click\nchart.draw(data, options); \ngoogle.visualization.events.addListener(chart, 'select', selectHandler);\n\n function selectHandler(e) {\nselection = chart.getSelection();\nmessage = '';\n for (var i = 0; i < selection.length; i++) {\n item = selection[i];\n if (item.row != null && item.column != null) {\n value = data.getFormattedValue(item.row, item.column);\n message += value;\n } else if (item.row != null) {\n value = data.getFormattedValue(item.row, 0);\n message += value;\n } else if (item.column != null) {\n value = data.getFormattedValue(0, item.column);\n message += value;\n }\n }\n if (message == '') {\n message = 'nothing';\n }\n instance.publishState('data_clicked',message);\n instance.triggerEvent('clicked');\n \n}\n \n} \n}\n// Chart Type Maps \nif (properties.type == 'Maps'){\n google.charts.setOnLoadCallback(drawRegionsMap);\n \n\n if (properties.mapcolor.match(\"rgba\")){\n var rgba = properties.mapcolor.replace(/^rgba?\\(|\\s+|\\)$/g, '').split(',');\n var color = `#${((1 << 24) + (parseInt(rgba[0]) << 16) + (parseInt(rgba[1]) << 8) + parseInt(rgba[2])).toString(16).slice(1)}`;\n }\n else {\n var color = properties.mapcolor;\n } \n\nfunction drawRegionsMap() {\n var data = new google.visualization.DataTable();\n data.addColumn('string',''+properties.string+'');\n data.addColumn('number',''+properties.values+'');\n if (properties.area == true){\n data.addColumn('number','Area');\n }\n data.addRows(myarray);\n\nvar options = {\n backgroundColor: 'none',\n datalessRegionColor: color,\n legend: {textStyle: {color: '#'+legendcolor, fontSize: properties.legendfontsize, bold: properties.bold, italic: properties.italic}},\n width: properties.bubble.width(),\n height: properties.bubble.height() - 25,\n keepAspectRatio : true, \n displayMode: properties.modemaps,\n region: properties.region,\n colorAxis: {colors: ['red','blue','green']},\n tooltip: {textStyle: {color: '#'+tooltcolor}, showColorCode: true, fontSize: properties.tooltipfontsize, bold: properties.tooltipbold, italic: properties.tooltipitalic}, \n };\n\n chart = new google.visualization.GeoChart(div);\n chart.draw(data, options);\n google.visualization.events.addListener(chart, 'select', selectHandler);\n \n \n function selectHandler(e) {\nselection = chart.getSelection();\nmessage = '';\n for (var i = 0; i < selection.length; i++) {\n item = selection[i];\n if (item.row != null && item.column != null) {\n value = data.getFormattedValue(item.row,item.column);\n message += value;\n } else if (item.row != null) {\n value = data.getFormattedValue(item.row,0);\n message += value;\n } else if (item.column != null) {\n value = data.getFormattedValue(0,item.column);\n message += value;\n }\n }\n if (message == '') {\n message = 'nothing';\n }\n instance.publishState('data_clicked',message.trim());\n instance.triggerEvent('clicked');\n \n}\n \n }\n}\n\n});\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}}; 224window._bubble_page_load_data.plugins_size['1622230862970x241206977446543360'] = 14756; 225window.preloaded['plugin/third_party:1622230862970x241206977446543360:1.2.0'] = true; 226window.plugins["1633370288930x129125221275795460"] = {"human":"Multi-step progress bar","dependencies":{"use_jquery":true,"plugin_api_version":2},"plugin_elements":{"AAC":{"display":"Multi-step progress bar","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"Padding":false,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"number","fields":{"AAJ":{"caption":"Progress","name":"progress","rank":0,"editor":"DynamicValue","value":"number","default_val":4},"AAK":{"caption":"Max Value","name":"max_value","rank":1,"editor":"DynamicValue","value":"number","default_val":10},"AAL":{"caption":"Main color","name":"main_color","rank":2,"editor":"Color","default_val":"rgba(113, 139, 237, 1)"},"AAM":{"caption":"Secondary Color","name":"secondary_color","rank":3,"editor":"Color","default_val":"rgba(217, 224, 251, 1)"}},"code":{"preview":{"fn":"function(instance, properties) {\n \n \n // Initial values\nconst CURRENT_VALUE = properties.progress;\nconst MAX_VALUE = properties.max_value;\nconst MAIN_COLOR = properties.main_color;\nconst SECONDARY_COLOR = properties.secondary_color;\n\nshowDots();\nsetStyles();\nsetPreviewStyles();\n\n// Functions\n\nfunction showDots() {\n let $container = getContainer();\n addDots($container);\n instance.canvas.append($container);\n\n}\n\nfunction addDots($container) {\n for (let i = 1; i <= MAX_VALUE; i++)\n $container.append(createDot(i));\n}\n\nfunction createDot(index) {\n let $existingDot = getContainer().find('.bleap-dot-' + index);\n let $dot = $existingDot.length === 0 ? $('<div class=\"bleap-dot bleap-dot-' + index + '\"><span></span></div>') : $existingDot;\n setDotValue($dot, index)\n return $dot;\n}\n\nfunction setDotValue($dot, index) {\n $dot.removeClass('current next');\n\n if (index === CURRENT_VALUE)\n $dot.addClass('current');\n\n if (index > CURRENT_VALUE)\n $dot.addClass('next');\n}
226\n\nfunction getResponsiveLeft() {\n let canvasWidth = instance.canvas.width();\n let leftValue = parseFloat((canvasWidth * 5) / 400).toFixed(2)\n\n return leftValue.toString() + '%';\n}\n\n\nfunction setStyles() {\n\n $('.bleap-dots-container').css({\n display: 'flex',\n width: '100%',\n textAlign: 'center'\n });\n\n $('.bleap-dot').css({\n borderRadius: '50%',\n display: 'inline-block',\n width: '10%',\n margin: '0px 1%',\n border: 'solid 2px #D9E0FB',\n borderColor: SECONDARY_COLOR,\n overflow: 'hidden',\n position: 'relative'\n });\n\n $('.bleap-dot span').css({\n display: 'block',\n height: '100%',\n background: SECONDARY_COLOR,\n paddingBottom: '100%'\n });\n\n $('.bleap-dot.current').css({\n borderColor: MAIN_COLOR,\n });\n\n $('.bleap-dot.current span').css({\n background: MAIN_COLOR,\n borderRadius: '50%',\n height: '100%',\n width: '100%',\n position: 'absolute',\n top: '0%',\n left: '0%',\n border: '2px solid white',\n paddingBottom: '0%'\n });\n\n $('.bleap-dot.next').css({\n borderColor: MAIN_COLOR\n });\n\n $('.bleap-dot.next span').css({\n background: 'none'\n });\n\n\n}\n\n/*\n*\n*\n* PREVIEW METHODS\n*\n*\n*/\n\n\nfunction getContainer() {\n return properties.progress === null ? getPlaceholder() : createContainer();\n}\n\nfunction createContainer() {\n return $('<div class=\"bleap-dots-container\"></div>');\n}\n\nfunction getPlaceholder() {\n return \"<div class='bleap-placeholder'><span>Preview cant' be loaded with database values</span></div>\";\n}\n\n\nfunction setPreviewStyles() {\n\n $('.bleap-placeholder').css({\n width: '100%',\n height: '100%',\n background: '#D9E0FB',\n display: 'grid',\n alignItems: 'center',\n position: 'absolute',\n zIndex: '99',\n 'transform-origin': 'initial',\n 'transform': 'initial'\n });\n\n $('.bleap-placeholder span').css({\n width: '100%',\n color: '#718BED',\n textAlign: 'center',\n fontFamily: 'Arial',\n fontSize: '16px',\n fontWeight: 400\n });\n\n}\n \n \n}"},"initialize":{"fn":"function(instance, context) {\n \n}"},"update":{"fn":"function(instance, properties, context) {\n // Initial values\n const CURRENT_VALUE = properties.progress;\n const MAX_VALUE = properties.max_value;\n const MAIN_COLOR = properties.main_color;\n const SECONDARY_COLOR = properties.secondary_color;\n\n showDots();\n setStyles();\n\n // Functions\n\n function showDots() {\n let $container = getContainer();\n addDots($container);\n instance.canvas.append($container);\n\n }\n\n function addDots($container) {\n for (let i = 1; i <= MAX_VALUE; i++)\n $container.append(createDot(i));\n }\n\n function createDot(index) {\n let $existingDot = getContainer().find('.bleap-dot-' + index);\n let $dot = $existingDot.length === 0 ? $('<div class=\"bleap-dot bleap-dot-' + index + '\"><span></span></div>') : $existingDot;\n setDotValue($dot, index)\n return $dot;\n }\n\n function setDotValue($dot, index) {\n $dot.removeClass('current next');\n\n if (index === CURRENT_VALUE)\n $dot.addClass('current');\n\n if (index > CURRENT_VALUE)\n $dot.addClass('next');\n }\n\n function getResponsiveLeft() {\n let canvasWidth = instance.canvas.width();\n let leftValue = parseFloat((canvasWidth * 5) / 400).toFixed(2)\n\n return leftValue.toString() + '%';\n }\n\n function getContainer() {\n let $existingContainer = instance.canvas.find('.bleap-dots-container');\n return $existingContainer.length === 0 ? createContainer() : $existingContainer;\n }\n\n function createContainer() {\n return $('<div class=\"bleap-dots-container\"></div>');\n }\n\n function setStyles() {\n $('.bleap-dots-container').css({\n display: 'flex',\n width: '100%',\n textAlign: 'center'\n });\n\n $('.bleap-dot').css({\n borderRadius: '50%',\n display: 'inline-block',\n width: '10%',\n margin: '0px 1%',\n border: 'solid 2px #D9E0FB',\n borderColor: SECONDARY_COLOR,\n overflow: 'hidden',\n position: 'relative'\n });\n\n $('.bleap-dot span').css({\n display: 'block',\n height: '100%',\n background: SECONDARY_COLOR,\n paddingBottom: '100%'\n });\n\n $('.bleap-dot.current').css({\n borderColor: MAIN_COLOR,\n });\n\n $('.bleap-dot.current span').css({\n background: MAIN_COLOR,\n borderRadius: '50%',\n height: '100%',\n width: '100%',\n position: 'absolute',\n top: '0%',\n left: '0%',\n border: '2px solid white',\n paddingBottom: '0%'\n });\n\n $('.bleap-dot.next').css({\n borderColor: MAIN_COLOR\n });\n\n $('.bleap-dot.next span').css({\n background: 'none'\n });\n\n }\n \n}","add_debugger":false},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}}; 227window._bubble_page_load_data.plugins_size['1633370288930x129125221275795460'] = 7463; 228window.preloaded['plugin/third_party:1633370288930x129125221275795460:1.9.0'] = true; 229window.plugins["1665155039964x279485211877048300"] = {"forbidden":"NOT_PAID","caption":"Notion Renderer"}; 230window.preloaded['plugin/third_party:1665155039964x279485211877048300:1.3.0'] = true; 231window['bubble_run_derived'] = window['bubble_run_derived'] || {} 232window['bubble_run_derived']['{"function_name":"PageByName","args":[]}
232'] = {"404":{"id":"AAU","_path":"%p3.AAX"},"reset_pw":{"id":"AAL","_path":"%p3.AAW"},"index":{"id":"bTGYf","_path":"%p3.bTGbC"},"styles":{"id":"bTGyM","_path":"%p3.bTGyN"},"main":{"id":"bTGzO","_path":"%p3.bTGzP"},"login_mush":{"id":"bTHAI","_path":"%p3.bTHAJ"},"signup_mush":{"id":"bTHAT","_path":"%p3.bTHAY"},"email_verification":{"id":"bTHDA","_path":"%p3.bTHDT"},"academy":{"id":"bTHRr","_path":"%p3.bTHVb"},"market":{"id":"bTIOO","_path":"%p3.bTITY"},"room":{"id":"bTItd","_path":"%p3.bTIzh"},"onboarding":{"id":"bTKKf","_path":"%p3.bTKKj"},"bienvenue":{"id":"bTLOs","_path":"%p3.bTMYT"},"onboarding_v2":{"id":"bTNpk","_path":"%p3.bTNxK"},"signup_mush_v2":{"id":"bTQhI","_path":"%p3.bTQkJ"},"test_airtable":{"id":"bTRHw1","_path":"%p3.bTRHx1"}} 233window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true; 234window['bubble_run_derived']['{"function_name":"CustomByNameV2","args":[]}'] = {} 235window.preloaded['app/derived:{"function_name":"CustomByNameV2","args":[]}'] = true; 236window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = [] 237window.preloaded['app/derived:{"function_name":"UserCalls","args":[]}'] = true; 238window['bubble_run_derived']['{"function_name":"OAuthProviders","args":[]}'] = [] 239window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true; 240window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"academy":[{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"fichier_file","value":"file","display":"Fichier","deleted":null},{"name":"image_image","value":"image","display":"image","deleted":null},{"name":"intention_list_option_intention","value":"list.option.intention","display":"Intention","deleted":null},{"name":"lien_source_text","value":"text","display":"lien source","deleted":null},{"name":"niveau_list_option_niveau","value":"list.option.niveau","display":"Niveau","deleted":null},{"name":"titre_text","value":"text","display":"Titre","deleted":null}],"academy_recommand_s":[{"name":"ficheacademy_api_airtable_bTHVq_bTHVr","value":"api.airtable.bTHVq.bTHVr","display":"Academy","deleted":null},{"name":"nbvues_number","value":"number","display":"NbVues - deleted","deleted":true},{"name":"user_user","value":"user","display":"User - deleted","deleted":true}],"academyconsult_":[{"name":"academycard_api_airtable_bTHVq_bTHVr","value":"api.airtable.bTHVq.bTHVr","display":"AcademyCard","deleted":null},{"name":"date_date","value":"date","display":"date","deleted":null},{"name":"id_text","value":"text","display":"id","deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null}],"academynbconsul":[{"name":"academycard_api_airtable_bTHVq_bTHVr","value":"api.airtable.bTHVq.bTHVr","display":"AcademyCard","deleted":null},{"name":"nbclic_number","value":"number","display":"NbClic","deleted":null}],"airtableusers":[{"name":"airtableuser_api_airtable_bTHVq_bTHVt","value":"api.airtable.bTHVq.bTHVt","display":"AirtableUser","deleted":null}],"animateurtype":[{"name":"nom_text","value":"text","display":"Nom","deleted":null},{"name":"organisation_custom_organisation","value":"custom.organisation","display":"Organisation","deleted":null}],"bio":[],"comp_tences":[{"name":"bio_text","value":"text","display":"bio - deleted","deleted":true},{"name":"comp_tence_text","value":"text","display":"Atelier","deleted":null},{"name":"liensiteatelier_text","value":"text","display":"LienSiteAtelier","deleted":null},{"name":"logo_atelier_image","value":"image","display":"Logo atelier","deleted":null}],"comp_tences1":[{"name":"comp_tence_text","value":"text","display":"Compétence","deleted":null}],"competenceartisanat":[{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"pro_option_email_valid_","value":"option.email_valid_","display":"Pro - deleted","deleted":true}],"competencepro":[{"name":"name_text","value":"text","display":"Name","deleted":null}],"empreinte":[{"name":"alimentation_number","value":"number","display":"Alimentation - deleted","deleted":true},{"name":"date_date","value":"date","display":"Date - deleted","deleted":true},{"name":"divers_number","value":"number","display":"Divers - deleted","deleted":true},{"name":"empreinte_option_empreinte","value":"option.empreinte","display":"Empreinte","deleted":null},{"name":"logement_number","value":"number","display":"Logement - deleted","deleted":true},{"name":"num_rique_number","value":"number","display":"Numérique - deleted","deleted":true},{"name":"services_publics_number","value":"number","display":"Services Publics - deleted","deleted":true},{"name":"total_number","value":"number","display":"Total - deleted","deleted":true}
240,{"name":"transport_number","value":"number","display":"Transport - deleted","deleted":true},{"name":"user1_user","value":"user","display":"User","deleted":null},{"name":"user_user","value":"user","display":"User - deleted","deleted":true}],"empreinte1":[{"name":"date_date","value":"date","display":"Date","deleted":null},{"name":"empreinte1_option_empreinte","value":"option.empreinte","display":"Empreinte","deleted":null},{"name":"empreinte_option_empreinte","value":"option.empreinte","display":"catégorieEmpreinte - deleted","deleted":true},{"name":"kgco2e___personnes_number","value":"number","display":"kgCO2e / personnes","deleted":null},{"name":"order_number","value":"number","display":"order","deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null},{"name":"value_number","value":"number","display":"Value - deleted","deleted":true}],"evenement":[{"name":"animateur_user","value":"user","display":"Animateur","deleted":null},{"name":"offre_custom_offre","value":"custom.offre","display":"Offre","deleted":null},{"name":"organisation_custom_organisation","value":"custom.organisation","display":"Organisation","deleted":null},{"name":"urlinscription_text","value":"text","display":"UrlInscription","deleted":null}],"formations":[{"name":"autres_th_mes_list_text","value":"list.text","display":"Autres thèmes","deleted":null},{"name":"branches_list_option_branchescompetence","value":"list.option.branchescompetence","display":"Branches","deleted":null},{"name":"branches_list_text","value":"list.text","display":"Branches - deleted","deleted":true},{"name":"branches_text","value":"text","display":"Branches - deleted","deleted":true},{"name":"dur_e_text","value":"text","display":"Durée","deleted":null},{"name":"formation_text","value":"text","display":"Compétence","deleted":null},{"name":"image_image","value":"image","display":"Image","deleted":null},{"name":"intention_text","value":"text","display":"Intention","deleted":null},{"name":"jauge_number_range","value":"number_range","display":"Jauge","deleted":null},{"name":"sous_branches_list_option_sousbranchescompetence","value":"list.option.sousbranchescompetence","display":"Sous-Branches","deleted":null},{"name":"sous_branches_list_text","value":"list.text","display":"Sous-Branches - deleted","deleted":true},{"name":"titre_text","value":"text","display":"Titre - deleted","deleted":true}],"marketconsult_":[{"name":"date_date","value":"date","display":"Date","deleted":null},{"name":"id_text","value":"text","display":"Id","deleted":null},{"name":"market_api_airtable_bTHVq_bTHVs","value":"api.airtable.bTHVq.bTHVs","display":"MarketCard_old","deleted":null},{"name":"marketcard_api_airtable_bTHVq_bTRIO1","value":"api.airtable.bTHVq.bTRIO1","display":"MarketCard","deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null}],"marketnbconsult":[{"name":"marketcard_api_airtable_bTHVq_bTHVs","value":"api.airtable.bTHVq.bTHVs","display":"MarketCard_old","deleted":null},{"name":"marketcard_api_airtable_bTHVq_bTRIO1","value":"api.airtable.bTHVq.bTRIO1","display":"MarketCard","deleted":null},{"name":"nbclic_number","value":"number","display":"NbClic","deleted":null}],"metrix":[{"name":"nbuser_number","value":"number","display":"NbUser","deleted":null}],"mushnews":[{"name":"news_text","value":"text","display":"News","deleted":null},{"name":"order_number","value":"number","display":"Order","deleted":null}],"mytable":[],"mytable1":[],"mytable2":[{"name":"email_text","value":"text","display":"email","deleted":null}],"mytable3":[{"name":"email_text","value":"text","display":"email","deleted":null}],"offre":[{"name":"animateurtype_custom_animateurtype","value":"custom.animateurtype","display":"@AnimateurType","deleted":null},{"name":"atelier_boolean","value":"boolean","display":"Atelier","deleted":null},{"name":"date_date","value":"date","display":"Date","deleted":null},{"name":"deroule_text","value":"text","display":"Déroulé","deleted":null},{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"duree_number","value":"number","display":"Durée","deleted":null},{"name":"factur__boolean","value":"boolean","display":"Facturé","deleted":null},{"name":"lieu_text","value":"text","display":"Lieu","deleted":null},{"name":"nbpersonnesparsession_number","value":"number","display":"NbPersonnesParSession","deleted":null},{"name":"nom_text","value":"text","display":"Titre","deleted":null},{"name":"nomatelier_custom_comp_tences","value":"custom.comp_tences","display":"NomAtelier","deleted":null},{"name":"nomatelier_text","value":"text","display":"NomAtelier - deleted","deleted":true},{"name":"organisation_custom_organisation","value":"custom.organisation","display":"@Organisation","deleted":null},{"name":"photo_image","value":"image","display":"Photo","deleted":null},{"name":"presentiel_boolean","value":"boolean","display":"Présentiel","deleted":null},{"name":"prixfourchette_text","value":"text","display":"PrixFourchette","deleted":null},{"name":"r_gion_option_regions","value":"option.regions","display":"@Région - deleted","deleted":true},{"name":"region_option_regions","value":"option.regions","display":"@Région","deleted":null}],"onboarding":[{"name":"affiche_texte_boolean","value":"boolean","display":"affiche_texte","default_val":true,"deleted":null},{"name":"affiche_titre_boolean","value":"boolean","display":"affiche_titre","default_val":true,"deleted":null},{"name":"afficherboutonshaut_boolean","value":"boolean","display":"affiche_boutons_haut","default_val":false,"deleted":null},{"name":"couleur_etape_dark_text","value":"text","display":"couleur_etape_dark","deleted":null},{"name":"couleur_etape_text","value":"text","display":"couleur_etape","deleted":null},{"name":"facultative_boolean","value":"boolean","display":"facultative","default_val":false,"deleted":null},{"name":"numetape_number","value":"number","display":"num_ordre","deleted":null},{"name":"texte_etape_text","value":"text","display":"texte_etape","deleted":null},{"name":"titre_etape_text","value":"text","display":"titre_etape","deleted":null},{"name":"url_video_text","value":"text","display":"url_video","deleted":null}],"organisation":[{"name":"admin_list_user","value":"list.user","display":"admin","deleted":null},{"name":"adressesiege_geographic_address","value":"geographic_address","display":"adressesiege","deleted":null},{"name":"animateur_list_user","value":"list.user","display":"animateur","deleted":null},{"name":"datecreation_date","value":"date","display":"datecreation","deleted":null},{"name":"description_text","value":"text","display":"description","deleted":null},{"name":"email_text","value":"text","display":"email","deleted":null}
240,{"name":"logo_image","value":"image","display":"logo","deleted":null},{"name":"nom_text","value":"text","display":"nom","deleted":null},{"name":"siret_text","value":"text","display":"siret","deleted":null},{"name":"slogan_text","value":"text","display":"slogan","deleted":null},{"name":"structurejuridique_option_typestructurejuridique","value":"option.typestructurejuridique","display":"structurejuridique","deleted":null}],"partages":[{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"du_mat_riel_de_camping_custom_partages","value":"custom.partages","display":"Du matériel de camping","deleted":null},{"name":"type_option_typedepartage","value":"option.typedepartage","display":"Type","deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null}],"tempuserlist":[{"name":"date_date","value":"date","display":"Date","deleted":null},{"name":"j_number","value":"number","display":"j","deleted":null},{"name":"k_number","value":"number","display":"k","deleted":null},{"name":"nextuser_user","value":"user","display":"NextUser","deleted":null},{"name":"user_user","value":"user","display":"CurrentUser","deleted":null}],"typecompetence":[{"name":"typename_text","value":"text","display":"TypeName","deleted":null}],"user":[{"name":"___xp_number","value":"number","display":"ð XP","default_val":0,"deleted":null},{"name":"academyliked_list_api_airtable_bTHVq_bTHVr","value":"list.api.airtable.bTHVq.bTHVr","display":"AcademyLiked","deleted":null},{"name":"academyused_list_api_airtable_bTHVq_bTHVr","value":"list.api.airtable.bTHVq.bTHVr","display":"AcademyUsed - deleted","deleted":true},{"name":"academyused_list_text","value":"list.text","display":"AcademyUsed - deleted","deleted":true},{"name":"accordcontact_boolean","value":"boolean","display":"AccordContact","default_val":false,"deleted":null},{"name":"actionsfinancieres_list_option_actionsfinancieres","value":"list.option.actionsfinancieres","display":"ActionsFinancieres","deleted":null},{"name":"admin_boolean","value":"boolean","display":"Admin","default_val":false,"deleted":null},{"name":"adresse_geographic_address","value":"geographic_address","display":"Adresse","deleted":null},{"name":"adressetext_text","value":"text","display":"adresseText-Airtable","deleted":null},{"name":"agir_list_option_agir","value":"list.option.agir","display":"Agir","deleted":null},{"name":"agirautre_text","value":"text","display":"AgirAutre","deleted":null},{"name":"agirreseauxcompetencesautres_text","value":"text","display":"AgirReseauxCompetencesAutres","deleted":null},{"name":"airtable_record_id_text","value":"text","display":"Airtable Record ID","deleted":null},{"name":"ambassadeur_boolean","value":"boolean","display":"Ambassadeur","default_val":false,"deleted":null},{"name":"animateur_boolean","value":"boolean","display":"Animateur - deleted","deleted":true},{"name":"autreactionfinanciere_text","value":"text","display":"AutreActionFinanciere","deleted":null},{"name":"autremotivation_text","value":"text","display":"AutreMotivation","deleted":null},{"name":"autrepatrimoine_text","value":"text","display":"AutrePatrimoinePhysique","deleted":null},{"name":"avatar_image","value":"image","display":"Avatar","default_val":"","deleted":null},{"name":"bio_text","value":"text","display":"bio","deleted":null},{"name":"biographie_text","value":"text","display":"biographie","deleted":null},{"name":"canalprefere_option_canalinfo","value":"option.canalinfo","display":"CanalPrefere - deleted","deleted":true},{"name":"canauxpreferes_list_option_canalinfo","value":"list.option.canalinfo","display":"Canauxpreferes","deleted":null},{"name":"comp_tence_enjeu_list_option_comp_tence_enjeu","value":"list.option.comp_tence_enjeu","display":"Compétence Enjeu","deleted":null},{"name":"competanceartisanat_list_custom_competenceartisanat","value":"list.custom.competenceartisanat","display":"CompetenceArtisanat","deleted":null},{"name":"competence_enjeu_option_comp_tence_enjeu","value":"option.comp_tence_enjeu","display":"Competence Enjeu - deleted","deleted":true},{"name":"competenceenjeu_list_option_comp_tence_enjeu","value":"list.o
240ption.comp_tence_enjeu","display":"CompetenceEnjeu","deleted":null},{"name":"competencemanuart_list_option_competence_manu_art","value":"list.option.competence_manu_art","display":"CompetenceManuArt","deleted":null},{"name":"competencepro_list_option_comp_tence_pro0","value":"list.option.comp_tence_pro0","display":"CompetencePro","deleted":null},{"name":"contactemailorgadirigeant_text","value":"text","display":"ContactEmailOrgaDirigeant","deleted":null},{"name":"date_d_arriv_e_date","value":"date","display":"Date d'arrivée","deleted":null},{"name":"datenaissance_date","value":"date","display":"DateNaissance","deleted":null},{"name":"distancemaxikm_number","value":"number","display":"distanceMaxiKM","deleted":null},{"name":"elucserse_option_elucserse","value":"option.elucserse","display":"EluCseRse","deleted":null},{"name":"email_ton_myc_lium_text","value":"text","display":"email ton Mycélium","deleted":null},{"name":"empreinte_list_option_empreinte","value":"list.option.empreinte","display":"Empreinte - deleted","deleted":true},{"name":"envoiemailbienvenue_boolean","value":"boolean","display":"envoiemailbienvenue","deleted":null},{"name":"etat_d_accueil_option_etat_d_accueil","value":"option.etat_d_accueil","display":"Etat d'accueil","deleted":null},{"name":"etataccueil_list_text","value":"list.text","display":"etatAccueil - deleted","deleted":true},{"name":"etreaccueilli_boolean","value":"boolean","display":"EtreAccueilli","deleted":null},{"name":"etreinforme_boolean","value":"boolean","display":"EtreInforme","deleted":null},{"name":"evaluateur_boolean","value":"boolean","display":"Evaluateur","default_val":false,"deleted":null},{"name":"formation_conf_boolean","value":"boolean","display":"Formation/conf - deleted","deleted":true},{"name":"gardien_boolean","value":"boolean","display":"Gardien","default_val":false,"deleted":null},{"name":"graine_boolean","value":"boolean","display":"Graine","default_val":false,"deleted":null},{"name":"i_number","value":"number","display":"i","deleted":null},{"name":"id_number","value":"number","display":"ID","deleted":null},{"name":"import_deairtable_boolean","value":"boolean","display":"AirtableImport","default_val":false,"deleted":null},{"name":"imported_boolean","value":"boolean","display":"massDataprocessingIsDone","default_val":false,"deleted":null},{"name":"imported_list_boolean","value":"list.boolean","display":"imported - deleted","deleted":true},{"name":"inter_ss__par_list_text","value":"list.text","display":"interessePar","deleted":null},{"name":"invit__par_text","value":"text","display":"email Invité par","deleted":null},{"name":"invit__par_user","value":"user","display":"Invité par - deleted","deleted":true},{"name":"invitations_envoy_es_list_text","value":"list.text","display":"invitations envoyées - deleted","deleted":true},{"name":"les_sujets_que_tu_maitrises_list_custom_formations","value":"list.custom.formations","display":"Tes conférences / formations","deleted":null},{"name":"lienprofilfacebook_text","value":"text","display":"LienProfilFacebook","deleted":null},{"name":"lienprofillinkedin_text","value":"text","display":"LienProfilLinkedin","deleted":null},{"name":"marketliked_list_api_airtable_bTHVq_bTHVs","value":"list.api.airtable.bTHVq.bTHVs","display":"MarketLiked_old","deleted":null},{"name":"marketliked_list_api_airtable_bTHVq_bTRIO1","value":"list.api.airtable.bTHVq.bTRIO1","display":"MarketLiked","deleted":null},{"name":"massemailok_boolean","value":"boolean","display":"selectionné","default_val":false,"deleted":null},{"name":"mes_graines_list_user","value":"list.user","display":"Tes graines","deleted":null},{"name":"mes_partages_list_custom_partages","value":"list.custom.partages","display":"Mes partages - deleted","deleted":true},{"name":"myc_lium_boolean","value":"boolean","display":"Mycélium","default_val":false,"deleted":null},{"name":"nbcoupdemainapportes_number","value":"number","display":"NbCoupDeMainApportes","deleted":null},{"name":"nblogin_number","value":"number","display":"nbLogin","default_val":0,"deleted":null},{"name":"nbtestsempreinte_number","value":"number","display":"nbTestsEmpreinte","default_val":0,"deleted":null},{"name":"nbvuesacademy_number","value":"number","display":"nbVuesAcademy","default_val":0,"deleted":null},{"name":"nbvuesmarket_number","value":"number","display":"nbVuesMarket","default_val":0,"deleted":null},{"name":"nbvuesnotion_number","value":"number","display":"nbVuesNotion","default_val":0,"deleted":null},{"name":"nbvuesroom_number","value":"number","display":"nbVuesRoom","default_val":0,"deleted":null}
240,{"name":"niveau_number","value":"number","display":"ð Niveau","default_val":0,"deleted":null},{"name":"nom_text","value":"text","display":"Nom","deleted":null},{"name":"nombre_de_parts_r_serv_es_number","value":"number","display":"Nombre de parts réservées","deleted":null},{"name":"num_ro_number","value":"number","display":"Numéro - deleted","deleted":true},{"name":"onboardingisdone_boolean","value":"boolean","display":"OnboardingIsDone","default_val":false,"deleted":null},{"name":"orga_boolean","value":"boolean","display":"ðOrga","default_val":false,"deleted":null},{"name":"organisationdirigeant_text","value":"text","display":"OrganisationDirigeant","deleted":null},{"name":"origineconnaissance_list_option_origineconnaissance","value":"list.option.origineconnaissance","display":"OrigineConnaissance","deleted":null},{"name":"partageinfoutilsateur_boolean","value":"boolean","display":"PartageInfoUtilisateur","deleted":null},{"name":"partages_list_option_typedepartage","value":"list.option.typedepartage","display":"Mes partages - deleted","deleted":true},{"name":"patrimoinephysique_list_option_patrimoinephysique","value":"list.option.patrimoinephysique","display":"PatrimoinePhysique","deleted":null},{"name":"pays_option_pays","value":"option.pays","display":"Pays","deleted":null},{"name":"positionorga_option_positionorga","value":"option.positionorga","display":"PositionOrga","deleted":null},{"name":"pr_nom_text","value":"text","display":"Prénom","deleted":null},{"name":"public_list_option_public","value":"list.option.public","display":"Ton public type - deleted","deleted":true},{"name":"r_gion_text","value":"text","display":"Région - deleted","deleted":true},{"name":"region_option_regions","value":"option.regions","display":"region","deleted":null},{"name":"sitewebdirigeant_text","value":"text","display":"SiteWebDirigeant","deleted":null},{"name":"souhaitrecocontenu_boolean","value":"boolean","display":"SouhaitRecoContenu","deleted":null},{"name":"sourceur_boolean","value":"boolean","display":"Sourceur","default_val":false,"deleted":null},{"name":"structurebnl_text","value":"text","display":"structureBNL","deleted":null},{"name":"t_l_phone_text","value":"text","display":"Téléphone","deleted":null},{"name":"temppwd_boolean","value":"boolean","display":"tempPWD","default_val":false,"deleted":null},{"name":"tes_actions_exp_riment_es___d_tail_text","value":"text","display":"Tes actions expérimentées / détail","deleted":null},{"name":"tes_actions_exp_riment_es_list_option_actionexperimentee","value":"list.option.actionexperimentee","display":"Tes actions expérimentées","deleted":null},{"name":"tes_actions_list_text","value":"list.text","display":"Tes actions à apprendre","deleted":null},{"name":"tes_centres_d_int_r_ts_list_text","value":"list.text","display":"Tes centres d'intérêts","deleted":null},{"name":"tes_comp_tences_list_custom_comp_tences","value":"list.custom.comp_tences","display":"Tes ateliers","deleted":null},{"name":"tes_comp_tences_projets_text","value":"text","display":"Tes compétences projets","deleted":null},{"name":"tes_connaissances_list_custom_comp_tences","value":"list.custom.comp_tences","display":"Tes connaissances","deleted":null},{"name":"tes_formations_list_text","value":"list.text","display":"Tes formations","deleted":null},{"name":"tes_formats_pr_f_r_s_list_text","value":"list.text","display":"Tes formats préférés","deleted":null},{"name":"tes_gardiens_list_user","value":"list.user","display":"Tes gardiens","deleted":null},{"name":"tes_invit_s_list_user","value":"list.user","display":"Tes invités","deleted":null},{"name":"tes_partages_list_custom_partages","value":"list.custom.partages","display":"Tes partages","deleted":false},{"name":"tes_partages_list_option_typedepartage","value":"list.option.typedepartage","display":"Tes partages","deleted":null},{"name":"tes_prestations_pro_list_option_comp_tence_pro","value":"list.option.comp_tence_pro","display":"Tes prestations pro","deleted":null},{"name":"tes_secteuractivit_s_list_text","value":"list.text","display":"Tes secteurs d'activités","deleted":null},{"name":"tes_sujets___developper_list_text","value":"list.text","display":"Tes sujets à developper","deleted":null},{"name":"tesmotivations_list_option_motivations","value":"list.o
240ption.motivations","display":"TesMotivations","deleted":null},{"name":"ton_myc_lium_user","value":"user","display":"Ton Mycélium","deleted":null},{"name":"ton_public_type_option_public","value":"option.public","display":"Ton public type","deleted":null},{"name":"toto_number","value":"number","display":"toto - deleted","deleted":true},{"name":"trancheimpots_option_impots","value":"option.impots","display":"TrancheImpots - deleted","deleted":true},{"name":"type_list_custom_animateurtype","value":"list.custom.animateurtype","display":"type","deleted":null}]} 241window.preloaded['app/derived:{"function_name":"DefaultValues","args":[]}'] = true; 242 243 window._bubble_page_load_data.js_execution_timings.static_js_end_execution = Date.now(); 244 245jQuery.migrateEnablePatches('self-closed-tags');
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.