PageSourceSearch

https://conectaobras-76168.bubbleapps.io/package/static_js/7d9c471…/index/xnull/xfalse/xfalse/xfalse/static.js

js conectaobras-76168.bubbleapps.io collected 2026-10-03 08:22:34 UTC 2,401,325 bytes, 354 lines download raw bytes

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:index'] = 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 = 31;
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['select2'] = true;
31window.__code__ = window.__code__ || {};
32if(!window.__code__['72cfda4646fc75796175600b74cb4f4b4a2df064438392d2a6ac4f61e51d8d36']){window.__code__['72cfda4646fc75796175600b74cb4f4b4a2df064438392d2a6ac4f61e51d8d36']=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&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{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&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
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})}})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
34y-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"(
34){"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();
34module.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
34ssageChannel,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)}
34),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(()=>
34{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()&&current_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
35Choice 2
36Choice 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
36d,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)=>
36{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"}
36],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()&&current_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);})();
37/*! Bundled license information:
38
39buffer/index.js:
40  (*!
41   * The buffer module from node.js, for the browser.
42   *
43   * @author   Feross Aboukhadijeh <https://feross.org>
44   * @license  MIT
45   *)
46*/
47
48}
49
50
51window.preloaded['plugin/first_party:select2'] = true;
52window._bubble_page_load_data.hardcoded_plugins['dbconnector'] = true;
53window.__code__ = window.__code__ || {};
54if(!window.__code__['d324fe9031683a7220b79359af863ba35940288129f9634315d2c09c53fee169']){window.__code__['d324fe9031683a7220b79359af863ba35940288129f9634315d2c09c53fee169']=1;
55
56"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,835 bytes, line 56
56orts:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.byteLength=byteLength;exports2.toByteArray=toByteArray;exports2.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports2){init_define_process_env();init_shim();exports2.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports2.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports2){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports2.Buffer=Buffer4;exports2.SlowBuffer=SlowBuffer;exports2.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports2.kMaxLength=K_MAX_LENGTH;Buffer4.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer4.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer4.prototype,"parent",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer4.prototype,"offset",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>
vendor: 23,596 bytes, line 56
56K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer4.prototype),buf}function Buffer4(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer4.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer4.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer4.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer4.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer4.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer4,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer4.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer4.allocUnsafe=function(size){return allocUnsafe(size)};Buffer4.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer4.prototype),buf}function fromObject(obj){if(Buffer4.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer4.alloc(+length)}Buffer4.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer4.prototype};Buffer4.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer4.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer4.from(b,b.offset,b.byteLength)),!Buffer4.isBuffer(a)||!Buffer4.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer4.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer4.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer4.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer4.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer4.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer4.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer4.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer4.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer4.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer4.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer4.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer4.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer4.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer4.prototype.toLocaleString=Buffer4.prototype.toString;Buffer4.prototype.equals=function(b){if(!Buffer4.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer4.compare(this,b)===0};Buffer4.prototype.inspect=function(){var str="",max=exports2.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer4.prototype[customInspectSymbol]=Buffer4.prototype.inspect);Buffer4.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer4.from(target,target.offset,target.byteLength)),!Buffer4.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer4.from(val,encoding)),Buffer4.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer4.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer4.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer4.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer4.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer4.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer4.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer4.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer4.prototype.readUintLE=Buffer4.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer4.prototype.readUintBE=Buffer4.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer4.prototype.readUint8=Buffer4.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer4.prototype.readUint16LE=Buffer4.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer4.prototype.readUint16BE=Buffer4.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer4.prototype.readUint32LE=Buffer4.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer4.prototype.readUint32BE=Buffer4.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer4.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer4.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer4.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer4.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer4.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer4.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer4.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer4.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer4.prototype.writeUintLE=Buffer4.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUintBE=Buffer4.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUint8=Buffer4.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer4.prototype.writeUint16LE=Buffer4.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeUint16BE=Buffer4.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeUint32LE=Buffer4.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer4.prototype.writeUint32BE=Buffer4.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer4.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 56
56)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer4.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer4.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer4.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer4.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer4.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer4.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer4.prototype.copy=function(target,targetStart,start,end){if(!Buffer4.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,183 bytes, line 56
56if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer4.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer4.isBuffer(val)?val:Buffer4.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports2,module2){init_define_process_env();init_shim();var process2=module2.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{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)}}}
56var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module2.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports2=="object"&&exports2)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module2.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports2){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports2.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
56y-this.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module2.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module2.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module2.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
56:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module2.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module2.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module2.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module2.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module2.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module2.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module2.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module2.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module2.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module2.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var $String=String;module2.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module2.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module2.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject2=require_is_object(),$TypeError=TypeError;module2.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject2(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module2.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
56HARED,{});module2.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module2.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module2.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty10=uncurryThis({}.hasOwnProperty);module2.exports=Object.hasOwn||function(it,key){return hasOwnProperty10(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module2.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol3=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol3.for||Symbol3:Symbol3&&Symbol3.withoutSetter||uid;module2.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol3,name)?Symbol3[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject2=require_is_object(),isSymbol
56=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module2.exports=function(input,pref){if(!isObject2(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject2(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module2.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject2=require_is_object(),document2=global.document,EXISTS=isObject2(document2)&&isObject2(document2.createElement);module2.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module2.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports2.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}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"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module2.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object(),$String=String,$TypeError=TypeError;module2.exports=function(argument){if(isObject2(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports2.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
56:$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"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module2.exports={EXISTS,PROPER,CONFIGURABLE}}});
56var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module2.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap2=global.WeakMap;module2.exports=isCallable(WeakMap2)&&/native code/.test(String(WeakMap2))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys2=shared("keys");module2.exports=function(key){return keys2[key]||(keys2[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject2=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap2=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject2(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap2),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module2.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
56yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module2.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module2.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}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"(exports2,module2){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module2.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module2.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module2.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module2.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module2.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module2.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module2.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
56ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports2.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module2.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys2=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys2,getOwnPropertySymbols(it)):keys2}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module2.exports=function(target,source,exceptions){for(var keys2=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys2.length;i++){var key=keys2[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module2.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module2.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module2.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module2.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module2.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports2.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys2=objectKeys(Properties),length=keys2.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys2[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module2.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
56(),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;module2.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject2=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject2(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module2.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $=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;$({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(value,done){return{value,done}}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module2.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"(exports2,module2){"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");module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module2.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 $=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}});$({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});var require_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports2,module2){"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)});module2.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 $=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});var require_punycode=__commonJS({"node_modules/url/node_modules/punycode/punycode.js"(exports2,module2){init_define_process_env();init_shim();(function(root2){var freeExports3=typeof exports2=="object"&&exports2&&!exports2.nodeType&&exports2,freeModule3=typeof module2=="object"&&module2&&!module2.nodeType&&module2,freeGlobal2=typeof window=="object"&&window;(freeGlobal2.global===freeGlobal2||freeGlobal2.window===freeGlobal2||freeGlobal2.self===freeGlobal2)&&(root2=freeGlobal2);var punycode,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
56= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,key;function error(type){throw RangeError(errors[type])}function map(array,fn){for(var length=array.length,result=[];length--;)result[length]=fn(array[length]);return result}function mapDomain(string,fn){var parts=string.split("@"),result="";parts.length>1&&(result=parts[0]+"@",string=parts[1]),string=string.replace(regexSeparators,".");var labels=string.split("."),encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){for(var output=[],counter=0,length=string.length,value,extra;counter<length;)value=string.charCodeAt(counter++),value>=55296&&value<=56319&&counter<length?(extra=string.charCodeAt(counter++),(extra&64512)==56320?output.push(((value&1023)<<10)+(extra&1023)+65536):(output.push(value),counter--)):output.push(value);return output}function ucs2encode(array){return map(array,function(value){var output="";return value>65535&&(value-=65536,output+=stringFromCharCode(value>>>10&1023|55296),value=56320|value&1023),output+=stringFromCharCode(value),output}).join("")}function basicToDigit(codePoint){return codePoint-48<10?codePoint-22:codePoint-65<26?codePoint-65:codePoint-97<26?codePoint-97:base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((flag!=0)<<5)}function adapt(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/damp):delta>>1,delta+=floor(delta/numPoints);delta>baseMinusTMin*tMax>>1;k+=base)delta=floor(delta/baseMinusTMin);return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var output=[],inputLength=input.length,out,i=0,n=initialN,bias=initialBias,basic,j,index,oldi,w,k,digit,t,baseMinusT;
vendor: 4,443 bytes, line 56
56for(basic=input.lastIndexOf(delimiter),basic<0&&(basic=0),j=0;j<basic;++j)input.charCodeAt(j)>=128&&error("not-basic"),output.push(input.charCodeAt(j));for(index=basic>0?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=base;index>=inputLength&&error("invalid-input"),digit=basicToDigit(input.charCodeAt(index++)),(digit>=base||digit>floor((maxInt-i)/w))&&error("overflow"),i+=digit*w,t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,!(digit<t);k+=base)baseMinusT=base-t,w>floor(maxInt/baseMinusT)&&error("overflow"),w*=baseMinusT;out=output.length+1,bias=adapt(i-oldi,out,oldi==0),floor(i/out)>maxInt-n&&error("overflow"),n+=floor(i/out),i%=out,output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,output=[],inputLength,handledCPCountPlusOne,baseMinusT,qMinusT;for(input=ucs2decode(input),inputLength=input.length,n=initialN,delta=0,bias=initialBias,j=0;j<inputLength;++j)currentValue=input[j],currentValue<128&&output.push(stringFromCharCode(currentValue));for(handledCPCount=basicLength=output.length,basicLength&&output.push(delimiter);handledCPCount<inputLength;){for(m=maxInt,j=0;j<inputLength;++j)currentValue=input[j],currentValue>=n&&currentValue<m&&(m=currentValue);for(handledCPCountPlusOne=handledCPCount+1,m-n>floor((maxInt-delta)/handledCPCountPlusOne)&&error("overflow"),delta+=(m-n)*handledCPCountPlusOne,n=m,j=0;j<inputLength;++j)if(currentValue=input[j],currentValue<n&&++delta>maxInt&&error("overflow"),currentValue==n){for(q=delta,k=base;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,!(q<t);k+=base)qMinusT=q-t,baseMinusT=base-t,output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0))),q=floor(qMinusT/baseMinusT);output.push(stringFromCharCode(digitToBasic(q,0))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,++handledCPCount}++delta,++n}return output.join("")}function toUnicode(input){return mapDomain(input,function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string})}function toASCII(input){return mapDomain(input,function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string})}if(punycode={version:"1.3.2",ucs2:{decode:ucs2decode,encode:ucs2encode},decode,encode,toASCII,toUnicode},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return punycode});else if(freeExports3&&freeModule3)if(module2.exports==freeExports3)freeModule3.exports=punycode;else for(key in punycode)punycode.hasOwnProperty(key)&&(freeExports3[key]=punycode[key]);else root2.punycode=punycode})(exports2)}});var require_decode=__commonJS({"node_modules/querystring/decode.js"(exports2,module2){"use strict";init_define_process_env();init_shim();function hasOwnProperty10(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module2.exports=function(qs,sep,eq2,options){sep=sep||"&",eq2=eq2||"=";var obj={};if(typeof qs!="string"||qs.length===0)return obj;var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;options&&typeof options.maxKeys=="number"&&(maxKeys=options.maxKeys);var len=qs.length;maxKeys>0&&len>maxKeys&&(len=maxKeys);for(var i=0;i<len;++i){var x=qs[i].replace(regexp,"%20"),idx=x.indexOf(eq2),kstr,vstr,k,v;idx>=0?(kstr=x.substr(0,idx),vstr=x.substr(idx+1)):(kstr=x,vstr=""),k=decodeURIComponent(kstr),v=decodeURIComponent(vstr),hasOwnProperty10(obj,k)?Array.isArray(obj[k])?obj[k].push(v):obj[k]=[obj[k],v]:obj[k]=v}return obj}}});var require_encode=__commonJS({"node_modules/querystring/encode.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module2.exports=function(obj,sep,eq2,name){return sep=sep||"&",eq2=eq2||"=",obj===null&&(obj=void 0),typeof obj=="object"?Object.keys(obj).map(function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq2;return Array.isArray(obj[k])?obj[k].map(function(v){return ks+encodeURIComponent(stringifyPrimitive(v))}).join(sep):ks+encodeURIComponent(stringifyPrimitive(obj[k]))}).join(sep):name?encodeURIComponent(stringifyPrimitive(name))+eq2+encodeURIComponent(stringifyPrimitive(obj)):""}}});var require_querystring=__commonJS({"node_modules/querystring/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.decode=exports2.parse=require_decode();
vendor: 6,041 bytes, lines 56-57
56exports2.encode=exports2.stringify=require_encode()}});var require_url=__commonJS({"node_modules/url/url.js"(exports2){init_define_process_env();init_shim();var punycode=require_punycode();exports2.parse=urlParse;exports2.resolve=urlResolve;exports2.resolveObject=urlResolveObject;exports2.format=urlFormat;exports2.Url=Url;function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,delims=["<",">",'"',"`"," ","\r",`
57`,"	"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require_querystring();function urlParse(url2,parseQueryString,slashesDenoteHost){if(url2&&isObject2(url2)&&url2 instanceof Url)return url2;var u2=new Url;return u2.parse(url2,parseQueryString,slashesDenoteHost),u2}Url.prototype.parse=function(url2,parseQueryString,slashesDenoteHost){if(!isString(url2))throw new TypeError("Parameter 'url' must be a string, not "+typeof url2);var rest=url2;rest=rest.trim();var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto,rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes=rest.substr(0,2)==="//";slashes&&!(proto&&hostlessProtocol[proto])&&(rest=rest.substr(2),this.slashes=!0)}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){for(var hostEnd=-1,i=0;i<hostEndingChars.length;i++){var hec=rest.indexOf(hostEndingChars[i]);hec!==-1&&(hostEnd===-1||hec<hostEnd)&&(hostEnd=hec)}var auth,atSign;hostEnd===-1?atSign=rest.lastIndexOf("@"):atSign=rest.lastIndexOf("@",hostEnd),atSign!==-1&&(auth=rest.slice(0,atSign),rest=rest.slice(atSign+1),this.auth=decodeURIComponent(auth)),hostEnd=-1;for(var i=0;i<nonHostChars.length;i++){var hec=rest.indexOf(nonHostChars[i]);hec!==-1&&(hostEnd===-1||hec<hostEnd)&&(hostEnd=hec)}hostEnd===-1&&(hostEnd=rest.length),this.host=rest.slice(0,hostEnd),rest=rest.slice(hostEnd),this.parseHost(),this.hostname=this.hostname||"";var ipv6Hostname=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ipv6Hostname)for(var hostparts=this.hostname.split(/\./),i=0,l=hostparts.length;i<l;i++){var part=hostparts[i];if(part&&!part.match(hostnamePartPattern)){for(var newpart="",j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i),notHost=hostparts.slice(i+1),bit=part.match(hostnamePartStart);bit&&(validParts.push(bit[1]),notHost.unshift(bit[2])),notHost.length&&(rest="/"+notHost.join(".")+rest),this.hostname=validParts.join(".");break}}}if(this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),!ipv6Hostname){for(var domainArray=this.hostname.split("."),newOut=[],i=0;i<domainArray.length;++i){var s=domainArray[i];newOut.push(s.match(/[^A-Za-z0-9_-]/)?"xn--"+punycode.encode(s):s)}this.hostname=newOut.join(".")}var p=this.port?":"+this.port:"",h=this.hostname||"";this.host=h+p,this.href+=this.host,ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),rest[0]!=="/"&&(rest="/"+rest))}if(!unsafeProtocol[lowerProto])for(var i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i],esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae)),rest=rest.split(ae).join(esc)}var hash=rest.indexOf("#");hash!==-1&&(this.hash=rest.substr(hash),rest=rest.slice(0,hash));var qm=rest.indexOf("?");if(qm!==-1?(this.search=rest.substr(qm),this.query=rest.substr(qm+1),parseQueryString&&(this.query=querystring.parse(this.query)),rest=rest.slice(0,qm)):parseQueryString&&(this.search="",this.query={}),rest&&(this.pathname=rest),slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var p=this.pathname||"",s=this.search||"";this.path=p+s}return this.href=this.format(),this};function urlFormat(obj){return isString(obj)&&(obj=urlParse(obj)),obj instanceof Url?obj.format():Url.prototype.format.call(obj)}Url.prototype.format=function(){var auth=this.auth||"";auth&&(auth=encodeURIComponent(auth),auth=auth.replace(/%3A/i,":"),auth+="@");var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=!1,query="";this.host?host=auth+this.host:this.hostname&&(host=auth+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(host+=":"+this.port)),this.query&&isObject2(this.query)&&Object.keys(this.query).length&&(query=querystring.stringify(this.query));var search=this.search||query&&"?"+query||"";return protocol&&protocol.substr(-1)!==":"&&(protocol+=":"),this.slashes||(!protocol||slashedProtocol[protocol])&&host!==!1?(host="//"+(host||""),pathname&&pathname.charAt(0)!=="/"&&(pathname="/"+pathname)):host||(host=""),hash&&hash.charAt(0)!=="#"&&(hash="#"+hash),search&&search.charAt(0)!=="?"&&(search="?"+search),pathname=pathname.replace(/[?#]/g,function(match){return encodeURIComponent(match)}),search=search.replace("#","%23"),protocol+host+pathname+search+hash};function urlResolve(source,relative){return urlParse(source,!1,!0).resolve(relative)}Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,!1,!0)).format()};function urlResolveObject(source,relative){return source?urlParse(source,!1,!0).resolveObject(relative):relative}Url.prototype.resolveObject=function(relative){if(isString(relative)){var rel=new Url;rel.parse(relative,!1,!0),relative=rel}var result=new Url;
57if(Object.keys(this).forEach(function(k){result[k]=this[k]},this),result.hash=relative.hash,relative.href==="")return result.href=result.format(),result;if(relative.slashes&&!relative.protocol)return Object.keys(relative).forEach(function(k){k!=="protocol"&&(result[k]=relative[k])}),slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.path=result.pathname="/"),result.href=result.format(),result;if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol])return Object.keys(relative).forEach(function(k){result[k]=relative[k]}),result.href=result.format(),result;if(result.protocol=relative.protocol,!relative.host&&!hostlessProtocol[relative.protocol]){for(var relPath=(relative.pathname||"").split("/");relPath.length&&!(relative.host=relPath.shift()););relative.host||(relative.host=""),relative.hostname||(relative.hostname=""),relPath[0]!==""&&relPath.unshift(""),relPath.length<2&&relPath.unshift(""),result.pathname=relPath.join("/")}else result.pathname=relative.pathname;if(result.search=relative.search,result.query=relative.query,result.host=relative.host||"",result.auth=relative.auth,result.hostname=relative.hostname||relative.host,result.port=relative.port,result.pathname||result.search){var p=result.pathname||"",s=result.search||"";result.path=p+s}return result.slashes=result.slashes||relative.slashes,result.href=result.format(),result}var isSourceAbs=result.pathname&&result.pathname.charAt(0)==="/",isRelAbs=relative.host||relative.pathname&&relative.pathname.charAt(0)==="/",mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],relPath=relative.pathname&&relative.pathname.split("/")||[],psychotic=result.protocol&&!slashedProtocol[result.protocol];if(psychotic&&(result.hostname="",result.port=null,result.host&&(srcPath[0]===""?srcPath[0]=result.host:srcPath.unshift(result.host)),result.host="",relative.protocol&&(relative.hostname=null,relative.port=null,relative.host&&(relPath[0]===""?relPath[0]=relative.host:relPath.unshift(relative.host)),relative.host=null),mustEndAbs=mustEndAbs&&(relPath[0]===""||srcPath[0]==="")),isRelAbs)result.host=relative.host||relative.host===""?relative.host:result.host,result.hostname=relative.hostname||relative.hostname===""?relative.hostname:result.hostname,result.search=relative.search,result.query=relative.query,srcPath=relPath;else if(relPath.length)srcPath||(srcPath=[]),srcPath.pop(),srcPath=srcPath.concat(relPath),result.search=relative.search,result.query=relative.query;else if(!isNullOrUndefined(relative.search)){if(psychotic){result.hostname=result.host=srcPath.shift();var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):!1;authInHost&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift())}return result.search=relative.search,result.query=relative.query,(!isNull(result.pathname)||!isNull(result.search))&&(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.href=result.format(),result}if(!srcPath.length)return result.pathname=null,result.search?result.path="/"+result.search:result.path=null,result.href=result.format(),result;for(var last=srcPath.slice(-1)[0],hasTrailingSlash=(result.host||relative.host)&&(last==="."||last==="..")||last==="",up=0,i=srcPath.length;i>=0;i--)last=srcPath[i],last=="."?srcPath.splice(i,1):last===".."?(srcPath.splice(i,1),up++):up&&(srcPath.splice(i,1),up--);if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")&&srcPath.unshift(""),hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"&&srcPath.push("");var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):!1;authInHost&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift())}return mustEndAbs=mustEndAbs||result.host&&srcPath.length,mustEndAbs&&!isAbsolute&&srcPath.unshift(""),srcPath.length?result.pathname=srcPath.join("/"):(result.pathname=null,result.path=null),(!isNull(result.pathname)||!isNull(result.search))&&(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.auth=relative.auth||result.auth,result.slashes=result.slashes||relative.slashes,result.href=result.format(),result};Url.prototype.parseHost=function(){var host=this.host,port=portPattern.exec(host);port&&(port=port[0],port!==":"&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)};function isString(arg){return typeof arg=="string"}function isObject2(arg){return typeof arg=="object"&&arg!==null}function isNull(arg){return arg===null}function isNullOrUndefined(arg){return arg==null}}});var require_fs=__commonJS({"(disabled):fs"(){init_define_process_env();init_shim()}});var require_pg_connection_string=__commonJS({"node_modules/pg-connection-string/index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var url2=require_url(),fs=require_fs();function parse(str){if(str.charAt(0)==="/"){var config=str.split(" ");return{host:config[0],database:config[1]}}var result=url2.parse(/ |%[^a-f0-9]|%[a-f0-9][^a-f0-9]/i.test(str)?encodeURI(str).replace(/\%25(\d\d)/g,"%$1"):str,!0),config=result.query;for(var k in config)Array.isArray(config[k])&&(config[k]=config[k][config[k].length-1]);var auth=(result.auth||":").split(":");if(config.user=auth[0],config.password=auth.splice(1).join(":"),config.port=result.port,result.protocol=="socket:")return config.host=decodeURI(result.pathname),config.database=result.query.db,config.client_encoding=result.query.encoding,config;config.host||(config.host=result.hostname);var pathname=result.pathname;if(!config.host&&pathname&&/^%2f/i.test(pathname)){var pathnameSplit=pathname.split("/");config.host=decodeURIComponent(pathnameSplit[0]),pathname=pathnameSplit.splice(1).join("/")}switch(pathname&&pathname.charAt(0)==="/"&&(pathname=pathname.slice(1)||null),
57config.database=pathname&&decodeURI(pathname),(config.ssl==="true"||config.ssl==="1")&&(config.ssl=!0),config.ssl==="0"&&(config.ssl=!1),(config.sslcert||config.sslkey||config.sslrootcert||config.sslmode)&&(config.ssl={}),config.sslcert&&(config.ssl.cert=fs.readFileSync(config.sslcert).toString()),config.sslkey&&(config.ssl.key=fs.readFileSync(config.sslkey).toString()),config.sslrootcert&&(config.ssl.ca=fs.readFileSync(config.sslrootcert).toString()),config.sslmode){case"disable":{config.ssl=!1;break}case"prefer":case"require":case"verify-ca":case"verify-full":break;case"no-verify":{config.ssl.rejectUnauthorized=!1;break}}return config}module2.exports=parse;parse.parse=parse}});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_map=__toESM(require_esnext_iterator_map());init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var freeGlobal=typeof window=="object"&&window&&window.Object===Object&&window,freeGlobal_default=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal_default||freeSelf||Function("return this")(),root_default=root;var Symbol2=root_default.Symbol,Symbol_default=Symbol2;init_define_process_env();init_shim();var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch{}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}var getRawTag_default=getRawTag;init_define_process_env();init_shim();var objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value){return nativeObjectToString2.call(value)}var objectToString_default=objectToString;var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value)?getRawTag_default(value):objectToString_default(value)}var baseGetTag_default=baseGetTag;init_define_process_env();init_shim();function isObjectLike(value){return value!=null&&typeof value=="object"}var isObjectLike_default=isObjectLike;init_define_process_env();init_shim();var isArray=Array.isArray,isArray_default=isArray;init_define_process_env();init_shim();function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}var isObject_default=isObject;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject_default(value))return!1;var tag=baseGetTag_default(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}var isFunction_default=isFunction;init_define_process_env();init_shim();init_define_process_env();init_shim();var coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData;var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var isMasked_default=isMasked;init_define_process_env();init_shim();var funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}var toSource_default=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject_default(value)||isMasked_default(value))return!1;var pattern=isFunction_default(value)?reIsNative:reIsHostCtor;return pattern.test(toSource_default(value))}var baseIsNative_default=baseIsNative;init_define_process_env();init_shim();function getValue(object,key){return object?.[key]}var getValue_default=getValue;function getNative(object,key){var value=getValue_default(object,key);return baseIsNative_default(value)?value:void 0}var getNative_default=getNative;var WeakMap=getNative_default(root_default,"WeakMap"),WeakMap_default=WeakMap;init_define_process_env();init_shim();var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;return length=length??MAX_SAFE_INTEGER,!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}var isIndex_default=isIndex;init_define_process_env();init_shim();function eq(value,other){return value===other||value!==value&&other!==other}var eq_default=eq;init_define_process_env();init_shim();init_define_process_env();init_shim();var MAX_SAFE_INTEGER2=9007199254740991;function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER2}var isLength_default=isLength;function isArrayLike(value){return value!=null&&isLength_default(value.length)&&!isFunction_default(value)}var isArrayLike_default=isArrayLike;init_define_process_env();init_shim();var objectProto4=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto4;return value===proto}var isPrototype_default=isPrototype;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}var baseTimes_default=baseTimes;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike_default(value)&&baseGetTag_default(value)==argsTag}var baseIsArguments_default=baseIsArguments;var objectProto5=Object.prototype,hasOwnProperty3=objectProto5.hasOwnProperty,propertyIsEnumerable=objectProto5.propertyIsEnumerable,isArguments=baseIsArguments_default(function(){return arguments}())?baseIsArguments_default:function(value){return isObjectLike_default(value)&&hasOwnProperty3.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArguments_default=isArguments;init_define_process_env();init_shim();init_define_process_env();init_shim();function stubFalse(){return!1}var stubFalse_default=stubFalse;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer3=moduleExports?root_default.Buffer:void 0,nativeIsBuffer=Buffer3?Buffer3.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse_default,isBuffer_default=isBuffer;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag2="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag2="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array
57]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag2]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag2]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike_default(value)&&isLength_default(value.length)&&!!typedArrayTags[baseGetTag_default(value)]}var baseIsTypedArray_default=baseIsTypedArray;init_define_process_env();init_shim();function baseUnary(func){return function(value){return func(value)}}var baseUnary_default=baseUnary;init_define_process_env();init_shim();var freeExports2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule2=freeExports2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports2=freeModule2&&freeModule2.exports===freeExports2,freeProcess=moduleExports2&&freeGlobal_default.process,nodeUtil=function(){try{var types=freeModule2&&freeModule2.require&&freeModule2.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeUtil_default=nodeUtil;var nodeIsTypedArray=nodeUtil_default&&nodeUtil_default.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary_default(nodeIsTypedArray):baseIsTypedArray_default,isTypedArray_default=isTypedArray;var objectProto6=Object.prototype,hasOwnProperty4=objectProto6.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray_default(value),isArg=!isArr&&isArguments_default(value),isBuff=!isArr&&!isArg&&isBuffer_default(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray_default(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes_default(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty4.call(value,key))&&!(skipIndexes&&(key=="length"||isBuff&&(key=="offset"||key=="parent")||isType&&(key=="buffer"||key=="byteLength"||key=="byteOffset")||isIndex_default(key,length)))&&result.push(key);return result}var arrayLikeKeys_default=arrayLikeKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function overArg(func,transform){return function(arg){return func(transform(arg))}}var overArg_default=overArg;var nativeKeys=overArg_default(Object.keys,Object),nativeKeys_default=nativeKeys;var objectProto7=Object.prototype,hasOwnProperty5=objectProto7.hasOwnProperty;function baseKeys(object){if(!isPrototype_default(object))return nativeKeys_default(object);var result=[];for(var key in Object(object))hasOwnProperty5.call(object,key)&&key!="constructor"&&result.push(key);return result}var baseKeys_default=baseKeys;function keys(object){return isArrayLike_default(object)?arrayLikeKeys_default(object):baseKeys_default(object)}var keys_default=keys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}var hashClear_default=hashClear;init_define_process_env();init_shim();function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}var hashDelete_default=hashDelete;init_define_process_env();init_shim();var HASH_UNDEFINED="__lodash_hash_undefined__",objectProto8=Object.prototype,hasOwnProperty6=objectProto8.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate_default){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty6.call(data,key)?data[key]:void 0}var hashGet_default=hashGet;init_define_process_env();init_shim();var objectProto9=Object.prototype,hasOwnProperty7=objectProto9.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate_default?data[key]!==void 0:hasOwnProperty7.call(data,key)}var hashHas_default=hashHas;init_define_process_env();init_shim();var HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate_default&&value===void 0?HASH_UNDEFINED2:value,this}var hashSet_default=hashSet;function Hash(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear_default;Hash.prototype.delete=hashDelete_default;Hash.prototype.get=hashGet_default;Hash.prototype.has=hashHas_default;Hash.prototype.set=hashSet_default;var Hash_default=Hash;init_define_process_env();init_shim();init_define_process_env();init_shim();function listCacheClear(){this.__data__=[],this.size=0}var listCacheClear_default=listCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq_default(array[length][0],key))return length;return-1}var assocIndexOf_default=assocIndexOf;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf_default(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}var listCacheDelete_default=listCacheDelete;init_define_process_env();init_shim();function listCacheGet(key){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?void 0:data[index][1]}var listCacheGet_default=listCacheGet;init_define_process_env();init_shim();function listCacheHas(key){return assocIndexOf_default(this.__data__,key)>-1}var listCacheHas_default=listCacheHas;init_define_process_env();init_shim();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear_default;ListCache.prototype.delete=listCacheDelete_default;ListCache.prototype.get=listCacheGet_default;ListCache.prototype.has=listCacheHas_default;ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache;init_define_process_env();init_shim();var Map=getNative_default(root_default,"Map"),Map_default=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}var mapCacheClear_default=mapCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}
57var isKeyable_default=isKeyable;function getMapData(map,key){var data=map.__data__;return isKeyable_default(key)?data[typeof key=="string"?"string":"hash"]:data.map}var getMapData_default=getMapData;function mapCacheDelete(key){var result=getMapData_default(this,key).delete(key);return this.size-=result?1:0,result}var mapCacheDelete_default=mapCacheDelete;init_define_process_env();init_shim();function mapCacheGet(key){return getMapData_default(this,key).get(key)}var mapCacheGet_default=mapCacheGet;init_define_process_env();init_shim();function mapCacheHas(key){return getMapData_default(this,key).has(key)}var mapCacheHas_default=mapCacheHas;init_define_process_env();init_shim();function mapCacheSet(key,value){var data=getMapData_default(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}var mapCacheSet_default=mapCacheSet;function MapCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear_default;MapCache.prototype.delete=mapCacheDelete_default;MapCache.prototype.get=mapCacheGet_default;MapCache.prototype.has=mapCacheHas_default;MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache;init_define_process_env();init_shim();function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}var arrayPush_default=arrayPush;init_define_process_env();init_shim();init_define_process_env();init_shim();function stackClear(){this.__data__=new ListCache_default,this.size=0}var stackClear_default=stackClear;init_define_process_env();init_shim();function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}var stackDelete_default=stackDelete;init_define_process_env();init_shim();function stackGet(key){return this.__data__.get(key)}var stackGet_default=stackGet;init_define_process_env();init_shim();function stackHas(key){return this.__data__.has(key)}var stackHas_default=stackHas;init_define_process_env();init_shim();var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache_default){var pairs=data.__data__;if(!Map_default||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache_default(pairs)}return data.set(key,value),this.size=data.size,this}var stackSet_default=stackSet;function Stack(entries){var data=this.__data__=new ListCache_default(entries);this.size=data.size}Stack.prototype.clear=stackClear_default;Stack.prototype.delete=stackDelete_default;Stack.prototype.get=stackGet_default;Stack.prototype.has=stackHas_default;Stack.prototype.set=stackSet_default;var Stack_default=Stack;init_define_process_env();init_shim();init_define_process_env();init_shim();function arrayFilter(array,predicate){for(var index=-1,length=array==null?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}var arrayFilter_default=arrayFilter;init_define_process_env();init_shim();function stubArray(){return[]}var stubArray_default=stubArray;var objectProto10=Object.prototype,propertyIsEnumerable2=objectProto10.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return object==null?[]:(object=Object(object),arrayFilter_default(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable2.call(object,symbol)}))}:stubArray_default,getSymbols_default=getSymbols;init_define_process_env();init_shim();init_define_process_env();init_shim();function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray_default(object)?result:arrayPush_default(result,symbolsFunc(object))}var baseGetAllKeys_default=baseGetAllKeys;function getAllKeys(object){return baseGetAllKeys_default(object,keys_default,getSymbols_default)}var getAllKeys_default=getAllKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();var DataView=getNative_default(root_default,"DataView"),DataView_default=DataView;init_define_process_env();init_shim();var Promise2=getNative_default(root_default,"Promise"),Promise_default=Promise2;init_define_process_env();init_shim();var Set=getNative_default(root_default,"Set"),Set_default=Set;var mapTag2="[object Map]",objectTag2="[object Object]",promiseTag="[object Promise]",
vendor: 8,293 bytes, line 57
57setTag2="[object Set]",weakMapTag2="[object WeakMap]",dataViewTag2="[object DataView]",dataViewCtorString=toSource_default(DataView_default),mapCtorString=toSource_default(Map_default),promiseCtorString=toSource_default(Promise_default),setCtorString=toSource_default(Set_default),weakMapCtorString=toSource_default(WeakMap_default),getTag=baseGetTag_default;(DataView_default&&getTag(new DataView_default(new ArrayBuffer(1)))!=dataViewTag2||Map_default&&getTag(new Map_default)!=mapTag2||Promise_default&&getTag(Promise_default.resolve())!=promiseTag||Set_default&&getTag(new Set_default)!=setTag2||WeakMap_default&&getTag(new WeakMap_default)!=weakMapTag2)&&(getTag=function(value){var result=baseGetTag_default(value),Ctor=result==objectTag2?value.constructor:void 0,ctorString=Ctor?toSource_default(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag2;case mapCtorString:return mapTag2;case promiseCtorString:return promiseTag;case setCtorString:return setTag2;case weakMapCtorString:return weakMapTag2}return result});var getTag_default=getTag;init_define_process_env();init_shim();var Uint8Array2=root_default.Uint8Array,Uint8Array_default=Uint8Array2;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var HASH_UNDEFINED3="__lodash_hash_undefined__";function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED3),this}var setCacheAdd_default=setCacheAdd;init_define_process_env();init_shim();function setCacheHas(value){return this.__data__.has(value)}var setCacheHas_default=setCacheHas;function SetCache(values){var index=-1,length=values==null?0:values.length;for(this.__data__=new MapCache_default;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd_default;SetCache.prototype.has=setCacheHas_default;var SetCache_default=SetCache;init_define_process_env();init_shim();function arraySome(array,predicate){for(var index=-1,length=array==null?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}var arraySome_default=arraySome;init_define_process_env();init_shim();function cacheHas(cache,key){return cache.has(key)}var cacheHas_default=cacheHas;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache_default:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome_default(other,function(othValue2,othIndex){if(!cacheHas_default(seen,othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}var equalArrays_default=equalArrays;init_define_process_env();init_shim();init_define_process_env();init_shim();function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}var mapToArray_default=mapToArray;init_define_process_env();init_shim();function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var setToArray_default=setToArray;var COMPARE_PARTIAL_FLAG2=1,COMPARE_UNORDERED_FLAG2=2,boolTag2="[object Boolean]",dateTag2="[object Date]",errorTag2="[object Error]",mapTag3="[object Map]",numberTag2="[object Number]",regexpTag2="[object RegExp]",setTag3="[object Set]",stringTag2="[object String]",symbolTag="[object Symbol]",arrayBufferTag2="[object ArrayBuffer]",dataViewTag3="[object DataView]",symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag3:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag2:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array_default(object),new Uint8Array_default(other)));case boolTag2:case dateTag2:case numberTag2:return eq_default(+object,+other);case errorTag2:return object.name==other.name&&object.message==other.message;case regexpTag2:case stringTag2:return object==other+"";case mapTag3:var convert=mapToArray_default;case setTag3:var isPartial=bitmask&COMPARE_PARTIAL_FLAG2;if(convert||(convert=setToArray_default),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG2,stack.set(object,other);var result=equalArrays_default(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}var equalByTag_default=equalByTag;init_define_process_env();init_shim();var COMPARE_PARTIAL_FLAG3=1,objectProto11=Object.prototype,hasOwnProperty8=objectProto11.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG3,objProps=getAllKeys_default(object),objLength=objProps.length,othProps=getAllKeys_default(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty8.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}var equalObjects_default=equalObjects;var COMPARE_PARTIAL_FLAG4=1,argsTag3="[object Arguments]",arrayTag2="[object Array]",objectTag3="[object Object]",objectProto12=Object.prototype,hasOwnProperty9=objectProto12.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray_default(object),othIsArr=isArray_default(other),objTag=objIsArr?arrayTag2:getTag_default(object),othTag=othIsArr?arrayTag2:getTag_default(other);objTag=objTag==argsTag3?objectTag3:objTag,othTag=othTag==argsTag3?objectTag3:othTag;var objIsObj=objTag==objectTag3,othIsObj=othTag==objectTag3,isSameTag=objTag==othTag;if(isSameTag&&isBuffer_default(object)){if(!isBuffer_default(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack_default),objIsArr||isTypedArray_default(object)?equalArrays_default(object,other,bitmask,customizer,equalFunc,stack):equalByTag_default(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(bitmask&COMPARE_PARTIAL_FLAG4)){var objIsWrapped=objIsObj&&hasOwnProperty9.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty9.call(other,"__wrapped__");
57if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack_default),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return isSameTag?(stack||(stack=new Stack_default),equalObjects_default(object,other,bitmask,customizer,equalFunc,stack)):!1}var baseIsEqualDeep_default=baseIsEqualDeep;function baseIsEqual(value,other,bitmask,customizer,stack){return value===other?!0:value==null||other==null||!isObjectLike_default(value)&&!isObjectLike_default(other)?value!==value&&other!==other:baseIsEqualDeep_default(value,other,bitmask,customizer,baseIsEqual,stack)}var baseIsEqual_default=baseIsEqual;init_define_process_env();init_shim();function isEqual(value,other){return baseIsEqual_default(value,other)}var isEqual_default=isEqual;init_define_process_env();init_shim();var 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 DropdownComposerInterface,get_composer,decaf=safe_require.safe_require("./u/shared/decaf"),b_fiber
57=safe_require.safe_require("./u/shared/async/b_fiber"),external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),widgets=safe_require.safe_require("./core/widgets"),app_json_consts=safe_require.safe_require("./constants/app_json"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),btype_ids=safe_require.safe_require("./lang/btype_ids"),url=safe_require.safe_require("url"),hydrate=safe_require.safe_require("@bubblegroup/db/hydrate"),Lib=safe_require.safe_require("./lib"),logger=safe_require.safe_require("./logger"),btypes=safe_require.safe_require("./lang/btypes"),r=__require,configuration,pg,tedious,pg_connection_string_parse,dbconnector_mysql;u.on_server()?(r("./../../user_lib"),dbconnector_mysql=r("./utilities/dbconnector_mysql"),pg=r("pg"),pg_connection_string_parse=require_pg_connection_string().parse,tedious=r("tedious"),configuration=r("./../../configuration").default):configuration=safe_require.safe_require("./client_config");u.is_edit_mode()&&({DropdownComposerInterface}=safe_require.safe_require("./editor/composer/static/DropdownComposerInterface"),{get_composer}=safe_require.safe_require("./editor/composer/compatibility/composers"));function get_queries(){let res=appquery.get_public_setting("dbconnector_queries")??"{}";return u.json_parse(res)}var get_connection_strings=()=>u.json_parse(appquery.get_private_setting("dbconnector_connection_strings")??"{}");function get_params_for_bubble(params){let parameters={};function get_editor_for_param(type,param_obj){switch(type){case"text":return param_obj.editor="ShortText";case"area":return param_obj.editor="LongText";case"boolean":return param_obj.editor="Checkbox";case"number":case"date":return param_obj.editor="Basic",param_obj.btype=type;case"file":return param_obj.editor="ShortText",param_obj.value=type,param_obj.need_download_image=!0;default:return param_obj.editor="ShortText"}}if(params!=null)for(let param of params)parameters[param.name]={display:param.name,optional:!1},get_editor_for_param(param.type,parameters[param.name]);return parameters}function query_comparison_object_for_values(query){return{name:query.name,fields:query.final_fields}}var wrapped_get_queries=u.autorun_cache({fn:get_queries,compare_fn(a,b){return isEqual_default(Object.values(a).map(query_comparison_object_for_values),Object.values(b).map(query_comparison_object_for_values))}}),cls=class extends external.Service{constructor(){super(),this.public_values=u.autorun_cache(this.__public_values),this.values=u.autorun_cache(this.__values),this.public_calls=u.autorun_cache(this.__public_calls),this.action_calls=u.autorun_cache(this.__action_calls),this.calls=u.autorun_cache(this.__calls),this.authenticator=new external.NoAuth}get dynamic_calls(){return!0}__public_values(){return decaf.object_values(get_queries()).filter(query_data=>query_data.name!=null).map(query_data=>query_data.name)}__values(){let vals={},object=wrapped_get_queries();for(let query_id in object){let query_data=object[query_id];query_data.name!=null&&(vals[query_data.name]=new external.StructValue(query_data.name,query_data.final_fields,{storable:!0}))}return vals}__public_calls(){return decaf.object_values(get_queries()).filter(query_data=>["both","datasource"].includes(query_data.publish_as)&&query_data.name!=null).map(query_data=>query_data.name)}__action_calls(){return decaf.object_values(get_queries()).filter(query_data=>["both","action"].includes(query_data.publish_as)&&query_data.name!=null).map(query_data=>query_data.name)}__calls(){let calls={},object=get_queries();for(let id in object){let call_data=object[id];if(call_data.name!=null){let name=call_data.name;calls[name]=class extends external.Call{get human(){return name}get _must_proxy(){return!0}get btype_id(){return call_data.final_fields&&!u.is_empty(call_data.final_fields)?btype_ids.api_type("dbconnector."+name):null}static can_be_used_as_action=(()=>["both","action"].includes(call_data.publish_as))();get is_list(){return!0}get category(){return"data (things)"}get parameters(){return get_params_for_bubble(call_data.params)}get call_raw_data(){return call_data}execute(prev,properties,authentication,_raw,context){return u.on_client()?super.execute(prev,properties,authentication,_raw,context):activityApm.traceSpan("plugin_sql_connector",{},_ref=>{let{recordActivity}=_ref,query,object1=get_queries();for(let id2 in object1){let q=object1[id2];q.name===this.name&&(query=q)}let values=[];for(let _ in this.parameters){let param=this.parameters[_];values.push(properties[param.display])}let cs=get_connection_strings()?.[query?.cs_id],res;cs?.type==="postgres"?res=run_pg_query(cs,query,values).rows:cs?.type==="mysql"?res=dbconnector_mysql.run_mysql_query(cs.text,query.text,values,!1,get_error_for_user).rows:cs?.type==="mssql"&&(res=run_mssql_query(cs,query,values).rows);let cleaned_list=[];for(let item of res??[]){let clean_obj={};for(let field_name in call_data.final_fields){let{ret_btype}=call_data.final_fields[field_name];["geographic_address","date","number","boolean"].includes(ret_btype)?clean_obj[field_name]=btypes.get(ret_btype).cast(item[field_name]):clean_obj[field_name]=item[field_name]}clean_obj._id||(clean_obj._id=u.incremental_digest(clean_obj)),cleaned_list.push(clean_obj)}return recordActivity("plugin_sql_connector",{calls:1,rows:cleaned_list.length}),cleaned_list})}}}}return calls}},dbconnector={get_queries,get_connection_strings,cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.dbconnector=dbconnector);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin(known_plugins_consts.DB_CONNECTOR,dbconnector);})();
58/*! Bundled license information:
59
60buffer/index.js:
61  (*!
62   * The buffer module from node.js, for the browser.
63   *
64   * @author   Feross Aboukhadijeh <https://feross.org>
65   * @license  MIT
66   *)
67
68punycode/punycode.js:
69  (*! https://mths.be/punycode v1.3.2 by @mathias *)
70
71lodash-es/lodash.js:
72  (**
73   * @license
74   * Lodash (Custom Build) <https://lodash.com/>
75   * Build: `lodash modularize exports="es" -o ./`
76   * Copyright OpenJS Foundation and other contributors <https://
vendor: 6,862 bytes, lines 76-91
76openjsf.org/>
77   * Released under MIT license <https://lodash.com/license>
78   * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
79   * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
80   *)
81*/
82
83}
84
85
86window.preloaded['plugin/first_party:dbconnector'] = true;
87window._bubble_page_load_data.hardcoded_plugins['draggableui'] = true;
88window.__code__ = window.__code__ || {};
89if(!window.__code__['07aa7238a628e69e2c62052d19693274a881bfc466fe42d830275ab9b9814b07']){window.__code__['07aa7238a628e69e2c62052d19693274a881bfc466fe42d830275ab9b9814b07']=1;
90
91"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{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 91
91K_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 91
91)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 91
91if(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)}}}
91var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{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
91y-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)}
91:$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
91HARED,{});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
91=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&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
91:$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}}});
91var 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
91yThis([].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
91ing","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 91
91(),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
91y-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"(
91){"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 external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),shared_fields=safe_require.safe_require("./core/shared_fields"),groups=safe_require.safe_require("./core/core_elements/shared/groups"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),core_actions=safe_require.safe_require("./core/core_actions"),appquery=safe_require.safe_require("./lang/appquery"),Lib=safe_require.safe_require("./lib"),btypes=safe_require.safe_require("./lang/btypes"),logger=safe_require.safe_require("./logger"),core_consts=safe_require.safe_require("./constants/core"),core_ds_workflow_utilities=safe_require.safe_require("./core/core_datasources/utilities/core_ds_workflow_utilities"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),workflow_utils=safe_require.safe_require("./lang/workflow/workflow_utils"),shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var LegacyContainerComponent=safe_require.safe_require("./core/core_elements/components/LegacyContainerComponent"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("draggableui-DroppableGroup");var property_applications=safe_require.safe_require("./core/property_applications");element_modifications.set_legacy_element_modifications("draggableui-Dropzone");function _child_mov(instance,max_delta){let height=instance.element.get_height()+max_delta;(instance.is_visible()||!instance._has_been_hidden)&&instance.set_height(height)}var PLUGIN_FILE="draggableui",DRAGGED_Z_INDEX=1e7;function droppable_group_initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();if(instance.run_mode()){let parent_offset=canvas.parent().offset(),canvas_offset=canvas.offset();instance.state("x_position",canvas_offset.left-parent_offset.left),instance.state("y_position",canvas_offset.top-parent_offset.top),instance.on_message("child_movement",max_delta=>_child_mov(instance,max_delta));let clone_container=null,clone_ref=null,stored_parent_ref=null,stored_parent_overflow_style=null,offset_necessary=null,helper_necessary=determine_helper(instance);canvas.draggable({containment:instance.get_static_property("constrained")?instance.parent().get_canvas():void 0,revert:instance.get_static_property("droppable")?"invali
91d":!1,revertDuration:200,cancel:"input, textarea, select, option",helper:helper_necessary,start(event,ui){if(instance.state("dragged",!0),instance.initial={top:canvas[0].style.top,left:canvas[0].style.left},helper_necessary==="clone"){if(clone_ref=ui.helper[0],offset_necessary===null&&(offset_necessary=determine_clone_properties(instance,canvas).offset_necessary,stored_parent_ref=determine_clone_properties(instance,canvas).parent_ref),offset_necessary){let helper_placement=canvas.offset();clone_container=document.createElement("div"),clone_container.style.position="absolute",clone_container.style.left=`${helper_placement.left-ui.position.left}px`,clone_container.style.top=`${helper_placement.top-ui.position.top}px`,clone_container.style.overflow="visible",clone_ref.style.left=`${ui.position.left}px`,clone_ref.style.top=`${ui.position.top}px`,clone_ref.style.placeSelf="",clone_ref.style.minWidth="",clone_ref.style.maxWidth="",clone_ref.style.minHeight="",clone_ref.style.maxHeight="",clone_ref.style.width=`${canvas.outerWidth()}px`,clone_ref.style.height=`${canvas.outerHeight()}px`,clone_container.appendChild(clone_ref),document.body.appendChild(clone_container)}stored_parent_ref!=null&&(stored_parent_overflow_style=stored_parent_ref.style.overflow,stored_parent_ref.style.overflow="visible"),clone_ref.style["z-index"]=DRAGGED_Z_INDEX,canvas.hide()}else canvas[0].style["z-index"]=DRAGGED_Z_INDEX},drag(){let{top,left}=canvas.offset();if(helper_necessary==="clone")for(let item of clone_ref.style)["offsetTop","offsetLeft","z-index","left","top","display","width","height"].includes(item)||(clone_ref.style[item]=canvas[0].style[item]);let parent_data=canvas.parent().offset();instance.state("x_position",left-parent_data.left),instance.state("y_position",top-parent_data.top)},stop(){instance.state("dragged",!1),canvas.show(),clone_container!=null&&document.body.removeChild(clone_container),stored_parent_ref!=null&&(stored_parent_ref.style.overflow=stored_parent_overflow_style)}}),canvas.on("mousedown",evt=>{!$(evt.target).is("input")&&!$(evt.target).is("textarea")&&canvas.find("input, textarea").blur()}),element_eval.on_property_change(instance,"disabled",val=>{canvas.draggable(val?"disable":"enable"),val?canvas.removeClass("grabbable movable"):instance.get_static_property("droppable")?canvas.addClass("droppable-element grabbable"):canvas.addClass("draggable-element movable")})}}function dropzone_initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas();instance.run_mode()&&(instance.on_message("child_movement",max_delta=>_child_mov(instance,max_delta)),instance.autorun(()=>{instance.should_collapse()&&instance.state("hovered_by_drag",!1)}),canvas.droppable({accept:".droppable-element",tolerance:instance.get_static_property("tolerance"),over(){instance.state("hovered_by_drag",!0)},out(){instance.state("hovered_by_drag",!1)},drop(event,ui){instance.state("hovered_by_drag",!1);let dropped_instance=ui.draggable[0].bubble_data.bubble_instance,_move_back=()=>{u.velocity(dropped_instance.get_canvas(),dropped_instance.initial,{duration:0})},events=instance.element.get_related_workflows("draggableui-DroppedOn"),to_run=[],bad_events=[];for(event of events){let event_type=event.get_static_property("custom_event_data_type");event_type==null||event_type===dropped_instance.get_static_property("group_type")?to_run.push(event):bad_events.push(event)}if(plugin_version()===0&&to_run.length===0||dropped_instance.get_static_property("post_event")==="move_back"?_move_back():u.velocity(dropped_instance.get_canvas(),"fadeOut",u.extend({duration:200,complete_cb(){dropped_instance.workflow_hide(),dropped_instance.get_canvas().css("opacity",1)}},instance.get_hidden_css())),to_run.length&&element_workflows.run_element_workflow(instance,"draggableui-DroppedOn",event,to_run,{get_wf_param:core_ds_workflow_utilities.generate_wf_param_datasource({[core_consts.LEGACY_PARAM_ID]:()=>dropped_instance.state("group_data")})}),bad_events.length)for(let bad_event of bad_events)logger.owner_error("There is a type mismatch between the dropped group and the workflow type",{event:bad_event,element_instance:instance})}}),instance.on_destroy(()=>{canvas.droppable("destroy")}))}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements(),this.actions=this._get_initial_actions(),this.events=this._get_initial_events()}_get_initial_elements(){return{DroppableGroup:u.extend({},groups.group_element_definition,{display:"Drag/drop Group",icon:"ion-android-hand",category:"containers",supported_platforms:"web",condition(root){return!root?.is_mobile?.()},defaults:{width:400,height:400,fixed_width:!0},field_names:u.extend({},groups.container_field_names,{constrained:{no_states:!0,default:!1},droppable:{no_states:!0,default:!1},disabled:{default:!1},post_event:{default:"hide",no_states:!0}}),uses_css_responsive:!0,can_fit_width:!0,can_fit_height:!0,solid_component:LegacyContainerComponent,initialize:droppable_group_initialize,legacy_container_mount:droppable_group_initialize,get_states(element){return["dragged"]},add_specific_messages(messages,element){return u.extend(messages,{is_dragged:{description:" is dragged",is_client_state(){return!0},section:"States",ret_btype:"boolean",fn(a,b){return a?.state("dragged")}},x_position:{description:"'s X position",is_client_state(){return!0},section:"States",ret_btype:"number",fn(a,b){return a?.state("x_position")}},y_position:{description:"'s Y position",is_client_state(){return!0},section:"States",ret_btype:"number",fn(a,b){return a?.state("y_position")}}})},get_state_value(element,name){if(name==="group_data")return element.get_static_property("group_type");if(name==="dragged")return"boolean"},get_private_messages(element){return["child_movement"]},jquery_plugins(){return["jquery_plugins/jquery-ui.draggable.min","jquery_plugins/jquery.ui.touch-punch.min"]},only_send_to_client_in_runmode:!0,css_files:["css/optional/draggableui.css"],events:[],actions:["ResetGroup","DisplayGroupData","draggableui-MoveElement"],
91check_for_errors(element,report){return groups._check_for_errors_datasource_set_to_self(element,"get_group_data",report)}}),Dropzone:u.extend({},groups.group_element_definition,{display:"Drop Area",icon:"ion-ios-download",supported_platforms:"web",condition(root){return!root?.is_mobile?.()},defaults:{width:300,height:300,border_style:"solid",border_width:1,border_color:"#BDBDBD",border_roundness:3,background_style:"bgcolor",bgcolor:"#F0F0F0"},default_states:[{condition:{type:"ThisElement",next:{type:"Message",name:"is_dragged_over"}},properties:{bgcolor:"#E0E0E0"}}],field_names:u.extend({},groups.container_field_names,{tolerance:{no_states:!0,default:"intersect"}}),uses_css_responsive:!0,can_fit_width:!0,can_fit_height:!0,solid_component:LegacyContainerComponent,initialize:dropzone_initialize,legacy_container_mount:dropzone_initialize,get_states(element){return["hovered_by_drag"]},get_private_messages(element){return["child_movement"]},get_state_value(element,name){if(name==="group_data")return element.get_static_property("group_type");if(name==="hovered_by_drag")return"boolean"},add_specific_messages(messages,element){return u.extend(messages,{is_dragged_over:{description:" is dragged over",is_client_state(){return!0},section:"States",ret_btype:"boolean",fn(a,b){return a?.state("hovered_by_drag")}}})},jquery_plugins(){return["jquery_plugins/jquery-ui.draggable.min"]},only_send_to_client_in_runmode:!0,events:["draggableui-DroppedOn"],check_for_errors(element,report){return groups._check_for_errors_datasource_set_to_self(element,"get_group_data",report)}})}}_get_initial_events(){return{DroppedOn:{_display(){return" has a group dropped on it"},element_name:"A drop area",field_names:{element_id:{},custom_event_data_type:{}},_fields(event){return[{name:"custom_event_data_type",caption:"Type of thing",editor:"Dropdown",set:btypes_dropdowns.displayableInListBtypes(),optional:!0}]},check_for_errors(event,report){let type=event?.get_static_property("custom_event_data_type");if(type){let page_drag_groups=event.root().find_elements("draggableui-DroppableGroup"),found_group_with_type=!1;for(let a of page_drag_groups)if(a.get_static_property("group_type")===type){found_group_with_type=!0;break}found_group_with_type||report(this.display(event)+": the type of thing for this workflow is "+btypes.get(type).display()+" but no drag/drop group on the page has this type of content.")}}}}}_get_initial_actions(){return{MoveElement:{display(action){let target=appquery.element
91(action?.element_id());return"Move "+(target?target.get_name():"a draggable group")},field_names:{element_id:{},moving_type:{default:"element"},reference:{},offset_top:{default:0},offset_left:{default:0},top_position:{},left_position:{},animation_delay:{default:500}},run(action,properties,context,cb){u.run_once(30,()=>({instance:context.element.find_instance_by_id(properties.element_id),reference:context.element.find_instance_by_id(properties.reference)}),(err,res)=>{if(err){logger.log(err);return}let{instance,reference}=res;if(!instance){cb();return}let new_position=null;if(properties.moving_type==="coords"){if(properties.top_position==null||properties.left_position==null){cb();return}new_position={top:properties.top_position,left:properties.left_position}}else{if(reference==null){cb();return}let{top,left}=reference.get_canvas().offset(),instance_canvas=instance.get_canvas(),offset_difference={top:instance_canvas.offset().top-parseInt(instance_canvas.css("top"),10),left:instance_canvas.offset().left-parseInt(instance_canvas.css("left"),10)};new_position={left:left+properties.offset_left-offset_difference.left,top:top+properties.offset_top-offset_difference.top}}instance.state("x_position",new_position.left),instance.state("y_position",new_position.top),u.velocity(instance.get_canvas(),new_position,{duration:properties.animation_delay}),cb()})},data_to_refresh:null}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"'Hide group' applies even when no workflow is attached",type:"client_safe",editor:"Checkbox"}}}};function determine_helper(instance){return instance.get_static_property("droppable")&&!instance.get_static_property("constrained")?"clone":"original"}function determine_clone_properties(instance,canvas){let ret_value={offset_necessary:!1,parent_ref:null},parent=canvas.parent();for(;parent?.length&&parent[0].style!=null;){if(u.get_element(parent).element?.E.category==="containers"&&(ret_value.offset_necessary=!0),parent.hasClass("GroupFocus")){ret_value.parent_ref=parent[0],ret_value.offset_necessary=!1;break}parent=parent.parent()}return ret_value}function plugin_version(){return Lib()?appquery.get_public_setting("draggableui_installed_version")??0:1}var draggableui={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.draggableui=draggableui);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("draggableui",draggableui);})();
92/*! Bundled license information:
93
94buffer/index.js:
95  (*!
96   * The buffer module from node.js, for the browser.
97   *
98   * @author   Feross Aboukhadijeh <https://feross.org>
99   * @license  MIT
100   *)
101*/
102
103}
104
105
106window.preloaded['plugin/first_party:draggableui'] = true;
107window._bubble_page_load_data.hardcoded_plugins['progressbar'] = true;
108window.__code__ = window.__code__ || {};
109if(!window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']){window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']=1;
110
111"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 111
111+/";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 111
111)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 111
111if(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)}}}
111var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var 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;
111bar_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);})();
112/*! Bundled license information:
113
114buffer/index.js:
115  (*!
116   * The buffer module from node.js, for the browser.
117   *
118   * @author   Feross Aboukhadijeh <https://feross.org>
119   * @license  MIT
120   *)
121*/
122
123}
124
125
126window.preloaded['plugin/first_party:progressbar'] = true;
127window._bubble_page_load_data.hardcoded_plugins['fullcalendar'] = true;
128window.__code__ = window.__code__ || {};
129if(!window.__code__['48b32efd2f44685b650c61646ceefe624b7f36e9971f2c36472315c297e29e6f']){window.__code__['48b32efd2f44685b650c61646ceefe624b7f36e9971f2c36472315c297e29e6f']=1;
130
131"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 131
131orts:{}}).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 131
131K_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 131
131)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 131
131if(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)}}}
131var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{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
131y-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)}
131:$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
131HARED,{});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
131=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&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
131:$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}}});
131var 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
131yThis([].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
131ing","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
131(),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
131y-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"(
131){"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})}});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_map=__toESM(require_esnext_iterator_map());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 btype_ids=safe_require.safe_require("./lang/btype_ids"),shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),Lib=safe_require.safe_require("./lib"),runmode_consts=safe_require.safe_require("./constants/runmode"),appquery=safe_require.safe_require("./lang/appquery"),btypes=safe_require.safe_require("./lang/btypes"),shared_fields=safe_require.safe_require("./core/shared_fields"),lang=safe_require.safe_require("./lang/lang"),languages=safe_require.safe_require("./languages"),logger=safe_require.safe_require("./logger"),groups=safe_require.safe_require("./core/core_elements/shared/groups"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),dropdowns=safe_require.safe_require("./core/core_elements/shared/dropdowns"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),property_applications=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("fullcalendar-Calendar");var PLUGIN_FILE="fullcalendar",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{Calendar:{display:"Calendar",category:"visual elements",icon:"ion-android-calendar",condition(root){return!root?.is_mobile?.()},defaults:{width:670,height:440,collapse_margin:500},field_names:{event_type:{no_states:!0},data_source:{},event_starting_date_field:{no_states:!0},event_end_date_field:{no_states:!0},all_day_field:{no_states:!0},event_description_expression:{},draggable:{no_states:!0},resizable:{no_states:!0},starting_date:{no_states:!0},available_views:{default:"all",no_states:!0},show_weekends:{default:!0},first_day:{default:"sunday"},events_days_are_selectable:{default:!0,no_states:!0},event_color_is_dynamic:{no_states:!0,default:!1},event_color:{default:"#3a87ad",in_style:!0}
131,dynamic_event_color_field:{},selected_event_color:{default:"#1E5F87",in_style:!0},selected_day_color:{default:"#EBDD75",in_style:!0},current_day_color:{default:"#fcf8e3",in_style:!0},event_display:{default:"block"}},property_applications:[new property_applications.Font,new property_applications.Background,new property_applications.Dimensions,new property_applications.Border,new property_applications.BoxShadow,new property_applications.Padding,new property_applications.ResponsiveElement],get_min_width(){return 0},get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas(),calendar_wrapper=u.div("calendar-wrapper",canvas),everything_ready_key=window.everything_ready?.().make(null,"FullCalendar loaded"),current_view_cache={current_view:null,current_date:null};instance.wait_for_visible(()=>{instance.setTimeout(()=>{element_eval.pre_cache(instance,ALL_PROPS),instance.autorun(()=>{let{options,properties}=build_options(instance,calendar_wrapper,current_view_cache);properties.width>0&&instance.ensure_visible();let events=[];if(instance.run_mode())events=get_events(instance);else if(instance.edit_mode){let date=new Date;events=[{title:"Event",start:date,end:date}]}options.events=events,instance.calendar=new window.FullCalendar.Calendar(calendar_wrapper.get()[0],options),instance.calendar.render(),calendar_wrapper.addClass(runmode_consts.CLICKABLE_ELEMENT),calendar_wrapper.find(".fc-day-today").css("background-color",properties.current_day_color),instance.autorun(()=>{let view;if(current_view_cache.current_view)view=current_view_cache.current_view;else switch(properties.available_views){case"month_only":view="dayGridMonth";break;case"week_only":view="timeGridWeek";break;case"day_only":view="timeGridDay";break;default:view="dayGridMonth"}let date_to_go_to=current_view_cache.current_date??element_eval.evaluate_property(instance,"starting_date");instance.calendar.changeView(view),date_to_go_to&&instance.calendar.gotoDate(date_to_go_to)}),everything_ready_key?.turn()}),instance.on_destroy(()=>instance.calendar.destroy())},1)})},get_injected_btype(element){return element.get_static_property("event_type")},get_injected_display(){return"Current event"},use_injected_datasource(node){return dropdowns.use_injected_datasource("event_description_expression",node)},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!1,contains_group_data:!1,get_states(element){return["event_list","currently_selected_event","currently_selected_day","currently_selected_day_events","current_view_range"]},add_specific_messages(messages,element){let event=element.get_state_value("currently_selected_event");event&&u.extend(messages,{get_currently_selected_event:{description:"'s current event",is_client_state(){return!0},section:"States",ret_btype:event,fn(a){return a?.state("currently_selected_event")??this.ret_btype_null()}}});let event_type=element.get_static_property("event_type");return u.extend(messages,{get_currently_selected_days_event:{description:"'s current day's events",is_client_state(){return!0},ret_btype:btype_ids.list_type(event_type),fn(a,b,properties,_raw,context,options,host){return this.ret_btype().cast(host,a?.state("currently_selected_day_events"))}},get_currently_selected_day:{description:"'s current day",is_client_state(){return!0},ret_btype:"date",fn(a){return a?.state("currently_selected_day")??this.ret_btype_null()}},get_current_view_range:{description:"'s current date range",is_client_state(){return!0},ret_btype:"date_range",fn(a){return a?.state("current_view_range")??this.ret_btype_null()}}})},get_state_value(element,name){if(name==="currently_selected_event")return element.get_static_property("event_type");if(name==="currently_selected_day")return"date";if(name==="currently_selected_day_events")return btype_ids.list_type(element.get_static_property("event_type"));if(name==="current_view_range")return"date_range"},jquery_plugins(){return["jquery_plugins/fullcalendar-v5.min"]},css_files:["css/optional/fullcalendar-v5.css"],events:["fullcalendar-CalendarEventClicked","fullcalendar-CalendarDayClicked"],check_for_errors(element,report){return groups._check_for_errors_datasource_set_to_self(element,"get_group_data",report)}}}}_get_initial_events(){return{CalendarEventClicked:{_display(){return"'s event is clicked"},element_name:"A calendar"},CalendarDayClicked:{_display(){return"'s day is clicked"},element_name:"A calendar"}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}};function build_locale_object(language){let a=t=>Lib().get_text("fullcalendar",t),iso_code=languages.get_iso_code(language);return{code:languages.format_iso_code_for_browser(iso_code),buttonText:{today:a("BUTTONTEXT_TODAY"),month:a("BUTTONTEXT_MONTH"),week:a("BUTTONTEXT_WEEK"),day:a("BUTTONTEXT_DAY"),list:a("BUTTONTEXT_LIST")},allDayText:a("ALLDAYTEXT").replace("<br/>",`
132`),moreLinkText:a("BUTTONTEXT_MORE")}}function build_localized_views(){let date_format_strings=Lib().get_text("BUILT_IN","DATE_FORMAT"),month_day_header_format="ddd",week_day_header_format=Lib().get_text("fullcalendar","COLUMNFORMAT_WEEK").toLowerCase(),day_day_header_format="dddd";return{dayGridMonth:{dayHeaderFormat(date_obj){let date=date_obj.date.marker;return u.format_date(date,month_day_header_format,date_format_strings,"UTC")}},timeGridWeek:{dayHeaderFormat(date_obj){let date=date_obj.date.marker;return u.format_date(date,week_day_header_format,date_format_strings,"UTC")}},timeGridDay:{dayHeaderFormat(date_obj){let date=date_obj.date.marker;return u.format_date(date,day_day_header_format,date_format_strings,"UTC")}}}}
132var ALL_PROPS=["current_day_color","event_color","first_day","show_weekends","height","width","padding_vertical","padding_horizontal","font_size","available_views","event_display","hide_excess_events"];function get_events(instance){let range_value=btypes.get("date_range"),custom_val=btypes.get(element_eval.evaluate_property(instance,"event_type")),event_starting_date_field=element_eval.evaluate_property(instance,"event_starting_date_field"),event_starting_date_msg=custom_val.get_message(event_starting_date_field),use_date_range=event_starting_date_msg.ret_btype().id()==="date_range",event_end_date_field=element_eval.evaluate_property(instance,"event_end_date_field"),all_day_field=element_eval.evaluate_property(instance,"all_day_field"),dynamic_event_color_field=element_eval.evaluate_property(instance,"dynamic_event_color_field"),event_data=element_eval.evaluate_property(instance,"data_source")??null,event_data_filtered,event_data_empty_end;if(!1){let min=range_value.get_message("min").evaluate(instance.state("current_view_range")).valueOf()-36e3,max=range_value.get_message("max").evaluate(instance.state("current_view_range")).valueOf()+24*60*60*1e3,new_constraints=[{constraint_type:use_date_range?"range_greater_than_point":"greater than",key:event_starting_date_field,value:min}];if(new_constraints.push({constraint_type:use_date_range?"range_less_than_point":"less than",key:event_end_date_field||event_starting_date_field,value:max}),event_data_filtered=event_data.filter(new_constraints),event_end_date_field){let event_data_empty_end_constraints=[{constraint_type:"greater than",key:event_starting_date_field,value:min},{constraint_type:"is_empty",key:event_starting_date_field}];event_data_empty_end=event_data.filter(event_data_empty_end_constraints)}}else event_data_filtered=event_data;let new_events=[],context=instance.get_injected_context(null,instance.element.get_static_property("event_type")),raw_events=event_data_filtered?.all?.()??[];raw_events.push(...event_data_empty_end?.all?.()??[]);for(let raw_event of raw_events)context.datasources.injected_value=()=>raw_event,u.run_once(10,()=>element_eval.eval_property_with_states(instance.element,"event_description_expression",context),()=>{},!0);for(let raw_event of event_data?.all?.()??[]){context.datasources.injected_value=()=>raw_event;let processed_event={bubble_object:raw_event,title:element_eval.eval_property_with_states(instance.element,"event_description_expression",context)};if(use_date_range){let range_val=event_starting_date_msg.evaluate(raw_event);processed_event.start=range_value.get_message("min").evaluate(range_val),processed_event.end=range_value.get_message("max").evaluate(range_val)}else if(processed_event.start=new Date(event_starting_date_msg.evaluate(raw_event)),event_end_date_field){let event_end_date_msg=custom_val.get_message(event_end_date_field);processed_event.end=new Date(event_end_date_msg.evaluate(raw_event))}if(all_day_field&&(processed_event.allDay=custom_val.get_message(all_day_field).evaluate(raw_event)),instance.get_static_property("event_color_is_dynamic")&&dynamic_event_color_field){let dynamic_event_color_msg=custom_val.get_message(dynamic_event_color_field);processed_event.color=dynamic_event_color_msg.evaluate(raw_event)}new_events.push(processed_event)}return new_events}var INITIAL_DATES_SET_INVOCATIONS=2;function build_options(instance,calendar_wrapper,current_view_cache){let options={direction:languages.is_rtl(Lib().app_language())?"rtl":"ltr",locale:build_locale_object(Lib().app_language()),selectable:instance.get_static_property("events_days_are_selectable"),headerToolbar:{left:"today prev,next",center:"title"},views:build_localized_views()},properties={};for(let prop of ALL_PROPS)properties[prop]=element_eval.evaluate_property(instance,prop);properties.available_views==="all"?options.headerToolbar.right="dayGridMonth,timeGridWeek,timeGridDay":options.headerToolbar.right="",options.firstDay=properties.first_day==="monday"?1:0,options.dayMaxEventRows=properties.hide_excess_events,options.weekends=properties.show_weekends,options.eventColor=properties.event_color;let calendar_height=properties.height-2*properties.padding_vertical-property_applications.calculate_border_height(instance),calendar_width=properties.width-2*properties.padding_horizontal-property_applications.calculate_border_width(instance);if(options.height=calendar_height,options.aspectRatio=calendar_width/calendar_height,options.eventDisplay=properties.event_display,instance.run_mode()){let unselect_events2=function(cb){instance.state("currently_selected_event",null);for(let event_element of calendar_wrapper.find(".fc-event.selected")){let unselected_color=$(event_element).data("unselected-color");$(event_element).css({"border-color":unselected_color,"background-color":unselected_color})}calendar_wrapper.find(".fc-event.selected").removeClass("selected"),cb?.()},unselect_days2=function(cb){instance.state("currently_selected_day",null),u.run_once(30,()=>element_eval.evaluate_property(instance,"current_day_color"),(err,current_day_color)=>{calendar_wrapper.find(".fc-day").not(".fc-day-today").css({"background-color":"transparent"}),err?logger.log(err):calendar_wrapper.find(".fc-day.fc-day-today").css({"background-color":current_day_color}),cb?.()})},get_thing_fields_type_msgs2=function(event){let thing=event.extendedProps.bubble_object,type=element_eval.evaluate_property(instance,"event_type"),start_field=element_eval.evaluate_property(instance,"event_starting_date_field"),end_field=element_eval.evaluate_property(instance,"event_end_date_field"),all_day_field=element_eval.evaluate_property(instance,"all_day_field"),custom_val=btypes.get(type),date_val=btypes.get("date");return{thing,type,start_field,end_field,custom_val,date_val,all_day_field}};var unselect_events=unselect_events2,unselect_days=unselect_days2,get_thing_fields_type_msgs=get_thing_fields_type_msgs2;let dates_set_invocation=0;options.datesSet=function(evt){return dates_set_invocation++,dates_set_invocation>INITIAL_DATES_SET_INVOCATIONS&&(calendar_wrapper.find(".fc-day-today").css("background-color",properties.current_day_color),current_view_cache.current_date=instance.calendar.getDate(),current_view_cache.current_view=instance.calendar.view.type),instance.state("current_view_range",[evt.start,evt.end])};let get_parent_and_self=(div,sel)=>
132div.parents(sel).addBack(sel);options.eventClick=function(full_event){let{event}=full_event,js_event=full_event.jsEvent,event_element=$(full_event.el);return unselect_events2(()=>{instance.state("currently_selected_event",event.extendedProps.bubble_object),element_workflows.run_element_workflow(instance,"fullcalendar-CalendarEventClicked",js_event,null,null,!0),u.run_once(30,()=>element_eval.evaluate_property(instance,"selected_event_color"),(err,selected_event_color)=>{instance.get_static_property("events_days_are_selectable")&&(event_element.data("unselected-color",event_element.css("background-color")),err?logger.log(err):event_element.css({"border-color":selected_event_color,"background-color":selected_event_color}),event_element.addClass("selected"))})})},options.dateClick=function(evt){let{date}=evt,js_event=evt.jsEvent;return unselect_days2(()=>{function filter_to_get_current_day_events(event){let event_start=new Date(event.start.getTime());event_start.setHours(0,0,0,0);let event_end=event.end?new Date(event.end.getTime()):new Date(event_start.getTime()+1);return event_start<=date&&event_end>date}let current_day_events=instance.calendar.getEvents().filter(filter_to_get_current_day_events);instance.state("currently_selected_day",date),instance.state("currently_selected_day_events",current_day_events.map(a=>a.extendedProps.bubble_object)),element_workflows.run_element_workflow(instance,"fullcalendar-CalendarDayClicked",js_event,null,null,!0),u.run_once(30,()=>element_eval.evaluate_property(instance,"selected_day_color"),(err,selected_day_color)=>{let day_element=get_parent_and_self($(js_event.target),".fc-day");day_element.length&&instance.get_static_property("events_days_are_selectable")&&(err?logger.log(err):day_element.css({"background-color":selected_day_color}))})})},calendar_wrapper.on("click",e=>{$(e.target).attr("class")?.indexOf("fc-event")===-1&&unselect_events2(),$(e.target).attr("class")?.indexOf("fc-day")===-1&&unselect_days2()}),instance.get_static_property("draggable")&&(options.eventStartEditable=!0,options.eventDrop=function(full_event){let{event}=full_event,{allDay}=full_event.event,stuff=get_thing_fields_type_msgs2(event),{thing,type,start_field,end_field,custom_val,all_day_field}=stuff,event_starting_date_msg=custom_val.get_message(start_field),event_end=allDay?null:event.end,changes;event_starting_date_msg.ret_btype().id()==="date_range"?changes={0:{key:start_field,value:[event.start.getTime(),event_end]}}:(changes={0:{key:start_field,value:event.start.getTime()}},end_field&&(changes[1]={key:end_field,value:event_end})),all_day_field&&!btypes.get("boolean").equals(allDay,custom_val.get_message(all_day_field).evaluate(thing))&&(changes[2]={key:all_day_field,value:allDay}),inputs.do_auto_binding(instance,thing,type,void 0,void 0,changes)}),instance.get_static_property("resizable")&&element_eval.evaluate_property(instance,"event_end_date_field")&&(options.eventDurationEditable=!0,options.eventResize=function(full_event){let{event}=full_event,{thing,type,start_field,end_field,custom_val}=get_thing_fields_type_msgs2(event);if(custom_val.get_message(start_field).ret_btype().id()==="date_range"){let changes={0:{key:start_field,value:[event.start.getTime(),event.end.getTime()]}};inputs.do_auto_binding(instance,thing,type,start_field,void 0,changes)}else inputs.do_auto_binding(instance,thing,type,end_field,event.end.getTime())})}return{options,properties}}function plugin_version(){return Lib()?appquery.get_public_setting("fullcalendar_installed_version")??0:1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("fullcalendar_css_responsive")===!0:!0}var fullcalendar={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.fullcalendar=fullcalendar);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("fullcalendar",fullcalendar);})();
133/*! Bundled license information:
134
135buffer/index.js:
136  (*!
137   * The buffer module from node.js, for the browser.
138   *
139   * @author   Feross Aboukhadijeh <https://feross.org>
140   * @license  MIT
141   *)
142*/
143
144}
145
146
147window.preloaded['plugin/first_party:fullcalendar'] = true;
148window._bubble_page_load_data.hardcoded_plugins['apiconnector2'] = true;
149window.__code__ = window.__code__ || {};
150if(!window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']){window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']=1;
151
152"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,835 bytes, line 152
152orts:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.byteLength=byteLength;exports2.toByteArray=toByteArray;exports2.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports2){init_define_process_env();init_shim();exports2.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports2.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports2){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports2.Buffer=Buffer4;exports2.SlowBuffer=SlowBuffer;exports2.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports2.kMaxLength=K_MAX_LENGTH;Buffer4.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer4.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer4.prototype,"parent",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer4.prototype,"offset",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>
vendor: 23,596 bytes, line 152
152K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer4.prototype),buf}function Buffer4(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer4.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer4.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer4.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer4.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer4.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer4,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer4.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer4.allocUnsafe=function(size){return allocUnsafe(size)};Buffer4.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer4.prototype),buf}function fromObject(obj){if(Buffer4.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer4.alloc(+length)}Buffer4.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer4.prototype};Buffer4.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer4.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer4.from(b,b.offset,b.byteLength)),!Buffer4.isBuffer(a)||!Buffer4.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer4.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer4.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer4.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer4.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer4.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer4.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer4.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer4.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer4.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer4.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer4.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer4.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer4.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer4.prototype.toLocaleString=Buffer4.prototype.toString;Buffer4.prototype.equals=function(b){if(!Buffer4.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer4.compare(this,b)===0};Buffer4.prototype.inspect=function(){var str="",max=exports2.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer4.prototype[customInspectSymbol]=Buffer4.prototype.inspect);Buffer4.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer4.from(target,target.offset,target.byteLength)),!Buffer4.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer4.from(val,encoding)),Buffer4.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer4.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer4.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer4.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer4.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer4.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer4.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer4.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer4.prototype.readUintLE=Buffer4.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer4.prototype.readUintBE=Buffer4.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer4.prototype.readUint8=Buffer4.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer4.prototype.readUint16LE=Buffer4.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer4.prototype.readUint16BE=Buffer4.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer4.prototype.readUint32LE=Buffer4.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer4.prototype.readUint32BE=Buffer4.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer4.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer4.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer4.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer4.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer4.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer4.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer4.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer4.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer4.prototype.writeUintLE=Buffer4.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUintBE=Buffer4.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUint8=Buffer4.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer4.prototype.writeUint16LE=Buffer4.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeUint16BE=Buffer4.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeUint32LE=Buffer4.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer4.prototype.writeUint32BE=Buffer4.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer4.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 152
152)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer4.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer4.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer4.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer4.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer4.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer4.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer4.prototype.copy=function(target,targetStart,start,end){if(!Buffer4.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,183 bytes, line 152
152if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer4.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer4.isBuffer(val)?val:Buffer4.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports2,module2){init_define_process_env();init_shim();var process2=module2.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{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)}}}
152var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module2.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports2=="object"&&exports2)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module2.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports2){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports2.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
152y-this.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module2.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module2.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module2.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
152:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module2.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module2.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module2.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module2.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module2.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module2.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module2.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module2.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module2.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module2.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var $String=String;module2.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module2.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module2.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject2=require_is_object(),$TypeError=TypeError;module2.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject2(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module2.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
152HARED,{});module2.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module2.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module2.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty10=uncurryThis({}.hasOwnProperty);module2.exports=Object.hasOwn||function(it,key){return hasOwnProperty10(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module2.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol3=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol3.for||Symbol3:Symbol3&&Symbol3.withoutSetter||uid;module2.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol3,name)?Symbol3[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject2=require_is_object(),isSymbol
152=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module2.exports=function(input,pref){if(!isObject2(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject2(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module2.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject2=require_is_object(),document2=global.document,EXISTS=isObject2(document2)&&isObject2(document2.createElement);module2.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module2.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports2.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}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"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module2.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object(),$String=String,$TypeError=TypeError;module2.exports=function(argument){if(isObject2(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports2.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
152:$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"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module2.exports={EXISTS,PROPER,CONFIGURABLE}}});
152var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module2.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap2=global.WeakMap;module2.exports=isCallable(WeakMap2)&&/native code/.test(String(WeakMap2))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys2=shared("keys");module2.exports=function(key){return keys2[key]||(keys2[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject2=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap2=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject2(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap2),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module2.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
152yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module2.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module2.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}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"(exports2,module2){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module2.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module2.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module2.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module2.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module2.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module2.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module2.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
152ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports2.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module2.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys2=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys2,getOwnPropertySymbols(it)):keys2}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module2.exports=function(target,source,exceptions){for(var keys2=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys2.length;i++){var key=keys2[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module2.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module2.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module2.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module2.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module2.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports2.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys2=objectKeys(Properties),length=keys2.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys2[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module2.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
vendor: 4,766 bytes, line 152
152(),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;module2.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject2=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject2(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module2.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $=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;$({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
152y-this-clause.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module2.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports2,module2){"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);module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module2.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module2.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports2,module2){"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");module2.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"(exports2,module2){"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;module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module2.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"(exports2,module2){"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;module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.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"(
152){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$({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 $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$({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_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(value,done){return{value,done}}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports2,module2){"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");module2.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"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module2.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_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports2,module2){"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)});module2.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 $=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});var require_esnext_iterator_reduce=__commonJS({"node_modules/core-js/modules/esnext.iterator.reduce.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),$TypeError=TypeError;$({target:"Iterator",proto:!0,real:!0},{reduce:function(reducer){anObject(this),aCallable(reducer);var record=getIteratorDirect(this),noInitial=arguments.length<2,accumulator=noInitial?void 0:arguments[1],counter=0;if(iterate(record,function(value){noInitial?(noInitial=!1,accumulator=value):accumulator=reducer(accumulator,value,counter),counter++},{IS_RECORD:!0}),noInitial)throw new $TypeError("Reduce of empty iterator with no initial value");return accumulator}})}});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()),import_esnext_iterator_for_each=__toESM(require_esnext_iterator_for_each()),import_esnext_iterator_map=__toESM(require_esnext_iterator_map()),import_esnext_iterator_reduce=__toESM(require_esnext_iterator_reduce());init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var freeGlobal=typeof window=="object"&&window&&window.Object===Object&&window,freeGlobal_default=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal_default||freeSelf||Function("return this")(),root_default=root;var Symbol2=root_default.Symbol,Symbol_default=Symbol2;init_define_process_env();init_shim();var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch{}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}var getRawTag_default=getRawTag;init_define_process_env();init_shim();var objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value){return nativeObjectToString2.call(value)}var objectToString_default=objectToString;
152var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value)?getRawTag_default(value):objectToString_default(value)}var baseGetTag_default=baseGetTag;init_define_process_env();init_shim();function isObjectLike(value){return value!=null&&typeof value=="object"}var isObjectLike_default=isObjectLike;init_define_process_env();init_shim();var isArray=Array.isArray,isArray_default=isArray;init_define_process_env();init_shim();function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}var isObject_default=isObject;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject_default(value))return!1;var tag=baseGetTag_default(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}var isFunction_default=isFunction;init_define_process_env();init_shim();init_define_process_env();init_shim();var coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData;var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var isMasked_default=isMasked;init_define_process_env();init_shim();var funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}var toSource_default=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject_default(value)||isMasked_default(value))return!1;var pattern=isFunction_default(value)?reIsNative:reIsHostCtor;return pattern.test(toSource_default(value))}var baseIsNative_default=baseIsNative;init_define_process_env();init_shim();function getValue(object,key){return object?.[key]}var getValue_default=getValue;function getNative(object,key){var value=getValue_default(object,key);return baseIsNative_default(value)?value:void 0}var getNative_default=getNative;var WeakMap=getNative_default(root_default,"WeakMap"),WeakMap_default=WeakMap;init_define_process_env();init_shim();var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;return length=length??MAX_SAFE_INTEGER,!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}var isIndex_default=isIndex;init_define_process_env();init_shim();function eq(value,other){return value===other||value!==value&&other!==other}var eq_default=eq;init_define_process_env();init_shim();init_define_process_env();init_shim();var MAX_SAFE_INTEGER2=9007199254740991;function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER2}var isLength_default=isLength;function isArrayLike(value){return value!=null&&isLength_default(value.length)&&!isFunction_default(value)}var isArrayLike_default=isArrayLike;init_define_process_env();init_shim();var objectProto4=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto4;return value===proto}var isPrototype_default=isPrototype;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}var baseTimes_default=baseTimes;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike_default(value)&&baseGetTag_default(value)==argsTag}var baseIsArguments_default=baseIsArguments;var objectProto5=Object.prototype,hasOwnProperty3=objectProto5.hasOwnProperty,propertyIsEnumerable=objectProto5.propertyIsEnumerable,isArguments=baseIsArguments_default(function(){return arguments}())?baseIsArguments_default:function(value){return isObjectLike_default(value)&&hasOwnProperty3.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArguments_default=isArguments;init_define_process_env();init_shim();init_define_process_env();init_shim();function stubFalse(){return!1}var stubFalse_default=stubFalse;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer3=moduleExports?root_default.Buffer:void 0,nativeIsBuffer=Buffer3?Buffer3.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse_default,isBuffer_default=isBuffer;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag2="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag2="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array
152]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag2]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag2]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike_default(value)&&isLength_default(value.length)&&!!typedArrayTags[baseGetTag_default(value)]}var baseIsTypedArray_default=baseIsTypedArray;init_define_process_env();init_shim();function baseUnary(func){return function(value){return func(value)}}var baseUnary_default=baseUnary;init_define_process_env();init_shim();var freeExports2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule2=freeExports2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports2=freeModule2&&freeModule2.exports===freeExports2,freeProcess=moduleExports2&&freeGlobal_default.process,nodeUtil=function(){try{var types=freeModule2&&freeModule2.require&&freeModule2.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeUtil_default=nodeUtil;var nodeIsTypedArray=nodeUtil_default&&nodeUtil_default.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary_default(nodeIsTypedArray):baseIsTypedArray_default,isTypedArray_default=isTypedArray;var objectProto6=Object.prototype,hasOwnProperty4=objectProto6.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray_default(value),isArg=!isArr&&isArguments_default(value),isBuff=!isArr&&!isArg&&isBuffer_default(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray_default(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes_default(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty4.call(value,key))&&!(skipIndexes&&(key=="length"||isBuff&&(key=="offset"||key=="parent")||isType&&(key=="buffer"||key=="byteLength"||key=="byteOffset")||isIndex_default(key,length)))&&result.push(key);return result}var arrayLikeKeys_default=arrayLikeKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function overArg(func,transform){return function(arg){return func(transform(arg))}}var overArg_default=overArg;var nativeKeys=overArg_default(Object.keys,Object),nativeKeys_default=nativeKeys;var objectProto7=Object.prototype,hasOwnProperty5=objectProto7.hasOwnProperty;function baseKeys(object){if(!isPrototype_default(object))return nativeKeys_default(object);var result=[];for(var key in Object(object))hasOwnProperty5.call(object,key)&&key!="constructor"&&result.push(key);return result}var baseKeys_default=baseKeys;function keys(object){return isArrayLike_default(object)?arrayLikeKeys_default(object):baseKeys_default(object)}var keys_default=keys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}var hashClear_default=hashClear;init_define_process_env();init_shim();function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}var hashDelete_default=hashDelete;init_define_process_env();init_shim();var HASH_UNDEFINED="__lodash_hash_undefined__",objectProto8=Object.prototype,hasOwnProperty6=objectProto8.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate_default){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty6.call(data,key)?data[key]:void 0}var hashGet_default=hashGet;init_define_process_env();init_shim();var objectProto9=Object.prototype,hasOwnProperty7=objectProto9.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate_default?data[key]!==void 0:hasOwnProperty7.call(data,key)}var hashHas_default=hashHas;init_define_process_env();init_shim();var HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate_default&&value===void 0?HASH_UNDEFINED2:value,this}var hashSet_default=hashSet;function Hash(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear_default;Hash.prototype.delete=hashDelete_default;Hash.prototype.get=hashGet_default;Hash.prototype.has=hashHas_default;Hash.prototype.set=hashSet_default;var Hash_default=Hash;init_define_process_env();init_shim();init_define_process_env();init_shim();function listCacheClear(){this.__data__=[],this.size=0}var listCacheClear_default=listCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq_default(array[length][0],key))return length;return-1}var assocIndexOf_default=assocIndexOf;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf_default(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}var listCacheDelete_default=listCacheDelete;init_define_process_env();init_shim();function listCacheGet(key){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?void 0:data[index][1]}var listCacheGet_default=listCacheGet;init_define_process_env();init_shim();function listCacheHas(key){return assocIndexOf_default(this.__data__,key)>-1}var listCacheHas_default=listCacheHas;init_define_process_env();init_shim();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear_default;ListCache.prototype.delete=listCacheDelete_default;ListCache.prototype.get=listCacheGet_default;ListCache.prototype.has=listCacheHas_default;ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache;init_define_process_env();init_shim();var Map=getNative_default(root_default,"Map"),Map_default=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}var mapCacheClear_default=mapCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}
152var isKeyable_default=isKeyable;function getMapData(map,key){var data=map.__data__;return isKeyable_default(key)?data[typeof key=="string"?"string":"hash"]:data.map}var getMapData_default=getMapData;function mapCacheDelete(key){var result=getMapData_default(this,key).delete(key);return this.size-=result?1:0,result}var mapCacheDelete_default=mapCacheDelete;init_define_process_env();init_shim();function mapCacheGet(key){return getMapData_default(this,key).get(key)}var mapCacheGet_default=mapCacheGet;init_define_process_env();init_shim();function mapCacheHas(key){return getMapData_default(this,key).has(key)}var mapCacheHas_default=mapCacheHas;init_define_process_env();init_shim();function mapCacheSet(key,value){var data=getMapData_default(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}var mapCacheSet_default=mapCacheSet;function MapCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear_default;MapCache.prototype.delete=mapCacheDelete_default;MapCache.prototype.get=mapCacheGet_default;MapCache.prototype.has=mapCacheHas_default;MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache;init_define_process_env();init_shim();function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}var arrayPush_default=arrayPush;init_define_process_env();init_shim();init_define_process_env();init_shim();function stackClear(){this.__data__=new ListCache_default,this.size=0}var stackClear_default=stackClear;init_define_process_env();init_shim();function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}var stackDelete_default=stackDelete;init_define_process_env();init_shim();function stackGet(key){return this.__data__.get(key)}var stackGet_default=stackGet;init_define_process_env();init_shim();function stackHas(key){return this.__data__.has(key)}var stackHas_default=stackHas;init_define_process_env();init_shim();var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache_default){var pairs=data.__data__;if(!Map_default||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache_default(pairs)}return data.set(key,value),this.size=data.size,this}var stackSet_default=stackSet;function Stack(entries){var data=this.__data__=new ListCache_default(entries);this.size=data.size}Stack.prototype.clear=stackClear_default;Stack.prototype.delete=stackDelete_default;Stack.prototype.get=stackGet_default;Stack.prototype.has=stackHas_default;Stack.prototype.set=stackSet_default;var Stack_default=Stack;init_define_process_env();init_shim();init_define_process_env();init_shim();function arrayFilter(array,predicate){for(var index=-1,length=array==null?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}var arrayFilter_default=arrayFilter;init_define_process_env();init_shim();function stubArray(){return[]}var stubArray_default=stubArray;var objectProto10=Object.prototype,propertyIsEnumerable2=objectProto10.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return object==null?[]:(object=Object(object),arrayFilter_default(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable2.call(object,symbol)}))}:stubArray_default,getSymbols_default=getSymbols;init_define_process_env();init_shim();init_define_process_env();init_shim();function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray_default(object)?result:arrayPush_default(result,symbolsFunc(object))}var baseGetAllKeys_default=baseGetAllKeys;function getAllKeys(object){return baseGetAllKeys_default(object,keys_default,getSymbols_default)}var getAllKeys_default=getAllKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();var DataView=getNative_default(root_default,"DataView"),DataView_default=DataView;init_define_process_env();init_shim();var Promise2=getNative_default(root_default,"Promise"),Promise_default=Promise2;init_define_process_env();init_shim();var Set=getNative_default(root_default,"Set"),Set_default=Set;var mapTag2="[object Map]",objectTag2="[object Object]",promiseTag="[object Promise]",
vendor: 8,293 bytes, line 152
152setTag2="[object Set]",weakMapTag2="[object WeakMap]",dataViewTag2="[object DataView]",dataViewCtorString=toSource_default(DataView_default),mapCtorString=toSource_default(Map_default),promiseCtorString=toSource_default(Promise_default),setCtorString=toSource_default(Set_default),weakMapCtorString=toSource_default(WeakMap_default),getTag=baseGetTag_default;(DataView_default&&getTag(new DataView_default(new ArrayBuffer(1)))!=dataViewTag2||Map_default&&getTag(new Map_default)!=mapTag2||Promise_default&&getTag(Promise_default.resolve())!=promiseTag||Set_default&&getTag(new Set_default)!=setTag2||WeakMap_default&&getTag(new WeakMap_default)!=weakMapTag2)&&(getTag=function(value){var result=baseGetTag_default(value),Ctor=result==objectTag2?value.constructor:void 0,ctorString=Ctor?toSource_default(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag2;case mapCtorString:return mapTag2;case promiseCtorString:return promiseTag;case setCtorString:return setTag2;case weakMapCtorString:return weakMapTag2}return result});var getTag_default=getTag;init_define_process_env();init_shim();var Uint8Array2=root_default.Uint8Array,Uint8Array_default=Uint8Array2;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var HASH_UNDEFINED3="__lodash_hash_undefined__";function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED3),this}var setCacheAdd_default=setCacheAdd;init_define_process_env();init_shim();function setCacheHas(value){return this.__data__.has(value)}var setCacheHas_default=setCacheHas;function SetCache(values){var index=-1,length=values==null?0:values.length;for(this.__data__=new MapCache_default;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd_default;SetCache.prototype.has=setCacheHas_default;var SetCache_default=SetCache;init_define_process_env();init_shim();function arraySome(array,predicate){for(var index=-1,length=array==null?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}var arraySome_default=arraySome;init_define_process_env();init_shim();function cacheHas(cache,key){return cache.has(key)}var cacheHas_default=cacheHas;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache_default:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome_default(other,function(othValue2,othIndex){if(!cacheHas_default(seen,othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}var equalArrays_default=equalArrays;init_define_process_env();init_shim();init_define_process_env();init_shim();function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}var mapToArray_default=mapToArray;init_define_process_env();init_shim();function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var setToArray_default=setToArray;var COMPARE_PARTIAL_FLAG2=1,COMPARE_UNORDERED_FLAG2=2,boolTag2="[object Boolean]",dateTag2="[object Date]",errorTag2="[object Error]",mapTag3="[object Map]",numberTag2="[object Number]",regexpTag2="[object RegExp]",setTag3="[object Set]",stringTag2="[object String]",symbolTag="[object Symbol]",arrayBufferTag2="[object ArrayBuffer]",dataViewTag3="[object DataView]",symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag3:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag2:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array_default(object),new Uint8Array_default(other)));case boolTag2:case dateTag2:case numberTag2:return eq_default(+object,+other);case errorTag2:return object.name==other.name&&object.message==other.message;case regexpTag2:case stringTag2:return object==other+"";case mapTag3:var convert=mapToArray_default;case setTag3:var isPartial=bitmask&COMPARE_PARTIAL_FLAG2;if(convert||(convert=setToArray_default),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG2,stack.set(object,other);var result=equalArrays_default(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}var equalByTag_default=equalByTag;init_define_process_env();init_shim();var COMPARE_PARTIAL_FLAG3=1,objectProto11=Object.prototype,hasOwnProperty8=objectProto11.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG3,objProps=getAllKeys_default(object),objLength=objProps.length,othProps=getAllKeys_default(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty8.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}var equalObjects_default=equalObjects;var COMPARE_PARTIAL_FLAG4=1,argsTag3="[object Arguments]",arrayTag2="[object Array]",objectTag3="[object Object]",objectProto12=Object.prototype,hasOwnProperty9=objectProto12.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray_default(object),othIsArr=isArray_default(other),objTag=objIsArr?arrayTag2:getTag_default(object),othTag=othIsArr?arrayTag2:getTag_default(other);objTag=objTag==argsTag3?objectTag3:objTag,othTag=othTag==argsTag3?objectTag3:othTag;var objIsObj=objTag==objectTag3,othIsObj=othTag==objectTag3,isSameTag=objTag==othTag;if(isSameTag&&isBuffer_default(object)){if(!isBuffer_default(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack_default),objIsArr||isTypedArray_default(object)?equalArrays_default(object,other,bitmask,customizer,equalFunc,stack):equalByTag_default(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(bitmask&COMPARE_PARTIAL_FLAG4)){var objIsWrapped=objIsObj&&hasOwnProperty9.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty9.call(other,"__wrapped__");
152if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack_default),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return isSameTag?(stack||(stack=new Stack_default),equalObjects_default(object,other,bitmask,customizer,equalFunc,stack)):!1}var baseIsEqualDeep_default=baseIsEqualDeep;function baseIsEqual(value,other,bitmask,customizer,stack){return value===other?!0:value==null||other==null||!isObjectLike_default(value)&&!isObjectLike_default(other)?value!==value&&other!==other:baseIsEqualDeep_default(value,other,bitmask,customizer,baseIsEqual,stack)}var baseIsEqual_default=baseIsEqual;init_define_process_env();init_shim();function isEqual(value,other){return baseIsEqual_default(value,other)}var isEqual_default=isEqual;init_define_process_env();init_shim();var 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 incremental=safe_require.safe_require("./u/shared/incremental"),external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),plugin_consts=safe_require.safe_require("./constants/plugin"),local_storage=safe_require.safe_require("./constants/local_storage_keys"),{PUBLIC_ONLY}=safe_require.safe_require("./constants/apiconnectorbase"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),{WORKOS_AUTH_URL}=safe_require.safe_require("./constants/auth"),logger=safe_require.safe_require("./logger"),Lib=safe_require.safe_require("./lib"),apiconnectorbase=safe_require.safe_require("./apiconnectorbase"),apiconnector_editor,ContextMenu;u.is_edit_mode()&&(apiconnector_editor=safe_require.safe_require("./editor_plugin/apiconnector_editor"),ContextMenu=safe_require.safe_require("./editor/contextmenu"));var API_CONNECTOR_BASE="apiconnector2";function get_path(api_id,call_id,field_name,field_id,key_name){if(api_id==null){logger.error("API connector issue, calling apiconnector2 with an empty call_id");return}let path=API_CONNECTOR_BASE+"."+api_id;return call_id&&(path+=".calls."+call_id),field_name&&(path+="."+field_name,field_id&&(path+="."+field_id,key_name&&(path+="."+key_name))),path}var get_all_apis_editor=u.autorun_cache({fn:()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis},compare_fn:isEqual_default}),get_all_apis_runmode=function(){return u.autorun_cache(()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis})("apiconnector2")},get_all_apis=Lib()?.is_edit_mode()?get_all_apis_editor:get_all_apis_runmode,API_CONNECTOR_FIELD_PREFIX="_api_c2_",BASE_SETTING_NAMES=["human","auth","shared_params","shared_headers","token_param_name","add_to_header","header_key","username","password","private_key","private_key_test","iss","scope","generate_token_from_code_uri","cert_file","key_file","token_endpoint","scope","authentication_url","generate_token_from_code_uri","auth_url_params","add_basic_authentication","token_data_type","add_offline","server_redirect","oauth_user_data_call","id_path","email_path"];function get_settings_json_for_api(api_id){let public_settings=read_json_keys_at_path(`settings.client_safe.apiconnector2.${api_id}`,BASE_SETTING_NAMES),private_settings=read_json_keys_at_path(`settings.secure.apiconnector2.${api_id}`,BASE_SETTING_NAMES);return u.deep_copy({},private_settings,public_settings)}function get_api(api_id){let pub=appquery.get_public_setting(get_path(api_id))??{},pvt=appquery.get_private_setting(get_path(api_id))??{},api=u.deep_copy({},pvt,pub);for(let call_id in api.calls){let call=api.calls[call_id];for(let thing of["types","data_container"])call[thing]&&(call[thing]=u.json_parse(call[thing]))}return api}
152function multi_read_json(paths){return paths.forEach(path=>appquery.app().json.pre_cache(path)),paths.map(path=>appquery.app().json.child_by_path(path).raw())}function read_json_keys_at_path(path,keys2){keys2.forEach(key=>appquery.app().json.pre_cache(`${path}.${key}`));let values=keys2.map(key=>appquery.app().json.child_by_path(`${path}.${key}`).raw());return keys2.reduce((obj,key,index)=>(obj[key]=values[index],obj),{})}function get_single_call_raw(api_id,call_id){let[pub,pvt,api_human]=multi_read_json([`settings.client_safe.${get_path(api_id,call_id)}`,`settings.secure.${get_path(api_id,call_id)}`,`settings.client_safe.${get_path(api_id)}.human`]);return pub=pub??{},pvt=pvt??{},{...u.deep_copy({},pub,pvt),types:incremental.incremental_json_parse(pub.types??null),data_container:incremental.incremental_json_parse(pub.types??null),api_id,api_human}}function get_oauth_call_data_raw(api_id){let[oauth_user_data_call,email_path,id_path,human]=multi_read_json([`settings.client_safe.${get_path(api_id)}.oauth_user_data_call`,`settings.client_safe.${get_path(api_id)}.email_path`,`settings.client_safe.${get_path(api_id)}.id_path`,`settings.client_safe.${get_path(api_id)}.human`]);return{human,email_path,id_path,oauth_user_data_call}}var APIConnectorPrivateKey=class extends apiconnectorbase.APIConnectorBasePrivateKey{_get_api(){return get_api(this.params.call_id)}},APIConnectorBasicAuth=class extends apiconnectorbase.APIConnectorBasicAuth{_get_api(){return get_api(this.params.call_id)}},APIConnectorJWT=class extends apiconnectorbase.APIConnectorBaseJWT{_get_api(){return get_api(this.params.call_id)}},APIConnectorSSLProtocol=class extends apiconnectorbase.APIConnectorBaseSSLProtocol{_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2PWFlow=class extends apiconnectorbase.APIConnectorBaseOauth2PWFlow{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2Custom=class extends apiconnectorbase.APIConnectorBaseOauth2Custom{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2=class extends apiconnectorbase.APIConnectorBaseOauth2{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.api_id}human_name(){return get_api(this.params.api_id).human}_get_api(){return get_api(this.params.api_id)}get_key(name){return name==="server_redirect"?this.get_property("server_redirect"):super.get_key(name)}login(context,action,oauth_token,cb){return!this.tested()&&Lib().workflow.debugger==null&&cb(new u.OwnerError("Oauth2 API not tested",{display:"API Connector error: the Oauth2 API "+this.human_name()+" is not tested yet. Please run in with the debugger to validate your settings."})),(this.get_property("authentication_url")==null||this.get_property("generate_token_from_code_uri")==null)&&cb(new u.OwnerError("Oauth2 API missing information",{display:"API Connector error: the Oauth2 API "+this.human_name()+" has some missing informations. please check"})),super.login(context,action,oauth_token)}get_oauth_user_data(login_data){try{return super.get_oauth_user_data(login_data)}catch(e){delete e.stack;let inner_message=`${e.message?.replace(this.service().plugin_name+" error:","")??JSON.stringify(e??{})} ${e.display?.()??""}`;throw new u.OwnerError("Oauth2 not configured properly",{display:`${this.service().plugin_name} error: the Oauth2 API ${this.human_name()} is not configured properly - ${inner_message}`})}}},WORKOS_SESSION_LENGTH=60*60*4,WorkOSAuth=class extends APIConnectorOauth2{generate_validity_object(user_info){return{access_token:user_info.access_token,refresh_token:user_info.refresh_token,access_token_expires_in:WORKOS_SESSION_LENGTH}}},cls=class extends apiconnectorbase.BaseAPIConnector{constructor(params){super(),this.params=params,this.plugin_name="API Connector",this.BASE=API_CONNECTOR_BASE,this.key_prefix=API_CONNECTOR_FIELD_PREFIX}get_all_apis(){return get_all_apis()}
152get_single_call_raw(api_id,call_id){return get_single_call_raw(api_id,call_id)}get_oauth_call_data_raw(api_id){return get_oauth_call_data_raw(api_id)}user_calls(){let res=[];for(let api_id of get_api_list())appquery.get_public_setting(`${get_path(api_id)}.auth`)==="oauth2_user"&&res.push(`${api_id}_oauth_user_data_call`);return res}authenticator(id){if(!id)return new external.NoAuth;let api_data=get_settings_json_for_api(id),auth,auth_params;return[null,void 0,"none"].includes(api_data.auth)&&(auth=new external.NoAuth),["private_key_url","private_key_header"].includes(api_data.auth)&&(auth_params=apiconnectorbase.get_private_key_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorPrivateKey(auth_params)),api_data.auth==="cert_key"&&(auth=new APIConnectorSSLProtocol({call_id:id})),api_data.auth==="basic_auth"&&(auth=new APIConnectorBasicAuth({call_id:id,username:api_data.username,password:api_data.password})),api_data.auth==="oauth2_pw"&&(auth_params=apiconnectorbase.get_oauth2_pw_auth_params(api_data),u.extend(auth_params,{call_id:id,username:api_data.username,password:api_data.password}),auth=new APIConnectorOauth2PWFlow(auth_params)),api_data.auth==="oauth2_custom"&&(auth=new APIConnectorOauth2Custom({call_id:id})),api_data.auth==="oauth2_user"&&(auth_params=apiconnectorbase.get_oauth2_user_auth_params(api_data),u.extend(auth_params,{api_id:id,_id:API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+id}),auth_params.authentication_url?.startsWith(WORKOS_AUTH_URL)?auth=new WorkOSAuth(auth_params):auth=new APIConnectorOauth2(auth_params)),api_data.auth==="jwt"&&(auth_params=apiconnectorbase.get_jwt_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorJWT(auth_params)),auth._service=this,auth._display="API - "+api_data.human,auth.add_shared_params_and_headers=req=>apiconnectorbase.add_shared_params_and_headers(api_data,req,this.plugin_name,(header_id,header)=>header.value,(param_id,param)=>param.value),auth}},plugin_registry=safe_require.safe_require("./services/shared/plugin_registry"),apiconnector2={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.apiconnector2=apiconnector2);plugin_registry.register_plugin(known_plugins_consts.API_CONNECTOR,apiconnector2);})();
153/*! Bundled license information:
154
155buffer/index.js:
156  (*!
157   * The buffer module from node.js, for the browser.
158   *
159   * @author   Feross Aboukhadijeh <https://feross.org>
160   * @license  MIT
161   *)
162
163lodash-es/lodash.js:
164  (**
165   * @license
166   * Lodash (Custom Build) <https://lodash.com/>
167   * Build: `lodash modularize exports="es" -o ./`
168   * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
169   * Released under MIT license <https://lodash.com/license>
170   * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
171   * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
172   *)
173*/
174
175}
176
177
178window.preloaded['plugin/first_party:apiconnector2'] = true;
179window._bubble_page_load_data.hardcoded_plugins['materialicons'] = true;
180window.__code__ = window.__code__ || {};
181if(!window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']){window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']=1;
182
183"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
vendor: 28,466 bytes, line 183
183+/";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 183
183)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 183
183if(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)}}}
183var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});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}
183=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);})();
184/*! Bundled license information:
185
186buffer/index.js:
187  (*!
188   * The buffer module from node.js, for the browser.
189   *
190   * @author   Feross Aboukhadijeh <https://feross.org>
191   * @license  MIT
192   *)
193*/
194
195}
196
197
198window.preloaded['plugin/first_party:materialicons'] = true;
199window._bubble_page_load_data.hardcoded_plugins['multifileupload'] = true;
200window.__code__ = window.__code__ || {};
201if(!window.__code__['946675add0b934d84d31a8c398e047446b33321809270ab528391d56eb666415']){window.__code__['946675add0b934d84d31a8c398e047446b33321809270ab528391d56eb666415']=1;
202
203"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 203
203orts:{}}).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 203
203K_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 203
203)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 203
203if(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)}}}
203var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{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
203y-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)}
203:$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
203HARED,{});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
203=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&&current[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
203:$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}}});
203var 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
203yThis([].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
203ing","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 203
203(),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
203y-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"(
203){"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 btype_ids=safe_require.safe_require("./lang/btype_ids"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),Lib=safe_require.safe_require("./lib"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),sliderinputs=safe_require.safe_require("./core/core_elements/shared/sliderinputs"),pictureinputs=safe_require.safe_require("./core/core_elements/shared/pictureinputs"),property_applications=safe_require.safe_require("./core/property_applications"),webfonts=safe_require.safe_require("./webfonts"),core_events=safe_require.safe_require("./core/core_events"),logger=safe_require.safe_require("./logger"),workflow_consts=safe_require.safe_require("./constants/workflow"),appquery=safe_require.safe_require("./lang/appquery"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),element_props=safe_require.safe_require("./lang/evaluation/element_props"),shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));element_modifications.set_legacy_element_modifications("multifileupload-MultiFileInput");var core_elements_fields=null,PLUGIN_FILE="multifileupload";function file_upload_destination(element){return Lib().is_edit_mode()?(core_elements_fields??=safe_require.safe_require("./core/core_elements_fields"),core_elements_fields.file_upload_destination(element,"MultiFileContent")):[]}function file_upload_destination_metadata_mode(element){return Lib().is_edit_mode()?(core_elements_fields??=safe_require.safe_require("./core/core_elements_fields"),core_elements_fields.file_upload_destination_metadata(element,"MultiFileContent")):{}}var _dropzone_loaded=!1;function load_dropzone(){if(_dropzone_loaded)return;_dropzone_loaded=!0;let Dropzone=safe_require.safe_require("./optional/dropzone");Dropzone.autoDiscover=!1}function plugin_version(){return Lib()?appquery.get_public_setting("multifileupload_installed_ver
203sion")??0:1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("multifileupload_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{MultiFileInput:{display:"Multi-File Uploader",category:"input forms",icon:"ion-upload",condition(root){return!root?.is_mobile?.()},field_names:u.extend({mandatory:{no_states:!0},message:{default:"Drop files here to upload (or click)"},initial:{},max_files:{no_states:!0},private:{no_states:!0},attach_to:{},service:{no_states:!0},destination:{}},inputs.get_disabled_field_name),primary_field(){},_fields(element){return[{name:"message",caption:"Message to display",editor:"ShortText",pretty:{section:"MultiFileContent"}},{name:"mandatory",caption:"This input is mandatory",editor:"Checkbox",pretty:{short_caption:!1,section:"MultiFileContent"}},{name:"initial",caption:"Initial files to display",editor:"Basic",btype:btype_ids.list_type("file"),optional:!0,pretty:{section:"MultiFileContent"}},{name:"max_files",caption:"Maximum number of files",optional:!0,editor:"Dropdown",numerical_step:1,set:Lib().sets.get_set("Integer")([1,2,5,10,20]),pretty:{section:"MultiFileContent"}},{name:"disabled",caption:"This input is disabled",editor:"Checkbox",pretty:{short_caption:!1,section:"MultiFileContent"}}].concat(file_upload_destination(element))},mandatory_sections(){return["MultiFileContent"]},get_field_metadata(element){return{message:{caption:"Message to display",btype_id:"text"},mandatory:{caption:"This input is mandatory",btype_id:"boolean"},initial:{caption:"Initial files to display",btype_id:btype_ids.list_type("file"),optional:!0},max_files:{caption:"Maximum number of files",btype_id:"text",validate:e=>[1,2,5,10,20].includes(e.get_static_property("max_files")),optional:!0},disabled:{caption:"This input is disabled",btype_id:"boolean"},...file_upload_destination_metadata_mode(element),...new property_applications.Dimensions().get_property_metadata(element),...new property_applications.Background().get_property_metadata(element),...new property_applications.Border().get_property_metadata(element),...new property_applications.BoxShadow().get_property_metadata(element),...new property_applications.Font(".dz-message").get_property_metadata(element),...new property_applications.FontSpacing(".dz-message").get_property_metadata(element),...new property_applications.PaddingText(".dz-message").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()}},property_applications:[new property_applications.Dimensions,new property_applications.Background,new property_applications.Border,new property_applications.BoxShadow,new property_applications.Font(".dz-message"),new property_applications.FontSpacing(".dz-message"),new property_applications.PaddingText(".dz-message"),new property_applications.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},get_min_width(){return 0},initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE}),sliderinputs.show_message_for_ios_8_upload_bug();let canvas=instance.get_canvas(),inner=u.div("dropzone needsclick",canvas);instance.autorun(()=>{let w=element_eval.evaluate_property(instance,"width"),h=element_eval.evaluate_property(instance,"height");inner.css({width:w,height:h-2})});let my_files=[],current=()=>Lib().db_instance().static_list("file",my_files),get_font_data=()=>({font_face:element_props.get_font_face(instance),font_size:element_eval.evaluate_property(instance,"font_size"),bold:element_eval.evaluate_property(instance,"bold"),italic:element_eval.evaluate_property(instance,"italic"),underline:element_eval.evaluate_property(instance,"underline"),font_alignment:element_eval.evaluate_property(instance,"font_alignment"),font_color:element_eval.evaluate_property(instance,"font_color"),disabled:element_eval.evaluate_property(instance,"disabled")});function apply_font_to_file_divs(data){let font_data=webfonts.get_quoted_face_and_variant(data.font_face);inner.find("*").css({"font-family":font_data.font_family,"font-size":data.font_size,"font-weight":data.bold?"bold":font_data.variant&&font_data.variant!=="regular"?font_data.variant:"normal","text-decoration":data.underline?"underline":"none","font-style":data.italic?"italic":"normal","text-align":data.font_al
203ignment}),inner.find(".dz-filename").css({color:data.font_color})}let get_additional_data=cb=>u.run_once(30,()=>pictureinputs.process_upload_security(instance),(err,data)=>err?cb(err):!data.public&&!data.attach_to?cb(new u.UserError("PRIVATE_FILE")):cb(null,data)),style_files_once=()=>{u.run_once(30,()=>get_font_data(),(err,data)=>{if(err){logger.log(err);return}apply_font_to_file_divs(data),data.disabled??=!1,inner.find(".dz-remove").toggle(!data.disabled)})};load_dropzone();let file_mapping={},current_uploads=0,my_params={};function upload_finished(){current_uploads--,current_uploads<=0&&(current_uploads=0,instance.state("upload_in_progress",!1),instance.message("user_submit",current())),instance.setTimeout(()=>{inner.find(".dz-remove").text(Lib().get_text("multifileupload","REMOVE_FILE"))},5)}inner.dropzone({url:Lib().location.get_server_base()+"fileupload",paramName:"contents",maxFilesize:50,addRemoveLinks:!0,maxFiles:instance.get_static_property("max_files"),params:my_params,accept(file,done){return get_additional_data((err,data)=>{if(err){let msg=logger.human_friendly(err);return alert(msg),done(msg)}else return u.extend(my_params,data),done()})},init(){let urls_to_files={};this.on("sending",()=>{style_files_once(),current_uploads++,instance.state("upload_in_progress",!0),inner.find(".dz-remove").text(Lib().get_text("multifileupload","CANCEL_UPLOAD"))}),this.on("error",(file,err)=>{String(err?.message).indexOf("Error parsing request body: request entity too large")!==-1?err=new u.UserError("FILE_TOO_LARGE"):err!=="Upload canceled."&&(err=new u.UserError(null,err.message??err,{original:err}),core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.ELEMENT,cb(err2){err2&&window.alert(logger.human_friendly(err2)),upload_finished()}}))}),this.on("canceled",files=>{upload_finished()}),this.on("maxfilesexceeded",file=>{current_uploads++}),this.on("success",(file,server_response)=>{my_files.push(server_response),file._id=u.UUID(),file_mapping[file._id]=server_response,urls_to_files[server_response]=file,upload_finished(),$(file.previewElement).find(".dz-filename span").wrap('<a href="'+server_response+'" target="_blank"></a>'),style_files_once()});let auto_remove=!1;this.on("removedfile",file=>{let link=file_mapping[file._id];u.array_remove(my_files,link),auto_remove||instance.message("user_submit",current())}),instance.run_mode()&&(u.autorun(()=>{if(instance.state("has_been_changed"))return;auto_remove=!0;let to_remove=Array.from(my_files);for(let url of to_remove){let file=urls_to_files[url];this.removeFile(file)}auto_remove=!1;let initial=element_eval.evaluate_property(instance,"initial")?.all?.()??[];for(let url of initial){let pieces=url.split("/"),fake_file={type:"text",name:pieces[pieces.length-1],status:"success",size:Math.random()};urls_to_files[url]=fake_file,my_files.push(url),fake_file._id=u.UUID(),file_mapping[fake_file._id]=url,this.emit("addedfile",fake_file),$(fake_file.previewElement).find(".dz-filename span").wrap('<a href="'+url+'" target="_blank"></a>')}style_files_once()}),element_eval.on_property_change(instance,"disabled",disabled=>{disabled?(this.disable(),inner.find(".dz-remove").hide()):(this.enable(),inner.find(".dz-remove").show())}),instance.autorun(()=>{apply_font_to_file_divs(get_font_data())}))}}),inner.find(".dz-message").addClass("needsclick"),instance.autorun(()=>{inner.find(".dz-message").text(element_eval.evaluate_property(instance,"message"))})},get_starting_content(instance){return element_eval.evaluate_property(instance,"initial")?.make_static()??Lib().db_instance().static_list("file",[])},get_state_value(element,name){if(name==="value")return btype_ids.list_type("file")},content_validated(val,instance){return!(instance.state("upload_in_progress")||instance.get_static_property("mandatory")&&!val?.length())},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!0,contains_group_data:!1,jquery_plugins(){return["jquery_plugins/dropzone"]},css_files:["css/optional/dropzone.css"]}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},multifileupload={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.multifileupload=multifileupload);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("multifileupload",multifileupload);})();
204/*! Bundled license information:
205
206buffer/index.js:
207  (*!
208   * The buffer module from node.js, for the browser.
209   *
210   * @author   Feross Aboukhadijeh <https://feross.org>
211   * @license  MIT
212   *)
213*/
214
215}
216
217
218window.preloaded['plugin/first_party:multifileupload'] = true;
219window._bubble_page_load_data.hardcoded_plugins['apple'] = true;
220window.__code__ = window.__code__ || {};
221if(!window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']){window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']=1;
222
223"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 223
223orts:{}}).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 223
223K_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 223
223)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 223
223if(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)}}}
223var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var 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}
223is_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);})();
224/*! Bundled license information:
225
226buffer/index.js:
227  (*!
228   * The buffer module from node.js, for the browser.
229   *
230   * @author   Feross Aboukhadijeh <https://feross.org>
231   * @license  MIT
232   *)
233*/
234
235}
236
237
238window.preloaded['plugin/first_party:apple'] = true;
239window.plugins = window.plugins || {};
240window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {};
241window.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(properties,context){}"}}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){properties.number_start,properties.list_length,properties.increment;var result=[];if(null!==properties.number_start&&null!==properties.list_length&&null!==properties.increment)for(var mynumber=properties.number_start,i=0;i<properties.list_length;i++)result.push(mynumber),mynumber+=properties.increment;instance.publishState(\"list\",result)}"},"preview":{"fn":"function(instance, properties) {\n  var div = document.createElement(\"div\");\n  div.style.overflow = \"hidden\";\n  div.style.width = \"100%\";\n  div.style.height = \"100%\";\n  div.style[\"font-style\"] = \"italic\";\n  div.style[\"text-wrap\"] = \"nowrap\";\n  div.style[\"font-size\"] = \"\" + Math.floor(properties.bubble.height() * 0.75) + \"px\";\n  div.textContent = \"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(properties,context){}"}},"AAO":{"caption":"value list","name":"value_list","value":"custom_data_AAL","is_list":true,"initialization_code":{"fn":"function(properties,context){}"}}},"code":{"initialize":{"fn":"function(instance,context){}"},"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
241) + \"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(properties,context){}"}},"AAW":{"caption":"value list","name":"value_list","value":"custom_data_AAT","is_list":true,"initialization_code":{"fn":"function(properties,context){}"}},"ACI":{"caption":"output1","name":"output1","value":"custom_data_ABz","initialization_code":{"fn":"function(properties,context){}"}},"ACJ":{"caption":"output2","name":"output2","value":"custom_data_ACA","initialization_code":{"fn":"function(properties,context){}"}},"ACK":{"caption":"output3","name":"output3","value":"custom_data_ACC","initialization_code":{"fn":"function(properties,context){}"}},"ACL":{"caption":"output4","name":"output4","value":"custom_data_ACD","initialization_code":{"fn":"function(properties,context){}"}},"ACM":{"caption":"outputlist1","name":"outputlist1","value":"custom_data_ACE","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ACN":{"caption":"outputlist2","name":"outputlist2","value":"custom_data_ACF","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ACO":{"caption":"outputlist3","name":"outputlist3","value":"custom_data_ACG","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ACP":{"caption":"outputlist4","name":"outputlist4","value":"custom_data_ACH","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"events":{"AAX":{"caption":"event","name":"event"}},"actions":{"ABL":{"caption":"Dequeue","code":{"fn":"function(instance,properties,context){instance.data.fn_dequeue()}"}},"ABM":{"caption":"ClearQueue","code":{"fn":"function(instance,properties,context){instance.data.fn_clearqueue()}"}}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var fnNameSuffix=properties.fn_name_suffix,trigger_event=properties.trigger_event,publish_value=properties.publish_value,value_is_list=properties.value_is_list,queueActive=properties.queue,multipleoutputs=properties.multipleoutputs,fnName;(instance.data.queue=[],instance.data.fn_clearvalues=function(){publish_value&&(instance.publishState(\"value_list\",[]),instance.publishState(\"value\",null),instance.publishState(\"output1\",null),instance.publishState(\"output2\",null),instance.publishState(\"output3\",null),instance.publishState(\"output4\",null),instance.publishState(\"outputlist1\",[]),instance.publishState(\"outputlist2\",[]),instance.publishState(\"outputlist3\",[]),instance.publishState(\"outputlist4\",[]))},instance.data.fn_publish=function(value){publish_value&&(multipleoutputs?(instance.publishState(\"value\",value?.value),instance.publishState(\"value_list\",value?.value_list),instance.publishState(\"output1\",value?.output1),instance.publishState(\"output2\",value?.output2),instance.publishState(\"output3\",value?.output3),instance.publishState(\"output4\",value?.output4),instance.publishState(\"outputlist1\",value?.outputlist1),instance.publishState(\"outputlist2\",value?.outputlist2),instance.publishState(\"outputlist3\",value?.outputlist3),instance.publishState(\"outputlist4\",value?.outputlist4)):value_is_list?instance.publishState(\"value_list\",value):instance.publishState(\"value\",value))},fnNameSuffix)&&(window[\"bubble_fn_\"+fnNameSuffix]=function(value){queueActive&&0!=instance.data.queue.length||publish_value&&instance.data.fn_publish(value),queueActive&&(publish_value?instance.data.queue.push(value):instance.data.queue.push(null)),trigger_event&&instance.data.queue.length<2&&instance.triggerEvent(\"event\")});instance.data.fn_dequeue=function(){if(instance.data.queue.shift(),queueActive&&instance.data.queue.length>0){if(publish_value){var value=instance.data.queue[0];instance.data.fn_publish(value)}trigger_event&&instance.triggerEvent(\"event\")}queueActive&&0==instance.data.queue.length&&publish_value&&instance.data.fn_clearvalues()},instance.data.fn_clearqueue=function(){instance.data.queue=[],queueActive&&instance.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
241) + \"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(properties,context){}"}}},"actions":{"AAe":{"caption":"Set data source","code":{"fn":"function(instance,properties,context){var _objvars={result:[],len:0};if(properties.sourcelist&&properties.sourcelist.length&&(_objvars.len=properties.sourcelist.length()),_objvars.len>0)for(_objvars.i=0;_objvars.i<_objvars.len;_objvars.i++)if(_objvars.listRetrieved=properties.sourcelist.get(_objvars.i,1),instance.data.item=_objvars.listRetrieved[0],void 0!==typeof instance.data.item)try{_objvars.result.push(window.toolboxEval({value:instance.data.value,field:instance.data.field,item:instance.data.createItem,lookup:instance.data.lookup,expression:instance.data.itemexpression}))}catch(err){throw\"not ready\"!==err.message&&console.error(err),err}instance.publishState(\"resultlist\",_objvars.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(instance,context){instance.data.value=function(){return void 0===typeof instance.data.item||null==instance.data.item||instance.data.item.listProperties?null:instance.data.item},instance.data.field=function(){if(instance.data.item&&instance.data.item.listProperties){for(var myfield=instance.data.item,fieldType=instance.data.sourcetype,i=0;i<arguments.length;i++){var codeField=arguments[i],fieldUserType=fieldType.replace(\"custom.\",\"\");app.user_types[fieldUserType];var kfs=app.user_types[fieldUserType][\"%f3\"];if(Object.keys(kfs).forEach((function(kf){kfs[kf][\"%d\"]==codeField&&(codeField=kf,fieldType=kfs[kf][\"%v\"])})),null===myfield)break;myfield=myfield.get(codeField)}return myfield}return null},instance.data.createItem=function(pBubbleItem,pFieldType){return{fieldType:pFieldType||instance.data.sourcetype,bubbleItem:pBubbleItem||instance.data.item,lookup:function(codeField){return instance.data.lookup(this,codeField)}}},instance.data.lookup=function(specialItem,codeField){if(\"object\"!=typeof specialItem||!(\"fieldType\"in specialItem)||!(\"bubbleItem\"in specialItem))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;var thisItem=specialItem.bubbleItem,fieldType=specialItem.fieldType;if(\"object\"!=typeof thisItem||!(\"listProperties\"in thisItem)||!(\"get\"in thisItem))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;var fieldUserType=fieldType.replace(\"custom.\",\"\");app.user_types[fieldUserType];var kfs=app.user_types[fieldUserType][\"%f3\"],newfieldType=null;Object.keys(kfs).forEach((function(kf){kfs[kf][\"%d\"]==codeField&&(codeField=kf,newfieldType=kfs[kf][\"%v\"])}));var result=thisItem.get(codeField),newItem;if(result&&\"object\"==typeof result&&\"length\"in result&&\"get\"in result){newresult=[],newfieldType=newfieldType.replace(\"list.\",\"\");for(var ilookup=0;ilookup<result.length();ilookup++){var newobject=result.get(ilookup,1)[0];if(\"object\"==typeof newobject&&\"listProperties\"in newobject&&\"get\"in newobject){var newItem=instance.data.createItem(newobject,newfieldType);newresult.push(newItem)}else newresult.push(newobject)}return newresult}return result&&\"object\"==typeof result&&\"listProperties\"in result&&\"get\"in result?newItem=instance.data.createItem(result,newfieldType):result}}"},"update":{"fn":"function(instance,properties,context){var _objvars={};if(instance.data.sourcetype=properties.sourcetype,instance.data.itemexpression=properties.itemexpression,_objvars.result=[],_objvars.len=0,properties.sourcelist&&properties.sourcelist.length&&(_objvars.len=properties.sourcelist.length()),_objvars.len>0)for(_objvars.i=0;_objvars.i<_objvars.len;_objvars.i++)if(_objvars.listRetrieved=properties.sourcelist.get(_objvars.i,1),instance.data.item=_objvars.listRetrieved[0],void 0!==typeof instance.data.item)try{_objvars.result.push(window.toolboxEval({value:instance.data.value,field:instance.data.field,item:instance.data.createItem,lookup:instance.data.lookup,expression:instance.data.itemexpression}))}catch(err){throw\"not ready\"!==err.message&&console.error(err),err}instance.publishState(\"resultlist\",_objvars.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
241) + \"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
241puts","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}}}}};
242window._bubble_page_load_data.plugins_size['1488796042609x768734193128308700'] = 22168;
243window.preloaded['plugin/third_party:1488796042609x768734193128308700:2.1.3'] = true;
244window.plugins["1495642567089x595986733356023800"] = {"human":"Air Date Time Picker","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"ACX":{"display":"Air Date/Time Picker","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":false,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"date","has_reset_fn":true,"fields":{"ACZ":{"caption":"Initial Date","name":"initial_date","rank":2,"editor":"DynamicValue","value":"date","optional":true},"ACa":{"caption":"Type","name":"type","rank":1,"editor":"Dropdown","default_val":"Single Date"},"ACb":{"caption":"Initial Dates","name":"initial_multiple_dates","rank":3,"editor":"DynamicValue","value":"date","is_list":true,"optional":true},"ACc":{"caption":"Attention: Autobinding is supported only for \"Single Date\" type!","name":"autobinding_help_text","rank":0,"editor":"Label"},"ACe":{"caption":"Initial End Date","name":"rangeend","rank":6,"editor":"DynamicValue","value":"date","optional":true},"ACf":{"caption":"Minimum Date","name":"minimum_date","rank":16,"editor":"DynamicValue","value":"date","optional":true},"ACg":{"caption":"Maximum Date","name":"maximum_date","rank":17,"editor":"DynamicValue","value":"date","optional":true},"ACh":{"caption":"Language","name":"locale","rank":25,"editor":"Dropdown","default_val":"English"},"ACi":{"caption":"Default View","name":"default_view","rank":14,"editor":"Dropdown","default_val":"Days"},"ACj":{"caption":"Auto Close","name":"autoclose","rank":30,"editor":"Checkbox","default_val":true},"ACk":{"caption":"Toggle Selected","name":"toggle_selected","rank":28,"editor":"Checkbox","default_val":true},"ACl":{"caption":"Keyboard Navigation","name":"keyboard_navigation","rank":29,"editor":"Checkbox","default_val":false},"ACm":{"caption":"Show Other Months","name":"show_other_months","rank":22,"editor":"Checkbox","default_val":true},"ACn":{"caption":"Select From Other Months","name":"select_from_other_months","rank":23,"editor":"Checkbox","default_val":true},"ACo":{"caption":"Move To Other Months","name":"move_to_other_months","rank":24,"editor":"Checkbox","default_val":true},"ACp":{"caption":"Vertical Position","name":"vertical_position","rank":11,"editor":"Dropdown","default_val":"bottom"},"ACq":{"caption":"Horizontal Position","name":"horizontal_posiotion","rank":10,"editor":"Dropdown","default_val":"left"},"ACr":{"caption":"Mobile Device Mode","name":"mobile_device_mode","rank":13,"editor":"Dropdown","default_val":"Auto"},"ACs":{"caption":"Display Calendar Always","name":"display_inline","rank":31,"editor":"Checkbox","default_val":false},"ACt":{"caption":"Enable Timepicker","name":"timepicker","rank":40,"editor":"Checkbox","default_val":false},"ACu":{"caption":"Time Format","name":"time_format","rank":41,"editor":"Dropdown","default_val":"08:20"},"ACv":{"caption":"Date Time Separator","name":"date_time_separator","rank":48,"editor":"StaticText","optional":true},"ACw":{"caption":"Minimum Hours","name":"minimum_hours","rank":42,"editor":"DynamicValue","value":"number","default_val":0},"ACx":{"caption":"Maximum Hours","name":"maximum_hours","rank":43,"editor":"DynamicValue","value":"number","default_val":24},"ACy":{"caption":"Minimum Minutes","name":"minimum_minutes","rank":45,"editor":"DynamicValue","value":"number","default_val":0},"ACz":{"caption":"Maximum Minutes","name":"maximum_minutes","rank":46,"editor":"DynamicValue","value":"number","default_val":59},"ADB":{"caption":"Day Format","name":"day_format","rank":34,"editor":"Dropdown","default_val":"08"},"ADC":{"caption":"Month Format","name":"month_format","rank":35,"editor":"Dropdown","default_val":"01"},"ADD":{"caption":"Year Format","name":"year_format","rank":36,"editor":"Dropdown","default_val":"2022"},"ADE":{"caption":"Date Format","name":"date_order","rank":33,"editor":"Dropdown","default_val":"Day/Month/Year"}
244,"ADQ":{"caption":"Enable Calendar Buttons","name":"show_buttons","rank":60,"editor":"Checkbox","default_val":false},"ADR":{"caption":"Left Button","name":"left_button","rank":61,"editor":"Dropdown","optional":true},"ADS":{"caption":"Right Button","name":"right_button","rank":63,"editor":"Dropdown","optional":true},"ADT":{"caption":"Center Button","name":"center_button","rank":62,"editor":"Dropdown","in_style":false,"optional":true},"ADU":{"caption":"Blocked Dates","name":"blocked_dates","rank":51,"editor":"DynamicValue","value":"date","is_list":true,"optional":true},"ADV":{"caption":"Disable Monday","name":"disable_monday","rank":52,"editor":"DynamicValue","value":"boolean","default_val":false},"ADW":{"caption":"Disable Tuesday","name":"disable_tuesday","rank":53,"editor":"DynamicValue","value":"boolean","optional":false,"default_val":false},"ADX":{"caption":"Disable Wednesday","name":"disable_wednesday","rank":54,"editor":"DynamicValue","value":"boolean","default_val":false},"ADY":{"caption":"Disable Thursday","name":"disable_thursday","rank":55,"editor":"DynamicValue","value":"boolean","default_val":false},"ADZ":{"caption":"Disable Friday","name":"disable_friday","rank":56,"editor":"DynamicValue","value":"boolean","default_val":false},"ADa":{"caption":"Disable Saturday","name":"disable_saturday","rank":57,"editor":"DynamicValue","value":"boolean","default_val":false},"ADb":{"caption":"Disable Sunday","name":"disable_sunday","rank":58,"editor":"DynamicValue","value":"boolean","default_val":false},"ADc":{"caption":"First Day Of Week","name":"first_day_of_week","rank":18,"editor":"Dropdown","default_val":"Sunday"},"ADi":{"caption":"Weekdays' Names Color","name":"day_name_color","rank":21,"editor":"Color","default_val":"rgba(255, 154, 25, 1)"},"ADj":{"caption":"Highlight Color","name":"highlight_color","rank":20,"editor":"Color","default_val":"rgba(92, 196, 239, 1)"},"ADk":{"caption":"Placeholder","name":"placeholder","rank":7,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Air Date/Time Picker"},"ADl":{"caption":"Minutes Step","name":"minutes_step","rank":47,"editor":"DynamicValue","value":"number","default_val":1},"ADm":{"caption":"Hours Step","name":"hours_step","rank":44,"editor":"DynamicValue","value":"number","default_val":1},"ADy":{"caption":"Placeholder Color","name":"placeholder_color","rank":8,"editor":"Color","default_val":"rgba(199, 199, 199, 1)"},"AEB":{"caption":"Automatic Vertical Position","name":"autoposition","rank":12,"editor":"Checkbox","default_val":true},"AEC":{"caption":"Dates Separator","name":"dates_separator","rank":37,"editor":"StaticText","default_val":" , "},"AED":{"caption":"Today Date Color","name":"current_day_color","rank":19,"editor":"Color","default_val":"rgba(78, 181, 230, 1)"},"AEE":{"caption":"Buttons Text Color","name":"buttons_text_color","rank":64,"editor":"Color","default_val":"rgba(78, 181, 230, 1)"},"AEG":{"caption":"Custom Date Format","name":"custom_date_format","rank":38,"editor":"StaticText","optional":true},"AEI":{"caption":"Custom Language Definition","name":"custom_language_definition","rank":27,"editor":"DynamicValue","value":"text","default_val":"{   \"days\": [     \"Domenica\",     \"Lunedi\",     \"Martedi\",     \"Mercoledi\",     \"Giovedi\",     \"Venerdi\",     \"Sabato\"   ],   \"daysShort\": [\"dom\", \"lun\", \"mar\", \"mer\", \"gio\", \"ven\", \"sab\"],   \"daysMin\": [\"dom\", \"lun\", \"mar\", \"mer\", \"gio\", \"ven\", \"sab\"],   \"months\": [     \"Gennaio\",     \"Febbraio\",     \"Marzo\",     \"Aprile\",     \"Maggio\",     \"Giugno\",     \"Luglio\",     \"Agosto\",     \"Settembre\",     \"Ottobre\",     \"Novembre\",     \"Dicembre\"   ],   \"monthsShort\": [     \"gen\",     \"feb\",     \"mar\",     \"apr\",     \"mag\",     \"giu\",     \"lug\",     \"ago\",     \"set\",     \"ott\",     \"nov\",     \"dic\"   ],   \"today\": \"oggi\",   \"clear\": \"resetta\",   \"dateFormat\": \"dd/MM/yyyy\",   \"timeFormat\": \"hh:mm aa\",   \"firstDay\": 0 }","optional":true},"AEJ":{"caption":"Enable Custom Language","name":"use_custom_language","rank":26,"editor":"Checkbox","default_val":false},"AEK":{"caption":"Dates Count Limit","name":"dates_count_limit","rank":4,"optional":true,"editor":"StaticNumber"},"AEL":{"caption":"Blocked Dates Style","name":"disabled_cells_style","rank":50,"editor":"Dropdown","default_val":"gray background"},"AEO":{"caption":"Initial Start Date","name":"rangestart","rank":5,"editor":"DynamicValue","value":"date","optional":true},"AEY":{"caption":"Timezone","name":"timezone","rank":66,"editor":"Dropdown","optional":false,"default_val":"Current/User/Timezone"},"AEl":{"caption":"Minimum View","name":"min_view","rank":15,"editor":"Dropdown","default_val":"Days","optional":false},"AEp":{"caption":"Disable Picker","name":"disable_picker","rank":70,"editor":"Checkbox","default_val":false},"AEr":{"caption":"Dynamic Timezone","name":"dynamic_timesone","rank":67,"editor":"DynamicValue","value":"text","default_val":"","optional":true},"AFE":{"caption":"Padding Vertical","name":"padding_vertical","rank":68,"editor":"StaticNumber","value":"number","in_style":true,"default_val":0},"AFF":{"caption":"Padding Horizontal","name":"padding_horizontal","rank":69,"editor":"StaticNumber","value":"number","default_val":0,"in_style":true},"AFG":{"caption":"--------------------------------Calendar--------------------------------","name":"calendar_section","rank":9,"editor":"Label"},"AFH":{"caption":"------------------------------Timepicker-------------------------------","name":"timepicker_section","rank":39,"editor":"Label"},"AFI":{"caption":"-----------------------------Date Format------------------------------","name":"date_format_section","rank":32,"editor":"Label"},"AFJ":{"caption":"------------------------------Limitations-------------------------------","name":"limitations_section","rank":49,"editor":"Label"},"AFK":{"caption":"--------------------------Calendar Buttons--------------------------","name":"calendar_buttons_section","rank":59,"editor":"Label"},"AFL":{"caption":"---------------------------------Others----------------------------------","name":"others_section","rank":65,"editor":"Label"}},"states":{"ADF":{"caption":"selected date","name":"selected_date","value":"date","initialization_code":{"fn":"function(properties,context){function _0x101f(_0x423e01,_0x114b36){const _0x49e139=_0x49e1();return(_0x101f=function(_0x101f48,_0x2967fa){let _0x153a7b;return _0x49e139[_0x101f48-=352]})(_0x423e01,_0x114b36)}function _0x49e1(){const _0x3cf115=[\"5890514ysHfAs\",\"30UVUtGG\",\"65733jRMOON\",\"5201964CNncBv\",\"260PDqxiK\",\"4722160FcAppP\",\"Only Timepicker\",\"Single Date\",\"90720FQXqPg\",\"3977944wdcJSN\",\"50256bqlTVo\",\"1940HsokyP\"];
244return(_0x49e1=function(){return _0x3cf115})()}function initialization(_0x3e70c6,_0x233af2){const _0x2b9704=_0x101f,{type:_0x3ac121,initial_date:_0x364c2e}=_0x3e70c6;if(_0x3ac121===_0x2b9704(353)||_0x3ac121===_0x2b9704(352))return _0x364c2e??null}return function(_0x400c59,_0x5bef47){const _0x402ecf=_0x101f,_0xde70eb=_0x400c59();for(;;)try{const _0x3092b4=undefined;if(876206===-parseInt(_0x402ecf(360))/1*(parseInt(_0x402ecf(359))/2)+parseInt(_0x402ecf(361))/3+parseInt(_0x402ecf(363))/4+-parseInt(_0x402ecf(362))/5*(parseInt(_0x402ecf(356))/6)+parseInt(_0x402ecf(358))/7+parseInt(_0x402ecf(355))/8+-parseInt(_0x402ecf(354))/9*(parseInt(_0x402ecf(357))/10))break;_0xde70eb.push(_0xde70eb.shift())}catch(_0x10557c){_0xde70eb.push(_0xde70eb.shift())}}(_0x49e1,876206),initialization(properties,context)}"}},"ADG":{"caption":"selected range","name":"selected_range","value":"date_range","initialization_code":{"fn":"function(properties,context){function initialization(_0x507ee9,_0x4bcdf0){const _0xe1fcf8=_0xc3ed,{type:_0x339c3f,rangestart:_0x4a7a8c,rangeend:_0x3fd8bc}=_0x507ee9;if(_0x339c3f===_0xe1fcf8(487))return _0x4a7a8c&&_0x3fd8bc?[_0x4a7a8c,_0x3fd8bc]:null}function _0xc3ed(_0x346a65,_0x17cb2a){const _0x20d07a=_0x20d0();return(_0xc3ed=function(_0xc3ed1d,_0x2f34ce){let _0x5ef55d;return _0x20d07a[_0xc3ed1d-=481]})(_0x346a65,_0x17cb2a)}function _0x20d0(){const _0x771593=[\"52455OhYuAE\",\"4035632rndTUx\",\"2147268qIkanG\",\"10OHITdH\",\"55XJDRRQ\",\"791krdOZs\",\"11nwRezW\",\"444EOjPTC\",\"4802751sSuGfe\",\"10689534HGYOXY\",\"57840NTWtBX\",\"Range\",\"25418IoPWeS\"];return(_0x20d0=function(){return _0x771593})()}return function(_0x2af892,_0x3f6b42){const _0x4d3343=_0xc3ed,_0x290efe=_0x2af892();for(;;)try{const _0x946b09=undefined;if(848083===parseInt(_0x4d3343(482))/1*(parseInt(_0x4d3343(488))/2)+-parseInt(_0x4d3343(484))/3+parseInt(_0x4d3343(490))/4+-parseInt(_0x4d3343(489))/5*(-parseInt(_0x4d3343(483))/6)+-parseInt(_0x4d3343(481))/7*(-parseInt(_0x4d3343(486))/8)+parseInt(_0x4d3343(485))/9*(-parseInt(_0x4d3343(492))/10)+parseInt(_0x4d3343(493))/11*(parseInt(_0x4d3343(491))/12))break;_0x290efe.push(_0x290efe.shift())}catch(_0x559c50){_0x290efe.push(_0x290efe.shift())}}(_0x20d0,848083),initialization(properties,context)}"}},"ADH":{"caption":"selected multiple dates","name":"selected_multiple_dates","value":"date","initialization_code":{"fn":"function(properties,context){function _0x5453(_0x49ecf9,_0x45c3c8){const _0x126b39=_0x126b();return(_0x5453=function(_0x54530c,_0x5c9d01){let _0x5b19dd;return _0x126b39[_0x54530c-=442]})(_0x49ecf9,_0x45c3c8)}function initialization(_0x189ddc,_0x1de98c){const _0x29e5c2=_0x5453,{type:_0x27803d,initial_multiple_dates:_0x20fea0}=_0x189ddc;if(_0x27803d===_0x29e5c2(452))return _0x20fea0?.[_0x29e5c2(449)]()?_0x20fea0[_0x29e5c2(447)](0,_0x20fea0[_0x29e5c2(449)]()):null}function _0x126b(){const _0x1cbef9=[\"Multiple Dates\",\"305851YFnMKt\",\"543728kIiEbI\",\"3LytgTa\",\"81865eAtdBW\",\"44rFqqSx\",\"48awlIss\",\"1315208XiamKY\",\"1462HPKLID\",\"2801455blcmXj\",\"45SBGglv\",\"get\",\"325skzjFm\",\"length\",\"887970KdTTOD\",\"336uvnfmy\"];return(_0x126b=function(){return _0x1cbef9})()}return function(_0x49990f,_0x2c1cc8){const _0x98bfc7=_0x5453,_0x30a26c=_0x49990f();for(;;)try{const _0x367d25=undefined;if(472283===-parseInt(_0x98bfc7(448))/1*(parseInt(_0x98bfc7(444))/2)+parseInt(_0x98bfc7(455))/3*(-parseInt(_0x98bfc7(454))/4)+parseInt(_0x98bfc7(445))/5+-parseInt(_0x98bfc7(442))/6*(-parseInt(_0x98bfc7(456))/7)+parseInt(_0x98bfc7(443))/8*(-parseInt(_0x98bfc7(446))/9)+parseInt(_0x98bfc7(450))/10*(parseInt(_0x98bfc7(457))/11)+parseInt(_0x98bfc7(451))/12*(parseInt(_0x98bfc7(453))/13))break;_0x30a26c.push(_0x30a26c.shift())}catch(_0x26460f){_0x30a26c.push(_0x30a26c.shift())}}(_0x126b,472283),initialization(properties,context)}"},"is_list":true},"ADI":{"caption":"current calendar view","name":"current_view","value":"text","initialization_code":{"fn":"function(properties,context){function _0x578d(){var _0x4e9427=[\"267418zYQzAi\",\"7839JOgVFv\",\"4305290KNpeDB\",\"57625JKzRoi\",\"328032NffAIY\",\"160wEslmQ\",\"2008944nYRXDP\",\"1Qtujpb\",\"default_view\",\"1630328nTRwnm\",\"1384oPKUDV\"];return(_0x578d=function(){return _0x4e9427})()}function _0x2339(_0x5de84f,_0x3ce07c){var _0x578d4b=_0x578d();return(_0x2339=function(_0x233957,_0x156c58){var _0x138486;return _0x578d4b[_0x233957-=479]})(_0x5de84f,_0x3ce07c)}function initialization(_0x10ee87,_0x52fa64){var _0x46be15;return _0x10ee87[_0x2339(482)]}return function(_0x1929c2,_0x4d4971){for(var _0x25ee6c=_0x2339,_0x56a62f=_0x1929c2();;)try{var _0x309934;if(231431===parseInt(_0x25ee6c(481))/1*(-parseInt(_0x25ee6c(485))/2)+-parseInt(_0x25ee6c(489))/3+-parseInt(_0x25ee6c(479))/4*(-parseInt(_0x25ee6c(488))/5)+-parseInt(_0x25ee6c(480))/6+-parseInt(_0x25ee6c(483))/7+parseInt(_0x25ee6c(484))/8*(parseInt(_0x25ee6c(486))/9)+parseInt(_0x25ee6c(487))/10)break;_0x56a62f.push(_0x56a62f.shift())}catch(_0x63f7f){_0x56a62f.push(_0x56a62f.shift())}}(_0x578d,231431),initialization(properties,context)}"}},"ADJ":{"caption":"calendar is visible","name":"is_visible","value":"boolean","initialization_code":{"fn":"function(properties,context){function _0x3786(){var _0x2b9366=[\"5338776CZVgKv\",\"684321LaFbqo\",\"7vrvjzU\",\"12PWrZZP\",\"10iPcCxe\",\"270560mPmKnV\",\"56acrjHu\",\"933975NBaLIa\",\"6137222LBjovU\",\"680696EAjbsd\",\"30bpnHbO\",\"371454xMojGy\",\"8YnzBnn\"];return(_0x3786=function(){return _0x2b9366})()}function _0xcc74(_0x57481d,_0x477bab){var _0x378612=_0x3786();return(_0xcc74=function(_0xcc7474,_0x33c8d7){var _0x51c879;return _0x378612[_0xcc7474-=285]})(_0x57481d,_0x477bab)}function initialization(_0x22b72f,_0x20911e){return _0x22b72f.display_inline}return function(_0x4f466d,_0x3e4d53){for(var _0x5552f3=_0xcc74,_0x4cec53=_0x4f466d();;)try{var _0xe6ea90;if(590434===-parseInt(_0x5552f3(288))/1+parseInt(_0x5552f3(291))/2*(-parseInt(_0x5552f3(290))/3)+-parseInt(_0x5552f3(297))/4*(parseInt(_0x5552f3(296))/5)+parseInt(_0x5552f3(292))/6*(parseInt(_0x5552f3(294))/7)+-parseInt(_0x5552f3(285))/8*(-parseInt(_0x5552f3(286))/9)+-parseInt(_0x5552f3(289))/10*(parseInt(_0x5552f3(293))/11)+parseInt(_0x5552f3(295))/12*(parseInt(_0x5552f3(287))/13))break;_0x4cec53.push(_0x4cec53.shift())}catch(_0x496167){_0x4cec53.push(_0x4cec53.shift())}}(_0x3786,590434),initialization(properties,context)}"}},"AEF":{"caption":"selected range as list","name":"selected_range_as_list","value":"date","initialization_code":{"fn":"function(properties,context){function _0x53ed(_0x48dbc8,_0xd2c07b){const _0xc94da4=_0xc94d();return(_0x53ed=function(_0x53ed68,_0x321de4){let _0x56282d;return _0xc94da4[_0x53ed68-=363]})(_0x48dbc8,_0xd2c07b)}function _0xc94d(){const _0x2c1ba5=[\"push\",\"290279NSWWor\",\"192nrYSlg\",\"728dKtyEi\",\"150NLwZxf\",\"20412340tKdVsS\",\"2763VmIbOx\",\"28870AffLpY\",\"10381tmxxfr\",\"892JLjqwY\",\"getDate\",\"4289585LAbXwY\",\"6WLxxYO\",\"354EbJTzv\",\"Range\",\"9969YgtAsj\"];return(_0xc94d=function(){return _0x2c1ba5})()}function initialization(_0x4ab42c,_0x689582){const _0x24f347=_0x53ed,{type:_0x398ff8,rangestart:_0x22ef15,rangeend:_0x207fd2}=_0x4ab42c;if(_0x398ff8===_0x24f347(378)){if(_0x22ef15&&_0x207fd2){const _0x39e023=[],_0x2e948f=new Date(_0x22ef15);for(;
244_0x2e948f<=_0x207fd2;)_0x39e023[_0x24f347(364)](new Date(_0x2e948f)),_0x2e948f.setDate(_0x2e948f[_0x24f347(374)]()+1);return _0x39e023}return null}}return function(_0x1598c8,_0x4c4128){const _0x17f89e=_0x53ed,_0x4a9f0d=_0x1598c8();for(;;)try{const _0x26d4a9=undefined;if(486938===-parseInt(_0x17f89e(368))/1*(parseInt(_0x17f89e(377))/2)+-parseInt(_0x17f89e(363))/3*(parseInt(_0x17f89e(373))/4)+parseInt(_0x17f89e(375))/5*(parseInt(_0x17f89e(376))/6)+parseInt(_0x17f89e(372))/7*(parseInt(_0x17f89e(367))/8)+-parseInt(_0x17f89e(370))/9*(parseInt(_0x17f89e(371))/10)+-parseInt(_0x17f89e(365))/11*(parseInt(_0x17f89e(366))/12)+parseInt(_0x17f89e(369))/13)break;_0x4a9f0d.push(_0x4a9f0d.shift())}catch(_0x1492c6){_0x4a9f0d.push(_0x4a9f0d.shift())}}(_0xc94d,486938),initialization(properties,context)}"},"is_list":true},"AEu":{"caption":"picker ID","name":"picker_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ADK":{"caption":"value is changed","name":"value_is_changed"},"ADL":{"caption":"view is changed","name":"view_change"},"ADM":{"caption":"calendar is shown","name":"show"},"ADN":{"caption":"calendar is hidden","name":"hide"}},"actions":{"ADd":{"caption":"Show picker","code":{"fn":"function(instance,properties,context){function _0x4a99(_0xc34b85,_0x44ee47){var _0x468026=_0x4680();return(_0x4a99=function(_0x4a9996,_0x296d39){var _0x4a1592;return _0x468026[_0x4a9996-=481]})(_0xc34b85,_0x44ee47)}function run(_0x625af6,_0x4d98d5,_0x3d9371){var _0x212931=_0x4a99;_0x625af6[_0x212931(494)][_0x212931(481)]&&(_0x625af6.data[_0x212931(481)][_0x212931(483)][_0x212931(484)]||_0x625af6[_0x212931(494)][_0x212931(481)][_0x212931(492)]())}function _0x4680(){var _0x3c9bb7=[\"3651536IOrUwT\",\"10JkTspa\",\"3049962cQYLSZ\",\"13251519yNGDIV\",\"357495waOvPd\",\"20046670GIFshK\",\"7xfetXA\",\"show\",\"10851736QyhdRk\",\"data\",\"607407Odgcoe\",\"picker\",\"2KgPbpA\",\"opts\",\"inline\"];return(_0x4680=function(){return _0x3c9bb7})()}!function(_0x17dbe1,_0x2f8986){for(var _0x179f0f=_0x4a99,_0x28e625=_0x17dbe1();;)try{var _0x97047b;if(949940===-parseInt(_0x179f0f(489))/1+-parseInt(_0x179f0f(482))/2*(parseInt(_0x179f0f(495))/3)+-parseInt(_0x179f0f(485))/4*(-parseInt(_0x179f0f(486))/5)+parseInt(_0x179f0f(487))/6*(parseInt(_0x179f0f(491))/7)+-parseInt(_0x179f0f(493))/8+-parseInt(_0x179f0f(488))/9+parseInt(_0x179f0f(490))/10)break;_0x28e625.push(_0x28e625.shift())}catch(_0x59b68d){_0x28e625.push(_0x28e625.shift())}}(_0x4680,949940),run(instance,properties,context)}"}},"ADe":{"caption":"Hide picker","code":{"fn":"function(instance,properties,context){function _0x3282(){var _0xe8447d=[\"7nCQfPC\",\"picker\",\"1596IjrGab\",\"inline\",\"10038306bYvujP\",\"947HGFCwH\",\"380JibtOt\",\"6793952KMUsHH\",\"data\",\"5240175NOJwIJ\",\"opts\",\"150867yeprol\",\"visible\",\"3979472oCeJgI\",\"4588458AkOFZz\"];return(_0x3282=function(){return _0xe8447d})()}function _0x3966(_0x4d6df8,_0x4f8847){var _0x3282ac=_0x3282();return(_0x3966=function(_0x3966ba,_0x17e504){var _0x504129;return _0x3282ac[_0x3966ba-=312]})(_0x4d6df8,_0x4f8847)}function run(_0x2c6b46,_0x25c531,_0x477939){var _0x31bb4a=_0x3966;_0x2c6b46.data[_0x31bb4a(324)]&&(_0x2c6b46[_0x31bb4a(316)][_0x31bb4a(324)][_0x31bb4a(318)][_0x31bb4a(326)]||_0x2c6b46[_0x31bb4a(316)][_0x31bb4a(324)][_0x31bb4a(320)]&&_0x2c6b46[_0x31bb4a(316)].picker.hide())}!function(_0x493340,_0x5e1c26){for(var _0x2713a1=_0x3966,_0x5de40d=_0x493340();;)try{var _0x1794e5;if(907426===-parseInt(_0x2713a1(313))/1*(parseInt(_0x2713a1(325))/2)+parseInt(_0x2713a1(322))/3+parseInt(_0x2713a1(321))/4+-parseInt(_0x2713a1(317))/5+-parseInt(_0x2713a1(312))/6*(-parseInt(_0x2713a1(323))/7)+-parseInt(_0x2713a1(315))/8+parseInt(_0x2713a1(319))/9*(-parseInt(_0x2713a1(314))/10))break;_0x5de40d.push(_0x5de40d.shift())}catch(_0xff4ca1){_0x5de40d.push(_0x5de40d.shift())}}(_0x3282,907426),run(instance,properties,context)}"}},"ADf":{"caption":"Change view","code":{"fn":"function(instance,properties,context){function _0x3e10(){var _0x274b97=[\"80424oeUeJW\",\"1690kpQSeN\",\"4503065pSRzYU\",\"615226unUNmt\",\"7923756iltzUk\",\"new_view\",\"2uRrLwX\",\"8fSWfmM\",\"2545401NPVZPV\",\"setCurrentView\",\"picker\",\"5167755XAJAsD\",\"data\",\"118216YpUzZr\"];
244return(_0x3e10=function(){return _0x274b97})()}function _0x2e33(_0x1a78e2,_0x3034f0){var _0x3e10ca=_0x3e10();return(_0x2e33=function(_0x2e33ef,_0xc0f0c5){var _0x4fcb93;return _0x3e10ca[_0x2e33ef-=210]})(_0x1a78e2,_0x3034f0)}function run(_0x20e474,_0x13ff0e,_0x143791){var _0x19cd9a=_0x2e33;_0x20e474[_0x19cd9a(217)][_0x19cd9a(215)]&&_0x20e474[_0x19cd9a(217)][_0x19cd9a(215)][_0x19cd9a(214)](_0x13ff0e[_0x19cd9a(210)])}!function(_0x538dee,_0x46643b){for(var _0x1df814=_0x2e33,_0x1d3607=_0x538dee();;)try{var _0x35f859;if(854325===parseInt(_0x1df814(222))/1*(parseInt(_0x1df814(211))/2)+parseInt(_0x1df814(213))/3+-parseInt(_0x1df814(218))/4+-parseInt(_0x1df814(216))/5+parseInt(_0x1df814(223))/6+-parseInt(_0x1df814(221))/7*(-parseInt(_0x1df814(212))/8)+parseInt(_0x1df814(219))/9*(-parseInt(_0x1df814(220))/10))break;_0x1d3607.push(_0x1d3607.shift())}catch(_0x475417){_0x1d3607.push(_0x1d3607.shift())}}(_0x3e10,854325),run(instance,properties,context)}","add_debugger":false},"fields":{"ADg":{"caption":"View","name":"new_view","rank":0,"editor":"Dropdown","default_val":"months"}}},"ADh":{"caption":"Clear selected dates","code":{"fn":"function(instance,properties,context){function _0x3458(_0x14f7fd,_0x260814){const _0x4c22e3=_0x4c22();return(_0x3458=function(_0x345857,_0x279d79){let _0x2fb627;return _0x4c22e3[_0x345857-=284]})(_0x14f7fd,_0x260814)}function run(_0xe6068f,_0x238e06,_0x5bb89e){const _0x38d886=_0x3458,{picker:_0x2a7770}=_0xe6068f[_0x38d886(296)];if(!_0x2a7770)return;const{publishAutobinding:_0x471122}=_0xe6068f,{refreshStates:_0x4f0492}=_0xe6068f.data,{trigger_value_change:_0x5de505}=_0x238e06,_0x1024e4={silent:_0x5de505};_0x2a7770.clear(_0x1024e4),_0x5de505&&(_0x471122(null),_0x4f0492({selectedDate:null,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null}))}function _0x4c22(){const _0x2a8164=[\"25PprQpV\",\"2180990nloOjN\",\"12LHvhXT\",\"2917494vngItG\",\"8601704OUDPKj\",\"2597507HWiNyB\",\"27nFDBzw\",\"data\",\"430860MwxUYn\",\"1641265vtwXwM\",\"1786542BXYFTK\",\"7xGbMcV\",\"4RCqklr\"];return(_0x4c22=function(){return _0x2a8164})()}!function(_0x165d3f,_0x200f37){const _0x2855cf=_0x3458,_0xc67465=_0x165d3f();for(;;)try{const _0x450cd4=undefined;if(918786===parseInt(_0x2855cf(285))/1+parseInt(_0x2855cf(288))/2*(-parseInt(_0x2855cf(286))/3)+-parseInt(_0x2855cf(284))/4*(parseInt(_0x2855cf(289))/5)+-parseInt(_0x2855cf(292))/6+parseInt(_0x2855cf(287))/7*(parseInt(_0x2855cf(293))/8)+parseInt(_0x2855cf(295))/9*(parseInt(_0x2855cf(290))/10)+parseInt(_0x2855cf(294))/11*(-parseInt(_0x2855cf(291))/12))break;_0xc67465.push(_0xc67465.shift())}catch(_0x2b1338){_0xc67465.push(_0xc67465.shift())}}(_0x4c22,918786),run(instance,properties,context)}"},"fields":{"AEv":{"caption":"Without Trigger Event","name":"trigger_value_change","rank":0,"editor":"Checkbox","default_val":true}}},"ADv":{"caption":"Next","code":{"fn":"function(instance,properties,context){function _0x5098(_0xee7236,_0x4267ea){var _0x58f734=_0x58f7();return(_0x5098=function(_0x5098d7,_0x5312f4){var _0x3defd9;return _0x58f734[_0x5098d7-=495]})(_0xee7236,_0x4267ea)}function run(_0x2eec69,_0x56260a,_0x462129){var _0x50fd13=_0x5098;_0x2eec69.data[_0x50fd13(504)]&&_0x2eec69.data[_0x50fd13(504)].next()}function _0x58f7(){var _0x55b99f=[\"17670MPQTfA\",\"778750RYoLTe\",\"709587monHSh\",\"1614kMytgf\",\"342VdcjJW\",\"248810dktvUA\",\"picker\",\"2190924neJDGC\",\"11036648MKhAws\",\"22fikzzk\",\"142413nuzCEY\"];return(_0x58f7=function(){return _0x55b99f})()}!function(_0x4ccc47,_0x281336){for(var _0x541f22=_0x5098,_0x583b8a=_0x4ccc47();;)try{var _0x1d18d7;if(801626===-parseInt(_0x541f22(500))/1+-parseInt(_0x541f22(496))/2*(parseInt(_0x541f22(497))/3)+parseInt(_0x541f22(505))/4+parseInt(_0x541f22(498))/5*(-parseInt(_0x541f22(501))/6)+parseInt(_0x541f22(499))/7+parseInt(_0x541f22(495))/8+-parseInt(_0x541f22(502))/9*(-parseInt(_0x541f22(503))/10))break;_0x583b8a.push(_0x583b8a.shift())}catch(_0x2f2fef){_0x583b8a.push(_0x583b8a.shift())}}(_0x58f7,801626),run(instance,properties,context)}"}},"ADw":{"caption":"Prev","code":{"fn":"function(instance,properties,context){function _0x3d1f(_0x1b70bd,_0x24c76a){var _0x4fb161=_0x4fb1();return(_0x3d1f=function(_0x3d1f83,_0x42efc8){var _0x1c7baf;return _0x4fb161[_0x3d1f83-=242]})(_0x1b70bd,_0x24c76a)}function _0x4fb1(){var _0x1e017c=[\"11601SnChxX\",\"12172UdswBu\",\"12DSsmBD\",\"picker\",\"8QltYNl\",\"636KyOyGF\",\"522694TFyZoo\",\"4walfjL\",\"879697BEKkfq\",\"prev\",\"data\",\"5676145rpQgjP\",\"9421490ngCkSR\",\"7384597OHAerA\"];return(_0x4fb1=function(){return _0x1e017c})()}function run(_0x138876,_0xed2c67,_0x3dacd4){var _0x713d31=_0x3d1f;_0x138876.data[_0x713d31(249)]&&_0x138876[_0x713d31(242)].picker[_0x713d31(255)]()}!function(_0xcc00f1,_0xd364cf){for(var _0x234807=_0x3d1f,_0x1ccdd5=_0xcc00f1();;)try{var _0x6a5345;if(625888===parseInt(_0x234807(252))/1*(parseInt(_0x234807(253))/2)+parseInt(_0x234807(251))/3*(-parseInt(_0x234807(247))/4)+-parseInt(_0x234807(243))/5+parseInt(_0x234807(248))/6*(-parseInt(_0x234807(254))/7)+-parseInt(_0x234807(250))/8*(parseInt(_0x234807(246))/9)+parseInt(_0x234807(244))/10+parseInt(_0x234807(245))/11)break;_0x1ccdd5.push(_0x1ccdd5.shift())}catch(_0x5e1ba4){_0x1ccdd5.push(_0x1ccdd5.shift())}}(_0x4fb1,625888),run(instance,properties,context)}"}},"AEM":{"caption":"Set date","code":{"fn":"function(instance,properties,context){function _0x2fe2(){const _0x347733=[\"isArray\",\"data\",\"initialDateForRange\",\"3804384bkESpB\",\"clear\",'The \"Start Date\" and \"\"End Date fields are not completed!',\"length\",\"757173OIRDmm\",\"Only Timepicker\",\"get\",\"2849840swNXLJ\",\"Single Date\",\"522190hemgLc\",\"selectDate\",\"5945310kEINaB\",\"29536pqMnhY\",\"Multiple Dates\",\"2NnEKtq\",'The \"Date\" field is not completed!',\"Range\",\"15iQSjim\",\"1603jFYoXl\",\"1002812oXNdlj\"];return(_0x2fe2=function(){return _0x347733})()}
244function _0x13f3(_0x1a9adf,_0x35c057){const _0x2fe231=_0x2fe2();return(_0x13f3=function(_0x13f30f,_0x211855){let _0x3e6c24;return _0x2fe231[_0x13f30f-=170]})(_0x1a9adf,_0x35c057)}function run(_0x2f29f1,_0x44e984,_0x2f99fa){const _0x30a1cc=_0x13f3,{picker:_0xd9554f,pickerType:_0x4ee81a,makeCopyOfDate:_0x49e7de,adjustDatesToTimezone:_0x2f60d2,refreshStates:_0x3b89de,getDatesInRange:_0xb5380f}=_0x2f29f1.data,{publishAutobinding:_0x422a5e}=_0x2f29f1,{reportDebugger:_0x4fc151}=_0x2f99fa;if(!_0xd9554f)return;const{date:_0xf5d019,multiple_dates:_0x9ec10e,range_start:_0x24624f,range_end:_0x4b6dad}=_0x44e984;switch(_0x4ee81a){case _0x30a1cc(185):{if(!_0xf5d019){_0x4fc151(_0x30a1cc(192));break}_0xd9554f.clear({silent:!0}),_0xd9554f[_0x30a1cc(187)](_0x49e7de(_0xf5d019),{silent:!0,updateTime:!0});const _0x764556=_0x2f60d2(_0x49e7de(_0xf5d019));Array[_0x30a1cc(174)](_0x764556)?_0x422a5e(null):_0x422a5e(_0x764556),_0x3b89de({selectedDate:_0x764556,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null});break}case _0x30a1cc(190):{const _0xea0251=_0x9ec10e?.[_0x30a1cc(180)]();if(!_0xea0251){_0x4fc151('The \"Dates\" field is not completed!');break}const _0x293cdc=_0x9ec10e[_0x30a1cc(183)](0,_0xea0251);_0xd9554f[_0x30a1cc(178)]({silent:!0}),_0xd9554f[_0x30a1cc(187)](_0x49e7de(_0x293cdc),{silent:!0,updateTime:!0});const _0x1b84d2=undefined;_0x3b89de({selectedDate:null,selectedMultipleDates:_0x2f60d2(_0x49e7de(_0x293cdc)),selectedRange:null,selectedRangeAsList:null});break}case _0x30a1cc(170):{if(!_0x24624f||!_0x4b6dad){_0x4fc151(_0x30a1cc(179));break}_0xd9554f.clear({silent:!0});const _0x3294e2=[_0x24624f,_0x4b6dad];_0xd9554f[_0x30a1cc(187)](_0x49e7de(_0x3294e2),{silent:!0,updateTime:!0});const _0x2bafde=_0x2f60d2(_0x49e7de(_0x2f29f1[_0x30a1cc(175)][_0x30a1cc(176)])),_0x3737a7=_0x2f60d2(_0xb5380f(_0x24624f,_0x4b6dad));_0x3b89de({selectedDate:null,selectedMultipleDates:null,selectedRange:_0x2bafde[_0x30a1cc(180)]?_0x2bafde:null,selectedRangeAsList:_0x3737a7});break}case _0x30a1cc(182):{if(!_0xf5d019){_0x4fc151(_0x30a1cc(192));break}_0xd9554f[_0x30a1cc(178)]({silent:!0}),_0xd9554f[_0x30a1cc(187)](_0x49e7de(_0xf5d019),{silent:!0,updateTime:!0});const _0x41987d=_0x2f60d2(_0x49e7de(_0xf5d019));Array[_0x30a1cc(174)](_0x41987d)?_0x422a5e(null):_0x422a5e(_0x41987d),_0x3b89de({selectedDate:_0x41987d,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null});break}}}!function(_0x30c66c,_0x290331){const _0x53475a=_0x13f3,_0x59911f=_0x30c66c();for(;;)try{const _0x125570=undefined;if(711698===-parseInt(_0x53475a(186))/1+-parseInt(_0x53475a(191))/2*(parseInt(_0x53475a(181))/3)+-parseInt(_0x53475a(173))/4*(-parseInt(_0x53475a(171))/5)+parseInt(_0x53475a(177))/6+-parseInt(_0x53475a(172))/7*(parseInt(_0x53475a(189))/8)+parseInt(_0x53475a(188))/9+parseInt(_0x53475a(184))/10)break;_0x59911f.push(_0x59911f.shift())}catch(_0x17c673){_0x59911f.push(_0x59911f.shift())}}(_0x2fe2,711698),run(instance,properties,context)}","add_debugger":false},"fields":{"AEN":{"caption":"Date","name":"date","rank":0,"editor":"DynamicValue","value":"date","optional":true},"AEm":{"caption":"Start Date","name":"range_start","rank":2,"editor":"DynamicValue","value":"date","optional":true},"AEn":{"caption":"End Date","name":"range_end","rank":3,"editor":"DynamicValue","value":"date","optional":true},"AEs":{"caption":"Dates","name":"multiple_dates","rank":1,"editor":"DynamicValue","value":"date","is_list":true,"optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\tfunction _0x42b3(_0x108d5d, _0x42df4c) {\n\t\tconst _0x3aaa2f = _0x3aaa();\n\t\treturn _0x42b3 = function(_0x42b3d0, _0x5ddf92) {\n\t\t\t_0x42b3d0 = _0x42b3d0 - 0x1f0;\n\t\t\tlet _0x36539c = _0x3aaa2f[_0x42b3d0];\n\t\t\treturn _0x36539c;\n\t\t}, _0x42b3(_0x108d5d, _0x42df4c);\n\t}\n\t(function(_0x201da4, _0x348dd3) {\n\t\tconst _0x2af5a5 = _0x42b3,\n\t\t\t_0x447201 = _0x201da4();\n\t\twhile (!![]) {\n\t\t\ttry {\n\t\t\t\tconst _0x71a3e = -parseInt(_0x2af5a5(0x229)) / 0x1 * (parseInt(_0x2af5a5(0x1fa)) / 0x2) + -parseInt(_0x2af5a5(0x215)) / 0x3 * (parseInt(_0x2af5a5(0x209)) / 0x4) + -parseInt(_0x2af5a5(0x20d)) / 0x5 + -parseInt(_0x2af5a5(0x1f9)) / 0x6 + parseInt(_0x2af5a5(0x201)) / 0x7 * (parseInt(_0x2af5a5(0x1fd)) / 0x8) + -parseInt(_0x2af5a5(0x206)) / 0x9 * (parseInt(_0x2af5a5(0x22b)) / 0xa) + parseInt(_0x2af5a5(0x224)) / 0xb;\n\t\t\t\tif (_0x71a3e === _0x348dd3)\n\t\t\t\t\tbreak;
244\n\t\t\t\telse\n\t\t\t\t\t_0x447201['push'](_0x447201['shift']());\n\t\t\t} catch (_0x5cf817) {\n\t\t\t\t_0x447201['push'](_0x447201['shift']());\n\t\t\t}\n\t\t}\n\t}(_0x3aaa, 0x53cf5));\n\n\tfunction _0x3aaa() {\n\t\tconst _0x3be949 = [\n\t\t\t'Tuesday',\n\t\t\t'November',\n\t\t\t'24465144zyLSsn',\n\t\t\t'airpicker-',\n\t\t\t'border',\n\t\t\t'stylesheet',\n\t\t\t'May',\n\t\t\t'485653OyEbGV',\n\t\t\t'height',\n\t\t\t'804710hRaPmg',\n\t\t\t'Sat',\n\t\t\t'head',\n\t\t\t'Clear',\n\t\t\t'script',\n\t\t\t'input',\n\t\t\t'hh:mm\\x20aa',\n\t\t\t'style',\n\t\t\t'createElement',\n\t\t\t'Tue',\n\t\t\t'Mon',\n\t\t\t'Sun',\n\t\t\t'getElementsByTagName',\n\t\t\t'Wed',\n\t\t\t'random',\n\t\t\t'Air\\x20Date/Time\\x20Picker',\n\t\t\t'https://cdn.jsdelivr.net/npm/[email protected]/air-datepicker.min.js',\n\t\t\t'Fri',\n\t\t\t'Jun',\n\t\t\t'3302460kfSsYN',\n\t\t\t'2JByZoq',\n\t\t\t'href',\n\t\t\t'Friday',\n\t\t\t'416BMuqGH',\n\t\t\t'Sep',\n\t\t\t'MM/dd/yyyy',\n\t\t\t'August',\n\t\t\t'21959YGrMlw',\n\t\t\t'Jul',\n\t\t\t'February',\n\t\t\t'Sunday',\n\t\t\t'rel',\n\t\t\t'63viJREE',\n\t\t\t'bubble',\n\t\t\t'placeholder',\n\t\t\t'4MzPcme',\n\t\t\t'https://ad39f422125b6e690ae15b5508b641d5.cdn.bubble.io/f1648468483963x283276697705244100/air-datepicker.css',\n\t\t\t'Monday',\n\t\t\t'April',\n\t\t\t'713280iyNgaj',\n\t\t\t'Thursday',\n\t\t\t'appendChild',\n\t\t\t'none',\n\t\t\t'width',\n\t\t\t'canvas',\n\t\t\t'Mar',\n\t\t\t'July',\n\t\t\t'905781EwLPTJ',\n\t\t\t'October',\n\t\t\t'Oct',\n\t\t\t'Today',\n\t\t\t'December',\n\t\t\t'March',\n\t\t\t'Dec',\n\t\t\t'Wednesday',\n\t\t\t'Apr',\n\t\t\t'Aug',\n\t\t\t'September',\n\t\t\t'Feb',\n\t\t\t'display_inline'\n\t\t];\n\t\t_0x3aaa = function() {\n\t\t\treturn _0x3be949;\n\t\t};\n\t\treturn _0x3aaa();\n\t}\n\n\tfunction preview(_0x19e766, _0x71afb8) {\n\t\tconst _0x53b40b = _0x42b3;\n\t\tlet _0x2cd53a = document[_0x53b40b(0x233)](_0x53b40b(0x230)),\n\t\t\t_0x3da148 = _0x19e766[_0x53b40b(0x212)]['get'](0x0),\n\t\t\t_0x529b13 = _0x53b40b(0x225) + (Math[_0x53b40b(0x1f4)]() * Math['pow'](0x2, 0x36))['toString'](0x12);\n\t\t_0x2cd53a['id'] = _0x529b13, _0x2cd53a['style']['width'] = _0x71afb8[_0x53b40b(0x207)][_0x53b40b(0x211)]() + 'px', _0x2cd53a[_0x53b40b(0x232)][_0x53b40b(0x22a)] = _0x71afb8[_0x53b40b(0x207)][_0x53b40b(0x22a)]() + 'px', _0x2cd53a[_0x53b40b(0x232)][_0x53b40b(0x226)] = _0x53b40b(0x210), _0x2cd53a[_0x53b40b(0x232)]['padding'] = '0px', _0x2cd53a[_0x53b40b(0x208)] = _0x53b40b(0x1f5);\n\t\tlet _0x110ad4 = document['createElement'](_0x53b40b(0x22f));\n\t\t_0x110ad4['src'] = _0x53b40b(0x1f6), _0x3da148[_0x53b40b(0x20f)](_0x110ad4);\n\t\tlet _0x7e51ca = document[_0x53b40b(0x233)]('link');\n\t\t_0x7e51ca[_0x53b40b(0x205)] = _0x53b40b(0x227), _0x7e51ca[_0x53b40b(0x1fb)] = _0x53b40b(0x20a), document[_0x53b40b(0x1f2)](_0x53b40b(0x22d))[0x0][_0x53b40b(0x20f)](_0x7e51ca), _0x3da148[_0x53b40b(0x20f)](_0x7e51ca), _0x3da148[_0x53b40b(0x20f)](_0x2cd53a), _0x71afb8[_0x53b40b(0x221)] && setTimeout(function() {\n\t\t\tconst _0x3e0cc5 = _0x53b40b;\n\t\t\tnew AirDatepicker('#' + _0x529b13, {\n\t\t\t\t'inline': !![],\n\t\t\t\t'locale': {\n\t\t\t\t\t'days': [\n\t\t\t\t\t\t_0x3e0cc5(0x204),\n\t\t\t\t\t\t_0x3e0cc5(0x20b),\n\t\t\t\t\t\t_0x3e0cc5(0x222),\n\t\t\t\t\t\t_0x3e0cc5(0x21c),\n\t\t\t\t\t\t_0x3e0cc5(0x20e),\n\t\t\t\t\t\t_0x3e0cc5(0x1fc),\n\t\t\t\t\t\t'Saturday'\n\t\t\t\t\t],\n\t\t\t\t\t'daysShort': [\n\t\t\t\t\t\t_0x3e0cc5(0x1f1),\n\t\t\t\t\t\t_0x3e0cc5(0x1f0),\n\t\t\t\t\t\t_0x3e0cc5(0x234),\n\t\t\t\t\t\t_0x3e0cc5(0x1f3),\n\t\t\t\t\t\t'Thu',\n\t\t\t\t\t\t_0x3e0cc5(0x1f7),\n\t\t\t\t\t\t_0x3e0cc5(0x22c)\n\t\t\t\t\t],\n\t\t\t\t\t'daysMin': [\n\t\t\t\t\t\t'Su',\n\t\t\t\t\t\t'Mo',\n\t\t\t\t\t\t'Tu',\n\t\t\t\t\t\t'We',\n\t\t\t\t\t\t'Th',\n\t\t\t\t\t\t'Fr',\n\t\t\t\t\t\t'Sa'\n\t\t\t\t\t],\n\t\t\t\t\t'months': [\n\t\t\t\t\t\t'January',\n\t\t\t\t\t\t_0x3e0cc5(0x203),\n\t\t\t\t\t\t_0x3e0cc5(0x21a),\n\t\t\t\t\t\t_0x3e0cc5(0x20c),\n\t\t\t\t\t\t_0x3e0cc5(0x228),\n\t\t\t\t\t\t'June',\n\t\t\t\t\t\t_0x3e0cc5(0x214),\n\t\t\t\t\t\t_0x3e0cc5(0x200),\n\t\t\t\t\t\t_0x3e0cc5(0x21f),\n\t\t\t\t\t\t_0x3e0cc5(0x216),\n\t\t\t\t\t\t_0x3e0cc5(0x223),\n\t\t\t\t\t\t_0x3e0cc5(0x219)\n\t\t\t\t\t],\n\t\t\t\t\t'monthsShort': [\n\t\t\t\t\t\t'Jan',\n\t\t\t\t\t\t_0x3e0cc5(0x220),\n\t\t\t\t\t\t_0x3e0cc5(0x213),\n\t\t\t\t\t\t_0x3e0cc5(0x21d),\n\t\t\t\t\t\t_0x3e0cc5(0x228),\n\t\t\t\t\t\t_0x3e0cc5(0x1f8),\n\t\t\t\t\t\t_0x3e0cc5(0x202),\n\t\t\t\t\t\t_0x3e0cc5(0x21e),\n\t\t\t\t\t\t_0x3e0cc5(0x1fe),\n\t\t\t\t\t\t_0x3e0cc5(0x217),\n\t\t\t\t\t\t'Nov',\n\t\t\t\t\t\t_0x3e0cc5(0x21b)\n\t\t\t\t\t],\n\t\t\t\t\t'today': _0x3e0cc5(0x218),\n\t\t\t\t\t'clear': _0x3e0cc5(0x22e),\n\t\t\t\t\t'dateFormat': _0x3e0cc5(0x1ff),\n\t\t\t\t\t'timeFormat': _0x3e0cc5(0x231),\n\t\t\t\t\t'firstDay': 0x0\n\t\t\t\t}\n\t\t\t}), _0x2cd53a[_0x3e0cc5(0x232)]['display'] = _0x3e0cc5(0x210);\n\t\t}, 0x5dc);\n\t}\n\tpreview(instance, properties);\n}","add_debugger":false},"initialize":{"fn":"function(instance,context){function _0x229b(){const _0x3e24d7=[\"onShow\",\"isArray\",\"ก.ค.\",\"Июль\",\"Lut\",\"ต.ค.\",\"Quarta\",\"Сбт\",\"donderdag\",\"Temmuz\",\"Czerwiec\",\"Aujourd'hui\",\"Kesäkuu\",\"Şbt\",\"May\",\"random\",\"Říjen\",\"Joi\",\"ก.ย.\",\"Hzr\",\"Kesä\",\"8:20 AM\",\"Poniedziałek\",\"prototype\",\"Abr\",\"Вторник\",\"Septembre\",\"Ons\",\"Noviembre\",\"일요일\",\"Salı\",\"พฤษภาคม\",\"Чтв\",\"pow\",\"Februarie\",\"화요일\",\"February\",\"Terça\",\"Sab\",'<svg><path d=\"M 17,12 l -5,5 l 5,5\"></path></svg>',\"adjustDatesToTimezone\",\"pickerID\",\"Bugün\",\"Фев\",\"match\",\"yy. m. d.\",\"Tammi\",\"Сегодня\",\"Toukokuu\",\"Жовтень\",\"Thursday\",\"Lipiec\",\"createPickerButton\",\"Пнд\",\"Mrt\",\"min\",\"Heute\",\"Marraskuu\",\"Ноябрь\",\"Juil\",\"มกราคม\",\"Февраль\",\"Júl\",\"I dag\",\"วันจันทร์\",\"Keskiviikko\",\"Aufräumen\",\"Fev\",\"HH:mm\",\"Søn\",\"Decembrie\",\"Piątek\",\"Máj\",\"Fevereiro\",\"ก.พ.\",\"parse\",\"Jul\",\"十二月\",\"hh:mm aa\",\"Пятница\",\"Середа\",\"getMonth\",\"Mai\",\"เม.ย.\",\"Juillet\",\"style\",\"createElement\",\"onSelect\",\"Heinäkuu\",\"26287710MftiXL\",\"August\",\"Seg\",\"get\",\"Wyczyść\",\"checkChangesForRangeValue\",\"Сентябрь\",\"en-US\",\"MarÅ£i\",\"call\",\"onHide\",\"data\",\"Mardi\",\"selectedDates\",\"Липень\",\"Грудень\",\"Huhti\",\"Tmz\",\"selected_date\",\"Avr\",\"picker_id\",\"classList\",\"Авг\",\"Mer\",\"Mar\",\"Sze\",\"Szeptember\",\"Březen\",\"Fredag\",\"12월\",\"Å tv\",\"Diciembre\",\"Úno\",\"buttons\",\"lastChangeInterval\",\"분명한\",\"Mit\",\"Abril\",\"Marts\",\"Sep\",\"-disabled-range-\",\"Wto\",\"Jún\",\"Çarşamba\",\"MM/dd/yyyy\",\"Dom\",\"Čvn\",\"Loka\",\"พฤศจิกายน\",\"refreshStates\",\"Agosto\",\"Lun\",\"Martie\",\"Januar\",\"831986kIkYuP\",\"Helmi\",\"Sunday\",\"April\",\"Eylül\",\"Január\",\"picker\",\"728fAxlnA\",\"Aug\",\"Legen\",\"HH:ii\",\"Czw\",\"November\",\"Maalis\",\"Donnerstag\",\"Лютий\",\"weekdayNumber\",\"selected_range_as_list\",\"Ned\",\"canvas\",\"วันอาทิตย์\",\"Сьогодні\",\"Sâm\",\"Október\",\"Apr\",\"Ven\",\"十一月\",\"Marzec\",\"Hétfő\",\"Segunda\",\"Elokuu\",\"Novembre\",\"Freitag\",\"Eyl\",\"Вівторок\",\"Son\",\"2903910sHftje\",\"Окт\",\"bottom left\",\"Maj\",\"Outubro\",\"Out\",\"Sâmbătă\",\"Dez\",\"clear\",\"มิถุนายน\",\"Январь\",\"März\",\"Ene\",\"Domingo\",\"Dec\",\"Mys\",\"Monday\",\"Cuma\",\"hasDST\",\"Śro\",\"Mon\",\"มีนาคม\",\"getDate\",\"Mär\",\"Mandag\",\"11월\",\"Сер\",\"4SRDdns\",\"MMMM\",\"includes\",\"Day\",\"Jan\",\"filter\",\"วันนี้\",\"Juni\",\"initialDateForRange\",\"blockedDaysOfWeek\",\"Décembre\",\"Очистить\",\"Lokakuu\",\"Utorok\",\"Viernes\",\"opts\",\"Kvě\",\"yyyy-MM-dd\",\"เมษายน\",\"Oct\",\"Ноя\",\"Птн\",\"Pátek\",\"Lunes\",\"Uto\",\"Lauantai\",\"4680504fphFVE\",\"hide\",\"show\",\"is_visible\",\"getDay\",\"ม.ค.\",\"Vendredi\",\"Nsn\",\"Julho\",\"31178mkoUEO\",\"Čtvrtek\",\"Nulstil\",\"Noiembrie\",\"Haziran\",\"triggerEvent\",\"some\",\"appendChild\",\"Péntek\",\"Tue\",\"Április\",\"Cumartesi\",\"Perşembe\",\"initialDateForMultipleDates\",\"Вересень\",\"Červen\",\"Ian\",\"Iul\",\"view_change\",\"มี.ค.\",\"Octubre\",\"Октябрь\",\"onBeforeSelect\",\"กุมภาพันธ์\",\"สิงหาคม\",\"Nov\",\"Febrero\",\"Niedziela\",\"Július\",\"1539699NFzBZK\",\"Dnes\",\"Çar\",\"Травень\",\"value_is_changed\",\"วันเสาร์\",\"dd/MM/yyyy\",\"Jeu\",\"hh:mm AA\",\"h:mm AA\",\"Martes\",\"Today button\",\"Pzr\",\"Sexta\",\"Styczeń\",\"Qua\",\"Бер\",\"Quinta\",\"Чет\",\"Septembrie\",\"Effacer\",\"Vymazat\",\"Pondelok\",\"Miércoles\",\"อา.\",\"KwiecieÅ
244„\",\"Воскресенье\",\"Tirsdag\",\"Mie\",\"Cum\",\"Sonntag\",\"timeFormat\",\"Sex\",\"Ekim\",\"Set\",\"Май\",\"Dimanche\",\"Wrz\",\"Вос\",\"dd.MM.yyyy\",\"Srpen\",\"Сен\",\"Серпень\",\"Zář\",\"selectDate\",\"พฤ.\",\"Fri\",\"Cze\",\"Feb\",\"ล้าง\",\"Вів\",\"Apríl\",\"Квітень\",\"Å tvrtok\",\"Julio\",\"Maart\",\"Man\",\"monthsShort\",\"Очистити\",\"add\",\"Samedi\",\"onFocus\",\"Month\",\"Січ\",\"Février\",\"8:20 am\",\"July\",\"Februar\",\"Mars\",\"Limpar\",\"Piatok\",\"Středa\",\"Juin\",\"Qui\",\"Вто\",\"language\",\"พ.ย.\",\"Januari\",\"Пон\",\"initialDateForSingleDateAndTimepicker\",\"Thu\",\"Září\",\"Iulie\",\"Miercuri\",\"Szombat\",\"Maaliskuu\",\"Dzisiaj\",\"Ocak\",\"Ağt\",\"Octombrie\",\"Środa\",\"Июнь\",\"Sun\",\"Июн\",\"Dienstag\",\"maandag\",\"Úterý\",\"Saturday\",\"Pia\",\"กันยายน\",\"March\",\"Led\",\"Torstai\",\"Vie\",\"H:mm\",\"Среда\",\"Лис\",\"Juli\",\"setDate\",\"every\",\"Lørdag\",\"Aprilie\",\"Янв\",\"Dic\",\"Sty\",\"Már\",\"Maio\",\"vrijdag\",\"10월\",\"getFullYear\",\"onChangeView\",\"timeZone\",\"08:20 AM\",\"Streda\",\"sort\",\"Cts\",\"Июл\",\"Vasárnap\",\"map\",\"Říj\",\"Csütörtök\",\"className\",\"checkChangesForSingleDateOrOnlyTimepickerValue\",\"Août\",\"Jueves\",\"Paź\",\"Március\",\"Únor\",\"Pon\",\"Clear button\",\"isMobile\",\"Декабрь\",\"Şterge\",\"$datepicker\",\"Tuesday\",\"Понедельник\",\"Sierpień\",\"Oca\",\"Pts\",\"Лип\",\"Мар\",\"Søndag\",\"zondag\",\"Гру\",\"MMM\",\"Sobota\",\"Szerda\",\"Mei\",\"disabledDate\",\"Lør\",\"Septiembre\",\"Fév\",\"getTimezoneOffset\",\"Prosinec\",\"Субота\",\"today\",\"Чер\",\"Gru\",\"focus\",\"Срд\",\"Четвер\",\"max\",\"userAgent\",\"Дек\",\"Sie\",\"Апр\",\"Август\",\"토요일\",\"Dum\",\"Dezember\",\"Pią\",\"Str\",\"h:mm aa\",\"Кві\",\"locale\",\"Okt\",\"Neděle\",\"Lundi\",\"September\",\"push\",\"Perjantai\",\"Kwi\",\"Friday\",\"[object Date]\",\"Ago\",\"Augusztus\",\"Сре\",\"Март\",\"days\",\"adjustDate\",\"Per\",\"VymazaÅ¥\",\"toLocaleString\",\"Tyhjennä\",\"publishState\",\"ok-picker-button\",\"Січень\",\"วันพุธ\",\"Ápr\",\"getTime\",\"Fre\",\"Суббота\",\"Ksm\",\"ตุลาคม\",\"Grudzień\",\"Tammikuu\",\"Joulu\",\"Dim\",\"Суб\",\"Тра\",\"Четверг\",\"Czwartek\",\"Mayıs\",\"toString\",\"Jun\",\"พ.ค.\",\"Sábado\",\"Setembro\",\"Lis\",\"Нед\",\"수요일\",\"Today\",\"Bře\",\"length\",\"목요일\",\"Montag\",\"Lip\",\"15534Pdqkbc\",\"Ok button\",\"Sob\",\"Sept\",\"Pro\",\"3225xtfuRB\",\"Pazartesi\",\"Vineri\",\"Październik\",\"Listopad\",\"08:20\",\"replace\",\"December\",\"Sam\",\"October\",\"Oktober\",\"Leden\"];return(_0x229b=function(){return _0x3e24d7})()}function _0x4dae(_0x429e27,_0x436c54){const _0x229b59=_0x229b();return(_0x4dae=function(_0x4dae85,_0x54a918){let _0x3cdbad;return _0x229b59[_0x4dae85-=272]})(_0x429e27,_0x436c54)}function initialize(_0x4c09d4,_0x223a77){const _0x5d6091=_0x4dae;_0x4c09d4[_0x5d6091(398)][_0x5d6091(447)]=null,_0x4c09d4.data.pickerID=\"airpicker-\"+(Math[_0x5d6091(313)]()*Math[_0x5d6091(331)](2,54))[_0x5d6091(791)](18),_0x4c09d4[_0x5d6091(398)].style=document[_0x5d6091(384)](_0x5d6091(383)),_0x4c09d4[_0x5d6091(460)][_0x5d6091(390)](0)[_0x5d6091(546)](_0x4c09d4.data[_0x5d6091(383)]);const{publishState:_0x31a61b,publishAutobinding:_0x697f29,triggerEvent:_0x3fb60a}=_0x4c09d4;function _0x1dab75(_0x30160b,_0x756d48){const _0x544ebf=_0x5d6091;return _0x30160b[_0x544ebf(777)]()===_0x756d48[_0x544ebf(777)]()}function _0x3d9a06(_0x57f676,_0x46bf6){const _0x11248c=_0x5d6091,_0x265dbb=[..._0x57f676][_0x11248c(692)](),_0x18acf4=[..._0x46bf6][_0x11248c(692)](),_0x20519e=undefined;return _0x265dbb[_0x11248c(696)](((_0x326c94,_0x56fdd2)=>{const _0x503c20=undefined;return _0x1dab75(_0x326c94,_0x18acf4[_0x56fdd2])}))[_0x11248c(677)]((_0x17618e=>_0x17618e))}function _0x1f0162(_0x51f105,_0x1429ca){const _0x460fd3=_0x5d6091;if(_0x51f105 instanceof Date&&_0x1429ca instanceof Date)return _0x51f105[_0x460fd3(777)]()===_0x1429ca[_0x460fd3(777)]()}function _0x22e6d0(_0x115ee2,_0x480d6e){const _0xd2d707=_0x5d6091;if(!_0x115ee2||!_0x480d6e)return!1;const _0x237fb5=_0x2516cb=>_0x2516cb[_0xd2d707(777)]()>=_0x480d6e.start[_0xd2d707(777)]()&&_0x2516cb[_0xd2d707(777)]()<=_0x480d6e.end[_0xd2d707(777)]();
244return Array.isArray(_0x115ee2)?_0x115ee2[_0xd2d707(545)](_0x237fb5):_0x237fb5(_0x115ee2)}function _0x138350(_0x404703,_0x538b04){const _0x52f285=_0x5d6091;let _0x1a39ed=_0x4c09d4.data.disabledDate,_0x30c894=_0x4c09d4[_0x52f285(398)][_0x52f285(513)];if(!_0x404703||!_0x538b04)return!1;const _0x22a07d=_0x538b04[_0x52f285(400)][0];if(_0x22a07d&&1===_0x538b04[_0x52f285(400)][_0x52f285(277)]){const _0x35a333=new Date(Math[_0x52f285(353)](_0x22a07d,_0x404703)),_0x41aa44=new Date(Math[_0x52f285(739)](_0x22a07d,_0x404703)),_0x30af58=_0x1a39ed&&_0x1a39ed.some((_0x4a7df9=>{const _0x273f35=new Date(_0x4a7df9);return _0x273f35>=_0x35a333&&_0x273f35<=_0x41aa44})),_0x5a3606=(()=>{const _0x20aaeb=_0x52f285;let _0x27be5a=new Date(_0x35a333[_0x20aaeb(777)]());for(;_0x27be5a<=_0x41aa44;){if(_0x30c894.includes(_0x27be5a[_0x20aaeb(534)]()))return!0;_0x27be5a[_0x20aaeb(676)](_0x27be5a[_0x20aaeb(499)]()+1)}return!1})();return _0x30af58||_0x5a3606}return!1}function _0xde6a42(_0x11e4f4,_0x274849){const _0x558ade=_0x5d6091;let _0x1d15b8=new Date(_0x11e4f4[_0x558ade(777)]());for(;_0x1d15b8<=_0x274849;){if(_0x4c09d4[_0x558ade(398)][_0x558ade(513)][_0x558ade(506)](_0x1d15b8.getDay()))return!0;_0x1d15b8[_0x558ade(676)](_0x1d15b8[_0x558ade(499)]()+1)}return!1}_0x31a61b(_0x5d6091(407),_0x4c09d4[_0x5d6091(398)][_0x5d6091(339)]),_0x4c09d4[_0x5d6091(398)].checkIfOKButtonIsSelected=_0x1b83df=>{const _0x3ca0cb=_0x5d6091;return _0x1b83df[_0x3ca0cb(545)]((_0x155251=>{const _0x3ea4bc=_0x3ca0cb;return _0x155251[_0x3ea4bc(699)]===_0x3ea4bc(773)}))},_0x4c09d4[_0x5d6091(398)].makeCopyOfDate=_0x4fc6ab=>{const _0x311715=_0x5d6091;return _0x4fc6ab?Array[_0x311715(299)](_0x4fc6ab)?_0x4fc6ab[_0x311715(696)]((_0xd5f67a=>new Date(_0xd5f67a))):new Date(_0x4fc6ab):null},_0x4c09d4.data[_0x5d6091(700)]=(_0x45e826,_0x6213df)=>{const _0x3e093d=_0x5d6091,{makeCopyOfDate:_0x2f29db}=_0x4c09d4[_0x3e093d(398)],_0x43f829=_0x45e826||_0x6213df?_0x2f29db(_0x45e826)||_0x2f29db(_0x6213df):[];switch(Array[_0x3e093d(299)](_0x43f829)){case!0:if(void 0===_0x4c09d4.data[_0x3e093d(647)])return _0x4c09d4[_0x3e093d(398)][_0x3e093d(647)]=[..._0x43f829],!0;if(Array[_0x3e093d(299)](_0x4c09d4[_0x3e093d(398)][_0x3e093d(647)]))return!1;if(Object[_0x3e093d(321)][_0x3e093d(791)][_0x3e093d(396)](_0x4c09d4.data[_0x3e093d(647)])===_0x3e093d(761))return _0x4c09d4[_0x3e093d(398)][_0x3e093d(647)]=[..._0x43f829],!0;break;case!1:if(void 0===_0x4c09d4[_0x3e093d(398)][_0x3e093d(647)])return _0x4c09d4[_0x3e093d(398)][_0x3e093d(647)]=_0x43f829,!0;if(Array[_0x3e093d(299)](_0x4c09d4[_0x3e093d(398)][_0x3e093d(647)]))return _0x4c09d4.data[_0x3e093d(647)]=_0x43f829,!0;if(\"[object Date]\"===Object[_0x3e093d(321)][_0x3e093d(791)][_0x3e093d(396)](_0x4c09d4[_0x3e093d(398)][_0x3e093d(647)]))return!_0x1dab75(_0x4c09d4[_0x3e093d(398)][_0x3e093d(647)],_0x43f829)&&(_0x4c09d4[_0x3e093d(398)][_0x3e093d(647)]=_0x43f829,!0)}},_0x4c09d4[_0x5d6091(398)].checkChangesForMultipleDatesValue=_0x563479=>{const _0x431377=_0x5d6091,{makeCopyOfDate:_0x294576}=_0x4c09d4[_0x431377(398)],_0x5127aa=_0x563479?.[_0x431377(277)]()?_0x294576(_0x563479[_0x431377(390)](0,_0x563479[_0x431377(277)]())):[];if(void 0===_0x4c09d4[_0x431377(398)][_0x431377(552)])return _0x4c09d4[_0x431377(398)][_0x431377(552)]=[..._0x5127aa],!0;const _0x411f30=_0x5127aa[_0x431377(277)],_0x46c880=undefined;switch(_0x411f30===_0x4c09d4.data.initialDateForMultipleDates[_0x431377(277)]){case!0:return 0!==_0x411f30&&(!_0x3d9a06(_0x5127aa,_0x4c09d4.data[_0x431377(552)])&&(_0x4c09d4.data[_0x431377(552)]=[..._0x5127aa],!0));case!1:return _0x4c09d4[_0x431377(398)][_0x431377(552)]=[..._0x5127aa],!0}},_0x4c09d4[_0x5d6091(398)][_0x5d6091(392)]=(_0x2f1d58,_0x35a5cf)=>{const _0x3087a5=_0x5d6091,{makeCopyOfDate:_0x3e2b61}=_0x4c09d4[_0x3087a5(398)],_0x5b5782=_0x2f1d58&&_0x35a5cf?_0x3e2b61([_0x2f1d58,_0x35a5cf]):[];if(void 0===_0x4c09d4[_0x3087a5(398)].initialDateForRange)return _0x4c09d4[_0x3087a5(398)][_0x3087a5(512)]=[..._0x5b5782],!0;const _0xae0bfd=_0x5b5782[_0x3087a5(277)],_0x3e7bbe=undefined;switch(_0xae0bfd===_0x4c09d4[_0x3087a5(398)][_0x3087a5(512)][_0x3087a5(277)]){case!0:return 0!==_0xae0bfd&&(!_0x3d9a06(_0x5b5782,_0x4c09d4[_0x3087a5(398)][_0x3087a5(512)])&&(_0x4c09d4[_0x3087a5(398)][_0x3087a5(512)]=[..._0x5b5782],!0));case!1:return _0x4c09d4.data[_0x3087a5(512)]=[..._0x5b5782],!0}},_0x4c09d4[_0x5d6091(398)].getTimezoneDifference=_0x41df2d=>{const _0x49e399=_0x5d6091,_0x413d2d=new Date,_0x59f4dd=_0x413d2d[_0x49e399(770)](_0x49e399(394),{timeZone:_0x41df2d}
244),_0x33011d=_0x413d2d.toLocaleString(\"en-US\"),_0x33e54f=undefined;return 60*((Date[_0x49e399(373)](_0x33011d)-Date[_0x49e399(373)](_0x59f4dd))/36e5)},_0x4c09d4[_0x5d6091(398)][_0x5d6091(767)]=(_0x5ab4fc,_0x21332e)=>{const _0x26dd15=undefined;return new Date(_0x5ab4fc[_0x5d6091(777)]()+6e4*_0x21332e)},_0x4c09d4[_0x5d6091(398)][_0x5d6091(495)]=(_0x1c7950=new Date)=>{const _0xa7d81c=_0x5d6091,_0x3a2dbd=new Date(_0x1c7950.getFullYear(),0,1)[_0xa7d81c(730)](),_0x55cb14=new Date(_0x1c7950[_0xa7d81c(687)](),6,1).getTimezoneOffset();return Math[_0xa7d81c(739)](_0x3a2dbd,_0x55cb14)!==_0x1c7950[_0xa7d81c(730)]()},_0x4c09d4[_0x5d6091(398)][_0x5d6091(338)]=_0x3cbfa4=>{const _0x100147=_0x5d6091;if(\"Current/User/Timezone\"===_0x4c09d4[_0x100147(398)][_0x100147(689)])return Array.isArray(_0x3cbfa4)?_0x3cbfa4[_0x100147(696)]((_0x314b0b=>new Date(_0x314b0b))):new Date(_0x3cbfa4);const{getTimezoneDifference:_0x21ed18,adjustDate:_0x3342ab,timeZone:_0x4dded2}=_0x4c09d4[_0x100147(398)],_0x1de7f1=_0x21ed18(_0x4dded2);return Array.isArray(_0x3cbfa4)?_0x3cbfa4[_0x100147(696)]((_0x24d1a1=>_0x3342ab(_0x24d1a1,_0x1de7f1))):_0x3342ab(_0x3cbfa4,_0x1de7f1)},_0x4c09d4[_0x5d6091(398)][_0x5d6091(457)]=_0x55479d=>{const _0x23209e=_0x5d6091;switch(_0x55479d){case _0x23209e(443):return 0;case\"Monday\":return 1;case _0x23209e(712):return 2;case\"Wednesday\":return 3;case _0x23209e(348):return 4;case _0x23209e(760):return 5;case _0x23209e(665):return 6;default:return 0}},_0x4c09d4[_0x5d6091(398)][_0x5d6091(708)]=()=>{const _0x44a974=_0x5d6091,_0x368450=undefined;return[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i][_0x44a974(545)]((_0x5ecd4e=>{const _0x5182d0=_0x44a974;return navigator[_0x5182d0(740)][_0x5182d0(342)](_0x5ecd4e)}))},_0x4c09d4.data.dateFormat=(_0x13ff79,_0x490052,_0x30d0f9,_0x57c53d)=>{const _0x240161=_0x5d6091;let _0x1e67b5={8:\"d\",\"08\":\"dd\"},_0x3798ee={1:\"M\",\"01\":\"MM\",Jan:_0x240161(722),January:_0x240161(505)},_0x4b93af={22:\"yy\",2022:\"yyyy\"};return _0x13ff79[_0x240161(292)](_0x240161(507),_0x1e67b5[_0x490052])[_0x240161(292)](_0x240161(630),_0x3798ee[_0x30d0f9]).replace(\"Year\",_0x4b93af[_0x57c53d])},_0x4c09d4[_0x5d6091(398)][_0x5d6091(599)]=_0x5d1153=>{const _0x416e2c=_0x5d6091;switch(_0x5d1153){case _0x416e2c(291):return _0x416e2c(366);case\"8:20\":return _0x416e2c(672);case _0x416e2c(690):return _0x416e2c(576);case _0x416e2c(319):return _0x416e2c(577);case\"08:20 am\":return _0x416e2c(376);case _0x416e2c(633):return _0x416e2c(750);default:return _0x416e2c(366)}},_0x4c09d4[_0x5d6091(398)].getDatesInRange=(_0x1a3e61,_0x5492c2)=>{const _0x3c855c=_0x5d6091,_0xecd9b=[];let _0x1f6273=new Date(_0x1a3e61);for(;_0x1f6273<=_0x5492c2;)_0xecd9b[_0x3c855c(757)](new Date(_0x1f6273)),_0x1f6273.setDate(_0x1f6273[_0x3c855c(499)]()+1);return _0xecd9b},_0x4c09d4.data[_0x5d6091(436)]=(_0x390f7f,_0x5a7d5f=!1)=>{const _0x16a495=_0x5d6091,{selectedDate:_0x207f62,selectedMultipleDates:_0x4f595e,selectedRange:_0x360f4b,selectedRangeAsList:_0x18f209}=_0x390f7f;Array[_0x16a495(299)](_0x207f62)?_0x31a61b(_0x16a495(405),null):_0x31a61b(_0x16a495(405),_0x207f62),_0x31a61b(\"selected_multiple_dates\",_0x4f595e),_0x31a61b(\"selected_range\",_0x360f4b),_0x31a61b(_0x16a495(458),_0x18f209),_0x5a7d5f&&_0x3fb60a(_0x16a495(572))},_0x4c09d4.data[_0x5d6091(385)]=({date:_0x2a6151,formattedDate:_0x212f92,datepicker:_0xe08831})=>{const _0x4c808a=_0x5d6091,{checkIfOKButtonIsSelected:_0x4fae16,adjustDatesToTimezone:_0x5536eb,getDatesInRange:_0x2a6537,refreshStates:_0x3af470}=_0x4c09d4[_0x4c808a(398)],{range:_0x113b0e,multipleDates:_0x48b5ff,onlyTimepicker:_0x252b0c}=_0xe08831[_0x4c808a(519)],_0x5ee2b1=_0xe08831[_0x4c808a(519)].buttons;if(!_0xe08831.visible||!_0x4fae16(_0x5ee2b1)){if(Array.isArray(_0x2a6151)){if(!_0x2a6151[_0x4c808a(277)])return void _0x3af470({selectedDate:null,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null},!0)}else if(!_0x2a6151)return _0x697f29(null),void _0x3af470({selectedDate:null,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null},!0);if(_0x113b0e)switch(_0x4c09d4.data[_0x4c808a(421)]&&clearInterval(_0x4c09d4[_0x4c808a(398)][_0x4c808a(421)]),_0x2a6151.length){case 1:{const[_0x265af2]=_0x2a6151;return void(_0x4c09d4[_0x4c808a(398)][_0x4c808a(421)]=setInterval((()=>{const _0x14f646=_0x4c808a;clearInterval(_0x4c09d4[_0x14f646(398)][_0x14f646(421)]);const _0xc048ed=_0x5536eb([_0x265af2,_0x265af2]),_0x31e01b=_0x5536eb(_0x2a6537(_0x265af2,_0x265af2));_0x3af470({selectedDate:null,selectedMultipleDates:null,selectedRange:_0xc048ed,selectedRangeAsList:_0x31e01b},!0)}),500))}case 2:{const[_0x24c391,_0x27a2b6]=_0x2a6151;if(_0x24c391[_0x4c808a(777)]()===_0x27a2b6.getTime()){const _0x2f9ef4=[_0x24c391[_0x4c808a(777)](),_0x27a2b6[_0x4c808a(777)]()+6e4];_0xe08831[_0x4c808a(612)](_0x2f9ef4,{silent:!0,updateTime:!0}),_0x4c09d4[_0x4c808a(398)][_0x4c808a(421)]=setInterval((()=>{const _0x273b5b=_0x4c808a;clearInterval(_0x4c09d4[_0x273b5b(398)][_0x273b5b(421)]);const[_0x128a64,_0xbcbcb]=_0x2f9ef4,_0x364dad=_0x5536eb(_0x2f9ef4),_0x1c2c61=_0x5536eb(_0x2a6537(_0x128a64,_0xbcbcb));_0x3af470({selectedDate:null,selectedMultipleDates:null,selectedRange:_0x364dad,selectedRangeAsList:_0x1c2c61},!0)}),500)}else _0x4c09d4.data[_0x4c808a(421)]=setInterval((()=>{const _0x39a94c=_0x4c808a;clearInterval(_0x4c09d4[_0x39a94c(398)][_0x39a94c(421)]);const _0x522b48=_0x5536eb(_0x2a6151),_0x22a1bb=_0x5536eb(_0x2a6537(_0x24c391,_0x27a2b6));_0x3af470({selectedDate:null,selectedMultipleDates:null,selectedRange:_0x522b48,selectedRangeAsList:_0x22a1bb},!0)}),500);return}}if(_0x48b5ff)return _0x4c09d4[_0x4c808a(398)][_0x4c808a(421)]&&clearInterval(_0x4c09d4.data.lastChangeInterval),void(_0x4c09d4.data[_0x4c808a(421)]=setInterval((()=>{const _0x748e1c=undefined;clearInterval(_0x4c09d4[_0x4c808a(398)].lastChangeInterval);const _0x4bde3e=_0x5536eb(_0x2a6151);_0x3af470({selectedDate:null,selectedMultipleDates:_0x4bde3e,selectedRange:null,selectedRangeAsList:null},!0)}),500));_0x252b0c&&(_0x4c09d4.data[_0x4c808a(421)]&&clearInterval(_0x4c09d4[_0x4c808a(398)].lastChangeInterval),_0x4c09d4[_0x4c808a(398)][_0x4c808a(421)]=setInterval((()=>{const _0x1d82c=_0x4c808a;clearInterval(_0x4c09d4[_0x1d82c(398)][_0x1d82c(421)]);const _0x275a32=_0x5536eb(_0x2a6151);_0x697f29(_0x275a32),_0x3af470({selectedDate:_0x275a32,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null},!0)}),500)),!_0x113b0e&&!_0x48b5ff&&!_0x252b0c&&(_0x4c09d4[_0x4c808a(398)].lastChangeInterval&&clearInterval(_0x4c09d4[_0x4c808a(398)][_0x4c808a(421)]),_0x4c09d4[_0x4c808a(398)][_0x4c808a(421)]=setInterval((()=>{const _0x41e08f=_0x4c808a;clearInterval(_0x4c09d4[_0x41e08f(398)][_0x41e08f(421)]);const _0x339c3b=_0x5536eb(_0x2a6151);_0x697f29(_0x339c3b),_0x3af470({selectedDate:_0x339c3b,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null},!0)}),500))}},_0x4c09d4[_0x5d6091(398)][_0x5d6091(350)]=_0x2027a3=>{const _0x51693f=_0x5d6091;switch(_0x2027a3){case _0x51693f(282):return{className:_0x51693f(773),content:_0x1130dd=>\"OK\",onClick(_0x1723d1){const _0x2ffbff=_0x51693f,{refreshStates:_0xb626e0}=_0x4c09d4[_0x2ffbff(398)],{range:_0x134542,multipleDates:_0x2c3421}
244=_0x1723d1[_0x2ffbff(519)],_0x4c0c2b=_0x1723d1[_0x2ffbff(400)];if(_0x1723d1[_0x2ffbff(531)](),!_0x4c0c2b[_0x2ffbff(277)])return _0x134542||_0x2c3421||_0x697f29(null),void _0xb626e0({selectedDate:null,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null},!0);_0x1723d1.selectDate(_0x4c0c2b,{silent:!1,updateTime:!0})}};case _0x51693f(707):return{content(_0xe63882){const _0x3f1eeb=_0x51693f;return _0xe63882[_0x3f1eeb(519)][_0x3f1eeb(752)].clear},onClick(_0x1a4c79){const _0x1254d9=_0x51693f,{checkIfOKButtonIsSelected:_0x2989bf}=_0x4c09d4[_0x1254d9(398)],_0x1c6c06=undefined,_0x15db80=_0x2989bf(_0x1a4c79[_0x1254d9(519)].buttons);_0x1a4c79.clear({silent:_0x15db80}),!1===_0x15db80&&!0===_0x1a4c79[_0x1254d9(519)].autoClose&&_0x1a4c79[_0x1254d9(531)]()}};case _0x51693f(579):return{content(_0x572693){const _0x23ffaa=_0x51693f;return _0x572693[_0x23ffaa(519)].locale[_0x23ffaa(733)]},onClick(_0x172b9e){const _0x17f8eb=_0x51693f,{checkIfOKButtonIsSelected:_0x385c2a}=_0x4c09d4[_0x17f8eb(398)],{range:_0x230eb5,multipleDates:_0x2db22e,autoClose:_0xd372e8,toggleSelected:_0x1a8dbc}=_0x172b9e.opts,_0x49ebaf=[..._0x172b9e[_0x17f8eb(400)]],_0x4c0f93=undefined,_0x3ff35d=_0x385c2a(_0x172b9e[_0x17f8eb(519)][_0x17f8eb(420)]),_0x1eee58=new Date;_0x1eee58.setSeconds(0);const _0x5bcd50=1e4*parseInt(_0x1eee58[_0x17f8eb(777)]()/1e4),_0x2ab9a2=new Date(_0x5bcd50);if(_0x230eb5)switch(_0x172b9e[_0x17f8eb(485)]({silent:!0}),_0x49ebaf.length){case 1:return!1===_0x3ff35d&&!0===_0xd372e8&&_0x172b9e[_0x17f8eb(531)](),_0x1a8dbc&&_0x2ab9a2[_0x17f8eb(499)]()===_0x49ebaf[0][_0x17f8eb(499)]()&&_0x2ab9a2.getMonth()===_0x49ebaf[0][_0x17f8eb(379)]()&&_0x2ab9a2[_0x17f8eb(687)]()===_0x49ebaf[0][_0x17f8eb(687)]()?void _0x172b9e[_0x17f8eb(485)]({silent:_0x3ff35d}):(_0x49ebaf[_0x17f8eb(757)](_0x2ab9a2),void _0x172b9e[_0x17f8eb(612)](_0x49ebaf,{silent:_0x3ff35d,updateTime:!0}));case 0:return _0x49ebaf[_0x17f8eb(757)](_0x2ab9a2),void _0x172b9e[_0x17f8eb(612)](_0x49ebaf,{silent:!0,updateTime:!0});case 2:return _0x49ebaf[_0x17f8eb(277)]=0,_0x49ebaf[_0x17f8eb(757)](_0x2ab9a2),void _0x172b9e[_0x17f8eb(612)](_0x49ebaf,{silent:!0,updateTime:!0})}if(_0x2db22e){function _0x384137(_0x5f4962){const _0x3423b7=_0x17f8eb;return _0x2ab9a2[_0x3423b7(499)]()===_0x5f4962[_0x3423b7(499)]()&&_0x2ab9a2.getMonth()===_0x5f4962[_0x3423b7(379)]()&&_0x2ab9a2[_0x3423b7(687)]()===_0x5f4962[_0x3423b7(687)]()}function _0x5ea338(_0x3f0774){const _0x529884=_0x17f8eb;if(_0x2ab9a2[_0x529884(499)]()!==_0x3f0774[_0x529884(499)]()||_0x2ab9a2[_0x529884(379)]()!==_0x3f0774[_0x529884(379)]()||_0x2ab9a2[_0x529884(687)]()!==_0x3f0774.getFullYear())return _0x3f0774}function _0x3a7423(_0x686ee0){return void 0!==_0x686ee0}if(_0x1a8dbc&&_0x49ebaf[_0x17f8eb(545)](_0x384137)){const _0x332103=_0x49ebaf[_0x17f8eb(696)](_0x5ea338)[_0x17f8eb(509)](_0x3a7423);return _0x172b9e[_0x17f8eb(485)]({silent:!0}),void _0x172b9e[_0x17f8eb(612)](_0x332103,{silent:_0x3ff35d,updateTime:!0})}_0x172b9e[_0x17f8eb(612)](_0x2ab9a2,{silent:_0x3ff35d,updateTime:!0})}else!1===_0x3ff35d&&!0===_0xd372e8&&_0x172b9e[_0x17f8eb(531)](),_0x1a8dbc&&1===_0x49ebaf[_0x17f8eb(277)]&&_0x2ab9a2[_0x17f8eb(499)]()===_0x49ebaf[0][_0x17f8eb(499)]()&&_0x2ab9a2[_0x17f8eb(379)]()===_0x49ebaf[0][_0x17f8eb(379)]()&&_0x2ab9a2[_0x17f8eb(687)]()===_0x49ebaf[0][_0x17f8eb(687)]()?_0x172b9e[_0x17f8eb(485)]({silent:_0x3ff35d}):_0x172b9e[_0x17f8eb(612)](_0x2ab9a2,{silent:_0x3ff35d,updateTime:!0})}}}},_0x4c09d4[_0x5d6091(398)][_0x5d6091(629)]=({date:_0x2d83ab,datepicker:_0xed73f7})=>{const _0x4bc158=_0x5d6091;let _0x45c7fb=_0x4c09d4[_0x4bc158(398)][_0x4bc158(726)];_0x138350(_0x2d83ab,_0xed73f7)||_0x1f0162(_0x2d83ab,_0x45c7fb)||_0xde6a42(_0x2d83ab,_0xed73f7[_0x4bc158(400)])?_0xed73f7[_0x4bc158(711)][_0x4bc158(408)][_0x4bc158(627)](_0x4bc158(427)):_0xed73f7[_0x4bc158(711)].classList.remove(_0x4bc158(427))},_0x4c09d4.data[_0x5d6091(561)]=({date:_0x169c7c,datepicker:_0x1443bd})=>!_0x138350(_0x169c7c,_0x1443bd),_0x4c09d4.data[_0x5d6091(688)]=_0x422817=>{const _0x14acb1=_0x5d6091;_0x4c09d4[_0x14acb1(772)](\"current_view\",_0x422817),_0x4c09d4[_0x14acb1(544)](_0x14acb1(557))},_0x4c09d4[_0x5d6091(398)][_0x5d6091(298)]=_0x194e09=>{const _0x5d4546=_0x5d6091;_0x4c09d4[_0x5d4546(772)](_0x5d4546(533),!0),_0x4c09d4[_0x5d4546(544)](_0x5d4546(532))},_0x4c09d4[_0x5d6091(398)][_0x5d6091(397)]=_0x3dcaca=>{const _0x8cfa62=_0x5d6091;_0x4c09d4.publishState(\"is_visible\",!1),_0x4c09d4[_0x8cfa62(544)](_0x8cfa62(531))},_0x4c09d4[_0x5d6091(398)].defaultSettings={classes:\"\",inline:!1,locale:{days:[_0x5d6091(594),_0x5d6091(713),_0x5d6091(323),_0x5d6091(673),\"Четверг\",_0x5d6091(377),\"Суббота\"],daysShort:[_0x5d6091(606),_0x5d6091(646),\"Вто\",_0x5d6091(764),_0x5d6091(586),\"Пят\",_0x5d6091(786)],daysMin:[\"Вс\",\"Пн\",\"Вт\",\"Ср\",\"Чт\",\"Пт\",\"Сб\"],months:[_0x5d6091(487),_0x5d6091(359),_0x5d6091(765),\"Апрель\",_0x5d6091(603),_0x5d6091(659),_0x5d6091(301),_0x5d6091(744),_0x5d6091(393),\"Октябрь\",\"Ноябрь\",_0x5d6091(709)],monthsShort:[_0x5d6091(680),_0x5d6091(341),\"Мар\",_0x5d6091(743),_0x5d6091(603),_0x5d6091(661),_0x5d6091(694),_0x5d6091(409),_0x5d6091(609),_0x5d6091(478),\"Ноя\",_0x5d6091(741)],today:_0x5d6091(345),clear:_0x5d6091(515),dateFormat:\"dd.MM.yyyy\",timeFormat:_0x5d6091(366),firstDay:1},startDate:\"\",firstDay:\"\",weekends:[6,0],dateFormat:\"\",altField:\"\",altFieldDateFormat:\"T\",toggleSelected:!0,keyboardNav:!1,selectedDates:!1,container:\"\",isMobile:!1,visible:!1,position:_0x5d6091(479),offset:12,view:\"days\",minView:_0x5d6091(766),showOtherMonths:!0,selectOtherMonths:!0,moveToOtherMonthsOnSelect:!0,showOtherYears:!0,selectOtherYears:!0,moveToOtherYearsOnSelect:!0,minDate:\"\",maxDate:\"\",disableNavWhenOutOfRange:!0,multipleDates:!1,multipleDatesSeparator:\", \",range:!1,dynamicRange:!0,buttons:!1,monthsField:_0x5d6091(625),showEvent:_0x5d6091(736),autoClose:!1,prevHtml:_0x5d6091(337),nextHtml:'<svg><path d=\"M 14,12 l 5,5 l -5,5\"></path></svg>',navTitles:{days:\"MMMM, <i>yyyy</i>\",months:\"yyyy\",years:\"yyyy1 - yyyy2\"},timepicker:!1,onlyTimepicker:!1,dateTimeSeparator:\" \",timeFormat:\"\",minHours:0,maxHours:24,minMinutes:0,maxMinutes:59,hoursStep:1,minutesStep:1,onSelect:!1,onChangeViewDate:!1,onChangeView:!1,onShow:!1,onHide:!1,onRenderCell:!1,onBeforeSelect:!1,onFocus:!1},_0x4c09d4[_0x5d6091(398)][_0x5d6091(643)]={Czech:{days:[_0x5d6091(754),\"Pondělí\",_0x5d6091(664),_0x5d6091(639),_0x5d6091(540),_0x5d6091(526),_0x5d6091(723)],daysShort:[\"Ne\",\"Po\",\"Út\",\"St\",\"Čt\",\"Pá\",\"So\"],daysMin:[\"Ne\",\"Po\",\"Út\",\"St\",\"Čt\",\"Pá\",\"So\"],months:[_0x5d6091(297),_0x5d6091(705),_0x5d6091(414),\"Duben\",\"Květen\",_0x5d6091(554),\"Červenec\",_0x5d6091(608),_0x5d6091(649),_0x5d6091(314),\"Listopad\",_0x5d6091(731)],monthsShort:[_0x5d6091(669),_0x5d6091(419),_0x5d6091(276),\"Dub\",_0x5d6091(520),_0x5d6091(433),\"Čvc\",\"Srp\",_0x5d6091(611),_0x5d6091(697),\"Lis\",_0x5d6091(285)],today:_0x5d6091(569),clear:_0x5d6091(589),dateFormat:\"dd.MM.yyyy\",timeFormat:\"HH:mm\",firstDay:1},Danish:{days:[_0x5d6091(719),_0x5d6091(501),_0x5d6091(595),\"Onsdag\",\"Torsdag\",_0x5d6091(415),_0x5d6091(678)],daysShort:[_0x5d6091(367),_0x5d6091(624),\"Tir\",_0x5d6091(325),\"Tor\",\"Fre\",_0x5d6091(727)],daysMin:[\"Sø\",\"Ma\",\"Ti\",\"On\",\"To\",\"Fr\",\"Lø\"],months:[\"Januar\",_0x5d6091(635),_0x5d6091(425),\"April\",\"Maj\",\"Juni\",_0x5d6091(675),_0x5d6091(388),_0x5d6091(756),\"Oktober\",_0x5d6091(453),_0x5d6091(293)],monthsShort:[\"Jan\",_0x5d6091(616),_0x5d6091(411),_0x5d6091(465),_0x5d6091(480),_0x5d6091(792),_0x5d6091(374),_0x5d6091(449),_0x5d6091(426),_0x5d6091(753),_0x5d6091(564),_0x5d6091(491)],today:_0x5d6091(361),clear:_0x5d6091(541),dateFormat:\"dd/MM/yyyy\",timeFormat:_0x5d6091(366),firstDay:1},German:{days:[_0x5d6091(598),_0x5d6091(279),_0x5d6091(662),\"Mittwoch\",_0x5d6091(455),_0x5d6091(473),\"Samstag\"],daysShort:[_0x5d6091(476),_0x5d6091(497),\"Die\",_0x5d6091(423),\"Don\",_0x5d6091(778),_0x5d6091(294)],daysMin:[\"So\",\"Mo\",\"Di\",\"Mi\",\"Do\",\"Fr\",\"Sa\"],months:[_0x5d6091(440),_0x5d6091(635),_0x5d6091(488),_0x5d6091(444),\"Mai\",_0x5d6091(511),_0x5d6091(675),\"August\",_0x5d6091(756),_0x5d6091(296),_0x5d6091(453),_0x5d6091(747)],monthsShort:[\"Jan\",_0x5d6091(616),_0x5d6091(500),_0x5d6091(465),_0x5d6091(380),_0x5d6091(792),_0x5d6091(374),_0x5d6091(449),_0x5d6091(426),\"Okt\",\"Nov\",_0x5d6091(484)],today:_0x5d6091(354),clear:_0x5d6091(364),dateFormat:\"dd.MM.yyyy\",timeFormat:_0x5d6091(451),firstDay:1},English:{days:[_0x5d6091(443),_0x5d6091(493),_0x5d6091(712),\"Wednesday\",_0x5d6091(348),_0x5d6091(760),_0x5d6091(665)],daysShort:[_0x5d6091(660),_0x5d6091(497),_0x5d6091(548),\"Wed\",_0x5d6091(648),_0x5d6091(614),\"Sat\"],daysMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],months:[\"January\",_0x5d6091(334),_0x5d6091(668),_0x5d6091(444),_0x5d6091(312),\"June\",_0x5d6091(634),\"August\",_0x5d6091(756),_0x5d6091(295),_0x5d6091(453),\"December\"],monthsShort:[_0x5d6091(508),\"Feb\",_0x5d6091(411),_0x5d6091(465),_0x5d6091(312),_0x5d6091(792),_0x5d6091(374),_0x5d6091(449),\"Sep\",\"Oct\",_0x5d6091(564),\"Dec\"],today:_0x5d6091(275),clear:\"Clear\",dateFormat:_0x5d6091(431),timeFormat:_0x5d6091(376),firstDay:0},Spanish:{days:[_0x5d6091(490),_0x5d6091(527),_0x5d6091(578),_0x5d6091(591),_0x5d6091(702),_0x5d6091(518),_0x5d6091(794)],daysShort:[\"Dom\",_0x5d6091(438),_0x5d6091(411),_0x5d6091(596),\"Jue\",_0x5d6091(671),_0x5d6091(336)],daysMin:[\"Do\",\"Lu\",\"Ma\",\"Mi\",\"Ju\",\"Vi\",\"Sa\"],months:[\"Enero\",_0x5d6091(565),\"Marzo\",_0x5d6091(424),\"Mayo\",\"Junio\",_0x5d6091(622),_0x5d6091(437),_0x5d6091(728),_0x5d6091(559),_0x5d6091(326),_0x5d6091(418)],monthsShort:[_0x5d6091(489),_0x5d6091(616),_0x5d6091(411),_0x5d6091(322),_0x5d6091(312),_0x5d6091(792),_0x5d6091(374),_0x5d6091(762),_0x5d6091(426),_0x5d6091(523),_0x5d6091(564),_0x5d6091(681)],today:\"Hoy\",clear:\"Limpiar\",dateFormat:\"dd/MM/yyyy\",timeFormat:_0x5d6091(376),firstDay:1},Finnish:{days:[\"Sunnuntai\",\"Maanantai\",\"Tiistai\",_0x5d6091(363),_0x5d6091(670),_0x5d6091(758),_0x5d6091(529)],daysShort:[\"Su\",\"Ma\",\"Ti\",\"Ke\",\"To\",\"Pe\",\"La\"],daysMin:[\"Su\",\"Ma\",\"Ti\",\"Ke\",\"To\",\"Pe\",\"La\"],months:[_0x5d6091(783),\"Helmikuu\",_0x5d6091(653),\"Huhtikuu\",_0x5d6091(346),_0x5d6091(310),_0x5d6091(386),_0x5d6091(471),\"Syyskuu\",_0x5d6091(516),_0x5d6091(355),\"Joulukuu\"],monthsShort:[_0x5d6091(344),_0x5d6091(442),_0x5d6091(454),_0x5d6091(403),\"Touko\",_
2440x5d6091(318),\"Heinä\",\"Elo\",\"Syys\",_0x5d6091(434),\"Marras\",_0x5d6091(784)],today:\"Tänään\",clear:_0x5d6091(771),dateFormat:_0x5d6091(607),timeFormat:\"HH:mm\",firstDay:1},French:{days:[_0x5d6091(604),_0x5d6091(755),_0x5d6091(399),\"Mercredi\",\"Jeudi\",_0x5d6091(536),_0x5d6091(628)],daysShort:[_0x5d6091(785),_0x5d6091(438),_0x5d6091(411),_0x5d6091(410),_0x5d6091(575),_0x5d6091(466),_0x5d6091(294)],daysMin:[\"Di\",\"Lu\",\"Ma\",\"Me\",\"Je\",\"Ve\",\"Sa\"],months:[\"Janvier\",_0x5d6091(632),_0x5d6091(636),\"Avril\",_0x5d6091(380),_0x5d6091(640),_0x5d6091(382),_0x5d6091(701),_0x5d6091(324),\"Octobre\",_0x5d6091(472),_0x5d6091(514)],monthsShort:[\"Jan\",_0x5d6091(729),_0x5d6091(636),_0x5d6091(406),_0x5d6091(380),_0x5d6091(640),_0x5d6091(357),_0x5d6091(701),_0x5d6091(426),_0x5d6091(523),_0x5d6091(564),_0x5d6091(491)],today:_0x5d6091(309),clear:_0x5d6091(588),dateFormat:_0x5d6091(574),timeFormat:_0x5d6091(366),firstDay:1},Hungarian:{days:[_0x5d6091(695),_0x5d6091(469),\"Kedd\",_0x5d6091(724),_0x5d6091(698),_0x5d6091(547),_0x5d6091(652)],daysShort:[\"Va\",\"Hé\",\"Ke\",_0x5d6091(412),\"Cs\",\"Pé\",\"Szo\"],daysMin:[\"V\",\"H\",\"K\",\"Sz\",\"Cs\",\"P\",\"Sz\"],months:[_0x5d6091(446),\"Február\",_0x5d6091(704),_0x5d6091(549),\"Május\",\"Június\",_0x5d6091(567),_0x5d6091(763),_0x5d6091(413),_0x5d6091(464),_0x5d6091(453),_0x5d6091(293)],monthsShort:[_0x5d6091(508),_0x5d6091(616),_0x5d6091(683),_0x5d6091(776),\"Máj\",_0x5d6091(429),_0x5d6091(360),_0x5d6091(449),\"Szep\",_0x5d6091(753),\"Nov\",_0x5d6091(491)],today:\"Ma\",clear:\"Törlés\",dateFormat:_0x5d6091(521),timeFormat:\"hh:mm aa\",firstDay:1},Dutch:{days:[_0x5d6091(720),_0x5d6091(663),\"dinsdag\",\"woensdag\",_0x5d6091(306),_0x5d6091(685),\"zaterdag\"],daysShort:[\"zo\",\"ma\",\"di\",\"wo\",\"do\",\"vr\",\"za\"],daysMin:[\"zo\",\"ma\",\"di\",\"wo\",\"do\",\"vr\",\"za\"],months:[_0x5d6091(645),\"Februari\",_0x5d6091(623),_0x5d6091(444),_0x5d6091(725),_0x5d6091(511),\"Juli\",\"Augustus\",_0x5d6091(756),_0x5d6091(296),\"November\",_0x5d6091(293)],monthsShort:[_0x5d6091(508),_0x5d6091(616),_0x5d6091(352),_0x5d6091(465),_0x5d6091(725),\"Jun\",_0x5d6091(374),_0x5d6091(449),\"Sep\",_0x5d6091(753),_0x5d6091(564),\"Dec\"],today:\"Vandaag\",clear:_0x5d6091(450),dateFormat:\"dd-MM-yyyy\",timeFormat:_0x5d6091(366),firstDay:0},Polish:{days:[_0x5d6091(566),_0x5d6091(320),\"Wtorek\",_0x5d6091(658),_0x5d6091(789),_0x5d6091(369),_0x5d6091(723)],daysShort:[\"Nie\",\"Pon\",_0x5d6091(428),_0x5d6091(496),\"Czw\",_0x5d6091(748),_0x5d6091(283)],daysMin:[\"Nd\",\"Pn\",\"Wt\",\"Śr\",_0x5d6091(452),\"Pt\",\"So\"],months:[_0x5d6091(582),\"Luty\",_0x5d6091(468),_0x5d6091(593),_0x5d6091(480),_0x5d6091(308),_0x5d6091(349),_0x5d6091(714),\"Wrzesień\",_0x5d6091(289),_0x5d6091(290),_0x5d6091(782)],monthsShort:[_0x5d6091(682),_0x5d6091(302),_0x5d6091(411),_0x5d6091(759),_0x5d6091(480),_0x5d6091(615),_0x5d6091(280),_0x5d6091(742),_0x5d6091(605),_0x5d6091(703),_0x5d6091(272),_0x5d6091(735)],today:_0x5d6091(654),clear:_0x5d6091(391),dateFormat:_0x5d6091(521),timeFormat:\"hh:mm:aa\",firstDay:1},Portuguese:{days:[_0x5d6091(490),_0x5d6091(470),_0x5d6091(335),_0x5d6091(304),_0x5d6091(585),_0x5d6091(581),_0x5d6091(794)],daysShort:[_0x5d6091(432),_0x5d6091(389),\"Ter\",_0x5d6091(583),_0x5d6091(641),_0x5d6091(600),_0x5d6091(336)],daysMin:[\"Do\",\"Se\",\"Te\",\"Qa\",\"Qi\",\"Sx\",\"Sa\"],months:[\"Janeiro\",_0x5d6091(371),\"Março\",_0x5d6091(424),_0x5d6091(684),\"Junho\",_0x5d6091(538),_0x5d6091(437),_0x5d6091(795),_0x5d6091(481),\"Novembro\",\"Dezembro\"],monthsShort:[_0x5d6091(508),_0x5d6091(365),_0x5d6091(411),_0x5d6091(322),\"Mai\",\"Jun\",\"Jul\",_0x5d6091(762),_0x5d6091(602),_0x5d6091(482),\"Nov\",_0x5d6091(484)],today:\"Hoje\",clear:_0x5d6091(637),dateFormat:\"dd/MM/yyyy\",timeFormat:_0x5d6091(366),firstDay:1},Romanian:{days:[\"Duminică\",\"Luni\",_0x5d6091(395),_0x5d6091(651),_0x5d6091(315),_0x5d6091(288),_0x5d6091(483)],daysShort:[_0x5d6091(746),_0x5d6091(438),_0x5d6091(411),_0x5d6091(596),\"Joi\",\"Vin\",_0x5d6091(463)],daysMin:[\"D\",\"L\",\"Ma\",\"Mi\",\"J\",\"V\",\"S\"],months:[\"Ianuarie\",_0x5d6091(332),_0x5d6091(439),_0x5d6091(679),_0x5d6091(380),\"Iunie\",_0x5d6091(650),\"August\",_0x5d6091(587),_0x5d6091(657),_0x5d6091(542),_0x5d6091(368)],monthsShort:[_0x5d6091(555),_0x5d6091(616),\"Mar\",\"Apr\",_0x5d6091(380),\"Iun\",_0x5d6091(556),_0x5d6091(449),_0x5d6091(284),\"Oct\",_0x5d6091(564),_0x5d6091(491)],today:\"Azi\",clear:_0x5d6091(710),dateFormat:\"dd.MM.yyyy\",timeFormat:_0x5d6091(366),firstDay:1},Russian:{days:[_0x5d6091(594),_0x5d6091(713),_0x5d6091(323),_0x5d6091(673),_0x5d6091(788),\"Пятница\",_0x5d6091(779)],daysShort:[_0x5d6091(606),_0x5d6091(646),_0x5d6091(642),_0x5d6091(764),_0x5d6091(586),\"Пят\",_0x5d6091(786)],daysMin:[\"Вс\",\"Пн\",\"Вт\",\"Ср\",\"Чт\",\"Пт\",\"Сб\"],months:[\"Январь\",_0x5d6091(359),_0x5d6091(765),\"Апрель\",_0x5d6091(603),_0x5d6091(659),_0x5d6091(301),\"Август\",\"Сентябрь\",_0x5d6091(560),_0x5d6091(356),_0x5d6091(709)],monthsShort:[_0x5d6091(680),_0x5d6091(341),_0x5d6091(718),\"Апр\",\"Май\",\"Июн\",_0x5d6091(694),_0x5d6091(409),_0x5d6091(609),_0x5d6091(478),_0x5d6091(524),_0x5d6091(741)],today:_0x5d6091(345),clear:_0x5d6091(515),dateFormat:_0x5d6091(607),timeFormat:\"HH:mm\",firstDay:1},Slovak:{days:[\"Nedeľa\",_0x5d6091(590),_0x5d6091(517),_0x5d6091(691),_0x5d6091(621),_0x5d6091(638),_0x5d6091(723)],daysShort:[_0x5d6091(459),_0x5d6091(706),_0x5d6091(528),_0x5d6091(749),_0x5d6091(417),_0x5d6091(666),_0x5d6091(283)],daysMin:[\"Ne\",\"Po\",\"Ut\",\"St\",\"Št\",\"Pi\",\"So\"],months:[\"Január\",\"Február\",\"Marec\",_0x5d6091(619),_0x5d6091(370),_0x5d6091(429),_0x5d6091(360),\"August\",_0x5d6091(756),_0x5d6091(464),_0x5d6091(453),\"December\"],monthsShort:[_0x5d6091(508),_0x5d6091(616),_0x5d6091(411),_0x5d6091(465),_0x5d6091(370),_0x5d6091(429),\"Jul\",_0x5d6091(449),_0x5d6091(426),_0x5d6091(753),_0x5d6091(564),_0x5d6091(491)],today:\"Dne
244s\",clear:_0x5d6091(769),dateFormat:_0x5d6091(607),timeFormat:_0x5d6091(366),firstDay:1},Thai:{days:[_0x5d6091(461),_0x5d6091(362),\"วันอังคาร\",_0x5d6091(775),\"วันพฤหัสบดี\",\"วันศุกร์\",_0x5d6091(573)],daysShort:[_0x5d6091(592),\"จ.\",\"อ.\",\"พ.\",\"พฤ.\",\"ศ.\",\"ส.\"],daysMin:[_0x5d6091(592),\"จ.\",\"อ.\",\"พ.\",_0x5d6091(613),\"ศ.\",\"ส.\"],months:[_0x5d6091(358),_0x5d6091(562),_0x5d6091(498),_0x5d6091(522),_0x5d6091(329),_0x5d6091(486),\"กรกฎาคม\",_0x5d6091(563),_0x5d6091(667),_0x5d6091(781),_0x5d6091(435),\"ธันวาคม\"],monthsShort:[_0x5d6091(535),_0x5d6091(372),_0x5d6091(558),_0x5d6091(381),_0x5d6091(793),\"มิ.ย.\",_0x5d6091(300),\"ส.ค.\",_0x5d6091(316),_0x5d6091(303),_0x5d6091(644),\"ธ.ค.\"],today:_0x5d6091(510),clear:_0x5d6091(617),dateFormat:\"dd/MM/yyyy\",timeFormat:_0x5d6091(366),firstDay:0},Turkish:{days:[\"Pazar\",_0x5d6091(287),_0x5d6091(328),_0x5d6091(430),_0x5d6091(551),_0x5d6091(494),_0x5d6091(550)],daysShort:[_0x5d6091(580),_0x5d6091(716),\"Sl\",_0x5d6091(570),_0x5d6091(768),_0x5d6091(597),_0x5d6091(693)],daysMin:[\"Pa\",\"Pt\",\"Sl\",\"Ça\",\"Pe\",\"Cu\",\"Ct\"],months:[_0x5d6091(655),\"Şubat\",\"Mart\",\"Nisan\",_0x5d6091(790),_0x5d6091(543),_0x5d6091(307),\"Ağustos\",_0x5d6091(445),_0x5d6091(601),\"Kasım\",\"Aralık\"],monthsShort:[_0x5d6091(715),_0x5d6091(311),_0x5d6091(352),_0x5d6091(537),_0x5d6091(492),_0x5d6091(317),_0x5d6091(404),_0x5d6091(656),_0x5d6091(474),\"Ekm\",_0x5d6091(780),\"Arl\"],today:_0x5d6091(340),clear:\"Temizle\",dateFormat:\"dd.MM.yyyy\",timeFormat:\"hh:mm aa\",firstDay:1},Ukrainian:{days:[\"Неділя\",\"Понеділок\",_0x5d6091(475),_0x5d6091(378),_0x5d6091(738),\"П’ятниця\",_0x5d6091(732)],daysShort:[_0x5d6091(273),_0x5d6091(351),_0x5d6091(618),_0x5d6091(737),_0x5d6091(330),_0x5d6091(525),_0x5d6091(305)],daysMin:[\"Нд\",\"Пн\",\"Вт\",\"Ср\",\"Чт\",\"Пт\",\"Сб\"],months:[_0x5d6091(774),_0x5d6091(456),\"Березень\",_0x5d6091(620),_0x5d6091(571),\"Червень\",_0x5d6091(401),_0x5d6091(610),_0x5d6091(553),_0x5d6091(347),\"Листопад\",_0x5d6091(402)],monthsShort:[_0x5d6091(631),\"Лют\",_0x5d6091(584),_0x5d6091(751),_0x5d6091(787),_0x5d6091(734),_0x5d6091(717),_0x5d6091(503),\"Вер\",\"Жов\",_0x5d6091(674),_0x5d6091(721)],today:_0x5d6091(462),clear:_0x5d6091(626),dateFormat:_0x5d6091(607),timeFormat:\"HH:mm\",firstDay:1},Chinese:{days:[\"周日\",\"周一\",\"周二\",\"周三\",\"周四\",\"周五\",\"周六\"],daysShort:[\"日\",\"一\",\"二\",\"三\",\"四\",\"五\",\"六\"],daysMin:[\"日\",\"一\",\"二\",\"三\",\"四\",\"五\",\"六\"],months:[\"一月\",\"二月\",\"三月\",\"四月\",\"五月\",\"六月\",\"七月\",\"八月\",\"九月\",\"十月\",_0x5d6091(467),_0x5d6091(375)],monthsShort:[\"一月\",\"二月\",\"三月\",\"四月\",\"五月\",\"六月\",\"七月\",\"八月\",\"九月\",\"十月\",_0x5d6091(467),_0x5d6091(375)],today:\"今天\",clear:\"清除\",dateFormat:_0x5d6091(521),timeFormat:_0x5d6091(366),firstDay:1},Korean:{days:[_0x5d6091(327),\"월요일\",_0x5d6091(333),_0x5d6091(274),_0x5d6091(278),\"금요일\",_0x5d6091(745)],daysShort:[\"일\",\"월\",\"화\",\"수\",\"목\",\"금\",\"토\"],daysMin:[\"일\",\"월\",\"화\",\"수\",\"목\",\"금\",\"토\"],months:[\"1월\",\"2월\",\"3월\",\"4월\",\"5월\",\"6월\",\"7월\",\"8월\",\"9월\",_0x5d6091(686),\"11월\",_0x5d6091(416)],monthsShort:[\"1월\",\"2월\",\"3월\",\"4월\",\"5월\",\"6월\",\"7월\",\"8월\",\"9월\",_0x5d6091(686),_0x5d6091(502),_0x5d6091(416)],today:\"오늘\",clear:_0x5d6091(422),dateFormat:_0x5d6091(343),timeFormat:_0x5d6091(366),firstDay:0}}}!function(_0x4aec7c,_0x3ddcb6){const _0x4658ec=_0x4dae,_0x3bc501=_0x4aec7c();for(;;)try{const _0x3436a9=undefined;if(966872===parseInt(_0x4658ec(441))/1+-parseInt(_0x4658ec(477))/2+-parseInt(_0x4658ec(568))/3*(-parseInt(_0x4658ec(504))/4)+parseInt(_0x4658ec(286))/5*(-parseInt(_0x4658ec(281))/6)+parseInt(_0x4658ec(539))/7*(-parseInt(_0x4658ec(448))/8)+parseInt(_0x4658ec(530))/9+parseInt(_0x4658ec(387))/10)break;_0x3bc501.push(_0x3bc501.shift())}catch(_0x22176b){_0x3bc501.push(_0x3bc501.shift())}}(_0x229b,966872),initialize(instance,context)}","add_debugger":false},"update":{"fn":"function(instance,properties,context){function _0x122b(_0x4715c9,_0x24e518){const _0x4566cb=_0x4566();return(_0x122b=function(_0x122b37,_0x2ec85b){let _0x5aca76;return _0x4566cb[_0x122b37-=268]})(_0x4715c9,_0x24e518)}function _0x4566(){const _0x3feb81=[\"minimum_hours\",\"use_custom_language\",\"select_from_other_months\",\"right_button\",\"bold\",\"clear\",\"onChangeView\",\"disable_wednesday\",\"2539943dhEjGB\",\"dateFormat\",\"maximum_hours\",\"split\",\"current_day_color\",\"autobinding\",\"left_button\",\"getElementById\",\" .air-datepicker-cell.-disabled- {\\n\\t\\t\\t\\t\\ttext-decoration: line-through;\\n\\t\\t\\t\\t}\",\"initialDateForRange\",\"disable_saturday\",\";\\n\\t\\t\\t--adp-cell-background-color-in-range: \",\"4RkJHFo\",\"some\",\";\\n\\t\\t\\t--adp-cell-background-color-in-range-hover: \",\"onShow\",\"none\",\"initialDateForSingleDateAndTimepicker\",\"disable_monday\",\"blocked_dates\",\"px;\\n\\t\\t\\tfont-weight: \",\"overflow\",\"includes\",\"settings\",\"::-ms-input-placeholder { /* Microsoft Edge */\\n\\t\\t\\tcolor: \",\"placeholder\",\"6hKYRSV\",\";\\n\\t\\t\\topacity: 1; /* Firefox */\\n\\t\\t\\tfont-family: \",\";\\n    \\t}\\n    \\n    \\tinput#\",\"timeFormat\",\";\\n\\t\\t\\tpadding: \",\"vertical_position\",\"custom_date_format\",\".1)\",\"data\",\"Single Date\",\"tagName\",\" {\\n\\t\\t\\twidth: calc(100% - \",\"language\",\"default_view\",\"filter\",\"createPopper\",\"date_time_separator\",\"readOnly\",\"day_name_color\",\"input\",\"onBeforeSelect\",\"6750230ixitHq\",\"text\",\"refreshedTimezone\",\"append\",\"toggle_selected\",\"keyboard_navigation\",\";\\n\\t\\t\\tfont-style: \",\"1401486vakUvR\",\"onFocus\",\"initialDateForMultipleDates\",\" {\\n    \\t\\t--adp-day-name-color: \",\"transition\",\"min_view\",\"font_color\",\":-ms-input-placeholder { /* Internet Explorer 10-11 */\\n\\t\\t\\tcolor: \",\"disable_sunday\",\"24129lXTuhC\",\"27482350xwdFnp\",\"isArray\",\"5288jhGHUv\",\"Auto\",\"\\n\\t\\t\\ttext-align: \",\"styleCSS\",\"pickersButtons\",\"visible\",\";\\n\\t\\t\\tcolor: \",\"head\",\";\\n\\t\\t\\t--adp-cell-background-color-selected: \",\"getFullYear\",\"toLowerCase\",\"1668240kstnvJ\",\"dates_separator\",\"first_day_of_week\",\"default\",\";\\n\\t\\t\\t--adp-btn-color: \",\"pickerInput\",\"weekdayNumber\",\"pickerType\",\"buttons_text_color\",\"autoclose\",\"disabledStyle\",\"italic\",\"style\",\"initial_date\",\";\\n\\t\\t\\t--adp-cell-background-color-selected-hover: \",\"show_other_months\",\"enableDate\",\"3568629GuKBKD\",\"\\n\\t\\t\\t\\t.air-datepicker.\",\"horizontal_posiotion\",\"rangeend\",\"strike through\",\"text-decoration: underline;\",\"background\",\"hours_step\",\"dynamic_timesone\",\":::\",\"Only Timepicker\",\"selectDate\",\"minimum_date\",\";\\n\\t\\t\\tfont-family: \",\"innerHTML\",\"minimum_minutes\",\";\\n\\t\\t\\tdirection: ltr;\\n        }\\n    \\n    \\tinput#\",\"locale\",\"onHide\",\"arrow\",\"destroy\",\"getDate\",\"disableDate\",\"Current/User/Timezone\",\";\\n    \\t}\",\"dates_count_limit\",\"timezone\",\"selectedDates\",\"timeZone\",\"isMobile\",\"maximum_minutes\",\"appendChild\",\"day\",\"normal\",\"px;\\n    \\t}\\n\\n    \\tinput#\",\"update\",\";\\n\\t\\t\\t--adp-z-index: 9999999999999;\\n\\t\\t\\t--adp-color-current-date: \",\"push\",\"type\",\"highlight_color\",\"timepicker\",\"initial_multiple_dates\",\"custom_language_definition\",\"replace\",\"px \",\"disabledDate\",\"get\",\"month_format\",\"day_format\",\" .air-datepicker-cell.-disabled- {\\n\\t\\t\\t\\t\\tborder-radius: 0px;\\n\\t\\t\\t\\t\\tbackground: #f8f8f8;\\n\\t\\t\\t\\t}\",\".2)\",\"Multiple Dates\",\"show_buttons\",\"length\",\"blockedDaysOfWeek\",\"INPUT\",\"font_size\",\"createElement\",\"center_button\",\"t
244ime_format\",\";\\n\\t\\t\\t\",\"font_face\",\"remove\",\"underline\",\"disable_thursday\",\";\\n\\t\\t\\tfont-size: \",\"forEach\",\"font_alignment\",\"maximum_date\",\"disable_picker\",\"border-color 200ms ease, box-shadow 200ms ease\",\"getDay\",\"gray background\",\"year_format\",\"onSelect\",\"picker\",\"elementProperties\"];return(_0x4566=function(){return _0x3feb81})()}function update(_0x2282c1,_0x588e01,_0x5dc05a){const _0x343fda=_0x122b;_0x2282c1[_0x343fda(306)][_0x343fda(442)]=_0x588e01;const{createPickerButton:_0x924158,checkIfOKButtonIsSelected:_0x3ea79f,getTimezoneDifference:_0x2441f8,adjustDate:_0x2875b2,pickerID:_0x408f55,adjustDatesToTimezone:_0x515bf0,getDatesInRange:_0x284ade,checkChangesForSingleDateOrOnlyTimepickerValue:_0x54a812,checkChangesForMultipleDatesValue:_0x561cc0,checkChangesForRangeValue:_0x7a1194,refreshStates:_0x1f75a5,makeCopyOfDate:_0x599375}=_0x2282c1[_0x343fda(306)],{canvas:_0x65547a}=_0x2282c1,{publishAutobinding:_0x4ef3b4}=_0x2282c1,{bubble:_0x16f244,padding_vertical:_0x57d678,padding_horizontal:_0xc44b5b,mobile_device_mode:_0xb22b2b,display_inline:_0x5f0935}=_0x588e01;if(!_0x2282c1.data[_0x343fda(356)]&&(_0x2282c1[_0x343fda(306)].pickerType=_0x588e01[_0x343fda(404)]),_0x2282c1[_0x343fda(306)].stylingDisabledDates=_0x1b47bf=>{const _0x4b2a23=_0x343fda;switch(!_0x2282c1.data.disabledStyle&&(_0x2282c1.data[_0x4b2a23(359)]=document[_0x4b2a23(423)](\"style\"),document[_0x4b2a23(345)][_0x4b2a23(397)](_0x2282c1.data[_0x4b2a23(359)])),_0x2282c1.canvas[_0x4b2a23(412)](0)[_0x4b2a23(397)](_0x2282c1[_0x4b2a23(306)][_0x4b2a23(361)]),_0x1b47bf){case _0x4b2a23(438):_0x2282c1[_0x4b2a23(306)][_0x4b2a23(359)][_0x4b2a23(380)]=_0x4b2a23(367)+_0x408f55+_0x4b2a23(415);break;case _0x4b2a23(370):_0x2282c1[_0x4b2a23(306)][_0x4b2a23(359)][_0x4b2a23(380)]=_0x4b2a23(367)+_0x408f55+_0x4b2a23(280)}},_0x2282c1[_0x343fda(306)].stylingDisabledDates(_0x588e01.disabled_cells_style),_0x2282c1[_0x343fda(306)][_0x343fda(321)]=_0x588e01.dynamic_timesone?_0x588e01[_0x343fda(374)]:_0x588e01[_0x343fda(392)],_0x2282c1[_0x343fda(306)][_0x343fda(411)]=_0x588e01[_0x343fda(291)]?_0x588e01.blocked_dates.get(0,_0x588e01.blocked_dates[_0x343fda(419)]())[_0x343fda(312)]((_0x344b44=>null!==_0x344b44)):[],_0x2282c1[_0x343fda(306)][_0x343fda(441)]&&_0x2282c1.data[_0x343fda(321)]!==_0x2282c1[_0x343fda(306)][_0x343fda(394)]){const _0xe82a55=_0x2282c1.data[_0x343fda(441)][_0x343fda(393)];_0x2282c1.data[_0x343fda(441)].selectDate(_0xe82a55,{silent:!1,updateTime:!0})}if(_0x2282c1[_0x343fda(306)][_0x343fda(394)]=_0x588e01[_0x343fda(374)]?_0x588e01.dynamic_timesone:_0x588e01.timezone,_0x2282c1[_0x343fda(306)].disabledDate[_0x343fda(432)](((_0x170768,_0x5c2370,_0x2be2b5)=>{const _0x1b88a9=_0x343fda,_0x2d3498=_0x2282c1[_0x1b88a9(306)][_0x1b88a9(394)]===_0x1b88a9(389)?0:_0x2441f8(_0x2282c1.data[_0x1b88a9(394)]),_0x3860d1=_0x2875b2(_0x170768,-_0x2d3498);_0x2be2b5[_0x5c2370]=_0x3860d1})),!_0x2282c1.data[_0x343fda(441)]){const _0x23b594=document[_0x343fda(423)](_0x343fda(317));_0x23b594.id=_0x408f55,_0x23b594[_0x343fda(404)]=_0x343fda(320),_0x23b594[_0x343fda(315)]=!0,_0x23b594[_0x343fda(361)][_0x343fda(330)]=_0x343fda(436),_0x23b594[_0x343fda(361)][_0x343fda(372)]=_0x343fda(288),_0x23b594[_0x343fda(361)].borderStyle=\"none\",_0x65547a[_0x343fda(412)](0)[_0x343fda(322)](_0x23b594),_0x2282c1.data.pickerInput=_0x23b594,_0x2282c1[_0x343fda(306)][_0x343fda(295)]={..._0x2282c1[_0x343fda(306)].defaultSettings}}const _0x2b6f2a=2*_0xc44b5b;_0x2282c1[_0x343fda(306)][_0x343fda(341)]=\"\\n    \\t.air-datepicker.\"+_0x408f55+_0x343fda(329)+_0x588e01[_0x343fda(316)]+_0x343fda(346)+_0x588e01.highlight_color+\";\\n\\t\\t\\t--adp-cell-background-color-selected-hover: \"+_0x588e01.highlight_color+_0x343fda(283)+_0x588e01[_0x343fda(405)][_0x343fda(409)](/[\\d\\.]+\\)$/g,_0x343fda(305))+_0x343fda(286)+_0x588e01[_0x343fda(405)][_0x343fda(409)](/[\\d\\.]+\\)$/g,_0x343fda(416))+_0x343fda(402)+_0x588e01[_0x343fda(276)]+_0x343fda(353)+_0x588e01[_0x343fda(357)]+\";\\n\\t\\t\\tdirection: ltr;\\n    \\t}\\n    \\n    \\t.air-datepicker.-inline- {\\n\\t\\t\\t--adp-day-name-color: \"+_0x588e01[_0x343fda(316)]+_0x343fda(346)+_0x588e01.highlight_color+_0x343fda(363)+_0x588e01[_0x343fda(405)]+\";\\n\\t\\t\\t--adp-cell-background-color-in-range: \"+_0x588e01.highlight_color[_0x343fda(409)](/[\\d\\.]+\\)$/g,_0x343fda(305))+_0x343fda(286)+_0x588e01[_0x343fda(405)][_0x343fda(409)](/[\\d\\.]+\\)$/g,_0x343fda(416))+_0x343fda(402)+_0x588e01.current_day_color+_0x343fda(353)+_0x588e01[_0x343fda(357)]+_0x343fda(382)+_0x408f55+_0x343fda(309)+_0x2b6f2a+\"px);\\n\\t\\t\\theight: 100%;\\n\\t\\t\\tcursor: \"+(_0x588e01.disable_picker?_0x343fda(352):\"pointer\")+_0x343fda(344)+_0x16f244[_0x343fda(332)]()+_0x343fda(379)+_0x16f244[_0x343fda(427)]()[_0x343fda(275)](_0x343fda(375))[0]+_0x343fda(431)+_0x16f244[_0x343fda(422)]()+\"px;\\n\\t\\t\\tfont-weight: \"+(_0x16f244[_0x343fda(268)]()?_0x343fda(268):_0x16f244.font_face().split(_0x343fda(375))[1])+_0x343fda(325)+(_0x16f244[_0x343fda(360)]()?_0x343fda(360):_0x343fda(399))+\";\\n\\t\\t\\t\"+(_0x16f244[_0x343fda(429)]()?_0x343fda(371):\"\")+_0x343fda(340)+_0x16f244[_0x343fda(433)]()+_0x343fda(302)+_0x57d678+_0x343fda(410)+_0xc44b5b+_0x343fda(400)+_0x408f55+\"::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */\\n\\t\\t\\tcolor: \"+_0x588e01.placeholder_color+_0x343fda(299)+_0x16f244[_0x343fda(427)]().split(_0x343fda(375))[0]+_0x343fda(431)+_0x16f244[_0x343fda(422)]()+_0x343fda(292)+(_0x16f244[_0x343fda(268)]()?_0x343fda(268):_0x16f244.font_face()[_0x343fda(275)](_0x343fda(375))[1])+_0x343fda(325)+(_0x16f244[_0x343fda(360)]()?\"italic\":_0x343fda(399))+\";\\n\\t\\t\\t\"+(_0x16f244[_0x343fda(429)]()?_0x343fda(371):\"\")+_0x343fda(340)+_0x16f244[_0x343fda(433)]()+_0x343fda(300)+_0x408f55+_0x343fda(333)+_0x588e01.placeholder_color+\";\\n\\t\\t\\tfont-family: \"+_0x16f244.font_face()[_0x343fda(275)](_0x343fda(375))[0]+\";\\n\\t\\t\\tfont-size: \"+_0x16f244.font_size()+_0x343fda(292)+(_0x16f244[_0x343fda(268)]()?\"bold\":_0x16f244[_0x343fda(427)]()[_0x343fda(275)](_0x343fda(375))[1])+_0x343fda(325)+(_0x16f244[_0x343fda(360)]()?_0x343fda(360):_0x343fda(399))+\";\\n\\t\\t\\t\"+(_0x16f244[_0x343fda(429)]()?_0x343fda(371):\"\")+_0x343fda(340)+_0x16f244[_0x343fda(433)]()+_0x343fda(300)+_0x408f55+_0x343fda(29
2446)+_0x588e01.placeholder_color+_0x343fda(379)+_0x16f244.font_face()[_0x343fda(275)](_0x343fda(375))[0]+_0x343fda(431)+_0x16f244[_0x343fda(422)]()+_0x343fda(292)+(_0x16f244.bold()?_0x343fda(268):_0x16f244[_0x343fda(427)]()[_0x343fda(275)](_0x343fda(375))[1])+_0x343fda(325)+(_0x16f244[_0x343fda(360)]()?_0x343fda(360):_0x343fda(399))+_0x343fda(426)+(_0x16f244[_0x343fda(429)]()?_0x343fda(371):\"\")+_0x343fda(340)+_0x16f244[_0x343fda(433)]()+_0x343fda(390),_0x2282c1[_0x343fda(306)][_0x343fda(361)]?_0x2282c1[_0x343fda(306)][_0x343fda(361)][_0x343fda(380)]=_0x2282c1[_0x343fda(306)].styleCSS:(_0x2282c1[_0x343fda(306)].style=document[_0x343fda(423)](\"style\"),_0x2282c1[_0x343fda(306)].style.innerHTML=_0x2282c1[_0x343fda(306)].styleCSS,_0x2282c1.canvas[_0x343fda(412)](0)[_0x343fda(397)](_0x2282c1.data[_0x343fda(361)]));let _0x28446f=!1;_0x2282c1[_0x343fda(306)][_0x343fda(395)]()&&_0xb22b2b===_0x343fda(339)&&(_0x28446f=!0),\"Always\"===_0xb22b2b&&(_0x28446f=!0);let _0x3c9a8b=0;switch(_0x588e01.firstday){case\"1\":_0x3c9a8b=1;break;case\"2\":_0x3c9a8b=2;break;case\"3\":_0x3c9a8b=3;break;case\"4\":_0x3c9a8b=4;break;case\"5\":_0x3c9a8b=5;break;case\"6\":_0x3c9a8b=6;break;case\"7\":_0x3c9a8b=0}_0x2282c1.data[_0x343fda(420)]=[],_0x588e01[_0x343fda(290)]&&_0x2282c1[_0x343fda(306)][_0x343fda(420)][_0x343fda(403)](1),_0x588e01.disable_tuesday&&_0x2282c1[_0x343fda(306)][_0x343fda(420)].push(2),_0x588e01[_0x343fda(271)]&&_0x2282c1[_0x343fda(306)][_0x343fda(420)][_0x343fda(403)](3),_0x588e01[_0x343fda(430)]&&_0x2282c1[_0x343fda(306)].blockedDaysOfWeek[_0x343fda(403)](4),_0x588e01.disable_friday&&_0x2282c1[_0x343fda(306)][_0x343fda(420)][_0x343fda(403)](5),_0x588e01[_0x343fda(282)]&&_0x2282c1[_0x343fda(306)][_0x343fda(420)][_0x343fda(403)](6),_0x588e01[_0x343fda(334)]&&_0x2282c1.data.blockedDaysOfWeek[_0x343fda(403)](0),onRenderCell=({date:_0x58ebe4,cellType:_0x290376,datepicker:_0x5e4437})=>{const _0x547b4f=_0x343fda;if(_0x290376!==_0x547b4f(398))return;const{blockedDaysOfWeek:_0x23eeac,disabledDate:_0x1b0d1b}=_0x2282c1[_0x547b4f(306)],_0x206695=_0x58ebe4[_0x547b4f(437)]();if(_0x1b0d1b.length){function _0x4dab36(_0x150b00,_0x24d67a){const _0x5ac119=_0x547b4f;if(!(_0x24d67a instanceof Date))return!1;const _0x15c3aa=_0x24d67a.getDate()===_0x150b00[_0x5ac119(387)](),_0x5f33cb=_0x24d67a.getMonth()===_0x150b00.getMonth(),_0x5cd7a2=_0x24d67a[_0x5ac119(347)]()===_0x150b00[_0x5ac119(347)]();return _0x15c3aa&&_0x5f33cb&&_0x5cd7a2}const _0x1986a=undefined;_0x1b0d1b[_0x547b4f(285)]((_0x4c3fb0=>_0x4dab36(_0x58ebe4,_0x4c3fb0)))||_0x23eeac[_0x547b4f(294)](_0x206695)?_0x5e4437[_0x547b4f(388)](_0x58ebe4):_0x5e4437[_0x547b4f(365)](_0x58ebe4)}else _0x23eeac[_0x547b4f(294)](_0x206695)?_0x5e4437[_0x547b4f(388)](_0x58ebe4):_0x5e4437[_0x547b4f(365)](_0x58ebe4)};var _0x1b7760=()=>{const _0x2c3310=_0x343fda;return null!==_0x588e01[_0x2c3310(304)]&&void 0!==_0x588e01[_0x2c3310(304)]&&_0x588e01[_0x2c3310(304)]?_0x588e01[_0x2c3310(304)]:_0x2282c1[_0x2c3310(306)][_0x2c3310(273)](_0x588e01.date_order,_0x588e01[_0x2c3310(414)],_0x588e01[_0x2c3310(413)],_0x588e01[_0x2c3310(439)])};const _0x4809d8=({$datepicker:_0x4dadd9,$target:_0xed6a88,$pointer:_0xa23fc0,done:_0x43489c})=>{const _0xff617e=_0x343fda,_0x582e3d=Popper[_0xff617e(313)](_0xed6a88,_0x4dadd9,{placement:_0x588e01[_0xff617e(303)],modifiers:[{name:\"flip\",options:{padding:{top:10}}},{name:\"offset\",options:{offset:[0,20]}},{name:_0xff617e(385),options:{element:_0xa23fc0}}]});return function _0x522e47(){const _0x2772f9=undefined;_0x582e3d[_0xff617e(386)](),_0x43489c()}};if(_0x2282c1[_0x343fda(306)][_0x343fda(342)]=[],_0x588e01[_0x343fda(418)]&&(_0x588e01[_0x343fda(278)]&&_0x2282c1[_0x343fda(306)][_0x343fda(342)][_0x343fda(403)](_0x924158(_0x588e01[_0x343fda(278)])),_0x588e01.center_button&&_0x2282c1.data[_0x343fda(342)][_0x343fda(403)](_0x924158(_0x588e01[_0x343fda(424)
244])),_0x588e01[_0x343fda(446)]&&_0x2282c1[_0x343fda(306)][_0x343fda(342)][_0x343fda(403)](_0x924158(_0x588e01.right_button))),_0x2282c1[_0x343fda(306)][_0x343fda(295)]={..._0x2282c1[_0x343fda(306)][_0x343fda(295)],classes:_0x408f55,inline:_0x5f0935,locale:_0x588e01[_0x343fda(444)]?JSON.parse(_0x588e01[_0x343fda(408)]):_0x2282c1[_0x343fda(306)][_0x343fda(310)][_0x588e01[_0x343fda(383)]],firstDay:_0x2282c1[_0x343fda(306)][_0x343fda(355)](_0x588e01[_0x343fda(351)]),weekends:_0x2282c1[_0x343fda(306)][_0x343fda(420)],isMobile:!_0x5f0935&&_0x28446f,visible:!1,dateFormat:_0x1b7760(),keyboardNav:_0x588e01[_0x343fda(324)],position:_0x588e01.autoposition?_0x4809d8:_0x588e01.vertical_position+\" \"+_0x588e01[_0x343fda(368)],minHours:_0x588e01[_0x343fda(443)],maxHours:_0x588e01[_0x343fda(274)],minMinutes:_0x588e01[_0x343fda(381)],maxMinutes:_0x588e01[_0x343fda(396)],hoursStep:_0x588e01[_0x343fda(373)],minutesStep:_0x588e01.minutes_step,showOtherMonths:_0x588e01[_0x343fda(364)],selectOtherMonths:_0x588e01[_0x343fda(445)],moveToOtherMonthsOnSelect:_0x588e01.move_to_other_months,minDate:_0x588e01[_0x343fda(378)]?_0x588e01[_0x343fda(378)]:\"\",maxDate:_0x588e01[_0x343fda(434)]?_0x588e01[_0x343fda(434)]:\"\",dateTimeSeparator:_0x588e01[_0x343fda(314)]?_0x588e01[_0x343fda(314)]:\" \",buttons:_0x2282c1[_0x343fda(306)][_0x343fda(342)],toggleSelected:_0x588e01[_0x343fda(323)],autoClose:!_0x3ea79f(_0x2282c1[_0x343fda(306)][_0x343fda(342)])&&_0x588e01[_0x343fda(358)],onSelect:_0x2282c1[_0x343fda(306)][_0x343fda(440)],view:_0x588e01[_0x343fda(311)][_0x343fda(348)](),minView:_0x588e01[_0x343fda(331)].toLowerCase(),timeFormat:_0x2282c1.data[_0x343fda(301)](_0x588e01[_0x343fda(425)]),onHide:_0x2282c1[_0x343fda(306)][_0x343fda(384)],onChangeView:_0x2282c1[_0x343fda(306)][_0x343fda(270)],onShow:_0x2282c1.data[_0x343fda(287)]},!_0x2282c1[_0x343fda(306)][_0x343fda(441)]){if(_0x2282c1[_0x343fda(306)][_0x343fda(441)]=new AirDatepicker(\"#\"+_0x408f55,_0x2282c1[_0x343fda(306)][_0x343fda(295)]),_0x588e01.display_inline){_0x2282c1.data[_0x343fda(441)].destroy();const _0x3da9bd=document[_0x343fda(279)](_0x408f55);_0x3da9bd&&\"INPUT\"===_0x3da9bd.tagName&&_0x3da9bd[_0x343fda(428)](),_0x65547a.get(0).id=_0x408f55,_0x2282c1[_0x343fda(306)][_0x343fda(441)]=new AirDatepicker(\"#\"+_0x408f55,_0x2282c1[_0x343fda(306)][_0x343fda(295)])}switch(_0x2282c1[_0x343fda(306)][_0x343fda(356)]){case _0x343fda(307):_0x2282c1[_0x343fda(306)][_0x343fda(295)]={..._0x2282c1[_0x343fda(306)][_0x343fda(295)],range:!1,multipleDates:!1,timepicker:_0x588e01[_0x343fda(406)],onlyTimepicker:!1,dynamicRange:!1,onRenderCell:onRenderCell},_0x2282c1[_0x343fda(306)][_0x343fda(441)][_0x343fda(401)](_0x2282c1[_0x343fda(306)][_0x343fda(295)]);break;case _0x343fda(417):_0x2282c1[_0x343fda(306)].settings={..._0x2282c1.data[_0x343fda(295)],range:!1,multipleDates:_0x588e01[_0x343fda(391)]??!0,timepicker:_0x588e01.timepicker,onlyTimepicker:!1,multipleDatesSeparator:_0x588e01[_0x343fda(350)]??\" \",dynamicRange:!1,onRenderCell:onRenderCell},_0x2282c1[_0x343fda(306)][_0x343fda(441)][_0x343fda(401)](_0x2282c1[_0x343fda(306)][_0x343fda(295)]);break;case\"Range\":_0x2282c1[_0x343fda(306)][_0x343fda(295)]={..._0x2282c1[_0x343fda(306)][_0x343fda(295)],range:!0,multipleDates:!1,timepicker:_0x588e01.timepicker,onlyTimepicker:!1,multipleDatesSeparator:_0x588e01[_0x343fda(350)]??\" \",dynamicRange:!0,onRenderCell:onRenderCell,onBeforeSelect:_0x2282c1[_0x343fda(306)][_0x343fda(318)],onFocus:_0x2282c1[_0x343fda(306)][_0x343fda(327)]},_0x2282c1[_0x343fda(306)][_0x343fda(441)][_0x343fda(401)](_0x2282c1[_0x343fda(306)][_0x343fda(295)]);break;case _0x343fda(376):_0x2282c1.data[_0x343fda(295)]={..._0x2282c1.data[_0x343fda(295)],range:!1,multipleDates:!1,timepicker:!0,onlyTimepicker:!0,dynamicRange:!1},_0x2282c1.data[_0x343fda(441)][_0x343fda(401)](_0x2282c1[_0x343fda(306)][_0x343fda(295)])}}switch(_0x2282c1[_0x343fda(306)][_0x343fda(356)]){case _0x343fda(307):if(_0x54a812(_0x588e01[_0x343fda(362)],_0x588e01[_0x343fda(277)])){_0x2282c1.data[_0x343fda(441)][_0x343fda(269)]({silent:!0}),_0x2282c1[_0x343fda(306)].picker[_0x343fda(377)](_0x599375(_0x2282c1[_0x343fda(306)][_0x343fda(289)]),{silent:!0,updateTime:!0});const _0x1da3da=_0x515bf0(_0x599375(_0x2282c1.data[_0x343fda(289)]));Array[_0x343fda(337)](_0x1da3da)?_0x4ef3b4(null):_0x4ef3b4(_0x1da3da),_0x1f75a5({selectedDate:_0x1da3da,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null})}break;case _0x343fda(417):if(_0x561cc0(_0x588e01[_0x343fda(407)])){_0x2282c1[_0x343fda(306)][_0x343fda(441)][_0x343fda(269)]({silent:!0}),_0x2282c1.data[_0x343fda(441)].selectDate(_0x599375(_0x2282c1[_0x343fda(306)][_0x343fda(328)]),{silent:!0,updateTime:!0});const _0x321089=undefined;_0x1f75a5({selectedDate:null,selectedMultipleDates:_0x515bf0(_0x599375(_0x2282c1[_0x343fda(306)][_0x343fda(328)])),selectedRange:null,selectedRangeAsList:null})}break;case\"Range\":if(_0x7a1194(_0x588e01.rangestart,_0x588e01[_0x343fda(369)])){_0x2282c1[_0x343fda(306)].picker.clear({silent:!0}),_0x2282c1.data.picker[_0x343fda(377)](_0x599375(_0x2282c1[_0x343fda(306)].initialDateForRange),{silent:!0,updateTime:!0});const[_0x225977,_0x5e258d]=_0x2282c1.data[_0x343fda(281)],_0x12efb1=_0x515bf0(_0x599375(_0x2282c1.data.initialDateForRange)),_0x1b3fa4=_0x515bf0(_0x284ade(_0x225977,_0x5e258d));_0x1f75a5({selectedDate:null,selectedMultipleDates:null,selectedRange:_0x12efb1[_0x343fda(419)]?_0x12efb1:null,selectedRangeAsList:_0x1b3fa4})}break;case _0x343fda(376):if(_0x54a812(_0x588e01[_0x343fda(362)],_0x588e01.autobinding)){_0x2282c1[_0x343fda(306)][_0x343fda(441)][_0x343fda(269)]({silent:!0}),_0x2282c1[_0x343fda(306)][_0x343fda(441)][_0x343fda(377)](_0x599375(_0x2282c1[_0x343fda(306)][_0x343fda(289)]),{silent:!0,updateTime:!0});const _0x1cfae3=_0x515bf0(_0x599375(_0x2282c1[_0x343fda(306)].initialDateForSingleDateAndTimepicker));Array[_0x343fda(337)](_0x1cfae3)?_0x4ef3b4(null):_0x4ef3b4(_0x1cfae3),_0x1f75a5({selectedDate:_0x1cfae3,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null})}}_0x2282c1[_0x343fda(306)][_0x343fda(441)].update(_0x2282c1.data[_0x343fda(295)]),_0x2282c1.data[_0x343fda(354)]&&_0x2282c1[_0x343fda(306)][_0x343fda(354)][_0x343fda(308)]===_0x343fda(421)&&(_0x2282c1[_0x343fda(306)][_0x343fda(354)].disabled=_0x588e01[_0x343fda(435)],_0x2282c1[_0x343fda(306)].pickerInput[_0x343fda(297)]=_0x588e01[_0x343fda(297)]??\"\"),_0x65547a.get(0).style[_0x343fda(293)]=_0x343fda(343)}!function(_0x260b75,_0x1d0b2f){const _0x4d4a4c=_0x122b,_0x3d12bc=_0x260b75();for(;;)try{const _0x2d38d8=undefined;
244if(917228===-parseInt(_0x4d4a4c(326))/1+-parseInt(_0x4d4a4c(349))/2+parseInt(_0x4d4a4c(366))/3*(parseInt(_0x4d4a4c(284))/4)+parseInt(_0x4d4a4c(319))/5+parseInt(_0x4d4a4c(298))/6*(-parseInt(_0x4d4a4c(272))/7)+parseInt(_0x4d4a4c(338))/8*(-parseInt(_0x4d4a4c(335))/9)+parseInt(_0x4d4a4c(336))/10)break;_0x3d12bc.push(_0x3d12bc.shift())}catch(_0x4fa92f){_0x3d12bc.push(_0x3d12bc.shift())}}(_0x4566,917228),update(instance,properties,context)}","add_debugger":false},"reset":{"fn":"function(instance,context){function _0x4087(_0x4dfc57,_0x1175f5){const _0x12d740=_0x12d7();return(_0x4087=function(_0x4087d9,_0x2e1ad){let _0x54bfe1;return _0x12d740[_0x4087d9-=145]})(_0x4dfc57,_0x1175f5)}function _0x12d7(){const _0x40aa99=[\"8360xisYjm\",\"265202HJfJMd\",\"Multiple Dates\",\"2017452lNjTkx\",\"44xOCOVg\",\"260wXkTeX\",\"Range\",\"Only Timepicker\",\"16017170HvZWrO\",\"359337WeHqOh\",\"154OpdjvZ\",\"6551208NgErKn\",\"selectDate\",\"372hJOIPu\",\"length\",\"isArray\",\"Single Date\",\"clear\",\"34116JDQryT\",\"32ldQpmh\"];return(_0x12d7=function(){return _0x40aa99})()}function reset(_0x54d1b4,_0x460199){const _0x4ffe88=_0x4087,{picker:_0xe7c6fc,pickerType:_0x257f1f,initialDateForSingleDateAndTimepicker:_0xa8e2ca,initialDateForMultipleDates:_0x3da4c3,initialDateForRange:_0x43e476,adjustDatesToTimezone:_0x40dd7f,getDatesInRange:_0x4c2db5,refreshStates:_0x111382,makeCopyOfDate:_0x46d96f}=_0x54d1b4.data;if(!_0xe7c6fc)return;const{publishAutobinding:_0x7c893b}=_0x54d1b4;switch(_0xe7c6fc[_0x4ffe88(160)]({silent:!0}),_0x257f1f){case _0x4ffe88(159):{_0xe7c6fc[_0x4ffe88(155)](_0x46d96f(_0xa8e2ca),{silent:!0,updateTime:!0});const _0x52c39c=_0x40dd7f(_0x46d96f(_0xa8e2ca));Array[_0x4ffe88(158)](_0x52c39c)?_0x7c893b(null):_0x7c893b(_0x52c39c),_0x111382({selectedDate:_0x52c39c,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null})}break;case _0x4ffe88(145):{_0xe7c6fc[_0x4ffe88(155)](_0x46d96f(_0x3da4c3),{silent:!0,updateTime:!0});const _0x527c65=undefined;_0x111382({selectedDate:null,selectedMultipleDates:_0x40dd7f(_0x46d96f(_0x3da4c3)),selectedRange:null,selectedRangeAsList:null})}break;case _0x4ffe88(149):{_0xe7c6fc.selectDate(_0x46d96f(_0x43e476),{silent:!0,updateTime:!0});const[_0x1cf0b2,_0x45fe64]=_0x43e476,_0x4591ff=_0x40dd7f(_0x46d96f(_0x43e476)),_0x23fb97=_0x40dd7f(_0x4c2db5(_0x1cf0b2,_0x45fe64));_0x111382({selectedDate:null,selectedMultipleDates:null,selectedRange:_0x4591ff[_0x4ffe88(157)]?_0x4591ff:null,selectedRangeAsList:_0x23fb97})}break;case _0x4ffe88(150):{_0xe7c6fc.selectDate(_0x46d96f(_0xa8e2ca),{silent:!0,updateTime:!0});const _0x5db9c8=_0x40dd7f(_0x46d96f(_0xa8e2ca));Array.isArray(_0x5db9c8)?_0x7c893b(null):_0x7c893b(_0x5db9c8),_0x111382({selectedDate:_0x5db9c8,selectedMultipleDates:null,selectedRange:null,selectedRangeAsList:null})}}}!function(_0x552de3,_0x590d98){const _0x1b3b50=_0x4087,_0x11dbb3=_0x552de3();for(;;)try{const _0x1b7471=undefined;if(945424===parseInt(_0x1b3b50(156))/1*(parseInt(_0x1b3b50(163))/2)+parseInt(_0x1b3b50(152))/3*(parseInt(_0x1b3b50(147))/4)+parseInt(_0x1b3b50(148))/5*(-parseInt(_0x1b3b50(161))/6)+-parseInt(_0x1b3b50(164))/7*(parseInt(_0x1b3b50(162))/8)+-parseInt(_0x1b3b50(154))/9+parseInt(_0x1b3b50(151))/10+-parseInt(_0x1b3b50(153))/11*(parseInt(_0x1b3b50(146))/12))break;_0x11dbb3.push(_0x11dbb3.shift())}catch(_0x23d207){_0x11dbb3.push(_0x11dbb3.shift())}}(_0x12d7,945424),reset(instance,context)}"}},"platform_type":"web"}}};
245window._bubble_page_load_data.plugins_size['1495642567089x595986733356023800'] = 100641;
246window.preloaded['plugin/third_party:1495642567089x595986733356023800:3.107.0'] = true;
247window.plugins["1497902469413x534380653819985900"] = {"human":"Air Date Time Dropper","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Air DateDropper","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":false,"autobinding_value":"date","autobinding_is_list":false,"has_reset_fn":false,"fields":{"AAL":{"caption":"Theme","name":"theme","editor":"Dropdown","rank":0,"default_val":"bluewhite"},"AAe":{"caption":"Initial date","name":"default_date","editor":"DynamicValue","rank":4,"value":"date","optional":true},"AAf":{"caption":"Disabled dates","name":"disabled_dates","editor":"DynamicValue","rank":5,"value":"date","is_list":true,"optional":true},"AAg":{"caption":"Date format","name":"format","editor":"Dropdown","rank":6,"default_val":"22/06/1983","optional":false},"AAh":{"caption":"Animation ","name":"fx","editor":"Checkbox","rank":7,"default_val":true},"AAi":{"caption":"Disable animation on mobile","name":"fx_mobile","editor":"Checkbox","rank":8,"default_val":true},"AAj":{"caption":"Set initial date","name":"init_set","editor":"Checkbox","rank":3,"default_val":true},"AAk":{"caption":"Language","name":"lang","editor":"Dropdown","rank":9,"default_val":"English"},"AAl":{"caption":"Show large mode on click of day.","name":"large_mode","editor":"Checkbox","rank":10,"default_val":true},"AAm":{"caption":"Show large view by default","name":"large_default","editor":"Checkbox","rank":11,"default_val":false},"AAn":{"caption":"Lock","name":"lock","editor":"Dropdown","rank":13,"default_val":"false","optional":false},"AAo":{"caption":"Minimum year","name":"min_year","editor":"StaticText","rank":14,"optional":false,"default_val":"1970"},"AAp":{"caption":"Maximum year","name":"max_year","editor":"StaticText","rank":15,"optional":false,"default_val":"2050"},"ABB":{"caption":"Use lock to allow selecting dates only to/from initial date. False will not lock any dates","name":"lock_info","editor":"Label","rank":12},"ABC":{"caption":"Placeholder","name":"placeholder","editor":"DynamicValue","rank":1,"optional":true,"value":"text","default_val":"Placeholder"},"ABM":{"caption":"If \"Set initial date is checked\" the datepicker will display the initial set date instead of the placeholder text. If not checked the initial date is null and the placeholder text will be displayed.","name":"initial_info","editor":"Label","rank":2},"ABT":{"caption":"Translate mode","name":"translate_mode","editor":"Checkbox","rank":16,"default_val":true}},"states":{"AAb":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":""}},"ABg":{"caption":"date value","name":"date_value","value":"date","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABZ":{"caption":"Date is changed","name":"date_is_changed"}},"actions":{"ABe":{"caption":"Reset Date","code":{"fn":"function(instance,properties,context){function _0x676f(_0x30d42a,_0xaa19cb){var _0x44f171=_0x44f1();return(_0x676f=function(_0x676f40,_0x5c23f6){var _0x4ca1eb;return _0x44f171[_0x676f40-=196]})(_0x30d42a,_0xaa19cb)}function _0x44f1(){var _0x39fba7=[\"148228VSdSlx\",\"triggerEvent\",\"2rVIPAI\",\"90fbEbAG\",\"48bIqnpT\",\"date_value\",\"12VvrlmB\",\"6995576RrCMUg\",\"887836fPddfc\",\"1096997JEymwk\",\"publishState\",\"3040575jYidWJ\",\"95Jnwzdo\",\"931620ImyHPb\",\"ready\",\"1907059aoBcFt\",\"date_is_changed\"];return(_0x44f1=function(){return _0x39fba7})()}function run(_0x2fadb0,_0x588066,_0x578b32){var _0xe3c1fb=_0x676f;$(document)[_0xe3c1fb(197)]((function(){var _0x5d1c06=_0xe3c1fb;_0x2fadb0.publishState(\"value\",null),_0x2fadb0[_0x5d1c06(210)](_0x5d1c06(205),null),_0x2fadb0[_0x5d1c06(201)](_0x5d1c06(199))}))}!function(_0x1896ea,_0x52824f){for(var _0x4d9cc0=_0x676f,_0x3236c1=_0x1896ea();;)try{var _0x3981e5;if(994139===parseInt(_0x4d9cc0(208))/1+parseInt(_0x4d9cc0(202))/2*(parseInt(_0x4d9cc0(211))/3)+parseInt(_0x4d9cc0(200))/4*(-parseInt(_0x4d9cc0(212))/5)+-parseInt(_0x4d9cc0(206))/6*(parseInt(_0x4d9cc0(198))/7)+parseInt(_0x4d9cc0(207))/8+-parseInt(_0x4d9cc0(203))/9*(parseInt(_0x4d9cc0(196))/10)+-parseInt(_0x4d9cc0(209))/11*(-parseInt(_0x4d9cc0(204))/12))break;_0x3236c1.push(_0x3236c1.shift())}catch(_0x596175){_0x3236c1.push(_0x3236c1.shift())}}(_0x44f1,994139),run(instance,properties,context)}"}}},"code":{"initialize":{"fn":"function(instance,context){function _0x28b0(_0x1eb5b5,_0x2a1d9d){const _0x1a9080=_0x1a90();return(_0x28b0=function(_0x28b039,_0x53587e){let _0x7e0ec1;return _0x1a9080[_0x28b039-=250]})(_0x1eb5b5,_0x2a1d9d)}function _0x1a90(){const _0x38b226=['<div>
247<input type=\"text\" id=\"',\"initialize\",\"22/06/1983\",\"random\",\"append\",\"format\",\"6385iDfiPk\",\"06/22/1983\",\"22 Jun 1983\",\"300182PUUSTc\",\"MMM\",\"22 June 1983\",\"pointer\",\"setFormat\",\"7623282nHHBBW\",\"toString\",\"DD MMM YYYY\",\"Jun (month only)\",\"22-06-1983\",\"pow\",\"1983 (year only)\",\"06-22-1983\",\"YYYY\",\"100%\",'\" class=\"air-dp\" /></div>',\"1px 4px\",\"3632cjCHOj\",\"2702162zvVxlB\",\"7040320RfkKGp\",\"MM/DD/YYYY\",\"293526IBfbEi\",\"DD-MM-YYYY\",\"data\",\"18vISOEI\",\"Wednesday 22 June 1983\",\"327480JUXOne\",\"DD/MM/YYYY\"];return(_0x1a90=function(){return _0x38b226})()}function initialize(_0x39b8e8,_0x2732ee){const _0x703f2=_0x28b0;_0x39b8e8.data.id=\"dp\"+(Math[_0x703f2(258)]()*Math[_0x703f2(274)](2,54))[_0x703f2(270)](18);let _0x5d59a7=$(_0x703f2(255)+_0x39b8e8[_0x703f2(250)].id+_0x703f2(279)).css({width:\"100%\",height:_0x703f2(278),cursor:_0x703f2(267),transition:\"border-color 200ms ease, box-shadow 200ms ease\",padding:_0x703f2(280)});_0x39b8e8.canvas[_0x703f2(259)](_0x5d59a7),_0x39b8e8[_0x703f2(250)][_0x703f2(256)]=!1,_0x39b8e8[_0x703f2(250)][_0x703f2(268)]=function(_0x494758,_0x533357=new Date){const _0x2e83ab=_0x703f2;let _0x54515c=\"\";switch(_0x494758){case _0x2e83ab(257):_0x54515c=moment(_0x533357).format(_0x2e83ab(254));break;case _0x2e83ab(262):_0x54515c=moment(_0x533357)[_0x2e83ab(260)](_0x2e83ab(284));break;case _0x2e83ab(273):_0x54515c=moment(_0x533357)[_0x2e83ab(260)](_0x2e83ab(286));break;case _0x2e83ab(276):_0x54515c=moment(_0x533357)[_0x2e83ab(260)](\"MM-DD-YYYY\");break;case _0x2e83ab(266):_0x54515c=moment(_0x533357)[_0x2e83ab(260)](\"DD MMMM YYYY\");break;case _0x2e83ab(263):_0x54515c=moment(_0x533357)[_0x2e83ab(260)](_0x2e83ab(271));break;case _0x2e83ab(252):_0x54515c=moment(_0x533357)[_0x2e83ab(260)](\"dddd DD MMMM YYYY\");break;case _0x2e83ab(272):_0x54515c=moment(_0x533357)[_0x2e83ab(260)](_0x2e83ab(265));break;case _0x2e83ab(275):_0x54515c=moment(_0x533357).format(_0x2e83ab(277));break;default:_0x54515c=moment(_0x533357)[_0x2e83ab(260)](_0x2e83ab(254))}return _0x54515c}}!function(_0x17f17e,_0x263fec){const _0x2aea4e=_0x28b0,_0x53a4fa=_0x17f17e();for(;;)try{const _0xbd037e=undefined;if(714184===parseInt(_0x2aea4e(264))/1+parseInt(_0x2aea4e(282))/2+parseInt(_0x2aea4e(285))/3+parseInt(_0x2aea4e(281))/4*(parseInt(_0x2aea4e(261))/5)+-parseInt(_0x2aea4e(269))/6+-parseInt(_0x2aea4e(283))/7+parseInt(_0x2aea4e(253))/8*(parseInt(_0x2aea4e(251))/9))break;_0x53a4fa.push(_0x53a4fa.shift())}catch(_0x38ec77){_0x53a4fa.push(_0x53a4fa.shift())}}(_0x1a90,714184),initialize(instance,context)}"},"update":{"fn":"function(instance,properties,context){function _0x175e(){var _0x1f466a=[\"date_is_changed\",\"1478043XOuGum\",\"06/22/1983\",\"max_year\",\"data-disabled-days\",\"date_value\",\"toString\",\"22/06/1983\",\"default_date\",\"setYear\",\"data-init-set\",\"ready\",\"11728013EuaENM\",\"css\",\"attr\",\"split\",\"touchstart mousedown\",\"log\",\"YYYY\",\"triggerEvent\",\"3BxuyMQ\",\"large_mode\",\"data-fx-mobile\",\"underline\",\"get\",\"data-lock\",\"initialize\",\"06-22-1983\",\"removeAttr\",\"large_default\",\"DD MMMM YYYY\",\"data-default-date\",\"data-min-year\",\"data-max-year\",\"22 Jun 1983\",\"MM-DD-YYYY\",\"DD-MM-YYYY\",\"8245680Wilfmy\",\"val\",\"384796XatKxO\",\"length\",\"air-drop-\",\"Jun (month only)\",\"getFullYear\",\"186KdKONJ\",\"bubble\",\"change\",\"DD/MM/YYYY\",\"theme\",\"7WAHOLp\",\"dateDropper\",\"j M Y\",\"getMonth\",\"46630LVtpbS\",\" .pick-submit\",\"539067SCcmbT\",\"here2\",\"lock\",\"1983 (year only)\",\"setMonth\",\"value\",\"disabled_dates\",\"data-large-mode\",\"d/m/Y\",\"format\",\"10oMEIoI\",\"translate_mode\",\"2hvglst\",\"getElementById\",\"here\",\"22-06-1983\",\"data-large-default\",\"init_set\",\"none\",\"22 June 1983\",\"data-theme\",\"data-translate-mode\",\"placeholder\",\"data\",\"m/d/Y\",\"1222104kzfmGW\",\"publishState\",\"getDate\",\"MMM\"];return(_0x175e=function(){return _0x1f466a})()}function _0x3859(_0x3ef17b,_0x52eea8){var _0x175e03=_0x175e();return(_0x3859=function(_0x385981,_0x2da38b){var _0x5e5591;return _0x175e03[_0x385981-=284]})(_0x3ef17b,_0x52eea8)}function update(_0x425094,_0x56d2c4,_0x1d6a05){var _0x164a07=_0x3859;if(_0x425094[_0x164a07(336)].format=_0x56d2c4.format,$(\"#\"+_0x425094[_0x164a07(336)].id)[_0x164a07(286)](\"data-default-date\"),$(\"#\"+_0x425094.data.id).attr(\"data-init-set\",!1),_0x425094[_0x164a07(336)][_0x164a07(319)]=\"\",null!==_0x56d2c4.disabled_dates){var _0x3f4544=_0x56d2c4[_0x164a07(319)][_0x164a07(366)](0,_0x56d2c4[_0x164a07(319)][_0x164a07(298)]());for(let _0x4e0e31=0;_0x4e0e31<_0x56d2c4.disabled_dates.length();_0x4e0e31++)_0x425094.data.disabled_dates=_0x425094[_0x164a07(336)][_0x164a07(319)]+_0x254168(_0x3f4544[_0x4e0e31])+\",\"}function _0x3ed920(){var _0x44c161=_0x164a07,_0x2f3e5d={\"22/06/1983\":_0x44c161(321),\"06/22/1983\":_0x44c161(337),\"22-06-1983\":\"d-m-Y\",\"06-22-1983\":\"m-d-Y\",\"22 June 1983\"
247:\"j F Y\",\"22 Jun 1983\":_0x44c161(309),\"Wednesday 22 June 1983\":\"l j M Y\",\"Jun (month only)\":\"m\",\"1983 (year only)\":\"Y\"},_0x31ed00={English:\"en\",Arabic:\"ar\",Italian:\"it\",Hungarian:\"hu\",Greek:\"gr\",Espanol:\"es\",Dansk:\"da\",Deutsch:\"de\",Dutch:\"nl\",Francais:\"fr\",Polski:\"pl\",Portuguese:\"pt\",Slovenian:\"si\",Ukrainian:\"uk\",Russian:\"ru\",Turkish:\"tr\",Korean:\"ko\"},_0x51e2b5=\"#\"+_0x425094[_0x44c161(336)].id;\"\"!==_0x425094[_0x44c161(336)][_0x44c161(319)]&&$(_0x51e2b5)[_0x44c161(356)](_0x44c161(346),_0x425094[_0x44c161(336)][_0x44c161(319)]),$(_0x51e2b5)[_0x44c161(356)](\"data-format\",_0x2f3e5d[_0x56d2c4[_0x44c161(322)]]),$(_0x51e2b5)[_0x44c161(356)](\"data-fx\",_0x56d2c4.fx),$(_0x51e2b5)[_0x44c161(356)](_0x44c161(364),_0x56d2c4.fx_mobile),$(_0x51e2b5)[_0x44c161(356)](_0x44c161(352),_0x56d2c4[_0x44c161(330)]),$(_0x51e2b5)[_0x44c161(356)](\"data-lang\",_0x31ed00[_0x56d2c4.lang]),$(_0x51e2b5)[_0x44c161(356)](_0x44c161(320),_0x56d2c4[_0x44c161(363)]),$(_0x51e2b5)[_0x44c161(356)](_0x44c161(329),_0x56d2c4[_0x44c161(287)]),$(_0x51e2b5)[_0x44c161(356)](_0x44c161(367),_0x56d2c4[_0x44c161(315)]),$(_0x51e2b5)[_0x44c161(356)](_0x44c161(291),_0x56d2c4[_0x44c161(345)]),$(_0x51e2b5).attr(_0x44c161(290),_0x56d2c4.min_year),$(_0x51e2b5)[_0x44c161(356)](_0x44c161(333),_0x44c161(299)+_0x56d2c4[_0x44c161(306)]),$(_0x51e2b5).attr(_0x44c161(334),_0x56d2c4[_0x44c161(324)]),!_0x56d2c4[_0x44c161(330)]&&$(_0x51e2b5).attr(_0x44c161(335),_0x56d2c4[_0x44c161(335)]),!_0x425094[_0x44c161(336)][_0x44c161(284)]&&($(_0x51e2b5)[_0x44c161(308)](),$(_0x51e2b5).on(_0x44c161(304),(function(){var _0x3fcff5=_0x44c161;let _0x268a38=$(this)[_0x3fcff5(296)]();null!=_0x268a38&&($(this)[_0x3fcff5(356)](_0x3fcff5(289),_0x3fcff5(327)),_0x425094[_0x3fcff5(339)](\"value\",_0xa08b7a(_0x56d2c4[_0x3fcff5(322)],_0x268a38)),_0x425094[_0x3fcff5(339)](_0x3fcff5(347),_0x7e0aa7(_0x56d2c4.format,_0x268a38)),_0x425094[_0x3fcff5(361)](_0x3fcff5(342)))})),$(_0x51e2b5+_0x44c161(312)).on(_0x44c161(358),(function(){var _0x36f77c=_0x44c161;console[_0x36f77c(359)](_0x36f77c(314));let _0xd6f0aa=$(_0x51e2b5)[_0x36f77c(296)]();$(_0x51e2b5).attr(_0x36f77c(289),_0xd6f0aa),_0x425094[_0x36f77c(339)](\"value\",_0xa08b7a(_0x56d2c4.format,_0xd6f0aa)),_0x425094[_0x36f77c(339)](\"date_value\",_0x7e0aa7(_0x56d2c4.format,_0xd6f0aa)),_0x425094[_0x36f77c(361)](_0x36f77c(342))})),_0x425094[_0x44c161(336)].initialize=!0),\"\"!==document[_0x44c161(326)](_0x425094[_0x44c161(336)].id)[_0x44c161(318)]&&null!==document.getElementById(_0x425094[_0x44c161(336)].id)[_0x44c161(318)]&&void 0!==document[_0x44c161(326)](_0x425094[_0x44c161(336)].id)[_0x44c161(318)]?(_0x425094[_0x44c161(339)](\"value\",_0xa08b7a(_0x56d2c4[_0x44c161(322)],document.getElementById(_0x425094[_0x44c161(336)].id).value)),_0x425094.publishState(_0x44c161(347),_0x7e0aa7(_0x56d2c4[_0x44c161(322)],document[_0x44c161(326)](_0x425094[_0x44c161(336)].id)[_0x44c161(318)]))):(_0x425094[_0x44c161(339)](_0x44c161(318),null),_0x425094.publishState(_0x44c161(347),null))}function _0x254168(_0x4e9bb6){var _0x3dc70d=_0x164a07;let _0x40ab10=_0x4e9bb6[_0x3dc70d(301)](),_0x453bb2=(1+_0x4e9bb6[_0x3dc70d(310)]())[_0x3dc70d(348)]();_0x453bb2=_0x453bb2[_0x3dc70d(298)]>1?_0x453bb2:\"0\"+_0x453bb2;let _0x4a8475=_0x4e9bb6[_0x3dc70d(340)]()[_0x3dc70d(348)]();return _0x4a8475=_0x4a8475[_0x3dc70d(298)]>1?_0x4a8475:\"0\"+_0x4a8475,_0x453bb2+\"/\"+_0x4a8475+\"/\"+_0x40ab10}function _0x58cb21(_0x44f178){var _0x14405b=_0x164a07,_0x11a57e=_0x44f178.getFullYear(),_0x55498a=(1+_0x44f178.getMonth()).toString();_0x55498a=_0x55498a[_0x14405b(298)]>1?_0x55498a:\"0\"+_0x55498a;var _0xd7437f=_0x44f178[_0x14405b(340)]()[_0x14405b(348)]();return _0x55498a+\"-\"+(_0xd7437f=_0xd7437f[_0x14405b(298)]>1?_0xd7437f:\"0\"+_0xd7437f)+\"-\"+_0x11a57e}function _0xa08b7a(_0x318128,_0x5377bf){var _0xd4986e=_0x164a07,_0x348664,_0x26c506,_0x5b20c9,_0x4e4a1b,_0x5e0bbc,_0x5e0bbc;return _0x318128===_0xd4986e(349)?(_0x348664=_0x5377bf[_0xd4986e(357)](\"/\"),moment(new Date(_0x348664[2],_0x348664[1]-1,_0x348664[0],0,0,0,0))[_0xd4986e(322)](_0xd4986e(305))):\"06/22/1983\"===_0x318128?(_0x348664=_0x5377bf[_0xd4986e(357)](\"/\"),moment(new Date(_0x348664[2],_0x348664[0]-1,_0x348664[1],0,0,0,0))[_0xd4986e(322)](\"MM/DD/YYYY\")):_0x318128===_0xd4986e(328)?(_0x348664=_0x5377bf[_0xd4986e(357)](\"-\"),moment(new Date(_0x348664[2],_0x348664[1]-1,_0x348664[0],0,0,0,0)).format(_0xd4986e(294))):_0x318128===_0xd4986e(285)?(_0x348664=_0x5377bf[_0xd4986e(357)](\"-\"),moment(new Date(_0x348664[2],_0x348664[0]-1,_0x348664[1],0,0,0,0)).format(_0xd4986e(293))):_0x318128===_0xd4986e(332)?moment(new Date(_0x5377bf))[_0xd4986e(322)](_0xd4986e(288)):_0x318128===_0xd4986e(292)?moment(new Date(_0x5377bf))[_0xd4986e(322)](\"DD MMM YYYY\"):\"Wednesday 22 June 1983\"===_0x318128?moment(new Date(_0x5377bf))[_0xd4986e(322)](\"dddd DD MMMM YYYY\"):_0x318128===_0xd4986e(300)?((_0x5e0bbc=new Date)[_0xd4986e(317)](_0x5377bf-1),moment(_0x5e0bbc)[_0xd4986e(322)](_0xd4986e(341))):_0x318128===_0xd4986e(316)?((_0x5e0bbc=new Date)[_0xd4986e(351)](_0x5377bf),moment(_0x5e0bbc)[_0xd4986e(322)](_0xd4986e(360))):null}function _0x7e0aa7(_0x1e80ce,_0x2a04db){var _0x413afa=_0x164a07,_0x11de04,_0x96902e,_0x42522e,_0x487b6a,_0x5819ac,_0x5819ac;return _0x1e80ce===_0x413afa(349)?(_0x11de04=_0x2a04db[_0x413afa(357)](\"/\"),new Date(_0x11de04[2],_0x11de04[1]-1,_0x11de04[0],0,0,0,0)):_0x1e80ce===_0x413afa(344)?(_0x11de04=_0x2a04db[_0x413afa(357)](\"/\"),new Date(_0x11de04[2],_0x11de04[0]-1,_0x11de04[1],0,0,0,0)):_0x1e80ce===_0x413afa(328)?(_0x11de04=_0x2a04db[_0x413afa(357)](\"-\"),new Date(_0x11de04[2],_0x11de04[1]-1,_0x11de04[0],0,0,0,0)):\"06-22-1983\"===_0x1e80ce?(_0x11de04=_0x2a04db.split(\"-\"),new Date(_0x11de04[2],_0x11de04[0]-1,_0x11de04[1],0,0,0,0)):_0x1e80ce===_0x413afa(332)||\"22 Jun 1983\"===_0x1e80ce||\"Wednesday 22 June 1983\"===_0x1e80ce?new Date(_0x2a04db):\"Jun (month only)\"===_0x1e80ce?((_0x5819ac=new Date)[_0x413afa(317)](_0x2a04db-1),_0x5819ac):_0x1e80ce===_0x413afa(316)?((_0x5819ac=new Date).setYear(_0x2a04db),_0x5819ac):null}_0x56d2c4[_0x164a07(303)].underline()?$(\"#\"+_0x425094.data.id)[_0x164a07(355)]({\"text-decoration\":_0x164a07(365)}):$(\"#\"+_0x425094[_0x164a07(336)].id)[_0x164a07(355)]({\"text-decoration\":_0x164a07(331)}),_0x425094.data[_0x164a07(350)]=\"\",null!==_0x56d2c4[_0x164a07(350)]&&(_0x425094[_0x164a07(336)][_0x164a07(350)]=_0x58cb21(_0x56d2c4[_0x164a07(350)]),$(\"#\"+_0x425094[_0x164a07(336)].id)[_0x164a07(356)](\"data-default-date\",_0x425094.data[_0x164a07(350)]),_0x425094[_0x164a07(336)][_0x164a07(284)]&&($(\"#\"+_0x425094.data.id)[_0x164a07(308)](),$(\"#\"+_0x425094[_0x164a07(336)].id)[_0x164a07(296)](_0x425094[_0x164a07(336)].setFormat(_0x56d2c4.format,_0x56d2c4[_0x164a07(350)])))),$(document)[_0x164a07(353)](_0x3ed920)}!function(_0x55f31d,_0x4d423e){for(var _0x31163e=_0x3859,_0x4a14c2=_0x55f31d();;)try{var _0x5b4534;if(542271===parseInt(_0x31163e(313))/1*(-parseInt(_0x31163e(325))/2)+-parseInt(_0x31163e(362))/3*(-parseInt(_0x31163e(297))/4)+-parseInt(_0x31163e(311))/5*(-parseInt(_0x31163e(302))/6)+parseInt(_0x31163e(307))/7*(parseInt(_0x31163e(338))/8)+p
247arseInt(_0x31163e(343))/9*(parseInt(_0x31163e(323))/10)+parseInt(_0x31163e(354))/11+-parseInt(_0x31163e(295))/12)break;_0x4a14c2.push(_0x4a14c2.shift())}catch(_0x547490){_0x4a14c2.push(_0x4a14c2.shift())}}(_0x175e,542271),update(instance,properties,context)}"},"preview":{"fn":"function(instance, properties) {\n    function _0x225d() {\n        const _0x207b58 = [\n            '18gmjpcA',\n            '10984940HhjPnz',\n            'html',\n            '21308244MmeRXH',\n            '2533405WBCuEQ',\n            'height',\n            '0.5',\n            'bubble',\n            '520LEXChU',\n            '2oyukfA',\n            'width',\n            '4BFIAse',\n            '3014247XUOYqZ',\n            'css',\n            '11uKFroe',\n            '#slotsPreview',\n            '522277HPKdED',\n            '<div\\x20id=\\x22slotsPreview\\x22>\\x20<img\\x20style=\\x22width:100%;height:100%\\x22\\x20src=\\x22//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1630322216991x853825492555342100/YegCO1630324356.png\\x22\\x20/>\\x20</div>',\n            '108630lUFYIy',\n            '433635QwvZCJ'\n        ];\n        _0x225d = function () {\n            return _0x207b58;\n        };\n        return _0x225d();\n    }\n    function _0x41ac(_0x37b86f, _0x2e0b8f) {\n        const _0x225d09 = _0x225d();\n        return _0x41ac = function (_0x41ac25, _0xc5d3bf) {\n            _0x41ac25 = _0x41ac25 - 0x10d;\n            let _0x4b651a = _0x225d09[_0x41ac25];\n            return _0x4b651a;\n        }, _0x41ac(_0x37b86f, _0x2e0b8f);\n    }\n    (function (_0x32cb80, _0x5bd5d0) {\n        const _0x447437 = _0x41ac, _0x358489 = _0x32cb80();\n        while (!![]) {\n            try {\n                const _0x4fb52 = -parseInt(_0x447437(0x11b)) / 0x1 * (-parseInt(_0x447437(0x111)) / 0x2) + -parseInt(_0x447437(0x114)) / 0x3 * (parseInt(_0x447437(0x113)) / 0x4) + -parseInt(_0x447437(0x120)) / 0x5 + parseInt(_0x447437(0x11c)) / 0x6 * (parseInt(_0x447437(0x118)) / 0x7) + parseInt(_0x447437(0x110)) / 0x8 * (parseInt(_0x447437(0x11a)) / 0x9) + -parseInt(_0x447437(0x11d)) / 0xa + parseInt(_0x447437(0x116)) / 0xb * (parseInt(_0x447437(0x11f)) / 0xc);\n                if (_0x4fb52 === _0x5bd5d0)\n                    break;\n                else\n                    _0x358489['push'](_0x358489['shift']());\n            } catch (_0x5748c9) {\n                _0x358489['push'](_0x358489['shift']());\n            }\n        }\n    }(_0x225d, 0x94625));\n    function preview(_0x53a7ad, _0x245a9f) {\n        const _0x2e1cba = _0x41ac;\n        let _0x502db8 = {\n            'width': _0x245a9f[_0x2e1cba(0x10f)][_0x2e1cba(0x112)]() + 'px',\n            'height': _0x245a9f[_0x2e1cba(0x10f)][_0x2e1cba(0x10d)]() + 'px',\n            'opacity': _0x2e1cba(0x10e)\n        };\n        _0x53a7ad['canvas'][_0x2e1cba(0x11e)](_0x2e1cba(0x119)), $(_0x2e1cba(0x117))[_0x2e1cba(0x115)](_0x502db8);\n    }\n    preview(instance, properties);\n}"}},"platform_type":"web"},"AAN":{"display":"Air TimeDropper","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":{"AAQ":{"caption":"Time format","name":"format","editor":"Dropdown","rank":0,"default_val":"3:09 pm"},"AAR":{"caption":"Auto-switch between hour and minute selectors","name":"autoswitch","editor":"Checkbox","rank":3,"default_val":false},"AAS":{"caption":"Use 24hr clock","name":"meridians","editor":"Checkbox","rank":4,"default_val":false},"AAT":{"caption":"Enables time change using mousewheel","name":"mousewheel","editor":"Checkbox","rank":5,"default_val":false},"AAU":{"caption":"Set current time","name":"setcurrenttime","editor":"Checkbox","rank":6,"default_val":true},"AAV":{"caption":"Initial animation","name":"init_animation","editor":"Dropdown","rank":8,"in_style":false},"AAW":{"caption":"Accent color","name":"primarycolor","editor":"Color","rank":11,"default_val":"rgba(25, 119, 204, 1)","optional":true},"AAY":{"caption":"Display Border color","name":"displayBorderColor","editor":"Color","rank":13,"default_val":"rgba(255,255,255,1)","optional":true},"AAZ":{"caption":"Text color","name":"textcolor","editor":"Color","rank":9,"default_val":"rgba(85, 85, 85, 1)","optional":true},"ABS":{"caption":"Minute step","name":"minute_step","editor":"DynamicValue","rank":2,"value":"number","optional":true},"ABX":{"caption":"Initial time","name":"initial_time","rank":1,"editor":"DynamicValue","value":"date","optional":true},"ABu":{"caption":"Style","name":"style","rank":7,"editor":"Label"}
247,"ABv":{"caption":"Display Background Color","name":"displayBackgroundColor","rank":12,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"ABw":{"caption":"Display border style","name":"displayBorderStyle","rank":14,"editor":"Dropdown","default_val":"solid"},"ABx":{"caption":"Display border width","name":"displayBorderWidth","rank":15,"editor":"DynamicValue","value":"number","default_val":4},"ABy":{"caption":"Hands color","name":"handsColor","rank":16,"editor":"Color","value":"text","default_val":"rgba(110, 153, 255, 0.31)"},"ACA":{"caption":"Handle point color","name":"handlePointColor","rank":17,"editor":"Color","default_val":"rgba(255,255,255,1)"},"ACB":{"caption":"Background color","name":"backgroundColor","rank":10,"editor":"Color","default_val":"rgba(105,137,104,1)"}},"states":{"AAc":{"caption":"value","name":"value","value":"text"},"AAu":{"caption":"minutes","name":"minutes","value":"number"},"AAv":{"caption":"hours","name":"hours","value":"number"},"ABU":{"caption":"date value","name":"date_value","value":"date","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABY":{"caption":"Time is changed","name":"time_is_changed"}},"actions":{"ABd":{"caption":"Reset Time","code":{"fn":"function(instance,properties,context){function run(_0x44f478,_0x1d5f23,_0x212c6d){var _0x465adf=_0x2628;$(document)[_0x465adf(172)]((function(){var _0xf3d907=_0x465adf;_0x44f478[_0xf3d907(169)](_0xf3d907(173),null),_0x44f478[_0xf3d907(169)](\"hours\",null),_0x44f478[_0xf3d907(169)](_0xf3d907(175),null),_0x44f478[_0xf3d907(169)](_0xf3d907(166),null),_0x44f478[_0xf3d907(176)](_0xf3d907(170))}))}function _0x2628(_0x2f81ed,_0x2e9730){var _0x506086=_0x5060();return(_0x2628=function(_0x262890,_0x46f12f){var _0xb94013;return _0x506086[_0x262890-=162]})(_0x2f81ed,_0x2e9730)}function _0x5060(){var _0x160cf5=[\"760236QOAuEX\",\"8585uzljXY\",\"7588LKPezc\",\"2291488aaNPSP\",\"11CxbBZp\",\"4QDLXdo\",\"date_value\",\"1686dxcFRX\",\"569196ePDjeJ\",\"publishState\",\"time_is_changed\",\"480290CIYyTN\",\"ready\",\"value\",\"6132760hDJJhl\",\"minutes\",\"triggerEvent\",\"14eknSIG\"];return(_0x5060=function(){return _0x160cf5})()}!function(_0x441ea5,_0x85d9db){for(var _0x20f7af=_0x2628,_0x1f6150=_0x441ea5();;)try{var _0x57b67c;if(158635===parseInt(_0x20f7af(179))/1*(-parseInt(_0x20f7af(177))/2)+-parseInt(_0x20f7af(178))/3+-parseInt(_0x20f7af(165))/4*(parseInt(_0x20f7af(171))/5)+-parseInt(_0x20f7af(167))/6*(-parseInt(_0x20f7af(162))/7)+-parseInt(_0x20f7af(163))/8+-parseInt(_0x20f7af(168))/9+-parseInt(_0x20f7af(174))/10*(-parseInt(_0x20f7af(164))/11))break;_0x1f6150.push(_0x1f6150.shift())}catch(_0x401a6a){_0x1f6150.push(_0x1f6150.shift())}}(_0x5060,158635),run(instance,properties,context)}"}}},"code":{"initialize":{"fn":"function(instance,context){function _0x35d1(_0xfa582e,_0x350dc0){const _0x527ed3=_0x527e();return(_0x35d1=function(_0x35d169,_0x9d8f95){let _0x1cdd1b;return _0x527ed3[_0x35d169-=135]})(_0xfa582e,_0x350dc0)}function _0x527e(){const _0x4a075b=[\"4608317ZTSvmO\",\"264525JXxgBu\",\"pointer\",\"pow\",\"10158JRXSqb\",'\" class=\"air-tp\"/></div>',\"2322LhjUAB\",\"qwe\",\"502719SCTnmk\",\"78QVSFZE\",\"timeDropper\",\"data\",\"5091784lQsRNw\",\"6uUPNZv\",\"toString\",'<div><input type=\"text\" id=\"',\"9570PVTZkn\",\"random\",\"append\",\"100%\",\"border-color 200ms ease, box-shadow 200ms ease\",\"614256bqMIWY\"];return(_0x527e=function(){return _0x4a075b})()}function initialize(_0x1407da,_0x358d02){const _0x4ca677=_0x35d1;_0x1407da[_0x4ca677(151)].id=\"timer\"+(Math[_0x4ca677(135)]()*Math[_0x4ca677(143)](2,54))[_0x4ca677(154)](18);
247let _0x588a75=$(_0x4ca677(155)+_0x1407da[_0x4ca677(151)].id+_0x4ca677(145)).css({width:_0x4ca677(137),height:_0x4ca677(137),cursor:_0x4ca677(142),transition:_0x4ca677(138),padding:\"1px 4px\"});window[_0x4ca677(147)]=_0x588a75,_0x1407da.canvas[_0x4ca677(136)](_0x588a75),_0x1407da[_0x4ca677(151)].initialize=!1,_0x1407da[_0x4ca677(151)].initDrop=function(_0xb1f059){const _0x569f8e=_0x4ca677;$(\"#\"+_0x1407da.data.id)[_0x569f8e(150)](_0xb1f059),_0x1407da[_0x569f8e(151)].initialize=!0}}!function(_0x46fa2e,_0x2cac78){const _0x1e8727=_0x35d1,_0x4892a5=_0x46fa2e();for(;;)try{const _0x140ed4=undefined;if(572478===parseInt(_0x1e8727(148))/1+-parseInt(_0x1e8727(149))/2*(-parseInt(_0x1e8727(144))/3)+parseInt(_0x1e8727(139))/4+parseInt(_0x1e8727(141))/5+-parseInt(_0x1e8727(153))/6*(parseInt(_0x1e8727(140))/7)+parseInt(_0x1e8727(152))/8+-parseInt(_0x1e8727(146))/9*(parseInt(_0x1e8727(156))/10))break;_0x4892a5.push(_0x4892a5.shift())}catch(_0x522259){_0x4892a5.push(_0x4892a5.shift())}}(_0x527e,572478),initialize(instance,context)}"},"update":{"fn":"function(instance,properties,context){function _0x27c0(_0x28e528,_0x5a54ea){var _0x3c194f=_0x3c19();return(_0x27c0=function(_0x27c0de,_0x538fd8){var _0x1e23b1;return _0x3c194f[_0x27c0de-=145]})(_0x28e528,_0x5a54ea)}function update(_0x2fe2a7,_0x188e0f,_0x2647aa){var _0x4a0b2a=_0x27c0;function _0x58a8c8(){var _0x56e9a9=_0x27c0,_0x4e2d49;_0x4e2d49=_0x2fe2a7[_0x56e9a9(161)][_0x56e9a9(175)];var _0xb9bfff=_0x2fe2a7[_0x56e9a9(161)].id;_0x188e0f.bubble[_0x56e9a9(181)]()?$(\"#\"+_0xb9bfff)[_0x56e9a9(155)]({\"text-decoration\":\"underline\"}):$(\"#\"+_0xb9bfff)[_0x56e9a9(155)]({\"text-decoration\":_0x56e9a9(189)});let _0x5d7813={setCurrentTime:_0x188e0f[_0x56e9a9(174)],autoswitch:_0x188e0f[_0x56e9a9(196)],meridians:!_0x188e0f[_0x56e9a9(153)],mousewheel:_0x188e0f[_0x56e9a9(151)],format:_0x69f338(),init_animation:_0x188e0f[_0x56e9a9(152)],minutesSteps:+_0x188e0f[_0x56e9a9(149)]},_0x49d547;function _0xab017b(_0x3a5185){var _0x5585ee=_0x56e9a9;let _0x36a6d4,_0x520e15=_0x3a5185[_0x5585ee(190)]().split(\" \");return _0x520e15=_0x520e15[0][_0x5585ee(147)](\":\"),console.log(_0x5585ee(201),_0x520e15),_0x520e15[0]+\":\"+_0x520e15[1]}if(null!==_0x188e0f.initial_time){let _0x390de9=moment(_0x188e0f[_0x56e9a9(168)])[_0x56e9a9(191)](_0x69f338());$(\"#\"+_0x2fe2a7[_0x56e9a9(161)].id).val(_0x390de9)}function _0x69f338(){var _0x3cf962=_0x56e9a9,_0x1f3d5f=_0x188e0f[_0x3cf962(191)];return\"3:09 pm\"==_0x1f3d5f?_0x3cf962(154):_0x1f3d5f==_0x3cf962(172)?_0x3cf962(163):_0x1f3d5f==_0x3cf962(148)?\"HH:mm\":_0x1f3d5f==_0x3cf962(167)?\"h:m a\":_0x1f3d5f==_0x3cf962(150)?\"h:m A\":_0x1f3d5f==_0x3cf962(186)?_0x3cf962(166):void 0}!_0x2fe2a7[_0x56e9a9(161)][_0x56e9a9(162)]&&(_0x2fe2a7[_0x56e9a9(161)][_0x56e9a9(178)](_0x5d7813),$(\".\"+_0x5d7813.customClass).css({\"--td-textColor\":_0x188e0f[_0x56e9a9(197)],\"--td-backgroundColor\":_0x188e0f[_0x56e9a9(156)],\"--td-primaryColor\":_0x188e0f[_0x56e9a9(198)],\"--td-displayBackgroundColor\":_0x188e0f[_0x56e9a9(185)],\"--td-displayBorderColor\":_0x188e0f[_0x56e9a9(165)],\"--td-displayBorderStyle\":_0x188e0f.displayBorderStyle,\"--td-displayBorderWidth\":_0x188e0f[_0x56e9a9(193)]+\"px\",\"--td-handsColor\":_0x188e0f[_0x56e9a9(188)],\"--td-handleColor\":\"transparent\",\"--td-handlePointColor\":_0x188e0f.handlePointColor}));var _0x165478=document[_0x56e9a9(145)](_0xb9bfff).value,_0x49677d=_0x3a9e17(_0x165478)[0],_0x5f4fc8=_0x3a9e17(_0x165478)[1],_0x597189=new Date(1970,0,1,_0x49677d,_0x5f4fc8);_0x2fe2a7[_0x56e9a9(170)](_0x56e9a9(200),_0x165478),_0x2fe2a7[_0x56e9a9(170)](\"hours\",_0x49677d),_0x2fe2a7[_0x56e9a9(170)](\"minutes\",_0x5f4fc8),_0x2fe2a7[_0x56e9a9(170)](\"date_value\",_0x597189);var _0x5ec0d0=$(_0x56e9a9(184))[_0x56e9a9(171)]();function _0x3a9e17(_0x5c0496){var _0x1a9a2d=_0x56e9a9;let _0x52df32=new Date(\"01/01/1979 \"+_0x5c0496);return[_0x52df32[_0x1a9a2d(194)](),_0x52df32[_0x1a9a2d(192)]()]}$(\"#\"+_0x5ec0d0[_0x5ec0d0[_0x56e9a9(157)]-1].id+_0x56e9a9(173)).on(_0x56e9a9(183),(function(){var _0x5e7da3=_0x56e9a9,_0x3431f2=document[_0x5e7da3(145)](_0xb9bfff).value,_0x87c225=_0x3a9e17(_0x3431f2)[0],_0x14c563=_0x3a9e17(_0x3431f2)[1],_0x1cae5e=new Date(1970,0,1,_0x87c225,_0x14c563);_0x2fe2a7[_0x5e7da3(170)](_0x5e7da3(200),_0x3431f2),_0x2fe2a7[_0x5e7da3(170)](_0x5e7da3(164),_0x87c225),_0x2fe2a7[_0x5e7da3(170)](_0x5e7da3(187),_0x14c563),_0x2fe2a7[_0x5e7da3(170)](\"date_value\",_0x1cae5e),_0x2fe2a7.triggerEvent(_0x5e7da3(159))}))}$(document)[_0x4a0b2a(146)](_0x58a8c8)}function _0x3c19(){var _0x45ea0b=[\"initial_time\",\"833VxClui\",\"publishState\",\"parent\",\"3:09 PM\",\" .td-overlay\",\"setcurrenttime\",\"div\",\"288154WaYDJG\",\"9ZuXFXm\",\"initDrop\",\"471118udcTSh\",\"50391dvIaBT\",\"underline\",\"5igkcsB\",\"touchend mouseup\",\".td-overlay\",\"displayBackgroun
247dColor\",\"03:09 AM\",\"minutes\",\"handsColor\",\"none\",\"toTimeString\",\"format\",\"getMinutes\",\"displayBorderWidth\",\"getHours\",\"16256KGFYDS\",\"autoswitch\",\"textcolor\",\"primarycolor\",\"257574RIdXpd\",\"value\",\"Formatted\",\"getElementById\",\"ready\",\"split\",\"15:09\",\"minute_step\",\"3:9 PM\",\"mousewheel\",\"init_animation\",\"meridians\",\"h:mm a\",\"css\",\"backgroundColor\",\"length\",\"567788jvqLnP\",\"time_is_changed\",\"6111470RrNKql\",\"data\",\"initialize\",\"h:mm A\",\"hours\",\"displayBorderColor\",\"hh:mm A\",\"3:9 pm\"];return(_0x3c19=function(){return _0x45ea0b})()}!function(_0x298389,_0x1afb0d){for(var _0x54efb6=_0x27c0,_0x29af41=_0x298389();;)try{var _0x501309;if(148665===-parseInt(_0x54efb6(176))/1+parseInt(_0x54efb6(179))/2+parseInt(_0x54efb6(180))/3+-parseInt(_0x54efb6(158))/4+-parseInt(_0x54efb6(182))/5*(parseInt(_0x54efb6(199))/6)+-parseInt(_0x54efb6(169))/7*(parseInt(_0x54efb6(195))/8)+parseInt(_0x54efb6(177))/9*(parseInt(_0x54efb6(160))/10))break;_0x29af41.push(_0x29af41.shift())}catch(_0x624e29){_0x29af41.push(_0x29af41.shift())}}(_0x3c19,148665),update(instance,properties,context)}"},"preview":{"fn":"function(instance, properties) {\n    (function (_0x2edf02, _0x26c4b6) {\n        const _0x4b843b = _0x4ac1, _0x2f4182 = _0x2edf02();\n        while (!![]) {\n            try {\n                const _0x371783 = parseInt(_0x4b843b(0x1f1)) / 0x1 * (-parseInt(_0x4b843b(0x1e7)) / 0x2) + -parseInt(_0x4b843b(0x1f0)) / 0x3 + parseInt(_0x4b843b(0x1e6)) / 0x4 + -parseInt(_0x4b843b(0x1e5)) / 0x5 * (-parseInt(_0x4b843b(0x1e4)) / 0x6) + -parseInt(_0x4b843b(0x1ec)) / 0x7 * (parseInt(_0x4b843b(0x1e1)) / 0x8) + parseInt(_0x4b843b(0x1ed)) / 0x9 + parseInt(_0x4b843b(0x1ef)) / 0xa * (parseInt(_0x4b843b(0x1e3)) / 0xb);\n                if (_0x371783 === _0x26c4b6)\n                    break;\n                else\n                    _0x2f4182['push'](_0x2f4182['shift']());\n            } catch (_0x30d58e) {\n                _0x2f4182['push'](_0x2f4182['shift']());\n            }\n        }\n    }(_0x1ed0, 0x71b64));\n    function preview(_0x200453, _0x4c288b) {\n        const _0x25814b = _0x4ac1;\n        let _0x914150 = {\n            'width': _0x4c288b[_0x25814b(0x1f2)][_0x25814b(0x1e8)]() + 'px',\n            'height': _0x4c288b[_0x25814b(0x1f2)][_0x25814b(0x1e9)]() + 'px',\n            'opacity': '0.5'\n        };\n        _0x200453[_0x25814b(0x1ea)][_0x25814b(0x1e2)](_0x25814b(0x1eb)), $('#slotsPreview')[_0x25814b(0x1ee)](_0x914150);\n    }\n    function _0x4ac1(_0x1742b1, _0x699063) {\n        const _0x1ed035 = _0x1ed0();\n        return _0x4ac1 = function (_0x4ac17f, _0x15f3a5) {\n            _0x4ac17f = _0x4ac17f - 0x1e1;\n            let _0x50e7c3 = _0x1ed035[_0x4ac17f];\n            return _0x50e7c3;\n        }, _0x4ac1(_0x1742b1, _0x699063);\n    }\n    function _0x1ed0() {\n        const _0x48bb5c = [\n            '20170xrbTOG',\n            'width',\n            'height',\n            'canvas',\n            '<div\\x20id=\\x22slotsPreview\\x22>\\x20<img\\x20style=\\x22width:100%;height:100%\\x22\\x20src=\\x22//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1630321951827x452975745532402800/IChjY1630324081.png\\x22\\x20/>\\x20</div>',\n            '7WYInOi',\n            '7098471AkkixW',\n            'css',\n            '6372090EjRBpR',\n            '2365302gPRvCT',\n            '37FjCjui',\n            'bubble',\n            '2004776VdtrvE',\n            'html',\n            '11qBDLHY',\n            '121908BRgSad',\n            '40RywJdI',\n            '1157872zpORwQ'\n        ];\n        _0x1ed0 = function () {\n            return _0x48bb5c;\n        };\n        return _0x1ed0();\n    }\n    preview(instance, properties);\n}"}},"platform_type":"web"}}};
248window._bubble_page_load_data.plugins_size['1497902469413x534380653819985900'] = 33428;
249window.preloaded['plugin/third_party:1497902469413x534380653819985900:1.43.0'] = true;
250window.plugins["1515542335452x628730204959539200"] = {"human":"Search & Autocorrect","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAJ":{"display":"Search & Autocorrect","property_applications":{"MinWidth":false,"resizable":true},"add_is_visible":true,"has_reset_fn":false,"can_fit_width":true,"can_fit_height":true,"fields":{"AAL":{"caption":"Data Type","editor":"custom_type","name":"app_data","rank":0},"AAM":{"caption":"Field To Search 1","editor":"custom_field_AAL","name":"search_field","rank":2},"AAN":{"caption":"Data Source","editor":"DynamicValue","is_list":true,"name":"data_source","rank":1,"value":"custom_data_AAL"},"AAP":{"caption":"Text To Match","editor":"DynamicValue","name":"string_to_match","optional":true,"rank":7,"value":"text"},"AAS":{"caption":"___ Options ___","editor":"Label","name":"options","rank":11},"AAT":{"caption":"Threshold","default_val":0.6,"editor":"StaticNumber","name":"threshold","rank":12},"AAU":{"caption":"A threshold of 0.0 requires a perfect match (of both letters and location), a threshold of 1.0 would match anything.","editor":"Label","name":"threshold_info","rank":13},"AAV":{"caption":"Case Sensitive","default_val":false,"editor":"Checkbox","name":"case_sensitive","rank":14},"ABM":{"caption":"___ Advanced Options ___","editor":"Label","name":"advanced_options","rank":15},"ABN":{"caption":"Tokenize","default_val":false,"editor":"Checkbox","name":"tokenize","rank":16},"ABP":{"caption":"Match All Tokens","default_val":false,"editor":"Checkbox","name":"match_all_tokens","rank":17},"ABR":{"caption":"Find All Matches","default_val":true,"editor":"Checkbox","name":"find_all_matches","rank":18},"ABS":{"caption":"Location","default_val":0,"editor":"StaticNumber","name":"location","rank":19},"ABT":{"caption":"Distance","default_val":100,"editor":"StaticNumber","name":"distance","rank":20},"ABU":{"caption":"Max Pattern Length","default_val":32,"editor":"StaticNumber","name":"match_pattern_length","rank":21},"ABW":{"caption":"Field To Search 2","editor":"custom_field_AAL","name":"search_field_2","optional":true,"rank":3},"ABY":{"caption":"Field To Search 3","editor":"custom_field_AAL","name":"search_field_3","optional":true,"rank":4},"ABZ":{"caption":"Field To Search 4","editor":"custom_field_AAL","name":"search_field_4","optional":true,"rank":5},"ABa":{"caption":"OR Set Text to Match from an Input Box","default_val":false,"editor":"Checkbox","name":"search_type","rank":8},"ABb":{"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.","editor":"Label","name":"search_type_info","rank":9},"ABc":{"caption":"Field To Search 5","editor":"custom_field_AAL","name":"search_field_5","optional":true,"rank":6},"ABd":{"caption":"Input Box ID","editor":"DynamicValue","name":"input_box_id","optional":false,"rank":10,"value":"text","default_val":""},"ABf":{"caption":"Exclude Terms Shorter Than","name":"exclude_under","rank":22,"editor":"StaticNumber","default_val":2},"ABk":{"caption":"Ignore Accents / Diacritics","name":"ignore_diacritics","rank":23,"editor":"Checkbox","default_val":true}},"states":{"ABK":{"caption":"Matches","is_list":true,"name":"match_array","value":"custom_data_AAL"},"ABL":{"caption":"Match Scores","is_list":true,"name":"match_scores_array","value":"number"},"ABi":{"caption":"Input Box's Value","name":"input_box_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"ABg":{"caption":"Reset input","code":{"fn":"function(instance,properties,context){function _0x6e9d(_0xc830d6,_0x4e90a5){var _0x22f255=_0x22f2();return(_0x6e9d=function(_0x6e9db7,_0x488234){var _0x5c8a94;return _0x22f255[_0x6e9db7-=375]})(_0xc830d6,_0x4e90a5)}
250function _0x22f2(){var _0x282e6c=[\"61521guDDNt\",\"10263hJFygL\",\"4918390GDFOAo\",\"7wswTnl\",\"20809728lisTJQ\",\"510VzBFHo\",\"val\",\"56LtEjuu\",\"60uVCsyp\",\"input_box_id\",\"73422UMkCQf\",\"match_scores_array\",\"8722TIGIVh\",\"180724dimVlq\",\"data\",\"input_box_value\",\"7330CGezMg\",\"publishState\"];return(_0x22f2=function(){return _0x282e6c})()}function run(_0x1bca52,_0x56246b,_0x387542){var _0x1a2d12=_0x6e9d;_0x1bca52.data[_0x1a2d12(379)]&&($(\"#\"+_0x1bca52[_0x1a2d12(384)][_0x1a2d12(379)])[_0x1a2d12(376)](\"\"),_0x1bca52[_0x1a2d12(387)](\"match_array\",null),_0x1bca52.publishState(_0x1a2d12(381),null),_0x1bca52[_0x1a2d12(387)](_0x1a2d12(385),null))}!function(_0x1105e4,_0x151cc5){for(var _0x1b2dd8=_0x6e9d,_0x38d1b4=_0x1105e4();;)try{var _0x95a459;if(543020===parseInt(_0x1b2dd8(391))/1*(-parseInt(_0x1b2dd8(383))/2)+parseInt(_0x1b2dd8(388))/3*(-parseInt(_0x1b2dd8(378))/4)+-parseInt(_0x1b2dd8(390))/5+-parseInt(_0x1b2dd8(375))/6*(-parseInt(_0x1b2dd8(382))/7)+-parseInt(_0x1b2dd8(377))/8*(parseInt(_0x1b2dd8(380))/9)+-parseInt(_0x1b2dd8(386))/10*(-parseInt(_0x1b2dd8(389))/11)+parseInt(_0x1b2dd8(392))/12)break;_0x38d1b4.push(_0x38d1b4.shift())}catch(_0x1bd5ea){_0x38d1b4.push(_0x38d1b4.shift())}}(_0x22f2,543020),run(instance,properties,context)}"},"fields":{"ABh":{"caption":"Note: Input box ID must be set in plugin properties for this to work, even if you're not using \"Set Text to Match from an Input Box\" feature.","name":"info","rank":0,"editor":"Label"}}}},"code":{"initialize":{"fn":"function(instance,context){var result;function getResults(){var resultsArray,scoresArray,resultThing;instance.publishState(\"match_array\",null),instance.publishState(\"match_scores_array\",null)}instance.data.removeSpecialCharacters=str=>str&&\"string\"==typeof str?str.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g,\"\"):\"\"}","add_debugger":false},"update":{"fn":"function(instance,properties,context){if(instance.data.data_source=properties.data_source,instance.data.string_to_match=properties.string_to_match,instance.data.dictionary=[],instance.data.input_box_id=properties.input_box_id,instance.data.exclude_under=properties.exclude_under,instance.data.search_type=properties.search_type,instance.data.ignore_diacritics=properties.ignore_diacritics,properties.data_source){var len=properties.data_source.length();instance.data.len=len}else console.log(\"Search & Autocorrect: Data source not defined\");var keys=[],result;function makearray(){for(i=0;i<len;i++){var current_object=properties.data_source.get(0,len)[i],value_pairs={id:i,word1:properties.ignore_diacritics?instance.data.removeSpecialCharacters(current_object.get(properties.search_field)):current_object.get(properties.search_field),word2:properties.search_field_2?current_object.get(properties.search_field_2):\"Empty\",word3:properties.search_field_3?current_object.get(properties.search_field_3):\"Empty\",word4:properties.search_field_4?current_object.get(properties.search_field_4):\"Empty\",word5:properties.search_field_5?current_object.get(properties.search_field_5):\"Empty\"};instance.data.dictionary.push(value_pairs)}}function getResults(){if(result&&result.length){var resultsArray=[],scoresArray=[];for(i=0;i<result.length;i++){var resultThing=instance.data.data_source.get(0,instance.data.len+1)[result[i].item.id];resultsArray.push(resultThing),scoresArray.push(result[i].score)}instance.publishState(\"match_array\",resultsArray),instance.publishState(\"match_scores_array\",scoresArray)}else instance.publishState(\"match_array\",null),instance.publishState(\"match_scores_array\",null)}if(properties.search_field&&keys.push(\"word1\"),properties.search_field_2&&keys.push(\"word2\"),properties.search_field_3&&keys.push(\"word3\"),properties.search_field_4&&keys.push(\"word4\"),properties.search_field_5&&keys.push(\"word5\"),properties.data_source&&makearray(),instance.data.options={shouldSort:!0,includeScore:!0,threshold:properties.threshold,caseSensitive:properties.case_sensitive,location:properties.location,distance:properties.distance,maxPatternLength:properties.match_pattern_length,tokenize:properties.tokenize,matchAllTokens:properties.match_all_tokens,findAllMatches:properties.find_all_matches,keys:keys},!properties.search_type&&properties.string_to_match){var searchTerm=properties.ignore_diacritics?instance.data.removeSpecialCharacters(properties.string_to_match.trim()):properties.string_to_match.trim();searchTerm=searchTerm.split(\" \").filter((function(str){var word=str.match(/(\\w+)/);return word&&word[0].length>=instance.data.exclude_under})).join(\" \");var fuse=new Fuse(instance.data.dictionary,instance.data.options);result=fuse.search(searchTerm),getResults()}else properties.search_type||properties.string_to_match||(instance.publishState(\"match_array\",null),instance.publishState(\"match_scores_array\",null));$(document).ready((function(){instance.data.input_box_id&&instance.data.search_type&&$(\"#\"+instance.data.input_box_id).on(\"input\",(function(){let inputValue=$(this).val();if(instance.publishState(\"input_box_value\",inputValue),instance.data.dictionary&&instance.data.options){let searchTerm=inputValue?inputValue.trim():\"\";if(instance.data.ignore_diacritics&&(searchTerm=instance.data.removeSpecialCharacters(searchTerm)),searchTerm){let words=searchTerm.split(\" \");if(words=words.filter((function(str){return str.length>=instance.data.exclude_under})),searchTerm=words.join(\" \"),searchTerm){var fuse=new Fuse(instance.data.dictionary,instance.data.options);result=fuse.search(searchTerm)}else result=[]}else result=[];getResults()}else console.log(\"Search & Autocorrect: Instance variables not declared\")}))}))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":""}},"platform_type":"web"}}};
251window._bubble_page_load_data.plugins_size['1515542335452x628730204959539200'] = 9503;
252window.preloaded['plugin/third_party:1515542335452x628730204959539200:1.22.0'] = true;
253window.plugins["1519170218471x969128757943861200"] = {"human":"ViaCEP","dependencies":{"use_jquery":false,"plugin_api_version":"4"},"plugin_api":{"human":"ViaCEP","calls":{"AAC":{"name":"get CEP info - data","method":"get","publish_as":"data","url":"https://viacep.com.br/ws/[cep]/json/","url_params":{"AAD":{"key":"cep","value":"01001000","private":true}},"initialized":true,"types":"{\"plugin_api.AAC\":{\"caption\":\"get CEP info - data\",\"fields\":{\"_p_cep\":{\"ret_value\":\"text\",\"caption\":\"cep\",\"sample_value\":\"01001-000\"},\"_p_logradouro\":{\"ret_value\":\"text\",\"caption\":\"logradouro\",\"sample_value\":\"Praça da Sé\"},\"_p_complemento\":{\"ret_value\":\"text\",\"caption\":\"complemento\",\"sample_value\":\"lado ímpar\"},\"_p_bairro\":{\"ret_value\":\"text\",\"caption\":\"bairro\",\"sample_value\":\"Sé\"},\"_p_localidade\":{\"ret_value\":\"text\",\"caption\":\"localidade\",\"sample_value\":\"São Paulo\"},\"_p_uf\":{\"ret_value\":\"text\",\"caption\":\"uf\",\"sample_value\":\"SP\"},\"_p_ibge\":{\"ret_value\":\"text\",\"caption\":\"ibge\",\"sample_value\":\"3550308\"},\"_p_gia\":{\"ret_value\":\"text\",\"caption\":\"gia\",\"sample_value\":\"1004\"},\"_p_ddd\":{\"ret_value\":\"text\",\"caption\":\"ddd\",\"sample_value\":\"11\"},\"_p_siafi\":{\"ret_value\":\"text\",\"caption\":\"siafi\",\"sample_value\":\"7107\"}}}}","ret_value":"api.1519170218471x969128757943861200.plugin_api.AAC","should_reinitialize":false},"AAE":{"name":"get CEP info - action","method":"get","publish_as":"action","url":"https://viacep.com.br/ws/[cep]/json/","url_params":{"AAF":{"key":"cep","value":"","private":true}},"initialized":true,"types":"{\"plugin_api.AAE\":{\"caption\":\"get CEP info - action\",\"fields\":{\"_p_cep\":{\"ret_value\":\"text\",\"caption\":\"cep\",\"sample_value\":\"01001-000\"},\"_p_logradouro\":{\"ret_value\":\"text\",\"caption\":\"logradouro\",\"sample_value\":\"Praça da Sé\"},\"_p_complemento\":{\"ret_value\":\"text\",\"caption\":\"complemento\",\"sample_value\":\"lado ímpar\"},\"_p_bairro\":{\"ret_value\":\"text\",\"caption\":\"bairro\",\"sample_value\":\"Sé\"},\"_p_localidade\":{\"ret_value\":\"text\",\"caption\":\"localidade\",\"sample_value\":\"São Paulo\"},\"_p_uf\":{\"ret_value\":\"text\",\"caption\":\"uf\",\"sample_value\":\"SP\"},\"_p_ibge\":{\"ret_value\":\"text\",\"caption\":\"ibge\",\"sample_value\":\"3550308\"},\"_p_gia\":{\"ret_value\":\"text\",\"caption\":\"gia\",\"sample_value\":\"1004\"},\"_p_ddd\":{\"ret_value\":\"text\",\"caption\":\"ddd\",\"sample_value\":\"11\"},\"_p_siafi\":{\"ret_value\":\"text\",\"caption\":\"siafi\",\"sample_value\":\"7107\"}}}}","ret_value":"api.1519170218471x969128757943861200.plugin_api.AAE","should_reinitialize":true},"AAG":{"name":"get CEP from info","method":"get","publish_as":"data","url":"https://viacep.com.br/ws/[uf]/[localidade]/[logradouro]/json/","url_params":{"AAH":{"key":"uf","value":"RS","private":true,"doc":"Sigla do estado. SP, RS, RJ, etc."},"AAS":{"key":"localidade","value":"Porto Alegre","private":true,"doc":"Cidade"},"AAT":{"key":"logradouro","value":"Domingos Jose","private":true,"doc":"Rua, avenida, etc.."}},"initialized":true,"types":"{\"plugin_api.AAG\":{\"caption\":\"get CEP from info\",\"fields\":{\"_p_cep\":{\"ret_value\":\"text\",\"caption\":\"cep\",\"sample_value\":\"91790-072\"},\"_p_logradouro\":{\"ret_value\":\"text\",\"caption\":\"logradouro\",\"sample_value\":\"Rua Domingos José Poli\"},\"_p_complemento\":{\"ret_value\":\"text\",\"caption\":\"complemento\",\"sample_value\":\"\"},\"_p_bairro\":{\"ret_value\":\"text\",\"caption\":\"bairro\",\"sample_value\":\"Restinga\"},\"_p_localidade\":{\"ret_value\":\"text\",\"caption\":\"localidade\",\"sample_value\":\"Porto Alegre\"},\"_p_uf\":{\"ret_value\":\"text\",\"caption\":\"uf\",\"sample_value\":\"RS\"},\"_p_ibge\":{\"ret_value\":\"text\",\"caption\":\"ibge\",\"sample_value\":\"4314902\"},\"_p_gia\":{\"ret_value\":\"text\",\"caption\":\"gia\",\"sample_value\":\"\"},\"_p_ddd\":{\"ret_value\":\"text\",\"caption\":\"ddd\",\"sample_value\":\"51\"},\"_p_siafi\":{\"ret_value\":\"text\",\"caption\":\"siafi\",\"sample_value\":\"8801\"}}}}","is_list":true,"ret_value":"api.1519170218471x969128757943861200.plugin_api.AAG","should_reinitialize":false}}}};
254window._bubble_page_load_data.plugins_size['1519170218471x969128757943861200'] = 4194;
255window.preloaded['plugin/third_party:1519170218471x969128757943861200:1.4.1'] = true;
256window.plugins["1531310660066x700901076712292400"] = {"human":"Reveal & Hide Password","dependencies":{"use_jquery":true},"plugin_elements":{"AAH":{"display":"Reveal","property_applications":{"MinWidth":true,"resizable":false},"add_is_visible":true,"states":{"AAS":{"caption":"Toggle visible","initialization_code":{"fn":"function(properties,context){}"},"name":"toggle","value":"boolean"}},"actions":{"AAK":{"caption":"Toggle","fields":{"AAN":{"caption":"id","editor":"DynamicValue","name":"idtoggle","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x233a(_0x83e7f8,_0x481e63){var _0x36b065=_0x36b0();return(_0x233a=function(_0x233ac0,_0x30c321){var _0x179d0c;return _0x36b065[_0x233ac0-=231]})(_0x83e7f8,_0x481e63)}function _0x36b0(){var _0x3ed4f8=[\"idtoggle\",\"6Stmxyo\",\"9551574cJxuMU\",\"1NdDvov\",\"602098PKUuYP\",\"publishState\",\"12711952MPDKww\",\"17361420xjTEFU\",\"togglePassword\",\"toggle\",\"986672XNTBqR\",\"5148025ilLDtq\",\"6RqsWtF\",\"6026727yTpNPT\"];return(_0x36b0=function(){return _0x3ed4f8})()}function run(_0x44dfbc,_0x2fd4c1,_0x5efe29){var _0x3949e7=_0x233a;\"\"==_0x2fd4c1[_0x3949e7(243)]||($(\"#\"+_0x2fd4c1[_0x3949e7(243)])[_0x3949e7(237)](),$(\"#\"+_0x2fd4c1[_0x3949e7(243)]).is(\":text\")?_0x44dfbc[_0x3949e7(234)](_0x3949e7(238),\"yes\"):_0x44dfbc[_0x3949e7(234)](_0x3949e7(238),\"no\"))}!function(_0x2d770a,_0x6475b9){for(var _0x458e8c=_0x233a,_0x5c9ade=_0x2d770a();;)try{var _0x643c30;if(937781===-parseInt(_0x458e8c(232))/1*(parseInt(_0x458e8c(233))/2)+-parseInt(_0x458e8c(241))/3*(-parseInt(_0x458e8c(239))/4)+parseInt(_0x458e8c(240))/5*(-parseInt(_0x458e8c(244))/6)+parseInt(_0x458e8c(242))/7+parseInt(_0x458e8c(235))/8+parseInt(_0x458e8c(231))/9+-parseInt(_0x458e8c(236))/10)break;_0x5c9ade.push(_0x5c9ade.shift())}catch(_0x3b1dc2){_0x5c9ade.push(_0x5c9ade.shift())}}(_0x36b0,937781),run(instance,properties,context)}"}}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
257window._bubble_page_load_data.plugins_size['1531310660066x700901076712292400'] = 2038;
258window.preloaded['plugin/third_party:1531310660066x700901076712292400:1.17.0'] = true;
259window.plugins["1538757306984x523047615090917400"] = {"human":"Google Maps - Geocoding","dependencies":{"use_jquery":true},"plugin_api":{"human":"Google Maps - Geocoding","calls":{"AAD":{"name":"Get Geocoded address from text","method":"get","publish_as":"data","url":"https://maps.googleapis.com/ma
259ps/api/geocode/json?address=[Adresse]&key=[Key]","url_params":{"AAF":{"key":"Adresse","value":"1600+Amphitheatre+Parkway,+Mountain+View,+CA","private":true,"doc":"The text address should not contain any space. Use the \":formatted as\" function and select \"URL encoded\" and check \"Replace spaces by +\"."},"AAJ":{"key":"Key","private":true,"visibility":"secret","doc":""}},"initialized":true,"types":"{\"plugin_api.AAD\":{\"caption\":\"Get Geocoded address from text\",\"fields\":{\"_p_results\":{\"ret_value\":\"list.api.1538757306984x523047615090917400.plugin_api.AAD.results\",\"caption\":\"results\"},\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\"}}},\"plugin_api.AAD.results\":{\"caption\":\"Get Geocoded address from text result\",\"fields\":{\"_p_address_components\":{\"ret_value\":\"list.api.1538757306984x523047615090917400.plugin_api.AAD.address_components\",\"caption\":\"address_components\"},\"_p_formatted_address\":{\"ret_value\":\"text\",\"caption\":\"formatted_address\"},\"_p_geometry.location.lat\":{\"ret_value\":\"number\",\"caption\":\"geometry location lat\",\"path\":[\"geometry\",\"location\",\"lat\"]},\"_p_geometry.location.lng\":{\"ret_value\":\"number\",\"caption\":\"geometry location lng\",\"path\":[\"geometry\",\"location\",\"lng\"]},\"_p_geometry.location_type\":{\"ret_value\":\"text\",\"caption\":\"geometry location_type\",\"path\":[\"geometry\",\"location_type\"]},\"_p_geometry.viewport.northeast.lat\":{\"ret_value\":\"number\",\"caption\":\"geometry viewport northeast lat\",\"path\":[\"geometry\",\"viewport\",\"northeast\",\"lat\"]},\"_p_geometry.viewport.northeast.lng\":{\"ret_value\":\"number\",\"caption\":\"geometry viewport northeast lng\",\"path\":[\"geometry\",\"viewport\",\"northeast\",\"lng\"]},\"_p_geometry.viewport.southwest.lat\":{\"ret_value\":\"number\",\"caption\":\"geometry viewport southwest lat\",\"path\":[\"geometry\",\"viewport\",\"southwest\",\"lat\"]},\"_p_geometry.viewport.southwest.lng\":{\"ret_value\":\"number\",\"caption\":\"geometry viewport southwest lng\",\"path\":[\"geometry\",\"viewport\",\"southwest\",\"lng\"]},\"_p_place_id\":{\"ret_value\":\"text\",\"caption\":\"place_id\"},\"_p_plus_code.compound_code\":{\"ret_value\":\"text\",\"caption\":\"plus_code compound_code\",\"path\":[\"plus_code\",\"compound_code\"]},\"_p_plus_code.global_code\":{\"ret_value\":\"text\",\"caption\":\"plus_code global_code\",\"path\":[\"plus_code\",\"global_code\"]},\"_p_types\":{\"ret_value\":\"list.text\",\"caption\":\"types\"}}},\"plugin_api.AAD.address_components\":{\"caption\":\"Get Geocoded address from text address_component\",\"fields\":{\"_p_long_name\":{\"ret_value\":\"text\",\"caption\":\"long_name\"},\"_p_short_name\":{\"ret_value\":\"text\",\"caption\":\"short_name\"},\"_p_types\":{\"ret_value\":\"list.text\",\"caption\":\"types\"}}}}","ret_value":"api.1538757306984x523047615090917400.plugin_api.AAD"}}}};
260window._bubble_page_load_data.plugins_size['1538757306984x523047615090917400'] = 3156;
261window.preloaded['plugin/third_party:1538757306984x523047615090917400:1.0.1'] = true;
262window.plugins["1553006094610x835866904531566600"] = {"human":"Fuzzy search & Autocomplete","dependencies":{"use_jquery":true},"plugin_elements":{"AAC":{"display":"Fuzzy search & Autocomplete","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Data Type","name":"app_data","rank":0,"editor":"custom_type"},"AAE":{"caption":"Data Source","name":"data_source","rank":1,"editor":"DynamicValue","is_list":true,"value":"custom_data_AAD"},"AAF":{"caption":"Field To Search 1","name":"search_field","rank":2,"editor":"custom_field_AAD","optional":false},"AAG":{"caption":"Field To Search 2","name":"search_field_2","rank":3,"editor":"custom_field_AAD","optional":true},"AAH":{"caption":"Field To Search 3","name":"search_field_3","rank":4,"editor":"custom_field_AAD","optional":true},"AAI":{"caption":"Field To Search 4","name":"search_field_4","rank":5,"editor":"custom_field_AAD","optional":true},"AAJ":{"caption":"Field To Search 5","name":"search_field_5","rank":6,"editor":"custom_field_AAD","optional":true},"AAK":{"caption":"Text To Match","name":"string_to_match","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AAL":{"caption":"OR Set Text to Match from an Input Box","name":"search_type","rank":8,"editor":"Checkbox","default_val":false},"AAM":{"caption":"Check for fast updates from an Input Box value. Make sure you set the Input Box ID value below. See documentation for more info.","name":"search_type_info","rank":9,"editor":"Label"},"AAN":{"caption":"Input Box ID","name":"input_box_id","rank":10,"editor":"DynamicValue","optional":true,"value":"text"},"AAO":{"caption":"___ Options ___","name":"options","rank":11,"editor":"Label"},"AAP":{"caption":"Threshold","name":"threshold","rank":12,"editor":"StaticNumber","default_val":0.6},"AAQ":{"caption":"A threshold of 0.0 requires a perfect match (of both letters and location), a threshold of 1.0 would match anything.","name":"threshold_info","rank":13,"editor":"Label"},"AAR":{"caption":"Case Sensitive","name":"case_sensitive","rank":14,"editor":"Checkbox","default_val":false},"AAS":{"caption":"___ Advanced Options ___","name":"advanced_options","rank":15,"editor":"Label"},"AAV":{"caption":"Find All Matches","name":"find_all_matches","rank":16,"editor":"Checkbox","default_val":true},"AAW":{"caption":"Location","name":"location","rank":17,"editor":"StaticNumber","default_val":0},"AAX":{"caption":"Distance","name":"distance","rank":18,"editor":"StaticNumber","default_val":100},"AAZ":{"caption":"Exclude Terms Shorter Than","name":"exclude_under","rank":19,"editor":"StaticNumber","default_val":2}},"states":{"AAa":{"caption":"Matches","name":"match_array","value":"custom_data_AAD","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAb":{"caption":"Match Scores","name":"match_scores_array","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAc":{"caption":"Input Box's Value","name":"input_box_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAd":{"caption":"Reset input","code":{"fn":"function(instance,properties,context){instance.data.input_box_id&&
262($(\"#\"+instance.data.input_box_id).val(\"\"),instance.publishState(\"match_array\",null),instance.publishState(\"match_scores_array\",null),instance.publishState(\"input_box_value\",null))}"}}},"code":{"initialize":{"fn":"function(instance,context){function _0x1746(_0x3c82a4,_0x23d1a4){var _0xca773a=_0xca77();return(_0x1746=function(_0x174668,_0x33600b){var _0x111725;return _0xca773a[_0x174668-=201]})(_0x3c82a4,_0x23d1a4)}function _0xca77(){var _0x6cfc1f=[\"resultSearch\",\"322lNHwee\",\"211799Axycof\",\"298nUlWbC\",\"input_box_id\",\"23346xKIPRn\",\"123NRPbXL\",\"Search & Autocorrect: Instance variables not declared\",\"data_source\",\"match\",\"result\",\"input_box_value\",\"push\",\"2711137YdMwIJ\",\"publishState\",\"1016NzFgqn\",\"1738595rHqJZf\",\"dictionary\",\"match_scores_array\",\"data\",\"get\",\"score\",\"input\",\"getResults\",\"options\",\"val\",\"item\",\"6tmDMHh\",\"newID\",\"filter\",\"length\",\"join\",\"3704sOaGeV\",\"ready\",\"log\",\"search_type\",\"163240ttwsqK\"];return(_0xca77=function(){return _0x6cfc1f})()}function initialize(_0x46dd11,_0x184ee1){var _0x5734c7=_0x1746;_0x46dd11.data.resultSearch=[],_0x46dd11[_0x5734c7(216)][_0x5734c7(207)]=\"\",_0x46dd11[_0x5734c7(216)].initialSource=async function(){var _0x504da4=_0x5734c7;try{_0x46dd11[_0x504da4(216)].resultSearch=await _0x46dd11[_0x504da4(216)][_0x504da4(205)][_0x504da4(217)](0,_0x46dd11[_0x504da4(216)][_0x504da4(205)][_0x504da4(227)]()+1),console[_0x504da4(231)](\"The database is loaded!\")}catch(_0x4eda3b){console[_0x504da4(231)](\"The database is not loaded!\")}},_0x46dd11[_0x5734c7(216)][_0x5734c7(220)]=function _0x1bf1c6(){var _0x4a18ea=_0x5734c7;if(_0x46dd11[_0x4a18ea(216)][_0x4a18ea(207)]&&_0x46dd11[_0x4a18ea(216)][_0x4a18ea(207)].length){var _0x133547=[],_0x3cfe7b=[];for(i=0;i<_0x46dd11.data[_0x4a18ea(207)][_0x4a18ea(227)];i++){var _0x534724=_0x46dd11[_0x4a18ea(216)][_0x4a18ea(234)][_0x46dd11[_0x4a18ea(216)][_0x4a18ea(207)][i][_0x4a18ea(223)].id];_0x133547[_0x4a18ea(209)](_0x534724),_0x3cfe7b[_0x4a18ea(209)](_0x46dd11[_0x4a18ea(216)][_0x4a18ea(207)][i][_0x4a18ea(218)])}_0x46dd11[_0x4a18ea(211)](\"match_array\",_0x133547),_0x46dd11.publishState(\"match_scores_array\",_0x3cfe7b)}else _0x46dd11[_0x4a18ea(211)](\"match_array\",null),_0x46dd11.publishState(_0x4a18ea(215),null)},_0x46dd11[_0x5734c7(216)][_0x5734c7(225)]=function(_0x20e38e){var _0x2f72e0=_0x5734c7;_0x46dd11[_0x2f72e0(216)][_0x2f72e0(201)]&&_0x46dd11[_0x2f72e0(216)][_0x2f72e0(232)]&&$(\"#\"+_0x20e38e).on(_0x2f72e0(219),null,null,(function(){var _0x89c9d3=_0x2f72e0;if(_0x46dd11.data.dictionary&&_0x46dd11[_0x89c9d3(216)][_0x89c9d3(221)]){var _0x482147=$(\"#\"+_0x46dd11[_0x89c9d3(216)][_0x89c9d3(201)])[_0x89c9d3(222)]().trim();_0x482147=_0x482147.split(\" \")[_0x89c9d3(226)]((function(_0x33e502){var _0x1742c9=_0x89c9d3;let _0x2a0bbc=/[\\u0000-\\u007f\\u0080-\\u00ff\\u0100-\\u0180\\u024f\\u017f\\u0400-\\u04ff\\u3040-\\u30ff\\u3400-\\u4dbf\\u4e00-\\u9fff\\uf900-\\ufa2d\\uff66-\\uff9f\\u3131-\\uD79D\\u0590-\\u05ff\\u0600–\\u06ff\\u10A0-\\u10ff\\u0530-\\u058f\\u0750-\\u07ff\\u08a0-\\u08ff\\ufa30-\\ufa6a\\ufa70-\\ufad9\\ufb50-\\ufdff\\ufe70-\\ufeff\\u10e60-\\u10e7f\\u1ec70-\\u1ecbf\\u1ed00-\\u1ed4f\\u1ee00-\\u1eeff\\u20000-\\u2a6d6\\u2f800-\\u2fa1d]+/;var _0x21f014=_0x33e502[_0x1742c9(206)](_0x2a0bbc);return _0x21f014&&_0x21f014[0][_0x1742c9(227)]>=_0x46dd11[_0x1742c9(216)].exclude_under}))[_0x89c9d3(228)](\" \");var _0x187ec2=new Fuse(_0x46dd11[_0x89c9d3(216)][_0x89c9d3(214)],_0x46dd11.data[_0x89c9d3(221)]);_0x46dd11.data.result=_0x187ec2.search(_0x482147),_0x46dd11[_0x89c9d3(216)].getResults()}else console.log(_0x89c9d3(204));_0x46dd11.publishState(_0x89c9d3(208),$(\"#\"+_0x46dd11.data[_0x89c9d3(201)]).val())}))},$(document)[_0x5734c7(230)]((function(){var _0x137666=_0x5734c7;_0x46dd11[_0x137666(216)][_0x137666(225)](_0x46dd11[_0x137666(216)][_0x137666(201)])}))}!function(_0x352b1d,_0x24e74a){for(var _0x2ddf7d=_0x1746,_0x1f8e25=_0x352b1d();;)try{var _0xd54484;if(252131===parseInt(_0x2ddf7d(235))/1*(parseInt(_0x2ddf7d(237))/2)+-parseInt(_0x2ddf7d(203))/3*(parseInt(_0x2ddf7d(229))/4)+-parseInt(_0x2ddf7d(213))/5+parseInt(_0x2ddf7d(224))/6*(parseInt(_0x2ddf7d(236))/7)+parseInt(_0x2ddf7d(212))/8*(parseInt(_0x2ddf7d(202))/9)+-parseInt(_0x2ddf7d(233))/10+parseInt(_0x2ddf7d(210))/11)break;_0x1f8e25.push(_0x1f8e25.shift())}catch(_0x17a476){_0x1f8e25.push(_0x1f8e25.shift())}}(_0xca77,252131),initialize(instance,context)}","add_debugger":false},"update":{"fn":"function(instance,properties,context){function _0x1fe0(_0x99e0a1,_0x21a5ca){const _0x32e0d2=_0x32e0();return(_0x1fe0=function(_0x1fe0f6,_0x2a7d53){let _0x59887e;return _0x32e0d2[_0x1fe0f6-=399]})(_0x99e0a1,_0x21a5ca)}
262function update(_0x126c2b,_0x5d6392,_0x4baaa1){const _0x558e4e=_0x1fe0;_0x126c2b[_0x558e4e(422)].data_source=_0x5d6392[_0x558e4e(449)],_0x126c2b[_0x558e4e(422)].initialSource=async function(){const _0x2e6142=_0x558e4e;try{_0x126c2b[_0x2e6142(422)][_0x2e6142(408)]=await _0x126c2b.data[_0x2e6142(449)].get(0,_0x126c2b.data.data_source[_0x2e6142(425)]()+1)}catch(_0xfc3fa2){}},_0x126c2b.data[_0x558e4e(407)]=function _0x408198(){const _0x2134c6=_0x558e4e;if(_0x126c2b[_0x2134c6(422)][_0x2134c6(448)]=_0x5d6392.string_to_match,_0x126c2b[_0x2134c6(422)][_0x2134c6(402)]=[],_0x126c2b.data[_0x2134c6(428)]=_0x5d6392.input_box_id,_0x126c2b[_0x2134c6(422)][_0x2134c6(419)]=_0x5d6392[_0x2134c6(419)],_0x126c2b.data.search_type=_0x5d6392.search_type,_0x126c2b[_0x2134c6(422)][_0x2134c6(413)](_0x5d6392[_0x2134c6(428)]),_0x5d6392[_0x2134c6(449)]){var _0x17e537=_0x126c2b[_0x2134c6(422)][_0x2134c6(449)][_0x2134c6(425)]();_0x126c2b[_0x2134c6(422)].len=_0x17e537}else console[_0x2134c6(432)](\"Search & Autocorrect: Data source not defined\");var _0x367aa=[];if(_0x5d6392[_0x2134c6(426)]&&_0x367aa.push(_0x2134c6(412)),_0x5d6392[_0x2134c6(445)]&&_0x367aa[_0x2134c6(409)](_0x2134c6(415)),_0x5d6392[_0x2134c6(399)]&&_0x367aa.push(_0x2134c6(417)),_0x5d6392[_0x2134c6(416)]&&_0x367aa[_0x2134c6(409)](\"word4\"),_0x5d6392[_0x2134c6(435)]&&_0x367aa[_0x2134c6(409)](_0x2134c6(404)),_0x126c2b[_0x2134c6(422)].makearray=function _0x10fd14(){const _0x48f43c=_0x2134c6;for(let _0x45167b=0;_0x45167b<_0x17e537;_0x45167b++){let _0x353f7e=_0x126c2b[_0x48f43c(422)].data_source[_0x48f43c(423)](0,_0x17e537)[_0x45167b],_0x4dca04={id:_0x45167b,word1:_0x5d6392.search_field?_0x353f7e.get(_0x5d6392[_0x48f43c(426)]):_0x48f43c(450),word2:_0x5d6392[_0x48f43c(445)]?_0x353f7e[_0x48f43c(423)](_0x5d6392[_0x48f43c(445)]):_0x48f43c(450),word3:_0x5d6392[_0x48f43c(399)]?_0x353f7e[_0x48f43c(423)](_0x5d6392.search_field_3):_0x48f43c(450),word4:_0x5d6392[_0x48f43c(416)]?_0x353f7e[_0x48f43c(423)](_0x5d6392[_0x48f43c(416)]):_0x48f43c(450),word5:_0x5d6392.search_field_5?_0x353f7e[_0x48f43c(423)](_0x5d6392[_0x48f43c(435)]):_0x48f43c(450)};_0x126c2b[_0x48f43c(422)].dictionary[_0x48f43c(409)](_0x4dca04)}},_0x126c2b[_0x2134c6(422)].data_source&&_0x126c2b.data[_0x2134c6(441)](),_0x126c2b[_0x2134c6(422)][_0x2134c6(444)]={shouldSort:!0,includeScore:!0,threshold:_0x5d6392[_0x2134c6(446)],isCaseSensitive:_0x5d6392[_0x2134c6(410)],location:_0x5d6392.location,distance:_0x5d6392[_0x2134c6(437)],findAllMatches:_0x5d6392[_0x2134c6(420)],keys:_0x367aa,ignoreFieldNorm:!1},_0x126c2b[_0x2134c6(422)][_0x2134c6(406)]=function _0x3f72c3(){const _0x47bd78=_0x2134c6;if(_0x126c2b[_0x47bd78(422)][_0x47bd78(400)]&&_0x126c2b[_0x47bd78(422)].result.length){var _0x4a61a6=[],_0x4d656c=[];for(let _0x40fde1=0;_0x40fde1<_0x126c2b[_0x47bd78(422)][_0x47bd78(400)][_0x47bd78(425)];_0x40fde1++){let _0x171b2a=_0x126c2b[_0x47bd78(422)][_0x47bd78(408)][_0x126c2b[_0x47bd78(422)].result[_0x40fde1][_0x47bd78(427)].id];_0x4a61a6[_0x47bd78(409)](_0x171b2a),_0x4d656c[_0x47bd78(409)](_0x126c2b[_0x47bd78(422)][_0x47bd78(400)][_0x40fde1][_0x47bd78(447)])}_0x126c2b[_0x47bd78(430)](_0x47bd78(421),_0x4a61a6),_0x126c2b[_0x47bd78(430)](\"match_scores_array\",_0x4d656c)}else _0x126c2b[_0x47bd78(430)](_0x47bd78(421),null),_0x126c2b.publishState(_0x47bd78(443),null)},!_0x5d6392[_0x2134c6(424)]&&_0x5d6392[_0x2134c6(448)]){var _0x32cb13=_0x5d6392[_0x2134c6(448)].trim();_0x32cb13=_0x32cb13[_0x2134c6(439)](\" \")[_0x2134c6(442)]((function(_0x23ba6f){const _0x58fcd5=_0x2134c6;let _0x1c6b29=/[\\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]+/,_0x589718=_0x23ba6f[_0x58fcd5(411)](_0x1c6b29);return _0x589718&&_0x589718[0][_0x58fcd5(425)]>=_0x126c2b[_0x58fcd5(422)][_0x58fcd5(419)]}))[_0x2134c6(440)](\" \");var _0xd7df89=new Fuse(_0x126c2b[_0x2134c6(422)][_0x2134c6(402)],_0x126c2b[_0x2134c6(422)][_0x2134c6(444)]);_0x126c2b[_0x2134c6(422)].result=_0xd7df89[_0x2134c6(418)](_0x32cb13),_0x126c2b[_0x2134c6(422)][_0x2134c6(406)]()}else!_0x5d6392.search_type&&!_0x5d6392.string_to_match&&(_0x126c2b[_0x2134c6(430)](_0x2134c6(421),null),_0x126c2b.publishState(_0x2134c6(443),null))},_0x126c2b[_0x558e4e(422)].initialSource().then((()=>{const _0x22ea6e=undefined;_0x126c2b[_0x558e4e(422)].loadFuzzy()}))[_0x558e4e(433)]((_0x429b4f=>{}))}function _0x32e0(){const _0x37d97d=[\"filter\",\"match_scores_array\",\"options\",\"search_field_2\",\"threshold\",\"score\",\"string_to_match\",\"data_source\",\"Empty\",\"1735401LWYgdE\",\"search_field_3\",\"result\",\"2wRQkhp\",\"dictionary\",\"5BrUIwf\",\"word5\",\"5879150eKoDFK\",\"getResults\",\"loadFuzzy\",\"resultSearch\",\"push\",\"case_sensitive\",\"match\",\"word1\",\"newID\",\"1149135QIgZjc\",\"word2\",\"search_field_4\",\"word3\",\"search\",\"exclude_under\",\"find_all_matches\",\"match_array\",\"data\",\"get\",\"search_type\",\"length\",\"search_field\",\"item\",\"
262input_box_id\",\"9192Codnus\",\"publishState\",\"39280TbwgiI\",\"log\",\"catch\",\"7525896CPnYKU\",\"search_field_5\",\"2797494CedUCD\",\"distance\",\"7137GinBVq\",\"split\",\"join\",\"makearray\"];return(_0x32e0=function(){return _0x37d97d})()}!function(_0x2d2f26,_0x47abbb){const _0x16e549=_0x1fe0,_0x320a8f=_0x2d2f26();for(;;)try{const _0x9ef0ce=undefined;if(622793===parseInt(_0x16e549(414))/1+-parseInt(_0x16e549(401))/2*(parseInt(_0x16e549(451))/3)+parseInt(_0x16e549(431))/4*(parseInt(_0x16e549(403))/5)+parseInt(_0x16e549(436))/6+parseInt(_0x16e549(434))/7+-parseInt(_0x16e549(429))/8*(parseInt(_0x16e549(438))/9)+-parseInt(_0x16e549(405))/10)break;_0x320a8f.push(_0x320a8f.shift())}catch(_0x1c662){_0x320a8f.push(_0x320a8f.shift())}}(_0x32e0,622793),update(instance,properties,context)}","add_debugger":false},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":""}},"platform_type":"web"}}};
263window._bubble_page_load_data.plugins_size['1553006094610x835866904531566600'] = 13981;
264window.preloaded['plugin/third_party:1553006094610x835866904531566600:1.36.0'] = true;
265window.plugins["1553183744528x903111989944909800"] = {"human":"Premium Charts Bundle - Chart JS","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Chart - Bar/Line/Area","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AAJ":{"caption":"X-Axis Values","default_val":"Mon, Tue, Wed, Thu, Fri","editor":"DynamicValue","is_list":false,"name":"xvalues","rank":3,"value":"text"},"AAK":{"caption":"Series 1 - y-values","default_val":"120, 260, 240, 310, 330","editor":"DynamicValue","name":"series1","rank":7,"value":"text","optional":false},"AAL":{"caption":"Series 2 - y-values","editor":"DynamicValue","is_list":false,"name":"series2","optional":true,"rank":10,"value":"text","default_val":"200, 210, 190, 240, 230"},"AAM":{"caption":"Series 3 - y-values","editor":"DynamicValue","name":"series3","optional":true,"rank":13,"value":"text","default_val":""},"AAN":{"caption":"Series 1 - color","default_val":"rgba(0, 162, 255, 1)","editor":"Color","name":"series1color","rank":6},"AAO":{"caption":"Series 1 - name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":5,"value":"text","optional":true},"AAP":{"caption":"Chart Type","default_val":"Bar","editor":"Dropdown","name":"chartType","rank":0},"AAQ":{"caption":"Series 2 - name","default_val":"Series 2","editor":"DynamicValue","name":"series2name","rank":8,"value":"text","optional":true},"AAR":{"caption":"Series 2 - color","default_val":"rgba(235, 235, 235, 1)","editor":"Color","name":"series2color","rank":9},"AAY":{"caption":"Series 3 - name","default_val":"Series 3","editor":"DynamicValue","name":"series3name","rank":11,"value":"text","optional":true},"AAZ":{"caption":"Series 3 color","default_val":"rgba(247, 183, 51, 1)","editor":"Color","name":"series3color","rank":12},"AAa":{"caption":"Y Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":38,"value":"text"},"AAb":{"caption":"Y Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":39,"value":"text"},"AAe":{"caption":"Y Axis - Max (Optional)","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":37,"value":"number"},"AAf":{"caption":"Y Axis - Min (Optional)","editor":"DynamicValue","name":"yMinNum","optional":true,"rank":36,"value":"number"},"AAj":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":25,"value":"text","default_val":"Top"},"ABC":{"caption":"Series 4 - name","default_val":"Series 4","editor":"DynamicValue","name":"series4name","optional":true,"rank":14,"value":"text"},"ABD":{"caption":"Series 4 color","default_val":"rgba(170, 102, 204, 1)","editor":"Color","name":"series4color","optional":true,"rank":15},"ABE":{"caption":"Series 4 - y-values","editor":"DynamicValue","name":"series4","optional":true,"rank":16,"value":"text"},"ABF":{"caption":"Series 5 - name","default_val":"Series 5","editor":"DynamicValue","name":"series5name","optional":true,"rank":17,"value":"text"},"ABG":{"caption":"Series 5 - color","default_val":"rgba(99, 99, 99, 1)","editor":"Color","name":"series5color","optional":true,"rank":18},"ABH":{"caption":"Series 5 - y-values","editor":"DynamicValue","name":"series5","optional":true,"rank":19,"value":"text"},"ABI":{"caption":"Show Data Labels?","default_val":false,"editor":"DynamicValue","name":"show_data_labels","rank":60,"value":"boolean"},"ABQ":{"caption":"Show Y Tick Labels?","name":"show_y_tick_labels","rank":41,"editor":"DynamicValue","value":"boolean","default_val":true},"ABR":{"caption":"Show X Tick Labels?","name":"show_x_tick_labels","rank":40,"editor":"DynamicValue","value":"boolean","default_val":true},"ACE":{"caption":"------------------- Axis and Gridline Settings -------------------","name":"axis_and_gridline_settings","rank":35,"editor":"Label"},"ACG":{"caption":"----------------------------- Chart Data -----------------------------","name":"-------------------_main_fields_-------------------","rank":1,"editor":"Label"},"ACH":{"caption":"X = Zero Line Width","name":"x_zero_line_width","rank":54,"editor":"DynamicValue","value":"number","default_val":1},"ACI":{"caption":"Y = Zero Line Width","name":"y_zero_line_width","rank":55,"editor":"DynamicValue","value":"number","default_val":1},"ACK":{"caption":"X = Zero Line Color","name":"x_zero_line_color","rank":56,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ACL":{"caption":"Y = Zero Line Color","name":"y_zero_line_color","rank":57,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ACM":{"caption":"Vert. Gridlines Color","name":"vert_gridlines_color","rank":51,"editor":"Color","default_val":"rgba(255, 255, 255, 0)"},"ACN":{"caption":"Horiz. Gridlines Color","name":"horiz_gridlines_color","rank":50,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ACW":{"caption":"Line Width","name":"border_width","rank":74,"editor":"DynamicValue","value":"number","default_val":3},"ACX":{"caption":"Line Curve","name":"curve_line_charts","rank":78,"editor":"DynamicValue","value":"number","default_val":0.3},"ACg":{"caption":"Unit Before the Label","name":"data_labels_unit_before","rank":65,"editor":"DynamicValue","value":"text","optional":true},"ACh":{"caption":"Unit After the Label","name":"data_labels_unit_after","rank":66,"editor":"DynamicValue","value":"text","optional":true},"ACi":{"caption":"Point Radius","name":"line_point_radius","rank":76,"editor":"DynamicValue","value":"number","default_val":5},"ACj":{"caption":"Thousands Separator","name":"thousands_separator","rank":31,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"ACz":{"caption":"Horiz. Dash Gridlines","name":"horizontal_dashed_gridlines","rank":52,"editor":"DynamicValue","value":"boolean","default_val":true}
265,"ADA":{"caption":"Vert. Dash Gridlines","name":"vertical_dashed_gridlines","rank":53,"editor":"DynamicValue","value":"boolean","default_val":false},"ADC":{"caption":"------------------------------ Data Labels ----------------------------","name":"---------------------------_data_labels_---------------------------","rank":59,"editor":"Label"},"ADD":{"caption":"Vertical Offset","name":"datalabel_offset","rank":64,"editor":"DynamicValue","value":"number","default_val":3},"ADE":{"caption":"Label Backgrnd Color","name":"datalabel_background_color","rank":67,"editor":"Color","default_val":"rgba(255, 255, 255, 0.32)","optional":false},"ADF":{"caption":"Font Color (Optional)","name":"datalabel_font_color","rank":70,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"ADG":{"caption":"Font Color Setting","name":"font_color_setting","rank":69,"editor":"Dropdown","default_val":"Default (Same as Series Color)"},"ADH":{"caption":"Anchor","name":"datalabel_anchor","rank":61,"editor":"Dropdown","default_val":"end"},"ADU":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":27,"editor":"DynamicValue","value":"text","optional":true},"ADb":{"caption":"Font Size","name":"datalabel_size","rank":71,"editor":"DynamicValue","value":"number","default_val":12},"AFw":{"caption":"Series 6 - name","name":"series6name","rank":20,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Series 6"},"AFx":{"caption":"Series 6 - color","name":"series6color","rank":21,"editor":"Color","default_val":"rgba(59, 227, 129, 1)","optional":true},"AFy":{"caption":"Series 6 - y-values","name":"series6","rank":22,"editor":"DynamicValue","value":"text","optional":true},"AGI":{"caption":"-------------------- Line/Area Chart Settings ---------------------","name":"---------------------------Line---------------------------","rank":73,"editor":"Label"},"AGJ":{"caption":"------------------------- Bar Chart Settings ------------------------","name":"-------------------------_barchart_settings_-------------------------","rank":81,"editor":"Label"},"AGK":{"caption":"Bar Width (Bar)","name":"bar_width","rank":82,"editor":"DynamicValue","value":"number","default_val":0.5},"AGO":{"caption":"Category Width (Bar)","name":"category_width","rank":85,"editor":"DynamicValue","value":"number","default_val":0.5},"AHw":{"caption":"Animation Duration","name":"animation_duration","rank":28,"editor":"DynamicValue","value":"number","default_val":1500},"AHx":{"caption":"Point Hover Radius","name":"point_hover_radius","rank":75,"editor":"DynamicValue","value":"number","default_val":12},"AHy":{"caption":"Point Border Width","name":"point_border_width","rank":77,"editor":"DynamicValue","value":"number","default_val":3},"AIR":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":44,"editor":"DynamicValue","value":"number","default_val":11},"AIS":{"caption":"Max X Ticks","name":"max_x_ticks","rank":43,"editor":"DynamicValue","value":"number","default_val":11},"AKc":{"caption":"Bar Width (px)","name":"bar_width_pixels","rank":83,"editor":"DynamicValue","value":"text","optional":true},"AKe":{"caption":"Chart Padding (px)","name":"chart_padding","rank":30,"editor":"DynamicValue","value":"number","default_val":10},"AKs":{"caption":"Bar Corner Radius","name":"bar_corner_radius","rank":84,"editor":"DynamicValue","value":"number","default_val":0},"AQQ":{"caption":"Y Axis - Tick Length","name":"tick_mark_length_y","rank":42,"editor":"DynamicValue","value":"number","default_val":"0"},"AQS":{"caption":"Label Border Color","name":"label_border_color","rank":68,"editor":"Color","default_val":"rgba(240, 240, 240, 0)"},"AQn":{"caption":"ℹ️ To customize Tick Label Font Family, scroll down to the bottom of this properties menu and change the standard Bubble font properties. Please avoid using “App Fonts” (in other words, please select the exact font you want to use from the font menu)","name":"to_customize_the_axis_tick_label_font_style,_color,_and_size,_edit_this_element's_font_style,_color,_size_as_you_would_for_a_text_element_(by_scrolling_down_to_the_bottom_of_this_menu_and_editing_the_standard_bubble_properties)","rank":49,"editor":"Label"},"ARA":{"caption":"Draggable Values?","name":"draggable_values","rank":33,"editor":"DynamicValue","value":"boolean","default_val":false},"ARB":{"caption":"Drag Data Rounded","name":"drag_data_round","rank":34,"editor":"DynamicValue","value":"number","default_val":2},"ARP":{"caption":"ℹ️ Add more series to the chart using the workflow action called \"Add/update a data series\"","name":"-----_(you_can_also_add_infinite_series_via_w
265orkflows)_-----","rank":23,"editor":"Label"},"AVf":{"caption":"Tick Label Color","name":"tick_label_color","rank":46,"editor":"Color","default_val":"rgba(174, 185, 194, 1)","in_style":true},"AVg":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":47,"editor":"DynamicValue","value":"number","default_val":12},"AWD":{"caption":"Span Gaps?","name":"span_gaps","rank":79,"editor":"DynamicValue","value":"boolean","default_val":false},"AWM":{"caption":"X Tick Label Rotation","name":"x_ticks_rotation","rank":45,"editor":"DynamicValue","value":"number","optional":true},"AWk":{"caption":"Hide Overlap'd Labels","name":"hide_datalabels_overlap","rank":62,"editor":"DynamicValue","value":"boolean","default_val":false},"AWr":{"caption":"Hide if Less Than","name":"hide_if_less_than","rank":63,"editor":"DynamicValue","value":"number","optional":true},"AWt":{"caption":"Decimal Place Char.","name":"decimal_place_character","rank":32,"editor":"DynamicValue","value":"text","default_val":"."},"AXn":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":24,"editor":"Label"},"AXo":{"caption":"ℹ️ Add series names, colors, and data values below.  Each data point should be separated by comma and space and can be dynamic (e.g. \"Do a Search for\")","name":"----------------------------_series_colors_----------------------------","rank":4,"editor":"Label"},"AXp":{"caption":"ℹ️ Enter you chart's X-Axis values (the X-Axis labels that will go from left to right) separated by comma and space (\", \").  Can be a dynamic expression.","name":"ℹ️_add_series_data_values_below.__each_data_point_should_be_separated_by_comma_and_space_(\",_\")._you_can_dynamically_search_your_bubble_database_to_get_these_comma-separated_lists_(\"do_a_search_for...\")","rank":2,"editor":"Label"},"AXr":{"caption":"⚠️ If data points get cut off near edges of the chart element, increase the Chart Padding below:","name":"if_your_data_points_are_getting_cut_off_near_the_edges_of_the_chart_element,_increase_this_number","rank":29,"editor":"Label"},"AXs":{"caption":"ℹ️ For extra styling options (Area gradient, point border color, point images), add the data series using the workflow action called \"Add/update a data series\"","name":"ℹ️_for_extra_styling_options_(area_gradient,_point_border_color,_point_images)_add_the_data_series_using_the_workflow_action_called_\"add/update_a_data_series\"","rank":80,"editor":"Label"},"AXt":{"caption":"ℹ️ For extra styling options (Bar gradient, different color bars in a single series), add the data series using the workflow action called \"Add/update a data series\"","name":"ℹ️_for_extra_styling_options_(area_gradient,_point_border_color,_point_images),_add_the_data_series_using_the_workflow_action_called_\"add/update_a_data_series\"","rank":93,"editor":"Label"},"AYM":{"caption":"yLabels Decimal Places","name":"y_labels_decimal_places","rank":58,"editor":"DynamicValue","value":"number","optional":true},"AZY":{"caption":"Label Font Weight","name":"datalabel_fontweight","rank":72,"editor":"Dropdown","default_val":" 400"},"AZc":{"caption":"Legend Color Style","name":"legend_color_style","rank":26,"editor":"Dropdown","default_val":"Circle"},"Asm":{"caption":"------------------ Chart and Axes Titles (BETA) -----------------","name":"chart_and_axes_titles","rank":94,"editor":"Label"},"Asn":{"caption":"Chart Title","name":"chart_title","rank":95,"editor":"DynamicValue","value":"text","optional":true},"Aso":{"caption":"Chart Title Font Size","name":"chart_title_font_size","rank":96,"editor":"DynamicValue","value":"number","optional":true,"default_val":16},"Asp":{"caption":"Chart Title Font Color","name":"chart_title_font_color","rank":97,"editor":"Color","default_val":"rgba(210,210,210,1)","optional":true},"Asq":{"caption":"X Axis Name","name":"x_axis_name","rank":98,"editor":"DynamicValue","value":"text","optional":true},"Asr":{"caption":"X Axis Name: Font Size","name":"x_axis_name_font_size","rank":99,"editor":"DynamicValue","value":"number","default_val":14,"optional":false},"Ass":{"caption":"X Axis Name: Font Color","name":"x_axis_name_font_color","rank":100,"editor":"Color","default_val":"rgba(210, 210, 210, 1)","optional":true},"Ast":{"caption":"Y Axis Name","name":"y_axis_name","rank":101,"editor":"DynamicValue","value":"text","optional":true},"Asu":{"caption":"Y Axis Name: Font Size","name":"y_axis_name:_font_size","rank":102,"editor":"DynamicValue","value":"number","default_val":14},"Asv":{"caption":"Y Axis Name: Font Color","name":"y_axis_name:_font_color","rank":103,"editor":"Color","default_val":"rgba(210, 210, 210, 1)","optional":true},"AtR":{"caption":"Series 1 - Border","name":"series_1_border","rank":87,"editor":"Color","optional":true},"AtS":{"caption":"Series 2 - Border","name":"series_2_border","rank":88,"editor":"Color","optional":true},"AtT":{"caption":"Series 3 - Border","name":"series_3_border","rank":89,"editor":"Color","optional":true},"AtU":{"caption":"Series 4 - Border","name":"series_4_border","rank":90,"editor":"Color","optional":true},"AtV":{"caption":"Series 5 - Border","name":"series_5_border","rank":91,"editor":"Color","optional":true},"AtW":{"caption":"Series 6 - Border","name":"series_6_border","rank":92,"editor":"Color","optional":true},"AtX":{"caption":"Bar Border Width","name":"bar_border_width","rank":86,"editor":"DynamicValue","value":"number","optional":false,"default_val":0},"AyH":{"caption":"Max # Char Per Line","name":"max_num_char_per_line","rank":48,"editor":"DynamicValue","value":"number","optional":true}},"states":{"AAv":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"text"},"ABU":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ABV":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADQ":{"caption":"Hovered Item X Value","name":"hovered_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADR":{"caption":"Hovered Item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ADS":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADV":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AFz":{"caption":"Clicked Item Series Color","name":"clicked_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AGB":{"caption":"Clicked Item All Series Values","name":"click_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AGC":{"caption":"Clicked Item All Series Colors","name":"clicked_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AGD":{"caption":"Clicked Item All Series Names","name":"clicked_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AGE":{"caption":"Hovered Item All Series Values","name":"hovered_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AGF":{"caption":"Hovered Item All Series Colors","name":"hovered_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AGG":{"caption":"Hovered Item All Series Names","name":"hovered_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AGH":{"caption":"Chart Loaded?","name":"chart_loaded","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}}
265,"AKq":{"caption":"Hovered Item X Index","name":"hovered_item_x_index","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AQv":{"caption":"Dragged Item Data Series Name","name":"dragged_item_data_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AQw":{"caption":"Dragged Item Index Number","name":"dragged_item_index_number","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AQx":{"caption":"Dragged Item - X Value","name":"dragged_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AQy":{"caption":"Dragged Value - Starting Value","name":"dragged_item_starting_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AQz":{"caption":"Dragged Value - Ending Value","name":"dragged_item_ending_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AWA":{"caption":"Dragged Item - All of this Series' Y Values","name":"dragged_item_all_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AWh":{"caption":"Currently Dragging Bar/Value","name":"currently_dragging","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ACn":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"ADT":{"caption":"Chart Value Hovered","name":"chart_value_hovered"},"AQu":{"caption":"Chart Value Dragged","name":"chart_value_dragged"}},"actions":{"ABr":{"caption":"Add/Update a Data Series","code":{"fn":"function(instance,properties,context){instance.publishState(\"chart_loaded\",!1);let numAttempts=0;function mainAddSeries(){if(numAttempts>15)return void console.log(\"The Chart you are trying to update is not visible on the page\");if(!instance.data.chart)return numAttempts++,void setTimeout(mainAddSeries,750);let customChartType=instance.data.chartType,backgroundColors,pointImage;function addSeries(){if(instance.data.createDataArray){let newSeries=instance.data.createDataArray(properties.yValues);instance.data.pushDataset(properties.series_name,newSeries,properties.series_color,customChartType,properties.point_color_line,properties.point_border_color_line,backgroundColors,pointImage,properties.chart_type,properties.bar_outline_color),instance.data.updateChartDatasets(),instance.data.chart.update()}else setTimeout(addSeries,1500)}if(properties.background_colors&&(backgroundColors=instance.data.createDataArray(properties.background_colors)),null!=properties.chart_type&&(properties.chart_type.toLowerCase()!=instance.data.chartType&&(customChartType=properties.chart_type.toLowerCase()),\"area\"==customChartType&&(customChartType=\"line\")),pointImage=properties.point_style,properties.use_image_as_point&&(pointImage=new Image(1,1),pointImage.src=properties.use_image_as_point,pointImage.onload=function(){var width=pointImage.naturalWidth,height=pointImage.naturalHeight;pointImage.width=width*properties.image_scale,pointImage.height=height*properties.image_scale}),addSeries(),\"Area\"==properties.chart_type||\"Area\"==instance.data.originalChartTypeMain||\"Bar\"==properties.chart_type||\"Bar\"==instance.data.originalChartTypeMain){let mycanvas;var chart_gradient=document.getElementById(instance.data.uniqueChartId).getContext(\"2d\").createLinearGradient(0,0,0,instance.data.height);(\"Area\"==properties.chart_type||\"Area\"==instance.data.originalChartTypeMain&&\"Bar\"!=properties.chart_type)&&(chart_gradient.addColorStop(0,properties.area_chart_start_color),chart_gradient.addColorStop(.5,properties.area_chart_middle_color),chart_gradient.addColorStop(1,properties.area_chart_end_color),instance.data.chart.data.datasets[instance.data.chart.data.datasets.length-1].backgroundColor=chart_gradient),(\"Bar\"==properties.chart_type&&!properties.background_colors||\"Bar\"==instance.data.originalChartTypeMain&&\"Area\"!=properties.chart_type&&!properties.background_colors)&&properties.bar_gradient&&(chart_gradient.addColorStop(0,properties.bar_gradient_start_color),chart_gradient.addColorStop(.6,properties.bar_gradient_middle_color),chart_gradient.addColorStop(1,properties.bar_gradient_end_color),instance.data.chart.data.datasets[instance.data.chart.data.datasets.length-1].backgroundColor=chart_gradient),instance.data.chart.update(
265)}}mainAddSeries(),instance.publishState(\"chart_loaded\",!0)}"},"fields":{"ABu":{"caption":"Series Name","name":"series_name","rank":1,"editor":"DynamicValue","value":"text"},"ABv":{"caption":"Series Color","name":"series_color","rank":4,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"ABw":{"caption":"Series Y Values","name":"yValues","rank":2,"editor":"DynamicValue","value":"text"},"ACP":{"caption":"Chart Type","name":"chart_type","rank":3,"editor":"Dropdown","optional":true},"AQo":{"caption":"Point Color","name":"point_color_line","rank":6,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","optional":true},"AQp":{"caption":"Point Border Color","name":"point_border_color_line","rank":7,"editor":"Color","default_val":"rgba(51, 181, 229, 1)","optional":true},"ARQ":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":0,"editor":"Label"},"ARR":{"caption":"-------------------- Line/Area Series Settings --------------------","name":"-------------------------_line_chart_settings_------------------------","rank":5,"editor":"Label"},"ARY":{"caption":"Multi-Colored Series (comma-separated hex codes)","name":"background_colors","rank":22,"editor":"DynamicValue","value":"text","optional":true},"ARZ":{"caption":"-------------------------- Bar Series Settings -----------------------","name":"--------------------------_bar_chart_settings_-----------------------","rank":16,"editor":"Label"},"AWG":{"caption":" ","name":"use_image_as_point","rank":13,"editor":"DynamicValue","value":"image","optional":true},"AWH":{"caption":"Image Point Scale","name":"image_scale","rank":14,"editor":"DynamicValue","value":"number","optional":false,"default_val":1},"AWP":{"caption":"Gradient Start Color","name":"area_chart_start_color","rank":8,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AWQ":{"caption":"Gradient End Color","name":"area_chart_end_color","rank":10,"editor":"Color","default_val":"rgba(51, 181, 229, 0)"},"AWR":{"caption":"Use Image as Point.  Below you can upload an image (or use dynamic one) to set the image instead of having a circle for line chart points","name":"use_image_as_point.__below_you_can_upload_an_image_(or_use_dynamic_one)_to_set_the_","rank":12,"editor":"Label"},"AWV":{"caption":" ","name":"_","rank":15,"editor":"Label"},"AWW":{"caption":"Gradient Middle Color","name":"area_chart_middle_color","rank":9,"editor":"Color","default_val":"rgba(51, 179, 230, 0.58)"},"AXg":{"caption":"The field below is optional: for multi-colored series (overrides colors set above)","name":"info","rank":21,"editor":"Label"},"AXh":{"caption":"Gradient Start Color","name":"bar_gradient_start_color","rank":18,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AXi":{"caption":"Gradient End Color","name":"bar_gradient_end_color","rank":20,"editor":"Color","default_val":"rgba(51,181,229,0.1)"},"AXj":{"caption":"Bar Gradient Middle Color","name":"bar_gradient_middle_color","rank":19,"editor":"Color","default_val":"rgba(51,179,230,0.5)"},"AXk":{"caption":"Bar Gradient?","name":"bar_gradient","rank":17,"editor":"Checkbox","default_val":false},"AYS":{"caption":"Point Style","name":"point_style","rank":11,"editor":"Dropdown","default_val":"circle"}}},"ABs":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.chart.data.datasets.find((element=>element.label==properties.data_series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update()}else console.log(\"The Chart you are trying to clear is not visible on the page\")}"},"fields":{"ABt":{"caption":"Data Series Name","name":"data_series_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AON":{"caption":"Remove all Data Series (Clear Chart)","code":{"fn":"function(instance,properties,context){if(instance.data.chart){for(;instance.data.datasets.length>0;)instance.data.datasets.pop();for(;instance.data.chart.data.datasets.length>0;)instance.data.chart.data.datasets.pop(),instance.data.chart.update(
265)}else console.log(\"The Chart you are trying to clear is not visible on the page\")}"}},"AsG":{"caption":"Add Annotation","code":{"fn":"function(instance,properties,context){var newAnnotation;\"vertical\"==properties.type?newAnnotation={type:\"line\",mode:\"vertical\",scaleID:\"x-axis-0\",value:properties.value,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}:\"horizontal\"==properties.type?newAnnotation={type:\"line\",mode:\"horizontal\",scaleID:\"y\",value:properties.value,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}:\"box\"==properties.type&&(newAnnotation={type:\"box\",xMin:1,xMax:2,yMin:1,yMax:2,backgroundColor:properties.background_color,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}),instance.data.chart.options.annotation||(instance.data.chart.options.annotation={annotations:[]}),instance.data.chart.options.annotation.annotations.push(newAnnotation),console.log(instance.data.chart),instance.data.chart.update()}"},"fields":{"AsH":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"horizontal"},"AsI":{"caption":"----------------------- General Settings -----------------------","name":"information","rank":1,"editor":"Label"},"AsJ":{"caption":"-------------- Vertical/Horizontal Annotations --------------","name":"vertical/horizontal_settings","rank":8,"editor":"Label"},"AsK":{"caption":"------------------- Box Annotations (in beta) -------------------","name":"box_settings (ignore if type=vertical or horizontal)","rank":11,"editor":"Label"},"AsL":{"caption":"Value","name":"value","rank":9,"editor":"DynamicValue","value":"text","optional":true},"AsM":{"caption":"Label text","name":"label","rank":2,"editor":"DynamicValue","value":"text","default_val":""},"AsN":{"caption":"Line Color","name":"line_color","rank":3,"editor":"Color","default_val":"rgba(150,162,164,1)"},"AsO":{"caption":"Background color","name":"background_color","rank":12,"editor":"Color","default_val":"rgba(220,223,224,1)"},"AsP":{"caption":"Y Min","name":"y_min","rank":13,"editor":"DynamicValue","value":"number","optional":true},"AsQ":{"caption":"Y Max","name":"y_max","rank":14,"editor":"DynamicValue","value":"number","optional":true},"AsR":{"caption":"X Min","name":"x_min","rank":15,"editor":"DynamicValue","value":"number","optional":true},"AsS":{"caption":"X Max","name":"x_max","rank":16,"editor":"DynamicValue","value":"number","optional":true},"AsT":{"caption":"Border Width","name":"border_width","rank":10,"editor":"DynamicValue","value":"number","default_val":2},"AsU":{"caption":"Position: X Offset","name":"x_offset","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AsV":{"caption":"Position: Y Offset","name":"y_offset","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AsW":{"caption":"Position: Alignment","name":"alignment","rank":5,"editor":"Dropdown","default_val":"start"},"AsX":{"caption":"Position","name":"position","rank":4,"editor":"Dropdown","default_val":"top"}}}},"code":{"initialize":{"fn":"function(instance,context){instance.publishState(\"chart_loaded\",!1),instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);function reduceOpacity(originalRGBAColor,scale){if(originalRGBAColor||(console.warn(\"Color is undefined. Using default color.\"),originalRGBAColor=\"rgba(0, 0, 0, 1)\"),6===originalRGBAColor.length||7===originalRGBAColor.length){const hexToRgb=undefined;originalRGBAColor=(hex=>{const result=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);return result?`rgba(${parseInt(result[1],16)}, ${parseInt(result[2],16)}, ${parseInt(result[3],16)}, 1)`:(console.error(\"Invalid hex color:\",hex),\"rgba(0, 0, 0, 1)\")})(originalRGBAColor)}if(!/^rgba/.test(originalRGBAColor))return console.error(\"Unsupported color format:\",originalRGBAColor),\"rgba(0, 0, 0, 1)\";const rgbaParts=originalRGBAColor.match(/rgba?\\(([^)]+)\\)/)[1].split(\",\").map(Number),[r,g,b,a=1]=rgbaParts;return`rgba(${r}, ${g}, ${b}, ${a*scale})`}function updateChartDatasets(){let i;for(instance.data.chart.data.datasets=[],i=0;i<instance.data.datasets.length;i++)instance.data.chart.data.datasets.push(instance.data.datasets[i]),instance.data.chartType.includes(\"Area\")&&(instance.data.datasets[i].backgroundColor=instance.data.reduceOpacity(instance.data.datasets[i].borderColor,.5),instance.data.datasets[i].fill=\"origin\"),instance.data.chartType.includes(\"Line\")&&(instance.data.datasets[i].fill=!1)}function forceUpdate(){document.getElementById(instance.data.custom_tooltip_id)&&(document.getElementById(instance.data.custom_tooltip_id).style.display=\"none\")}instance.data.ctxChartState=chartcanvas2.getContext(\"2d\"),instance.data.datasets=[],instance.data.reduceOpacity=reduceOpacity,instance.data.updateChartDatasets=updateChartDatasets,setTimeout(forceUpdate,200)}","add_debugger":false},"update":{"fn":"function(instance,properties,context){if(Chart.plugins.unregister(ChartDataLabels),instance.data.justDragged)return void(instance.data.justDAragged=!1);
265if(null!=properties.custom_tooltip_id&&(instance.data.custom_tooltip_id=properties.custom_tooltip_id),$(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height(),divWidth=$(\"#\"+properties.custom_tooltip_id).width(),xOffset=15,yOffset=divHeight/2;e.clientX+xOffset+divWidth>screen.width&&(xOffset=-1*(25+divWidth),0>e.clientX-(divWidth+25)&&e.clientY-divHeight/2>0&&(xOffset=divWidth/2*-1,yOffset=-15),screen.height<divHeight+e.clientY&&e.clientY-divHeight/2>0&&(xOffset=divWidth/2*-1,yOffset=divHeight+15)),e.clientY-divHeight/2<0&&(yOffset=0),$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+xOffset,top:e.clientY-yOffset,zIndex:1e21})})),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas=document.getElementById(instance.data.uniqueChartId);instance.data.mainChartCanvas=chartcanvas;var ctxchart=chartcanvas.getContext(\"2d\");let chartType,legendState,showLegend;function createDataArray(xString){if(!xString)return null;const spanGaps=properties.span_gaps,chartType=properties.chartType,isLineChart=[\"Area\",\"Line\",\"Stepped Line (Step Before)\",\"Stepped Line (Step After)\"].includes(chartType),xArray=undefined;return xString.split(\",\").map((item=>{const trimmedItem=item.trim();return spanGaps&&isLineChart&&!trimmedItem?null:trimmedItem}))}instance.data.originalChartTypeMain=properties.chartType,chartType=properties.chartType.toLowerCase(),\"Horizontal Bar\"==properties.chartType&&(chartType=\"horizontalBar\"),\"Stacked Bar (Horizontal)\"==properties.chartType&&(chartType=\"horizontalBar\"),\"100% Stacked Bar (Horizontal)\"==properties.chartType&&(chartType=\"horizontalBar\"),\"Area\"==properties.chartType&&(chartType=\"line\"),\"Stacked Bar\"==properties.chartType&&(chartType=\"bar\"),\"Overlapped Bar (Vertical)\"==properties.chartType&&(chartType=\"bar\"),\"100% Stacked Bar\"==properties.chartType&&(chartType=\"bar\"),\"100% Stacked Area (Vertical)\"==properties.chartType&&(chartType=\"line\"),\"Stacked Area\"==properties.chartType&&(chartType=\"line\"),\"Stepped Line (Step Before)\"==properties.chartType&&(chartType=\"line\",instance.data.steppedLine=\"before\"),\"Stepped Line (Step After)\"==properties.chartType&&(chartType=\"line\",instance.data.steppedLine=\"after\"),\"Stepped Area (Step Before)\"==properties.chartType&&(chartType=\"line\",instance.data.steppedLine=\"before\"),\"Stepped Area (Step After)\"==properties.chartType&&(chartType=\"line\",instance.data.steppedLine=\"after\"),\"Don't Show Legend\"==properties.showLegend?showLegend=!1:(legendState=properties.showLegend.toLowerCase(),showLegend=!0),instance.data.createDataArray=createDataArray;let listofxvalues,arrayofxvalues=createDataArray(properties.xvalues),series1string=properties.series1,series1array,series2array,series3array,series4array,series5array,series6array,yMin,yMax;series1array=createDataArray(properties.series1),series2array=createDataArray(properties.series2),series3array=createDataArray(properties.series3),series4array=createDataArray(properties.series4),series5array=createDataArray(properties.series5),series6array=createDataArray(properties.series6);let allYValuesArray=series1array,chartLabelsOn;properties.show_data_labels&&[ChartDataLabels]&&(chartLabelsOn=[ChartDataLabels]),instance.data.horizontalGridlineColor=properties.horiz_gridlines_color,instance.data.verticalGridlineColor=properties.vert_gridlines_color;let horizDashed=[],vertDashed=[];properties.horizontal_dashed_gridlines&&(horizDashed=[8,4]),properties.vertical_dashed_gridlines&&(vertDashed=[8,4]);let hundredPercentStacked=!1;\"100% Stacked Bar (Horizontal)\"!=properties.chartType&&\"100% Stacked Bar\"!=properties.chartType&&\"100% Stacked Area (Vertical)\"!=properties.chartType||(hundredPercentStacked=!0);let customTooltip=!1,chartTooltipMode;
265null!=properties.custom_tooltip_id&&(customTooltip=!0,$(\"#\"+properties.custom_tooltip_id).fadeOut(1)),chartTooltipMode=\"horizontalBar\"!=chartType?\"interpolate\":\"nearest\";var chart=new Chart(instance.data.ctxChartState,{plugins:chartLabelsOn,type:chartType,data:{labels:arrayofxvalues},options:{title:{display:!!properties.chart_title,text:properties.chart_title,fontSize:properties.chart_title_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontColor:properties.chart_title_font_color},spanGaps:properties.span_gaps,dragData:properties.draggable_values,onDrag:function(e,datasetIndex,index,value){let draggedItemAllSeriesValues=instance.data.datasets[datasetIndex].data;for(i=0;i<draggedItemAllSeriesValues.length;i++)\"\"!=draggedItemAllSeriesValues[i]&&\" \"!=draggedItemAllSeriesValues[i]||(draggedItemAllSeriesValues[i]=0);instance.publishState(\"dragged_item_data_series_name\",instance.data.datasets[datasetIndex].label),instance.publishState(\"dragged_item_index_number\",index+1),instance.publishState(\"dragged_item_x_value\",arrayofxvalues[index]),instance.publishState(\"dragged_item_ending_value\",value),instance.publishState(\"dragged_item_all_series_values\",draggedItemAllSeriesValues),instance.triggerEvent(\"chart_value_dragged\",(function(err){})),instance.publishState(\"currently_dragging\",!0)},onDragEnd:function(e,datasetIndex,index,value){let draggedItemAllSeriesValues=instance.data.datasets[datasetIndex].data;for(i=0;i<draggedItemAllSeriesValues.length;i++)\"\"!=draggedItemAllSeriesValues[i]&&\" \"!=draggedItemAllSeriesValues[i]||(draggedItemAllSeriesValues[i]=0);instance.publishState(\"dragged_item_starting_value\",instance.data.datasets[datasetIndex].data[index]),instance.publishState(\"currently_dragging\",!1),instance.data.justDragged=!0},dragDataRound:properties.drag_data_round,cornerRadius:properties.bar_corner_radius,animation:{duration:properties.animation_duration},hover:{mode:\"nearest\",intersect:!1},onHover:function(event,elements){if(properties.draggable_values?$(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"grab\":\"default\"):customTooltip&&null==document.getElementById(properties.custom_tooltip_id)?$(\"#\"+instance.data.uniqueChartId).css(\"cursor\",(elements[0],\"default\")):$(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),elements[0]){var activePoint=elements,clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex];\"\"!=value&&\" \"!=value||(value=0);var series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._view.borderColor;null!=activePoint[0].$previousStyle&&(series_color=activePoint[0].$previousStyle.backgroundColor);let remainingSeriesObjects=chart.data.datasets.slice(),remainingSeriesValues=remainingSeriesObjects.map((a=>a.data[clickedElementindex])),i;for(i=0;i<remainingSeriesValues.length;i++)\"\"!=remainingSeriesValues[i]&&\" \"!=remainingSeriesValues[i]||(remainingSeriesValues[i]=0);instance.publishState(\"hovered_item_other_series_values\",remainingSeriesValues);let remainingSeriesColors=remainingSeriesObjects.map((a=>a.borderColor));instance.publishState(\"hovered_item_other_series_colors\",remainingSeriesColors);let remainingSeriesNames=remainingSeriesObjects.map((a=>a.label));instance.publishState(\"hovered_item_other_series_names\",remainingSeriesNames),instance.publishState(\"hovered_item_x_value\",label),instance.publishState(\"hovered_item_y_value\",value),instance.publishState(\"hovered_item_series_name\",series_name),instance.publishState(\"hovered_item_series_color\",series_color),instance.publishState(\"hovered_item_x_index\",clickedElementindex+1),customTooltip&&null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+properties.custom_tooltip_id).fadeIn(250),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\")}else $(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_hovered\",(function(err){}))}
265,legend:{display:showLegend,position:legendState,labels:{usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}},layout:{padding:{right:properties.chart_padding,left:properties.chart_padding,top:properties.chart_padding,bottom:properties.chart_padding}},maintainAspectRatio:!1,scales:{yAxes:[{yAxixID:\"y\",id:\"y\",scaleLabel:{display:!!properties.y_axis_name,labelString:properties.y_axis_name,fontSize:properties.y_axis_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontColor:properties.y_axis_font_color},stacked:\"Stacked Bar\"==properties.chartType||\"Stacked Area\"==properties.chartType||\"Stacked Bar (Horizontal)\"==properties.chartType||\"100% Stacked Bar\"==properties.chartType||\"100% Stacked Bar (Horizontal)\"==properties.chartType||\"100% Stacked Area (Vertical)\"==properties.chartType,gridLines:{borderDash:horizDashed,drawBorder:!1,color:\"rgba(0,0,0,0)\",zeroLineColor:\"rgba(0,0,0,0)\",zeroLineWidth:properties.y_zero_line_width,tickMarkLength:properties.tick_mark_length_y},ticks:{maxTicksLimit:properties.max_y_ticks,padding:7,display:!1,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callback:function(value,index,values){let yLabel=value;if(yLabel=null!=properties.y_labels_decimal_places?parseFloat(value).toFixed(properties.y_labels_decimal_places):value.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.includes(\".\")?yLabel.substring(0,yLabel.indexOf(\".\")).replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)+properties.decimal_place_character+yLabel.substring(yLabel.indexOf(\".\")+1):yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),properties.max_num_char_per_line&&\"horizontalBar\"===chartType){const maxCharsPerLine=properties.max_num_char_per_line,words=yLabel.split(\" \"),lines=[];let currentLine=\"\";return words.forEach((word=>{(currentLine+word).length<=maxCharsPerLine?currentLine+=word+\" \":(lines.push(currentLine.trim()),currentLine=word+\" \")})),currentLine&&lines.push(currentLine.trim()),lines}return yLabel}}}],xAxes:[{scaleLabel:{display:!!properties.x_axis_name,labelString:properties.x_axis_name,fontSize:properties.x_axis_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontColor:properties.x_axis_font_color},stacked:\"Stacked Bar\"==properties.chartType||\"Stacked Area\"==properties.chartType||\"Stacked Bar (Horizontal)\"==properties.chartType||\"100% Stacked Bar\"==properties.chartType||\"100% Stacked Bar (Horizontal)\"==properties.chartType||\"Overlapped Bar (Vertical)\"==properties.chartType,gridLines:{borderDash:vertDashed,drawBorder:!1,color:instance.data.verticalGridlineColor,zeroLineColor:properties.x_zero_line_color,tickMarkLength:0,zeroLineWidth:properties.x_zero_line_width},ticks:{maxTicksLimit:properties.max_x_ticks,padding:7,display:properties.show_x_tick_labels,fontColor:properties.tick_label_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:properties.tick_label_font_size,callback:function(value,index,values){let originalXLabel=value,xLabel=value;if(null!=xLabel){if(value<1&&value>-1&&0!=value&&(xLabel=value.toPrecision(1)),value>1&&value<2&&(xLabel=value.toPrecision(2)),xLabel=xLabel.toString(),null!=properties.thousands_separator&&(xLabel=xLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(xLabel=properties.yAxisUnitBeforeNumber+xLabel),properties.yAxisUnitAfterNumber&&(xLabel+=properties.yAxisUnitAfterNumber),properties.max_num_char_per_line&&\"horizontalBar\"!=chartType){const maxCharsPer
265Line=properties.max_num_char_per_line;let words=originalXLabel.split(\" \");const lines=[];let currentLine=\"\";words.forEach((word=>{(currentLine+word).length<=maxCharsPerLine?currentLine+=word+\" \":(lines.push(currentLine.trim()),currentLine=word+\" \")})),currentLine&&lines.push(currentLine.trim()),originalXLabel=lines}return\"horizontalBar\"==chartType?xLabel:originalXLabel}}}}]},plugins:{stacked100:{enable:hundredPercentStacked},crosshair:!1},tooltips:{intersect:!1,enabled:!customTooltip,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{label:function(tooltipItem,data){let beforeDecimal=Math.floor(parseFloat(tooltipItem.value));parseFloat(tooltipItem.value)<0&&(beforeDecimal=Math.ceil(parseFloat(tooltipItem.value)));let afterDecimalCalc=parseFloat(tooltipItem.value)-parseFloat(beforeDecimal),numDecimalPlaces,afterDecimal,commaValue,finalLabel;return numDecimalPlaces=-1!=tooltipItem.value.indexOf(\".\")?tooltipItem.value.substring(tooltipItem.value.indexOf(\".\")+1).length:0,numDecimalPlaces>0?(afterDecimal=afterDecimalCalc.toFixed(numDecimalPlaces),afterDecimal=afterDecimal.split(\".\")[1]):afterDecimal=afterDecimalCalc=\"\",null!=properties.thousands_separator&&(beforeDecimal=beforeDecimal.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.data_labels_unit_before&&(beforeDecimal=properties.data_labels_unit_before+beforeDecimal),beforeDecimal&&(finalLabel=beforeDecimal),\"\"!=afterDecimal&&(finalLabel=finalLabel+properties.decimal_place_character+afterDecimal),properties.data_labels_unit_after&&(finalLabel+=properties.data_labels_unit_after),finalLabel}}}}});instance.data.chartType=chartType,\"horizontalBar\"!=chartType?(null!=properties.yMaxNum&&(chart.options.scales.yAxes[0].ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scales.yAxes[0].ticks.min=properties.yMinNum)):(null!=properties.yMaxNum&&(chart.options.scales.xAxes[0].ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scales.xAxes[0].ticks.min=properties.yMinNum));var chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);let showDataLabelsOverlap;function pushDataset(dataLabel,newData,newColor,customChartType,pointBackgroun
265dColor,pointBorderColor,backgroundColorArray,pointImage,actionChartType,barBorderColor,barBorderColor){let chart_type,customType,border_color;border_color=chartType.includes(\"bar\")?0==properties.bar_border_width?newColor:barBorderColor:newColor,chart_type=chartType?customChartType:properties.chart_type,customChartType&&(customType=!0);let myDataset={data:newData,customType:customType,type:customChartType,label:dataLabel,steppedLine:instance.data.steppedLine,backgroundColor:function(value){return value=properties.chartType.includes(\"Area\")?instance.data.reduceOpacity(newColor,.5):!backgroundColorArray||\"Bar\"!=properties.chartType&&\"Horizontal Bar\"!=properties.chartType?newColor:backgroundColorArray},fill:function(value){return value=!(!properties.chartType.includes(\"Area\")&&\"Area\"!=actionChartType)&&\"origin\"},borderWidth:function(value){return value=chartType.includes(\"area\")||chartType.includes(\"line\")?properties.border_width:chartType.includes(\"bar\")?properties.bar_border_width:0},lineTension:properties.curve_line_charts,borderColor:border_color,pointBorderColor:function(value){return value=pointBorderColor||\"#FFFFFF\"}
265,pointBackgroundColor:function(value){return value=null!=pointBackgroundColor?pointBackgroundColor:newColor},pointStyle:pointImage,pointBorderWidth:properties.point_border_width,pointRadius:properties.line_point_radius,pointHitRadius:20,pointHoverRadius:properties.point_hover_radius,barPercentage:properties.bar_width,categoryPercentage:properties.category_width,barThickness:properties.bar_width_pixels,datalabels:{display:showDataLabelsOverlap,color:function(value){return value=\"Default (Same as Series Color)\"!=properties.font_color_setting?properties.datalabel_font_color:newColor},align:function(value){return\"end\"},font:{size:properties.datalabel_size,family:properties.bubble.font_face().split(\":\")[0],weight:properties.datalabel_fontweight},anchor:function(context){return properties.chartType.includes(\"horizontal\"),context.dataset.data[context.dataIndex]<0?\"end\"==properties.datalabel_anchor?\"start\":\"start\"==properties.datalabel_anchor?\"end\":properties.datalabel_anchor:properties.datalabel_anchor},formatter:function(value){if(instance.data.data_label_value=value,Math.abs(value)<properties.hide_if_less_than)return\"\";if(\"\"==value||\" \"==value)return\"\";let beforeDecimal=Math.floor(parseFloat(value));parseFloat(value)<0&&(beforeDecimal=Math.ceil(parseFloat(value)));let afterDecimalCalc=parseFloat(value)-parseFloat(beforeDecimal),numDecimalPlaces,valueString,afterDecimal,commaValue,finalLabel;return valueString=value.toString(),numDecimalPlaces=-1!=valueString.indexOf(\".\")?valueString.substring(valueString.indexOf(\".\")+1).length:0,numDecimalPlaces>0?(afterDecimal=afterDecimalCalc.toFixed(numDecimalPlaces),afterDecimal=afterDecimal.split(\".\")[1]):afterDecimal=afterDecimalCalc=\"\",null!=properties.thousands_separator&&(beforeDecimal=beforeDecimal.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.data_labels_unit_before?parseFloat(value)<0?(beforeDecimal=beforeDecimal.substring(1),beforeDecimal=\"-\"+properties.data_labels_unit_before+beforeDecimal):beforeDecimal=properties.data_labels_unit_before+beforeDecimal:parseFloat(value)<0&&(parseFloat(value)>-1&&(beforeDecimal=\"0\"+beforeDecimal),beforeDecimal=beforeDecimal.substring(1),beforeDecimal=\"-\"+beforeDecimal),beforeDecimal&&(finalLabel=beforeDecimal),\"\"!=afterDecimal&&(finalLabel=finalLabel+properties.decimal_place_character+afterDecimal),properties.data_labels_unit_after&&(finalLabel+=properties.data_labels_unit_after),finalLabel},offset:function(context){return context.dataset.data[context.dataIndex]<0?-1*(properties.datalabel_offset+1.25*properties.datalabel_size):properties.datalabel_offset},borderWidth:\"1\",borderRadius:\"3\",borderColor:function(value){return instance.data.data_label_value>properties.hide_if_less_than?properties.label_border_color:\"rgba(0, 0, 0, 0)\"},backgroundColor:function(value){return Math.abs(instance.data.data_label_value)>properties.hide_if_less_than?(instance.data.mycolor=properties.datalabel_background_color,instance.data.mycolor):\"rgba(0, 0, 0, 0)\"},padding:\"1\"}};if(instance.data.datasets.find((element=>element.label==dataLabel))){let foundSeries=instance.data.datasets.find((element=>element.label==dataLabel));null!=foundSeries&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1)}instance.data.datasets.push(myDataset)}function removeOldSeriesProperty(seriesName){let foundSeries_originalproperty=instance.data.datasets.find((element=>element.label==seriesName));null!=foundSeries_originalproperty&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries_originalproperty),1)}function updateStyle(chart){chart.options.scales.yAxes[0].gridLines.zeroLineColor=properties.y_zero_line_color,chart.options.scales.yAxes[0].ticks.display=properties.show_y_tick_labels,chart.options.scales.yAxes[0].gridLines.color=instance.data.horizontalGridlineColor}function animate1(){instance.data.updateChartDatasets(),updateStyle(instance.data.chart),instance.data.chart.update()}chartContainer.parentNode.removeChild(chartContainer),(chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId)).style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",instance.data.height=properties.bubble.height(),instance.data.mainCh
265artCanvas.style.borderRadius=properties.bubble.border_roundness(),instance.data.lineWidth=properties.border_width,null!=properties.x_ticks_rotation&&(chart.options.scales.xAxes[0].ticks.minRotation=properties.x_ticks_rotation,chart.options.scales.xAxes[0].ticks.maxRotation=properties.x_ticks_rotation),showDataLabelsOverlap=!properties.hide_datalabels_overlap||\"auto\",instance.data.pushDataset=pushDataset,removeOldSeriesProperty(instance.data.series1_oldname),removeOldSeriesProperty(instance.data.series2_oldname),removeOldSeriesProperty(instance.data.series3_oldname),removeOldSeriesProperty(instance.data.series4_oldname),removeOldSeriesProperty(instance.data.series5_oldname),removeOldSeriesProperty(instance.data.series6_oldname),properties.series1&&(properties.series1name?(pushDataset(properties.series1name,series1array,properties.series1color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_1_border),instance.data.series1_oldname=properties.series1name):(instance.data.series1_oldname=\"Series 1\",pushDataset(instance.data.series1_oldname,series1array,properties.series1color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_1_border))),properties.series2&&(properties.series2name?(pushDataset(properties.series2name,series2array,properties.series2color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_2_border),instance.data.series2_oldname=properties.series2name):(instance.data.series2_oldname=\"Series 2\",pushDataset(instance.data.series2_oldname,series2array,properties.series2color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_2_border))),properties.series3&&(properties.series3name?(pushDataset(properties.series3name,series3array,properties.series3color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_3_border),instance.data.series3_oldname=properties.series3name):(instance.data.series3_oldname=\"Series 3\",pushDataset(instance.data.series3_oldname,series3array,properties.series3color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_3_border))),properties.series4&&(properties.series4name?(pushDataset(properties.series4name,series4array,properties.series4color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_4_border),instance.data.series4_oldname=properties.series4name):(instance.data.series4_oldname=\"Series 4\",pushDataset(instance.data.series4_oldname,series4array,properties.series4color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_4_border))),properties.series5&&(properties.series5name?(pushDataset(properties.series5name,series5array,properties.series5color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_5_border),instance.data.series5_oldname=properties.series5name):(instance.data.series5_oldname=\"Series 5\",pushDataset(instance.data.series5_oldname,series5array,properties.series5color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_5_border))),properties.series6&&(properties.series6name?(pushDataset(properties.series6name,series6array,properties.series6color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_6_border),instance.data.series6_oldname=properties.series6name):(instance.data.series6_oldname=\"Series 6\",pushDataset(instance.data.series6_oldname,series6array,properties.series6color,void 0,void 0,void 0,void 0,void 0,void 0,void 0,properties.series_6_border))),document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(evt);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex];\"\"!=value&&\" \"!=value||(value=0);var series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._model.backgroundColor;instance.publishState(\"clicked_item_x_value\",label),instance.publishState(\"clicked_item_y_value\",value),instance.publishState(\"clicked_item_series_name\",series_name),instance.publishState(\"clicked_item_series_color\",series_color);let remainingSeriesObjects=chart.data.datasets.slice(),remainingSeriesValues=remainingSeriesObjects.map((a=>a.data[clickedElementindex])),i;for(i=0;i<remainingSeriesValues.length;i++)\"\"!=remainingSeriesValues[i]&&\" \"!=remainingSeriesValues[i]||(remainingSeriesValues[i]=0);instance.publishState(\"click_item_other_series_values\",remainingSeriesValues);let remainingSeriesColors=remainingSeriesObjects.map((a=>a.borderColor));instance.publishState(\"clicked_item_other_series_colors\",remainingSeriesColors);let remainingSeriesNames=remainingSeriesObjects.map((a=>a.label));instance.publishState(\"clicked_item_other_series_names\",remainingSeriesNames)}else null!=document.getElementById(properties.custom_tooltip_id)&&$(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_clicked\",(function(err){}))},instance.data.chart=chart,setTimeout(animate1,300),setTimeout(animate1,1e3),setTimeout(animate1,5e3),instance.publishState(\"chart_loaded\",!0)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element for the chart description\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Bar/Line/Area Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the chart description to the container\n    container.appendChild(textElement);\n\n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n\tsupportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '0px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n\n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"AAn":{"display":"List Calculator - Basic","add_is_visible":true,"fields":{"AAo":{"caption":"List A","editor":"DynamicValue","name":"listA","rank":0,"value":"text"},"AAp":{"caption":"Operation","default_val":"Multiply","editor":"Dropdown","name":"operation1","rank":1},"AAq":{"caption":"Number or List B","editor":"DynamicValue","name":"numberOrListB","rank":2,"value":"text","optional":true}},"states":{"AAr":{"caption":"Output List (number)","initialization_code":{"fn":"function(properties,context){let result;if(\"Concatenate\"==properties.operation1)result=concatenate(properties.listA,properties.numberOrListB);else if(\"Multiply\"==properties.operation1||\"Divide\"==properties.operation1)result=multiply(properties.listA,properties.numberOrListB);else if(\"Add\"==properties.operation1)result=add(properties.listA,properties.numberOrListB);else{let array1=properties.listA.split(\", \").map((x=>+x));const cumulativeSum=(sum=0,value=>sum+=value);result=array1.map(cumulativeSum)}var sum;function concatenate(originalArray,array2orlist2){if(!originalArray)return null;let array1=originalArray.split(\", \");if(array2orlist2.includes(\",\")){let array2=array2orlist2.split(\", \");for(let i=0;i<array1.length;i++)array1[i]=array1[i].concat(array2[i]);return array1}if(!array2orlist2.includes(\",\")){for(let i=0;i<array1.length;i++)array1[i]=array1[i].concat(array2orlist2);return array1}}function multiply(originalArray,array2orlist2){if(!originalArray)return null;let array1=originalArray.split(\", \");if(array2orlist2.includes(\",\")){let array2=array2orlist2.split(\",\");if(\"Divide\"==properties.operation1)for(let i=0;i<array1.length;i++)array2[i]=Math.pow(array2[i],-1);return multiplyTwoArrays(array1,array2,array1.length)}if(!array2orlist2.includes(\",\")){let multiple=array2orlist2;return\"Divide\"==properties.operation1&&(multiple=Math.pow(array2orlist2,-1)),multiplyArrayAndNumber(array1,multiple,array1.length)}}function multiplyTwoArrays(array1,array2,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=array1[i]*array2[i];resultingArray.push(product)}return resultingArray}function multiplyArrayAndNumber(array1,number,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=array1[i]*number;resultingArray.push(product)}return resultingArray}function add(originalArray,array2orlist2){if(!originalArray)return null;let array1=originalArray.split(\", \");if(array2orlist2.includes(\",\")){let array2=array2orlist2.split(\",\");if(\"Subtract\"==properties.operation1)for(let i=0;i<array1.length;i++)array2[i]=Math.pow(array2[i],-1);return addTwoArrays(array1,array2,array1.length)}if(!array2orlist2.includes(\",\")){let multiple=array2orlist2;return\"Divide\"==properties.operation1&&(multiple=Math.pow(array2orlist2,-1)),addArrayAndNumber(array1,multiple,array1.length)}}function addTwoArrays(array1,array2,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=Number(array1[i])+Number(array2[i]);resultingArray.push(product)}return resultingArray}function addArrayAndNumber(array1,number,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=Number(array1[i])+Number(number);resultingArray.push(product)}return resultingArray}return result}"},"is_list":true,"name":"outputList","value":"number"}
265,"ABP":{"caption":"Output List (text)","name":"outputliststring","value":"text","initialization_code":{"fn":"function(properties,context){let result;if(\"Concatenate\"==properties.operation1)result=concatenate(properties.listA,properties.numberOrListB);else if(\"Multiply\"==properties.operation1||\"Divide\"==properties.operation1)result=multiply(properties.listA,properties.numberOrListB);else if(\"Add\"==properties.operation1)result=add(properties.listA,properties.numberOrListB);else{let array1=properties.listA.split(\", \").map((x=>+x));const cumulativeSum=(sum=0,value=>sum+=value);result=array1.map(cumulativeSum)}var sum;function concatenate(originalArray,array2orlist2){if(!originalArray)return null;let array1=originalArray.split(\", \");if(array2orlist2.includes(\",\")){let array2=array2orlist2.split(\", \");for(let i=0;i<array1.length;i++)array1[i]=array1[i].concat(array2[i]);return array1}if(!array2orlist2.includes(\",\")){for(let i=0;i<array1.length;i++)array1[i]=array1[i].concat(array2orlist2);return array1}}function multiply(originalArray,array2orlist2){if(!originalArray)return null;let array1=originalArray.split(\", \");if(array2orlist2.includes(\",\")){let array2=array2orlist2.split(\",\");if(\"Divide\"==properties.operation1)for(let i=0;i<array1.length;i++)array2[i]=Math.pow(array2[i],-1);return multiplyTwoArrays(array1,array2,array1.length)}if(!array2orlist2.includes(\",\")){let multiple=array2orlist2;return\"Divide\"==properties.operation1&&(multiple=Math.pow(array2orlist2,-1)),multiplyArrayAndNumber(array1,multiple,array1.length)}}function multiplyTwoArrays(array1,array2,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=array1[i]*array2[i];resultingArray.push(product)}return resultingArray}function multiplyArrayAndNumber(array1,number,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=array1[i]*number;resultingArray.push(product)}return resultingArray}function add(originalArray,array2orlist2){if(!originalArray)return null;let array1=originalArray.split(\", \");if(array2orlist2.includes(\",\")){let array2=array2orlist2.split(\",\");if(\"Subtract\"==properties.operation1)for(let i=0;i<array1.length;i++)array2[i]=Math.pow(array2[i],-1);return addTwoArrays(array1,array2,array1.length)}if(!array2orlist2.includes(\",\")){let multiple=array2orlist2;return\"Divide\"==properties.operation1&&(multiple=Math.pow(array2orlist2,-1)),addArrayAndNumber(array1,multiple,array1.length)}}function addTwoArrays(array1,array2,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=Number(array1[i])+Number(array2[i]);resultingArray.push(product)}return resultingArray}function addArrayAndNumber(array1,number,arrayLength){let resultingArray=[];for(let i=0;i<arrayLength;i++){let product=Number(array1[i])+Number(number);resultingArray.push(product)}return resultingArray}return result}"},"is_list":true}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element for the chart description\n    var textElement = document.createElement('p');\n    textElement.innerText = 'List Calculator - Basic';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the chart description to the container\n    container.appendChild(textElement);\n\n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n\tsupportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '0px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n\n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"AAx":{"display":"Chart - Pie/Donut","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_hover_pressed":false,"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AAJ":{"caption":"Series Labels","default_val":"Category A, Category B, Category C, Category D","editor":"DynamicValue","is_list":false,"name":"chartlabels","rank":2,"value":"text"},"AAK":{"caption":"Series Values","default_val":"2525, 743, 431, 1540","editor":"DynamicValue","name":"series1","rank":3,"value":"text"},"AAN":{"caption":"Value's Colors","default_val":"#00A2FF, #24E082, #FF8961, #BC61E6","editor":"DynamicValue","is_list":false,"name":"series1color","rank":4,"value":"text"},"AAa":{"caption":"Tooltip Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":39,"value":"text"},"AAb":{"caption":"Tooltip Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":40,"value":"text"},"ABK":{"caption":"labelValue: Unit Before","default_val":"$","editor":"DynamicValue","name":"data_label_unit_before","rank":26,"value":"text"},"ABL":{"caption":"labelValue: Unit After","default_val":" USD","editor":"DynamicValue","name":"data_label_unit_after","rank":27,"value":"text"},"ABO":{"caption":"Show/Hide Legend","name":"showLegend2","rank":6,"editor":"Dropdown","default_val":"Top"},"ACB":{"caption":"Section Border Width","name":"section_border_width","rank":18,"editor":"DynamicValue","value":"number","default_val":5},"ACC":{"caption":"Section Border Color","name":"section_border_color","rank":19,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"ACD":{"caption":"Cutout Percentage","name":"cutout_percentage","rank":17,"editor":"DynamicValue","value":"number","default_val":82},"ACS":{"caption":"-------------------------- General Settings --------------------------","name":"-------------------------_general_settings_-------------------------","rank":5,"editor":"Label"},"ACU":{"caption":"---------------------------- Chart Styling ----------------------------","name":"-------------------------_chart_styling_-------------------------","rank":16,"editor":"Label"},"ACV":{"caption":"-------------------------- Tooltip Settings ---------------------------","name":"-------------------------_tooltip_settings_-------------------------","rank":38,"editor":"Label"},"ACk":{"caption":"Thousands Separator","name":"thousands_separator","rank":12,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"ADB":{"caption":"Hover Border Width","name":"hover_border_width","rank":21,"editor":"DynamicValue","value":"number","optional":false,"default_val":3},"ADJ":{"caption":"----------------------------- Data Labels ------------------------------","name":"--------------------------_data_labels_---------------------------","rank":23,"editor":"Label"},"ADK":{"caption":"Font Color","name":"datalabel_font_color","rank":34,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"ADL":{"caption":"Anchor","name":"anchor","rank":31,"editor":"Dropdown","default_val":"end"},"ADM":{"caption":"Font Color Setting","name":"font_color_setting","rank":33,"editor":"Dropdown","default_val":"Default (Same as Series Color)"},"ADN":{"caption":"Offset","name":"offset","rank":32,"editor":"DynamicValue","value":"number","default_val":3},"ADW":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":11,"editor":"DynamicValue","value":"text","optional":true},"ADc":{"caption":"Font Size","name":"datalabel_size","rank":35,"editor":"DynamicValue","value":"number","default_val":12},"AKu":{"caption":"Section Corner Roundness","name":"section_corner_roundness","rank":42,"editor":"Dropdown","default_val":"Square Corners"},"AKv":{"caption":"Round Corner Section#","name":"rounded_corner_section_number","rank":43,"editor":"DynamicValue","value":"number","default_val":0},"AKw":{"caption":"------------------ Section Corner Roundness -------------------","name":"---------------------_section_corner_roundness_----------------------","rank":41,"editor":"Label"},"AQt":{"caption":"Chart Padding","name":"padding","rank":14,"editor":"DynamicValue","value":"number","default_val":15},"AWX":{"caption":"Rotation","name":"rotation","rank":22,"editor":"DynamicValue","value":"number","default_val":0},"AWY":{"caption":"Total Circumference","name":"total_circumference","rank":20,"editor":"DynamicValue","value":"number","default_val":360},"AWj":{"caption":"Hide Overlap'd Labels","name":"hide_datalabels_overlap","rank":29,"editor":"DynamicValue","value":"boolean","default_val":false},"AWp":{"caption":"Legend Padding","name":"legend_padding","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"AWq":{"caption":"Hide Labels Less Than #","name":"hide_if_less_than","rank":30,"editor":"DynamicValue","value":"number","optional":true},"AWs":{"caption":"Animation Duration","name":"animation_duration","rank":15,"editor":"DynamicValue","value":"number","default_val":1500},"AXd":{"caption":"Legend Font Color","name":"legend_font_color","rank":8,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AXe":{"caption":"Hide from Legend if <","name":"hide_from_legend_if_less_than","rank":9,"editor":"DynamicValue","value":"number","optional":true},"AXz":{"caption":"----------------------------- Chart Data -----------------------------","name":"-----------------------------_chart_data_-----------------------------","rank":0,"editor":"Label"}
265,"AYA":{"caption":"ℹ️ Enter your chart's labels, values, and colors. Values in each list should be comma-separated (with comma and space \", \").  The 1st item in the \"Series Labels\" list matches with the 1st item in \"Series Values\" and \"Value's Colors\" lists; the 2nd items all match with each other, and so on","name":"ℹ️_enter_you_chart's_x-axis_values_(the_x-axis_labels_that_will_go_from_left_to_right)_separated_by_comma_and_space_(\",_\").__can_be_a_dynamic_expression.","rank":1,"editor":"Label"},"AYB":{"caption":"⚠️ If data points get cut off near edges of the chart element, increase the Chart Padding below:","name":"⚠️_if_data_points_get_cut_off_near_edges_of_the_chart_element,_increase_the_chart_padding_below:","rank":13,"editor":"Label"},"AYP":{"caption":"Data Label Text","name":"data_label_text","rank":25,"editor":"DynamicValue","value":"text","optional":true,"default_val":"labelPercent, labelValue, labelName"},"AYQ":{"caption":"Show Data Label?","name":"show_label","rank":24,"editor":"DynamicValue","value":"boolean","default_val":false},"AYR":{"caption":"Percent Decimal Places","name":"labelpercent_decimal","rank":28,"editor":"DynamicValue","value":"number","default_val":2},"AZZ":{"caption":"Label Font Weight","name":"datalabel_fontweight","rank":36,"editor":"Dropdown","default_val":" 400","in_style":false},"AZd":{"caption":"Legend Color Style","name":"legend_color_style","rank":7,"editor":"Dropdown","default_val":"Circle"},"AuI":{"caption":"Wrap text #characters","name":"wrap_text_num_characters","rank":37,"editor":"DynamicValue","value":"number","optional":true}},"states":{"ABX":{"caption":"Clicked Item Label Value","name":"clicked_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ABY":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ADX":{"caption":"Hovered Item Label Value","name":"hovered_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADY":{"caption":"Hovered Item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ADZ":{"caption":"Hovered Item Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABa":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"ADa":{"caption":"Chart Value Hovered","name":"chart_value_hovered"}},"code":{"initialize":{"fn":"function(instance,context){instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);function forceUpdate(){document.getElementById(instance.data.custom_tooltip_id)&&(document.getElementById(instance.data.custom_tooltip_id).style.display=\"none\")}instance.data.ctxChartState=chartcanvas2.getContext(\"2d\"),setTimeout(forceUpdate,200)}"},"update":{"fn":"function(instance,properties,context){if(!/[0-9]/.test(properties.series1))return void console.log(\"No numbers in series1.\");if(Chart.plugins.unregister(ChartDataLabels),Chart.Legend.prototype.afterFit=function(){this.height=this.height+properties.legend_padding,this.width=this.width+properties.legend_padding},null!=properties.custom_tooltip_id&&(instance.data.custom_tooltip_id=properties.custom_tooltip_id),null==properties.chartlabels||null==properties.series1)return;if($(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height();$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+12,top:e.clientY-divHeight/2,zIndex:1e21})})),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas=document.getElementById(instance.data.uniqueChartId),ctxchart=chartcanvas.getContext(\"2d\");let legendState,showLegend;\"Don't Show Legend\"==properties.showLegend2?showLegend=!1:(legendState=properties.showLegend2.toLowerCase(),showLegend=!0);let listofchartlabels=properties.chartlabels,arrayoflabels=[];null!=properties.chartlabels&&(properties.chartlabels.includes(\",\")?arrayoflabels=listofchartlabels.split(\",\"):arrayoflabels.push(properties.chartlabels));let series1array=[];if(!properties.series1)return void series1array.push(5);if(properties.series1.includes(\",\")){let series1string=properties.series1;series1array=series1string.split(\",\")}else series1array.push(properties.series1);let pieChartColorsArray=[];if(properties.series1color.includes(\",\")){pieChartColorsArray=properties.series1color.split(\",\");for(let i=0;i<pieChartColorsArray.length;i++)pieChartColorsArray[i]=pieChartColorsArray[i].replace(/\\s/g,\"\")}else pieChartColorsArray.push(properties.series1color);let allYValuesArray=series1array,chartLabelsOn;1==properties.show_label&&[ChartDataLabels]&&(chartLabelsOn=[ChartDataLabels]);let customTooltip=!1;
265null!=properties.custom_tooltip_id&&(customTooltip=!0,$(\"#\"+properties.custom_tooltip_id).fadeOut(1)),Chart.defaults.RoundedDoughnut=Chart.helpers.clone(Chart.defaults.doughnut),Chart.controllers.RoundedDoughnut=Chart.controllers.doughnut.extend({draw:function(ease){var ctx=this.chart.ctx,easingDecimal=ease||1,arcs=this.getMeta().data;Chart.helpers.each(arcs,(function(arc,i){arc.transition(easingDecimal).draw();var pArc,pColor=arcs[0===i?arcs.length-1:i-1]._view.backgroundColor,vm=arc._view,radius=(vm.outerRadius+vm.innerRadius)/2,thickness=(vm.outerRadius-vm.innerRadius)/2,startAngle=Math.PI-vm.startAngle-Math.PI/2,angle=Math.PI-vm.endAngle-Math.PI/2;ctx.save(),ctx.translate(vm.x,vm.y),ctx.fillStyle=0===i?vm.backgroundColor:pColor,ctx.beginPath(),ctx.arc(radius*Math.sin(startAngle),radius*Math.cos(startAngle),thickness,0,2*Math.PI),ctx.fill(),ctx.fillStyle=vm.backgroundColor,ctx.beginPath(),ctx.arc(radius*Math.sin(angle),radius*Math.cos(angle),thickness,0,2*Math.PI),ctx.fill(),ctx.restore()}))}}),Chart.pluginService.register({afterUpdate:function(chart){if(void 0!==chart.config.options.elements.arc.roundedCornersFor){var arc=chart.getDatasetMeta(0).data[chart.config.options.elements.arc.roundedCornersFor];arc.round={x:(chart.chartArea.left+chart.chartArea.right)/2,y:(chart.chartArea.top+chart.chartArea.bottom)/2,radius:(chart.outerRadius+chart.innerRadius)/2,thickness:(chart.outerRadius-chart.innerRadius)/2-1,backgroundColor:arc._model.backgroundColor}}},afterDraw:function(chart){if(void 0!==chart.config.options.elements.arc.roundedCornersFor){var ctx=chart.chart.ctx,arc=chart.getDatasetMeta(0).data[chart.config.options.elements.arc.roundedCornersFor],startAngle=Math.PI/2-arc._view.startAngle,endAngle=Math.PI/2-arc._view.endAngle;let vm=arc._view,thickness=(vm.outerRadius-vm.innerRadius)/2;ctx.save(),ctx.translate(arc.round.x,arc.round.y),ctx.fillStyle=arc.round.backgroundColor,ctx.beginPath(),ctx.arc(arc.round.radius*Math.sin(startAngle),arc.round.radius*Math.cos(startAngle),thickness,0,2*Math.PI),ctx.arc(arc.round.radius*Math.sin(endAngle),arc.round.radius*Math.cos(endAngle),thickness,0,2*Math.PI),ctx.closePath(),ctx.fill(),ctx.restore()}}});let chartType=\"pie\",showDataLabelsOverlap;\"Rounded Corners (All Sections)\"==properties.section_corner_roundness&&(chartType=\"RoundedDoughnut\"),showDataLabelsOverlap=!properties.hide_datalabels_overlap||\"auto\";let config={plugins:chartLabelsOn,type:chartType,data:{labels:arrayoflabels,datasets:[{fill:!1,borderWidth:properties.section_border_width,borderColor:properties.section_border_color,hoverBorderWidth:properties.hover_border_width,hoverBorderColor:properties.section_border_color,label:properties.series1name,backgroundColor:pieChartColorsArray,data:series1array,datalabels:{display:showDataLabelsOverlap,anchor:properties.anchor,align:function(value){return value=0==properties.offset?\"center\":\"end\"},offset:properties.offset,color:function(value){return value=\"Custom (Define Color Below)\"==properties.font_color_setting?properties.datalabel_font_color:pieChartColorsArray},formatter:function(value,context){let completeLabel=\"\",percent,labelValue,labelName;if(value<properties.hide_if_less_than)return\"\";let total=eval(series1array.join(\"+\")),labelArray;if(percent=String((value/total*100).toFixed(properties.labelpercent_decimal))+\"%\",labelName=arrayoflabels[context.dataIndex],labelValue=value.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator),properties.data_label_unit_before&&(labelValue=(properties.data_label_unit_before+labelValue).replace(/\\s/g,\"\")),properties.data_label_unit_after&&(labelValue+=properties.data_label_unit_after),properties.data_label_text&&(labelArray=properties.data_label_text.split(\", \")),properties.data_label_text)for(;labelArray.length>0;)completeLabel&&(completeLabel+=\" \"),\"labelPercent\"==labelArray[0]&&(completeLabel+=percent),\"labelValue\"==labelArray[0]&&(completeLabel+=labelValue),\"labelName\"==labelArray[0]&&(completeLabel+=labelName),\"placeholder\"==labelArray[0]&&(completeLabel+=\"placeholder\"),labelArray.shift();if(properties.wrap_text_num_characters){for(var line=\"\",result=\"\",words=completeLabel.split(\" \"),i=0;i<words.length;i++)(line+words[i]).length>properties.wrap_text_num_characters&&(result+=line.trim()+\"\\n\",line=\"\"),line+=words[i]+\" \";return result+=line.trim(),result}return completeLabel},font:{family:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],size:properties.datalabel_size,weight:properties.datalabel_fontweight}}}]},options:{plugins:{crosshair:!1},animation:{duration:properties.animation_duration},onHover:function(event,elements){if(elements[0]){var activePoint=chart.getElementAtEvent(event),clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._view.backgroundColor;customTooltip&&(instance.publishState(\"hovered_item_x_value\",label),instance.publishState(\"hovered_item_y_value\",value),instance.publishState(\"hovered_item_series_color\",series_color),$(\"#\"+properties.custom_tooltip_id).fadeIn(250),null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\"))}else $(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&instance.triggerEvent(\"chart_value_hovered\",(function(err){}))},cutoutPercentage:properties.cutout_percentage,rotation:-.5*Math.PI+properties.rotation*(Math.PI/180),circumference:properties.total_circumference*(Math.PI/180),legend:{align:\"left\",dis
265play:showLegend,position:legendState,labels:{filter:function(legendItem,data){return null==properties.hide_from_legend_if_less_than||data.datasets[0].data[legendItem.index]>properties.hide_from_legend_if_less_than},usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.legend_font_color,fontSize:properties.bubble.font_size(),fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}},maintainAspectRatio:!1,layout:{padding:{right:properties.padding,left:properties.padding,top:properties.padding,bottom:properties.padding}},tooltips:{enabled:!customTooltip,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{label:function(tooltipItem,data){let label=\"\";label+=data.labels[tooltipItem.index],label+=\": \";let commaYLabel=data.datasets[0].data[tooltipItem.index];return null!=properties.thousands_separator&&(commaYLabel=commaYLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(commaYLabel=properties.yAxisUnitBeforeNumber+commaYLabel),label+=commaYLabel,properties.yAxisUnitAfterNumber&&(label+=properties.yAxisUnitAfterNumber),label}}}}},chart=new Chart(instance.data.ctxChartState,config);instance.data.chart=chart,chart.update();var chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);function updateData(dataLabel,newData,newColor){chart.data.datasets.push({label:dataLabel,backgroundColor:newColor,data:newData,fill:!1,borderColor:newColor}),chart.update()}chartContainer.parentNode.removeChild(chartContainer),chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId),chartContainer.style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(event);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label;instance.publishState(\"clicked_item_x_value\",label),instance.publishState(\"clicked_item_y_value\",value)}instance.triggerEvent(\"chart_value_clicked\",(function(err){}))},\"Rounded Corners (Single Section)\"==properties.section_corner_roundness&&(chart.options.elements.arc.roundedCornersFor=properties.rounded_corner_section_number),chart.destroy(),chart=new Chart(instance.data.ctxChartState,config)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Pie/Donut Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '0px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"ABb":{"display":"Chart - Scatter/Line with Time-Series","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AAJ":{"caption":"Series 1 - x-values","default_val":"1.2, 2.2, 4.9, 3.8, 6.3, 2.7","editor":"DynamicValue","is_list":false,"name":"series1xvalues","rank":3,"value":"text"},"AAK":{"caption":"Series 1 - y-values","default_val":"220, 485, 500, 470, 590, 310","editor":"DynamicValue","name":"series1yvalues","rank":4,"value":"text"},"AAN":{"caption":"Series 1 - point color","default_val":"rgba(0, 162, 255, 1)","editor":"Color","name":"series1color","rank":6},"AAO":{"caption":"Series 1 - name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":1,"value":"text"},"AAa":{"caption":"Y Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":39,"value":"text"},"AAb":{"caption":"Y Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":40,"value":"text"},"AAe":{"caption":"Y Axis - Max Value","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":38,"value":"number"},"AAf":{"caption":"Y Axis - Min Value","editor":"DynamicValue","name":"yMinNum","optional":true,"rank":37,"value":"number"},"AAj":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":26,"value":"text","default_val":"Top"},"ABQ":{"caption":"Show Y Tick Labels?","name":"show_y_tick_labels","rank":55,"editor":"DynamicValue","value":"boolean","default_val":true},"ABR":{"caption":"Show X Tick Labels?","name":"show_x_tick_labels","rank":56,"editor":"DynamicValue","value":"boolean","default_val":true},"ABc":{"caption":"X Axis - Min Value","name":"xMinNum","rank":44,"editor":"DynamicValue","value":"number","optional":true},"ABd":{"caption":"X Axis - Max Value","name":"xMaxNum","rank":45,"editor":"DynamicValue","value":"number","optional":true},"ABo":{"caption":"X Unit - Before","name":"xAxisUnitBeforeNumber","rank":46,"editor":"DynamicValue","value":"text","optional":true},"ABp":{"caption":"X Unit - After","name":"xAxisUnitAfterNumber","rank":47,"editor":"DynamicValue","value":"text","optional":true},"ABq":{"caption":"ℹ️ Add more series to the chart using the workflow action called \"Add/update a data series\"","name":"to_add_more_dataset_series,_go_to_your_workflow_tab_and_choose_the_\"add_a_data_series_scatter/pointchart\"_action!","rank":24,"editor":"Label"},"ABz":{"caption":"Point Radius","name":"point_radius","rank":66,"editor":"DynamicValue","value":"number","default_val":8},"ACA":{"caption":"Point Hover Radius","name":"point_hover_radius","rank":67,"editor":"DynamicValue","value":"number","default_val":12},"ACQ":{"caption":"----------------------------- Chart Data -----------------------------","name":"--------------------------_data_series_values_---------------------------_(you_can_also_add_infinite_series_via_workflows)_-----","rank":0,"editor":"Label"},"ACR":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":25,"editor":"Label"},"ACl":{"caption":"Thousands Separator","name":"thousands_separator","rank":28,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"ACo":{"caption":"Point Border Width","name":"point_border_width","rank":68,"editor":"DynamicValue","value":"number","default_val":5},"ACr":{"caption":"Series 1 - point style","name":"point_style","rank":8,"editor":"Dropdown","default_val":"circle"},"ACs":{"caption":"Series 1 - point border","name":"point_border_color","rank":7,"editor":"Color","default_val":"rgba(0, 162, 255, 0.25)"},"ACx":{"caption":"Horiz. Dashed Gridlines?","name":"horizontal_dashed_gridlines","rank":53,"editor":"DynamicValue","value":"boolean","default_val":true},"ACy":{"caption":"Vert. Dashed Gridlines?","name":"vertical_dashed_gridlines","rank":54,"editor":"DynamicValue","value":"boolean","default_val":true},"AIA":{"caption":"Connect Points?","name":"show_line","rank":69,"editor":"DynamicValue","value":"boolean","default_val":false},"AIB":{"caption":"---------------------------- Axis Settings ----------------------------","name":"----------------------------_axis_settings_----------------------------","rank":36,"editor":"Label"},"AIC":{"caption":"------------------------- Gridlines Settings -------------------------","name":"-------------------------_gridlines_settings_-------------------------","rank":50,"editor":"Label"},"AID":{"caption":"---------------------------- Point Settings ----------------------------","name":"--------------------------_point_settings_--------------------------","rank":65,"editor":"Label"},"AIE":{"caption":"X Axis Unit","name":"x_axis_unit","rank":41,"editor":"Dropdown","default_val":"Number"},"AIG":{"caption":"X Axis Date Format","name":"x_axis_date_format","rank":42,"editor":"DynamicValue","value":"text","optional":false,"default_val":"H:mma do MMM, YYYY"},"AIO":{"caption":"Max X Ticks","name":"max_x_ticks","rank":58,"editor":"DynamicValue","value":"number","optional":false,"default_val":11},"AIP":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":59,"editor":"DynamicValue","value":"number","optional":false,"default_val":11},"AIT":{"caption":"Vert. Crosshair Color","name":"vertical_crosshair_color","rank":73,"editor":"Color","default_val":"rgba(230, 230, 230, 1)"},"AIU":{"caption":"Vert. Crosshair Width","name":"vertical_crosshair_width","rank":74,"editor":"DynamicValue","value":"number","default_val":1},"AIV":{"caption":"Vert. Crosshairs On?","name":"vertical_crosshair_on","rank":72,"editor":"DynamicValue","value":"boolean","default_val":false},"AIW":{"caption":"------------------------ Crosshair Settings ------------------------","name":"------------------------_crosshair_settings_------------------------","rank":71,"editor":"Label"},"AKI":{"caption":"Synced Crosshairs?","name":"synced_crosshairs","rank":75,"editor":"DynamicValue","value":"boolean","default_val":false},"AKJ":{"caption":"Group Number","name":"group_number","rank":76,"editor":"DynamicValue","value":"number","optional":false,"default_val":1},"AKK":{"caption":"Suppress Tooltips?","name":"suppress_tooltips","rank":77,"editor":"DynamicValue","value":"boolean","default_val":false},"AKR":{"caption":"Custom Tooltip HTML ID","name":"custom_tooltip_id","rank":30,"editor":"DynamicValue","value":"text","optional":true},"AKx":{"caption":"Animation Duration","name":"animation_duration","rank":33,"editor":"DynamicValue","value":"number","default_val":1500},"ANi":{"caption":"----------------------------- Data Labels --------------------------","name":"----------------------------------_data_labels_-------------","rank":78,"editor":"Label"},"ANj":{"caption":"Distance from Point","name":"distance_from_point","rank":83,"editor":"DynamicValue","value":"number","default_val":0},"ANk":{"caption":"Angle","name":"angle","rank":82,"editor":"DynamicValue","value":"number","default_val":0,"optional":false},"ANl":{"caption":"Data Label Text","name":"data_label_text","rank":79,"editor":"DynamicValue","value":"text","optional":true},"ANm":{"caption":"Unit Before X","name":"unit_before_x","rank":84,"editor":"DynamicValue","value":"text","optional":true},"ANn":{"caption":"Unit After X","name":"unit_after_x","rank":85,"editor":"DynamicValue","value":"text","optional":true,"default_val":"km"},"ANo":{"caption":"Unit Before Y","name":"unit_before_y","rank":86,"editor":"DynamicValue","value":"text","optional":true},"ANp":{"caption":"Unit After Y","name":"unit_after_y","rank":87,"editor":"DynamicValue","value":"text","optional":true,"default_val":"cal"},"ANq":{"caption":"Font Color Setting","name":"font_color_setting","rank":88,"editor":"Dropdown","default_val":"Default (Same as Series Color)"},"ANr":{"caption":"Font Color (Optional)","name":"font_color_optional","rank":89,"editor":"Color","default_val":"rgba(191, 191, 191, 1)","optional":true},"ANs":{"caption":"Font Size","name":"font_size","rank":90,"editor":"DynamicValue","value":"number","default_val":12},"ANt":{"caption":"Alignment","name":"alignment","rank":81,"editor":"DynamicValue","value":"text","default_val":"end","optional":false},"AQU":{"caption":"Line Border Width","name":"line_border_width","rank":70,"editor":"DynamicValue","value":"number","default_val":2},"AQk":{"caption":"Chart Padding (px)","name":"chart_padding","rank":32,"editor":"DynamicValue","value":"number","default_val":1},"AQl":{"caption":"Y = Zero Line Color","name":"y_is_zero_color","rank":60,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AQm":{"caption":"X = Zero Line Color","name":"x_is_zero_color","rank":61,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ARE":{"caption":"Draggable Values?","name":"draggable_values","rank":34,"editor":"DynamicValue","value":"boolean","default_val":false},"ARF":{"caption":"Drag Data Round","name":"drag_data_round","rank":35,"editor":"DynamicValue","value":"number","default_val":1},"AVi":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":63,"editor":"DynamicValue","value":"number","default_val":12},"AVj":{"caption":"Tick Label Font Color","name":"tick_label_color","rank":62,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AVk":{"caption":"ℹ️ To customize Tick Label Font Family, scroll down to the bottom of this properties menu and change the standard Bubble font properties","name":"to_customize_tick_label_font_style/family_you_can_edit_this_element's_font_style_as_you_would_for_a_standard_text_element_(by_scrolling_down_to_the_bottom_of_this_menu_and_editing_the_standard_bubble_properties_for_the_font_in_the_font_dropdown_menu)","rank":64,"editor":"Label"},"AVw":{"caption":"X Tick Labels Rotation","name":"x_ticks_rotation","rank":57,"editor":"DynamicValue","value":"number","optional":true},"AVx":{"caption":"Vertical Gridline Color","name":"vertical_gridlines_color","rank":51,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AVy":{"caption":"Horiz. Gridlines Color","name":"horizontal_gridlines_color","rank":52,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AWn":{"caption":"Hide Overlap'd Labels","name":"hide_datalabels_overlap","rank":80,"editor":"DynamicValue","value":"boolean","default_val":false},"AWo":{"caption":"ℹ️ To use an image for the point style above, add the series using the workflow action called \"Add/update a data series\", where there is a property for datapoint image","name":"ℹ️  To_use_an_image_for_the_point_style,_add_the_serie_via_workflow_action_instead","rank":9,"editor":"Label"},"AXM":{"caption":"Series 2 - name","name":"series2name","rank":10,"editor":"DynamicValue","value":"text","default_val":"Series 2","optional":true},"AXN":{"caption":"Series 2 - point color","name":"series2color","rank":14,"editor":"Color","default_val":"rgba(0, 200, 81, 1)","optional":true},"AXO":{"caption":"Series 2 - point border","name":"series2_point_border_color","rank":15,"editor":"Color","default_val":"rgba(0, 199, 83, 0.28)","optional":true},"AXP":{"caption":"Series 2 - point style","name":"series2_point_style","rank":16,"editor":"Dropdown","default_val":"circle","optional":true},"AXQ":{"caption":"Series 2 - x-values","name":"series2xvalues","rank":11,"editor":"DynamicValue","value":"text","optional":true},"AXR":{"caption":"Series 2 - y-values","name":"series2yvalues","rank":12,"editor":"DynamicValue","value":"text","optional":true},"AXS":{"caption":"Series 3 - name","name":"series3name","rank":17,"editor":"DynamicValue","value":"text","optional":true},"AXT":{"caption":"Series 3 - point color","name":"series3color","rank":21,"editor":"Color","default_val":"rgba(170, 102, 204, 1)","optional":true},"AXU":{"caption":"Series 3 - point border","name":"series3_point_border_color","rank":22,"editor":"Color","default_val":"rgba(170, 102, 204, 0.22)","optional":true},"AXV":{"caption":"Series 3 - point style","name":"series3_point_style","rank":23,"editor":"Dropdown","default_val":"circle","optional":true},"AXW":{"caption":"Series 3 - x-alues","name":"series3xvalues","rank":18,"editor":"DynamicValue","value":"text","optional":true},"AXX":{"caption":"Series 3 - y-alues","name":"series3yvalues","rank":19,"editor":"DynamicValue","value":"text","optional":true},"AXY":{"caption":"Series 1 - labels","name":"series_1_labels","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AXZ":{"caption":"Series 2 - labels","name":"series_2_labels","rank":13,"editor":"DynamicValue","value":"text","optional":true},"AXa":{"caption":"Series 3 - labels","name":"series_3_labels","rank":20,"editor":"DynamicValue","value":"text","optional":true},"AYC":{"caption":"ℹ️ Below, add series data (x, y, label values). Each data point should be separated by comma and space and can be dynamic (e.g. \"Do a Search for\")","name":"ℹ️_add_series_names,_colors,_and_data_values_below.__each_data_point_should_be_separated_by_comma_and_space_and_can_be_dynamically_(e.g._\"do_a_search_for\")","rank":2,"editor":"Label"},"AYD":{"caption":"⚠️ If data points get cut off near edges of the chart element, increase the Chart Padding below:","name":"⚠️_if_data_points_get_cut_off_near_edges_of_the_chart_element,_increase_the_chart_padding_below:","rank":31,"editor":"Label"},"AYK":{"caption":"yLabel Decimal Places","name":"y_labels_decimal_places","rank":48,"editor":"DynamicValue","value":"number","optional":true},"AYL":{"caption":"Decimal Separator","name":"decimal_separator","rank":29,"editor":"DynamicValue","value":"text","default_val":"."},"AZa":{"caption":"Label Font Weight","name":"datalabel_fontweight","rank":91,"editor":"Dropdown","default_val":" 400","in_style":true},"AZe":{"caption":"Legend Color Style","name":"legend_color_style","rank":27,"editor":"Dropdown","default_val":"Circle"},"AyO":{"caption":"xLabel Decimal Places","name":"x_labels_decimal_places","rank":49,"editor":"DynamicValue","value":"number","optional":true},"AyQ":{"caption":"Tooltip Date Format","name":"tooltip_date_format","rank":43,"editor":"DynamicValue","value":"text","default_val":"H:mma do MMM, YYYY"}},"states":{"AAv":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"number"},"ABU":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ABV":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}}
265,"AKS":{"caption":"Hovered Item X Value (number)","name":"hovered_item_x_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKT":{"caption":"Hovered Item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKU":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AKV":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ARG":{"caption":"Dragged Item Data Series Name","name":"dragged_item_data_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ARJ":{"caption":"Dragged Item Index Number","name":"dragged_item_index_number","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ARK":{"caption":"Dragged Item Starting Y Value","name":"dragged_item_starting_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ARL":{"caption":"Dragged Item Starting X Value","name":"dragged_item_starting_x_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ARM":{"caption":"Dragged Item Ending Y Value","name":"dragged_item_ending_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ARN":{"caption":"Dragged Item Ending X Value","name":"dragged_item_ending_x_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AVz":{"caption":"Hovered Item X Value (Date)","name":"hovered_item_x_value_date","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AWB":{"caption":"Dragged Item -  all Y Values of this Serie","name":"dragged_item_all_series_values_y","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AWC":{"caption":"Dragged Item -  all X Values of this Serie","name":"dragged_item_all_series_values_x","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AWi":{"caption":"Currently Dragging Bar/Value","name":"currently_dragging","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AXb":{"caption":"Hovered Item Point Label","name":"hovered_item_point_label","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABW":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"ARa":{"caption":"Chart Value Dragged","name":"chart_value_dragged"}},"actions":{"ABi":{"caption":"Add/Update a Data Series","code":{"fn":"function(instance,properties,context){let numAttempts=0;function mainAddSeries(){if(numAttempts>15)console.log(\"The Chart you are trying to update is not visible on the page or the data you're attempting to load is taking too long\");else{if(!instance.data.chart)return numAttempts++,void setTimeout(mainAddSeries,750);if(properties.use_image_as_point){var pointImage=new Image(1,1);pointImage.src=properties.use_image_as_point,pointImage.onload=function(){var width=pointImage.naturalWidth,height=pointImage.naturalHeight;pointImage.width=width*properties.image_point_scale,pointImage.height=height*properties.image_point_scale}}instance.data.createPointArray&&properties.xValues?addSeries():setTimeout(addSeries,1500)}function addSeries(){let seriesArray=[];instance.data.createPointArray(properties.xValues,properties.yValues,seriesArray,properties.point_labels);let pointColors=properties.series_points_colors_list?properties.series_points_colors_list.split(\",\").map((color=>color.trim())):[],borderColors=properties.series_border_colors_list?properties.series_border_colors_list.split(\",\").map((color=>color.trim())):[];console.log(properties.series_points_colors_list),console.log(pointColors),console.log(properties.series_border_colors_list),console.log(borderColors),instance.data.pushDataset(properties.series_name,seriesArray,properties.series_color,properties.point_border_color,properties.point_style,properties.point_radius,properties.show_line,properties.show_data_labels,pointImage,pointColors,borderColors),instance.data.updateChartDatasets(),instance.data.chart.update(
265)}}mainAddSeries()}","add_debugger":false},"fields":{"ABk":{"caption":"Y-Values (comma-separated numbers)","name":"yValues","rank":5,"editor":"DynamicValue","value":"text"},"ABl":{"caption":"X-Values (comma-separated numbers)","name":"xValues","rank":4,"editor":"DynamicValue","value":"text"},"ABm":{"caption":"Series Name","name":"series_name","rank":1,"editor":"DynamicValue","value":"text"},"ABn":{"caption":"Series Point Color","name":"series_color","rank":9,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"ACt":{"caption":"Point Style","name":"point_style","rank":8,"editor":"Dropdown","default_val":"circle"},"ACu":{"caption":"Point Border Color","name":"point_border_color","rank":11,"editor":"Color","default_val":"rgba(51, 179, 230, 0.73)"},"ADP":{"caption":"Point Radius (px)","name":"point_radius","rank":13,"editor":"DynamicValue","value":"number","default_val":6},"AHz":{"caption":"Show Line?","name":"show_line","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"ANv":{"caption":"Show Data Labels?","name":"show_data_labels","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true},"ARU":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":0,"editor":"Label"},"ARV":{"caption":"------------------------ Point Style Settings -----------------------","name":"---------------------_point_style_settings_---------------------","rank":7,"editor":"Label"},"AWI":{"caption":"Use Image As Point","name":"use_image_as_point","rank":14,"editor":"DynamicValue","value":"image","optional":true},"AWJ":{"caption":"Image Point Scale","name":"image_point_scale","rank":15,"editor":"DynamicValue","value":"number","default_val":1,"optional":false},"AYJ":{"caption":"Point Labels","name":"point_labels","rank":6,"optional":true,"editor":"DynamicValue","value":"text"},"AyR":{"caption":"Optional: Multi-colored Series Points (list)","name":"series_points_colors_list","rank":10,"editor":"DynamicValue","value":"text","optional":true},"AyS":{"caption":"Optional: Multi-colored Series Borders (List)","name":"series_border_colors_list","rank":12,"editor":"DynamicValue","value":"text","optional":true}}},"ABx":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.datasets.find((element=>element.label==properties.series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update()}else console.log(\"The Chart you are trying to update is not visible on the page\")}"},"fields":{"ABy":{"caption":"Series Name","name":"series_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AOO":{"caption":"Remove all Data Series (Clear Chart)","code":{"fn":"function(instance,properties,context){if(instance.data.chart){for(;instance.data.datasets.length>0;)instance.data.datasets.pop();for(;instance.data.chart.data.datasets.length>0;)instance.data.chart.data.datasets.pop(),instance.data.chart.update()}else console.log(\"The Chart you are trying to update is not visible on the page\")}"}}},"code":{"initialize":{"fn":"function(instance,context){function loadScriptOnce(src){if(!document.querySelector(`script[src=\"${src}\"]`)){const script=document.createElement(\"script\");script.src=src,script.defer=!0,document.head.appendChild(script)}}loadScriptOnce(\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.bundle.min.js\"),instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\"),instance.data.datasets=[]}"},"update":{"fn":"function(instance,properties,context){if(Chart.plugins.unregister(ChartDataLabels),instance.data.justDragged)return void(instance.data.justDragged=!1);function reduceOpacity(originalRGBAColor){let stringlength=originalRGBAColor.length-1,colorArray=(originalRGBAColor=originalRGBAColor.substring(5,stringlength)).split(\", \"),newOpacity=.5*colorArray[3],result;return\"rgba(\"+colorArray[0]+\", \"+colorArray[1]+\", \"+colorArray[2]+\", \"+ne
265wOpacity+\")\"}$(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height();$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+12,top:e.clientY-divHeight/2,zIndex:1e21})}));let customTooltip=!1;if(null!=properties.custom_tooltip_id&&(customTooltip=!0,instance.data.custom_tooltip_id=properties.custom_tooltip_id,setTimeout((function(){$(\"#\"+properties.custom_tooltip_id).fadeOut(1)}),200)),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas,ctxchart=document.getElementById(instance.data.uniqueChartId).getContext(\"2d\");let chartType,legendState,showLegend;function createPointArray(xString,yString,outputArray,labelString){let xArray,yArray,labelArray;if(null!=xString&&(xArray=xString.split(\",\")),null!=yString&&(yArray=yString.split(\",\")),null!=labelString&&(labelArray=labelString.split(\", \")),null!=xArray&&null!=yArray)for(let i=0;i<xArray.length;i++){let newDate=new Date(1*xArray[i]),nextPoint;nextPoint=\"Number\"==properties.x_axis_unit?{x:xArray[i],y:yArray[i],...null!=labelString&&{label:labelArray[i]}}:{t:newDate,y:yArray[i],...null!=labelString&&{label:labelArray[i]}},outputArray.push(nextPoint)}}\"Don't Show Legend\"==properties.showLegend?showLegend=!1:(legendState=properties.showLegend.toLowerCase(),showLegend=!0),instance.data.createPointArray=createPointArray;let series1array=[],series2array=[],series3array=[],arrayofxvalues;instance.data.createPointArray(properties.series1xvalues,properties.series1yvalues,series1array,properties.series_1_labels),instance.data.createPointArray(properties.series2xvalues,properties.series2yvalues,series2array,properties.series_2_labels),instance.data.createPointArray(properties.series3xvalues,properties.series3yvalues,series3array,properties.series_3_labels);let allYValuesArray=series1array,chartLabelsOn=[ChartDataLabels];instance.data.horizontalGridlineColor=properties.horizontal_gridlines_color,instance.data.verticalGridlineColor=properties.vertical_gridlines_color;let horizDashedGridlines=[];properties.horizontal_dashed_gridlines&&(horizDashedGridlines=[8,4]);let vertDashedGridlines=[],showDataLabelsOverlap;properties.vertical_dashed_gridlines&&(vertDashedGridlines=[8,4]),\"Number\"==properties.x_axis_unit?instance.data.xAxisType=\"linear\":instance.data.xAxisType=\"time\",showDataLabelsOverlap=!properties.hide_datalabels_overlap||\"auto\";var chart=new Chart(instance.data.ctxChartState,{plugins:chartLabelsOn,type:\"scatter\",data:{labels:undefined,datasets:[{showLine:properties.show_line,stepped:!0,pointRadius:properties.point_radius,pointHoverRadius:properties.point_hover_radius,pointBorderWidth:properties.point_border_width,pointBorderColor:properties.point_border_color,pointStyle:properties.point_style,fill:function(value){return value=!1,false},borderWidth:1,borderColor:properties.series1color,label:properties.series1name,backgroundColor:function(value){return value=properties.series1color},data:series1array,datalabels:{display:showDataLabelsOverlap,color:\"orange\",align:\"end\",anchor:\"end\",clamp:\"true\",rotation:45,formatter:function(value){return value.y},offset:200,borderWidth:\"1\",borderRadius:\"3\",borderColor:\"#000000\",backgroundColor:\"#000000\",padding:\"1\"}}]},options:{dragData:properties.draggable_values,dragX:properties.draggable_values,onDrag:function(e,datasetIndex,index,value){let draggedItemAllSeriesValues=instance.data.datasets[datasetIndex].data,draggedItemAllSeriesValuesX=[],draggedItemAllSeriesValuesY=[];for(i=0;i<draggedItemAllSeriesValues.length;i++)\"\"!=draggedItemAllSeriesValues[i].x&&\" \"!=draggedItemAllSeriesValues[i].x?draggedItemAllSeriesValuesX.push(draggedItemAllSeriesValues[i].x):draggedItemAllSeriesValuesX.push(0),\"\"!=draggedItemAllSeriesValues[i].y&&\" \"!=draggedItemAllSeriesValues[i].y?draggedItemAllSeriesValuesY.push(draggedItemAllSeriesValues[i].y):draggedItemAllSeriesValuesY.push(0);instance.publishState(\"currently_dragging\",!0),instance.publishState(\"dragged_item_data_series_name\",instance.data.datasets[datasetIndex].label),instance.publishState(\"dragged_item_index_number\",index+1),instance.publishState(\"dragged_item_ending_y_value\",value.y),instance.publishState(\"dragged_item_ending_x_value\",value.x),instance.publishState(\"dragged_item_all_series_values_y\",draggedItemAllSeriesValuesY),instance.publishState(\"dragged_item_all_series_values_x\",draggedItemAllSeriesValuesX)},onDragEnd:function(e,datasetIndex,index,value){let draggedItemAllSeriesValues=instance.data.datasets[datasetIndex].data,draggedItemAllSeriesValuesX=[],draggedItemAllSeriesValuesY=[];for(i=0;i<draggedItemAllSeriesValues.length;i++)\"\"!=draggedItemAllSeriesValues[i].x&&\" \"!=draggedItemAllSeriesValues[i].x?draggedItemAllSeriesValuesX.push(draggedItemAllSeriesValues[i].x):draggedItemAllSeriesValuesX.push(0),\"\"!=draggedItemAllSeriesValues[i].y&&\" \"!=draggedItemAllSeriesValues[i].y?draggedItemAllSeriesValuesY.push(draggedItemAllSeriesValues[i].y):draggedItemAllSeriesValuesY.push(0);instance.publishState(\"currently_dragging\",!1),instance.publishState(\"dragged_item_data_series_name\",instance.data.datasets[datasetIndex].label),instance.publishState(\"dragged_item_index_number\",index+1),instance.publishState(\"dragged_item_ending_y_value\",value.y),instance.publishState(\"dragged_item_ending_x_value\",value.x),instance.publishState(\"dragged_item_all_series_values_y\",draggedItemAllSeriesValuesY),instance.publishState(\"dragged_item_all_series_values_x\",draggedItemAllSeriesValuesX),instance.triggerEvent(\"chart_value_dragged\",(function(err){})),instance.data.justDragged=!0},onDragStart:function(e,element){instance.publishState(\"dragged_item_starting_y_value\",instance.data.datasets[element._datasetIndex].data[element._index].y),instance.publishState(\"dragged_item_starting_x_value\",instance.data.datasets[element._datasetIndex].data[element._index].x)},dragDataRound:properties.drag_data_round,animation:{duration:properties.animation_duration}
265,legend:{display:showLegend,position:legendState,labels:{usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}},onHover:function(event,elements){if(properties.draggable_values?$(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"grab\":\"default\"):$(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),elements[0]){var activePoint=chart.getElementAtEvent(event),clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._view.backgroundColor;let radius_value;if(null!=activePoint[0].$previousStyle&&(series_color=activePoint[0].$previousStyle.backgroundColor),null!=value.t)instance.publishState(\"hovered_item_x_value\",activePoint[0]._xScale._ticks[activePoint[0]._index].value),instance.publishState(\"hovered_item_x_value_date\",JSON.stringify(value.t));else{let valueX=value.x;\"\"==valueX&&(valueX=0),instance.publishState(\"hovered_item_x_value\",valueX)}let valueY=value.y;\"\"==valueY&&(valueY=0),instance.publishState(\"hovered_item_y_value\",valueY),instance.publishState(\"hovered_item_series_name\",series_name),instance.publishState(\"hovered_item_series_color\",series_color);let valuePointLabel=\"\";value.label&&(valuePointLabel=value.label),instance.publishState(\"hovered_item_point_label\",value.label),customTooltip&&null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+properties.custom_tooltip_id).fadeIn(250),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\")}else $(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_hovered\",(function(err){}))},plugins:{crosshair:{line:{color:properties.vertical_crosshair_color,width:properties.vertical_crosshair_width},sync:{enabled:properties.synced_crosshairs,group:properties.group_number,suppressTooltips:properties.suppress_tooltips},zoom:{enabled:!1}}},maintainAspectRatio:!1,scales:{yAxes:[{stacked:!1,gridLines:{color:instance.data.horizontalGridlineColor,zeroLineColor:properties.y_is_zero_color,tickMarkLength:0,borderDash:horizDashedGridlines,drawBorder:!1},ticks:{maxTicksLimit:properties.max_y_ticks,padding:7,display:properties.show_y_tick_labels,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callback:function(value,index,values){let yLabel=value;return yLabel=null!=properties.y_labels_decimal_places?parseFloat(value).toFixed(properties.y_labels_decimal_places):value.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.includes(\".\")?yLabel.substring(0,yLabel.indexOf(\".\")).replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)+properties.decimal_separator+yLabel.substring(yLabel.indexOf(\".\")+1):yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),yLabel}}}],xAxes:[{type:instance.data.xAxisType,time:{displayFormats:{millisecond:properties.x_axis_date_format,second:properties.x_axis_date_format,minute:properties.x_axis_date_format,hour:properties.x_axis_date_format,day:properties.x_axis_date_format,week:properties.x_axis_date_format,month:properties.x_axis_date_format,quarter:properties.x_axis_date_format,year:properties.x_axis_date_format}},stacked:!1,gridLines:{color:instance.data.verticalGridlineColor,zeroLineColor:properties.x_is_zero_color,tickMarkLength:0,borderDash:vertDashedGridlines,drawBorder:!1},ticks:{maxTicksLimit:properties.max_x_ticks,padding:7,display:properties.show_x_tick_labels,fontColor:properties.tick_label_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:properties.tick_label_font_size,callback:function(value,index,values){let xLabel=value;return xLabel=null!=properties.x_labels_decimal_places?parseFloat(value).toFixed(properties.x_labels_decimal_places):value.toString(),null!=properties.thousands_separator&&\"Number\"===properties.x_axis_unit&&(xLabel=xLabel.includes(\".\")?xLabel.substring(0,xLabel.
265indexOf(\".\")).replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)+properties.decimal_separator+xLabel.substring(xLabel.indexOf(\".\")+1):xLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.xAxisUnitBeforeNumber&&(xLabel=properties.xAxisUnitBeforeNumber+xLabel),properties.xAxisUnitAfterNumber&&(xLabel+=properties.xAxisUnitAfterNumber),xLabel}}}]},layout:{padding:{right:properties.chart_padding,left:properties.chart_padding,top:properties.chart_padding,bottom:properties.chart_padding}},tooltips:{intersect:!1,enabled:!customTooltip,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{label:function(tooltipItem,data){let label=\"\";data.datasets[tooltipItem.datasetIndex].label&&(label+=data.datasets[tooltipItem.datasetIndex].label,label+=\": \");let currentLabel,commaYLabel=tooltipItem.yLabel.toString();null!=properties.thousands_separator&&(commaYLabel=commaYLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator));let currentXLabel,commaXLabel=tooltipItem.xLabel.toString();if(null!=properties.thousands_separator&&(commaXLabel=commaXLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.unit_before_x&&(commaYLabel=properties.unit_before_x+commaYLabel),label+=commaYLabel,properties.unit_after_x&&(label+=properties.unit_after_x),label+=\", \",properties.unit_before_y&&(commaXLabel=properties.unit_before_y+commaXLabel),properties.unit_after_y&&(commaXLabel+=properties.unit_after_y),label+=commaXLabel,\"Date and time\"!=properties.x_axis_unit)return label;if(\"Date and time\"==properties.x_axis_unit){let formattedXLabel,yValue,finalLabel=tooltipItem.xLabel.replace(/,/g,\"\")+\" \"+tooltipItem.yLabel.toString();return console.log(\"Final Tooltip Output:\",finalLabel),finalLabel}}}}}});null!=properties.yMaxNum&&(chart.options.scales.yAxes[0].ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scales.yAxes[0].ticks.min=properties.yMinNum),null!=properties.xMinNum&&(chart.options.scales.xAxes[0].ticks.min=properties.xMinNum),null!=properties.xMaxNum&&(chart.options.scales.xAxes[0].ticks.max=properties.xMaxNum),0==properties.vertical_crosshair_on&&(chart.options.plugins.crosshair=!1),null!=properties.x_ticks_rotation&&(chart.options.scales.xAxes[0].ticks.minRotation=properties.x_ticks_rotation,chart.options.scales.xAxes[0].ticks.maxRotation=properties.x_ticks_rotation);var chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);function pushDataset(dataLabel,newData,newColor,borderColor,pointStyle,pointRadius,showLine,showDatalabels,pointImage,pointColors,borderColors){let myDataset={
265showLine:showLine,pointRadius:pointRadius,pointHoverRadius:properties.point_hover_radius,pointBorderWidth:properties.point_border_width,pointBorderColor:function(context){return null!=borderColors&&borderColors.length>0&&borderColors[context.dataIndex]||borderColor},pointStyle:function(value){return value=pointImage||pointStyle},label:dataLabel,borderWidth:properties.line_border_width,backgroundColor:function(context){return null!=pointColors&&pointColors.length>0&&pointColors[context.dataIndex]||newColor},data:newData,fill:function(value){return value=!1,false},borderColor:newColor,datalabels:{color:function(value){return value=\"Default (Same as Series Color)\"==properties.font_color_setting?newColor:properties.font_color_optional},align:properties.alignment,anchor:\"end\",font:{family:properties.bubble.font_face().split(\":\")[0],size:properties.font_size,weight:properties.datalabel_fontweight},clamp:\"true\",rotation:properties.angle,formatter:function(value){let resultingLabel=\"\";if(!showDatalabels)return resultingLabel;let resultingX=\"\";properties.unit_before_x&&(resultingX+=properties.unit_before_x),resultingX+=value.x,properties.unit_after_x&&(resultingX+=properties.unit_after_x);let resultingY=\"\",resultingPointLabel,labelArray;if(properties.unit_before_y&&(resultingY+=properties.unit_before_y),resultingY+=value.y,properties.unit_after_y&&(resultingY+=properties.unit_after_y),null!=newData[0].label&&null!=value.label&&(resultingPointLabel=value.label),properties.data_label_text&&(labelArray=properties.data_label_text.split(\", \")),properties.data_label_text)for(;labelArray.length>0;)\"seriesName\"==labelArray[0]&&(resultingLabel+=dataLabel),\"x\"==labelArray[0]&&(resultingLabel+=resultingX),\"y\"==labelArray[0]&&(resultingLabel+=resultingY),\"pointLabel\"==labelArray[0]&&(resultingLabel+=resultingPointLabel),labelArray.shift();return resultingLabel},offset:properties.distance_from_point,display:showDataLabelsOverlap}};if(null!=instance.data.datasets&&instance.data.datasets.find((element=>element.label==dataLabel))){let foundSeries=instance.data.datasets.find((element=>element.label==dataLabel));null!=foundSeries&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1)}instance.data.datasets.push(myDataset)}function removeOldSeriesProperty(seriesName){let foundSeries_originalproperty=instance.data.datasets.find((element=>element.label==seriesName));null!=foundSeries_originalproperty&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries_originalproperty),1)}if(chartContainer.parentNode.removeChild(chartContainer),(chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId)).style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",instance.data.height=properties.bubble.height(),instance.data.pushDataset=pushDataset,properties.series1xvalues){properties.series1name||(properties.series1name=\"Series 1\"),removeOldSeriesProperty(instance.data.series1_oldname);let showDL=!1;properties.data_label_text&&(showDL=!0),pushDataset(properties.series1name,series1array,properties.series1color,properties.point_border_color,properties.point_style,properties.point_radius,properties.show_line,showDL),instance.data.series1_oldname=properties.series1name}if(properties.series2xvalues){properties.series2name||(properties.series2name=\"Series 2\"),removeOldSeriesProperty(instance.data.series2_oldname);let showDL=!1;properties.data_label_text&&(showDL=!0),pushDataset(properties.series2name,series2array,properties.series2color,properties.series2_point_border_color,properties.series2_point_style,properties.point_radius,properties.show_line,showDL),instance.data.series2_oldname=properties.series2name}if(properties.series3xvalues){properties.series3name||(properties.series3name=\"Series 3\"),removeOldSeriesProperty(instance.data.series3_oldname);let showDL=!1;properties.data_label_text&&(showDL=!0),pushDataset(properties.series3name,series3array,properties.series3color,properties.series3_point_border_color,properties.series3_point_style,properties.point_radius,properties.show_line,showDL),instance.data.series3_oldname=properties.series3name}function updateChartDatasets(){let i;for(chart.data.datasets=[],i=0;i<instance.data.datasets.length;i++)chart.data.datasets.push(instance.data.datasets[i])}instance.data.updateChartDatasets=updateChartDatasets,updateChartDatasets(),document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(event);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label;let valueX=value.x;\"\"==valueX&&(valueX=0);let valueY=value.y;\"\"==valueY&&(valueY=0),valueX?instance.publishState(\"clicked_item_x_value\",valueX):instance.publishState(\"clicked_item_x_value\",activePoint[0]._xScale._ticks[activePoint[0]._index].value),instance.publishState(\"clicked_item_y_value\",valueY),instance.publishState(\"clicked_item_series_name\",series_name)}
265series_name&&instance.triggerEvent(\"chart_value_clicked\",(function(err){}))},chart.update(),instance.data.chart=chart}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Scatter/Connected Scatter/Line Chart';\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"ACY":{"display":"Chart - Radar","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AAJ":{"caption":"X Axis Values (comma-separated strings or #s)","default_val":"Category 1, Category 2, Category 3, Category 4, Category 5, Category 6","editor":"DynamicValue","is_list":false,"name":"xvalues","rank":1,"value":"text"},"AAK":{"caption":"Series 1 - y-values","default_val":"52, 59, 34, 21, 10, 35","editor":"DynamicValue","name":"series1","rank":4,"value":"text","optional":true},"AAN":{"caption":"Series 1 - border color","default_val":"rgba(51, 181, 229, 1)","editor":"Color","name":"series1color","rank":5,"optional":false},"AAO":{"caption":"Series 1 - name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":3,"value":"text"},"AAa":{"caption":"Tick Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":28,"value":"text"},"AAb":{"caption":"Tick Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":29,"value":"text"},"AAe":{"caption":"Main Axis - Max Value","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":24,"value":"number"},"AAf":{"caption":"Main Axis - Min Value","default_val":0,"editor":"DynamicValue","name":"yMinNum","optional":true,"rank":23,"value":"number"},"AAj":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":12,"value":"text","default_val":"Top"},"ABI":{"caption":"Show Data Labels?","default_val":false,"editor":"DynamicValue","name":"show_data_labels","rank":37,"value":"boolean"},"ACE":{"caption":"------------------- Axis and Gridline Settings -------------------","name":"axis_and_gridline_settings","rank":22,"editor":"Label"},"ACF":{"caption":"----------------------------- Chart Data -----------------------------","name":"-------------------_series_values_(can_also_add_infinite_series_via_action)_-------------------","rank":0,"editor":"Label"},"ACG":{"caption":"------------------------- General Settings -------------------------","name":"-------------------_main_fields_-------------------","rank":11,"editor":"Label"},"ACK":{"caption":"Y Ticks Backgrnd Color","name":"backDropColor","rank":32,"editor":"Color","default_val":"rgba(255, 255, 255, 0)"},"ACL":{"caption":"Gridline Color","name":"y_zero_line_color","rank":33,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ACN":{"caption":"Angled Axis Color","name":"horiz_gridlines_color","rank":34,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ACW":{"caption":"Line Border Width","name":"border_width","rank":18,"editor":"DynamicValue","value":"number","default_val":3},"ACX":{"caption":"Line Curve","name":"curve_line_charts","rank":17,"editor":"DynamicValue","value":"number","default_val":0},"ACZ":{"caption":"Show X Axis Ticks?","name":"show_ticks","rank":26,"editor":"DynamicValue","value":"boolean","default_val":true},"ACm":{"caption":"Thousands Separator","name":"thousands_separator","rank":14,"editor":"DynamicValue","value":"text","default_val":","},"ACw":{"caption":"Dashed Gridlines","name":"dashed_gridlines","rank":35,"editor":"DynamicValue","value":"boolean","default_val":false},"ADI":{"caption":"Show Y Axis Ticks","name":"show_y_axis_ticks","rank":27,"editor":"DynamicValue","value":"boolean","default_val":false},"AIH":{"caption":"Point Radius","name":"point_radius","rank":19,"editor":"DynamicValue","value":"number","default_val":5},"AII":{"caption":"Point Hovered Radius","name":"point_hovered_radius","rank":20,"editor":"DynamicValue","value":"number","default_val":8},"AIJ":{"caption":"Point Border Width","name":"point_border_width","rank":21,"editor":"DynamicValue","value":"number","default_val":2},"AIK":{"caption":"Series 1 - point border Color","name":"series1_point_border_color","rank":6,"editor":"Color","default_val":"rgba(255, 255, 255, 0.94)","optional":false},"AKW":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":16,"editor":"DynamicValue","value":"text","optional":true},"AKy":{"caption":"Main Axis - Max Ticks","name":"max_ticks","rank":25,"editor":"DynamicValue","value":"number","default_val":7}
265,"AVl":{"caption":" Tick Label Font Color","name":"tick_label_color","rank":30,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AVm":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":31,"editor":"DynamicValue","value":"number","default_val":12},"AWZ":{"caption":"------------------------- Data Labels -------------------------","name":"-------------------------_data_labels_-------------------------","rank":36,"editor":"Label"},"AWa":{"caption":"Font Size","name":"datalabels_font_size","rank":38,"editor":"DynamicValue","value":"number","default_val":12},"AXI":{"caption":"Series 2 - name","name":"series2name","rank":7,"editor":"DynamicValue","value":"text","default_val":"Series 2","optional":true},"AXJ":{"caption":"Series 2 - border color","name":"series2color","rank":9,"editor":"Color","default_val":"rgba(0, 200, 81, 1)","optional":true},"AXK":{"caption":"Series 2 - point border Color","name":"series2_point_border_color","rank":10,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","optional":true},"AXL":{"caption":"Series 2 - y-values","name":"series2","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AXc":{"caption":"Animation Duration","name":"animation_duration","rank":15,"editor":"DynamicValue","value":"number","default_val":1500},"AYF":{"caption":"ℹ️ Add series names and data values below.  Each data point should be separated by comma and space and can be dynamic (e.g. \"Do a Search for\")","name":"ℹ️_add_series_names,_colors,_and_data_values_below.__each_data_point_should_be_separated_by_comma_and_space_and_can_be_dynamically_(e.g._\"do_a_search_for\")","rank":2,"editor":"Label"},"AYG":{"caption":"ℹ️ To customize Label Font Family, scroll down to the bottom of this properties menu and change the standard Bubble font properties","name":"ℹ️_to_customize_label_font_family,_scroll_down_to_the_bottom_of_this_properties_menu_and_change_the_standard_bubble_font_properties","rank":39,"editor":"Label"},"AZf":{"caption":"Legend Color Style","name":"legend_color_style","rank":13,"editor":"Dropdown","default_val":"Circle"}},"states":{"AAv":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"text"},"ABU":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ABV":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AKX":{"caption":"Hovered Item X Value","name":"hovered_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AKY":{"caption":"Hovered Item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKZ":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AKb":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABW":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"AKa":{"caption":"Chart Value Hovered","name":"chart_value_hovered"}},"actions":{"ACa":{"caption":"Add/Update Data Series on Radar Chart","code":{"fn":"function(instance,properties,context){let numAttempts=0;function mainAddSeries(){if(numAttempts>15)console.log(\"The Chart you are trying to update is not visible on the page\");else{if(!instance.data.chart)return numAttempts++,void setTimeout(mainAddSeries,750);addSeries()}function addSeries(){if(instance.data.createDataArray){let newSeries=instance.data.createDataArray(properties.yValues);instance.data.pushDataset(properties.series_name,newSeries,properties.series_color,properties.point_border_color,properties.fill_color),instance.data.updateChartDatasets(),instance.data.chart.update()}else setTimeout(addSeries,1500)}}mainAddSeries()}"},"fields":{"ACb":{"caption":"Series Name","name":"series_name","rank":0,"editor":"DynamicValue","value":"text"},"ACc":{"caption":"Series Color","name":"series_color","rank":1,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"ACd":{"caption":"Series Y Values","name":"yValues","rank":4,"editor":"DynamicValue","value":"text"},"AIL":{"caption":"Point Border Color","name":"point_border_color","rank":2,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"AWb":{"caption":"Fill Color","name":"fill_color","rank":3,"editor":"Color","default_val":"rgba(51, 179, 230, 0.39)"}}},"ACe":{"caption":"Remove a Data Series from Radar Chart","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.chart.data.datasets.find((element=>element.label==properties.data_series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update(
265)}else console.log(\"The Chart you are trying to update is not visible on the page\")}"},"fields":{"ACf":{"caption":"Data Series Name","name":"data_series_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AOM":{"caption":"Remove all Data Series (Clear Chart)","code":{"fn":"function(instance,properties,context){if(instance.data.chart){for(;instance.data.datasets.length>0;)instance.data.datasets.pop();for(;instance.data.chart.data.datasets.length>0;)instance.data.chart.data.datasets.pop();instance.data.chart.update()}else console.log(\"The Chart you are trying to update is not visible on the page\")}"}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\"),instance.data.datasets=[]}"},"update":{"fn":"function(instance,properties,context){function reduceOpacity(originalColor,scale){if(6==originalColor.length||7==originalColor.length){function hexToRgb(hex){var result=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);return\"rgba(\"+parseInt(result[1],16)+\", \"+parseInt(result[2],16)+\", \"+parseInt(result[3],16)+\", 1)\"}originalColor=hexToRgb(originalColor)}let rgbaValues=originalColor.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+),?\\s*(\\d*(?:\\.\\d+)?)?\\)/);if(rgbaValues){let r,g,b,a,newOpacity,result;return`rgba(${rgbaValues[1]}, ${rgbaValues[2]}, ${rgbaValues[3]}, ${scale*(rgbaValues[4]?parseFloat(rgbaValues[4]):1)})`}return console.error(\"Invalid color format\"),null}Chart.plugins.unregister(ChartDataLabels),$(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height();$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+12,top:e.clientY-divHeight/2,zIndex:1e21})}));let customTooltip=!1;if(null!=properties.custom_tooltip_id&&(customTooltip=!0,$(\"#\"+properties.custom_tooltip_id).fadeOut(1)),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas,ctxchart=document.getElementById(instance.data.uniqueChartId).getContext(\"2d\");let chartType=\"radar\",legendState,showLegend;function createDataArray(xString){let outputArray,xArray;return null!=xString&&(xArray=xString.split(\",\")),xArray}\"Don't Show Legend\"==properties.showLegend?showLegend=!1:(legendState=properties.showLegend.toLowerCase(),showLegend=!0),instance.data.createDataArray=createDataArray;let listofxvalues,arrayofxvalues=createDataArray(properties.xvalues),series1string=properties.series1,series1array,series2array,series3array,series4array,series5array,yMin,yMax;series1array=createDataArray(properties.series1),series2array=createDataArray(properties.series2),series3array=createDataArray(properties.series3),series4array=createDataArray(properties.series4),series5array=createDataArray(properties.series5);let allYValuesArray=series1array,chartLabelsOn;properties.show_data_labels&&[ChartDataLabels]&&(chartLabelsOn=[ChartDataLabels]),instance.data.horizontalGridlineColor=properties.horiz_gridlines_color;let dashed_gridlines=[];properties.dashed_gridlines&&(dashed_gridlines=[8,5]);var chart=new Chart(instance.data.ctxChartState,{plugins:chartLabelsOn,type:\"radar\",data:{labels:arrayofxvalues},options:{plugins:{crosshair:!1},animation:{duration:properties.animation_duration},onHover:function(event,elements){if($(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),elements[0]){var activePoint=chart.getElementAtEvent(event),clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._view.borderColor;null!=activePoint[0].$previousStyle&&(series_color=activePoint[0].$previousStyle.backgroundColor);let valueY=value;\"\"==valueY&&(valueY=0),instance.publishState(\"hovered_item_x_value\",label),instance.publishState(\"hovered_item_y_value\",valueY),instance.publishState(\"hovered_item_series_name\",series_name),instance.publishState(\"hovered_item_series_color\",series_color),customTooltip&&null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+properties.custom_tooltip_id).fadeIn(250),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\")}else $(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_hovered\",(function(err){}))}
265,legend:{display:showLegend,position:legendState,labels:{usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().split(\":\")[0]}},layout:{padding:{right:10,left:10,top:10,bottom:10}},maintainAspectRatio:!1,scale:{pointLabels:{fontColor:properties.tick_label_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:properties.tick_label_font_size,display:properties.show_ticks},gridLines:{color:properties.y_zero_line_color,circular:!1,borderDash:dashed_gridlines},ticks:{padding:7,maxTicksLimit:properties.max_ticks,display:properties.show_y_axis_ticks,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,backdropColor:properties.backDropColor,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],tickMarkLength:0,callback:function(value,index,values){let yLabel=value,originalYLabel=value;return value<1&&value>-1&&(yLabel=value.toPrecision(1)),value>1&&value<2&&(yLabel=value.toPrecision(2)),yLabel=yLabel.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),yLabel}},angleLines:{color:instance.data.horizontalGridlineColor}},tooltips:{enabled:!customTooltip,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{title:function(tooltipItem,data){let tooltipTitle;return data.datasets[tooltipItem[0].datasetIndex].label},label:function(tooltipItem,data){let label=\"\";data.labels[tooltipItem.index]&&(label+=data.labels[tooltipItem.index],label+=\": \");let currentLabel,commaYLabel=tooltipItem.yLabel.toString();return null!=properties.thousands_separator&&(commaYLabel=commaYLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(commaYLabel=properties.yAxisUnitBeforeNumber+commaYLabel),label+=commaYLabel,properties.yAxisUnitAfterNumber&&(label+=properties.yAxisUnitAfterNumber),label}}}}}),chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);function hexToRgbA(hex){var c;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex))return 3==(c=hex.substring(1).split(\"\")).length&&(c=[c[0],c[0],c[1],c[1],c[2],c[2]]),\"rgba(\"+[(c=\"0x\"+c.join(\"\"))>>16&255,c>>8&255,255&c].join(\",\")+\",1)\";throw new Error(\"Bad Hex\")}function pushDataset(dataLabel,newData,newColor,pointBorderColor,fillColor){let seriesBackgroundColor;seriesBackgroundColor=null!=fillColor?fillColor:reduceOpacity(newColor,.5);let myDataset={data:newData,label:dataLabel,backgroundColor:seriesBackgroundColor,fill:\"start\",borderWidth:function(value){return value=properties.border_width},lineTension:properties.curve_line_charts,borderColor:newColor,pointBackgroun
265dColor:newColor,pointBorderColor:pointBorderColor,pointBorderWidth:properties.point_border_width,pointRadius:properties.point_radius,pointHitRadius:8,pointHoverRadius:properties.point_hovered_radius,datalabels:{color:newColor,font:{size:properties.datalabels_font_size},align:\"end\",anchor:\"end\",formatter:function(value){return null!=properties.thousands_separator&&(value=value.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),value},offset:function(value){return value=\"Bar\"==properties.chartType?1:-2},display:!0,borderWidth:\"1\",borderRadius:\"3\",borderColor:function(value){return value=\"Line\"!=properties.chartType?\"rgba(0, 0, 0, 0)\":\"rgba(0, 0, 0, 0.2)\"},backgroundColor:function(value){return value=\"Line\"!=properties.chartType?\"rgba(255, 255, 255, 0.6)\":\"rgba(255, 255, 255, 0.85)\"},padding:\"1\"}};if(instance.data.datasets.find((element=>element.label==dataLabel))){let foundSeries=instance.data.datasets.find((element=>element.label==dataLabel));null!=foundSeries&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1)}instance.data.datasets.find((element=>element.label==dataLabel))||instance.data.datasets.push(myDataset)}function updateChartDatasets(){let i;for(chart.data.datasets=[],i=0;i<instance.data.datasets.length;i++)chart.data.datasets.push(instance.data.datasets[i])}chartContainer.parentNode.removeChild(chartContainer),(chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId)).style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",instance.data.height=properties.bubble.height(),null!=properties.yMaxNum&&(chart.options.scale.ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scale.ticks.min=properties.yMinNum),instance.data.pushDataset=pushDataset,properties.series1&&pushDataset(properties.series1name,series1array,properties.series1color,properties.series1_point_border_color),properties.series2&&pushDataset(properties.series2name,series2array,properties.series2color,properties.series2_point_border_color),instance.data.updateChartDatasets=updateChartDatasets,updateChartDatasets(),document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(event);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label;let valueY=value;\"\"==valueY&&(valueY=0),instance.publishState(\"clicked_item_x_value\",label),instance.publishState(\"clicked_item_y_value\",valueY),instance.publishState(\"clicked_item_series_name\",series_name)}label&&value&&series_name&&instance.triggerEvent(\"chart_value_clicked\",(function(err){}))},instance.data.chart=chart,chart.update()}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Radar Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"AFt":{"display":"Chart - Bubble","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AFO":{"caption":"Series 1 - x-values","default_val":"518, 729, 109, 258, 200, 410","editor":"DynamicValue","is_list":false,"name":"series1xvalues","rank":3,"value":"text"},"AFP":{"caption":"Series 1 - y-values","default_val":"125, 122, 23, 57, 30, 59","editor":"DynamicValue","name":"series1yvalues","rank":4,"value":"text"},"AFQ":{"caption":"Series 1 - point color","default_val":"rgba(24, 217, 127, 1)","editor":"Color","name":"series1color","rank":7},"AFR":{"caption":"Series 1 - name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":2,"value":"text"},"AFS":{"caption":"Y Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":35,"value":"text"},"AFT":{"caption":"Y Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":36,"value":"text"},"AFU":{"caption":"Y Axis - Max Value","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":30,"value":"number"},"AFV":{"caption":"Y Axis - Min Value","editor":"DynamicValue","name":"yMinNum","optional":true,"rank":29,"value":"number"},"AFW":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":18,"value":"text","default_val":"Top"},"AFX":{"caption":"Show Horiz. Gridlines?","default_val":true,"editor":"DynamicValue","name":"showHorizontalGridlines","rank":41,"value":"boolean"},"AFY":{"caption":"Show Vert. Gridlines?","default_val":true,"editor":"DynamicValue","name":"showVerticalGridlines","optional":false,"rank":40,"value":"boolean"},"AFZ":{"caption":"Show Y Tick Labels?","name":"show_y_tick_labels","rank":38,"editor":"DynamicValue","value":"boolean","default_val":true},"AFa":{"caption":"Show X Tick Labels","name":"show_x_tick_labels","rank":37,"editor":"DynamicValue","value":"boolean","default_val":true},"AFb":{"caption":"X Axis - Min Value","name":"xMinNum","rank":31,"editor":"DynamicValue","value":"number","optional":true},"AFc":{"caption":"X Axis - Max Value","name":"xMaxNum","rank":32,"editor":"DynamicValue","value":"number","optional":true},"AFd":{"caption":"X Unit - Before","name":"xAxisUnitBeforeNumber","rank":33,"editor":"DynamicValue","value":"text","optional":true},"AFe":{"caption":"X Unit - After","name":"xAxisUnitAfterNumber","rank":34,"editor":"DynamicValue","value":"text","optional":true},"AFf":{"caption":"ℹ️ Add more series to the chart using the workflow action called \"Add/update a data series\"","name":"to_add_more_dataset_series,_go_to_your_workflow_tab_and_choose_the_\"add_a_data_series_scatter/pointchart\"_action!","rank":16,"editor":"Label"},"AFi":{"caption":"----------------------------- Chart Data -----------------------------","name":"--------------------------_data_series_values_---------------------------_(you_can_also_add_infinite_series_via_workflows)_-----","rank":0,"editor":"Label"},"AFj":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":17,"editor":"Label"},"AFk":{"caption":"Thousand Separator X","name":"thousands_separator","rank":20,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"AFl":{"caption":"Point Border Width","name":"point_border_width","rank":23,"editor":"DynamicValue","value":"number","default_val":12},"AFm":{"caption":"Series 1 - point style","name":"point_style","rank":6,"editor":"Dropdown","default_val":"circle"},"AFn":{"caption":"Series 1 - point border","name":"point_border_color","rank":8,"editor":"Color","default_val":"rgba(21, 217, 129, 0.26)"},"AFo":{"caption":"Horiz. Dashed Gridlines?","name":"horizontal_dashed_gridlines","rank":42,"editor":"DynamicValue","value":"boolean","default_val":true},"AFp":{"caption":"Vert. Dashed Gridlines?","name":"vertical_dashed_gridlines","rank":43,"editor":"DynamicValue","value":"boolean","default_val":true}
265,"AFu":{"caption":"Series 1 - radius values - px (comma-separated list)","name":"series1radiusvalues","rank":5,"editor":"DynamicValue","value":"text","default_val":"10, 25, 5, 18, 15, 8"},"AKL":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":22,"editor":"DynamicValue","value":"text","optional":true},"AKf":{"caption":"------------------------------- Axes Settings -------------------------","name":"--------------------------_axes_and_gridline_settings_---------------------_(you_can_also_add_infinite_series_via_workflows)_-----","rank":28,"editor":"Label"},"AKg":{"caption":"Horiz. Gridline Color","name":"horiz_gridline_color","rank":44,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AKh":{"caption":"Vert Gridline Color","name":"vert_gridline_color","rank":45,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AKi":{"caption":"----------------------------- Gridline Settings -----------------------","name":"-----------------------------Gridline----------------------","rank":39,"editor":"Label"},"AKj":{"caption":"X = 0 Line Color","name":"horiz_zero_line_color","rank":46,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AKk":{"caption":"Y = 0 Line Color","name":"vert_zero_line_color","rank":47,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AKl":{"caption":"Max X Ticks","name":"max_x_ticks","rank":48,"editor":"DynamicValue","value":"number","default_val":11},"AKm":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":49,"editor":"DynamicValue","value":"number","default_val":11},"ANw":{"caption":"----------------------------- Data Labels ---------------------------","name":"-------_data_labels_------","rank":53,"editor":"Label"},"ANx":{"caption":"Data Label Text","name":"data_label_text","rank":54,"editor":"DynamicValue","value":"text","optional":true},"ANy":{"caption":"Alignment","name":"alignment","rank":57,"editor":"DynamicValue","value":"text","default_val":"end"},"ANz":{"caption":"Distance From Point","name":"distance_from_point","rank":58,"editor":"DynamicValue","value":"number","default_val":0},"AOA":{"caption":"Angle","name":"angle","rank":59,"editor":"DynamicValue","value":"number","default_val":0},"AOB":{"caption":"Unit Before X","name":"unit_before_x","rank":60,"editor":"DynamicValue","value":"text","optional":true},"AOC":{"caption":"Unit Before Y","name":"unit_before_y","rank":62,"editor":"DynamicValue","value":"text","optional":true},"AOD":{"caption":"Unit After X","name":"unit_after_x","rank":61,"editor":"DynamicValue","value":"text","optional":true},"AOE":{"caption":"Unit After Y","name":"unit_after_y","rank":63,"editor":"DynamicValue","value":"text","optional":true},"AOF":{"caption":"Unit Before R","name":"unit_before_r","rank":64,"editor":"DynamicValue","value":"text","optional":true},"AOG":{"caption":"Unit After R","name":"unit_after_r","rank":65,"editor":"DynamicValue","value":"text","optional":true},"AOH":{"caption":"Font Color Setting","name":"font_color_setting","rank":66,"editor":"Dropdown","default_val":"Default (Same as Series Color)"},"AOI":{"caption":"Font Color (Optional)","name":"font_color_optional","rank":67,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AOJ":{"caption":"Font Size","name":"font_size","rank":68,"editor":"DynamicValue","value":"text","default_val":"12"},"AVn":{"caption":"Tick Label Font Color","name":"tick_label_color","rank":51,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AVo":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":52,"editor":"DynamicValue","value":"number","default_val":12},"AWN":{"caption":"X Tick Labels Rotation","name":"x_ticks_rotation","rank":50,"editor":"DynamicValue","value":"number","optional":true},"AWx":{"caption":"Series 2 - name","name":"series2name","rank":9,"editor":"DynamicValue","value":"text","default_val":"Series 2","optional":true},"AWy":{"caption":"Series 2 - point color","name":"series2color","rank":14,"editor":"Color","default_val":"rgba(51, 181, 229, 1)","optional":true},"AWz":{"caption":"Series 2 - point border color","name":"series2_point_border_color","rank":15,"editor":"Color","default_val":"rgba(51, 179, 230, 0.23)","optional":true},"AXA":{"caption":"Series 2 - point style","name":"series2_point_style","rank":13,"editor":"Dropdown","default_val":"circle"},"AXB":{"caption":"Series 2 - x-values","name":"series2xvalues","rank":10,"editor":"DynamicValue","value":"text","optional":true},"AXC":{"caption":"Series 2 - y-values","name":"series2yvalues","rank":11,"editor":"DynamicValue","value":"text","optional":true},"AXD":{"caption":"Series 2 - radius values","name":"series2radiusvalues","rank":12,"editor":"DynamicValue","value":"text","optional":true}
265,"AYE":{"caption":"ℹ️ Add series names and data values below.  Each data point should be separated by comma and space and can be dynamic (e.g. \"Do a Search for\")","name":"ℹ️_add_series_names,_colors,_and_data_values_below.__each_data_point_should_be_separated_by_comma_and_space_and_can_be_dynamically_(e.g._\"do_a_search_for\")","rank":1,"editor":"Label"},"AYT":{"caption":"Chart Padding","name":"chart_padding","rank":27,"editor":"DynamicValue","value":"number","default_val":10},"AYU":{"caption":"⚠️ If data points get cut of near edges of the chart element, increase the Chart Padding below","name":"⚠️_if_data_points_get_cut_of_near_edges_of_the_chart_element,_increase_the_chart_padding_below","rank":26,"editor":"Label"},"AZg":{"caption":"Legend Color Style","name":"legend_color_style","rank":19,"editor":"Dropdown","default_val":"Circle"},"AsF":{"caption":"Thousand Separator Y","name":"thousand_separator_y","rank":21,"editor":"DynamicValue","value":"text","optional":true,"default_val":","},"Atp":{"caption":"Hide Overlap'd Labels","name":"hide_overlapped_labels","rank":55,"editor":"DynamicValue","value":"boolean","default_val":false},"Atq":{"caption":"Hide if R less than","name":"hide_if_r_less_than","rank":56,"editor":"DynamicValue","value":"number","optional":true},"Atr":{"caption":"Draggable Values?","name":"draggable_values","rank":24,"editor":"DynamicValue","value":"boolean","default_val":false},"AuE":{"caption":"Drag Data Round","name":"drag_data_round","rank":25,"editor":"DynamicValue","value":"number","default_val":1,"optional":true}},"states":{"AFq":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"number"},"AFr":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AFs":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AGA":{"caption":"Clicked Item Radius Value","name":"clicked_item_radius_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKM":{"caption":"Hovered Item X Value","name":"hovered_item_x_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKN":{"caption":"Hovered item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKO":{"caption":"Hovered Item Radius Value","name":"hovered_item_radius_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKP":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AKQ":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Ats":{"caption":"Currently Dragging","name":"currently_dragging","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Att":{"caption":"Dragged Item Data Series Name","name":"dragged_item_data_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Atu":{"caption":"Dragged Item Index Number","name":"dragged_item_index_number","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Atv":{"caption":"Dragged Item Ending Y Value","name":"dragged_item_ending_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Atw":{"caption":"Dragged Item Ending X Value ","name":"dragged_item_ending_x_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Atx":{"caption":"Dragged Item Ending R Value","name":"dragged_item_ending_r_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Aty":{"caption":"Dragged Item -  all Y Values of this Serie","name":"dragged_item_all_series_values_y","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Atz":{"caption":"Dragged Item -  all X Values of this Serie","name":"dragged_item_all_series_values_x","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AuA":{"caption":"Dragged Item -  all R Values of this Serie","name":"dragged_item_all_series_values_r","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AuB":{"caption":"Dragged Item Starting Y Value","name":"dragged_item_starting_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AuC":{"caption":"Dragged Item Starting X Value","name":"dragged_item_starting_x_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AuD":{"caption":"Dragged Item Starting R Value","name":"dragged_item_starting_r_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AFN":{"caption":"Chart Value Clicked","name":"chart_value_clicked"}},"actions":{"AFD":{"caption":"Add/Update a Data Series","code":{"fn":"function(instance,properties,context){let numAttempts=0;function mainAddSeries(){if(!(numAttempts>15)){if(!instance.data.chart)return numAttempts++,void setTimeout(mainAddSeries,750);instance.data.createPointArray?addSeries():setTimeout(addSeries,1500)}function addSeries(){let seriesArray=[],pointColorsArray,pointBorderColorsArray;instance.data.createPointArray(properties.xValues,properties.yValues,properties.radiusValues,seriesArray,properties.point_labels),properties.point_colors&&(point
265ColorsArray=instance.data.splitTextOnCommas(properties.point_colors)),properties.point_border_colors&&(pointBorderColorsArray=instance.data.splitTextOnCommas(properties.point_border_colors)),instance.data.pushDataset(properties.series_name,seriesArray,properties.series_color,properties.point_border_color,properties.point_style,properties.display_data_labels,pointColorsArray,pointBorderColorsArray),instance.data.updateChartDatasets(),instance.data.chart.update()}}mainAddSeries()}","add_debugger":false},"fields":{"AFE":{"caption":"Y-Values (comma-separated numbers)","name":"yValues","rank":4,"editor":"DynamicValue","value":"text"},"AFF":{"caption":"X-Values (comma-separated numbers)","name":"xValues","rank":3,"editor":"DynamicValue","value":"text"},"AFG":{"caption":"Series Name","name":"series_name","rank":1,"editor":"DynamicValue","value":"text"},"AFH":{"caption":"Series Point Color","name":"series_color","rank":11,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AFI":{"caption":"Point Style","name":"point_style","rank":10,"editor":"Dropdown","default_val":"circle"},"AFJ":{"caption":"Point Border Color","name":"point_border_color","rank":12,"editor":"Color","default_val":"rgba(51, 179, 230, 0.73)"},"AFv":{"caption":"Radius-Values (comma-separated numbers)","name":"radiusValues","rank":5,"editor":"DynamicValue","value":"text"},"AOL":{"caption":"Display Data Label","name":"display_data_label","rank":2,"editor":"DynamicValue","value":"boolean","optional":false,"default_val":false},"ARW":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":0,"editor":"Label"},"ARX":{"caption":"------------------------ Point Style Settings -----------------------","name":"------------------------_point_style_settings_-----------------------","rank":9,"editor":"Label"},"AsE":{"caption":"Point Labels","name":"point_labels","rank":6,"editor":"DynamicValue","value":"text","optional":true},"Atm":{"caption":"Optional: Point Colors (if different color per point in series)","name":"point_colors","rank":7,"editor":"DynamicValue","value":"text","optional":true},"Atn":{"caption":"Optional: Point Border Colors (if different color per point in series)","name":"point_border_colors","rank":8,"editor":"DynamicValue","value":"text","optional":true},"Ato":{"caption":"Display Data Labels?","name":"display_data_labels","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AFL":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.datasets.find((element=>element.label==properties.series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update()}else console.log(\"The Chart you are trying to update is not visible on the page\")}"},"fields":{"AFM":{"caption":"Series Name","name":"series_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AOP":{"caption":"Remove all Data Series (Clear Chart)","code":{"fn":"function(instance,properties,context){if(instance.data.chart){for(;instance.data.datasets.length>0;)instance.data.datasets.pop();for(;instance.data.chart.data.datasets.length>0;)instance.data.chart.data.datasets.pop(),instance.data.chart.update()}else console.log(\"The Chart you are trying to update is not visible on the page\")}"}}},"code":{"initialize":{"fn":"function(instance,context){function loadScriptOnce(src){if(!document.querySelector(`script[src=\"${src}\"]`)){const script=document.createElement(\"script\");script.src=src,script.defer=!0,document.head.appendChild(script)}}loadScriptOnce(\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.bundle.min.js\"),instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'>
265<canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);function updateChartDatasets(){let i;for(instance.data.chart.data.datasets=[],i=0;i<instance.data.datasets.length;i++)instance.data.chart.data.datasets.push(instance.data.datasets[i])}instance.data.ctxChartState=chartcanvas2.getContext(\"2d\"),instance.data.datasets=[],instance.data.updateChartDatasets=updateChartDatasets}"},"update":{"fn":"function(instance,properties,context){Chart.plugins.unregister(ChartDataLabels),$(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height();$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+12,top:e.clientY-divHeight/2,zIndex:1e21})}));let customTooltip=!1;function reduceOpacity(originalRGBAColor){let stringlength=originalRGBAColor.length-1,colorArray=(originalRGBAColor=originalRGBAColor.substring(5,stringlength)).split(\", \"),newOpacity=.5*colorArray[3],result;return\"rgba(\"+colorArray[0]+\", \"+colorArray[1]+\", \"+colorArray[2]+\", \"+newOpacity+\")\"}if(null!=properties.custom_tooltip_id&&(customTooltip=!0,$(\"#\"+properties.custom_tooltip_id).fadeOut(1)),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas,ctxchart=document.getElementById(instance.data.uniqueChartId).getContext(\"2d\");let chartType,legendState,showLegend;function splitTextOnCommas(text){return text.split(\",\").map((item=>item.trim()))}function createPointArray(xString,yString,radiusString,outputArray,labelString){let xArray,yArray,radiusArray,labelArray;if(null!=xString&&(xArray=xString.split(\",\")),null!=yString&&(yArray=yString.split(\",\")),null!=radiusString&&(radiusArray=radiusString.split(\",\")),null!=labelString&&(labelArray=labelString.split(\", \")),null!=xArray&&null!=yArray)for(let i=0;i<xArray.length;i++){let nextPoint={x:xArray[i],y:yArray[i],r:parseInt(radiusArray[i]),...null!=labelString&&{label:labelArray[i]}};outputArray.push(nextPoint)}}\"Don't Show Legend\"==properties.showLegend?showLegend=!1:(legendState=properties.showLegend.toLowerCase(),showLegend=!0),instance.data.splitTextOnCommas=splitTextOnCommas,instance.data.createPointArray=createPointArray;let series1array=[],series2array=[],arrayofxvalues,yMin,yMax;instance.data.createPointArray(properties.series1xvalues,properties.series1yvalues,properties.series1radiusvalues,series1array),instance.data.createPointArray(properties.series2xvalues,properties.series2yvalues,properties.series2radiusvalues,series2array);let allYValuesArray=series1array,chartLabelsOn=[ChartDataLabels];instance.data.horizontalGridlineColor=\"#E0E0E0\",properties.showHorizontalGridlines||(instance.data.horizontalGridlineColor=\"rgba(0,0,0,0)\"),instance.data.verticalGridlineColor=\"#E0E0E0\",properties.showVerticalGridlines||(instance.data.verticalGridlineColor=\"rgba(0,0,0,0)\");let horizDashedGridlines=[];properties.horizontal_dashed_gridlines&&(horizDashedGridlines=[8,4]);let vertDashedGridlines=[];properties.vertical_dashed_gridlines&&(vertDashedGridlines=[8,4]);var chart=new Chart(instance.data.ctxChartState,{plugins:chartLabelsOn,type:\"bubble\",data:{labels:undefined,datasets:[{hitRadius:1,borderWidth:properties.point_border_width,borderColor:properties.point_border_color,pointStyle:properties.point_style,fill:function(value){return value=!1,false},label:properties.series1name,backgroundColor:function(value){return value=properties.series1color}}]},options:{animation:{duration:0},dragData:properties.draggable_values,dragX:properties.draggable_values,dragDataRound:properties.drag_data_round,onDragStart:function(e,element){instance.publishState(\"dragged_item_starting_y_value\",instance.data.datasets[element._datasetIndex].data[element._index].y),instance.publishState(\"dragged_item_starting_x_value\",instance.data.datasets[element._datasetIndex].data[element._index].x),instance.publishState(\"dragged_item_starting_r_value\",instance.data.datasets[element._datasetIndex].data[element._index].r)},dragDataRound:properties.drag_data_round,onDrag:function(e,datasetIndex,index,value){let draggedItemAllSeriesValues=instance.data.datasets[datasetIndex].data,draggedItemAllSeriesValuesX=[],draggedItemAllSeriesValuesY=[],draggedItemAllSeriesValuesR=[];for(i=0;i<draggedItemAllSeriesValues.length;i++)\"\"!=draggedItemAllSeriesValues[i].x&&\" \"!=draggedItemAllSeriesValues[i].x?draggedItemAllSeriesValuesX.push(draggedItemAllSeriesValues[i].x):draggedItemAllSeriesValuesX.push(0),\"\"!=draggedItemAllSeriesValues[i].y&&\" \"!=draggedItemAllSeriesValues[i].y?draggedItemAllSeriesValuesY.push(draggedItemAllSeriesValues[i].y):draggedItemAllSeriesValuesY.push(0),\"\"!=draggedItemAllSeriesValues[i].r&&\" \"!=draggedItemAllSeriesValues[i].r?draggedItemAllSeriesValuesR.push(draggedItemAllSeriesValues[i].r):draggedItemAllSeriesValuesR.push(0);instance.publishState(\"currently_dragging\",!0),instance.publishState(\"dragged_item_data_series_name\",instance.data.datasets[datasetIndex].label),instance.publishState(\"dragged_item_index_number\",index+1),instance.publishState(\"dragged_item_ending_y_value\",value.y),instance.publishState(\"dragged_item_ending_x_value\",value.x),instance.publishState(\"dragged_item_ending_r_value\",value.r),instance.publishState(\"dragged_item_all_series_values_y\",draggedItemAllSeriesValuesY),instance.publishState(\"dragged_item_all_series_values_x\",draggedItemAllSeriesValuesX),instance.publishState(\"dragged_item_all_series_values_r\",draggedItemAllSeriesValuesR)},onDragEnd:function(e,datasetIndex,index,value){let draggedItemAllSeriesValues=instance.data.datasets[datasetIndex].data,draggedItemAllSeriesValuesX=[],draggedItemAllSeriesValuesY=[],draggedItemAllSeriesValuesR=[];for(i=0;i<draggedItemAllSeriesValues.length;i++)\"\"!=draggedItemAllSeriesValues[i].x&&\" \"!=draggedItemAllSeriesValues[i].x?draggedItemAllSeriesValuesX.push(draggedItemAllSeriesValues[i].x):draggedItemAllSeriesValuesX.push(0),\"\"!=draggedItemAllSeriesValues[i].y&&\" \"!=draggedItemAllSeriesValues[i].y?draggedItemAllSeriesValuesY.push(draggedItemAllSeriesValues[i].y):draggedItemAllSeriesValuesY.push(0),\"\"!=draggedItemAllSeriesValues[i].r&&\" \"!=draggedItemAllSeriesValues[i].r?draggedItemAllSeriesValuesR.push(draggedItemAllSeriesValues[i].r):draggedItemAllSeriesValuesR.push(0);instance.publishState(\"currently_dragging\",!1),instance.publishState(\"dragged_item_data_series_name\",instance.data.datasets[datasetIndex].label),instance.publishState(\"dragged_item_index_number\",index+1),instance.publishState(\"dragged_item_ending_y_value\",value.y),instance.publishState(\"dragged_item_ending_x_value\",value.x),instance.publishState(\"dragged_item_ending_r_value\",value.r),instance.publishState(\"dragged_item_all_series_values_y\",draggedItemAllSeriesValuesY),instance.publishState(\"dragged_item_all_series_values_x\",draggedItemAllSeriesValuesX),instance.publishState(\"dragged_item_all_series_values_r\",draggedItemAllSeriesValuesR),instance.triggerEvent(\"chart_value_dragged\",(function(err){})),instance.data.justDragged=!0},plugins:{crosshair:!1},onHover:function(event,elements){if($(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),elements[0]){var activePoint=chart.getElementAtEvent(event),clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._view.backgroundColor;let radius_value;null!=activePoint[0].$previousStyle&&(series_color=activePoint[0].$previousStyle.backgroundColor);let valueX=value.x,valueY=value.y,valueR=value.r;\"\"==valueX&&(valueX=0),\"\"==valueY&&(valueY=0),\"\"==valueR&&(valueR=0),instance.publishState(\"hovered_item_x_value\",valueX),instance.publishState(\"hovered_item_y_value\",valueY),instance.publishState(\"hovered_item_radius_value\",valueR),instance.publishState(\"hovered_item_series_name\",series_name),instance.publishState(\"hovered_item_series_color\",series_color),customTooltip&&null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+properties.custom_tooltip_id).fadeIn(250),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\")}else $(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_hovered\",(function(err){}))}
265,legend:{display:showLegend,position:legendState,labels:{usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}},layout:{padding:{right:properties.chart_padding,left:properties.chart_padding,top:properties.chart_padding,bottom:properties.chart_padding}},maintainAspectRatio:!1,scales:{yAxes:[{stacked:!1,gridLines:{color:\"rgba(0,0,0,0)\",zeroLineColor:\"rgba(0,0,0,0)\",tickMarkLength:0,borderDash:horizDashedGridlines,drawBorder:!1},ticks:{maxTicksLimit:properties.max_y_ticks,padding:7,display:!1,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callback:function(value,index,values){let yLabel=value,originalYLabel=value;return value<1&&value>-1&&(yLabel=value.toPrecision(1)),value>1&&value<2&&(yLabel=value.toPrecision(2)),yLabel=yLabel.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,null!==properties.thousand_separator_y?properties.thousand_separator_y:\"\")),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),yLabel}}}],xAxes:[{stacked:!1,gridLines:{color:properties.vert_gridline_color,zeroLineColor:properties.horiz_zero_line_color,tickMarkLength:0,borderDash:vertDashedGridlines,drawBorder:!1},ticks:{maxTicksLimit:properties.max_x_ticks,padding:7,display:properties.show_x_tick_labels,fontColor:properties.tick_label_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:properties.tick_label_font_size,callback:function(value,index,values){let originalXLabel=value,xLabel=value;return value<1&&value>-1&&(xLabel=value.toPrecision(1)),value>1&&value<2&&(xLabel=value.toPrecision(2)),xLabel=xLabel.toString(),null!=properties.thousands_separator&&(xLabel=xLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,null!==properties.thousands_separator?properties.thousands_separator:\"\")),properties.xAxisUnitBeforeNumber&&(xLabel=properties.xAxisUnitBeforeNumber+xLabel),properties.xAxisUnitAfterNumber&&(xLabel+=properties.xAxisUnitAfterNumber),xLabel}}}]},tooltips:{enabled:!customTooltip,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{label:function(tooltipItem,data){let label=\"\";data.datasets[tooltipItem.datasetIndex].label&&(label+=data.datasets[tooltipItem.datasetIndex].label,label+=\": \");let currentLabel,commaYLabel=tooltipItem.yLabel.toString();null!=properties.thousands_separator&&(commaYLabel=commaYLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,null!==properties.thousand_separator_y?properties.thousand_separator_y:\"\"));let currentXLabel,commaXLabel=tooltipItem.xLabel.toString();null!=properties.thousands_separator&&(commaXLabel=commaXLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,null!==properties.thousands_separator?properties.thousands_separator:\"\"));let currentRLabel,commaRLabel=data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index].r.toString();return null!=properties.thousands_separator&&(commaRLabel=commaRLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,null!==properties.thousands_separator?properties.thousands_separator:\"\")),properties.unit_before_y&&(commaYLabel=properties.unit_before_y+commaYLabel),label+=commaYLabel,properties.unit_after_x&&(label+=properties.unit_after_x),label+=\", \",properties.unit_before_x&&(commaXLabel=properties.unit_before_x+commaXLabel),properties.unit_after_y&&(commaXLabel+=properties.unit_after_y),label+=commaXLabel,label+=\", \",properties.unit_before_r&&(commaRLabel=properties.unit_before_r+commaRLabel),properties.unit_after_r&&(commaRLabel+=properties.unit_after_r),label+=commaRLabel,label}}}}});null!=properties.yMaxNum&&(chart.options.scales.yAxes[0].ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scales.yAxes[0].ticks.min=properties.yMinNum),null!=properties.xMinNum&&(chart.options.scales.xAxes[0].ticks.min=properties.xMinNum),null!=properties.xMaxNum&&(chart.options.scales.xAxes[0].ticks.max=properties.xMaxNum);var chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);function pushDataset(dataLabel,newData,newColor,borderColor,pointStyle,displayDataLabel,pointsColor,borderColorsArray){let myDataset={borderWidth:properties.point_border_width,borderColor:Array.isArray(borderColorsArray)&&borderColorsArray.length>0?borderColorsArray:borderColor,backgroundColor:Array.isArray(pointsColor)&&pointsColor.length>0?pointsColor:newColor,pointStyle:pointStyle,label:dataLabel,data:newData,fill:function(value){return value=!1,false},datalabels:{color:function(value){return value=\"Default (Same as Series Color)\"==properties.font_color_setting?newColor:properties.font_color_optional},align:properties.alignment,anchor:\"end\",font:{family:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],size:properties.font_size},clamp:\"true\",rotation:properties.angle,display:displayDataLabel,formatter:function(value){let resultingLabel=\"\",resultingX=\"\";properties.unit_before_x&&(resultingX+=properties.unit_before_x),resultingX+=value.x,properties.unit_after_x&&(resultingX+=properties.unit_after_x);let resultingY=\"\";properties.unit_before_y&&(resultingY+=properties.unit_before_y),resultingY+=value.y,properties.unit_after_y&&(resultingY+=properties.unit_after_y);let resultingR=\"\",resultingPointLabel,labelArray;
265if(properties.unit_before_r&&(resultingR+=properties.unit_before_r),resultingR+=value.r,properties.unit_after_r&&(resultingR+=properties.unit_after_r),null!=newData[0].label&&null!=value.label&&(resultingPointLabel=value.label),properties.data_label_text&&(labelArray=properties.data_label_text.split(\", \")),properties.data_label_text)for(;labelArray.length>0;)\"seriesName\"==labelArray[0]&&(resultingLabel+=dataLabel),\"x\"==labelArray[0]&&(resultingLabel+=resultingX),\"y\"==labelArray[0]&&(resultingLabel+=resultingY),\"r\"==labelArray[0]&&(resultingLabel+=resultingR),\"pointLabel\"==labelArray[0]&&(resultingLabel+=resultingPointLabel),labelArray.shift();return resultingLabel}}};if(instance.data.datasets.find((element=>element.label==dataLabel))){let foundSeries=instance.data.datasets.find((element=>element.label==dataLabel));null!=foundSeries&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1)}instance.data.datasets.push(myDataset)}function removeOldSeriesProperty(seriesName){let foundSeries_originalproperty=instance.data.datasets.find((element=>element.label==seriesName));null!=foundSeries_originalproperty&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries_originalproperty),1)}function updateStyle(chart){chart.options.scales.yAxes[0].gridLines.zeroLineColor=properties.vert_zero_line_color,chart.options.scales.yAxes[0].ticks.display=properties.show_y_tick_labels,chart.options.scales.yAxes[0].gridLines.color=properties.horiz_gridline_color}function animate1(){instance.data.updateChartDatasets(),updateStyle(chart),instance.data.chart.update()}chartContainer.parentNode.removeChild(chartContainer),(chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId)).style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",instance.data.height=properties.bubble.height(),null!=properties.x_ticks_rotation&&(chart.options.scales.xAxes[0].ticks.minRotation=properties.x_ticks_rotation,chart.options.scales.xAxes[0].ticks.maxRotation=properties.x_ticks_rotation),instance.data.pushDataset=pushDataset,properties.series1xvalues&&(removeOldSeriesProperty(instance.data.series1_oldname),pushDataset(properties.series1name,series1array,properties.series1color,properties.point_border_color,properties.point_style),instance.data.series1_oldname=properties.series1name),properties.series2xvalues&&(removeOldSeriesProperty(instance.data.series2_oldname),pushDataset(properties.series2name,series2array,properties.series2color,properties.series2_point_border_color,properties.series2_point_style),instance.data.series2_oldname=properties.series2name),document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(event);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label;let valueX=value.x,valueY=value.y,valueR=value.r;\"\"==valueX&&(valueX=0),\"\"==valueY&&(valueY=0),\"\"==valueR&&(valueR=0),instance.publishState(\"clicked_item_x_value\",valueX),instance.publishState(\"clicked_item_y_value\",valueY),instance.publishState(\"clicked_item_radius_value\",valueR),instance.publishState(\"clicked_item_series_name\",series_name)}series_name&&instance.triggerEvent(\"chart_value_clicked\",(function(err){}))},instance.data.chart=chart,setTimeout(animate1,450),instance.data.chart.update()}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Bubble Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"AKC":{"display":"Chart - Boxplot","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AIi":{"caption":"X Axis Values (comma-separated strings or #s)","default_val":"January, February, March","editor":"DynamicValue","is_list":false,"name":"xvalues","rank":1,"value":"text"},"AIj":{"caption":"Series 1 - Y-Values (SEMI-COLON-separated numbers)","default_val":"100, 200, 300; 200, 300, 400; 300, 400, 500; 200, 300, 400; 300, 400, 500","editor":"DynamicValue","name":"series1","rank":4,"value":"text","optional":true},"AIm":{"caption":"Series 1 - Color","default_val":"rgba(51, 181, 229, 1)","editor":"Color","name":"series1color","rank":3},"AIn":{"caption":"Series 1 - Name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":2,"value":"text"},"AIt":{"caption":"Y Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":18,"value":"text"},"AIu":{"caption":"Y Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":19,"value":"text"},"AIv":{"caption":"Y Axis - Max Value","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":17,"value":"number"},"AIw":{"caption":"Y Axis - Min Value","editor":"DynamicValue","name":"yMinNum","optional":true,"rank":16,"value":"number"},"AIx":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":11,"value":"text","default_val":"Top"},"AJF":{"caption":"Show Y Tick Labels?","name":"show_y_tick_labels","rank":21,"editor":"DynamicValue","value":"boolean","default_val":true},"AJG":{"caption":"Show X Tick Labels?","name":"show_x_tick_labels","rank":20,"editor":"DynamicValue","value":"boolean","default_val":true},"AJH":{"caption":"------------------- Axis and Gridline Settings -------------------","name":"axis_and_gridline_settings","rank":15,"editor":"Label"},"AJI":{"caption":"----------------------------- Chart Data -----------------------------","name":"-------------------_series_values_(can_also_add_infinite_series_via_action)_-------------------","rank":0,"editor":"Label"},"AJJ":{"caption":"------------------------- General Settings -------------------------","name":"-------------------_main_fields_-------------------","rank":9,"editor":"Label"},"AJK":{"caption":"X Zero Line Width","name":"x_zero_line_width","rank":28,"editor":"DynamicValue","value":"number","default_val":1},"AJL":{"caption":"Y Zero Line Width","name":"y_zero_line_width","rank":29,"editor":"DynamicValue","value":"number","default_val":1},"AJM":{"caption":"X = Zero Line Color","name":"x_zero_line_color","rank":30,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AJN":{"caption":"Y = Zero Line Color","name":"y_zero_line_color","rank":31,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AJO":{"caption":"Vert Gridlines Color","name":"vert_gridlines_color","rank":24,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AJP":{"caption":"Horiz Gridlines Color","name":"horiz_gridlines_color","rank":25,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AJQ":{"caption":"Boxplot Border Width","name":"border_width","rank":35,"editor":"DynamicValue","value":"number","default_val":3},"AJV":{"caption":"Thousands Separator","name":"thousands_separator","rank":13,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"AJW":{"caption":"Horiz. Dash Gridlines","name":"horizontal_dashed_gridlines","rank":26,"editor":"DynamicValue","value":"boolean","default_val":false},"AJX":{"caption":"Vert. Dash Gridlines","name":"vertical_dashed_gridlines","rank":27,"editor":"DynamicValue","value":"boolean","default_val":false},"AJe":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":14,"editor":"DynamicValue","value":"text","optional":true},"AJj":{"caption":"--------------------- Boxplot Style Settings ---------------------","name":"---------------------------Line---------------------------","rank":34,"editor":"Label"},"AJl":{"caption":"Boxplot Width","name":"bar_width","rank":36,"editor":"DynamicValue","value":"number","default_val":0.7},"AJm":{"caption":"Category Width","name":"category_width","rank":37,"editor":"DynamicValue","value":"number","default_val":0.8},"AKD":{"caption":"Chart Type","name":"chart_type_boxplot","rank":10,"editor":"Dropdown","value":"text","default_val":"Boxplot"},"AKn":{"caption":"Max X Ticks","name":"max_x_ticks","rank":32,"editor":"DynamicValue","value":"number","default_val":11},"AKo":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":33,"editor":"DynamicValue","value":"number","default_val":11},"AVp":{"caption":"Tick Label Color","name":"tick_label_color","rank":22,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AVq":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":23,"editor":"DynamicValue","value":"number","default_val":12},"AXE":{"caption":"Series 2 - Name","name":"series2name","rank":5,"editor":"DynamicValue","value":"text","optional":false,"default_val":"Series 2"},"AXF":{"caption":"Series 2 - Color","name":"series2color","rank":6,"editor":"Color","default_val":"rgba(0, 200, 81, 1)"},"AXG":{"caption":"Series 2 - Y-Values (SEMI-COLON-separated numbers)","name":"series2","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AXH":{"caption":"ℹ️ Add more series to the chart using the workflow action called \"Add/update a data series\"","name":"***_if_you_need_to_add_more_series_to_the_chart,_you_can_add_infinite_series_via_w
265orkflow_actions","rank":8,"editor":"Label"},"AZh":{"caption":"Legend Color Style","name":"legend_color_style","rank":12,"editor":"Dropdown","default_val":"Circle"}},"states":{"AJn":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"text"},"AJo":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AJp":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AJq":{"caption":"Hovered Item X Value","name":"hovered_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AJr":{"caption":"Hovered Item Y Min","name":"hovered_item_y_min","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AJs":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AJt":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AJu":{"caption":"Clicked Item Series Color","name":"clicked_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AJv":{"caption":"Clicked Item Other Series Values","name":"click_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AJw":{"caption":"Clicked Item Other Series Colors","name":"clicked_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AJx":{"caption":"Clicked Item Other Series Names","name":"clicked_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AJy":{"caption":"Hovered Item Other Series Values","name":"hovered_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AJz":{"caption":"Hovered Item Other Series Colors","name":"hovered_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AKA":{"caption":"Hovered Item Other Series Names","name":"hovered_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AKE":{"caption":"Hovered Item Y Q1","name":"hovered_item_y_q1","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKF":{"caption":"Hovered Item Y Median","name":"hovered_item_y_median","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKG":{"caption":"Hovered Item Y Q3","name":"hovered_item_y_q3","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AKH":{"caption":"Hovered Item Y Max","name":"hovered_item_y_max","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AIg":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"AIh":{"caption":"Chart Value Hovered","name":"chart_value_hovered"}},"actions":{"AIZ":{"caption":"Add a Data Series","code":{"fn":"function(instance,properties,context){let numAttempts=0;function mainAddSeries(){if(numAttempts>15)console.log(\"The Chart you are trying to update is not visible on the page\");else{if(!instance.data.chart)return numAttempts++,void setTimeout(mainAddSeries,750);addSeries()}function addSeries(){if(instance.data.convertStringToArrayOfArrays){let newSeries=instance.data.convertStringToArrayOfArrays(properties.yValues);instance.data.pushDataset(properties.series_name,newSeries,properties.series_color),instance.data.updateChartDatasets(),instance.data.chart.update()}else setTimeout(addSeries,1500)}}mainAddSeries()}"},"fields":{"AIa":{"caption":"Series Name","name":"series_name","rank":0,"editor":"DynamicValue","value":"text"},"AIb":{"caption":"Series Color","name":"series_color","rank":1,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AIc":{"caption":"Series Y Values","name":"yValues","rank":2,"editor":"DynamicValue","value":"text"}}},"AIe":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.chart.data.datasets.find((element=>element.label==properties.data_series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update(
265)}else console.log(\"The Chart you are trying to update is not visible on the page\")}"},"fields":{"AIf":{"caption":"Data Series Name","name":"data_series_name","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":"function(instance,context){function forceUpdate(){document.getElementById(instance.data.custom_tooltip_id)&&(document.getElementById(instance.data.custom_tooltip_id).style.display=\"none\")}instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy),instance.data.chartcanvas2=document.getElementById(instance.data.uniqueChartId),instance.data.ctxChartState=instance.data.chartcanvas2.getContext(\"2d\"),instance.data.datasets=[],setTimeout(forceUpdate,200)}"},"update":{"fn":"function(instance,properties,context){Chart.plugins.unregister(ChartDataLabels);var script=document.createElement(\"script\");script.src=\"https://9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1626696512600x242171415776436740/bpcharts232.js\",script.addEventListener(\"load\",(function(){null!=properties.custom_tooltip_id&&(instance.data.custom_tooltip_id=properties.custom_tooltip_id);let chartType=properties.chart_type_boxplot.toLowerCase();function reduceOpacity(originalRGBAColor){const rgbaValues=originalRGBAColor.match(/\\d+(\\.\\d+)?/g),r=undefined,g=undefined,b=undefined,a=undefined,newA=undefined,newRgbaColor=undefined;return`rgba(${parseInt(rgbaValues[0],10)},${parseInt(rgbaValues[1],10)},${parseInt(rgbaValues[2],10)},${.5*parseFloat(rgbaValues[3])})`}if(\"horizontal boxplot\"==chartType&&(chartType=\"horizontalBoxplot\"),$(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height();$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+12,top:e.clientY-divHeight/2,zIndex:1e21})})),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas=document.getElementById(instance.data.uniqueChartId);instance.data.mainChartCanvas=chartcanvas;var ctxchart=chartcanvas.getContext(\"2d\");let legendState,showLegend;function createDataArray(xString){let outputArray,xArray;return null!=xString&&(xArray=xString.split(\",\")),xArray}\"Don't Show Legend\"==properties.showLegend?showLegend=!1:(legendState=properties.showLegend.toLowerCase(),showLegend=!0),instance.data.createDataArray=createDataArray;let listofxvalues,arrayofxvalues=createDataArray(properties.xvalues),chartLabelsOn,series1array,series2array;function convertStringToArrayOfArrays(str){var arr=str.split(\";\").map((function(item){return item.trim()})),seriesArray=[];return $.each(arr,(function(k,v){var a=v.split(\",\").map((function(item){return parseFloat(item.trim(),10)}));seriesArray.push(a)})),seriesArray}properties.show_data_labels&&[ChartDataLabels]&&(chartLabelsOn=[ChartDataLabels]),instance.data.convertStringToArrayOfArrays=convertStringToArrayOfArrays,properties.series1&&(series1array=convertStringToArrayOfArrays(properties.series1)),properties.series2&&(series2array=convertStringToArrayOfArrays(properties.series2)),instance.data.horizontalGridlineColor=properties.horiz_gridlines_color,instance.data.verticalGridlineColor=properties.vert_gridlines_color;let horizDashed=[],vertDashed=[];properties.horizontal_dashed_gridlines&&(horizDashed=[8,4]),properties.vertical_dashed_gridlines&&(vertDashed=[8,4]);let customTooltip=!1,tooltipBackgroundColor,tooltipTitleColor,tooltipBodyColor;null!=properties.custom_tooltip_id&&(customTooltip=!0),customTooltip?(tooltipBackgroundColor=\"rgba(0, 0, 0, 0)\",tooltipTitleColor=\"rgba(0, 0, 0, 0)\",tooltipBodyColor=\"rgba(0, 0, 0, 0)\"):(tooltipBackgroun
265dColor=\"rgba(0, 0, 0, 0.8)\",tooltipTitleColor=\"#FFFFFF\",tooltipBodyColor=\"#FFFFFF\");let boxplotData={labels:arrayofxvalues,datasets:[]};instance.data.boxplotData=boxplotData;var chart=new Chart(instance.data.ctxChartState,{plugins:chartLabelsOn,type:chartType,data:boxplotData,options:{plugins:{crosshair:!1},responsive:!0,maintainAspectRatio:!1,legend:{display:showLegend,position:legendState,labels:{usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}},onHover:function(event,elements){$(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),customTooltip&&null!=document.getElementById(properties.custom_tooltip_id)&&elements[0]?($(\"#\"+properties.custom_tooltip_id).fadeIn(250),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\"):$(\"#\"+properties.custom_tooltip_id).fadeOut(100)},scales:{yAxes:[{gridLines:{borderDash:horizDashed,drawBorder:!1,color:instance.data.horizontalGridlineColor,zeroLineColor:properties.y_zero_line_color,zeroLineWi
265dth:properties.y_zero_line_width,tickMarkLength:0},ticks:{maxTicksLimit:properties.max_y_ticks,padding:7,display:properties.show_y_tick_labels,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callback:function(value,index,values){let yLabel=value,originalYLabel=value;return value<1&&value>-1&&0!=value&&(yLabel=value.toPrecision(1)),value>1&&value<2&&(yLabel=value.toPrecision(2)),yLabel=yLabel.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),yLabel}}}],xAxes:[{gridLines:{borderDash:vertDashed,drawBorder:!1,color:instance.data.verticalGridlineColor,zeroLineColor:properties.x_zero_line_color,tickMarkLength:0,zeroLineWidth:properties.x_zero_line_width},ticks:{maxTicksLimit:properties.max_x_ticks,padding:7,display:properties.show_x_tick_labels,fontColor:properties.tick_label_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:properties.tick_label_font_size,callback:function(value,index,values){let originalXLabel=value,xLabel=value;return value<1&&value>-1&&0!=value&&(xLabel=value.toPrecision(1)),value>1&&value<2&&(xLabel=value.toPrecision(2)),xLabel=xLabel.toString(),null!=properties.thousands_separator&&(xLabel=xLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(xLabel=properties.yAxisUnitBeforeNumber+xLabel),properties.yAxisUnitAfterNumber&&(xLabel+=properties.yAxisUnitAfterNumber),\"horizontalBar\"==chartType?xLabel:originalXLabel}}}]},tooltips:{displayColors:!customTooltip,backgroundColor:tooltipBackgroundColor,titleFontColor:tooltipTitleColor,bodyFontColor:tooltipBodyColor,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{boxplotLabel:function(item,data,stats,hoveredOutlierIndex){let label=\"\";return label+=data.datasets[item.datasetIndex].label,label+=\": \",label+=item.label,instance.publishState(\"hovered_item_x_value\",item.label),instance.publishState(\"hovered_item_series_name\",data.datasets[item.datasetIndex].label),instance.publishState(\"hovered_item_y_min\",stats.min),instance.publishState(\"hovered_item_y_q1\",stats.q1),instance.publishState(\"hovered_item_y_median\",stats.median),instance.publishState(\"hovered_item_y_q3\",stats.q3),instance.publishState(\"hovered_item_y_max\",stats.max),instance.publishState(\"hovered_item_series_color\",data.datasets[item.datasetIndex].borderColor),label+=\" (Min: \"+stats.min+\", Q1: \"+stats.q1+\", Median: \"+stats.median+\", Q3: \"+stats.q3+\", Max: \"+stats.max,label}}}}});function pushDataset(dataLabel,newData,newColor){let chart_type=properties.chart_type,customType,myDataset={data:newData,label:dataLabel,backgroundColor:reduceOpacity(newColor),borderWidth:properties.border_width,borderColor:newColor,pointBorderColor:\"#FFFFFF\",pointBorderWidth:1,pointRadius:properties.line_point_radius,pointHoverRadius:1.3*properties.line_point_radius,pointHitRadius:5,barPercentage:properties.bar_width,categoryPercentage:properties.category_width,datalabels:{color:function(value){return value=\"Default (Same as Series Color)\"!=properties.font_color_setting?properties.datalabel_font_color:newColor},align:\"end\",font:{family:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],size:properties.datalabel_size,weight:\"bold\"},anchor:properties.datalabel_anchor,formatter:function(value){let commaValue;return null!=properties.thousands_separator&&(commaValue=value.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.data_labels_unit_before&&(commaValue=properties.data_labels_unit_before+commaValue),properties.data_labels_unit_after&&(commaValue+=properties.data_labels_unit_after),commaValue},offset:properties.datalabel_offset,display:!0,borderWidth:\"1\",borderRadius:\"3\",borderColor:function(value){return value=\"rgba(0, 0, 0, 0)\"},backgroundColor:function(value){return value=properties.datalabel_background_color},padding:\"1\"}};if(instance.data.datasets.find((element=>element.label==dataLabel))){let foundSeries=instance.data.datasets.find((element=>element.label==dataLabel));null!=foundSeries&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1)}instance.data.datasets.push(myDataset)}function removeOldSeriesProperty(seriesName){let foundSeries_originalproperty=instance.data.datasets.find((element=>element.label==seriesName));null!=foundSeries_originalproperty&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries_originalproperty),1)}function updateChartDatasets(){let i;for(chart.data.datasets=[],i=0;i<instance.data.datasets.length;
265i++)chart.data.datasets.push(instance.data.datasets[i]),console.log(i),console.log(instance.data.datasets[i].borderColor),instance.data.datasets[i].backgroundColor=reduceOpacity(instance.data.datasets[i].borderColor)}instance.data.chartType=chartType,\"horizontalBoxplot\"!=chartType?(null!=properties.yMaxNum&&(chart.options.scales.yAxes[0].ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scales.yAxes[0].ticks.min=properties.yMinNum)):(null!=properties.yMaxNum&&(chart.options.scales.xAxes[0].ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scales.xAxes[0].ticks.min=properties.yMinNum)),instance.data.pushDataset=pushDataset,properties.series1&&(removeOldSeriesProperty(instance.data.series1_oldname),pushDataset(properties.series1name,series1array,properties.series1color),instance.data.series1_oldname=properties.series1name),properties.series2&&(removeOldSeriesProperty(instance.data.series2_oldname),pushDataset(properties.series2name,series2array,properties.series2color),instance.data.series2_oldname=properties.series2name),instance.data.updateChartDatasets=updateChartDatasets,updateChartDatasets(),document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(evt);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._model.backgroundColor;instance.publishState(\"clicked_item_x_value\",label),instance.publishState(\"clicked_item_y_value\",value),instance.publishState(\"clicked_item_series_name\",series_name),instance.publishState(\"clicked_item_series_color\",series_color);let remainingSeriesObjects=chart.data.datasets.slice();remainingSeriesObjects.splice(clickedDatasetIndex,1);let remainingSeriesValues=remainingSeriesObjects.map((a=>a.data[clickedElementindex]));instance.publishState(\"click_item_other_series_values\",remainingSeriesValues);let remainingSeriesColors=remainingSeriesObjects.map((a=>a.borderColor));instance.publishState(\"clicked_item_other_series_colors\",remainingSeriesColors);let remainingSeriesNames=remainingSeriesObjects.map((a=>a.label));instance.publishState(\"clicked_item_other_series_names\",remainingSeriesNames)}else null!=document.getElementById(properties.custom_tooltip_id)&&$(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_clicked\",(function(err){}))};var chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);chartContainer.parentNode.removeChild(chartContainer),(chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId)).style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",instance.data.chartcanvas2.height=properties.bubble.height(),instance.data.chartcanvas2.width=properties.bubble.width(),instance.data.chartcanvas2.style.height=properties.bubble.height().toString()+\"px\",instance.data.chartcanvas2.style.width=properties.bubble.width().toString()+\"px\",instance.data.height=properties.bubble.height(),instance.data.mainChartCanvas.style.borderRadius=properties.bubble.border_roundness(),instance.data.lineWidth=properties.border_width,instance.data.chart=chart,chart.update()})),document.head.appendChild(script)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Boxplot Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"ANb":{"display":"Chart - Candlestick/OHLC","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AMi":{"caption":"Series 1 - X-Values (comma-separated numbers)","default_val":"1, 2, 3","editor":"DynamicValue","is_list":false,"name":"series1xvalues","rank":35,"value":"text"},"AMj":{"caption":"Open (comma-separated numbers)","default_val":"3, 5, 4","editor":"DynamicValue","name":"series1openvalues","rank":36,"value":"text"},"AMk":{"caption":"Up Color","default_val":"rgba(0, 200, 81, 1)","editor":"Color","name":"up_color","rank":32},"AMl":{"caption":"Series - Name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":31,"value":"text"},"AMm":{"caption":"Y Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":15,"value":"text"},"AMn":{"caption":"Y Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":16,"value":"text"},"AMo":{"caption":"Y Axis - Max Value","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":8,"value":"number"},"AMp":{"caption":"Y Axis - Min Value","editor":"DynamicValue","name":"yMinNum","optional":true,"rank":7,"value":"number"},"AMq":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":2,"value":"text","default_val":"Don't Show Legend"},"AMt":{"caption":"Show Y Tick Labels?","name":"show_y_tick_labels","rank":18,"editor":"DynamicValue","value":"boolean","default_val":true},"AMu":{"caption":"Show X Tick Labels","name":"show_x_tick_labels","rank":17,"editor":"DynamicValue","value":"boolean","default_val":true},"AMv":{"caption":"X Axis - Min Value","name":"xMinNum","rank":9,"editor":"DynamicValue","value":"number","optional":true},"AMw":{"caption":"X Axis - Max Value","name":"xMaxNum","rank":10,"editor":"DynamicValue","value":"number","optional":true},"AMx":{"caption":"X Unit - Before","name":"xAxisUnitBeforeNumber","rank":13,"editor":"DynamicValue","value":"text","optional":true},"AMy":{"caption":"X Unit - After","name":"xAxisUnitAfterNumber","rank":14,"editor":"DynamicValue","value":"text","optional":true},"AMz":{"caption":"To add more dataset series, go to your workflow tab and choose the \"Add a Data Series Scatter/PointChart\" action!","name":"to_add_more_dataset_series,_go_to_your_workflow_tab_and_choose_the_\"add_a_data_series_scatter/pointchart\"_action!","rank":40,"editor":"Label"},"ANA":{"caption":"-------------------------- Data Series Values --------------------------- (You can also add infinite series via workflows) -----","name":"--------------------------_data_series_values_---------------------------_(you_can_also_add_infinite_series_via_workflows)_-----","rank":30,"editor":"Label"},"ANB":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":0,"editor":"Label"},"ANC":{"caption":"Thousands Separator","name":"thousands_separator","rank":3,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"AND":{"caption":"Point Border Width","name":"point_border_width","rank":5,"editor":"DynamicValue","value":"number","default_val":1},"ANG":{"caption":"Horiz. Dashed Gridlines?","name":"horizontal_dashed_gridlines","rank":20,"editor":"DynamicValue","value":"boolean","default_val":false},"ANH":{"caption":"Vert. Dashed Gridlines?","name":"vertical_dashed_gridlines","rank":21,"editor":"DynamicValue","value":"boolean","default_val":false},"ANI":{"caption":"Close (comma-separated list)","name":"series1closevalues","rank":37,"editor":"DynamicValue","value":"text","default_val":"10, 5, 20"},"ANJ":{"caption":"Custom Tooltip HTML ID","name":"custom_tooltip_id","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ANK":{"caption":"------------------------------- Axes Settings -------------------------","name":"--------------------------_axes_and_gridline_settings_---------------------_(you_can_also_add_infinite_series_via_w
265orkflows)_-----","rank":6,"editor":"Label"},"ANL":{"caption":"Horiz. Gridline Color","name":"horiz_gridline_color","rank":22,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ANM":{"caption":"Vert Gridline Color","name":"vert_gridline_color","rank":23,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ANN":{"caption":"----------------------------- Gridline Settings -----------------------","name":"-----------------------------Gridline----------------------","rank":19,"editor":"Label"},"ANO":{"caption":"X = 0 Line Color","name":"horiz_zero_line_color","rank":24,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ANP":{"caption":"Y = 0 Line Color","name":"vert_zero_line_color","rank":25,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"ANQ":{"caption":"Max X Ticks","name":"max_x_ticks","rank":26,"editor":"DynamicValue","value":"number","default_val":11},"ANR":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":27,"editor":"DynamicValue","value":"number","default_val":11},"ANc":{"caption":"High (comma-separated list)","name":"series1highvalues","rank":38,"editor":"DynamicValue","value":"text","default_val":"12, 20, 50"},"ANd":{"caption":"Low (comma-separated list)","name":"series1lowvalues","rank":39,"editor":"DynamicValue","value":"text","default_val":"1, 2, 3"},"ANe":{"caption":"Down Color","name":"down_color","rank":33,"editor":"Color","default_val":"rgba(255, 94, 94, 1)"},"ANf":{"caption":"Unchanged Color","name":"unchanged_color","rank":34,"editor":"Color","default_val":"rgba(173, 173, 173, 1)"},"ANg":{"caption":"Chart Type","name":"chart_type","rank":1,"editor":"Dropdown","default_val":"candlestick"},"ANh":{"caption":"X Axis - Date Format","name":"x_axis_date_format","rank":12,"editor":"DynamicValue","value":"text","default_val":"h:mma LLL d, yyyy"},"AVr":{"caption":"Tick Label Color","name":"tick_label_color","rank":28,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AVs":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":29,"editor":"DynamicValue","value":"number","default_val":12},"AWc":{"caption":"X Axis Equal Spacing","name":"x_axis_equal_spacing","rank":11,"editor":"DynamicValue","value":"boolean","default_val":false}},"states":{"ANS":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"date"},"ANT":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ANU":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ANV":{"caption":"Clicked Item Radius Value","name":"clicked_item_radius_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ANW":{"caption":"Hovered Item X Value","name":"hovered_item_x_value","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"ANX":{"caption":"Hovered item Open Value","name":"hovered_item_open_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ANY":{"caption":"Hovered Item High Value","name":"hovered_item_high_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"ANZ":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ANa":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AWf":{"caption":"Hovered Item Low Value","name":"hovered_item_low_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AWg":{"caption":"Hovered Item Close Value","name":"hovered_item_close_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AMh":{"caption":"Chart Value Clicked","name":"chart_value_clicked"}},"actions":{"AMX":{"caption":"Add a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){function addSeries(){let seriesArray=[];instance.data.createPointArray(properties.xValues,properties.yValues,properties.radiusValues,seriesArray),instance.data.pushDataset(properties.series_name,seriesArray,properties.series_color,properties.point_border_color,properties.point_style,properties.point_radius),instance.data.updateChartDatasets(),instance.data.chart.update(
265)}instance.data.createPointArray?addSeries():setTimeout(addSeries,1500)}else console.log(\"The Chart you are trying to update is not visible on the page\")}","add_debugger":false},"fields":{"AMY":{"caption":"Y-Values (comma-separated numbers)","name":"yValues","rank":5,"editor":"DynamicValue","value":"text"},"AMZ":{"caption":"X-Values (comma-separated numbers)","name":"xValues","rank":4,"editor":"DynamicValue","value":"text"},"AMa":{"caption":"Series Name","name":"series_name","rank":0,"editor":"DynamicValue","value":"text"},"AMb":{"caption":"Series Point Color","name":"series_color","rank":1,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AMc":{"caption":"Point Style","name":"point_style","rank":3,"editor":"Dropdown","default_val":"circle"},"AMd":{"caption":"Point Border Color","name":"point_border_color","rank":2,"editor":"Color","default_val":"rgba(51, 179, 230, 0.73)"},"AMe":{"caption":"Radius-Values (comma-separated numbers)","name":"radiusValues","rank":6,"editor":"DynamicValue","value":"text"}}},"AMf":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.datasets.find((element=>element.label==properties.series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update()}else console.log(\"The Chart you are trying to update is not visible on the page\")}"},"fields":{"AMg":{"caption":"Series Name","name":"series_name","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":"function(instance,context){function updateChartDatasets(){let i;for(instance.data.chart.data.datasets=[],i=0;i<instance.data.datasets.length;i++)instance.data.chart.data.datasets.push(instance.data.datasets[i])}function forceUpdate(){document.getElementById(instance.data.custom_tooltip_id)&&(document.getElementById(instance.data.custom_tooltip_id).style.display=\"none\")}$(document).ready((function(){instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")})),instance.data.datasets=[],instance.data.updateChartDatasets=updateChartDatasets,setTimeout(forceUpdate,200)}"},"update":{"fn":"function(instance,properties,context){Chart.plugins.unregister(ChartDataLabels),$(document).ready((function(){let openValuesArray=properties.series1openvalues.split(\", \"),closeValuesArray=properties.series1closevalues.split(\", \"),highValuesArray=properties.series1highvalues.split(\", \"),lowValuesArray=properties.series1lowvalues.split(\", \"),xTimeValuesArray=[16217424e5,16223472e5,1622952e6];properties.series1xvalues&&(xTimeValuesArray=properties.series1xvalues.split(\",\"));var barCount=openValuesArray.length;let horizDashedGridlines=[];properties.horizontal_dashed_gridlines&&(horizDashedGridlines=[8,4]);let vertDashedGridlines=[];properties.vertical_dashed_gridlines&&(vertDashedGridlines=[8,4]),null!=properties.custom_tooltip_id&&(instance.data.custom_tooltip_id=properties.custom_tooltip_id),$(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height(),divWidth=$(\"#\"+properties.custom_tooltip_id).width(),xOffset=15,yOffset=divHeight/2;e.clientX+xOffset+divWidth>screen.width&&(xOffset=-1*(25+divWidth),0>e.clientX-(divWidth+25)&&e.clientY-divHeight/2>0&&(xOffset=divWidth/2*-1,yOffset=-15),screen.height<divHeight+e.clientY&&e.clientY-divHeight/2>0&&(xOffset=divWidth/2*-1,yOffset=divHeight+15)),e.clientY-divHeight/2<0&&(yOffset=0),$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+xOffset,top:e.clientY-yOffset,zIndex:1e21})}));let customTooltip=!1;function addDataPoint(itemNum){return{x:parseInt(xTimeValuesArray[itemNum]),o:openValuesArray[itemNum],h:highValuesArray[itemNum],l:lowValuesArray[itemNum],c:closeValuesArray[itemNum]}}function getRandomData(count){var data=[addDataPoint(0)];let i=1;for(;data.length<count;)data.push(addDataPoint(i)),i++;return data}
265if(null!=properties.custom_tooltip_id&&(customTooltip=!0,$(\"#\"+properties.custom_tooltip_id).fadeOut(1)),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas,ctxchart=document.getElementById(instance.data.uniqueChartId).getContext(\"2d\"),chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);chartContainer.parentNode.removeChild(chartContainer),chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);let xAxisType=\"time\";properties.x_axis_equal_spacing&&(xAxisType=\"timeseries\"),chartContainer.style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",instance.data.height=properties.bubble.height();var chart=new Chartv301(instance.data.ctxChartState,{type:properties.chart_type,data:{datasets:[{label:properties.series1name,data:getRandomData(barCount),color:{up:properties.up_color,down:properties.down_color,unchanged:properties.unchanged_color},borderColor:{up:properties.up_color,down:properties.down_color,unchanged:properties.unchanged_color}}]},options:{onHover:function(event,elements){for(let i=0;i<xTimeValuesArray.length;i++)event.x>=i*(event.chart.chartArea.width/xTimeValuesArray.length)&&event.x<(i+1)*(event.chart.chartArea.width/xTimeValuesArray.length)&&(instance.publishState(\"hovered_item_x_value\",event.chart._metasets[0]._parsed[i].x),instance.publishState(\"hovered_item_open_value\",event.chart._metasets[0]._parsed[i].o),instance.publishState(\"hovered_item_high_value\",event.chart._metasets[0]._parsed[i].h),instance.publishState(\"hovered_item_low_value\",event.chart._metasets[0]._parsed[i].l),instance.publishState(\"hovered_item_close_value\",event.chart._metasets[0]._parsed[i].c));\"mouseout\"!=event.type?customTooltip&&null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+properties.custom_tooltip_id).fadeIn(250),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\"):$(\"#\"+properties.custom_tooltip_id).fadeOut(100)},plugins:{tooltip:{enabled:!properties.custom_tooltip_id},legend:{display:!1}},maintainAspectRatio:!1,scales:{y:{grid:{display:properties.showHorizontalGridlines,color:properties.horiz_gridline_color,zeroLineColor:properties.horiz_gridline_color,tickMarkLength:0,borderDash:horizDashedGridlines},ticks:{maxTicksLimit:properties.max_y_ticks,display:properties.show_y_tick_labels,color:properties.tick_label_color,font:{size:properties.tick_label_font_size,family:properties.bubble.font_face().split(\":\")[0]},callback:function(value,index,values){let yLabel=value,originalYLabel=value;return value<1&&value>-1&&(yLabel=value.toPrecision(1)),value>1&&value<2&&(yLabel=value.toPrecision(2)),yLabel=yLabel.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),yLabel}}},x:{type:xAxisType,time:{displayFormats:{millisecond:properties.x_axis_date_format,second:properties.x_axis_date_format,minute:properties.x_axis_date_format,hour:properties.x_axis_date_format,day:properties.x_axis_date_format,week:properties.x_axis_date_format,month:properties.x_axis_date_format,quarter:properties.x_axis_date_format,year:properties.x_axis_date_format}},grid:{color:properties.vert_gridline_color,zeroLineColor:\"#E0E0E0\",tickMarkLength:0,borderDash:vertDashedGridlines},ticks:{maxTicksLimit:properties.max_x_ticks,padding:7,display:properties.show_x_tick_labels,color:properties.tick_label_color,font:{size:properties.tick_label_font_size,family:properties.bubble.font_face().split(\":\")[0]}}}}}});chart.update();var update=function(){var dataset=chart.config.data.datasets[0],scaleType=document.getElementById(\"scale-type\").value;
265chart.config.options.scales.y.type=scaleType,chart.update()}}))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Candlestick/OHLC Chart';\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"AQJ":{"display":"Chart - Mixed Bar/Line/Area","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AOf":{"caption":"X Axis Values (comma-separated strings or #s)","default_val":"Mon, Tue, Wed, Thu, Fri","editor":"DynamicValue","is_list":false,"name":"xvalues","rank":2,"value":"text"},"AOg":{"caption":"Series 1 - y-values","default_val":"120, 260, 240, 310, 330","editor":"DynamicValue","name":"series1","rank":7,"value":"text","optional":true},"AOh":{"caption":"Series 2 - y-values","editor":"DynamicValue","is_list":false,"name":"series2","optional":true,"rank":13,"value":"text","default_val":"200, 210, 190, 240, 230"},"AOi":{"caption":"Series 3 - y-values","editor":"DynamicValue","name":"series3","optional":true,"rank":17,"value":"text"},"AOj":{"caption":"Series 1 - color","default_val":"rgba(0, 162, 255, 1)","editor":"Color","name":"series1color","rank":8},"AOk":{"caption":"Series 1 - name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":4,"value":"text"},"AOm":{"caption":"Series 2 - name","default_val":"Series 2","editor":"DynamicValue","name":"series2name","rank":9,"value":"text","optional":false},"AOn":{"caption":"Series 2 - color","default_val":"rgba(235, 235, 235, 1)","editor":"Color","name":"series2color","rank":12},"AOo":{"caption":"Series 3 - name","default_val":"Series 3","editor":"DynamicValue","name":"series3name","rank":14,"value":"text"},"AOp":{"caption":"Series 3 - color","default_val":"rgba(247, 183, 51, 1)","editor":"Color","name":"series3color","rank":18},"AOq":{"caption":"Y Axis \"A\" - Unit Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":64,"value":"text"},"AOr":{"caption":"Y Axis \"A\" - Unit After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":65,"value":"text"},"AOs":{"caption":"Y Axis \"A\" - Max","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":62,"value":"number"},"AOt":{"caption":"Y Axis \"A\" - Min","editor":"DynamicValue","name":"yMinNum","optional":true,"rank":61,"value":"number"},"AOu":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":36,"value":"text","default_val":"Top"},"AOv":{"caption":"Series 4 - name","default_val":"Series 4","editor":"DynamicValue","name":"series4name","optional":true,"rank":19,"value":"text"},"AOw":{"caption":"Series 4 - color","default_val":"rgba(170, 102, 204, 1)","editor":"Color","name":"series4color","optional":true,"rank":23},"AOx":{"caption":"Series 4 - y-values","editor":"DynamicValue","name":"series4","optional":true,"rank":22,"value":"text"},"AOy":{"caption":"Series 5 - name","default_val":"Series 5","editor":"DynamicValue","name":"series5name","optional":true,"rank":24,"value":"text"},"AOz":{"caption":"Series 5 - color","default_val":"rgba(99, 99, 99, 1)","editor":"Color","name":"series5color","optional":true,"rank":28},"APA":{"caption":"Series 5 - y-values","editor":"DynamicValue","name":"series5","optional":true,"rank":27,"value":"text"},"APB":{"caption":"Show Data Labels?","default_val":false,"editor":"DynamicValue","name":"show_data_labels","rank":75,"value":"boolean"},"APC":{"caption":"Y Axis \"A\" - Show Ticks?","name":"show_y_tick_labels","rank":60,"editor":"DynamicValue","value":"boolean","default_val":true},"APD":{"caption":"Show X Tick Labels?","name":"show_x_tick_labels","rank":45,"editor":"DynamicValue","value":"boolean","default_val":true},"APE":{"caption":"-------------------------- Gridline Settings -------------------------","name":"axis_and_gridline_settings","rank":44,"editor":"Label"},"APF":{"caption":"----------------------------- Chart Data -----------------------------","name":"-------------------_series_values_(can_also_add_infinite_series_via_action)_-------------------","rank":0,"editor":"Label"},"APG":{"caption":"------------------------- General Settings -------------------------","name":"-------------------_main_fields_-------------------","rank":35,"editor":"Label"},"APH":{"caption":"X Zero Line Width","name":"x_zero_line_width","rank":51,"editor":"DynamicValue","value":"number","default_val":1},"API":{"caption":"Y Zero Line Width","name":"y_zero_line_width","rank":52,"editor":"DynamicValue","value":"number","default_val":1},"APJ":{"caption":"X = Zero Line Color","name":"x_zero_line_color","rank":53,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"APK":{"caption":"Y = Zero Line Color","name":"y_zero_line_color","rank":54,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"APL":{"caption":"Vert Gridlines Color","name":"vert_gridlines_color","rank":48,"editor":"Color","default_val":"rgba(255, 255, 255, 0)"},"APM":{"caption":"Horiz Gridlines Color","name":"horiz_gridlines_color","rank":47,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"APN":{"caption":"Line Width","name":"border_width","rank":89,"editor":"DynamicValue","value":"number","default_val":3},"APO":{"caption":"Line Curve","name":"curve_line_charts","rank":93,"editor":"DynamicValue","value":"number","default_val":0.3},"APP":{"caption":"\"A\" Labels - Unit Before","name":"data_labels_unit_before","rank":79,"editor":"DynamicValue","value":"text","optional":true},"APQ":{"caption":"\"A\" Labels - Unit After","name":"data_labels_unit_after","rank":80,"editor":"DynamicValue","value":"text","optional":true},"APR":{"caption":"Point Radius","name":"line_point_radius","rank":90,"editor":"DynamicValue","value":"number","default_val":5},"APS":{"caption":"Thousands Separator","name":"thousands_separator","rank":42,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"APT":{"caption":"Horiz. Dash Gridlines","name":"horizontal_dashed_gridlines","rank":49,"editor":"DynamicValue","value":"boolean","default_val":true},"APU":{"caption":"Vert. Dash Gridlines","name":"vertical_dashed_gridlines","rank":50,"editor":"DynamicValue","value":"boolean","default_val":false},"APV":{"caption":"--------------------------- Data Labels ---------------------------","name":"----------------------------_data_labels_----------------------------","rank":74,"editor":"Label"},"APW":{"caption":"Vertical Offset","name":"datalabel_offset","rank":77,"editor":"DynamicValue","value":"number","default_val":3}
265,"APX":{"caption":"Data Label Background Color","name":"datalabel_background_color","rank":83,"editor":"Color","default_val":"rgba(255, 255, 255, 0.32)","optional":false},"APY":{"caption":"Font Color (Optional)","name":"datalabel_font_color","rank":84,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","optional":true},"APZ":{"caption":"Font Color Setting","name":"font_color_setting","rank":85,"editor":"Dropdown","default_val":"Default (Same as Series Color)"},"APa":{"caption":"Anchor","name":"datalabel_anchor","rank":76,"editor":"Dropdown","default_val":"end"},"APb":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":38,"editor":"DynamicValue","value":"text","optional":true},"APc":{"caption":"Font Size","name":"datalabel_size","rank":86,"editor":"DynamicValue","value":"number","default_val":12},"APd":{"caption":"Series 6 - name","name":"series6name","rank":29,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Series 6"},"APe":{"caption":"Series 6 - color","name":"series6color","rank":33,"editor":"Color","default_val":"rgba(59, 227, 129, 1)","optional":true},"APf":{"caption":"Series 6 - y-values","name":"series6","rank":32,"editor":"DynamicValue","value":"text","optional":true},"APg":{"caption":"-------------------- Line/Area Chart Settings ---------------------","name":"---------------------------Line---------------------------","rank":88,"editor":"Label"},"APh":{"caption":"------------------------- Bar Chart Settings ------------------------","name":"-------------------------_barchart_settings_-------------------------","rank":95,"editor":"Label"},"APi":{"caption":"Bar Width (Bar)","name":"bar_width","rank":96,"editor":"DynamicValue","value":"number","default_val":0.5},"APj":{"caption":"Category Width (Bar)","name":"category_width","rank":97,"editor":"DynamicValue","value":"number","default_val":0.5},"APk":{"caption":"Animation Duration","name":"animation_duration","rank":39,"editor":"DynamicValue","value":"number","default_val":1500},"APl":{"caption":"Point Hover Radius","name":"point_hover_radius","rank":91,"editor":"DynamicValue","value":"number","default_val":12},"APm":{"caption":"Point Border Width","name":"point_border_width","rank":92,"editor":"DynamicValue","value":"number","default_val":3},"APn":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":55,"editor":"DynamicValue","value":"number","default_val":11},"APo":{"caption":"Max X Ticks","name":"max_x_ticks","rank":56,"editor":"DynamicValue","value":"number","default_val":11},"APp":{"caption":"Bar Width (px)","name":"bar_width_pixels","rank":98,"editor":"DynamicValue","value":"text","optional":true},"APq":{"caption":"Chart Padding (px)","name":"chart_padding","rank":41,"editor":"DynamicValue","value":"number","default_val":15},"APr":{"caption":"Bar Corner Radius","name":"bar_corner_radius","rank":99,"editor":"DynamicValue","value":"number","default_val":0},"APs":{"caption":"Series 6 - type","name":"series_6_type","rank":30,"editor":"DynamicValue","value":"text","optional":false,"default_val":"Bar"},"AQK":{"caption":"Series 5 - type","name":"series_5_type","rank":25,"editor":"DynamicValue","value":"text","default_val":"Line"},"AQM":{"caption":"Series 4 - type","name":"series_4_type","rank":20,"editor":"DynamicValue","value":"text","default_val":"Line"},"AQN":{"caption":"Series 1 - type","name":"series_1_type","rank":6,"editor":"DynamicValue","value":"text","default_val":"Bar"},"AQO":{"caption":"Series 2 - type","name":"series_2_type","rank":10,"editor":"DynamicValue","value":"text","default_val":"Line"},"AQP":{"caption":"Series 3 - type","name":"series_3_type","rank":15,"editor":"DynamicValue","value":"text","default_val":"Area"},"AQW":{"caption":"-------------------------- Y Axis \"B\" Settings ------------------------","name":"-----------------------_x_axis_settings_----------------------","rank":66,"editor":"Label"},"AQX":{"caption":"------------------------- Y Axis \"A\" Settings ------------------------","name":"-----------------------_y_axis_\"a\"_settings_----------------------","rank":59,"editor":"Label"},"AQY":{"caption":"Y Axis \"B\" - Min","name":"yAxisMinB","rank":68,"editor":"DynamicValue","value":"number","optional":true},"AQZ":{"caption":"Y Axis \"B\" - Max","name":"yAxisMaxB","rank":69,"editor":"DynamicValue","value":"number","optional":true},"AQa":{"caption":"Y Axis \"B\" - Unit Before","name":"yAxisUnitBeforeB","rank":71,"editor":"DynamicValue","value":"text","optional":true},"AQb":{"caption":"Y Axis \"B\" - Unit After","name":"yAxisUnitAfterB","rank":72,"editor":"DynamicValue","value":"text","optional":true},"AQd":{"caption":"Series 6 - y-axis ID","name":"series_6_y_axis_id","rank":31,"editor":"Dropdown","default_val":"A"},"AQf":{"caption":"Series 5 - y-axis ID","name":"series_5_y_axis_id","rank":26,"editor":"Dropdown","default_val":"A"},"AQg":{"caption":"Series 1 - y-axis ID","name":"series_1_y_axis_id","rank":5,"editor":"Dropdown","value":"text","default_val":"A"},"AQh":{"caption":"Series 2 - y-axis ID","name":"series_2_y_axis_id","rank":11,"editor":"Dropdown","value":"text","default_val":"B"},"AQi":{"caption":"Series 3 - y-axis ID","name":"series_3_y_axis_id","rank":16,"editor":"Dropdown","default_val":"A"},"AQj":{"caption":"Series 4 - y-axis ID","name":"series_4_y_axis_id","rank":21,"editor":"Dropdown","default_val":"A"},"ARb":{"caption":"Y Axis \"B\" - Show Ticks?","name":"show_y_tick_labels_b","rank":67,"editor":"DynamicValue","value":"boolean","default_val":true},"ARc":{"caption":"ℹ️ To customize Tick Label Font Family, scroll down to the bottom of this properties menu and change the standard Bubble font properties","name":"to_customize_tick_label_font_style,_color,_and_size,_you_can_edit_this_element's_font_style,_color,_size_as_you_would_for_a_standard_text_element_(by_scrolling_down_to_the_bottom_of_this_menu_and_editing_the_standard_bubble_properties_for_font,_color,_size)","rank":73,"editor":"Label"},"AVt":{"caption":"Tick Label Font Color","name":"tick_label_color","rank":57,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AVu":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":58,"editor":"DynamicValue","value":"number","default_val":12},"AWL":{"caption":"X Tick Labels Rotation","name":"x_ticks_rotation","rank":46,"editor":"DynamicValue","optional":true,"value":"number"},"AWd":{"caption":"\"B\" Labels - Unit Before","name":"b_data_labels_unit_before","rank":81,"editor":"DynamicValue","value":"text","optional":true},"AWe":{"caption":"\"B\" Labels - Unit After","name":"b_data_labels_unit_after","rank":82,"editor":"DynamicValue","value":"text","optional":true},"AWu":{"caption":"Decimal Place Character","name":"decimal_place_character","rank":43,"editor":"DynamicValue","value":"text","default_val":"."},"AWv":{"caption":"Tick Step Size","name":"step_size_a","rank":63,"editor":"DynamicValue","value":"number","optional":true},"AWw":{"caption":"Tick Step Size","name":"step_size_b","rank":70,"editor":"DynamicValue","value":"number","optional":true},"AXl":{"caption":"Span Gaps?","name":"span_gaps","rank":94,"editor":"DynamicValue","value":"boolean","default_val":true}
265,"AXv":{"caption":"ℹ️ Enter you chart's X-Axis values (the X-Axis labels that will go from left to right) separated by comma and space (\", \").  Can be a dynamic expression.","name":"ℹ️_enter_you_chart's_x-axis_values_(the_x-axis_labels_that_will_go_from_left_to_right)_separated_by_comma_and_space_(\",_\").__can_be_a_dynamic_expression.","rank":1,"editor":"Label"},"AXw":{"caption":"ℹ️ Add series names, colors, and data values below.  Each data point should be separated by comma and space and can be dynamic (e.g. \"Do a Search for\")","name":"ℹ️_add_series_names,_colors,_and_data_values_below.__each_data_point_should_be_separated_by_comma_and_space_and_can_be_dynamically_(e.g._\"do_a_search_for\")","rank":3,"editor":"Label"},"AXx":{"caption":"ℹ️ Add more series to the chart using the workflow action called \"Add/update a data series\"","name":"ℹ️_add_more_series_to_the_chart_using_the_workflow_action_called_\"add/update_a_data_series\"","rank":34,"editor":"Label"},"AXy":{"caption":"⚠️ If data points get cut off near edges of the chart element, increase the Chart Padding below:","name":"⚠️_if_data_points_get_cut_off_near_edges_of_the_chart_element,_increase_the_chart_padding_below:","rank":40,"editor":"Label"},"AZb":{"caption":"Label Font Weight","name":"datalabel_fontweight","rank":87,"editor":"Dropdown","default_val":" 400"},"AZi":{"caption":"Legend Color Style","name":"legend_color_style","rank":37,"editor":"Dropdown","default_val":"Circle"},"Atl":{"caption":"Hide if Less Than","name":"hide_if_less_than","rank":78,"editor":"DynamicValue","value":"number","optional":true}},"states":{"APt":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"text"},"APu":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"APv":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"APw":{"caption":"Hovered Item X Value","name":"hovered_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"APx":{"caption":"Hovered Item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"APy":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"APz":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AQA":{"caption":"Clicked Item Series Color","name":"clicked_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AQB":{"caption":"Clicked Item All Series Values","name":"click_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AQC":{"caption":"Clicked Item All Series Colors","name":"clicked_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AQD":{"caption":"Clicked Item All Series Names","name":"clicked_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AQE":{"caption":"Hovered Item All Series Values","name":"hovered_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AQF":{"caption":"Hovered Item All Series Colors","name":"hovered_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AQG":{"caption":"Hovered Item All Series Names","name":"hovered_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AQH":{"caption":"Chart Loaded?","name":"chart_loaded","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}
265,"AQI":{"caption":"Hovered Item X Index","name":"hovered_item_x_index","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AOd":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"AOe":{"caption":"Chart Value Hovered","name":"chart_value_hovered"}},"actions":{"AOV":{"caption":"Add/Update a Data Series","code":{"fn":"function(instance,properties,context){let numAttempts=0;function mainAddSeries(){if(numAttempts>15)return void console.log(\"The Chart you are trying to update is not visible on the page\");if(!instance.data.chart)return numAttempts++,void setTimeout(mainAddSeries,750);let customChartType=instance.data.chartType,backgroundColors;function addSeries(){if(instance.data.createDataArray){let newSeries=instance.data.createDataArray(properties.yValues);instance.data.pushDataset(properties.series_name,newSeries,properties.series_color,customChartType,properties.y_axis_id,properties.point_color_line,properties.point_border_color_line,backgroundColors),instance.data.updateChartDatasets(),instance.data.chart.update()}else setTimeout(addSeries,1500)}properties.background_colors&&(backgroundColors=instance.data.createDataArray(properties.background_colors)),null!=properties.chart_type&&properties.chart_type.toLowerCase()!=instance.data.chartType&&(customChartType=properties.chart_type.toLowerCase()),addSeries()}mainAddSeries()}"},"fields":{"AOW":{"caption":"Series Name","name":"series_name","rank":1,"editor":"DynamicValue","value":"text"},"AOX":{"caption":"Series Color","name":"series_color","rank":5,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AOY":{"caption":"Series Y Values","name":"yValues","rank":2,"editor":"DynamicValue","value":"text"},"AOZ":{"caption":"Chart Type","name":"chart_type","rank":3,"editor":"Dropdown","optional":true},"AQq":{"caption":"Point Color (line)","name":"point_color_line","rank":7,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AQr":{"caption":"Point Border (line)","name":"point_border_color_line","rank":8,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"AQs":{"caption":"Y Axis ID","name":"y_axis_id","rank":4,"editor":"Dropdown","default_val":"A"},"ARS":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":0,"editor":"Label"},"ART":{"caption":"------------------------- Line Series Settings -----------------------","name":"-------------------------_line_chart_settings_-----------------------","rank":6,"editor":"Label"},"Ati":{"caption":"-------------------------- Bar Series Settings -----------------------","name":"--------------------------_bar_series_settings_-----------------------","rank":9,"editor":"Label"},"Atj":{"caption":"Multi-Colored Series (comma-separated hex codes)","name":"background_colors","rank":11,"editor":"DynamicValue","value":"text","optional":true},"Atk":{"caption":"The field below is optional: for multi-colored series (overrides colors set above)","name":"the_field_below_is_optional:_for_multi-colored_series_(overrides_colors_set_above)","rank":10,"editor":"Label"}}},"AOa":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.chart.data.datasets.find((element=>element.label==properties.data_series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update()}else console.log(\"The Chart you are trying to clear is not visible on the page\")}"},"fields":{"AOb":{"caption":"Data Series Name","name":"data_series_name","rank":0,"editor":"DynamicValue","value":"text"}}},"AOc":{"caption":"Remove all Data Series (Clear Chart)","code":{"fn":"function(instance,properties,context){if(instance.data.chart){for(;instance.data.datasets.length>0;)instance.data.datasets.pop();for(;instance.data.chart.data.datasets.length>0;)instance.data.chart.data.datasets.pop(),instance.data.chart.update()}else console.log(\"The Chart you are trying to clear is not visible on the page\")}"}},"AQV":{"caption":"Add a Y Axis","code":{"fn":"function(instance,properties,context){console.log(instance.data.chart.options.scales.yAxes);let anotherYaxis={id:\"test\",position:\"right\"};instance.data.chart.options.scales.yAxes.push(anotherYaxis)}"}},"AsY":{"caption":"Add Annotation","code":{"fn":"function(instance,properties,context){var newAnnotation;\"vertical\"==properties.type?newAnnotation={type:\"line\",mode:\"vertical\",scaleID:\"x-axis-0\",value:properties.value,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}:\"horizontal\"==properties.type?newAnnotation={type:\"line\",mode:\"horizontal\",scaleID:properties.y_axis_id,value:properties.value,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}:\"box\"==properties.type&&(newAnnotation={type:\"box\",xMin:1,xMax:2,yMin:1,yMax:2,backgroundColor:properties.background_color,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}),instance.data.chart.options.annotation||(instance.data.chart.options.annotation={annotations:[]}),instance.data.chart.options.annotation.annotations.push(newAnnotation),instance.data.chart.update(
265)}"},"fields":{"AsZ":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"horizontal"},"Asb":{"caption":"----------------------- General Settings -----------------------","name":"-----------------------_general_settings_-----------------------","rank":1,"editor":"Label"},"Asc":{"caption":"Label text","name":"label","rank":2,"editor":"DynamicValue","value":"text","default_val":"My annotation label"},"Asd":{"caption":"Line Color","name":"line_color","rank":3,"editor":"Color","default_val":"rgba(150, 162, 164, 1)"},"Ase":{"caption":"Position","name":"position","rank":4,"editor":"Dropdown","default_val":"top"},"Asf":{"caption":"Position: Alignment","name":"alignment","rank":5,"editor":"Dropdown","default_val":"start"},"Asg":{"caption":"Position: X Offset","name":"x_offset","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"Ash":{"caption":"Position: Y Offset","name":"y_offset","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"Asi":{"caption":"-------------- Vertical/Horizontal Annotations --------------","name":"--------------_vertical/horizontal_annotations_--------------","rank":8,"editor":"Label"},"Asj":{"caption":"Value","name":"value","rank":9,"editor":"DynamicValue","value":"text","optional":true},"Ask":{"caption":"Border Width","name":"border_width","rank":11,"editor":"DynamicValue","value":"number","default_val":2},"Asl":{"caption":"Y Axis ID (if horizontal annotation)","name":"y_axis_id","rank":10,"editor":"Dropdown","default_val":"A"}}}},"code":{"initialize":{"fn":"function(instance,context){function reduceOpacity(originalRGBAColor,scale){if(6==originalRGBAColor.length||7==originalRGBAColor.length){function hexToRgb(hex){var result=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);originalRGBAColor=\"rgba(\"+parseInt(result[1],16)+\", \"+parseInt(result[2],16)+\", \"+parseInt(result[3],16)+\", 1)\"}hexToRgb(originalRGBAColor)}let stringlength=originalRGBAColor.length-1,colorArray=(originalRGBAColor=originalRGBAColor.substring(5,stringlength)).split(\", \"),newOpacity=scale*colorArray[3],result;return\"rgba(\"+colorArray[0]+\", \"+colorArray[1]+\", \"+colorArray[2]+\", \"+newOpacity+\")\"}function updateChartDatasets(){let i;for(instance.data.chart.data.datasets=[],i=0;i<instance.data.datasets.length;i++)instance.data.chart.data.datasets.push(instance.data.datasets[i]),instance.data.chartType.includes(\"Area\")&&(instance.data.datasets[i].backgroundColor=instance.data.reduceOpacity(instance.data.datasets[i].borderColor,.5),instance.data.datasets[i].fill=\"origin\"),instance.data.chartType.includes(\"Line\")&&(instance.data.datasets[i].fill=!1)}function forceUpdate(){document.getElementById(instance.data.custom_tooltip_id)&&(document.getElementById(instance.data.custom_tooltip_id).style.display=\"none\")}$(document).ready((function(){instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")})),instance.data.datasets=[],instance.data.reduceOpacity=reduceOpacity,instance.data.updateChartDatasets=updateChartDatasets,setTimeout(forceUpdate,200)}"},"update":{"fn":"function(instance,properties,context){Chart.plugins.unregister(ChartDataLabels),null!=properties.custom_tooltip_id&&(instance.data.custom_tooltip_id=properties.custom_tooltip_id),$(document).ready((function(){if(properties.chartType=\"Bar\",$(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height();$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+12,top:e.clientY-divHeight/2,zIndex:1e21})})),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas=document.getElementById(instance.data.uniqueChartId);
265instance.data.mainChartCanvas=chartcanvas;var ctxchart=chartcanvas.getContext(\"2d\");let chartType,legendState,showLegend;function createDataArray(xString){let outputArray,xArray;if(null!=xString&&(xArray=xString.includes(\", \")?xString.split(\", \"):xString.split(\",\"),properties.span_gaps))for(let i=0;i<xArray.length;i++)\"\"==xArray[i]||\" \"==xArray[i]?xArray[i]=null:\" \"==xArray[i].charAt(0)&&(xArray[i]=xArray[i].substring(1));return xArray}chartType=properties.chartType.toLowerCase(),\"Horizontal Bar\"==properties.chartType&&(chartType=\"horizontalBar\"),\"Stacked Bar (Horizontal)\"==properties.chartType&&(chartType=\"horizontalBar\"),\"100% Stacked Bar (Horizontal)\"==properties.chartType&&(chartType=\"horizontalBar\"),\"Area\"==properties.chartType&&(chartType=\"line\"),\"Stacked Bar\"==properties.chartType&&(chartType=\"bar\"),\"100% Stacked Bar\"==properties.chartType&&(chartType=\"bar\"),\"Stacked Area\"==properties.chartType&&(chartType=\"line\"),\"Stepped Line (Step Before)\"==properties.chartType&&(chartType=\"line\",instance.data.steppedLine=\"before\"),\"Stepped Line (Step After)\"==properties.chartType&&(chartType=\"line\",instance.data.steppedLine=\"after\"),\"Don't Show Legend\"==properties.showLegend?showLegend=!1:(legendState=properties.showLegend.toLowerCase(),showLegend=!0),instance.data.createDataArray=createDataArray;let listofxvalues,arrayofxvalues=createDataArray(properties.xvalues),series1string=properties.series1,series1array,series2array,series3array,series4array,series5array,series6array,yMin,yMax;series1array=createDataArray(properties.series1),series2array=createDataArray(properties.series2),series3array=createDataArray(properties.series3),series4array=createDataArray(properties.series4),series5array=createDataArray(properties.series5),series6array=createDataArray(properties.series6);let allYValuesArray=series1array,chartLabelsOn;properties.show_data_labels&&[ChartDataLabels]&&(chartLabelsOn=[ChartDataLabels]),instance.data.horizontalGridlineColor=properties.horiz_gridlines_color,instance.data.verticalGridlineColor=properties.vert_gridlines_color;let horizDashed=[],vertDashed=[];properties.horizontal_dashed_gridlines&&(horizDashed=[8,4]),properties.vertical_dashed_gridlines&&(vertDashed=[8,4]);let hundredPercentStacked=!1;\"100% Stacked Bar (Horizontal)\"!=properties.chartType&&\"100% Stacked Bar\"!=properties.chartType||(hundredPercentStacked=!0);let customTooltip=!1;null!=properties.custom_tooltip_id&&(customTooltip=!0,$(\"#\"+properties.custom_tooltip_id).fadeOut(1));var chart=new Chart(instance.data.ctxChartState,{plugins:chartLabelsOn,type:chartType,data:{labels:arrayofxvalues},options:{cornerRadius:properties.bar_corner_radius,animation:{duration:properties.animation_duration},spanGaps:properties.span_gaps,onHover:function(event,elements){if($(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),elements[0]){var activePoint=chart.getElementAtEvent(event),clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._view.borderColor;null!=activePoint[0].$previousStyle&&(series_color=activePoint[0].$previousStyle.backgroundColor);let remainingSeriesObjects=chart.data.datasets.slice(),remainingSeriesValues=remainingSeriesObjects.map((a=>a.data[clickedElementindex])),i;for(i=0;i<remainingSeriesValues.length;i++)\"\"==remainingSeriesValues[i]&&(remainingSeriesValues[i]=0);instance.publishState(\"hovered_item_other_series_values\",remainingSeriesValues);let remainingSeriesColors=remainingSeriesObjects.map((a=>a.borderColor));instance.publishState(\"hovered_item_other_series_colors\",remainingSeriesColors);let remainingSeriesNames=remainingSeriesObjects.map((a=>a.label));instance.publishState(\"hovered_item_other_series_names\",remainingSeriesNames),instance.publishState(\"hovered_item_x_value\",label),instance.publishState(\"hovered_item_y_value\",value),instance.publishState(\"hovered_item_series_name\",series_name),instance.publishState(\"hovered_item_series_color\",series_color),instance.publishState(\"hovered_item_x_index\",clickedElementindex+1),customTooltip&&null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+properties.custom_tooltip_id).fadeIn(250),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\")}else $(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_hovered\",(function(err){}))}
265,legend:{display:showLegend,position:legendState,labels:{usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}},layout:{padding:{right:properties.chart_padding,left:properties.chart_padding,top:properties.chart_padding,bottom:properties.chart_padding}},maintainAspectRatio:!1,scales:{yAxes:[{display:!0,stacked:\"Stacked Bar\"==properties.series_1_type&&properties.series1||\"Stacked Bar\"==properties.series_2_type&&properties.series2||\"Stacked Bar\"==properties.series_3_type&&properties.series3||\"Stacked Bar\"==properties.series_4_type&&properties.series4||\"Stacked Bar\"==properties.series_5_type&&properties.series5||\"Stacked Bar\"==properties.series_6_type&&properties.series6,id:\"A\",position:\"left\",gridLines:{borderDash:horizDashed,drawBorder:!1,color:\"rgba(0,0,0,0)\",zeroLineColor:\"rgba(0,0,0,0)\",zeroLineWidth:properties.y_zero_line_width,tickMarkLength:0},ticks:{autoSkip:!0,maxTicksLimit:properties.max_y_ticks,padding:7,display:!1,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callback:function(value,index,values){let yLabel=value,originalYLabel=value;return value<1&&value>-1&&0!=value&&(yLabel=value.toPrecision(1)),value>1&&value<2&&(yLabel=value.toPrecision(2)),yLabel=yLabel.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),yLabel}}},{stacked:\"Stacked Bar\"==properties.series_1_type&&properties.series1||\"Stacked Bar\"==properties.series_2_type&&properties.series2||\"Stacked Bar\"==properties.series_3_type&&properties.series3||\"Stacked Bar\"==properties.series_4_type&&properties.series4||\"Stacked Bar\"==properties.series_5_type&&properties.series5||\"Stacked Bar\"==properties.series_6_type&&properties.series6,id:\"B\",position:\"right\",gridLines:{borderDash:horizDashed,drawBorder:!1,color:\"rgba(0,0,0,0)\",zeroLineColor:\"rgba(0,0,0,0)\",zeroLineWidth:properties.y_zero_line_width,tickMarkLength:0},ticks:{maxTicksLimit:properties.max_y_ticks,padding:7,display:!1,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callback:function(value,index,values){let yLabel=value,originalYLabel=value;return value<1&&value>-1&&0!=value&&(yLabel=value.toPrecision(1)),value>1&&value<2&&(yLabel=value.toPrecision(2)),yLabel=yLabel.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeB&&(yLabel=properties.yAxisUnitBeforeB+yLabel),properties.yAxisUnitAfterB&&(yLabel+=properties.yAxisUnitAfterB),yLabel}}}],xAxes:[{stacked:\"Stacked Bar\"==properties.series_1_type&&properties.series1||\"Stacked Bar\"==properties.series_2_type&&properties.series2||\"Stacked Bar\"==properties.series_3_type&&properties.series3||\"Stacked Bar\"==properties.series_4_type&&properties.series4||\"Stacked Bar\"==properties.series_5_type&&properties.series5||\"Stacked Bar\"==properties.series_6_type&&properties.series6,gridLines:{borderDash:vertDashed,drawBorder:!1,color:instance.data.verticalGridlineColor,zeroLineColor:properties.x_zero_line_color,tickMarkLength:0,zeroLineWidth:properties.x_zero_line_width},ticks:{maxTicksLimit:properties.max_x_ticks,padding:7,display:properties.show_x_tick_labels,fontColor:properties.tick_label_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:properties.tick_label_font_size,callback:function(value,index,values){let originalXLabel=value,xLabel=value;return value<1&&value>-1&&0!=value&&(xLabel=value.toPrecision(1)),value>1&&value<2&&(xLabel=value.toPrecision(2)),xLabel=xLabel.toString(),null!=properties.thousands_separator&&(xLabel=xLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(xLabel=properties.yAxisUnitBeforeNumber+xLabel),properties.yAxisUnitAfterNumber&&(xLabel+=properties.yAxisUnitAfterNumber),\"horizontalBar\"==chartType?xLabel:originalXLabel}}}]},plugins:{stacked100:{enable:hundredPercentStacked},crosshair:!1},tooltips:{intersect:!1,enabled:!customTooltip,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{label:function(tooltipItem,data){let beforeDecimal=Math.floor(parseFloat(tooltipItem.value));parseFloat(tooltipItem.value)<0&&(beforeDecimal=Math.ceil(parseFloat(tooltipItem.value)));let afterDecimalCalc=parseFloat(tooltipItem.value)-parseFloat(beforeDecimal),numDecimalPlaces,afterDecimal,commaValue;numDecimalPlaces=-1!=tooltipItem.value.indexOf(\".\")?tooltipItem.value.substring(tooltipItem.value.indexOf(\".\")+1).length:0,numDecimalPlaces>0?(afterDecimal=afterDecimalCalc.toFixed(numDecimalPlaces),afterDecimal=afterDecimal.split(\".\")[1]):afterDecimal=afterDecimalCalc=\"\",null!=properties.thousands_separator&&(beforeDecimal=beforeDecimal.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator));let axisID=data.datasets[tooltipItem.datasetIndex].yAxisID,finalLabel;return\"A\"==axisID&&properties.data_labels_unit_before&&(beforeDecimal=properties.data_labels_unit_before+beforeDecimal),\"B\"==axisID&&properties.b_data_labels_unit_before&&(beforeDecimal=properties.b_data_labels_unit_before+beforeDecimal),beforeDecimal&&(finalLabel=beforeDecimal),\"\"!=afterDecimal&&(finalLabel=finalLabel+properties.decimal_place_character+afterDecimal),\"A\"==axisID&&properties.data_labels_unit_after&&(finalLabel+=properties.data_labels_unit_after),\"B\"==axisID&&properties.b_data_labels_unit_after&&(finalLabel+=properties.b_data_labels_unit_after),finalLabel}}}}});instance.data.chartType=chartType,null!=properties.yMaxNum&&(chart.options.scales.yAxes[0].ticks.max=properties.yMaxNum),null!=properties.yMinNum&&(chart.options.scales.yAxes[0].ticks.min=properties.yMinNum),null!=properties.yAxisMinB&&(chart.options.scales.yAxes[1].ticks.min=properties.yAxisMinB),null!=properties.yAxisMaxB&&(chart.options.scales.yAxes[1].ticks.max=properties.yAxisMaxB),null!=properties.step_size_a&&(chart.options.scales.yAxes[0].ticks.stepSize=properties.step_size_a),null!=properties.step_size_b&&(chart.options.scales.yAxes[1].ticks.stepSize=properties.step_size_b);var chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);function pushDataset(dataLabel,newData,newColor,customChartType,yAxisID,pointBackgroun
265dColor,pointBorderColor,backgroundColorArray){let chart_type,customType,chartTypeMaster;yAxisID||(yAxisID=\"A\"),chartTypeMaster=\"area\"==customChartType?\"line\":\"stacked bar\"==customChartType?\"bar\":customChartType,\"stepped line (step before)\"==customChartType&&(chartTypeMaster=\"line\",instance.data.steppedLine=\"before\"),\"stepped line (step after)\"==customChartType&&(chartTypeMaster=\"line\",instance.data.steppedLine=\"after\"),chart_type=chartType?customChartType:properties.chart_type;let myDataset={yAxisID:yAxisID,data:newData,customType:undefined,type:chartTypeMaster,label:dataLabel,steppedLine:instance.data.steppedLine,backgroundColor:function(value){return value=customChartType.includes(\"area\")?instance.data.reduceOpacity(newColor,.5):!backgroundColorArray||\"Bar\"!=properties.chartType&&\"Horizontal Bar\"!=properties.chartType?newColor:backgroundColorArray},fill:function(value){return value=!!customChartType.includes(\"area\")&&\"origin\"},borderWidth:function(value){return value=\"line\"==customChartType||\"area\"==customChartType?properties.border_width:0},lineTension:properties.curve_line_charts,borderColor:newColor,pointBorderColor:function(value){return value=pointBorderColor||\"#FFFFFF\"}
265,pointBackgroundColor:function(value){return value=null!=pointBackgroundColor?pointBackgroundColor:newColor},pointBorderWidth:properties.point_border_width,pointRadius:properties.line_point_radius,pointHitRadius:20,pointHoverRadius:properties.point_hover_radius,barPercentage:properties.bar_width,categoryPercentage:properties.category_width,barThickness:properties.bar_width_pixels,datalabels:{color:function(value){return value=\"Default (Same as Series Color)\"!=properties.font_color_setting?properties.datalabel_font_color:newColor},align:\"end\",font:{family:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],size:properties.datalabel_size,weight:properties.datalabel_fontweight},anchor:function(context){return context.dataset.data[context.dataIndex]<0&&\"bar\"==chartTypeMaster?\"end\"==properties.datalabel_anchor?\"start\":\"start\"==properties.datalabel_anchor?\"end\":properties.datalabel_anchor:properties.datalabel_anchor},formatter:function(value){if(value<properties.hide_if_less_than)return\"\";if(\"\"==value||\" \"==value)return\"\";let beforeDecimal=Math.floor(parseFloat(value));parseFloat(value)<0&&(beforeDecimal=Math.ceil(parseFloat(value)));let afterDecimalCalc=parseFloat(value)-parseFloat(beforeDecimal),numDecimalPlaces=0,afterDecimal,commaValue,finalLabel;return null!=value&&-1!=value.indexOf(\".\")&&(numDecimalPlaces=value.substring(value.indexOf(\".\")+1).length),numDecimalPlaces>0?(afterDecimal=afterDecimalCalc.toFixed(numDecimalPlaces),afterDecimal=afterDecimal.split(\".\")[1]):afterDecimal=afterDecimalCalc=\"\",null!=properties.thousands_separator&&(beforeDecimal=beforeDecimal.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.data_labels_unit_before&&\"A\"==yAxisID?parseFloat(value)<0?(parseFloat(value)>-1&&(beforeDecimal=\"0\"+beforeDecimal),beforeDecimal=beforeDecimal.substring(1),beforeDecimal=\"-\"+properties.data_labels_unit_before+beforeDecimal):beforeDecimal=properties.data_labels_unit_before+beforeDecimal:properties.data_labels_unit_before&&\"B\"==yAxisID?parseFloat(value)<0?(parseFloat(value)>-1&&(beforeDecimal=\"0\"+beforeDecimal),beforeDecimal=beforeDecimal.substring(1),beforeDecimal=\"-\"+properties.b_data_labels_unit_before+beforeDecimal):beforeDecimal=properties.b_data_labels_unit_before+beforeDecimal:parseFloat(value)<0&&(parseFloat(value)>-1&&(beforeDecimal=\"0\"+beforeDecimal),beforeDecimal=beforeDecimal.substring(1),beforeDecimal=\"-\"+beforeDecimal),beforeDecimal&&(finalLabel=beforeDecimal),\"\"!=afterDecimal&&(finalLabel=finalLabel+properties.decimal_place_character+afterDecimal),properties.data_labels_unit_after&&\"A\"==yAxisID&&(finalLabel+=properties.data_labels_unit_after),properties.data_labels_unit_after&&\"B\"==yAxisID&&(finalLabel+=properties.b_data_labels_unit_after),finalLabel},offset:function(context){return context.dataset.data[context.dataIndex]<0&&\"bar\"==chartTypeMaster?-1*(properties.datalabel_offset+1.33*properties.datalabel_size):properties.datalabel_offset},display:!0,borderWidth:\"1\",borderRadius:\"3\",borderColor:function(value){return value=\"Line\"!=properties.chartType?\"rgba(0, 0, 0, 0)\":\"rgba(0, 0, 0, 0.2)\"},backgroundColor:function(value){return value=(properties.chartType,properties.datalabel_background_color)},padding:\"1\"}};if(instance.data.datasets.find((element=>element.label==dataLabel))){let foundSeries=instance.data.datasets.find((element=>element.label==dataLabel));null!=foundSeries&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1)}instance.data.datasets.push(myDataset)}function removeOldSeriesProperty(seriesName){let foundSeries_originalproperty=instance.data.datasets.find((element=>element.label==seriesName));null!=foundSeries_originalproperty&&instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries_originalproperty),1)}function updateStyle(chart){chart.options.scales.yAxes[0].gridLines.zeroLineColor=properties.y_zero_line_color,chart.options.scales.yAxes[0].ticks.display=properties.show_y_tick_labels,chart.options.scales.yAxes[0].gridLines.color=instance.data.horizontalGridlineColor,chart.options.scales.yAxes[1].gridLines.zeroLineColor=properties.y_zero_line_color,chart.options.scales.yAxes[1].ticks.display=properties.show_y_tick_labels_b}function animate1(){instance.data.updateChartDatasets(),updateStyle(instance.data.chart),instance.data.chart.update(
265)}chartContainer.parentNode.removeChild(chartContainer),(chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId)).style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",instance.data.height=properties.bubble.height(),instance.data.mainChartCanvas.style.borderRadius=properties.bubble.border_roundness(),instance.data.lineWidth=properties.border_width,null!=properties.x_ticks_rotation&&(chart.options.scales.xAxes[0].ticks.minRotation=properties.x_ticks_rotation,chart.options.scales.xAxes[0].ticks.maxRotation=properties.x_ticks_rotation),instance.data.pushDataset=pushDataset,properties.series1&&properties.series1name?(removeOldSeriesProperty(instance.data.series1_oldname),pushDataset(properties.series1name,series1array,properties.series1color,properties.series_1_type.toLowerCase(),properties.series_1_y_axis_id),instance.data.series1_oldname=properties.series1name):removeOldSeriesProperty(instance.data.series1_oldname),properties.series2&&properties.series2name?(removeOldSeriesProperty(instance.data.series2_oldname),pushDataset(properties.series2name,series2array,properties.series2color,properties.series_2_type.toLowerCase(),properties.series_2_y_axis_id),instance.data.series2_oldname=properties.series2name):removeOldSeriesProperty(instance.data.series2_oldname),properties.series3&&properties.series3name?(removeOldSeriesProperty(instance.data.series3_oldname),pushDataset(properties.series3name,series3array,properties.series3color,properties.series_3_type.toLowerCase(),properties.series_3_y_axis_id),instance.data.series3_oldname=properties.series3name):removeOldSeriesProperty(instance.data.series3_oldname),properties.series4&&properties.series4name?(removeOldSeriesProperty(instance.data.series4_oldname),pushDataset(properties.series4name,series4array,properties.series4color,properties.series_4_type.toLowerCase(),properties.series_4_y_axis_id),instance.data.series4_oldname=properties.series4name):removeOldSeriesProperty(instance.data.series4_oldname),properties.series5&&properties.series5name?(removeOldSeriesProperty(instance.data.series5_oldname),pushDataset(properties.series5name,series5array,properties.series5color,properties.series_5_type.toLowerCase(),properties.series_5_y_axis_id),instance.data.series5_oldname=properties.series5name):removeOldSeriesProperty(instance.data.series5_oldname),properties.series6&&properties.series6name?(removeOldSeriesProperty(instance.data.series6_oldname),pushDataset(properties.series6name,series6array,properties.series6color,properties.series_6_type.toLowerCase(),properties.series_6_y_axis_id),instance.data.series6_oldname=properties.series6name):removeOldSeriesProperty(instance.data.series6_oldname),document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(evt);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._model.backgroundColor;instance.publishState(\"clicked_item_x_value\",label),instance.publishState(\"clicked_item_y_value\",value),instance.publishState(\"clicked_item_series_name\",series_name),instance.publishState(\"clicked_item_series_color\",series_color);let remainingSeriesObjects=chart.data.datasets.slice(),remainingSeriesValues=remainingSeriesObjects.map((a=>a.data[clickedElementindex])),i;for(i=0;i<remainingSeriesValues.length;i++)\"\"==remainingSeriesValues[i]&&(remainingSeriesValues[i]=0);instance.publishState(\"click_item_other_series_values\",remainingSeriesValues);let remainingSeriesColors=remainingSeriesObjects.map((a=>a.borderColor));instance.publishState(\"clicked_item_other_series_colors\",remainingSeriesColors);let remainingSeriesNames=remainingSeriesObjects.map((a=>a.label));instance.publishState(\"clicked_item_other_series_names\",remainingSeriesNames)}else null!=document.getElementById(properties.custom_tooltip_id)&&$(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_clicked\",(function(err){}))},instance.data.chart=chart,setTimeout(animate1,400)})),instance.publishState(\"chart_loaded\",!0)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Mixed Bar/Line/Area Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"AVN":{"display":"List Calculator - Advanced","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AVO":{"caption":"List 1 - Input HTML id","name":"list_1_html_id","rank":3,"editor":"DynamicValue","value":"text","default_val":"List_1"},"AVP":{"caption":"List 2 - Input HTML id","name":"list_2_html_id","rank":4,"editor":"DynamicValue","value":"text","default_val":"List_2"},"AVQ":{"caption":"List 3 - Input HTML id","name":"list_3_html_id","rank":5,"editor":"DynamicValue","value":"text","default_val":"List_3"},"AVR":{"caption":"List 4 - Input HTML id","name":"list_4_html_id","rank":6,"editor":"DynamicValue","value":"text","default_val":"List_4"},"AVS":{"caption":"List 5 - Input HTML id","name":"list_5_html_id","rank":7,"editor":"DynamicValue","value":"text","default_val":"List_5"},"AVT":{"caption":"List 6 - Input HTML id","name":"list_6_html_id","rank":8,"editor":"DynamicValue","value":"text","default_val":"List_6"},"AVU":{"caption":"List 7 - Input HTML id","name":"list_7_html_id","rank":9,"editor":"DynamicValue","value":"text","default_val":"List_7"},"AVc":{"caption":"This element helps extract input values from repeating groups to populate the data in your charts!","name":"this_element_helps_extract_input_values_from_repeating_groups._to_use_it,_add_a_repeating_group_to_the_page","rank":0,"editor":"Label"},"AVd":{"caption":"The following HTML ids should be added to the HTML id property for inputs in repeating groups on your page","name":"the_following_html_ids_should_be_added_to_the_html_id_property_for_inputs","rank":1,"editor":"Label"},"AVv":{"caption":"For full documentation on how to use this element, visit the following URL: https://techblocksco.bubbleapps.io/advanced-list-calculators","name":"for_full_documentation_on_how_to_use_this_element,_visit_the_following_url:_https://techblocksco.bubbleapps.io/advanced-list-calculators","rank":2,"editor":"Label"},"AYI":{"caption":"List 8 - Input HTML id","name":"list_8_html_id","rank":10,"editor":"DynamicValue","value":"text"}},"states":{"AVV":{"caption":"Output List 1","name":"output_list_1","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AVW":{"caption":"Output List 2","name":"output_list_2","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AVX":{"caption":"Output List 3","name":"output_list_3","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AVY":{"caption":"Output List 4","name":"output_list_4","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AVZ":{"caption":"Output List 5","name":"output_list_5","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AVa":{"caption":"Output List 6","name":"output_list_6","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AVb":{"caption":"Output List 7","name":"output_list_7","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AYH":{"caption":"Output List 8","name":"output_list_8","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AVe":{"caption":"Get Input Values","code":{"fn":"function(instance,properties,context){instance.data.getValues()}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'List Calculator - Advanced';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var props={},ctr=1;$.each(properties,(function(k,v){var id=\"List\"+ctr+\"_id\";k.includes(\"list\")&&(props[id]=v,ctr++)}));let list=props;function getValues(){if(document.getElementById(properties.list_1_html_id)||document.getElementById(properties.list_2_html_id)||document.getElementById(properties.list_3_html_id)||document.getElementById(properties.list_4_html_id)||document.getElementById(properties.list_5_html_id)||document.getElementById(properties.list_6_html_id)||document.getElementById(properties.list_7_html_id)||document.getElementById(properties.list_8_html_id)){var lists=[],ctr=1;let arryOfListItems=document.querySelectorAll(\"#\"+properties.list_1_html_id),maxNumListItems=0;for(var i=0;i<arryOfListItems.length;i++)\"none\"!=arryOfListItems[i].parentNode.style.display&&(console.log(arryOfListItems[i]),maxNumListItems++);$.each(list,(function(k,v){var values=[],display=0;$(\"[id='\"+v+\"']\").each((function(){display<maxNumListItems&&(values.push($(this).val()),display++)})),lists.push(values.join(\", \"))})),$.each(lists,(function(k,v){var output=\"output_list_\"+ctr;ctr<9&&instance.publishState(output,v),ctr++}))}else{if(!(instance.data.startTime<instance.data.timeLimit))return console.log(\"Could not find the input element in the repeating group. Make sure it is loaded on the page (set to visible)\"),null;instance.data.startTime+=50,setTimeout(getValues,50)}}instance.data.timeLimit=15e3,instance.data.startTime=0,instance.data.getValues=getValues,getValues(),$(document).on(\"change\",\".bubble-element.Input\",(function(){getValues()}));const observerFunction=undefined,observer=new MutationObserver((mutations=>{mutations.forEach((mutation=>{\"attributes\"===mutation.type&&\"style\"===mutation.attributeName&&getValues()}))})),config={childList:!0,attributes:!0,attributeFilter:[\"style\"],subtree:!0},targetElement=document.body;observer.observe(targetElement,config)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AZT":{"display":"Chart - Funnel","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AYf":{"caption":"Funnel Section Labels","default_val":"Leads, Prospects, Opportunities, Win","editor":"DynamicValue","is_list":false,"name":"xvalues","rank":1,"value":"text"},"AYg":{"caption":"Series 1 Color Start","default_val":"rgba(255, 177, 120, 1)","editor":"Color","name":"series1color","rank":4},"AYh":{"caption":"Series 1 Color End","editor":"Color","name":"series2color","rank":5,"default_val":"rgba(255, 60, 142, 1)"},"AYi":{"caption":"Series 2 Color Start","default_val":"rgba(0,161,255,0.5)","editor":"Color","name":"series3color","rank":8},"AYj":{"caption":"Series 2 Color End","default_val":"rgba(0, 162, 255, 1)","editor":"Color","name":"series4color","optional":true,"rank":9},"AYk":{"caption":"Series 3 Color Start","default_val":"rgba(99, 99, 99, 1)","editor":"Color","name":"series5color","optional":true,"rank":12},"AYl":{"caption":"Show Value Labels?","default_val":true,"editor":"DynamicValue","name":"show_data_labels_value","rank":24,"value":"boolean"},"AYm":{"caption":"------------------------- Section Colors ---------------------------","name":"-------------------_series_values_(can_also_add_infinite_series_via_action)_-------------------","rank":38,"editor":"Label"},"AYn":{"caption":"------------------------- General Settings -------------------------","name":"-------------------_main_fields_-------------------","rank":0,"editor":"Label"},"AYo":{"caption":"Data Label Unit Before","name":"data_labels_unit_before","rank":30,"editor":"DynamicValue","value":"text","optional":true},"AYp":{"caption":"Data Labels Unit After","name":"data_labels_unit_after","rank":31,"editor":"DynamicValue","value":"text","optional":true},"AYq":{"caption":"Thousands Separator","name":"thousands_separator","rank":14,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"AYr":{"caption":"--------------------------- Data Labels ---------------------------","name":"---------------------------_data_labels_---------------------------","rank":23,"editor":"Label"},"AYs":{"caption":"Vertical Offset","name":"datalabel_offset","rank":29,"editor":"DynamicValue","value":"number","default_val":3},"AYt":{"caption":"Percent - Font Color","name":"datalabel_font_color_percent","rank":34,"editor":"Color","default_val":"rgba(0, 162, 255, 1)"},"AYu":{"caption":"Anchor","name":"datalabel_anchor","rank":27,"editor":"Dropdown","default_val":"left"},"AYv":{"caption":"Series 3 Color End","name":"series6color","rank":13,"editor":"Color","default_val":"rgba(92, 92, 92, 1)","optional":true},"AYw":{"caption":"Additional Colors (Comma-Separated List)","name":"additional_colors","rank":39,"editor":"DynamicValue","value":"text","default_val":"#33B5E5, #36D184, #F7B733, #AA66CC, #636363, #FF7300"},"AYx":{"caption":"Series 1 Values","name":"values","rank":3,"editor":"DynamicValue","value":"text","default_val":"2450, 705, 581, 322"},"AYy":{"caption":"Funnel Alignment","name":"side","rank":16,"editor":"Dropdown","default_val":"vertical"},"AYz":{"caption":"Left Padding","name":"left_padding","rank":17,"editor":"DynamicValue","value":"number","default_val":10},"AZA":{"caption":"Right Padding","name":"right_padding","rank":18,"editor":"DynamicValue","value":"number","default_val":10},"AZB":{"caption":"Horizontal Offset","name":"datalabel_horizontal_offset","rank":28,"editor":"DynamicValue","value":"number","default_val":0},"AZC":{"caption":"Show Hover Tooltips?","name":"show_hover_tooltips","rank":19,"editor":"DynamicValue","value":"boolean","default_val":false},"AZD":{"caption":"Title - Font Color","name":"datalabel_font_color_title","rank":33,"editor":"Color","default_val":"rgba(122, 122, 122, 1)"},"AZE":{"caption":"Value - Font Color","name":"datalabel_font_color_value","rank":32,"editor":"Color","default_val":"rgba(122, 122, 122, 1)"},"AZF":{"caption":"Value - Font Size","name":"datalabel_font_size_value","rank":35,"editor":"DynamicValue","value":"number","default_val":15},"AZG":{"caption":"Title - Font Size","name":"datalabel_font_size_title","rank":36,"editor":"DynamicValue","value":"number","default_val":10},"AZH":{"caption":"Percent - Font Size","name":"datalabel_font_size_percent","rank":37,"editor":"DynamicValue","value":"number","default_val":18},"AZI":{"caption":"Show Percent Labels?","name":"show_data_labels_percent","rank":26,"editor":"DynamicValue","value":"boolean","default_val":true},"AZJ":{"caption":"Show Title Labels?","name":"show_data_labels_title","rank":25,"editor":"DynamicValue","value":"boolean","default_val":true},"AZK":{"caption":"Separator Color","name":"separator_color","rank":15,"editor":"Color","value":"_any_thing","default_val":"rgba(174, 185, 194, 1)"},"AZL":{"caption":"Series 1 Name","name":"series_1_name","rank":2,"editor":"DynamicValue","value":"text","default_val":"Series 1"},"AZM":{"caption":"Series 2 Name","name":"series_2_name","rank":6,"editor":"DynamicValue","value":"text","default_val":"Series 2","optional":true},"AZN":{"caption":"Series 2 Values","name":"series_2_values","rank":7,"editor":"DynamicValue","value":"text","optional":true,"default_val":"1050, 210, 108, 52"},"AZO":{"caption":"Series 3 Name","name":"series_3_name","rank":10,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Series 3"},"AZP":{"caption":"Series 3 Values","name":"series_3_values","rank":11,"editor":"DynamicValue","value":"text","optional":true,"default_val":"500, 200, 100, 50"}
265,"AZU":{"caption":"Tooltip Background Color","name":"tooltip_background_color","rank":20,"editor":"Color","default_val":"rgba(255,255,255,0.8)"},"AZV":{"caption":"Tooltip Series Name Color","name":"tooltip_series_name_color","rank":21,"editor":"Color","default_val":"rgba(99, 99, 99, 1)"},"AZW":{"caption":"Tooltip Value Color","name":"tooltip_value_color","rank":22,"editor":"Color","default_val":"rgba(0, 162, 255, 1)"}},"states":{"AZQ":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"text"},"AZR":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AZS":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AYe":{"caption":"chart_value_clicked","name":"chart_value_clicked"}},"actions":{"AYX":{"caption":"Add a Data Series","code":{"fn":"function(instance,properties,context){let customChartType;function addSeries(){if(instance.data.createDataArray){let newSeries=instance.data.createDataArray(properties.yValues);instance.data.pushDataset(properties.series_name,newSeries,properties.series_color,customChartType),instance.data.updateChartDatasets(),instance.data.chart.update()}else setTimeout(addSeries,1500)}properties.chart_type&&(customChartType=properties.chart_type.toLowerCase()),addSeries()}"},"fields":{"AYY":{"caption":"Series Name","name":"series_name","rank":0,"editor":"DynamicValue","value":"text"},"AYZ":{"caption":"Series Color","name":"series_color","rank":1,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"AYa":{"caption":"Series Y Values","name":"yValues","rank":2,"editor":"DynamicValue","value":"text"},"AYb":{"caption":"Chart Type","name":"chart_type","rank":3,"editor":"Dropdown","optional":true}}},"AYc":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){let foundSeries=instance.data.chart.data.datasets.find((element=>element.label==properties.data_series_name));null!=foundSeries&&(instance.data.chart.data.datasets.splice(instance.data.chart.data.datasets.indexOf(foundSeries),1),instance.data.chart.update())}"},"fields":{"AYd":{"caption":"Data Series Name","name":"data_series_name","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id=\"+instance.data.uniqueChartId+\"></div>\",instance.canvas.append(instance.data.chartCanvasCopy)}"},"update":{"fn":"function(instance,properties,context){let labels=properties.xvalues.split(\",\"),values=properties.values.split(\",\").map(Number),sublabelsArray=[];sublabelsArray.push(properties.series_1_name);let arrayOfArrayValues=[];if(properties.series_2_values){let values2=properties.series_2_values.split(\",\").map(Number);for(let i=0;i<values.length;i++){let newArray=[values[i],values2[i]];arrayOfArrayValues.push(newArray)}values=arrayOfArrayValues,sublabelsArray.push(properties.series_2_name)}if(properties.series_3_values){let values3=properties.series_3_values.split(\",\").map(Number);for(let i=0;i<arrayOfArrayValues.length;i++)arrayOfArrayValues[i].push(values3[i]);values=arrayOfArrayValues,sublabelsArray.push(properties.series_3_name)}let colors=[],colors2=[],colors3=[];colors.push(properties.series1color),colors.push(properties.series2color),colors2.push(properties.series3color),colors2.push(properties.series4color),colors3.push(properties.series5color),colors3.push(properties.series6color);let colorsArray=[];colorsArray.push(colors),colorsArray.push(colors2),colorsArray.push(colors3),colorsArray=colorsArray.slice(0,values.length);let additionalColors=properties.additional_colors,additionalColorsArray;null!=additionalColors&&(additionalColorsArray=additionalColors.split(\", \"));let fullColorArray,finalColorArray=colors.concat(additionalColorsArray).slice(0,labels.length);colors=colors.slice(0,labels.length);let direction=properties.side,borderColor=properties.separator_color;var data={labels:labels,subLabels:sublabelsArray,colors:colorsArray,values:values};if(instance.data.funnel?instance.data.funnel.update({data:data}):(instance.data.funnel=new FunnelGraph({container:\"#\"+instance.data.uniqueChartId,gradientDirection:direction,data:data,displayPercent:properties.display_percent,direction:direction,width:0,height:0,subLabelValue:\"raw\"}),instance.data.funnel.draw()),\"horizontal\"==direction){let labelNodes;instance.data.funnel.updateHeight(properties.bubble.height()-130),instance.data.funnel.updateWidth(properties.bubble.width()),$(instance.canvas[0]).find(\".svg-funnel-js__labels .svg-funnel-js__label\").each((function(i){0!==i&&$($(this)).css({borderLeft:`1px solid ${borderColor}`})}))}else{let labelNodes;instance.data.funnel.updateHeight(properties.bubble.height()),instance.data.funnel.updateWidth(properties.bubble.width()-130),$(instance.canvas[0]).find(\".svg-funnel-js__labels .svg-funnel-js__label\").each((function(i){0!==i&&$($(this)).css({borderTop:`1px solid ${borderColor}`})}))}instance.data.funnel.update({displayPercent:properties.show_data_labels_percent,direction:direction,gradientDirection:direction}),$(instance.canvas[0]).find(\".label__segment-percentages\").each((function(i){let seriesNames;$(this).css({backgroundColor:properties.tooltip_background_color}),this.querySelectorAll(\"li\").forEach((function(item){item.style.color=properties.tooltip_series_name_color,item.style.fontFamily=properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],item.style.fontSize=12}))})),$(instance.canvas[0]).find(\".percentage__list-label\").each((function(i){$(this).css({color:properties.tooltip_value_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:12})})),$(instance.canvas[0]).find(\".svg-funnel-js__subLabel--title\").each((function(i){$(this).css({color:\"gray\",fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}),instance.data.labelPercentElement=this.cloneNode(!0)})),$(instance.canvas[0]).find(\".label__title\").each((function(i){properties.show_data_labels_title||$(this).text(\"\"),$(this).css({color:properties.datalabel_font_color_title,fontSize:properties.datalabel_font_size_title,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]})})),$(instance.canvas[0]).find(\".label__percentage\").each((function(i){properties.show_data_labels_percent||$(this).text(\"\"),-1==i&&$(this).text(\"100%\"),$(this).css({color:properties.datalabel_font_color_percent,fontSize:properties.datalabel_font_size_percent,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}),instance.data.labelPercentElement=this.cloneNode(!0)})),$(instance.canvas[0]).find(\".label__value\").each((function(i){0==i&&properties.show_data_labels_percent&&($(instance.data.labelPercentElement).text(\"100%\"),this.parentNode.appendChild(instance.data.labelPercentElement));let rawCommaValue=$(this).text(),newCommaSeparatedValue;rawCommaValue=rawCommaValue.replace(/,/g,\"\"),newCommaSeparatedValue=rawCommaValue.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator),properties.data_labels_unit_before&&(newCommaSeparatedValue=properties.data_labels_unit_before+newCommaSeparatedValue),properties.data_labels_unit_after&&(newCommaSeparatedValue+=properties.data_labels_unit_after),$(this).text(newCommaSeparatedValue),properties.show_data_labels_value||$(this).text(\"\"),$(this).css({color:properties.datalabel_font_color_value,fontSize:properties.datalabel_font_size_value})}))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Funnel Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"Aah":{"display":"Chart - Polar Area","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_hover_pressed":false,"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AZl":{"caption":"Series Labels","default_val":"Category A, Category B, Category C, Category D","editor":"DynamicValue","is_list":false,"name":"chartlabels","rank":2,"value":"text"},"AZm":{"caption":"Series Values","default_val":"2525, 743, 431, 1540","editor":"DynamicValue","name":"series1","rank":3,"value":"text"},"AZn":{"caption":"Value's Colors","default_val":"#00A2FF, #24E082, #FF8961, #BC61E6","editor":"DynamicValue","is_list":false,"name":"series1color","rank":4,"value":"text"},"AZo":{"caption":"Tooltip Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":38,"value":"text"},"AZp":{"caption":"Tooltip Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":39,"value":"text"},"AZq":{"caption":"labelValue: Unit Before","default_val":"$","editor":"DynamicValue","name":"data_label_unit_before","rank":26,"value":"text"},"AZr":{"caption":"labelValue: Unit After","default_val":" USD","editor":"DynamicValue","name":"data_label_unit_after","rank":27,"value":"text"},"AZs":{"caption":"Show/Hide Legend","name":"showLegend2","rank":6,"editor":"Dropdown","default_val":"Top"},"AZt":{"caption":"Section Border Width","name":"section_border_width","rank":18,"editor":"DynamicValue","value":"number","default_val":5},"AZu":{"caption":"Section Border Color","name":"section_border_color","rank":19,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"AZv":{"caption":"Cutout Percentage","name":"cutout_percentage","rank":17,"editor":"DynamicValue","value":"number","default_val":82},"AZw":{"caption":"-------------------------- General Settings --------------------------","name":"-------------------------_general_settings_-------------------------","rank":5,"editor":"Label"},"AZx":{"caption":"---------------------------- Chart Styling ----------------------------","name":"-------------------------_chart_styling_-------------------------","rank":16,"editor":"Label"},"AZy":{"caption":"-------------------------- Tooltip Settings ---------------------------","name":"-------------------------_tooltip_settings_-------------------------","rank":37,"editor":"Label"},"AZz":{"caption":"Thousands Separator","name":"thousands_separator","rank":12,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"AaA":{"caption":"Hover Border Width","name":"hover_border_width","rank":21,"editor":"DynamicValue","value":"number","optional":false,"default_val":3},"AaB":{"caption":"----------------------------- Data Labels ------------------------------","name":"--------------------------_data_labels_---------------------------","rank":23,"editor":"Label"},"AaC":{"caption":"Font Color","name":"datalabel_font_color","rank":34,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"AaD":{"caption":"Anchor","name":"anchor","rank":31,"editor":"Dropdown","default_val":"end"},"AaE":{"caption":"Font Color Setting","name":"font_color_setting","rank":33,"editor":"Dropdown","default_val":"Default (Same as Series Color)"},"AaF":{"caption":"Offset","name":"offset","rank":32,"editor":"DynamicValue","value":"number","default_val":3},"AaG":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":11,"editor":"DynamicValue","value":"text","optional":true},"AaH":{"caption":"Font Size","name":"datalabel_size","rank":35,"editor":"DynamicValue","value":"number","default_val":12},"AaI":{"caption":"Section Corner Roundness","name":"section_corner_roundness","rank":41,"editor":"Dropdown","default_val":"Square Corners"},"AaJ":{"caption":"Round Corner Section#","name":"rounded_corner_section_number","rank":42,"editor":"DynamicValue","value":"number","default_val":0},"AaK":{"caption":"------------------ Section Corner Roundness -------------------","name":"---------------------_section_corner_roundness_----------------------","rank":40,"editor":"Label"},"AaL":{"caption":"Chart Padding","name":"padding","rank":14,"editor":"DynamicValue","value":"number","default_val":15},"AaM":{"caption":"Rotation","name":"rotation","rank":22,"editor":"DynamicValue","value":"number","default_val":0},"AaN":{"caption":"Total Circumference","name":"total_circumference","rank":20,"editor":"DynamicValue","value":"number","default_val":360},"AaO":{"caption":"Hide Overlap'd Labels","name":"hide_datalabels_overlap","rank":29,"editor":"DynamicValue","value":"boolean","default_val":false},"AaP":{"caption":"Legend Padding","name":"legend_padding","rank":10,"editor":"DynamicValue","value":"number","default_val":0},"AaQ":{"caption":"Hide Labels Less Than #","name":"hide_if_less_than","rank":30,"editor":"DynamicValue","value":"number","optional":true},"AaR":{"caption":"Animation Duration","name":"animation_duration","rank":15,"editor":"DynamicValue","value":"number","default_val":1500},"AaS":{"caption":"Legend Font Color","name":"legend_font_color","rank":8,"editor":"Color","default_val":"rgba(174, 185, 194, 1)"},"AaT":{"caption":"Hide from Legend if <","name":"hide_from_legend_if_less_than","rank":9,"editor":"DynamicValue","value":"number","optional":true},"AaU":{"caption":"----------------------------- Chart Data -----------------------------","name":"-----------------------------_chart_data_-----------------------------","rank":0,"editor":"Label"}
265,"AaV":{"caption":"ℹ️ Enter your chart's labels, values, and colors. Values in each list should be comma-separated (with comma and space \", \").  The 1st item in the \"Series Labels\" list matches with the 1st item in \"Series Values\" and \"Value's Colors\" lists; the 2nd items all match with each other, and so on","name":"ℹ️_enter_you_chart's_x-axis_values_(the_x-axis_labels_that_will_go_from_left_to_right)_separated_by_comma_and_space_(\",_\").__can_be_a_dynamic_expression.","rank":1,"editor":"Label"},"AaW":{"caption":"⚠️ If data points get cut off near edges of the chart element, increase the Chart Padding below:","name":"⚠️_if_data_points_get_cut_off_near_edges_of_the_chart_element,_increase_the_chart_padding_below:","rank":13,"editor":"Label"},"AaX":{"caption":"Data Label Text","name":"data_label_text","rank":25,"editor":"DynamicValue","value":"text","optional":true,"default_val":"labelPercent, labelValue, labelName"},"AaY":{"caption":"Show Data Label?","name":"show_label","rank":24,"editor":"DynamicValue","value":"boolean","default_val":false},"AaZ":{"caption":"Percent Decimal Places","name":"labelpercent_decimal","rank":28,"editor":"DynamicValue","value":"number","default_val":2},"Aaa":{"caption":"Label Font Weight","name":"datalabel_fontweight","rank":36,"editor":"Dropdown","default_val":" 400","in_style":false},"Aab":{"caption":"Legend Color Style","name":"legend_color_style","rank":7,"editor":"Dropdown","default_val":"Circle"}},"states":{"Aac":{"caption":"Clicked Item Label Value","name":"clicked_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Aad":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Aae":{"caption":"Hovered Item Label Value","name":"hovered_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Aaf":{"caption":"Hovered Item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Aag":{"caption":"Hovered Item Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AZj":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"AZk":{"caption":"Chart Value Hovered","name":"chart_value_hovered"}},"code":{"initialize":{"fn":"function(instance,context){instance.data.uniqueChartId=\"chartcanvas\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id='chartContainer\"+instance.data.uniqueChartId+\"' class='chart-container' style='position: relative; height: 1px; width: 1px'><canvas id='\"+instance.data.uniqueChartId+\"'></canvas></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);function forceUpdate(){document.getElementById(instance.data.custom_tooltip_id)&&(document.getElementById(instance.data.custom_tooltip_id).style.display=\"none\")}instance.data.ctxChartState=chartcanvas2.getContext(\"2d\"),setTimeout(forceUpdate,200)}"},"update":{"fn":"function(instance,properties,context){if(Chart.plugins.unregister(ChartDataLabels),Chart.Legend.prototype.afterFit=function(){this.height=this.height+properties.legend_padding,this.width=this.width+properties.legend_padding},null!=properties.custom_tooltip_id&&(instance.data.custom_tooltip_id=properties.custom_tooltip_id),null==properties.chartlabels||null==properties.series1)return;if($(document).on(\"mousemove\",(function(e){let divHeight=$(\"#\"+properties.custom_tooltip_id).height();$(\"#\"+properties.custom_tooltip_id).css({position:\"fixed\",left:e.clientX+12,top:e.clientY-divHeight/2,zIndex:1e21})})),instance.data.ctxChartState){$(\"#\"+instance.data.uniqueChartId).remove();var canvas3=instance.data.chartCanvasCopy;instance.canvas.append(canvas3);var chartcanvas2=document.getElementById(instance.data.uniqueChartId);instance.data.ctxChartState=chartcanvas2.getContext(\"2d\")}var chartcanvas=document.getElementById(instance.data.uniqueChartId),ctxchart=chartcanvas.getContext(\"2d\");let legendState,showLegend;\"Don't Show Legend\"==properties.showLegend2?showLegend=!1:(legendState=properties.showLegend2.toLowerCase(),showLegend=!0);let listofchartlabels=properties.chartlabels,arrayoflabels=[];null!=properties.chartlabels&&(properties.chartlabels.includes(\",\")?arrayoflabels=listofchartlabels.split(\",\"):arrayoflabels.push(properties.chartlabels));let series1array=[];if(!properties.series1)return void series1array.push(5);if(properties.series1.includes(\",\")){let series1string=properties.series1;series1array=series1string.split(\",\")}else series1array.push(properties.series1);let pieChartColorsArray=[];if(properties.series1color.includes(\",\")){pieChartColorsArray=properties.series1color.split(\",\");for(let i=0;i<pieChartColorsArray.length;i++)pieChartColorsArray[i]=pieChartColorsArray[i].replace(/\\s/g,\"\")}else pieChartColorsArray.push(properties.series1color);let allYValuesArray=series1array,chartLabelsOn;1==properties.show_label&&[ChartDataLabels]&&(chartLabelsOn=[ChartDataLabels]);let customTooltip=!1;
265null!=properties.custom_tooltip_id&&(customTooltip=!0,$(\"#\"+properties.custom_tooltip_id).fadeOut(1)),Chart.defaults.RoundedDoughnut=Chart.helpers.clone(Chart.defaults.doughnut),Chart.controllers.RoundedDoughnut=Chart.controllers.doughnut.extend({draw:function(ease){var ctx=this.chart.ctx,easingDecimal=ease||1,arcs=this.getMeta().data;Chart.helpers.each(arcs,(function(arc,i){arc.transition(easingDecimal).draw();var pArc,pColor=arcs[0===i?arcs.length-1:i-1]._view.backgroundColor,vm=arc._view,radius=(vm.outerRadius+vm.innerRadius)/2,thickness=(vm.outerRadius-vm.innerRadius)/2,startAngle=Math.PI-vm.startAngle-Math.PI/2,angle=Math.PI-vm.endAngle-Math.PI/2;ctx.save(),ctx.translate(vm.x,vm.y),ctx.fillStyle=0===i?vm.backgroundColor:pColor,ctx.beginPath(),ctx.arc(radius*Math.sin(startAngle),radius*Math.cos(startAngle),thickness,0,2*Math.PI),ctx.fill(),ctx.fillStyle=vm.backgroundColor,ctx.beginPath(),ctx.arc(radius*Math.sin(angle),radius*Math.cos(angle),thickness,0,2*Math.PI),ctx.fill(),ctx.restore()}))}}),Chart.pluginService.register({afterUpdate:function(chart){if(void 0!==chart.config.options.elements.arc.roundedCornersFor){var arc=chart.getDatasetMeta(0).data[chart.config.options.elements.arc.roundedCornersFor];arc.round={x:(chart.chartArea.left+chart.chartArea.right)/2,y:(chart.chartArea.top+chart.chartArea.bottom)/2,radius:(chart.outerRadius+chart.innerRadius)/2,thickness:(chart.outerRadius-chart.innerRadius)/2-1,backgroundColor:arc._model.backgroundColor}}},afterDraw:function(chart){if(void 0!==chart.config.options.elements.arc.roundedCornersFor){var ctx=chart.chart.ctx,arc=chart.getDatasetMeta(0).data[chart.config.options.elements.arc.roundedCornersFor],startAngle=Math.PI/2-arc._view.startAngle,endAngle=Math.PI/2-arc._view.endAngle;let vm=arc._view,thickness=(vm.outerRadius-vm.innerRadius)/2;ctx.save(),ctx.translate(arc.round.x,arc.round.y),ctx.fillStyle=arc.round.backgroundColor,ctx.beginPath(),ctx.arc(arc.round.radius*Math.sin(startAngle),arc.round.radius*Math.cos(startAngle),thickness,0,2*Math.PI),ctx.arc(arc.round.radius*Math.sin(endAngle),arc.round.radius*Math.cos(endAngle),thickness,0,2*Math.PI),ctx.closePath(),ctx.fill(),ctx.restore()}}});let chartType=\"pie\",showDataLabelsOverlap;\"Rounded Corners (All Sections)\"==properties.section_corner_roundness&&(chartType=\"RoundedDoughnut\"),showDataLabelsOverlap=!properties.hide_datalabels_overlap||\"auto\";let config={plugins:chartLabelsOn,type:\"polarArea\",data:{labels:arrayoflabels,datasets:[{fill:!1,borderWidth:properties.section_border_width,borderColor:properties.section_border_color,hoverBorderWidth:properties.hover_border_width,hoverBorderColor:properties.section_border_color,label:properties.series1name,backgroundColor:pieChartColorsArray,data:series1array,datalabels:{display:showDataLabelsOverlap,anchor:properties.anchor,align:function(value){return value=0==properties.offset?\"center\":\"end\"},offset:properties.offset,color:function(value){return value=\"Custom (Define Color Below)\"==properties.font_color_setting?properties.datalabel_font_color:pieChartColorsArray},formatter:function(value,context){let completeLabel=\"\",percent,labelValue,labelName;if(value<properties.hide_if_less_than)return\"\";let total=eval(series1array.join(\"+\")),labelArray;if(percent=String((value/total*100).toFixed(properties.labelpercent_decimal))+\"%\",labelName=arrayoflabels[context.dataIndex],labelValue=value.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator),properties.data_label_unit_before&&(labelValue=(properties.data_label_unit_before+labelValue).replace(/\\s/g,\"\")),properties.data_label_unit_after&&(labelValue+=properties.data_label_unit_after),properties.data_label_text&&(labelArray=properties.data_label_text.split(\", \")),properties.data_label_text)for(;labelArray.length>0;)completeLabel&&(completeLabel+=\" \"),\"labelPercent\"==labelArray[0]&&(completeLabel+=percent),\"labelValue\"==labelArray[0]&&(completeLabel+=labelValue),\"labelName\"==labelArray[0]&&(completeLabel+=labelName),\"placeholder\"==labelArray[0]&&(completeLabel+=\"placeholder\"),labelArray.shift();return completeLabel},font:{family:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],size:properties.datalabel_size,weight:properties.datalabel_fontweight}}}]},options:{scale:{ticks:{display:!1}},plugins:{crosshair:!1},animation:{duration:properties.animation_duration},onHover:function(event,elements){if(elements[0]){var activePoint=chart.getElementAtEvent(event),clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label,series_color=activePoint[0]._view.backgroundColor;customTooltip&&(instance.publishState(\"hovered_item_x_value\",label),instance.publishState(\"hovered_item_y_value\",value),instance.publishState(\"hovered_item_series_color\",series_color),$(\"#\"+properties.custom_tooltip_id).fadeIn(250),null!=document.getElementById(properties.custom_tooltip_id)&&($(\"#\"+instance.data.uniqueChartId).css(\"cursor\",elements[0]?\"pointer\":\"default\"),document.getElementById(properties.custom_tooltip_id).style.zIndex=\"1000000000000000000000\"))}else $(\"#\"+properties.custom_tooltip_id).fadeOut(100);label&&value&&series_name&&instance.triggerEvent(\"chart_value_hovered\",(function(err){}))},cutoutPercentage:properties.cutout_percentage,rotation:-.5*Math.PI+properties.rotation*(Math.PI/180),circumference:properties.total_circumference*(Math.PI/180),legend:{align:\"left\",dis
265play:showLegend,position:legendState,labels:{filter:function(legendItem,data){return null==properties.hide_from_legend_if_less_than||data.datasets[0].data[legendItem.index]>properties.hide_from_legend_if_less_than},usePointStyle:\"Circle\"==properties.legend_color_style,fontColor:properties.legend_font_color,fontSize:properties.bubble.font_size(),fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0]}},maintainAspectRatio:!1,layout:{padding:{right:properties.padding,left:properties.padding,top:properties.padding,bottom:properties.padding}},tooltips:{enabled:!customTooltip,titleFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],bodyFontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callbacks:{label:function(tooltipItem,data){let label=\"\";label+=data.labels[tooltipItem.index],label+=\": \";let commaYLabel=data.datasets[0].data[tooltipItem.index];return null!=properties.thousands_separator&&(commaYLabel=commaYLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(commaYLabel=properties.yAxisUnitBeforeNumber+commaYLabel),label+=commaYLabel,properties.yAxisUnitAfterNumber&&(label+=properties.yAxisUnitAfterNumber),label}}}}},chart=new Chart(instance.data.ctxChartState,config);instance.data.chart=chart,chart.update();var chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId);function updateData(dataLabel,newData,newColor){chart.data.datasets.push({label:dataLabel,backgroundColor:newColor,data:newData,fill:!1,borderColor:newColor}),chart.update()}chartContainer.parentNode.removeChild(chartContainer),chartContainer=document.getElementById(\"chartContainer\"+instance.data.uniqueChartId),chartContainer.style.height=properties.bubble.height().toString()+\"px\",chartContainer.style.width=properties.bubble.width().toString()+\"px\",document.getElementById(instance.data.uniqueChartId).onclick=function(evt){var activePoint=chart.getElementAtEvent(event);if(activePoint.length>0){var clickedDatasetIndex=activePoint[0]._datasetIndex,clickedElementindex=activePoint[0]._index,label=chart.data.labels[clickedElementindex],value=chart.data.datasets[clickedDatasetIndex].data[clickedElementindex],series_name=chart.data.datasets[clickedDatasetIndex].label;instance.publishState(\"clicked_item_x_value\",label),instance.publishState(\"clicked_item_y_value\",value)}instance.triggerEvent(\"chart_value_clicked\",(function(err){}))},\"Rounded Corners (Single Section)\"==properties.section_corner_roundness&&(chart.options.elements.arc.roundedCornersFor=properties.rounded_corner_section_number),chart.destroy(),chart=new Chart(instance.data.ctxChartState,config)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Polar Area Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"},"Asw":{"display":"Chart - Heatmap Beta","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"Padding":true,"Font":true},"add_is_visible":true,"fields":{"Asx":{"caption":"X Axis Values","name":"xLabels","rank":1,"editor":"DynamicValue","value":"text","default_val":"x1, x2, x3"},"Asy":{"caption":"Y Axis Values","name":"yLabels","rank":2,"editor":"DynamicValue","value":"text","default_val":"y1, y2, y3"},"Asz":{"caption":"Heatmap Values","name":"values","rank":3,"editor":"DynamicValue","value":"text","default_val":"1, 2, 3; 4, 5, 6; 7, 8, 9"},"AtA":{"caption":"Color","name":"color","rank":4,"editor":"Color","default_val":"rgba(0, 162, 255, 1)"},"AtB":{"caption":"Show Toolbar?","name":"show_toolbar","rank":6,"editor":"DynamicValue","value":"boolean","default_val":true},"AtC":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":5,"editor":"Label"},"AtD":{"caption":"----------------------------- Chart Data -----------------------------","name":"-----------------------------_chart_data_-----------------------------","rank":0,"editor":"Label"},"AyF":{"caption":"Values Unit Before","name":"values_unit_before","rank":7,"editor":"DynamicValue","value":"text"},"AyG":{"caption":"Values Unit After","name":"values_unit_after","rank":8,"editor":"DynamicValue","value":"text"}},"code":{"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Heatmap Chart';\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';
265\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"},"initialize":{"fn":"function(instance,context){function createDataArray(xString){let outputArray,xArray;return null!=xString&&(xArray=xString.split(\",\")),xArray}function convertStringToArrayOfArrays(str){var arr=str.split(\";\").map((function(item){return item.trim()})),seriesArray=[];return $.each(arr,(function(k,v){var a=v.split(\",\").map((function(item){return parseFloat(item.trim(),10)}));seriesArray.push(a)})),seriesArray}function rgbaToHex(rgba){const match=rgba.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*(0|1|0?\\.\\d+))?\\)/);if(!match)throw new Error(\"Invalid RGBA color\");const hex=undefined;return`#${match.slice(1,4).map((num=>parseInt(num).toString(16).padStart(2,\"0\"))).join(\"\")}`}instance.data.createDataArray=createDataArray,instance.data.convertStringToArrayOfArrays=convertStringToArrayOfArrays,instance.data.rgbaToHex=rgbaToHex;let xLabels=[\"x1\",\"x2\",\"x3\"],yLabels=[\"y1\",\"y2\",\"y3\"],values=[[100,200,300],[200,300,400],[300,400,500]],myseries=yLabels.map(((label,index)=>{let data;return{name:label,data:xLabels.map(((xLabel,idx)=>({x:xLabel,y:values[index][idx]})))}})),yourseries=xLabels.map(((label,index)=>{let data;return{name:label,data:yLabels.map(((xLabel,idx)=>({x:xLabel,y:values[index][idx]})))}}));var options={series:myseries,chart:{height:350,type:\"heatmap\"},dataLabels:{enabled:!1},colors:[\"#008FFB\"]};instance.data.uniqueChartId=\"apexChart\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id=\"+instance.data.uniqueChartId+\"></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chart=new ApexCharts(document.querySelector(\"#\"+instance.data.uniqueChartId),options);instance.data.chart=chart,chart.render()}"},"update":{"fn":"function(instance,properties,context){try{let xLabels=instance.data.createDataArray(properties.xLabels),yLabels=instance.data.createDataArray(properties.yLabels),values=instance.data.convertStringToArrayOfArrays(properties.values),colors=[];const hexColor=instance.data.rgbaToHex(properties.color);colors.push(hexColor);let myseries=yLabels.map(((label,index)=>{let data;return{name:label,data:xLabels.map(((xLabel,idx)=>({x:xLabel,y:values[index][idx]})))}}));if(instance.data.chart){const options={series:myseries,chart:{height:properties.bubble.height(),type:\"heatmap\",toolbar:{show:properties.show_toolbar}},dataLabels:{enabled:!1},colors:colors,tooltip:{y:{formatter:function(value){const unitBefore=undefined,unitAfter=undefined;return(properties.values_unit_before||\"\")+value+(properties.values_unit_after||\"\")}}}};instance.data.chart.updateOptions(options,!0,!1)}else{console.warn(\"Chart instance missing. Reinitializing chart...\");const chartContainerId=instance.data.uniqueChartId;document.getElementById(chartContainerId)||(instance.canvas.html(\"\"),instance.canvas.append(instance.data.chartCanvasCopy));const options={series:myseries,chart:{height:properties.bubble.height(),type:\"heatmap\",toolbar:{show:properties.show_toolbar}},dataLabels:{enabled:!1},colors:colors,tooltip:{y:{formatter:function(value){const unitBefore=undefined,unitAfter=undefined;return(properties.values_unit_before||\"\")+value+(properties.values_unit_after||\"\")}}}};instance.data.chart=new ApexCharts(document.querySelector(\"#\"+chartContainerId),options),instance.data.chart.render()}}catch(error){console.error(\"Error updating chart:\",error)}}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AtL":{"display":"Chart - Treemap Beta","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"Padding":true,"Font":true},"add_is_visible":true,"fields":{"AtE":{"caption":"X Axis Values","name":"xLabels","rank":1,"editor":"DynamicValue","value":"text","default_val":"x1, x2, x3"},"AtG":{"caption":"Heatmap Values","name":"values","rank":2,"editor":"DynamicValue","value":"text","default_val":"1, 2, 3"},"AtH":{"caption":"Color","name":"color","rank":3,"editor":"Color","default_val":"rgba(0, 162, 255, 1)"},"AtI":{"caption":"Show Toolbar?","name":"show_toolbar","rank":5,"editor":"DynamicValue","value":"boolean","default_val":true},"AtJ":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":4,"editor":"Label"},"AtK":{"caption":"----------------------------- Chart Data -----------------------------","name":"-----------------------------_chart_data_-----------------------------","rank":0,"editor":"Label"},"AtM":{"caption":"Show Data Labels?","name":"show_datalabels","rank":10,"editor":"DynamicValue","value":"boolean","default_val":true},"AtN":{"caption":"Multi Colored?","name":"multi_colored","rank":6,"editor":"DynamicValue","value":"boolean","default_val":true},"AyD":{"caption":"Values - Unit Before","name":"values_unit_before","rank":7,"editor":"DynamicValue","value":"text"},"AyE":{"caption":"Values - Unit After","name":"values_unit_after","rank":8,"editor":"DynamicValue","value":"text"},"AyW":{"caption":"Max # Char Per Line","name":"max_num_char_per_line_datalabels","rank":11,"editor":"DynamicValue","value":"number","optional":true},"AyX":{"caption":"----------------------- Data Labels Settings -----------------------","name":"-----------------------_data_labels_settings_-----------------------","rank":9,"editor":"Label"}},"code":{"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Treemap Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"},"initialize":{"fn":"function(instance,context){function createDataArray(xString){let outputArray,xArray;return null!=xString&&(xArray=xString.split(\",\")),xArray}function transformArrays(xLabels,yLabels){if(xLabels.length!==yLabels.length)throw new Error(\"The lengths of xLabels and yLabels must be equal.\");return xLabels.map(((x,index)=>({x:x,y:yLabels[index]})))}function rgbaToHex(rgba){const match=rgba.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*(0|1|0?\\.\\d+))?\\)/);if(!match)throw new Error(\"Invalid RGBA color\");const hex=undefined;return`#${match.slice(1,4).map((num=>parseInt(num).toString(16).padStart(2,\"0\"))).join(\"\")}`}instance.data.createDataArray=createDataArray,instance.data.transformArrays=transformArrays,instance.data.rgbaToHex=rgbaToHex;let xLabels=[\"x1\",\"x2\",\"x3\"],yLabels=[\"y1\",\"y2\",\"y3\"],values=[[100,200,300],[200,300,400],[300,400,500]],myseries=yLabels.map(((label,index)=>{let data;return{name:label,data:xLabels.map(((xLabel,idx)=>({x:xLabel,y:values[index][idx]})))}})),yourseries=xLabels.map(((label,index)=>{let data;return{name:label,data:yLabels.map(((xLabel,idx)=>({x:xLabel,y:values[index][idx]})))}}));var options={series:myseries,chart:{height:350,type:\"treemap\"},dataLabels:{enabled:!1}};instance.data.uniqueChartId=\"apexChart\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id=\"+instance.data.uniqueChartId+\"></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chart=new ApexCharts(document.querySelector(\"#\"+instance.data.uniqueChartId),options);instance.data.chart=chart,chart.render()}"},"update":{"fn":"function(instance,properties,context){let xLabels=instance.data.createDataArray(properties.xLabels),yLabels=instance.data.createDataArray(properties.yLabels),values=instance.data.createDataArray(properties.values),colors=[];const transformedArray=instance.data.transformArrays(xLabels,values),hexColor=instance.data.rgbaToHex(properties.color);colors.push(hexColor);var options={series:[{data:transformedArray}],chart:{height:properties.bubble.height(),type:\"treemap\",toolbar:{show:properties.show_toolbar}},dataLabels:{enabled:properties.show_datalabels},tooltip:{y:{formatter:function(value){const unitBefore=undefined,unitAfter=undefined;return(properties.values_unit_before||\"\")+value+(properties.values_unit_after||\"\")}}}};!0===properties.multi_colored?options.plotOptions={treemap:{distributed:properties.multi_colored}}:options.colors=colors,instance.data.chart.updateOptions(options,!0,!1)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"Atg":{"display":"Chart - Range Bar/Area Gantt Beta","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"Padding":true,"Font":true},"add_is_visible":true,"fields":{"AtY":{"caption":"Category Name","name":"xLabels","rank":2,"editor":"DynamicValue","value":"text","default_val":"x1, x2, x3"},"AtZ":{"caption":"Min Values","name":"minValues","rank":3,"editor":"DynamicValue","value":"text","default_val":"1, 2, 3"},"Ata":{"caption":"Color","name":"color","rank":5,"editor":"Color","default_val":"rgba(0, 162, 255, 1)"},"Atb":{"caption":"Show Toolbar?","name":"show_toolbar","rank":7,"editor":"DynamicValue","value":"boolean","default_val":true},"Atc":{"caption":"------------------------- General Settings --------------------------","name":"-------------------------_general_settings_-------------------------","rank":6,"editor":"Label"},"Atd":{"caption":"----------------------------- Chart Data -----------------------------","name":"-----------------------------_chart_data_-----------------------------","rank":0,"editor":"Label"},"Ate":{"caption":"Show Data Labels?","name":"show_datalabels","rank":9,"editor":"DynamicValue","value":"boolean","default_val":true},"Ath":{"caption":"Max Values","name":"maxValues","rank":4,"editor":"DynamicValue","value":"text","default_val":"2, 3, 4"},"AuK":{"caption":"Horizontal","name":"horizontal","rank":10,"editor":"DynamicValue","value":"boolean","default_val":true},"AuL":{"caption":"Chart Type","name":"chart_type","rank":1,"editor":"Dropdown","default_val":"rangeBar"},"AuM":{"caption":"X Axis Type","name":"x_axis_type","rank":13,"editor":"Dropdown","value":"text","default_val":"numeric"},"Axv":{"caption":"Show Tooltips?","name":"show_tooltips","rank":8,"editor":"DynamicValue","value":"boolean","default_val":true},"Axw":{"caption":"---------------------------- Axis Settings ----------------------------","name":"---------------------------_axis_settings_---------------------------","rank":12,"editor":"Label"},"Axx":{"caption":"Y Unit - Before","name":"y_unit_before","rank":15,"editor":"DynamicValue","value":"text"},"Axy":{"caption":"Y Unit - After","name":"y_unit_after","rank":16,"editor":"DynamicValue","value":"text"},"Axz":{"caption":"X Unit - Before","name":"x_unit_before","rank":17,"editor":"DynamicValue","value":"text"},"AyA":{"caption":"X Unit - After","name":"x_unit_after","rank":18,"editor":"DynamicValue","value":"text"},"AyN":{"caption":"X Axis Date Format","name":"x_axis_date_format","rank":14,"editor":"DynamicValue","value":"text","default_val":"H:mma do MMM, YYYY"},"AyP":{"caption":"Chart Padding (px)","name":"chart_padding","rank":11,"editor":"DynamicValue","value":"number","default_val":10},"AyU":{"caption":"Max X Ticks","name":"max_x_ticks","rank":19,"editor":"DynamicValue","value":"number","default_val":11},"AyV":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":20,"editor":"DynamicValue","value":"number","default_val":11}},"code":{"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Range Bar/Area/Gantt Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"},"initialize":{"fn":"function(instance,context){function createDataArray(xString){let outputArray,xArray;return null!=xString&&(xArray=xString.split(\",\")),xArray}function transformArrays(xLabels,minValues,maxValues){if(xLabels.length!==minValues.length||minValues.length!==maxValues.length)throw new Error(\"The lengths of xLabels, minValues, and maxValues must be equal.\");return xLabels.map(((x,index)=>{const minValue=parseFloat(minValues[index]),maxValue=parseFloat(maxValues[index]);if(isNaN(minValue)||isNaN(maxValue))throw new Error(\"Invalid number in minValues or maxValues\");return{x:x.trim(),y:[minValue,maxValue]}}))}function rgbaToHex(rgba){const match=rgba.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*(0|1|0?\\.\\d+))?\\)/);if(!match)throw new Error(\"Invalid RGBA color\");const hex=undefined;return`#${match.slice(1,4).map((num=>parseInt(num).toString(16).padStart(2,\"0\"))).join(\"\")}`}instance.data.createDataArray=createDataArray,instance.data.transformArrays=transformArrays,instance.data.rgbaToHex=rgbaToHex;let xLabels=[\"x1\",\"x2\",\"x3\"],minValues=[\"100\",\"200\",\"300\"],maxValues=[\"200\",\"300\",\"400\"],seriesData;var options={series:[{data:instance.data.transformArrays(xLabels,minValues,maxValues)}],chart:{height:350,type:\"rangeBar\"},plotOptions:{bar:{horizontal:!0}},dataLabels:{enabled:!1}};instance.data.uniqueChartId=\"apexChart\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id=\"+instance.data.uniqueChartId+\"></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chart=new ApexCharts(document.querySelector(\"#\"+instance.data.uniqueChartId),options);instance.data.chart=chart,chart.render()}"},"update":{"fn":"function(instance,properties,context){instance.data.last=0;let xLabels=instance.data.createDataArray(properties.xLabels)||[],minValues=instance.data.createDataArray(properties.minValues)||[],maxValues=instance.data.createDataArray(properties.maxValues)||[],colors=[];const transformedArray=instance.data.transformArrays(xLabels,minValues,maxValues),hexColor=instance.data.rgbaToHex(properties.color);colors.push(hexColor),instance.data.chart&&instance.data.chart.destroy();const formatDate=(value,format)=>{if(!value||!format)return\"\";const date=moment(value);return date.isValid()?date.format(format):\"\"};var options={layout:{padding:properties.chart_padding},series:[{data:transformedArray}],chart:{height:properties.bubble.height(),type:properties.chart_type,toolbar:{show:properties.show_toolbar},zoom:{enabled:!1}},plotOptions:{bar:{horizontal:properties.horizontal}},dataLabels:{enabled:properties.show_datalabels},colors:colors,xaxis:{ticks:{maxTicksLimit:properties.max_x_ticks,padding:7,display:properties.show_x_tick_labels,fontColor:properties.tick_label_color,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],fontSize:properties.tick_label_font_size,callback:function(value,index,values){let originalXLabel=value,xLabel=value;if(null!=xLabel){if(value<1&&value>-1&&0!=value&&(xLabel=value.toPrecision(1)),value>1&&value<2&&(xLabel=value.toPrecision(2)),xLabel=xLabel.toString(),null!=properties.thousands_separator&&(xLabel=xLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(xLabel=properties.yAxisUnitBeforeNumber+xLabel),properties.yAxisUnitAfterNumber&&(xLabel+=properties.yAxisUnitAfterNumber),properties.max_num_char_per_line&&\"horizontalBar\"!=chartType){const maxCharsPer
265Line=properties.max_num_char_per_line;let words=originalXLabel.split(\" \");const lines=[];let currentLine=\"\";words.forEach((word=>{(currentLine+word).length<=maxCharsPerLine?currentLine+=word+\" \":(lines.push(currentLine.trim()),currentLine=word+\" \")})),currentLine&&lines.push(currentLine.trim()),originalXLabel=lines}return\"horizontalBar\"==chartType?xLabel:originalXLabel}}},type:properties.x_axis_type,tickPlacement:\"between\",labels:{formatter:function(value,index,w){if(instance.data.last<1&&index<1e3)return instance.data.last++,\"\";const xUnitBefore=properties.x_unit_before?properties.x_unit_before:\"\",xUnitAfter=properties.x_unit_after?properties.x_unit_after:\"\";return\"datetime\"===properties.x_axis_type?xUnitBefore+formatDate(value,properties.x_axis_date_format)+xUnitAfter:xUnitBefore+value+xUnitAfter}}},yaxis:{ticks:{maxTicksLimit:properties.max_y_ticks,padding:7,display:!1,fontColor:properties.tick_label_color,fontSize:properties.tick_label_font_size,fontFamily:properties.bubble.font_face().includes(\"font_default\")?\"Poppins\":properties.bubble.font_face().split(\":\")[0],callback:function(value,index,values){let yLabel=value;if(yLabel=null!=properties.y_labels_decimal_places?parseFloat(value).toFixed(properties.y_labels_decimal_places):value.toString(),null!=properties.thousands_separator&&(yLabel=yLabel.includes(\".\")?yLabel.substring(0,yLabel.indexOf(\".\")).replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)+properties.decimal_place_character+yLabel.substring(yLabel.indexOf(\".\")+1):yLabel.replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)),properties.yAxisUnitBeforeNumber&&(yLabel=properties.yAxisUnitBeforeNumber+yLabel),properties.yAxisUnitAfterNumber&&(yLabel+=properties.yAxisUnitAfterNumber),properties.max_num_char_per_line&&\"horizontalBar\"===chartType){const maxCharsPerLine=properties.max_num_char_per_line,words=yLabel.split(\" \"),lines=[];let currentLine=\"\";return words.forEach((word=>{(currentLine+word).length<=maxCharsPerLine?currentLine+=word+\" \":(lines.push(currentLine.trim()),currentLine=word+\" \")})),currentLine&&lines.push(currentLine.trim()),lines}return yLabel}},labels:{formatter:function(value){const yUnitBefore=properties.y_unit_before?properties.y_unit_before:\"\",yUnitAfter=properties.y_unit_after?properties.y_unit_after:\"\";return null!==value&&\"\"!==value?yUnitBefore+value+yUnitAfter:\"\"}}},tooltip:{enabled:properties.show_tooltips,x:{formatter:function(value){return\"rangeBar\"===properties.chart_type&&properties.horizontal?(properties.y_unit_before||\"\")+value+(properties.y_unit_after||\"\"):\"datetime\"===properties.x_axis_type?(properties.x_unit_before||\"\")+formatDate(value,properties.x_axis_date_format)+(properties.x_unit_after||\"\"):(properties.x_unit_before||\"\")+value+(properties.x_unit_after||\"\")}},y:{formatter:function(value){return\"rangeBar\"===properties.chart_type&&properties.horizontal?\"datetime\"===properties.x_axis_type?(properties.x_unit_before||\"\")+formatDate(value,properties.x_axis_date_format)+(properties.x_unit_after||\"\"):(properties.x_unit_before||\"\")+value+(properties.x_unit_after||\"\"):(properties.y_unit_before||\"\")+value+(properties.y_unit_after||\"\")}}}};const chartContainer=document.querySelector(\"#\"+instance.data.uniqueChartId);var chart=new ApexCharts(chartContainer,options);instance.data.chart=chart,chart.render()}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AuN":{"display":"Chart - Geo Map Beta","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AuO":{"caption":"Region","name":"region","rank":0,"editor":"DynamicValue","value":"text"},"AuP":{"caption":"Resolution","name":"resolution","rank":1,"editor":"Dropdown","value":"text","default_val":"provinces"},"AuQ":{"caption":"Labels List","name":"labels_list","rank":2,"editor":"DynamicValue","value":"text","default_val":"State, California, Texas, New York, Florida"},"AuR":{"caption":"Values List","name":"values_list","rank":3,"editor":"DynamicValue","value":"text","default_val":"Population, 39538223, 29145505, 20201249, 21538187"},"AuS":{"caption":"Color Starting Value","name":"color_starting_value","rank":4,"editor":"Color","default_val":"rgba(189,225,245,1)"},"AuT":{"caption":"Color Ending Value","name":"color_ending_value","rank":5,"editor":"Color","default_val":"rgba(26,154,223,1)"}},"code":{"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Geo Map Chart';
265\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"},"initialize":{"fn":"function(instance,context){instance.data.uniqueGeoChartId=\"geoChart\"+Math.floor(1e5*Math.random()).toString(),instance.data.geoChartCanvas=\"<div id='\"+instance.data.uniqueGeoChartId+\"' style='width: 100%; height: 500px;'></div>\",instance.canvas.append(instance.data.geoChartCanvas),google.charts.load(\"current\",{packages:[\"geochart\"],mapsApiKey:\"AIzaSyADrnheg9iJcCaPBk-2Nm3czBUYW0Ro43k\"})}"},"update":{"fn":"function(instance,properties){function createDataTable(labelsString,dataString){const labels=labelsString.split(\",\").map((label=>label.trim())),dataValues=dataString.split(\",\").map((value=>value.trim())),dataArray=[];dataArray.push([labels[0],dataValues[0]]);for(let i=1;i<labels.length;i++)dataArray.push([labels[i],parseFloat(dataValues[i])]);return dataArray}function rgbaToHex(rgba){const matches=rgba.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+),?\\s*([\\d\\.]+)?\\)/);if(!matches)throw new Error(\"Invalid RGBA color format\");let r=parseInt(matches[1],10),g=parseInt(matches[2],10),b=parseInt(matches[3],10),hexR,hexG,hexB;return`#${r.toString(16).padStart(2,\"0\")}${g.toString(16).padStart(2,\"0\")}${b.toString(16).padStart(2,\"0\")}`}const labelsString=properties.labels_list,dataString=properties.values_list;console.log(createDataTable(labelsString,dataString)),google.charts.setOnLoadCallback((function(){var data=google.visualization.arrayToDataTable(createDataTable(labelsString,dataString)),options={region:properties.region,backgroundColor:\"transparent\",resolution:properties.resolution,colorAxis:{colors:[rgbaToHex(properties.color_starting_value),rgbaToHex(properties.color_ending_value)]}},chart;new google.visualization.GeoChart(document.getElementById(instance.data.uniqueGeoChartId)).draw(data,options)}))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"Axq":{"display":"Chart (Apex) - Area - Beta","property_applications":{"MinWidth":true,"resizable":true,"Font":true,"Border":true},"add_is_visible":true,"support_autobinding":false,"has_reset_fn":false,"fields":{"AvU":{"caption":"X-Axis Values","default_val":"Mon, Tue, Wed, Thu, Fri","editor":"DynamicValue","is_list":false,"name":"xvalues","rank":3,"value":"text"},"AvV":{"caption":"Series 1 - y-values","default_val":"120, 260, 240, 310, 330","editor":"DynamicValue","name":"series1","rank":7,"value":"text","optional":false},"AvW":{"caption":"Series 2 - y-values","editor":"DynamicValue","is_list":false,"name":"series2","optional":true,"rank":10,"value":"text","default_val":"200, 210, 190, 240, 230"},"AvX":{"caption":"Series 3 - y-values","editor":"DynamicValue","name":"series3","optional":true,"rank":13,"value":"text","default_val":""},"AvY":{"caption":"Series 1 - color","default_val":"rgba(0, 162, 255, 1)","editor":"Color","name":"series1color","rank":6},"AvZ":{"caption":"Series 1 - name","default_val":"Series 1","editor":"DynamicValue","name":"series1name","rank":5,"value":"text","optional":true},"Ava":{"caption":"Chart Type","default_val":"Area","editor":"Dropdown","name":"chartType","rank":0},"Avb":{"caption":"Series 2 - name","default_val":"Series 2","editor":"DynamicValue","name":"series2name","rank":8,"value":"text","optional":true},"Avc":{"caption":"Series 2 - color","default_val":"rgba(235, 235, 235, 1)","editor":"Color","name":"series2color","rank":9},"Avd":{"caption":"Series 3 - name","default_val":"Series 3","editor":"DynamicValue","name":"series3name","rank":11,"value":"text","optional":true},"Ave":{"caption":"Series 3 color","default_val":"rgba(247, 183, 51, 1)","editor":"Color","name":"series3color","rank":12},"Avf":{"caption":"Y Unit - Before","editor":"DynamicValue","name":"yAxisUnitBeforeNumber","optional":true,"rank":36,"value":"text"},"Avg":{"caption":"Y Unit - After","editor":"DynamicValue","is_list":false,"name":"yAxisUnitAfterNumber","optional":true,"rank":37,"value":"text"},"Avh":{"caption":"Y Axis - Max (Optional)","editor":"DynamicValue","name":"yMaxNum","optional":true,"rank":35,"value":"number"},"Avi":{"caption":"Y Axis - Min (Optional)","editor":"DynamicValue","name":"yMinNum","optional":true,"rank":34,"value":"number"},"Avj":{"caption":"Show/Hide Legend","editor":"Dropdown","name":"showLegend","rank":25,"value":"text","default_val":"Top"},"Avk":{"caption":"Series 4 - name","default_val":"Series 4","editor":"DynamicValue","name":"series4name","optional":true,"rank":14,"value":"text"},"Avl":{"caption":"Series 4 color","default_val":"rgba(170, 102, 204, 1)","editor":"Color","name":"series4color","optional":true,"rank":15},"Avm":{"caption":"Series 4 - y-values","editor":"DynamicValue","name":"series4","optional":true,"rank":16,"value":"text"},"Avn":{"caption":"Series 5 - name","default_val":"Series 5","editor":"DynamicValue","name":"series5name","optional":true,"rank":17,"value":"text"},"Avo":{"caption":"Series 5 - color","default_val":"rgba(99, 99, 99, 1)","editor":"Color","name":"series5color","optional":true,"rank":18},"Avp":{"caption":"Series 5 - y-values","editor":"DynamicValue","name":"series5","optional":true,"rank":19,"value":"text"},"Avq":{"caption":"Show Data Labels?","default_val":false,"editor":"DynamicValue","name":"show_data_labels","rank":55,"value":"boolean"},"Avr":{"caption":"Show Y Tick Labels?","name":"show_y_tick_labels","rank":39,"editor":"DynamicValue","value":"boolean","default_val":true},"Avs":{"caption":"Show X Tick Labels?","name":"show_x_tick_labels","rank":38,"editor":"DynamicValue","value":"boolean","default_val":true},"Avt":{"caption":"------------------- Axis and Gridline Settings -------------------","name":"axis_and_gridline_settings","rank":33,"editor":"Label"},"Avu":{"caption":"----------------------------- Chart Data -----------------------------","name":"-------------------_main_fields_-------------------","rank":1,"editor":"Label"},"Avx":{"caption":"Show Horizontal Gridlines","name":"show_horizontal_gridlines","rank":48,"editor":"DynamicValue","value":"boolean","default_val":true},"Avy":{"caption":"Show Vertical Gridlines","name":"show_vertical_gridlines","rank":49,"editor":"DynamicValue","value":"boolean","default_val":true},"AwA":{"caption":"Gridlines Color","name":"gridlines_color","rank":45,"editor":"Color","default_val":"rgba(224, 224, 224, 1)"},"AwB":{"caption":"Line Width","name":"line_width","rank":68,"editor":"DynamicValue","value":"number","default_val":3},"AwC":{"caption":"Line Curve","name":"curve_line_charts","rank":72,"editor":"Dropdown","value":"number"},"AwD":{"caption":"Unit Before the Label","name":"data_labels_unit_before","rank":59,"editor":"DynamicValue","value":"text","optional":true},"AwE":{"caption":"Unit After the Label","name":"data_labels_unit_after","rank":60,"editor":"DynamicValue","value":"text","optional":true},"AwF":{"caption":"Point Radius","name":"line_point_radius","rank":70,"editor":"DynamicValue","value":"number","default_val":5},"AwG":{"caption":"Thousands Separator","name":"thousands_separator","rank":31,"editor":"DynamicValue","value":"text","default_val":",","optional":true},"AwH":{"caption":"Horiz. Dash Gridlines","name":"horizontal_dashed_gridlines","rank":46,"editor":"DynamicValue","value":"boolean","default_val":true},"AwI":{"caption":"Vert. Dash Gridlines","name":"vertical_dashed_gridlines","rank":47,"editor":"DynamicValue","value":"boolean","default_val":false},"AwJ":{"caption":"------------------------------ Data Labels ----------------------------","name":"---------------------------_data_labels_---------------------------","rank":54,"editor":"Label"},"AwK":{"caption":"Vertical Offset","name":"datalabel_offset","rank":58,"editor":"DynamicValue","value":"number","default_val":3},"AwL":{"caption":"Label Backgrnd Color","name":"datalabel_background_color","rank":61,"editor":"Color","default_val":"rgba(255, 255, 255, 0.32)","optional":false},"AwM":{"caption":"Font Color (Optional)","name":"datalabel_font_color","rank":64,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"AwN":{"caption":"Font Color Setting","name":"font_color_setting","rank":63,"editor":"Dropdown","default_val":"Default (Same as Series Color)"},"AwO":{"caption":"Anchor","name":"datalabel_anchor","rank":56,"editor":"Dropdown","default_val":"middle"},"AwP":{"caption":"Custom Tooltip ID","name":"custom_tooltip_id","rank":27,"editor":"DynamicValue","value":"text","optional":true},"AwQ":{"caption":"Font Size","name":"datalabel_size","rank":65,"editor":"DynamicValue","value":"number","default_val":12},"AwR":{"caption":"Series 6 - name","name":"series6name","rank":20,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Series 6"},"AwS":{"caption":"Series 6 - color","name":"series6color","rank":21,"editor":"Color","default_val":"rgba(59, 227, 129, 1)","optional":true},"AwT":{"caption":"Series 6 - y-values","name":"series6","rank":22,"editor":"DynamicValue","value":"text","optional":true},"AwU":{"caption":"-------------------- Line/Area Chart Settings ---------------------","name":"---------------------------Line---------------------------","rank":67,"editor":"Label"},"AwY":{"caption":"Animation Duration","name":"animation_duration","rank":28,"editor":"DynamicValue","value":"number","default_val":600},"AwZ":{"caption":"Point Hover Radius","name":"point_hover_radius","rank":69,"editor":"DynamicValue","value":"number","default_val":12},"Awa":{"caption":"Point Border Width","name":"point_border_width","rank":71,"editor":"DynamicValue","value":"number","default_val":3},"Awb":{"caption":"Max Y Ticks","name":"max_y_ticks","rank":41,"editor":"DynamicValue","value":"number","optional":true},"Awc":{"caption":"Max X Ticks","name":"max_x_ticks","rank":40,"editor":"DynamicValue","value":"number","optional":true},"Awe":{"caption":"Chart Padding (px)","name":"chart_padding","rank":30,"editor":"DynamicValue","value":"number","default_val":10},"Awh":{"caption":"Label Border Color","name":"label_border_color","rank":62,"editor":"Color","default_val":"rgba(240, 240, 240, 0)"},"Awi":{"caption":"ℹ️ To customize Tick Label Font Family, scroll down to the bottom of this properties menu and change the standard Bubble font properties. Please avoid using “App Fonts” (in other words, please select the exact font you want to use from the font menu)","name":"to_customize_the_axis_tick_label_font_style,_color,_and_size,_edit_this_element's_font_style,_color,_size_as_you_would_for_a_text_element_(by_scrolling_down_to_the_bottom_of_this_menu_and_editing_the_standard_bubble_properties)","rank":44,"editor":"Label"},"Awl":{"caption":"ℹ️ Add more series to the chart using the workflow action called \"Add/update a data series\"","name":"-----_(you_can_also_add_infinite_series_via_w
265orkflows)_-----","rank":23,"editor":"Label"},"Awm":{"caption":"Tick Label Color","name":"tick_label_color","rank":42,"editor":"Color","default_val":"rgba(174, 185, 194, 1)","in_style":true},"Awn":{"caption":"Tick Label Font Size","name":"tick_label_font_size","rank":43,"editor":"DynamicValue","value":"number","default_val":12},"Awo":{"caption":"Span Gaps?","name":"span_gaps","rank":73,"editor":"DynamicValue","value":"boolean","default_val":true},"Awr":{"caption":"Hide if Less Than","name":"hide_if_less_than","rank":57,"editor":"DynamicValue","value":"number","optional":true},"Aws":{"caption":"Decimal Place Char.","name":"decimal_place_character","rank":32,"editor":"DynamicValue","value":"text","default_val":"."},"Awt":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":24,"editor":"Label"},"Awu":{"caption":"ℹ️ Add series names, colors, and data values below.  Each data point should be separated by comma and space and can be dynamic (e.g. \"Do a Search for\")","name":"----------------------------_series_colors_----------------------------","rank":4,"editor":"Label"},"Awv":{"caption":"ℹ️ Enter you chart's X-Axis values (the X-Axis labels that will go from left to right) separated by comma and space (\", \").  Can be a dynamic expression.","name":"ℹ️_add_series_data_values_below.__each_data_point_should_be_separated_by_comma_and_space_(\",_\")._you_can_dynamically_search_your_bubble_database_to_get_these_comma-separated_lists_(\"do_a_search_for...\")","rank":2,"editor":"Label"},"Aww":{"caption":"⚠️ If data points get cut off near edges of the chart element, increase the Chart Padding below:","name":"if_your_data_points_are_getting_cut_off_near_the_edges_of_the_chart_element,_increase_this_number","rank":29,"editor":"Label"},"Awx":{"caption":"ℹ️ For extra styling options (Area gradient, point border color, point images), add the data series using the workflow action called \"Add/update a data series\"","name":"ℹ️_for_extra_styling_options_(area_gradient,_point_border_color,_point_images)_add_the_data_series_using_the_workflow_action_called_\"add/update_a_data_series\"","rank":74,"editor":"Label"},"Awz":{"caption":"yLabels Decimal Places","name":"y_labels_decimal_places","rank":50,"editor":"DynamicValue","value":"number","optional":true},"AxA":{"caption":"Label Font Weight","name":"datalabel_fontweight","rank":66,"editor":"Dropdown","default_val":" 400"},"AxC":{"caption":"------------------ Chart and Axes Titles (BETA) -----------------","name":"chart_and_axes_titles","rank":75,"editor":"Label"},"AxD":{"caption":"Chart Title","name":"chart_title","rank":76,"editor":"DynamicValue","value":"text","optional":true},"AxE":{"caption":"Chart Title Font Size","name":"chart_title_font_size","rank":77,"editor":"DynamicValue","value":"number","optional":true,"default_val":16},"AxF":{"caption":"Chart Title Font Color","name":"chart_title_font_color","rank":78,"editor":"Color","default_val":"rgba(210,210,210,1)","optional":true},"AxG":{"caption":"X Axis Name","name":"x_axis_name","rank":79,"editor":"DynamicValue","value":"text","optional":true},"AxH":{"caption":"X Axis Name: Font Size","name":"x_axis_name_font_size","rank":80,"editor":"DynamicValue","value":"number","default_val":14,"optional":false},"AxI":{"caption":"X Axis Name: Font Color","name":"x_axis_name_font_color","rank":81,"editor":"Color","default_val":"rgba(210, 210, 210, 1)","optional":true},"AxJ":{"caption":"Y Axis Name","name":"y_axis_name","rank":82,"editor":"DynamicValue","value":"text","optional":true},"AxK":{"caption":"Y Axis Name: Font Size","name":"y_axis_name_font_size","rank":83,"editor":"DynamicValue","value":"number","default_val":14},"AxL":{"caption":"Y Axis Name: Font Color","name":"y_axis_name_font_color","rank":84,"editor":"Color","default_val":"rgba(210, 210, 210, 1)","optional":true},"Axr":{"caption":"Show Crosshairs","name":"show_crosshairs","rank":51,"editor":"DynamicValue","value":"boolean","default_val":true},"Axs":{"caption":"Crosshair Color","name":"crosshair_color","rank":52,"editor":"Color","default_val":"rgba(210, 210, 210, 1)"},"Axt":{"caption":"Crosshair Width","name":"crosshair_width","rank":53,"editor":"DynamicValue","value":"number","default_val":1},"Axu":{"caption":"Enable Tooltips?","name":"enable_tooltips","rank":26,"editor":"Checkbox","default_val":true}},"states":{"AxT":{"caption":"Clicked Item X Value","initialization_code":{"fn":"function(properties,context){}"},"name":"clicked_item_x_value","value":"text"},"AxU":{"caption":"Clicked Item Y Value","name":"clicked_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AxV":{"caption":"Clicked Item Series Name","name":"clicked_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AxW":{"caption":"Hovered Item X Value","name":"hovered_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AxX":{"caption":"Hovered Item Y Value","name":"hovered_item_y_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AxY":{"caption":"Hovered Item Series Name","name":"hovered_item_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AxZ":{"caption":"Hovered Item Series Color","name":"hovered_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Axa":{"caption":"Clicked Item Series Color","name":"clicked_item_series_color","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Axb":{"caption":"Clicked Item All Series Values","name":"click_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Axc":{"caption":"Clicked Item All Series Colors","name":"clicked_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Axd":{"caption":"Clicked Item All Series Names","name":"clicked_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Axe":{"caption":"Hovered Item All Series Values","name":"hovered_item_other_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Axf":{"caption":"Hovered Item All Series Colors","name":"hovered_item_other_series_colors","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Axg":{"caption":"Hovered Item All Series Names","name":"hovered_item_other_series_names","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Axh":{"caption":"Chart Loaded?","name":"chart_loaded","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}}
265,"Axi":{"caption":"Hovered Item X Index","name":"hovered_item_x_index","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Axj":{"caption":"Dragged Item Data Series Name","name":"dragged_item_data_series_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Axk":{"caption":"Dragged Item Index Number","name":"dragged_item_index_number","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Axl":{"caption":"Dragged Item - X Value","name":"dragged_item_x_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Axm":{"caption":"Dragged Value - Starting Value","name":"dragged_item_starting_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Axn":{"caption":"Dragged Value - Ending Value","name":"dragged_item_ending_value","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Axo":{"caption":"Dragged Item - All of this Series' Y Values","name":"dragged_item_all_series_values","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Axp":{"caption":"Currently Dragging Bar/Value","name":"currently_dragging","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AvR":{"caption":"Chart Value Clicked","name":"chart_value_clicked"},"AvS":{"caption":"Chart Value Hovered","name":"chart_value_hovered"},"AvT":{"caption":"Chart Value Dragged","name":"chart_value_dragged"}},"actions":{"AuY":{"caption":"Add/Update a Data Series","code":{"fn":"function(instance,properties,context){instance.publishState(\"chart_loaded\",!1);let numAttempts=0;function mainAddSeries(){if(numAttempts>15)return void console.log(\"The Chart you are trying to update is not visible on the page\");if(!instance.data.chart)return numAttempts++,void setTimeout(mainAddSeries,750);let customChartType=instance.data.chartType,backgroundColors,pointImage;function addSeries(){if(instance.data.createDataArray){let newSeries=instance.data.createDataArray(properties.yValues);instance.data.pushDataset(properties.series_name,newSeries,properties.series_color,customChartType,properties.point_color_line,properties.point_border_color_line,backgroundColors,pointImage,properties.chart_type,properties.bar_outline_color),instance.data.updateChartDatasets(),instance.data.chart.update()}else setTimeout(addSeries,1500)}if(properties.background_colors&&(backgroundColors=instance.data.createDataArray(properties.background_colors)),null!=properties.chart_type&&(properties.chart_type.toLowerCase()!=instance.data.chartType&&(customChartType=properties.chart_type.toLowerCase()),\"area\"==customChartType&&(customChartType=\"line\")),pointImage=properties.point_style,properties.use_image_as_point&&(pointImage=new Image(1,1),pointImage.src=properties.use_image_as_point,pointImage.onload=function(){var width=pointImage.naturalWidth,height=pointImage.naturalHeight;pointImage.width=width*properties.image_scale,pointImage.height=height*properties.image_scale}),addSeries(),\"Area\"==properties.chart_type||\"Area\"==instance.data.originalChartTypeMain||\"Bar\"==properties.chart_type||\"Bar\"==instance.data.originalChartTypeMain){let mycanvas;var chart_gradient=document.getElementById(instance.data.uniqueChartId).getContext(\"2d\").createLinearGradient(0,0,0,instance.data.height);(\"Area\"==properties.chart_type||\"Area\"==instance.data.originalChartTypeMain&&\"Bar\"!=properties.chart_type)&&(chart_gradient.addColorStop(0,properties.area_chart_start_color),chart_gradient.addColorStop(.5,properties.area_chart_middle_color),chart_gradient.addColorStop(1,properties.area_chart_end_color),instance.data.chart.data.datasets[instance.data.chart.data.datasets.length-1].backgroundColor=chart_gradient),(\"Bar\"==properties.chart_type&&!properties.background_colors||\"Bar\"==instance.data.originalChartTypeMain&&\"Area\"!=properties.chart_type&&!properties.background_colors)&&properties.bar_gradient&&(chart_gradient.addColorStop(0,properties.bar_gradient_start_color),chart_gradient.addColorStop(.6,properties.bar_gradient_middle_color),chart_gradient.addColorStop(1,properties.bar_gradient_end_color),instance.data.chart.data.datasets[instance.data.chart.data.datasets.length-1].backgroundColor=chart_gradient),instance.data.chart.update(
265)}}mainAddSeries(),instance.publishState(\"chart_loaded\",!0)}"},"fields":{"AuZ":{"caption":"Series Name","name":"series_name","rank":1,"editor":"DynamicValue","value":"text"},"Aua":{"caption":"Series Color","name":"series_color","rank":4,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"Aub":{"caption":"Series Y Values","name":"yValues","rank":2,"editor":"DynamicValue","value":"text"},"Auc":{"caption":"Chart Type","name":"chart_type","rank":3,"editor":"Dropdown","optional":true},"Aud":{"caption":"Point Color","name":"point_color_line","rank":6,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","optional":true},"Aue":{"caption":"Point Border Color","name":"point_border_color_line","rank":7,"editor":"Color","default_val":"rgba(51, 181, 229, 1)","optional":true},"Auf":{"caption":"------------------------- General Settings -------------------------","name":"-------------------------_general_settings_-------------------------","rank":0,"editor":"Label"},"Aug":{"caption":"-------------------- Line/Area Series Settings --------------------","name":"-------------------------_line_chart_settings_------------------------","rank":5,"editor":"Label"},"Auh":{"caption":"Multi-Colored Series (comma-separated hex codes)","name":"background_colors","rank":22,"editor":"DynamicValue","value":"text","optional":true},"Aui":{"caption":"-------------------------- Bar Series Settings -----------------------","name":"--------------------------_bar_chart_settings_-----------------------","rank":16,"editor":"Label"},"Auj":{"caption":" ","name":"use_image_as_point","rank":13,"editor":"DynamicValue","value":"image","optional":true},"Auk":{"caption":"Image Point Scale","name":"image_scale","rank":14,"editor":"DynamicValue","value":"number","optional":false,"default_val":1},"Aul":{"caption":"Gradient Start Color","name":"area_chart_start_color","rank":8,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"Aum":{"caption":"Gradient End Color","name":"area_chart_end_color","rank":10,"editor":"Color","default_val":"rgba(51, 181, 229, 0)"},"Aun":{"caption":"Use Image as Point.  Below you can upload an image (or use dynamic one) to set the image instead of having a circle for line chart points","name":"use_image_as_point.__below_you_can_upload_an_image_(or_use_dynamic_one)_to_set_the_","rank":12,"editor":"Label"},"Auo":{"caption":" ","name":"_","rank":15,"editor":"Label"},"Aup":{"caption":"Gradient Middle Color","name":"area_chart_middle_color","rank":9,"editor":"Color","default_val":"rgba(51, 179, 230, 0.58)"},"Auq":{"caption":"The field below is optional: for multi-colored series (overrides colors set above)","name":"info","rank":21,"editor":"Label"},"Aur":{"caption":"Gradient Start Color","name":"bar_gradient_start_color","rank":18,"editor":"Color","default_val":"rgba(51, 181, 229, 1)"},"Aus":{"caption":"Gradient End Color","name":"bar_gradient_end_color","rank":20,"editor":"Color","default_val":"rgba(51,181,229,0.1)"},"Aut":{"caption":"Bar Gradient Middle Color","name":"bar_gradient_middle_color","rank":19,"editor":"Color","default_val":"rgba(51,179,230,0.5)"},"Auu":{"caption":"Bar Gradient?","name":"bar_gradient","rank":17,"editor":"Checkbox","default_val":false},"Auv":{"caption":"Point Style","name":"point_style","rank":11,"editor":"Dropdown","default_val":"circle"}}},"Auw":{"caption":"Remove a Data Series","code":{"fn":"function(instance,properties,context){if(instance.data.chart){let foundSeries=instance.data.chart.data.datasets.find((element=>element.label==properties.data_series_name));null!=foundSeries&&(instance.data.datasets.splice(instance.data.datasets.indexOf(foundSeries),1),instance.data.updateChartDatasets()),instance.data.chart.update()}else console.log(\"The Chart you are trying to clear is not visible on the page\")}"},"fields":{"Aux":{"caption":"Data Series Name","name":"data_series_name","rank":0,"editor":"DynamicValue","value":"text"}}},"Auy":{"caption":"Remove all Data Series (Clear Chart)","code":{"fn":"function(instance,properties,context){if(instance.data.chart){for(;instance.data.datasets.length>0;)instance.data.datasets.pop();for(;instance.data.chart.data.datasets.length>0;)instance.data.chart.data.datasets.pop(),instance.data.chart.update(
265)}else console.log(\"The Chart you are trying to clear is not visible on the page\")}"}},"Auz":{"caption":"Add Annotation","code":{"fn":"function(instance,properties,context){var newAnnotation;\"vertical\"==properties.type?newAnnotation={type:\"line\",mode:\"vertical\",scaleID:\"x-axis-0\",value:properties.value,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}:\"horizontal\"==properties.type?newAnnotation={type:\"line\",mode:\"horizontal\",scaleID:\"y\",value:properties.value,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}:\"box\"==properties.type&&(newAnnotation={type:\"box\",xMin:1,xMax:2,yMin:1,yMax:2,backgroundColor:properties.background_color,borderColor:properties.line_color,borderWidth:properties.border_width,label:{enabled:!0,content:properties.label,xAdjust:properties.x_offset,yAdjust:properties.y_offset,position:properties.position,align:properties.alignment}}),instance.data.chart.options.annotation||(instance.data.chart.options.annotation={annotations:[]}),instance.data.chart.options.annotation.annotations.push(newAnnotation),console.log(instance.data.chart),instance.data.chart.update()}"},"fields":{"AvA":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"horizontal"},"AvB":{"caption":"----------------------- General Settings -----------------------","name":"information","rank":1,"editor":"Label"},"AvC":{"caption":"-------------- Vertical/Horizontal Annotations --------------","name":"vertical/horizontal_settings","rank":8,"editor":"Label"},"AvD":{"caption":"------------------- Box Annotations (in beta) -------------------","name":"box_settings (ignore if type=vertical or horizontal)","rank":11,"editor":"Label"},"AvE":{"caption":"Value","name":"value","rank":9,"editor":"DynamicValue","value":"text","optional":true},"AvF":{"caption":"Label text","name":"label","rank":2,"editor":"DynamicValue","value":"text","default_val":""},"AvG":{"caption":"Line Color","name":"line_color","rank":3,"editor":"Color","default_val":"rgba(150,162,164,1)"},"AvH":{"caption":"Background color","name":"background_color","rank":12,"editor":"Color","default_val":"rgba(220,223,224,1)"},"AvI":{"caption":"Y Min","name":"y_min","rank":13,"editor":"DynamicValue","value":"number","optional":true},"AvJ":{"caption":"Y Max","name":"y_max","rank":14,"editor":"DynamicValue","value":"number","optional":true},"AvK":{"caption":"X Min","name":"x_min","rank":15,"editor":"DynamicValue","value":"number","optional":true},"AvL":{"caption":"X Max","name":"x_max","rank":16,"editor":"DynamicValue","value":"number","optional":true},"AvM":{"caption":"Border Width","name":"border_width","rank":10,"editor":"DynamicValue","value":"number","default_val":2},"AvN":{"caption":"Position: X Offset","name":"x_offset","rank":6,"editor":"DynamicValue","value":"number","default_val":0},"AvO":{"caption":"Position: Y Offset","name":"y_offset","rank":7,"editor":"DynamicValue","value":"number","default_val":0},"AvP":{"caption":"Position: Alignment","name":"alignment","rank":5,"editor":"Dropdown","default_val":"start"},"AvQ":{"caption":"Position","name":"position","rank":4,"editor":"Dropdown","default_val":"top"}}}},"code":{"initialize":{"fn":"function(instance,context){function rgbaToHex(rgba){const match=rgba.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*(0|1|0?\\.\\d+))?\\)/);if(!match)throw new Error(\"Invalid RGBA color\");const hex=undefined;return`#${match.slice(1,4).map((num=>parseInt(num).toString(16).padStart(2,\"0\"))).join(\"\")}`}function createDataArray(xString){let outputArray,xArray;return null!=xString&&(xArray=xString.split(\",\").map((item=>\"\"===item.trim()?null:item.trim()))),xArray}function convertStringToArrayOfArrays(str){var arr=str.split(\";\").map((function(item){return item.trim()})),seriesArray=[];return $.each(arr,(function(k,v){var a=v.split(\",\").map((function(item){return parseFloat(item.trim(),10)}));seriesArray.push(a)})),seriesArray}instance.data.rgbaToHex=rgbaToHex,instance.data.createDataArray=createDataArray,instance.data.convertStringToArrayOfArrays=convertStringToArrayOfArrays;let xValues,series=[{name:\"Series 1\",data:[10,20,30]},{name:\"Series 2\",data:[15,25,35]}];var options={series:series,chart:{height:350,type:\"area\"},xaxis:{categories:[\"x1\",\"x2\",\"x3\"]},dataLabels:{enabled:!1},colors:series.map((s=>s.color)),legend:{position:\"top\"},grid:{show:!0,strokeDashArray:0}};instance.data.uniqueChartId=\"apexChart\"+Math.floor(1e5*Math.random()).toString(),instance.data.chartCanvasCopy=\"<div id=\"+instance.data.uniqueChartId+\"></div>\",instance.canvas.append(instance.data.chartCanvasCopy);var chart=new ApexCharts(document.querySelector(\"#\"+instance.data.uniqueChartId),options);instance.data.chart=chart,chart.render()}","add_debugger":false},"update":{"fn":"function(instance,properties,context){let xValues=instance.data.createDataArray(properties.xvalues)||[],seriesArray=[];function generateSeries(name,color,values){return{name:name,data:instance.data.createDataArray(values),color:instance.data.rgbaToHex(color)}}seriesArray.push(generateSeries(properties.series1name,properties.series1color,properties.series1)),properties.series2&&seriesArray.push(generateSeries(properties.series2name,properties.series2color,properties.series2)),properties.series3&&seriesArray.push(generateSeries(properties.series3name,properties.series3color,properties.series3)),properties.series4&&seriesArray.push(generateSeries(properties.series4name,properties.series4color,properties.series4)),properties.series5&&seriesArray.push(generateSeries(properties.series5name,properties.series5color,properties.series5)),properties.series6&&seriesArray.push(generateSeries(properties.series6name,properties.series6color,properties.series6));let isStacked=\"Stacked Area\"===properties.chartType,chartType=\"area\",curveType=\"smooth\";\"Line\"===properties.chartType?chartType=\"line\":\"Stepped Line\"===properties.chartType&&(chartType=\"line\",curveType=\"stepline\");let legendPosition=properties.showLegend.toLowerCase();\"don't show legend\"===legendPosition&&(legendPosition=!1);var options={series:seriesArray.map((s=>({name:s.name,data:s.data,color:s.color,connectNulls:properties.span_gaps}))),chart:{height:properties.bubble.height(),type:chartType,stacked:isStacked,toolbar:{show:properties.show_toolbar},animations:{enabled:!0,easing:\"easeinout\",speed:properties.animation_duration||800},zoom:{enabled:!1}},fill:{type:\"area\"===chartType?\"gradient\":\"solid\"},tooltip:{enabled:properties.enable_tooltips,followCursor:!0,style:{fontSize:\"12px\",color:\"#42525E\"}},title:{text:properties.chart_title||\"\",align:\"center\",style:{fontSize:properties.chart_title_font_size?`${properties.chart_title_font_size}px`:\"16px\",color:properties.chart_title_font_color||\"#000\"}},stroke:{width:properties.line_width||2,curve:curveType},markers:{size:properties.line_point_radius||0,hover:{size:properties.point_hover_radius||6},strokeWidth:properties.point_border_width||2},xaxis:{categories:xValues,labels:{show:properties.show_x_tick_labels,formatter:function(val){return null==val?\"\":val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)},style:{colors:properties.tick_label_color||\"#000000\",fontSize:properties.tick_label_font_size?`${properties.tick_label_font_size}px`:\"12px\"}},title:{text:properties.x_axis_name||\"\",style:{fontSize:properties.x_axis_name_font_size?`${properties.x_axis_name_font_size}px`:\"12px\",color:properties.x_axis_name_font_color||\"#000\"}},tickAmount:properties.max_x_ticks||void 0,crosshairs:{show:properties.show_crosshairs,stroke:{color:properties.crosshair_color||\"#B3B6B7\",width:properties.crosshair_width}},tooltip:{enabled:!1},axisTicks:{show:!1}},yaxis:{min:properties.yMinNum||void 0,max:properties.yMaxNum||void 0,labels:{show:properties.show_y_tick_labels,formatter:function(val){const decimalPlaces=properties.y_labels_decimal_places||0;return(properties.yAxisUnitBeforeNumber||\"\")+val.toFixed(decimalPlaces).replace(/\\B(?=(\\d{3})+(?!\\d))/g,properties.thousands_separator)+(properties.yAxisUnitAfterNumber||\"\")},style:{colors:properties.tick_label_color||\"#000000\",fontSize:properties.tick_label_font_size?`${properties.tick_label_font_size}px`:\"12px\"}},title:{text:properties.y_axis_name||\"\",style:{fontSize:properties.y_axis_name_font_size?`${properties.y_axis_name_font_size}px`:\"12px\",color:properties.y_axis_name_font_color||\"#000\"}}
265,tickAmount:properties.max_y_ticks||void 0},dataLabels:{enabled:properties.show_data_labels,formatter:function(val){return val<properties.hide_if_less_than?\"\":(properties.data_labels_unit_before||\"\")+val+(properties.data_labels_unit_after||\"\")},style:{fontSize:properties.datalabel_size?`${properties.datalabel_size}px`:\"12px\",fontWeight:properties.datalabel_fontweight||\"normal\",anchor:properties.datalabel_anchor||\"middle\"}},grid:{show:!0,borderColor:properties.gridlines_color,strokeDashArray:properties.horizontal_dashed_gridlines?5:0,xaxis:{lines:{show:properties.show_vertical_gridlines}},yaxis:{lines:{show:properties.show_horizontal_gridlines}},padding:{top:properties.chart_padding||0,left:properties.chart_padding||0,bottom:properties.chart_padding||0,right:properties.chart_padding||0}},colors:seriesArray.map((s=>s.color)),legend:{show:!!legendPosition,...legendPosition?{position:legendPosition}:{}}};instance.data.chart?instance.data.chart.updateOptions(options,!0,!0):(instance.data.chart=new ApexCharts(document.querySelector(\"#\"+instance.data.uniqueChartId),options),instance.data.chart.render())}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    \n    // Create a wrapper div and set its style\n    var wrapper = document.createElement('div');\n    wrapper.style.position = 'fixed';\n    wrapper.style.top = '0';\n    wrapper.style.left = '0';\n    wrapper.style.width = '100%';\n    wrapper.style.height = '100%';\n    wrapper.style.backgroundColor = '#EAEAEE';\n    wrapper.style.border = '1px solid #BEBEC3'; // Add a border with color #BEBEC3\n    wrapper.style.boxSizing = 'border-box'; // Include the border in the width and height calculation\n    \n    // Append the wrapper to the body\n    document.body.appendChild(wrapper);\n    \n    // Create a container div and set its style\n    var container = document.createElement('div');\n    container.style.position = 'absolute';\n    container.style.top = '0';\n    container.style.left = '0';\n    container.style.width = '100%';\n    container.style.height = '100%';\n    container.style.display = 'flex';\n    container.style.flexDirection = 'column'; // Stack items vertically\n    container.style.justifyContent = 'center';\n    container.style.alignItems = 'center';\n\n    // Create a text element and set its style\n    var textElement = document.createElement('p');\n    textElement.innerText = 'Area Chart';\n    textElement.style.fontFamily = 'Poppins, sans-serif';\n    textElement.style.fontSize = '12px';\n    textElement.style.textAlign = 'center';\n    textElement.style.color = '#294C61';\n\n    // Append the text element to the container\n    container.appendChild(textElement);\n    \n    // Create a text element for the support message\n    var supportText = document.createElement('p');\n    supportText.innerHTML = 'Email <strong>[email protected]</strong> to report any issues';\n    supportText.style.fontFamily = 'Poppins, sans-serif';\n    supportText.style.fontSize = '12px';\n    supportText.style.textAlign = 'center';\n    supportText.style.color = '#294C61';\n    supportText.style.marginTop = '10px'; // Add some spacing between the two text elements\n\n    // Append the support message to the container\n    container.appendChild(supportText);\n    \n    // Append the container to the body\n    document.body.appendChild(container);\n}\n"}},"platform_type":"web"}}};
266window._bubble_page_load_data.plugins_size['1553183744528x903111989944909800'] = 410534;
267window.preloaded['plugin/third_party:1553183744528x903111989944909800:5.3.37'] = true;
268window.plugins["1562697922620x934462587697889300"] = {"human":"Leafy Maps","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"auth":"none","calls":{"ABo":{"body_type":"json","get_headers":true,"initialized":true,"method":"get","name":"Get route","publish_as":"data","ret_value":"api.1562697922620x934462587697889300.plugin_api.ABo","should_reinitialize":false,"types":"{\"plugin_api.ABo\":{\"caption\":\"Get route\",\"fields\":{\"_p_body.trip.language\":{\"ret_btype\":\"text\",\"caption\":\"body trip language\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"language\"],\"ret_value\":\"text\"},\"_p_body.trip.status\":{\"ret_btype\":\"text\",\"caption\":\"body trip status\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"status\"],\"ret_value\":\"text\"},\"_p_body.trip.units\":{\"ret_btype\":\"text\",\"caption\":\"body trip units\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"units\"],\"ret_value\":\"text\"}
268,\"_p_body.trip.status_message\":{\"ret_btype\":\"text\",\"caption\":\"body trip status_message\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"status_message\"],\"ret_value\":\"text\"},\"_p_body.trip.legs\":{\"ret_btype\":\"list.api.1562697922620x934462587697889300.plugin_api.ABo.body.trip.legs\",\"caption\":\"body trip legs\",\"path\":[\"body\",\"trip\",\"legs\"],\"ret_value\":\"list.api.1562697922620x934462587697889300.plugin_api.ABo.body.trip.legs\"},\"_p_body.trip.summary.max_lon\":{\"ret_btype\":\"text\",\"caption\":\"body trip summary max_lon\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"summary\",\"max_lon\"],\"ret_value\":\"text\"},\"_p_body.trip.summary.max_lat\":{\"ret_btype\":\"text\",\"caption\":\"body trip summary max_lat\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"summary\",\"max_lat\"],\"ret_value\":\"text\"},\"_p_body.trip.summary.time\":{\"ret_btype\":\"text\",\"caption\":\"body trip summary time\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"summary\",\"time\"],\"ret_value\":\"text\"},\"_p_body.trip.summary.length\":{\"ret_btype\":\"text\",\"caption\":\"body trip summary length\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"summary\",\"length\"],\"ret_value\":\"text\"},\"_p_body.trip.summary.min_lat\":{\"ret_btype\":\"text\",\"caption\":\"body trip summary min_lat\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"summary\",\"min_lat\"],\"ret_value\":\"text\"},\"_p_body.trip.summary.min_lon\":{\"ret_btype\":\"text\",\"caption\":\"body trip summary min_lon\",\"sample_value\":\"\",\"path\":[\"body\",\"trip\",\"summary\",\"min_lon\"],\"ret_value\":\"text\"},\"_p_body.trip.locations\":{\"ret_btype\":\"list.api.1562697922620x934462587697889300.plugin_api.ABo.body.trip.locations\",\"caption\":\"body trip locations\",\"path\":[\"body\",\"trip\",\"locations\"],\"ret_value\":\"list.api.1562697922620x934462587697889300.plugin_api.ABo.body.trip.locations\"}}},\"plugin_api.ABo.body.trip.legs\":{\"caption\":\"Get route body trip leg\",\"fields\":{\"_p_shape\":{\"ret_btype\":\"text\",\"caption\":\"shape\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_summary.max_lon\":{\"ret_btype\":\"text\",\"caption\":\"summary max_lon\",\"sample_value\":\"\",\"path\":[\"summary\",\"max_lon\"],\"ret_value\":\"text\"},\"_p_summary.max_lat\":{\"ret_btype\":\"text\",\"caption\":\"summary max_lat\",\"sample_value\":\"\",\"path\":[\"summary\",\"max_lat\"],\"ret_value\":\"text\"},\"_p_summary.time\":{\"ret_btype\":\"text\",\"caption\":\"summary time\",\"sample_value\":\"\",\"path\":[\"summary\",\"time\"],\"ret_value\":\"text\"},\"_p_summary.length\":{\"ret_btype\":\"text\",\"caption\":\"summary length\",\"sample_value\":\"\",\"path\":[\"summary\",\"length\"],\"ret_value\":\"text\"},\"_p_summary.min_lat\":{\"ret_btype\":\"text\",\"caption\":\"summary min_lat\",\"sample_value\":\"\",\"path\":[\"summary\",\"min_lat\"],\"ret_value\":\"text\"},\"_p_summary.min_lon\":{\"ret_btype\":\"text\",\"caption\":\"summary min_lon\",\"sample_value\":\"\",\"path\":[\"summary\",\"min_lon\"],\"ret_value\":\"text\"},\"_p_maneuvers\":{\"ret_btype\":\"list.api.1562697922620x934462587697889300.plugin_api.ABo.maneuvers\",\"caption\":\"maneuvers\",\"ret_value\":\"list.api.1562697922620x934462587697889300.plugin_api.ABo.maneuvers\"}}},\"plugin_api.ABo.maneuvers\":{\"caption\":\"Get route maneuver\",\"fields\":{\"_p_travel_mode\":{\"ret_btype\":\"text\",\"caption\":\"travel_mode\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_begin_shape_index\":{\"ret_btype\":\"text\",\"caption\":\"begin_shape_index\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_length\":{\"ret_btype\":\"text\",\"caption\":\"length\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_time\":{\"ret_btype\":\"date\",\"caption\":\"time\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_end_shape_index\":{\"ret_btype\":\"text\",\"caption\":\"end_shape_index\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_instruction\":{\"ret_btype\":\"text\",\"caption\":\"instruction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_verbal_pre_transition_instruction\":{\"ret_btype\":\"text\",\"caption\":\"verbal_pre_transition_instruction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_travel_type\":{\"ret_btype\":\"text\",\"caption\":\"travel_type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_street_names\":{\"ret_btype\":\"text\",\"caption\":\"street_names\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_verbal_multi_cue\":{\"ret_btype\":\"text\",\"caption\":\"verbal_multi_cue\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_verbal_transition_alert_instruction\":{\"ret_btype\":\"text\",\"caption\":\"verbal_transition_alert_instruction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_verbal_post_transition_instruction\":{\"ret_btype\":\"text\",\"caption\":\"verbal_post_transition_instruction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_roundabout_exit_count\":{\"ret_btype\":\"text\",\"caption\":\"roundabout_exit_count\",\"sample_value\":\"\",\"ret_value\":\"text\"}}},\"plugin_api.ABo.body.trip.locations\":{\"caption\":\"Get route body trip location\",\"fields\":{\"_p_original_index\":{\"ret_btype\":\"text\",\"caption\":\"original_index\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_lon\":{\"ret_btype\":\"text\",\"caption\":\"lon\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_lat\":{\"ret_btype\":\"text\",\"caption\":\"lat\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_side_of_street\":{\"ret_btype\":\"text\",\"caption\":\"side_of_street\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","url":"https://route.stadiamaps.com/route?json=[JSON]&api_key=[key]","url_params":{"ABt":{"doc":"Get this from the \"Create Stadia route request\" workfow action, in the state 'Leafy Map X's Stadia route request body\".","key":"JSON","private":true,"value":"{\"locations\":[{\"lat\":44.795067008186464,\"lon\":20.450711572458427,\"type\":\"break\"},{\"lat\":45.260417950236665,\"lon\":19.823526366684796,\"type\":\"break\"}],\"costing\":\"auto\",\"directions_options\":{\"units\":\"kilometers\"}}"},"ABu":{"doc":"Your Stadia API key. Grab from their main dashboard.","key":"key","private":true,"visibility":"secret"}}}},"human":"Get route from Stadia","token_param_name":"api_key"},"shared_keys":{"AAp":{"caption":"Mapbox access token","type":"client_safe"},"ACU":{"caption":"Openweathermap API key","type":"client_safe"},"AEn":{"caption":"Here access token","type":"client_safe"},"AJl":{"caption":"Maptiler access token","type":"client_safe"},"AKV":{"caption":"Here API access key","type":"secure"}
268,"AKW":{"caption":"Here API secret key","type":"secure"},"ANq":{"caption":"ESRI key","type":"secure"}},"plugin_elements":{"AAC":{"display":"Leafy map","property_applications":{"Border":true,"BoxShadow":true,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"ACP":{"caption":"Stadia route request body","initialization_code":{"fn":"function(properties,context){}"},"name":"stadia_route_request_body","value":"text"},"ACf":{"caption":"Is the point contained in the rectangle?","initialization_code":{"fn":"function(properties,context){}"},"name":"point_is_contained","value":"boolean"},"ACr":{"caption":"User's latitude","initialization_code":{"fn":"function(properties,context){}"},"name":"user_latitude","value":"number"},"ACs":{"caption":"User's longitude","initialization_code":{"fn":"function(properties,context){}"},"name":"user_longitude","value":"number"},"ACt":{"caption":"Boundary northeast lat","initialization_code":{"fn":"function(properties,context){}"},"name":"user_bounds_northeast_latitude","value":"number"},"ACu":{"caption":"Boundary northeast lng","initialization_code":{"fn":"function(properties,context){}"},"name":"user_bounds_northeast_longitude","value":"number"},"ACv":{"caption":"Boundary southwest lat","initialization_code":{"fn":"function(properties,context){}"},"name":"user_bounds_southwest_latitude","value":"number"},"ACw":{"caption":"Boundary southwest lng","initialization_code":{"fn":"function(properties,context){}"},"name":"user_bounds_southwest_longitude","value":"number"},"ACx":{"caption":"Accuracy","initialization_code":{"fn":"function(properties,context){}"},"name":"accuracy","value":"number"},"ACy":{"caption":"Altitude","initialization_code":{"fn":"function(properties,context){}"},"name":"altitude","value":"number"},"ACz":{"caption":"Altitude accuracy","initialization_code":{"fn":"function(properties,context){}"},"name":"altitude_accuracy","value":"number"},"ADA":{"caption":"Heading","initialization_code":{"fn":"function(properties,context){}"},"name":"heading","value":"number"},"ADB":{"caption":"Speed","initialization_code":{"fn":"function(properties,context){}"},"name":"speed","value":"number"},"ADC":{"caption":"Timestamp","initialization_code":{"fn":"function(properties,context){}"},"name":"timestamp","value":"number"},"ADJ":{"caption":"Map center latitude","initialization_code":{"fn":"function(properties,context){}"},"name":"map_center_latitude","value":"number"},"ADK":{"caption":"Map center longitude","initialization_code":{"fn":"function(properties,context){}"},"name":"map_center_longitude","value":"number"},"ADL":{"caption":"Marker clicked id","initialization_code":{"fn":"function(properties,context){}"},"name":"marker_clicked_id","value":"text"},"ADR":{"caption":"Calculated distance","initialization_code":{"fn":"function(properties,context){}"},"name":"calculated_distance","value":"number"},"ADY":{"caption":"Speed (km/h)","initialization_code":{"fn":"function(properties,context){}"},"name":"speed_kph","value":"number"},"ADZ":{"caption":"Speed (mi/h)","initialization_code":{"fn":"function(properties,context){}"},"name":"speed_mph","value":"number"},"ADa":{"caption":"Is being tracked","initialization_code":{"fn":"function(properties,context){}"},"name":"is_being_tracked","value":"boolean"},"ADd":{"caption":"Polygons list","initialization_code":{"fn":"function(properties,context){}"},"is_list":false,"name":"polygons_list","value":"text"},"AEg":{"caption":"Marker clicked index","initialization_code":{"fn":"function(properties,context){}"},"name":"marker_clicked_index","value":"number"},"AGL":{"caption":"HERE suggestion","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"here_suggestion_state","value":"text"},"AGM":{"caption":"HERE route latitude","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"here_route_latitude","value":"number"},"AGN":{"caption":"HERE route longitude","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"here_route_longitude","value":"number"},"AGO":{"caption":"HERE route origin address","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_origin_address","value":"text"},"AGP":{"caption":"HERE route destination address","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_destination_address","value":"text"},"AGQ":{"caption":"HERE route marker addresses","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"here_route_marker_addresses","value":"text"}
268,"AGR":{"caption":"HERE route name","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_name","value":"text"},"AGS":{"caption":"HERE route distance","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_distance","value":"number"},"AGT":{"caption":"HERE route traffic time","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_traffic_time","value":"number"},"AGW":{"caption":"HERE route base time","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_base_time","value":"number"},"AGX":{"caption":"HERE route travel time","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_travel_time","value":"number"},"AGY":{"caption":"Here route restrictions","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"here_route_restrictions","value":"text"},"AGa":{"caption":"HERE route color","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_color","value":"text"},"AGb":{"caption":"HERE route base color","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_base_color","value":"text"},"AGc":{"caption":"HERE route base latitude","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"here_route_base_latitude","value":"number"},"AGd":{"caption":"HERE route base longitude","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"here_route_base_longitude","value":"number"},"AGe":{"caption":"HERE route distance limit","initialization_code":{"fn":"function(properties,context){}"},"name":"here_route_distance_limit","value":"number"},"AHT":{"caption":"Marker hovered id","initialization_code":{"fn":"function(properties,context){}"},"name":"marker_hovered_id","value":"text"},"AHV":{"caption":"Marker hovered index","initialization_code":{"fn":"function(properties,context){}"},"name":"marker_hovered_index","value":"number"},"AHd":{"caption":"Marker unhovered id","initialization_code":{"fn":"function(properties,context){}"},"name":"marker_unhovered_id","value":"text"},"AHe":{"caption":"Marker unhovered index ","initialization_code":{"fn":"function(properties,context){}"},"name":"marker_unhovered_index","value":"number"},"AIx":{"caption":"Is the point contained in the polygon?","initialization_code":{"fn":"function(properties,context){}"},"name":"point_is_contained_polygon","value":"boolean"},"AJE":{"caption":"Clicked map coordinates Latitude","initialization_code":{"fn":"function(properties,context){}"},"name":"click_map_coordinates_latitude","value":"number"},"AJF":{"caption":"Clicked map coordinates longitude","initialization_code":{"fn":"function(properties,context){}"},"name":"click_map_coordinates_longitude","value":"number"},"AJY":{"caption":"Geocoded longitude from Mapbox","initialization_code":{"fn":"function(properties,context){}"},"name":"geocoded_longitude_mapbox","value":"number"},"AJZ":{"caption":"Geocoded latitude from Mapbox","initialization_code":{"fn":"function(properties,context){}"},"name":"geocoded_latitude_mapbox","value":"number"},"AJb":{"caption":"Geocoded full name from Mapbox","initialization_code":{"fn":"function(properties,context){}"},"name":"geocoded_full_name_mapbox","value":"text"},"AJc":{"caption":"Geocoded short name from Mapbox","initialization_code":{"fn":"function(properties,context){}"},"name":"geocoded_short_name_mapbox","value":"text"},"AJe":{"caption":"Which zone is the point contained in?","initialization_code":{"fn":"function(properties,context){}"},"is_list":false,"name":"which_zone_is_the_point_contained_in","value":"text"},"AKD":{"caption":"Is point inside circle radius","initialization_code":{"fn":"function(properties,context){}"},"name":"point_inside_circle","value":"boolean"},"ALF":{"caption":"Data from popup","name":"data_from_popup","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ALN":{"caption":"Cluster clicked marker IDs","name":"cluster_clicked_marker_ids","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ANx":{"caption":"Draw geometry clicked name","name":"geometry_clicked_name","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ACo":{"caption":"Location found","name":"location_found"},"ADD":{"caption":"Location error","name":"location_error"},"ADQ":{"caption":"Marker clicked","name":"marker_clicked"},"AGH":{"caption":"HERE suggestion is published","name":"here_suggestion"},"AGI":{"caption":"HERE route was exported","name":"route_exported"},"AGJ":{"caption":"HERE route summary was published","name":"route_selected"},"AGK":{"caption":"HERE route limit was exceeded","name":"route_limit_exceeded"},"AGl":{"caption":"No route was found","name":"no_route_was_found"},"AHU":{"caption":"Marker hovered","name":"marker_hovered"},"AHf":{"caption":"Map clicked","name":"map_clicked"},"AHi":{"caption":"Marker unhovered","name":"marker_unhovered"},"AIy":{"caption":"Point location is inside area","name":"user_location_is_inside_area"},"AIz":{"caption":"Point location is outside area","name":"user_location_is_outside_area"},"AJa":{"caption":"Coordinates from address attained from Mapbox","name":"coordinates_from_address_attained_from_mapbox"},"AJv":{"caption":"Map center attained","name":"map_center_attained"},"AKE":{"caption":"Point inside circle radius checked","name":"point_inside_circle_radius_checked"},"ALG":{"caption":"Popup sent data to host page","name":"popup_sent_data_to_host_page"},"ALO":{"caption":"Cluster clicked","name":"cluster_clicked"}},"actions":{"AAI":{"caption":"Add marker on","fields":{"AAL":{"caption":"Latitude","editor":"DynamicValue","name":"latitude","rank":0,"value":"number"},"AAM":{"caption":"Longitude","editor":"DynamicValue","name":"longitude","rank":1,"value":"number"},"AAe":{"caption":"Popup text","editor":"DynamicValue","is_list":false,"name":"popup_text","optional":true,"rank":3,"value":"text"},"AAg":{"caption":"Use custom icon?","default_val":false,"editor":"Checkbox","name":"use_custom_icon","rank":5},"AAh":{"caption":"Custom icon","editor":"DynamicValue","name":"custom_icon_url","optional":true,"rank":6,"value":"image"},"ABK":{"caption":"Marker style","default_val":"Blue","editor":"Dropdown","name":"marker_style","rank":4},"ABN":{"caption":"Show popup on click?","default_val":false,"editor":"Checkbox","name":"popup_on_click","rank":2},"ACb":{"caption":"Unique name","editor":"DynamicValue","name":"marker_name","rank":7,"value":"text"},"AOC":{"caption":"Marker Width","name":"marker_width","rank":8,"editor":"DynamicValue","value":"number","default_val":64},"AOD":{"caption":"Marker Height","name":"marker_height","rank":9,"editor":"DynamicValue","value":"number","default_val":64}},"code":{"fn":"function(instance,properties,context){function _0x45d1(_0x1099ab,_0x3136b2){const _0x11a6ba=_0x11a6();return(_0x45d1=function(_0x45d11f,_0x5bd745){let _0x37cdad;return _0x11a6ba[_0x45d11f-=487]})(_0x1099ab,_0x3136b2)}function run(_0x5b1262,_0x19e55f,_0x643dc7){const _0x37b152=_0x45d1,_0x2c4936=_0x57aa4f=>{const _0x1e162b=_0x45d1;return\"Blue\"===_0x57aa4f?_0x1e162b(513):_0x57aa4f===_0x1e162b(496)?_0x1e162b(527):\"Green\"===_0x57aa4f?_0x1e162b(525):_0x57aa4f===_0x1e162b(491)?_0x1e162b(487):_0x57aa4f===_0x1e162b(515)?\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070967095x108965806592226770/brown_marker.png\":\"White\"===_0x57aa4f?_0x1e162b(490):_0x57aa4f===_0x1e162b(523)?_0x1e162b(535):void 0};if(_0x19e55f[_0x37b152(505)]&&_0x19e55f[_0x37b152(519)]){let _0x33af05=L.icon({iconUrl:\"https:\"+_0x19e55f[_0x37b152(520)],iconSize:[_0x19e55f.marker_width,_0x19e55f[_0x37b152(502)]],shadowSize:[50,64],iconAnchor:[_0x19e55f[_0x37b152(510)]/2,_0x19e55f[_0x37b152(502)]],shadowAnchor:[4,62],popupAnchor:[0,-_0x19e55f[_0x37b152(502)]]});_0x5b1262[_0x37b152(509)][\"\"+_0x19e55f[_0x37b152(533)]]=L.marker([_0x19e55f[_0x37b152(506)],_0x19e55f[_0x37b152(498)]],{icon:_0x33af05}
268).on(_0x37b152(536),_0x305567).on(_0x37b152(493),_0x3f6119).on(\"mouseout\",_0x33bd30)[_0x37b152(494)](_0x5b1262[_0x37b152(509)][_0x37b152(534)]).bindPopup(_0x19e55f[_0x37b152(489)])}else if(_0x19e55f.popup_on_click&&!_0x19e55f[_0x37b152(519)]){let _0x2dba7f=L[_0x37b152(497)]({iconUrl:\"https:\"+_0x2c4936(_0x19e55f.marker_style),shadowUrl:_0x37b152(507),iconSize:[25,40],shadowSize:[41,41],iconAnchor:[12,39],shadowAnchor:[13,40],popupAnchor:[0,-30]});_0x5b1262[_0x37b152(509)][\"\"+_0x19e55f[_0x37b152(533)]]=L[_0x37b152(531)]([_0x19e55f[_0x37b152(506)],_0x19e55f.longitude],{icon:_0x2dba7f}).on(_0x37b152(536),_0x305567).on(_0x37b152(493),_0x3f6119).on(\"mouseout\",_0x33bd30)[_0x37b152(494)](_0x5b1262[_0x37b152(509)][_0x37b152(534)])[_0x37b152(532)](_0x19e55f[_0x37b152(489)])}else if(!_0x19e55f.popup_on_click&&_0x19e55f[_0x37b152(519)]){let _0x370380=L[_0x37b152(497)]({iconUrl:\"https:\"+_0x19e55f[_0x37b152(520)],iconSize:[_0x19e55f[_0x37b152(510)],_0x19e55f.marker_height],shadowSize:[50,64],iconAnchor:[_0x19e55f[_0x37b152(510)]/2,_0x19e55f[_0x37b152(502)]],shadowAnchor:[4,62],popupAnchor:[0,-_0x19e55f[_0x37b152(502)]]});_0x5b1262.data[\"\"+_0x19e55f[_0x37b152(533)]]=L.marker([_0x19e55f[_0x37b152(506)],_0x19e55f[_0x37b152(498)]],{icon:_0x370380}).on(\"click\",_0x305567).on(\"mouseover\",_0x3f6119).on(_0x37b152(514),_0x33bd30)[_0x37b152(494)](_0x5b1262[_0x37b152(509)][_0x37b152(534)])}else if(!_0x19e55f[_0x37b152(505)]&&!_0x19e55f[_0x37b152(519)]){let _0x4013fd=L[_0x37b152(497)]({iconUrl:_0x37b152(524)+_0x2c4936(_0x19e55f[_0x37b152(530)]),shadowUrl:\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070947779x803166556575223700/marker-shadow.png\",iconSize:[25,40],shadowSize:[41,41],iconAnchor:[12,39],shadowAnchor:[13,40],popupAnchor:[0,-30]});_0x5b1262.data[\"\"+_0x19e55f.marker_name]=L[_0x37b152(531)]([_0x19e55f[_0x37b152(506)],_0x19e55f[_0x37b152(498)]],{icon:_0x4013fd}).on(_0x37b152(536),_0x305567).on(_0x37b152(493),_0x3f6119).on(_0x37b152(514),_0x33bd30)[_0x37b152(494)](_0x5b1262[_0x37b152(509)][_0x37b152(534)])}function _0x305567(){const _0x3d4733=_0x37b152;_0x19e55f[_0x3d4733(533)]&&(_0x5b1262[_0x3d4733(528)](_0x3d4733(516),_0x19e55f[_0x3d4733(533)]),_0x5b1262[_0x3d4733(501)](_0x3d4733(508)))}function _0x3f6119(){const _0x2e51d2=_0x37b152;_0x5b1262.publishState(\"marker_hovered_id\",_0x19e55f[_0x2e51d2(533)]),_0x5b1262[_0x2e51d2(501)](_0x2e51d2(499))}function _0x33bd30(){const _0x2dca04=_0x37b152;_0x5b1262[_0x2dca04(528)](_0x2dca04(522),_0x19e55f[_0x2dca04(533)]),_0x5b1262[_0x2dca04(501)](_0x2dca04(529))}}function _0x11a6(){const _0x214ace=[\"marker_hovered\",\"194GlCDca\",\"triggerEvent\",\"marker_height\",\"6sWJEWh\",\"587640GVbgHg\",\"popup_on_click\",\"latitude\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070947779x803166556575223700/marker-shadow.png\",\"marker_clicked\",\"data\",\"marker_width\",\"9310609fqHpQH\",\"90sPwFge\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071044715x223496852841002400/blue_marker.png\",\"mouseout\",\"Brown\",\"marker_clicked_id\",\"3MpZQgZ\",\"12sMGMCA\",\"use_custom_icon\",\"custom_icon_url\",\"593076lWMjgK\",\"marker_unhovered_id\",\"Black\",\"https:\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070997768x135506561932380300/green_marker.png\",\"1879HGWNqp\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070983762x973056674738514600/yellow_marker.png\",\"publishState\",\"marker_unhovered\",\"marker_style\",\"marker\",\"bindPopup\",\"marker_name\",\"mymap\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071031375x378002786517539900/black_marker.png\",\"click\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071016539x633328751974089360/red_marker.png\",\"1837801oUzmOt\",\"popup_text\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071057099x762384812835195500/white_marker.png\",\"Red\",\"5395168QKvWfQ\",\"mouseover\",\"addTo\",\"847395BJvMCe\",\"Yellow\",\"icon\",\"longitude\"];return(_0x11a6=function(){return _0x214ace})()}!function(_0xdda2b7,_0x26f74c){const _0x500ef3=_0x45d1,_0x387976=_0xdda2b7();for(;;)try{const _0xbb5cd0=undefined;if(509579===-parseInt(_0x500ef3(526))/1*(parseInt(_0x500ef3(500))/2)+parseInt(_0x500ef3(517))/3*(-parseInt(_0x500ef3(521))/4)+parseInt(_0x500ef3(495))/5+parseInt(_0x500ef3(503))/6*(-parseInt(_0x500ef3(488))/7)+parseInt(_0x500ef3(492))/8+-parseInt(_0x500ef3(512))/9*(parseInt(_0x500ef3(504))/10)+-parseInt(_0x500ef3(511))/11*(-parseInt(_0x500ef3(518))/12))break;_0x387976.push(_0x387976.shift())}catch(_0x58e163){_0x387976.push(_0x387976.shift())}}(_0x11a6,509579),run(instance,properties,context)}"}},"AAJ":{"caption":"Show map on","fields":{"AAK":{"caption":"Mapbox tile","editor":"Dropdown","name":"mapbox_tile","optional":true,"rank":7},"AAN":{"caption":"Initial view","editor":"Label","name":"initial_view","rank":2},"AAO":{"caption":"Initial view latitude","editor":"DynamicValue","name":"initial_view_latitude","rank":3,"value":"number"},"AAP":{"caption":"Initial view longitude","editor":"DynamicValue","name":"initial_view_longitude","rank":4,"value":"number"},"AAQ":{"caption":"Zoom level","editor":"DynamicValue","name":"zoom_level","rank":5,"value":"number"},"AAj":{"caption":"Tile provider","editor":"Dropdown","name":"tile_provider","rank":1},"AAv":{"caption":"Stadia tile","editor":"Dropdown","name":"stadia_tile","optional":true,"rank":10,"value":"text"},"ABZ":{"caption":"Unique map name","editor":"DynamicValue","name":"unique_map_name","rank":0,"value":"text"},"ADl":{"caption":"Enable drawing","default_val":true,"editor":"DynamicValue","name":"enable_drawing","rank":24,"value":"boolean"},"AEm":{"caption":"HERE tile","editor":"Dropdown","name":"here_tile","optional":true,"rank":12},"AGm":{"caption":"HERE tooltip style","editor":"Label","name":"here_tooltip","rank":13},"AGn":{"caption":"HERE Font color","default_val":"rgba(17, 59, 122, 1)","editor":"Color","name":"tp_color","rank":14}
268,"AGo":{"caption":"HERE Background color","default_val":"rgba(230, 230, 230, 1)","editor":"Color","name":"tp_bg","rank":15},"AGp":{"caption":"HERE Border color","default_val":"rgba(230, 230, 230, 0.75)","editor":"Color","name":"border_color","rank":16},"AGq":{"caption":"HERE Border radius","editor":"DynamicValue","name":"border_radius","optional":true,"rank":17,"value":"number"},"AHS":{"caption":"Mouse wheel zoom","default_val":true,"editor":"DynamicValue","name":"mouse_wheel_zoom","rank":22,"value":"boolean"},"AJD":{"caption":"Mouse button for click event","default_val":"right","editor":"Dropdown","name":"mouse_button","optional":true,"rank":23},"AJj":{"caption":"General options","editor":"Label","name":"general_options","rank":21},"AJm":{"caption":"MapTiler tile","editor":"DynamicValue","name":"maptiler_tile","optional":true,"rank":19,"value":"text"},"AJn":{"caption":"Display MapTiler logo","default_val":false,"editor":"DynamicValue","name":"display_maptiler_logo","optional":true,"rank":20,"value":"boolean"},"AKd":{"caption":"Mapbox custom ID","name":"mapbox_custom_id","rank":8,"editor":"DynamicValue","value":"text","optional":true},"AKe":{"caption":"Mapbox section","name":"mapbox","rank":6,"editor":"Label"},"AKf":{"caption":"Stadia section","name":"stadia_section","rank":9,"editor":"Label"},"AKg":{"caption":"HERE section","name":"here_section","rank":11,"editor":"Label"},"AKh":{"caption":"MapTiler section","name":"maptiler_section","rank":18,"editor":"Label"}},"code":{"fn":"function(instance,properties,context){const MAC_DETECTOR=undefined,IS_MAC=new RegExp(/Macintosh/).test(navigator.userAgent);instance.data.DRAW_TOGGLE=!1;let CITY_AREAS=[];instance.data.SAVED_POLYLINE=[],instance.data.isMapboxGl=!1;const mapid=properties.unique_map_name;instance.canvas.empty(),instance.canvas.attr(\"id\",mapid);const{tp_color:tp_color,tp_bg:tp_bg,border_color:border_color,border_radius:border_radius}=properties;instance.data.custom_style&&[...document.getElementsByTagName(\"style\")].forEach((el=>el.innerHTML===instance.data.custom_style?el.remove:null)),instance.data.custom_style=document.createElement(\"style\");const TOOLTIP_CLASS=mapid+\"tool\";instance.data.custom_style.innerHTML=`\\n        .${TOOLTIP_CLASS} {\\n          color: ${tp_color};\\n          background-color: ${tp_bg};\\n          border-radius: ${border_radius}px;\\n          border: 1px solid ${border_color};\\n        }\\n        .${TOOLTIP_CLASS}::before {\\n          border-color: transparent;\\n        }\\n  \\n        .${TOOLTIP_CLASS}::after {\\n          border-color: transparent;\\n        }\\n      `,document.head.insertAdjacentElement(\"beforeend\",instance.data.custom_style);
268let mymap=L.map(mapid).setView([properties.initial_view_latitude,properties.initial_view_longitude],properties.zoom_level);mymap.setMinZoom(1.5),instance.data.mymap=mymap;let bounds=[[-90,-180],[90,180]];if(mymap.setMaxBounds(bounds),\"Mapbox\"===properties.tile_provider&&(\"Custom from studio\"!==properties.mapbox_tile?L.tileLayer(\"https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}@2x?access_token={accessToken}\",{attribution:'&copy; <a href=\"https://www.mapbox.com/\">Mapbox</a>',tileSize:512,maxZoom:20,zoomOffset:-1,id:`mapbox/${properties.mapbox_tile}`,accessToken:context.keys[\"Mapbox access token\"]}).addTo(instance.data.mymap):L.tileLayer(\"https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}@2x?access_token={accessToken}\",{attribution:'&copy; <a href=\"https://www.mapbox.com/\">Mapbox</a>',tileSize:512,maxZoom:20,zoomOffset:-1,id:properties.mapbox_custom_id,accessToken:context.keys[\"Mapbox access token\"]}).addTo(instance.data.mymap)),\"Stadia\"===properties.tile_provider){const chosenStadiaTile=descriptionOnDropDownStadia=>descriptionOnDropDownStadia.toLowerCase().replace(/ /g,\"_\");L.tileLayer(\"https://tiles.stadiamaps.com/tiles/{op}/{z}/{x}/{y}{r}.png\",{maxZoom:20,op:chosenStadiaTile(properties.stadia_tile),attribution:'&copy; <a href=\"https://stadiamaps.com/\">Stadia Maps</a>'}).addTo(instance.data.mymap)}if(\"Here\"===properties.tile_provider){console.log(\"Here\");const schemeMapping=undefined,scheme=undefined,style=undefined,key=undefined,url=`https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${{\"normal day\":\"explore.day\",\"normal day grey\":\"explore.day\",\"normal day transit\":\"explore.day\",\"normal night\":\"explore.night\",\"normal night grey\":\"explore.night\",\"pedestrian day\":\"explore.day\",\"pedestrian night\":\"explore.night\",\"reduced day\":\"explore.day\"}[properties.here_tile.toLowerCase()]||\"explore.day\"}&size=512&apiKey=${context.keys[\"Here access token\"]}`,hereLayer=undefined;L.tileLayer(url,{attribution:'&copy; <a href=\"https://developer.here.com\">HERE maps</a>',maxZoom:20}).addTo(instance.data.mymap)}if(\"MapTiler\"===properties.tile_provider){let tileName=properties.maptiler_tile.toLowerCase().trim();if(L.mapboxGL({attribution:'<a href=\"https://www.maptiler.com/copyright/\" target=\"_blank\">&copy; MapTiler</a> <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">&copy; OpenStreetMap contributors</a>',style:`https://api.maptiler.com/maps/${tileName}/style.json?key=${context.keys[\"Maptiler access token\"]}`}).addTo(instance.data.mymap),!0===properties.display_maptiler_logo){let holderDiv=document.createElement(\"div\"),mapElement;holderDiv.innerHTML='<a href=\"https://www.maptiler.com\" style=\"position:absolute; left:10px; bottom:10px; z-index:999;\">\\n            <img src=\"https://api.maptiler.com/resources/logo.svg\" alt=\"MapTiler logo\">\\n            </a>',document.getElementById(mapid).appendChild(holderDiv)}instance.data.isMapboxGl=!0}const userLocated=e=>{instance.publishState(\"user_latitude\",e.latlng.lat),instance.publishState(\"user_longitude\",e.latlng.lng),instance.publishState(\"user_bounds_northeast_latitude\",e.bounds._northEast.lat),instance.publishState(\"user_bounds_northeast_longitude\",e.bounds._northEast.lng),instance.publishState(\"user_bounds_southwest_latitude\",e.bounds._southWest.lat),instance.publishState(\"user_bounds_southwest_longitude\",e.bounds._southWest.lng),instance.publishState(\"accuracy\",e.accuracy),instance.publishState(\"altitude\",e.altitude),instance.publishState(\"altitude_accuracy\",e.altitudeAccuracy),instance.publishState(\"heading\",e.heading),instance.publishState(\"speed\",e.speed),instance.publishState(\"timestamp\",e.timestamp),instance.triggerEvent(\"location_found\")},onLocationError=e=>{instance.triggerEvent(\"location_error\")};instance.data.mymap.on(\"locationfound\",userLocated),instance.data.mymap.on(\"locationerror\",onLocationError),properties.enable_drawing?setDrawingControls(instance,instance.data.mymap,instance.data.style):instance.data.mode=\"default\";const extractAjaxResponse=res=>{let coordinates=null;return res.response&&(coordinates={...res.response.view[0].result[0].location.displayPosition}),res.items&&(coordinates={latitude:res.items[0].position.lat,longitude:res.items[0].position.lng}),coordinates},generateInputDOM=options=>{const parentNode=L.DomUtil.create(\"div\",`leafy--${options.class}--inner--div`),input=L.DomUtil.create(\"input\",`leafy--${options.class}--input`);if(\"address\"===options.class){input.setAttribute(\"placeholder\",options.placeholder),input.setAttribute(\"type\",options.type),input.addEventListener(\"input\",options.onChangeHandler),parentNode.appendChild(input);const resultsDiv=L.DomUtil.create(\"div\",\"leafy--address--results--div\");parentNode.appendChild(resultsDiv)}return parentNode},optionsDOMcomponent=()=>{const parentNode=L.DomUtil.create(\"div\",\"leafy--route--properties\"),routeDelta=L.DomUtil.create(\"input\",\"leafy--limit--input\");return routeDelta.setAttribute(\"type\",\"number\"),routeDelta.setAttribute(\"placeholder\",\"Route range (in KM)\"),parentNode.appendChild(routeDelta),parentNode},colorInputDOM=()=>{const colorElement=L.DomUtil.create(\"div\",\"leafy--address--inner--div leafy--color--div\"),colorInput=L.DomUtil.create(\"input\",\"leafy--color--input\"),colorLabel=L.DomUtil.create(\"p\",\"leafy--color--label\");return colorLabel.innerHTML=\"Route color\",colorInput.setAttribute(\"type\",\"color\"),colorInput.setAttribute(\"value\",\"#55AAFF\"),colorElement.appendChild(colorLabel),colorElement.appendChild(colorInput),colorElement},countrySelectorDOM=()=>{const selectorDiv=L.DomUtil.create(\"div\",\"leafy--address--select--div\"),countrySelect=L.DomUtil.create(\"select\",\"leafy--select--country\");countrySelect.setAttribute(\"value\",\"\");const centerOnThisCountry=event=>{if(3===event.target.value.length){instance.data.state.countryCode=event.target.value;const provided_country=countryProvider.getNameFromCode(event.target.value);instance.data.state.country=provided_country,instance.data.routingMachine.getHereGeocode({country:provided_country},(res=>{if(res.Response.View){const{Latitude:Latitude,Longitude:Longitude}=res.Response.View[0].Result[0].Location.DisplayPosition;instance.data.map.panTo([Latitude,Longitude])}}))}};countrySelect.addEventListener(\"input\",centerOnThisCountry);const[countryList,countryCodes]=[countryProvider.getNames(),countryProvider.getCodes()];countryList.forEach(((country,index)=>{const countryOption=L.DomUtil.create(\"option\",\"leafy--country--option\");countryOption.innerHTML=country,countryOption.setAttribute(\"value\",countryCodes[index]),countrySelect.appendChild(countryOption)})),countrySelect.setAttribute(\"disabled\",!0),selectorDiv.appendChild(countrySelect);
268const checkBox=L.DomUtil.create(\"input\",\"leafy--checkbox\");checkBox.setAttribute(\"type\",\"checkbox\");const toggleCountryFunctionality=event=>{instance.data.state.filterCountry=!instance.data.state.filterCountry,event.target.parentElement.firstChild.disabled=!event.target.parentElement.firstChild.disabled};return checkBox.addEventListener(\"click\",toggleCountryFunctionality),selectorDiv.appendChild(checkBox),selectorDiv},generateInputWithLabelDOM=options=>{const newElement=L.DomUtil.create(\"div\",`leafy--address--inner--div leafy--${options.class}--div`),newLabel=L.DomUtil.create(\"p\",`leafy--${options.class}--label`);newLabel.innerHTML=options.label,newElement.appendChild(newLabel);const nameInput=L.DomUtil.create(\"input\",`leafy--route--${options.class}`);return nameInput.setAttribute(\"type\",options.type),newElement.appendChild(nameInput),newElement};class LeafyHereRouterMachine{constructor(){this.routeList=[],this.routeInfo=[],this.markerReference=[],this.changeRoute=!1,this.keys={apiKey:context.keys[\"Here access token\"]},this.targetRoute=\"\",this.deleteMarker=!1,instance.data.map.on(\"click\",(event=>{this.changeRoute&&(this.updateRoute(event.latlng),this.changeRoute=!1),this.deleteMarker&&(this.removeClosestMarker(event.latlng),this.deleteMarker=!1)}))}removeClosestMarker(latlng){this.routeInfo.forEach((route=>{if(route.name===this.targetRoute){let selectedIndex=-1,distance=9999999999999;const baseLat=route.baseParams.map((marker=>marker.latitude)),baseLng=route.baseParams.map((marker=>marker.longitude));let showBase=3!==route.params.length;route.params.forEach(((marker,markerIndex)=>{const notBaseMarker=-1===baseLat.indexOf(marker.latitude)||-1===baseLng.indexOf(marker.longitude);if(0!==markerIndex&&markerIndex!==route.params.length-1&&notBaseMarker){const distanceFromPoint=Math.pow(Math.pow(marker.latitude-latlng.lat,2)+Math.pow(marker.longitude-latlng.lng,2),.5);distanceFromPoint<distance&&(distance=distanceFromPoint,selectedIndex=markerIndex)}})),-1!==selectedIndex&&(route.params.splice(selectedIndex,1),getThisRoute(route.params,route,route,!0,!0,showBase))}}))}getHereGeocode(params,callback){const url=new URL(\"https://geocode.search.hereapi.com/v1/geocode\");url.search=new URLSearchParams({apiKey:context.keys[\"Here access token\"],...params}).toString(),fetch(url).then((response=>response.json())).then((data=>callback(data))).catch((error=>{console.error(\"Error in geocoding:\",error)}))}getHereGeocodeFromTwoParams(originParams,destinyParams,options){const markers=[];this.getHereGeocode(originParams,(res=>{const firstCoord=extractAjaxResponse(res);firstCoord&&(markers.push(firstCoord),this.getHereGeocode(destinyParams,(response=>{const secondCoord=extractAjaxResponse(response);secondCoord&&(markers.push(secondCoord),getThisRoute(markers,options))})))}))}addMarkerOnClick(name){this.targetRoute=name,this.changeRoute=!0}removeMarkerOnClick(name){this.targetRoute=name,this.deleteMarker=!0}addRoute(latlng,options,params,info,showRoute,showBase=!0){let routeIndex=-1;if(this.routeInfo.forEach(((element,index)=>{element.name===options.name&&(routeIndex=index)})),-1===routeIndex){const routeMarkers=params.map((element=>{const marker=undefined;return L.marker([element.latitude,element.longitude])})),polyline=L.polyline(latlng,{color:options.color});showRoute&&(polyline.addTo(instance.data.map),routeMarkers.forEach(((marker,index)=>{0!==index&&index!==routeMarkers.length-1||marker.bindTooltip(0===index?\"Origin\":\"Destination\",{permanent:!0,className:TOOLTIP_CLASS,offset:[0,0]}),marker.addTo(instance.data.map)}))),this.routeInfo.push({name:options.name,polyline:latlng,color:options.color,baseColor:options.baseColor,params:params,baseParams:params,baseInstance:L.polyline(latlng,{color:options.baseColor,weight:10,opacity:.8}),instance:polyline,markerInstance:routeMarkers,deltaRoute:1e3*options.deltaRoute,base:info,actual:info,restrictions:options.restrictions}),this.markerReference.push(routeMarkers),this.routeList.push(polyline),instance.data.map.fitBounds(polyline.getBounds())}else{this.routeInfo[routeIndex].baseInstance.removeFrom(instance.data.map);let itsEqual=!0;
268this.routeInfo[routeIndex].baseParams.forEach(((element,elIndex)=>{const elReference=params[elIndex];void 0===elReference?itsEqual=!1:element.latitude===elReference.latitude&&element.longitude===elReference.longitude||(itsEqual=!1)})),showBase&&!itsEqual&&this.routeInfo[routeIndex].baseInstance.addTo(instance.data.map),this.routeInfo[routeIndex].instance.removeFrom(instance.data.map),this.routeInfo[routeIndex].markerInstance.forEach((element=>element.removeFrom(instance.data.map)));const updatedMarkers=[];params.forEach(((element,index)=>{const marker=L.marker([element.latitude,element.longitude]);0!==index&&index!==params.length-1||marker.bindTooltip(0===index?\"Origin\":\"Destination\",{permanent:!0,className:TOOLTIP_CLASS,offset:[0,0]}),marker.addTo(instance.data.map),updatedMarkers.push(marker)}));const updatedPolyline=L.polyline(latlng,{color:options.color}).addTo(instance.data.map);this.routeInfo[routeIndex]={...this.routeInfo[routeIndex],polyline:latlng,color:options.color,params:params,instance:updatedPolyline,markerInstance:updatedMarkers,actual:info};try{instance.data.map.fitBounds(updatedPolyline.getBounds())}catch(error){console.error(\"Error fitting bounds:\",error)}}instance.data.routed=[...this.routeInfo]}updateRoute(latlng,options=!1){let routeIndex=-1;if(this.routeInfo.forEach(((element,index)=>{element.name===this.targetRoute&&(routeIndex=index)})),-1!==routeIndex&&!options){const routeElement=this.routeInfo[routeIndex],params=new URLSearchParams({apiKey:context.keys[\"Here access token\"],at:`${latlng.lat},${latlng.lng}`,lang:\"en\"});fetch(`https://revgeocode.search.hereapi.com/v1/revgeocode?${params}`).then((response=>response.json())).then((data=>{let nextRef;if(!(data.items&&data.items[0]&&data.items[0].position))return console.error(\"Unexpected response format:\",data),void instance.triggerEvent(\"no_route_was_found\");nextRef={Latitude:data.items[0].position.lat,Longitude:data.items[0].position.lng};const lastRouteInfo=this.routeInfo[routeIndex];let sendTheseParams=[];if(this.routeList=this.routeList.splice(routeIndex,1),2===lastRouteInfo.params.length)sendTheseParams=[...lastRouteInfo.params],sendTheseParams.splice(1,0,{latitude:nextRef.Latitude,longitude:nextRef.Longitude});else{const copied=[...lastRouteInfo.params],[init,end]=[copied.shift(),copied.pop()];copied.push({latitude:nextRef.Latitude,longitude:nextRef.Longitude});let distances=[];copied.forEach((el=>{const distance=Math.pow(Math.pow(el.latitude-init.latitude,2)+Math.pow(el.longitude-init.longitude,2),.5);distances.push({data:el,distance:distance})})),distances.sort(((a,b)=>a.distance>b.distance?1:-1));const newBody=[];newBody.push(init),distances.forEach((e=>newBody.push(e.data))),newBody.push(end);const removeDuplicate=undefined,removedDup=undefined;sendTheseParams=[...new Set([...newBody.map((el=>`${el.longitude},${el.latitude}`))])].map((element=>{const[lng,lat]=[...element.split(\",\")];return{latitude:parseFloat(lat),longitude:parseFloat(lng)}}))}getThisRoute(sendTheseParams,{...lastRouteInfo},routeElement,!0)})).catch((error=>{console.error(\"Error in reverse geocoding:\",error),instance.triggerEvent(\"no_route_was_found\")}))}}showRoute(options){this.routeInfo.forEach((route=>{route.name===options.route_name&&(route.instance.addTo(instance.data.map),route.markerInstance.forEach((marker=>marker.addTo(instance.data.map))),options.zoom_to_route&&instance.data.map.fitBounds(route.instance.getBounds()))}))}hideRoute(options){this.routeInfo.forEach((route=>{route.name===options.route_name&&(route.instance.removeFrom(instance.data.map),route.markerInstance.forEach((marker=>marker.removeFrom(instance.data.map))))}))}showOnly(options){this.routeInfo.forEach((route=>{route.name!==options.route_name?(route.instance.removeFrom(instance.data.map),route.markerInstance.forEach((marker=>marker.removeFrom(instance.data.map)))):(route.instance.addTo(instance.data.map),route.markerInstance.forEach((marker=>marker.addTo(instance.data.map))),instance.data.map.fitBounds(route.instance.getBounds()))})),this.showRouteSummary(options)}publishThisRoute(route,triggerName){const latList=route.params.map((element=>element.latitude)),lngList=route.params.map((element=>element.longitude)),baseLat=route.baseParams.map((element=>element.latitude)),baseLng=route.baseParams.map((element=>element.longitude));instance.publishState(\"here_route_latitude\",latList),instance.publishState(\"here_route_longitude\",lngList),instance.publishState(\"here_route_base_latitude\",baseLat),instance.publishState(\"here_route_base_longitude\",baseLng);const origin={lat:latList[0],lng:lngList[0]},destination={lat:latList[latList.length-1],lng:lngList[lngList.length-1]};instance.publishState(\"here_route_name\",route.name),instance.publishState(\"here_route_distance\",route.actual.length),instance.publishState(\"here_route_travel_time\",route.actual.duration),instance.publishState(\"here_route_base_time\",route.actual.baseDuration),instance.publishState(\"here_route_traffic_time\",route.actual.duration-route.actual.baseDuration),instance.publishState(\"here_route_distance_limit\",99999999e3===route.deltaRoute?0:route.deltaRoute/1e3),instance.publishState(\"here_route_base_color\",route.baseColor),instance.publishState(\"here_route_color\",route.color);const restrictions=[];
268for(let key in route.restrictions)restrictions.push(`${key.replace(/([A-Z])/g,\" $1\").toLowerCase()}: ${route.restrictions[key]}`);instance.publishState(\"here_route_restrictions\",restrictions),this.retrieveAddressFromCoordinates(origin,(originAddress=>{instance.publishState(\"here_route_origin_address\",originAddress),this.retrieveAddressFromCoordinates(destination,(destAddress=>{instance.publishState(\"here_route_destination_address\",destAddress);const waypointPromises=latList.slice(1,-1).map(((lat,index)=>new Promise((resolve=>{this.retrieveAddressFromCoordinates({lat:lat,lng:lngList[index+1]},resolve)}))));Promise.all(waypointPromises).then((waypointAddresses=>{instance.publishState(\"here_route_marker_addresses\",waypointAddresses),instance.triggerEvent(triggerName)}))}))}))}removeMarkerByIndex(options){this.routeInfo.forEach((route=>{route.name===options.route_name&&route.params.length>2&&options.marker<route.params.length-1&&(route.params.splice(options.marker,1),getThisRoute(route.params,route,route,!0))}))}exportRoute(options){this.routeInfo.forEach((route=>{route.name===options.route_name&&this.publishThisRoute(route,\"route_exported\")}))}retrieveAddressFromCoordinates(latlng,callback){const url=new URL(\"https://revgeocode.search.hereapi.com/v1/revgeocode\");url.searchParams.append(\"apiKey\",context.keys[\"Here access token\"]),url.searchParams.append(\"at\",`${latlng.lat},${latlng.lng}`),url.searchParams.append(\"lang\",\"en\"),fetch(url).then((response=>response.json())).then((data=>{let address=null;data.items&&data.items.length>0&&(address=data.items[0].address.label),callback(address)})).catch((error=>{console.error(\"Error retrieving address:\",error),callback(null)}))}showRouteSummary(options){this.routeInfo.forEach((route=>{route.name===options.route_name&&this.publishThisRoute(route,\"route_selected\")}))}addWfRouteMarker(options){this.targetRoute=options.route_name,this.changeRoute=!1,options.use_address_instead&&options.address?this.getHereGeocode({q:options.address},(res=>{let coordinates=this.extractCoordinates(res);coordinates?this.updateRoute({lat:coordinates.latitude,lng:coordinates.longitude}):(console.error(\"Could not geocode the address\"),instance.triggerEvent(\"no_route_was_found\"))})):null!=options.latitude&&null!=options.longitude?this.updateRoute({lat:options.latitude,lng:options.longitude}):(console.error(\"Invalid input: neither valid coordinates nor valid address provided\"),instance.triggerEvent(\"no_route_was_found\"))}extractCoordinates(res){return res.items&&res.items.length>0?{latitude:res.items[0].position.lat,longitude:res.items[0].position.lng}:null}loadRoutesFromTable(options={}){const source=options.table_source;source&&\"function\"==typeof source.get&&\"function\"==typeof source.length?source.get(0,source.length()).forEach((element=>{const parameters=[];if(options.latitude_field&&options.longitude_field){const latsrc=element.get(options.latitude_field),lngsrc=element.get(options.longitude_field);latsrc&&lngsrc&&\"function\"==typeof latsrc.get&&\"function\"==typeof lngsrc.get&&(latsrc.get(0,latsrc.length()).forEach((lat=>parameters.push({latitude:lat}))),lngsrc.get(0,lngsrc.length()).forEach(((lng,index)=>{parameters[index]&&(parameters[index].longitude=lng)})))}const routeRestrictions={};if(options.route_restriction_field){const restrict=element.get(options.route_restriction_field);restrict&&\"function\"==typeof restrict.get&&restrict.get(0,restrict.length()).forEach((el=>{const[key,value]=el.split(\":\");if(key&&value){const t=key.replace(/( [a-z])/g,((group,match)=>match.toUpperCase().trim()));routeRestrictions[t]=value.trim()}}))}const routeOpt={name:options.name_field?element.get(options.name_field):`Route_${Date.now()}`,color:options.color_field?element.get(options.color_field):\"#000000\",baseColor:options.base_color_field?element.get(options.base_color_field):\"#808080\",deltaRoute:options.distance_limit_field?element.get(options.distance_limit_field):1/0,restrictions:Object.keys(routeRestrictions).length>0?routeRestrictions:void 0};parameters.length>=2?getThisRoute(parameters,routeOpt,{},!1,options.show_all_routes||!1):console.warn(\"Not enough valid coordinates to create a route\")})):console.error(\"Invalid or missing table source\")}updateBaseRoute(options){this.routeInfo.forEach(((route,index)=>{if(route.name===options.route_name){const newRoute={...route};newRoute.instance=L.polyline(route.polyline,{color:route.color}).addTo(instance.data.map),newRoute.baseInstance=L.polyline(route.polyline,{color:route.baseColor,weight:10,opacity:.8}),newRoute.base=route.actual,newRoute.baseParams=route.params,route.instance.removeFrom(instance.data.map),route.baseInstance.removeFrom(instance.data.map),this.routeInfo[index]=newRoute}}))}clearRoutes(){this.routeInfo.forEach((route=>{route.instance.removeFrom(instance.data.map),route.markerInstance.forEach((element=>element.removeFrom(instance.data.map)))}
268)),this.routeList=[],this.routeInfo=[],this.markerReference=[]}}instance.data.state={country:[0,0],countryCode:\"\",state:\"\",city:\"\",label:\"\",ruckControl:!1,addresses:[],filterCountry:!1},instance.data.platform=null,instance.data.here={platform:null,router:null,geoservice:null,routeInitialized:!1},instance.data.markers=[];const getThisRoute=(params,options,info,update=!1,showRoute=!0,showBase=!0)=>{const url=\"https://router.hereapi.com/v8/routes\",urlParams=new URLSearchParams({apiKey:context.keys[\"Here access token\"],transportMode:options.transport_mode||\"car\",return:\"polyline,summary,actions,instructions\",...options.restrictions});urlParams.append(\"origin\",`${params[0].latitude},${params[0].longitude}`);for(let i=1;i<params.length-1;i++)urlParams.append(\"via\",`${params[i].latitude},${params[i].longitude}`);urlParams.append(\"destination\",`${params[params.length-1].latitude},${params[params.length-1].longitude}`),fetch(`${url}?${urlParams}`,{method:\"GET\"}).then((response=>response.json())).then((res=>{if(res.routes&&res.routes.length>0){const route=res.routes[0];let combinedPolyline=[],combinedSummary={length:0,duration:0,baseDuration:0};if(route.sections.forEach((section=>{const sectionPolyline=decodeFlexiblePolyline(section.polyline).polyline;combinedPolyline=combinedPolyline.concat(sectionPolyline),combinedSummary.length+=section.summary.length,combinedSummary.duration+=section.summary.duration,combinedSummary.baseDuration+=section.summary.baseDuration})),update){const diff=combinedSummary.length-info.base.length;info.deltaRoute?diff<info.deltaRoute?instance.data.routingMachine.addRoute(combinedPolyline,options,params,combinedSummary,showRoute,showBase):instance.triggerEvent(\"route_limit_exceeded\"):instance.data.routingMachine.addRoute(combinedPolyline,options,params,combinedSummary,showRoute,showBase)}else instance.data.routingMachine.addRoute(combinedPolyline,options,params,combinedSummary,showRoute)}else console.error(\"No routes found in API response\"),instance.triggerEvent(\"no_route_was_found\")})).catch((err=>{console.error(\"Error in HERE API call:\",err),instance.triggerEvent(\"no_route_was_found\")}))};function decodeFlexiblePolyline(polyline){return PolylineDecoder.decodePolyline(polyline)}instance.data.map=null,instance.data.initialized=!1,instance.data.actions={loadMap:()=>{instance.data.map=instance.data.mymap,instance.data.routingMachine=new LeafyHereRouterMachine},getHereRoute:options=>{const routeOpt={color:options.route_color,baseColor:options.base_route_color,name:options.route_name,transport_mode:options.transport_mode,deltaRoute:options.distance_limit?options.distance_limit:99999999,restrictions:{},vehicle:{}};if(options.axle_count&&(routeOpt.vehicle.axleCount=options.axle_count),options.weight_per_axle&&(routeOpt.vehicle.weightPerAxle=options.weight_per_axle),options.trailerCount&&(routeOpt.vehicle.trailerForbidden=options.trailers_count),options.shipped_hazardous_goods&&(routeOpt.vehicle.shippedHazardousGoods=options.shipped_hazardous_goods.replace(/ ([a-z])/g,\"$1\".toUpperCase())),options.tunnel_category&&(routeOpt.vehicle.tunnelCategory=options.tunnel_category),options.truck_type){const truckType=options.truck_type.replace(/ ([a-z])/g,\"$1\".toUpperCase());routeOpt.vehicle.type=\"StraightTruck\"===truckType?\"StraightTruck\":\"Tractor\"}if(options.width&&(routeOpt.vehicle.width=options.width),options.height&&(routeOpt.vehicle.height=options.height),(options.weights_per_axle_single||options.weights_per_axle_tandem)&&(routeOpt.vehicle.weightPerAxleGroup={single:options.weights_per_axle_single,tandem:options.weights_per_axle_tandem}),options.use_coordinates){const paramsList=[];options.latitude_list.get(0,options.latitude_list.length()).forEach((element=>{paramsList.push({latitude:element})})),options.longitude_list.get(0,options.longitude_list.length()).forEach(((element,index)=>{paramsList[index].longitude=element})),getThisRoute(paramsList,routeOpt)}else instance.data.routingMachine.getHereGeocodeFromTwoParams({q:options.origin_address},{q:options.destination_address},routeOpt)},getManualRoute:options=>{},addMarkerClick:options=>{const{route_name:route_name}=options,nameToSend=route_name||`${Date.now()}`;instance.data.routingMachine.addMarkerOnClick(nameToSend)},zoomToMap:options=>{let poly=null;instance.data.routingMachine.routeInfo.forEach((element=>{element.name===options.route_name&&(poly=element.instance)})),poly?instance.data.map.fitBounds(poly.getBounds()):alert(\"invalid route name\")},editRoute:options=>{let routeExists=-1;if(instance.data.routingMachine.routeInfo.forEach(((element,index)=>{element.name===options.route_name&&(routeExists=index)})),routeExists>-1){const thisRef=instance.data.routingMachine.routeInfo[routeExists];thisRef.instance.removeFrom(instance.data.map);const newPoly=L.polyline(thisRef.polyline,{color:options.color}).addTo(instance.data.map);instance.data.routingMachine.routeInfo[routeExists]={...instance.data.routingMachine.routeInfo[routeExists],color:options.color,deltaRoute:options.distance_limit,instance:newPoly}}else alert(`there is no route with the name${options.route_name}`)},getAutocompleteSuggestion:options=>{const url=new URL(\"https://autocomplete.search.hereapi.com/v1/autocomplete\");url.searchParams.append(\"apiKey\",context.keys[\"Here access token\"]),url.searchParams.append(\"q\",options.text),url.searchParams.append(\"limit\",\"8\"),url.searchParams.append(\"lang\",\"en\"),fetch(url).then((response=>response.json())).then((data=>{if(data.items&&data.items.length>0){const suggestionsArray=undefined,mapToState=data.items.map((item=>item.address.label.replace(/,/g,\" -\")));instance.publishState(\"here_suggestion_state\",mapToState),instance.triggerEvent(\"here_suggestion\")}else instance.publishState(\"here_suggestion_state\",[\"\"]),instance.triggerEvent(\"here_suggestion\")}
268)).catch((error=>{console.error(\"Error:\",error),alert(\"An error occurred while fetching suggestions\")}))},showRoute:options=>{instance.data.routingMachine.showRoute(options)},hideRoute:options=>{instance.data.routingMachine.hideRoute(options)},showOnly:options=>{instance.data.routingMachine.showOnly(options)},exportRoute:options=>{instance.data.routingMachine.exportRoute(options)},addWfRouteMarker:options=>{instance.data.routingMachine.addWfRouteMarker(options)},loadRoutesFromTable:options=>{instance.data.routingMachine.loadRoutesFromTable(options)},removeMarkerByIndex:options=>{instance.data.routingMachine.removeMarkerByIndex(options)},removeMarkerOnClick:options=>{instance.data.routingMachine.removeMarkerOnClick(options.route_name)},showRouteSummary:options=>{instance.data.routingMachine.showRouteSummary(options)},updateBaseRoute:options=>{instance.data.routingMachine.updateBaseRoute(options)}},instance.data.actions.loadMap(),properties.mouse_wheel_zoom||instance.data.mymap.scrollWheelZoom.disable(),\"right\"===properties.mouse_button&&instance.data.mymap.on(\"contextmenu\",(ev=>{\"default\"===instance.data.mode&&(instance.publishState(\"click_map_coordinates_latitude\",ev.latlng.lat),instance.publishState(\"click_map_coordinates_longitude\",ev.latlng.lng),instance.triggerEvent(\"map_clicked\"))})),\"left\"===properties.mouse_button&&instance.data.mymap.on(\"click\",(ev=>{\"default\"===instance.data.mode&&(instance.publishState(\"click_map_coordinates_latitude\",ev.latlng.lat),instance.publishState(\"click_map_coordinates_longitude\",ev.latlng.lng),instance.triggerEvent(\"map_clicked\"))}))}"}},"AAR":{"caption":"Remove map from","code":{"fn":"function(instance,properties,context){function _0x1cb6(_0x17644a,_0x1ae671){var _0x48b993=_0x48b9();return(_0x1cb6=function(_0x1cb609,_0x31c036){var _0x301540;return _0x48b993[_0x1cb609-=265]})(_0x17644a,_0x1ae671)}function _0x48b9(){var _0x2d3812=[\"291qaFvKW\",\"remove\",\"507461VJNjTV\",\"4200340VAvjNy\",\"30UOnYVk\",\"194180blTWqk\",\"9ZtfvVI\",\"mymap\",\"1516764ELgKXk\",\"575815EjXAHG\",\"2770056CiQtBP\",\"9114aoVTNs\"];return(_0x48b9=function(){return _0x2d3812})()}function run(_0x15f55b,_0x533b43,_0x2f31f4){var _0x589572=_0x1cb6;_0x15f55b.data[_0x589572(271)][_0x589572(265)]()}!function(_0x24663c,_0x296272){for(var _0x3ad9f4=_0x1cb6,_0x595f5b=_0x24663c();;)try{var _0x4cc6b6;if(352083===parseInt(_0x3ad9f4(266))/1+parseInt(_0x3ad9f4(275))/2*(parseInt(_0x3ad9f4(276))/3)+-parseInt(_0x3ad9f4(272))/4+parseInt(_0x3ad9f4(273))/5*(parseInt(_0x3ad9f4(268))/6)+-parseInt(_0x3ad9f4(269))/7+-parseInt(_0x3ad9f4(274))/8+parseInt(_0x3ad9f4(270))/9*(-parseInt(_0x3ad9f4(267))/10))break;_0x595f5b.push(_0x595f5b.shift())}catch(_0x3fb99a){_0x595f5b.push(_0x595f5b.shift())}}(_0x48b9,352083),run(instance,properties,context)}"}},"AAS":{"caption":"Draw line on","fields":{"AAw":{"caption":"List of latitudes","editor":"DynamicValue","is_list":true,"name":"list_of_latitudes","optional":true,"rank":1,"value":"number"},"AAx":{"caption":"List of longitudes","editor":"DynamicValue","is_list":true,"name":"list_of_longitudes","optional":true,"rank":2,"value":"number"},"AAy":{"caption":"Line color","default_val":"rgba(235, 153, 0, 1)","editor":"Color","name":"stroke_color","rank":6},"AAz":{"caption":"Zoom map to this line?","default_val":false,"editor":"Checkbox","name":"zoom_map_to_this_line","rank":3},"ABA":{"caption":"Unique line name","editor":"DynamicValue","name":"polyline_name","rank":0,"value":"text"},"ABv":{"caption":"Use encoded shape?","default_val":false,"editor":"Checkbox","name":"use_encoded_shape_polyline","optional":true,"rank":4,"value":"text"},"ABw":{"caption":"Encoded shape","editor":"DynamicValue","name":"encoded_shape","optional":true,"rank":5,"value":"text"},"ABx":{"caption":"Weight","default_val":3,"editor":"DynamicValue","name":"stroke_weight","rank":7,"value":"number"},"ABy":{"caption":"Opacity","default_val":1,"editor":"DynamicValue","name":"stroke_opacity","rank":8,"value":"number"},"ABz":{"caption":"Line cap","default_val":"round","editor":"Dropdown","name":"line_cap","rank":9},"ACA":{"caption":"Line join","default_val":"round","editor":"Dropdown","name":"line_join","rank":10}},"code":{"fn":"function(instance,properties,context){function _0xe290(_0xd75bb0,_0x19cc33){const _0x193e05=_0x193e();return(_0xe290=function(_0xe2903b,_0x2378e8){let _0x21d524;return _0x193e05[_0xe2903b-=394]})(_0xd75bb0,_0x19cc33)}function run(_0x57ffcd,_0x441192,_0x1f2fbb){const _0x419f17=_0xe290,_0x3898bb=function(_0x29b48e,_0x45005a){const _0x40cc5c=_0xe290;for(var _0x53d84f=0,_0x362f0c=0,_0x3c396f=0,_0x310376=[],_0x1d0563=0,_0x5a5869=0,_0x3a5e90=null,_0x5dbe1e,_0xd67d76,_0x2d75ac=Math.pow(10,_0x45005a||6);_0x53d84f<_0x29b48e[_0x40cc5c(416)];){_0x3a5e90=null,_0x1d0563=0,_0x5a5869=0;do{_0x5a5869|=(31&(_0x3a5e90=_0x29b48e.charCodeAt(_0x53d84f++)-63))<<_0x1d0563,_0x1d0563+=5}while(_0x3a5e90>=32);_0x5dbe1e=1&_0x5a5869?~(_0x5a5869>>1):_0x5a5869>>1,_0x1d0563=_0x5a5869=0;do{_0x5a5869|=(31&(_0x3a5e90=_0x29b48e[_0x40cc5c(409)](_0x53d84f++)-63))<<_0x1d0563,_0x1d0563+=5}while(_0x3a5e90>=32);_0x362f0c+=_0x5dbe1e,_0x3c396f+=_0xd67d76=1&_0x5a5869?~(_0x5a5869>>1):_0x5a5869>>1,_0x310376[_0x40cc5c(404)]([_0x362f0c/_0x2d75ac,_0x3c396f/_0x2d75ac])}return _0x310376};let _0x3370d9=[],_0x1e2389=(_0x260bee,_0x1f6975,_0xe7fbae)=>{const _0x46dba8=undefined;let _0x5a6ba7;return _0x260bee[_0xe290(405)](_0x1f6975,_0xe7fbae)},_0x1c9c8d=(_0x36609a,_0x5fb617)=>{let _0x3e76c3;return _0x1e2389(_0x36609a,0,_0x5fb617)};if(_0x441192[_0x419f17(406)])_0x3370d9=_0x3898bb(_0x441192.encoded_shape,6);else if(!_0x441192[_0x419f17(406)]){let _0x4460cc=_0x1c9c8d(_0x441192[_0x419f17(417)],_0x441192.list_of_latitudes.length()),_0x2d7d8b=_0x1c9c8d(_0x441192[_0x419f17(424)
268],_0x441192[_0x419f17(424)][_0x419f17(416)]());const _0x10b65f=(_0x2e94f4,_0x1987ac,_0x413be8)=>{const _0x3d0ab9=undefined;_0x3370d9[_0x419f17(404)]([_0x4460cc[_0x1987ac],_0x2d7d8b[_0x1987ac]])};_0x4460cc[_0x419f17(419)](_0x10b65f)}let _0x475098={color:_0x441192[_0x419f17(397)],weight:_0x441192[_0x419f17(402)],opacity:_0x441192[_0x419f17(403)],lineCap:_0x441192[_0x419f17(407)],lineJoin:_0x441192[_0x419f17(395)]};_0x57ffcd[_0x419f17(412)][\"\"+_0x441192[_0x419f17(425)]]=L[_0x419f17(398)](_0x3370d9,_0x475098)[_0x419f17(421)](_0x57ffcd.data[_0x419f17(427)]),_0x57ffcd[_0x419f17(412)][\"\"+_0x441192.polyline_name].on(_0x419f17(394),(function(){const _0x2b0d3d=_0x419f17;_0x57ffcd.publishState(_0x2b0d3d(414),_0x441192[_0x2b0d3d(425)])})),_0x441192[_0x419f17(399)]&&_0x57ffcd[_0x419f17(412)][_0x419f17(427)][_0x419f17(413)](_0x57ffcd.data[\"\"+_0x441192.polyline_name][_0x419f17(422)]())}function _0x193e(){const _0x14539c=[\"3373IvdMXC\",\"160764QYQeib\",\"stroke_weight\",\"stroke_opacity\",\"push\",\"get\",\"use_encoded_shape_polyline\",\"line_cap\",\"9011988MBKtVy\",\"charCodeAt\",\"2486foKBhS\",\"12fAdPwk\",\"data\",\"fitBounds\",\"geometry_clicked_name\",\"5ZfDelX\",\"length\",\"list_of_latitudes\",\"342440Lqmctt\",\"forEach\",\"1349736UkeenO\",\"addTo\",\"getBounds\",\"21ukDvRx\",\"list_of_longitudes\",\"polyline_name\",\"821412HvCzEt\",\"mymap\",\"538OroEbm\",\"click\",\"line_join\",\"10409130Lapelh\",\"stroke_color\",\"polyline\",\"zoom_map_to_this_line\"];return(_0x193e=function(){return _0x14539c})()}!function(_0xc4ba9c,_0x2d8731){const _0x4a00ed=_0xe290,_0x1534d5=_0xc4ba9c();for(;;)try{const _0x21921b=undefined;if(917855===parseInt(_0x4a00ed(400))/1*(parseInt(_0x4a00ed(428))/2)+parseInt(_0x4a00ed(426))/3*(-parseInt(_0x4a00ed(411))/4)+-parseInt(_0x4a00ed(415))/5*(parseInt(_0x4a00ed(396))/6)+-parseInt(_0x4a00ed(423))/7*(-parseInt(_0x4a00ed(420))/8)+-parseInt(_0x4a00ed(408))/9+parseInt(_0x4a00ed(418))/10+parseInt(_0x4a00ed(410))/11*(parseInt(_0x4a00ed(401))/12))break;_0x1534d5.push(_0x1534d5.shift())}catch(_0x1bda53){_0x1534d5.push(_0x1534d5.shift())}}(_0x193e,917855),run(instance,properties,context)}"}},"ABB":{"caption":"Zoom to line in","fields":{"ABC":{"caption":"Name of element","editor":"DynamicValue","name":"zoomed_element_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x3f89(){var _0x58c3a3=[\"zoomed_element_name\",\"564147jgGvGw\",\"638976nhMuvV\",\"2489095mgvVLV\",\"getBounds\",\"3655VqcKaj\",\"data\",\"fitBounds\",\"13385YjtYxw\",\"122584ijuRMD\",\"284ADfBwA\",\"6ZOFeJf\",\"329832aCsONz\"];return(_0x3f89=function(){return _0x58c3a3})()}function _0x5ee2(_0x5ef0d5,_0x60e43f){var _0x3f8954=_0x3f89();return(_0x5ee2=function(_0x5ee2ba,_0x1b8a86){var _0x91f2e5;return _0x3f8954[_0x5ee2ba-=399]})(_0x5ef0d5,_0x60e43f)}function run(_0x48d495,_0x266dc0,_0x4fb0ec){var _0x1fa5e0=_0x5ee2;_0x48d495[_0x1fa5e0(400)].mymap[_0x1fa5e0(401)](_0x48d495.data[\"\"+_0x266dc0[_0x1fa5e0(407)]][_0x1fa5e0(411)]())}!function(_0x4abd9d,_0x2657f6){for(var _0x4086b6=_0x5ee2,_0x38d442=_0x4abd9d();;)try{var _0x342a46;if(183841===parseInt(_0x4086b6(402))/1*(parseInt(_0x4086b6(405))/2)+-parseInt(_0x4086b6(406))/3+parseInt(_0x4086b6(404))/4*(parseInt(_0x4086b6(399))/5)+-parseInt(_0x4086b6(409))/6+parseInt(_0x4086b6(410))/7+parseInt(_0x4086b6(403))/8+-parseInt(_0x4086b6(408))/9)break;_0x38d442.push(_0x38d442.shift())}catch(_0x239c2d){_0x38d442.push(_0x38d442.shift())}}(_0x3f89,183841),run(instance,properties,context)}"}},"ABR":{"caption":"Set zoom on","fields":{"ABS":{"caption":"Desired zoom level","editor":"DynamicValue","name":"new_zoom","rank":0,"value":"number"}},"code":{"fn":"function(instance,properties,context){function _0x2a37(_0x44b9f8,_0x613f0e){var _0x1da6a5=_0x1da6();return(_0x2a37=function(_0x2a3759,_0x323495){var _0x227296;return _0x1da6a5[_0x2a3759-=349]})(_0x44b9f8,_0x613f0e)}function run(_0x7c29b9,_0x3b0961,_0x49ea36){var _0x57bfc8=_0x2a37;_0x7c29b9[_0x57bfc8(358)].mymap.setZoom(_0x3b0961[_0x57bfc8(349)])}function _0x1da6(){var _0x4e4d40=[\"10YNCMXu\",\"272302kNBAjM\",\"1107136kOpxfX\",\"536562TJPxKl\",\"1536051AHCahd\",\"425240ZnpoHR\",\"8426718cNgKQx\",\"data\",\"30QIAwmr\",\"134520HJmSWy\",\"new_zoom\",\"77ejywxp\"];return(_0x1da6=function(){return _0x4e4d40})()}!function(_0x3207df,_0x5cee6e){for(var _0x3456c6=_0x2a37,_0x140533=_0x3207df();;)try{var _0x2fed58;if(304400===parseInt(_0x3456c6(352))/1+-parseInt(_0x3456c6(360))/2+-parseInt(_0x3456c6(355))/3+-parseInt(_0x3456c6(353))/4+parseInt(_0x3456c6(359))/5*(parseInt(_0x3456c6(354))/6)+-parseInt(_0x3456c6(350))/7*(parseInt(_0x3456c6(356))/8)+parseInt(_0x3456c6(357))/9*(parseInt(_0x3456c6(351))/10))break;_0x140533.push(_0x140533.shift())}catch(_0x34d83f){_0x140533.push(_0x140533.shift())}}(_0x1da6,304400),run(instance,properties,context)}"}},"ABT":{"caption":"Pan to in","fields":{"ABU":{"caption":"Latitude","editor":"DynamicValue","name":"latitude","rank":1,"value":"number"},"ABV":{"caption":"Longitude","editor":"DynamicValue","name":"longitude","rank":2,"value":"number"}
268,"ABW":{"caption":"Pans the view to a specific point.","editor":"Label","name":"pans_the_view_to_a_specific_point.","rank":0}},"code":{"fn":"function(instance,properties,context){function _0x6269(_0x195e3a,_0x572a6c){var _0x346c25=_0x346c();return(_0x6269=function(_0x62690a,_0x5229c2){var _0x47552d;return _0x346c25[_0x62690a-=331]})(_0x195e3a,_0x572a6c)}function run(_0x28f4f0,_0x25014f,_0xc9df3d){var _0xd1106b=_0x6269;_0x28f4f0[_0xd1106b(334)][_0xd1106b(337)][_0xd1106b(335)]([_0x25014f.latitude,_0x25014f[_0xd1106b(336)]])}function _0x346c(){var _0x578b00=[\"data\",\"panTo\",\"longitude\",\"mymap\",\"3220704OvgRyE\",\"4604046bkAhHs\",\"1401549FmicuQ\",\"4lNQNrC\",\"56445kCcjJk\",\"4345551sXEJFu\",\"342630kxnmkT\",\"1986198XgXfki\"];return(_0x346c=function(){return _0x578b00})()}!function(_0x588809,_0x519027){for(var _0x26beac=_0x6269,_0x198bba=_0x588809();;)try{var _0x203fe6;if(684359===parseInt(_0x26beac(332))/1+-parseInt(_0x26beac(333))/2+-parseInt(_0x26beac(340))/3*(parseInt(_0x26beac(341))/4)+parseInt(_0x26beac(342))/5+parseInt(_0x26beac(339))/6+parseInt(_0x26beac(331))/7+parseInt(_0x26beac(338))/8)break;_0x198bba.push(_0x198bba.shift())}catch(_0x50f253){_0x198bba.push(_0x198bba.shift())}}(_0x346c,684359),run(instance,properties,context)}"}},"ABa":{"caption":"Draw polygon on","fields":{"ABb":{"caption":"List of latitudes","editor":"DynamicValue","is_list":true,"name":"list_of_latitudes","rank":1,"value":"number"},"ABc":{"caption":"List of longitudes","editor":"DynamicValue","is_list":true,"name":"list_of_longitudes","rank":2,"value":"number"},"ABd":{"caption":"Draw stroke","default_val":true,"editor":"Checkbox","name":"draw_stroke","rank":3},"ABe":{"caption":"Stroke color","default_val":"rgba(10, 4, 77, 1)","editor":"Color","name":"stroke_color","rank":4},"ABf":{"caption":"Stroke weight","default_val":3,"editor":"DynamicValue","name":"stroke_weight","rank":5,"value":"number"},"ABg":{"caption":"Stroke opacity","default_val":1,"editor":"DynamicValue","name":"stroke_opacity","rank":6,"value":"number"},"ABi":{"caption":"Fill color","default_val":"rgba(0, 159, 191, 1)","editor":"Color","name":"fill_color","rank":8},"ABj":{"caption":"Fill opacity","default_val":0.2,"editor":"DynamicValue","name":"fill_opacity","rank":9,"value":"number"},"ABk":{"caption":"Polygon name","editor":"DynamicValue","name":"polygon_name","rank":0,"value":"text"},"ABl":{"caption":"Zoom map to this upon creation?","default_val":true,"editor":"Checkbox","name":"zoom_map_to_this_polygon","rank":12},"ABm":{"caption":"Polygon fill","default_val":true,"editor":"Checkbox","name":"polygon_fill","rank":7},"ACB":{"caption":"Line cap","default_val":"round","editor":"Dropdown","name":"line_cap","rank":10},"ACC":{"caption":"Line join","default_val":"round","editor":"Dropdown","name":"line_join","rank":11}},"code":{"fn":"function(instance,properties,context){function _0x1a28(){const _0x35f90a=[\"line_cap\",\"715PShBMZ\",\"16372mRuljX\",\"fitBounds\",\"list_of_longitudes\",\"233667QMMHbd\",\"2107231OBuCrV\",\"208rYlbxx\",\"6809QqfVnI\",\"line_join\",\"length\",\"174827ZOiAjB\",\"list_of_latitudes\",\"forEach\",\"publishState\",\"stroke_opacity\",\"stroke_weight\",\"polygon_fill\",\"2847kEIHZN\",\"addTo\",\"18jFBOte\",\"data\",\"polygon\",\"polygon_name\",\"247rdAXiE\",\"getBounds\",\"draw_stroke\",\"fill_color\",\"zoom_map_to_this_polygon\",\"geometry_clicked_name\",\"get\",\"mymap\",\"fill_opacity\",\"6730QoKMJT\",\"223032ZyFkoR\",\"660AoJkcC\",\"click\",\"push\"];return(_0x1a28=function(){return _0x35f90a})()}function _0x5301(_0x1c327,_0xc5a3ba){const _0x1a289e=_0x1a28();return(_0x5301=function(_0x5301cd,_0x2e5a92){let _0xa824d0;return _0x1a289e[_0x5301cd-=284]})(_0x1c327,_0xc5a3ba)}function run(_0x23c249,_0x384a55,_0x267189){const _0x1113df=_0x5301;let _0x5bbd6f=[],_0x3a1521=(_0x56dea0,_0x2aae7c,_0x4a27d9)=>{const _0x32f3f3=undefined;let _0x5054c3;return _0x56dea0[_0x5301(306)](_0x2aae7c,_0x4a27d9)},_0x3ff7b9=(_0x1337bc,_0x40b938)=>{let _0x4eaea5;return _0x3a1521(_0x1337bc,0,_0x40b938)},_0x93e004=_0x3ff7b9(_0x384a55[_0x1113df(288)],_0x384a55.list_of_latitudes[_0x1113df(286)]()),_0x388bcc=_0x3ff7b9(_0x384a55[_0x1113df(318)],_0x384a55[_0x1113df(318)][_0x1113df(286)]());const _0x120877=(_0x58012d,_0x5cb932,_0x2455e3)=>{const _0x4ddf78=undefined;
268_0x5bbd6f[_0x1113df(313)]([_0x93e004[_0x5cb932],_0x388bcc[_0x5cb932]])};_0x93e004[_0x1113df(289)](_0x120877);let _0x503f5c={stroke:_0x384a55[_0x1113df(302)],color:_0x384a55.stroke_color,weight:_0x384a55[_0x1113df(292)],opacity:_0x384a55[_0x1113df(291)],lineCap:_0x384a55[_0x1113df(314)],lineJoin:_0x384a55[_0x1113df(285)],fill:_0x384a55[_0x1113df(293)],fillColor:_0x384a55[_0x1113df(303)],fillOpacity:_0x384a55[_0x1113df(308)]},_0x353a8b=L[_0x1113df(298)](_0x5bbd6f,_0x503f5c);_0x23c249[_0x1113df(297)][\"\"+_0x384a55[_0x1113df(299)]]=_0x353a8b[_0x1113df(295)](_0x23c249[_0x1113df(297)][_0x1113df(307)]),_0x353a8b.on(_0x1113df(312),(function(){const _0x4210fd=_0x1113df;_0x23c249[_0x4210fd(290)](_0x4210fd(305),_0x384a55[_0x4210fd(299)])})),_0x384a55[_0x1113df(304)]&&_0x23c249[_0x1113df(297)][_0x1113df(307)][_0x1113df(317)](_0x23c249[_0x1113df(297)][\"\"+_0x384a55[_0x1113df(299)]][_0x1113df(301)]())}!function(_0x4fd3f8,_0x44346f){const _0x2b1c4b=_0x5301,_0x5bbed6=_0x4fd3f8();for(;;)try{const _0x3316e9=undefined;if(711114===parseInt(_0x2b1c4b(287))/1+-parseInt(_0x2b1c4b(311))/2*(-parseInt(_0x2b1c4b(294))/3)+parseInt(_0x2b1c4b(316))/4*(-parseInt(_0x2b1c4b(315))/5)+parseInt(_0x2b1c4b(296))/6*(parseInt(_0x2b1c4b(320))/7)+parseInt(_0x2b1c4b(321))/8*(parseInt(_0x2b1c4b(319))/9)+-parseInt(_0x2b1c4b(309))/10*(parseInt(_0x2b1c4b(284))/11)+parseInt(_0x2b1c4b(310))/12*(-parseInt(_0x2b1c4b(300))/13))break;_0x5bbed6.push(_0x5bbed6.shift())}catch(_0x2d5b43){_0x5bbed6.push(_0x5bbed6.shift())}}(_0x1a28,711114),run(instance,properties,context)}"}},"ACJ":{"caption":"Create stadia route request","fields":{"ACK":{"caption":"List of latitudes","editor":"DynamicValue","is_list":true,"name":"list_of_latitudes","optional":false,"rank":0,"value":"number"},"ACL":{"caption":"List of longitudes","editor":"DynamicValue","is_list":true,"name":"list_of_longitudes","rank":1,"value":"number"},"ACN":{"caption":"Costing model","default_val":"auto","editor":"Dropdown","name":"costing_model","rank":2},"ADX":{"caption":"Units","default_val":"kilometers","editor":"Dropdown","name":"units","rank":3}},"code":{"fn":"function(instance,properties,context){function _0x5195(_0xa02d18,_0x4d75bc){const _0x2787b4=_0x2787();return(_0x5195=function(_0x519547,_0x14a0aa){let _0xb7d429;return _0x2787b4[_0x519547-=490]})(_0xa02d18,_0x4d75bc)}function _0x2787(){const _0x36cd23=[\"6515292TsIrRO\",\"length\",\"4230099oBSpNH\",\"1648dvXEiZ\",\"199IzCkAt\",\"push\",\"through\",\"4304632Sdsjqc\",\"costing_model\",\"414090DiHXee\",\"1724576ksjwdL\",\"list_of_longitudes\",\"9242ziTCDK\",\"3111dWiaIM\",\"forEach\",\"get\"];return(_0x2787=function(){return _0x36cd23})()}function run(_0x17efe0,_0x5c11b0,_0x5d50d2){const _0xf4331a=_0x5195;let _0x56559c=[],_0x1eef19=(_0x3eef35,_0x56f1b9,_0x3eaac9)=>{const _0x391cb0=undefined;let _0x4742d3;return _0x3eef35[_0x5195(490)](_0x56f1b9,_0x3eaac9)},_0x112a00=(_0x2b3734,_0x355758)=>{let _0x35e45c;return _0x1eef19(_0x2b3734,0,_0x355758)},_0x4deec8=_0x112a00(_0x5c11b0.list_of_latitudes,_0x5c11b0.list_of_latitudes.length()),_0x1de224=_0x112a00(_0x5c11b0[_0xf4331a(502)],_0x5c11b0[_0xf4331a(502)][_0xf4331a(492)]());const _0x34610e=(_0x3c69e6,_0x448431,_0x5d3522)=>{const _0x19152d=undefined;_0x56559c[_0xf4331a(496)]([_0x4deec8[_0x448431],_0x1de224[_0x448431]])};_0x4deec8.forEach(_0x34610e);let _0x33f9e1={locations:[],costing:_0x5c11b0[_0xf4331a(499)],directions_options:{units:_0x5c11b0.units}};const _0x3bb5c5=(_0x1eda8f,_0x326588,_0x146954)=>{const _0x16c372=_0xf4331a;var _0x2f5e2f,_0xeccb7;_0xeccb7=_0x326588===_0x146954.length-1||0===_0x326588?{lat:_0x1eda8f[0],lon:_0x1eda8f[1],type:\"break\"}:{lat:_0x1eda8f[0],lon:_0x1eda8f[1],type:_0x16c372(497)},_0x33f9e1.locations[_0x16c372(496)](_0xeccb7)};_0x56559c[_0xf4331a(505)](_0x3bb5c5),_0x17efe0.publishState(\"stadia_route_request_body\",JSON.stringify(_0x33f9e1))}!function(_0x5f1981,_0xf874b6){const _0x318ca7=_0x5195,_0xf5bc32=_0x5f1981();for(;;)try{const _0x54e078=undefined;if(583599===-parseInt(_0x318ca7(495))/1*(parseInt(_0x318ca7(503))/2)+parseInt(_0x318ca7(504))/3*(-parseInt(_0x318ca7(494))/4)+parseInt(_0x318ca7(500))/5+parseInt(_0x318ca7(491))/6+-parseInt(_0x318ca7(501))/7+parseInt(_0x318ca7(498))/8+parseInt(_0x318ca7(493))/9)break;_0xf5bc32.push(_0xf5bc32.shift())}catch(_0x154922){_0xf5bc32.push(_0xf5bc32.shift())}}(_0x2787,583599),run(instance,properties,context)}"}},"ACQ":{"caption":"Display weather overlay on","fields":{"ACT":{"caption":"First show the map with any other map tile. This action will overlay the current map tile with a weather tile.","editor":"Label","name":"you_first_has_to_show_the_map_with_any_other_map_tile_that_you_want._then_you_add_this_action,_it_will_overlay_the_current_map_tile_with_a_weather_tile_from_open_weather.","rank":1},"ACV":{"caption":"Openweather tile","editor":"Dropdown","name":"openweathermap_tile","optional":true,"rank":2},"ACX":{"caption":"Requested date","editor":"DynamicValue","name":"requested_date","optional":true,"rank":3,"value":"number"},"ACY":{"caption":"Below are free tier tiles, possibly rate limited in case of heavy usage. These aren't capable of grabbing historical or forecast data.","editor":"Label","name":"free_tier_tiles","rank":4},"ACa":{"caption":"Openweather tile","editor":"Dropdown","name":"openweather_tile","optional":true,"rank":5},"ADF":{"caption":"Unique name","editor":"DynamicValue","name":"unique_name_for_this_overlay","rank":0,"value":"text"},"ADG":{"caption":"Optional.","editor":"Label","name":"optional._below_you_can_provide_a_text_that_is_an_exact_match_to_one_of_the_overlay_options,_including_case_sensitive,_as_an_alternate_interface_to_the_dropdowns_above.","rank":6},"ADH":{"caption":"Overlay name","editor":"DynamicValue","name":"overlay_name","rank":7,"value":"text","optional":true}},"code":{"fn":"function(instance,properties,context){function _0x4e53(){const _0x219ec5=[\"PAS0\",\"t
268ileLayer\",\"Wind speed\",\"Soil temperature >10 сm (K)\",\"378nSNjrv\",\"144080qPBKns\",\"TD2\",\"Temperature of a dew point (°C)\",\"WS10\",\"TS0\",\"Depth of snow (m)\",\"APM\",\"PAR0\",\"8625034FpDLoz\",\"Relative humidity (%)\",\"WND\",\"temp_new\",\"precipitation_new\",\"HRD0\",\"Atmospheric pressure on mean sea level (hPa)\",\"https://tile.openweathermap.org/map/{layer}/{z}/{x}/{y}.png?appid={api_key}\",\"524zPklwC\",\"keys\",\"Openweathermap API key\",\"TA2\",\"Clouds\",\"TS10\",\"15445NdmNtO\",\"Temperature\",\"PR0\",\"mymap\",\"Accumulated precipitation - snow (m)\",\"Joint display of speed wind (color) and wind direction (arrows) received by U and V components (m/s)\",\"4541420nPQHus\",\"data\",\"openweather_tile\",\"12078MGQpOS\",\"PA0\",\"floor\",\"http://maps.openweathermap.org/maps/2.0/weather/{op}/{z}/{x}/{y}?date={date_requested}&appid={api_key}\",\"5686LqlUnE\",\"Precipitation\",\"756rSihbw\",\"858NWfrtn\",\"Cloudiness (%)\",\"Soil temperature 0-10 сm (K)\",\"Accumulated precipitation (mm)\",\"clouds_new\",\"SD0\",\"unique_name_for_this_overlay\",\"addTo\",\"Sea level pressure\",\"PAC0\",\"Air temperature at a height of 2 meters (°C)\",\"overlay_name\",\"Convective precipitation (mm)\",\"Precipitation intensity (mm/s)\",\"openweathermap_tile\",\"includes\",'&copy; <a href=\"https://openweathermap.org\">Openweather</a>',\"requested_date\",\"25640sfTfmt\"];return(_0x4e53=function(){return _0x219ec5})()}function _0xcc7c(_0x439147,_0x4cb685){const _0x4e5369=_0x4e53();return(_0xcc7c=function(_0xcc7c56,_0x3d11a4){let _0x2d0749;return _0x4e5369[_0xcc7c56-=110]})(_0x439147,_0x4cb685)}function run(_0x3a13a0,_0x4fbcda,_0x3ae9a2){const _0x2ffc43=_0xcc7c,_0xa99549=undefined;let _0x317a41=(_0x310786=>{const _0x37c48d=_0xcc7c;let _0x3b597a;return[_0x37c48d(122),_0x37c48d(138),_0x37c48d(148),_0x37c48d(161),_0x37c48d(125)][_0x37c48d(155)](_0x310786)})(_0x4fbcda[_0x2ffc43(151)]);if(_0x4fbcda[_0x2ffc43(154)]||_0x4fbcda[_0x2ffc43(151)]&&!1===_0x317a41){const _0x7d856=undefined;let _0x558ab5=((_0x5055c1,_0x30565e)=>{const _0x5c5c70=_0x2ffc43;if(_0x30565e){if(_0x30565e===_0x5c5c70(152))return _0x5c5c70(149);if(_0x30565e===_0x5c5c70(153))return _0x5c5c70(126);if(_0x30565e===_0x5c5c70(143))return _0x5c5c70(134);if(\"Accumulated precipitation - rain (mm)\"===_0x30565e)return _0x5c5c70(171);if(\"Accumulated precipitation - snow (m)\"===_0x30565e)return\"PAS0\";if(\"Depth of snow (m)\"===_0x30565e)return _0x5c5c70(145);if(\"Wind speed at an altitude of 10 meters (m/s)\"===_0x30565e)return _0x5c5c70(167);if(_0x30565e===_0x5c5c70(129))return _0x5c5c70(112);if(_0x30565e===_0x5c5c70(116))return _0x5c5c70(170);if(_0x30565e===_0x5c5c70(150))return _0x5c5c70(121);if(_0x30565e===_0x5c5c70(166))return _0x5c5c70(165);if(_0x30565e===_0x5c5c70(142))return\"TS0\";if(\"Soil temperature >10 сm (K)\"===_0x30565e)return _0x5c5c70(123);if(_0x30565e===_0x5c5c70(111))return _0x5c5c70(115);if(_0x30565e===_0x5c5c70(141))return\"CL\"}else{if(_0x5055c1===_0x5c5c70(152))return _0x5c5c70(149);if(_0x5055c1===_0x5c5c70(153))return _0x5c5c70(126);if(_0x5055c1===_0x5c5c70(143))return _0x5c5c70(134);if(\"Accumulated precipitation - rain (mm)\"===_0x5055c1)return\"PAR0\";if(_0x5055c1===_0x5c5c70(128))return _0x5c5c70(159);if(_0x5055c1===_0x5c5c70(169))return\"SD0\";if(\"Wind speed at an altitude of 10 meters (m/s)\"===_0x5055c1)return\"WS10\";if(_0x5055c1===_0x5c5c70(129))return _0x5c5c70(112);if(\"Atmospheric pressure on mean sea level (hPa)\"===_0x5055c1)return _0x5c5c70(170);if(_0x5055c1===_0x5c5c70(150))return _0x5c5c70(121);if(_0x5055c1===_0x5c5c70(166))return _0x5c5c70(165);if(\"Soil temperature 0-10 сm (K)\"===_0x5055c1)return _0x5c5c70(168);if(_0x5055c1===_0x5c5c70(162))return _0x5c5c70(123);if(\"Relative humidity (%)\"===_0x5055c1)return _0x5c5c70(115);if(_0x5055c1===_0x5c5c70(141))return\"CL\"}})(_0x4fbcda[_0x2ffc43(154)],_0x4fbcda[_0x2ffc43(151)]);_0x3a13a0[_0x2ffc43(131)][\"\"+_0x4fbcda[_0x2ffc43(146)]]=L.tileLayer(_0x2ffc43(136),{attribution:_0x2ffc43(156),maxZoom:20,op:_0x558ab5,date_requested:Math[_0x2ffc43(135)](_0x4fbcda[_0x2ffc43(157)]/1e3),api_key:_0x3ae9a2[_0x2ffc43(119)][_0x2ffc43(120)]})[_0x2ffc43(147)](_0x3a13a0[_0x2ffc43(131)][_0x2ffc43(127)])}else if(_0x4fbcda[_0x2ffc43(132)]||_0x4fbcda[_0x2ffc43(151)]&&!0===_0x317a41){const _0x1d8648=undefined;let _0x89bd3e=((_0x3e1fb6,_0x17b2d0)=>{const _0x1a7d3b=_0x2ffc43;return\"Clouds\"===_0x3e1fb6||_0x17b2d0===_0x1a7d3b(122)?_0x1a7d3b(144):_0x3e
2681fb6===_0x1a7d3b(138)||_0x17b2d0===_0x1a7d3b(138)?_0x1a7d3b(114):_0x3e1fb6===_0x1a7d3b(148)||_0x17b2d0===_0x1a7d3b(148)?\"pressure_new\":_0x3e1fb6===_0x1a7d3b(161)||_0x17b2d0===_0x1a7d3b(161)?\"wind_new\":_0x3e1fb6===_0x1a7d3b(125)||_0x17b2d0===_0x1a7d3b(125)?_0x1a7d3b(113):void 0})(_0x4fbcda[_0x2ffc43(154)],_0x4fbcda.overlay_name);_0x3a13a0[_0x2ffc43(131)][\"\"+_0x4fbcda[_0x2ffc43(146)]]=L[_0x2ffc43(160)](_0x2ffc43(117),{attribution:_0x2ffc43(156),maxZoom:20,layer:_0x89bd3e,api_key:_0x3ae9a2[_0x2ffc43(119)][\"Openweathermap API key\"]})[_0x2ffc43(147)](_0x3a13a0[_0x2ffc43(131)].mymap)}}!function(_0x46905f,_0x1697cf){const _0x1baefa=_0xcc7c,_0x2c6a89=_0x46905f();for(;;)try{const _0x4317c9=undefined;if(434889===-parseInt(_0x1baefa(158))/1+parseInt(_0x1baefa(137))/2*(-parseInt(_0x1baefa(140))/3)+-parseInt(_0x1baefa(118))/4*(-parseInt(_0x1baefa(124))/5)+parseInt(_0x1baefa(133))/6*(-parseInt(_0x1baefa(139))/7)+parseInt(_0x1baefa(164))/8*(parseInt(_0x1baefa(163))/9)+-parseInt(_0x1baefa(130))/10+parseInt(_0x1baefa(110))/11)break;_0x2c6a89.push(_0x2c6a89.shift())}catch(_0x454d60){_0x2c6a89.push(_0x2c6a89.shift())}}(_0x4e53,434889),run(instance,properties,context)}"}},"ACc":{"caption":"Remove element from","fields":{"ACe":{"caption":"Target element","editor":"DynamicValue","name":"target_element","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x7dc3(){var _0x217559=[\"4616280EOALFr\",\"136653iJoJNV\",\"undefined\",\"323344MjGLMY\",\"999150cAIoKS\",\"112nvGKfW\",\"data\",\"5013312XIDdaQ\",\"target_element\",\"remove\",\"3196280lJxTpF\",\"76VAGHMd\",\"468909dgzXzv\"];return(_0x7dc3=function(){return _0x217559})()}function _0xb136(_0x12181c,_0x20d89e){var _0x7dc317=_0x7dc3();return(_0xb136=function(_0xb136c1,_0x25d7a9){var _0x23a30e;return _0x7dc317[_0xb136c1-=320]})(_0x12181c,_0x20d89e)}function run(_0x3c9aa5,_0x14c7f4,_0x40fdb9){var _0x3ff2fe=_0xb136;typeof _0x3c9aa5[_0x3ff2fe(324)][\"\"+_0x14c7f4[_0x3ff2fe(326)]]!==_0x3ff2fe(320)&&_0x3c9aa5[_0x3ff2fe(324)][\"\"+_0x14c7f4[_0x3ff2fe(326)]][_0x3ff2fe(327)]()}!function(_0x326d5d,_0x53dcbe){for(var _0x3f2dad=_0xb136,_0x14c0bf=_0x326d5d();;)try{var _0x2aba72;if(444905===parseInt(_0x3f2dad(330))/1+-parseInt(_0x3f2dad(322))/2+-parseInt(_0x3f2dad(332))/3*(parseInt(_0x3f2dad(329))/4)+parseInt(_0x3f2dad(328))/5+parseInt(_0x3f2dad(325))/6+-parseInt(_0x3f2dad(323))/7*(parseInt(_0x3f2dad(321))/8)+parseInt(_0x3f2dad(331))/9)break;_0x14c0bf.push(_0x14c0bf.shift())}catch(_0x245295){_0x14c0bf.push(_0x14c0bf.shift())}}(_0x7dc3,444905),run(instance,properties,context)}"}},"ACg":{"caption":"Check if point is contained in rectangular area in","fields":{"ACh":{"caption":"Point latitude","editor":"DynamicValue","name":"point_latitude","rank":1,"value":"number"},"ACi":{"caption":"Point longitude","editor":"DynamicValue","name":"point_longitude","rank":2,"value":"number"},"ACj":{"caption":"Container element","editor":"DynamicValue","name":"container_element","rank":3,"value":"text"},"ACk":{"caption":"Will return a boolean (yes/no) type on this map element's state called \"Is the point contained in the rectangle?\".","editor":"Label","name":"will_return_a_boolean_(yes/no)_type_on_this_map_element's_state.","rank":0}},"code":{"fn":"function(instance,properties,context){function _0x540d(_0x56f22b,_0x50b73b){const _0x4133fc=_0x4133();return(_0x540d=function(_0x540dad,_0x3f63f3){let _0x1acc0f;return _0x4133fc[_0x540dad-=342]})(_0x56f22b,_0x50b73b)}function run(_0x577e7d,_0x14f691,_0x46c138){const _0x4903c7=_0x540d;let _0x5488dc=_0x577e7d[_0x4903c7(351)][\"\"+_0x14f691.container_element].getBounds()[_0x4903c7(352)]([_0x14f691[_0x4903c7(348)],_0x14f691.point_longitude]);_0x577e7d[_0x4903c7(355)](\"point_is_contained\",_0x5488dc)}function _0x4133(){const _0x169cfc=[\"9364920tKzgBL\",\"8248113swHUCA\",\"point_latitude\",\"1540133mSxoHH\",\"1605772jKUdea\",\"data\",\"contains\",\"41270UADYLU\",\"2462052LOyBEQ\",\"publishState\",\"14267KqkinE\",\"1JjKPbS\",\"3MoHvXc\",\"18aJKPNp\",\"7804220UHinCU\"];return(_0x4133=function(){return _0x169cfc})()}!function(_0x21cbf1,_0x2d0aa8){const _0x51da53=_0x540d,_0x374681=_0x21cbf1();for(;;)try{const _0xaa8c29=undefined;if(857373===parseInt(_0x51da53(342))/1*(-parseInt(_0x51da53(350))/2)+-parseInt(_0x51da53(343))/3*(-parseInt(_0x51da53(354))/4)+-parseInt(_0x51da53(345))/5+parseInt(_0x51da53(344))/6*(-parseInt(_0x51da53(349))/7)+-parseInt(_0x51da53(346))/8+-parseInt(_0x51da53(347))/9+parseInt(_0x51da53(353))/10*(parseInt(_0x51da53(356))/11))break;_0x374681.push(_0x374681.shift())}catch(_0x1df54a){_0x374681.push(_0x374681.shift())}}(_0x4133,857373),run(instance,properties,context)}"}},"ACl":{"caption":"Track user on","fields":{"ACm":{"caption":"Continuously track?","editor":"DynamicValue","name":"watch","rank":1,"value":"boolean"},"ACn":{"caption":"Center view?","editor":"DynamicValue","name":"view","rank":2,"value":"boolean"},"ACp":{"caption":"High accuracy?","editor":"DynamicValue","name":"high_accuracy","rank":3,"value":"boolean"},"ACq":{"caption":"Data collected from tracking will be available on their respective map element (Leafy Map X) states.","editor":"Label","name":"data_collected_from_tracking_will_be_available_on_their_respective_map_element_(leafy_map_x)_states.","rank":0}},"code":{"fn":"function(instance,properties,context){function _0x1915(){const _0x5392c6=[\"data\",\"mymap\",\"view\",\"84611UJMoKD\",\"locate\",\"1123165bigbTz\",\"2096160nIutCf\",\"9lgiMHD\",\"9780qHNZme\",\"9635688lgxbbf\",\"high_accuracy\",\"14KXNDuj\",\"446808LsIOja\",\"435wxorNd\",\"6HveOzw\",\"2JSFsbv\",\"2142370NuTFWs\"];return(_0x1915=function(){return _0x5392c6})()}function _0x4746(_0x503456,_0x656910){const _0x191586=_0x1915();return(_0x4746=function(_0x474643,_0x1c3e5f){let _0x5be5a5;return _0x191586[_0x474643-=289]})(_0x503456,_0x656910)}function run(_0x1e7c00,_0x493929,_0x4faedf){const _0x324f9d=_0x4746;
268let _0x5bd9f8={watch:_0x493929.watch,setView:_0x493929[_0x324f9d(298)],maxZoom:20,timeout:1e4,maximumAge:0,enableHighAccuracy:_0x493929[_0x324f9d(289)]};_0x1e7c00.publishState(\"is_being_tracked\",!0),_0x1e7c00[_0x324f9d(296)][_0x324f9d(297)][_0x324f9d(300)](_0x5bd9f8)}!function(_0x1c5c14,_0xb91ad6){const _0xbf0a94=_0x4746,_0x4f6062=_0x1c5c14();for(;;)try{const _0x5f0e1f=undefined;if(220402===-parseInt(_0xbf0a94(299))/1*(-parseInt(_0xbf0a94(294))/2)+parseInt(_0xbf0a94(292))/3*(-parseInt(_0xbf0a94(304))/4)+-parseInt(_0xbf0a94(301))/5*(parseInt(_0xbf0a94(293))/6)+parseInt(_0xbf0a94(290))/7*(-parseInt(_0xbf0a94(291))/8)+parseInt(_0xbf0a94(303))/9*(parseInt(_0xbf0a94(295))/10)+-parseInt(_0xbf0a94(302))/11+parseInt(_0xbf0a94(305))/12)break;_0x4f6062.push(_0x4f6062.shift())}catch(_0x5ebe72){_0x4f6062.push(_0x4f6062.shift())}}(_0x1915,220402),run(instance,properties,context)}"}},"ADE":{"caption":"Stop tracking the user on","code":{"fn":"function(instance,properties,context){function _0x1648(_0x6f26b6,_0x3b9c6d){var _0x3f3cd1=_0x3f3c();return(_0x1648=function(_0x1648ab,_0x1a6a92){var _0x4627ac;return _0x3f3cd1[_0x1648ab-=137]})(_0x6f26b6,_0x3b9c6d)}function run(_0x12fcfc,_0x2eb065,_0x56c79a){var _0xc55b18=_0x1648;_0x12fcfc[_0xc55b18(144)](\"is_being_tracked\",!1),console.log(_0x12fcfc[_0xc55b18(152)][_0xc55b18(151)].stopLocate())}function _0x3f3c(){var _0x11029c=[\"8473309AktEFi\",\"6530yPKlmK\",\"740706CtDqbF\",\"24UxoawJ\",\"publishState\",\"307RpYmrG\",\"47961vScpnj\",\"3878413eMuEpA\",\"639075nwIPsU\",\"7898PDJHYL\",\"136pirJXi\",\"mymap\",\"data\",\"8ISaPPn\",\"8330wvckUT\",\"24gSWbnw\"];return(_0x3f3c=function(){return _0x11029c})()}!function(_0x113482,_0x5534fb){for(var _0x380591=_0x1648,_0x268d80=_0x113482();;)try{var _0x72e9e9;if(644857===-parseInt(_0x380591(145))/1*(-parseInt(_0x380591(138))/2)+-parseInt(_0x380591(142))/3*(parseInt(_0x380591(137))/4)+parseInt(_0x380591(148))/5*(-parseInt(_0x380591(143))/6)+-parseInt(_0x380591(147))/7+parseInt(_0x380591(150))/8*(parseInt(_0x380591(146))/9)+-parseInt(_0x380591(141))/10*(parseInt(_0x380591(149))/11)+-parseInt(_0x380591(139))/12*(-parseInt(_0x380591(140))/13))break;_0x268d80.push(_0x268d80.shift())}catch(_0x4661b4){_0x268d80.push(_0x268d80.shift())}}(_0x3f3c,644857),run(instance,properties,context)}"}},"ADM":{"caption":"Fly to","fields":{"ADN":{"caption":"Latitude","editor":"DynamicValue","name":"latitude","rank":0,"value":"number"},"ADO":{"caption":"Longitude","editor":"DynamicValue","name":"longitude","rank":1,"value":"number"},"ADP":{"caption":"Zoom","editor":"DynamicValue","name":"zoom","rank":2,"value":"number"},"ANu":{"caption":"Duration","name":"duration","rank":3,"editor":"DynamicValue","value":"number","optional":false,"default_val":2},"ANv":{"caption":"Ease linearity","name":"easeLinearity","rank":4,"editor":"DynamicValue","value":"number","default_val":1}},"code":{"fn":"function(instance,properties,context){function run(_0x35f0a8,_0x187455,_0x4182e9){const _0xc21e=_0x11a5;let _0x28cdfb={duration:_0x187455.duration,easeLinearity:_0x187455[_0xc21e(290)]};_0x35f0a8[_0xc21e(276)][_0xc21e(281)][_0xc21e(279)]([_0x187455[_0xc21e(289)],_0x187455[_0xc21e(284)]],_0x187455[_0xc21e(278)],_0x28cdfb)}function _0x11a5(_0x751db1,_0x142746){const _0x3b8c84=_0x3b8c();return(_0x11a5=function(_0x11a50f,_0x5e18ba){let _0x587437;return _0x3b8c84[_0x11a50f-=274]})(_0x751db1,_0x142746)}function _0x3b8c(){const _0x3f3cd0=[\"data\",\"10impNJh\",\"zoom\",\"flyTo\",\"529585sjsHrW\",\"mymap\",\"755280BTwGgV\",\"140962LkBrpe\",\"longitude\",\"225256gJUfZy\",\"15vmTUPY\",\"486660KEolHl\",\"36FLUlKp\",\"latitude\",\"easeLinearity\",\"8PeLxQT\",\"70238cOSOaZ\",\"3242998vngjEY\",\"448ZfIOui\"];return(_0x3b8c=function(){return _0x3f3cd0})()}!function(_0x57b1ba,_0x51c24f){const _0x3a98b8=_0x11a5,_0x16ebc4=_0x57b1ba();for(;;)try{const _0xa78d1c=undefined;if(410045===parseInt(_0x3a98b8(285))/1+-parseInt(_0x3a98b8(283))/2*(parseInt(_0x3a98b8(286))/3)+-parseInt(_0x3a98b8(291))/4*(-parseInt(_0x3a98b8(280))/5)+-parseInt(_0x3a98b8(287))/6+parseInt(_0x3a98b8(292))/7*(-parseInt(_0x3a98b8(275))/8)+parseInt(_0x3a98b8(282))/9*(parseInt(_0x3a98b8(277))/10)+-parseInt(_0x3a98b8(274))/11*(-parseInt(_0x3a98b8(288))/12))break;_0x16ebc4.push(_0x16ebc4.shift())}catch(_0xc3d1bf){_0x16ebc4.push(_0x16ebc4.shift())}}(_0x3b8c,410045),run(instance,properties,context)}"}},"ADS":{"caption":"Distance between","fields":{"ADT":{"caption":"Latitude 1","editor":"DynamicValue","name":"lat1","rank":0,"value":"number"},"ADU":{"caption":"Longitude 1","editor":"DynamicValue","name":"long1","rank":1,"value":"number"},"ADV":{"caption":"Latitude 2","editor":"DynamicValue","name":"lat2","rank":2,"value":"number"},"ADW":{"caption":"Longitude 2","editor":"DynamicValue","name":"long2","rank":3,"value":"number"},"AKa":{"caption":"Returns the distance between two geographical coordinates. By default this measures distance in meters.","name":"info","rank":4,"editor":"Label"}},"code":{"fn":"function(instance,properties,context){function _0x4ef0(_0x2c9ba9,_0x53e03d){const _0x36d20b=_0x36d2();return(_0x4ef0=function(_0x4ef0f3,_0x231125){let _0x4a7bd7;return _0x36d20b[_0x4ef0f3-=148]})(_0x2c9ba9,_0x53e03d)}function _0x36d2(){const _0x2818f6=[\"5853fDLqFj\",\"210YmjTtf\",\"10729620APicNR\",\"2655408xMIRLg\",\"publishState\",\"distance\",\"long1\",\"long2\",\"data\",\"1156JoxAbs\",\"56VHuJdu\",\"86244MDsuDT\",\"lat1\",\"643206mwqQUA\",\"48979WlrJZA\",\"calculated_distance\",\"5260870HVsqNv\"];return(_0x36d2=function(){return _0x2818f6})()}function run(_0xe4861c,_0x3ef9da,_0x4a45a0){const _0x34c9f8=_0x4ef0;let _0x4bce26=_0xe4861c[_0x34c9f8(150)].mymap[_0x34c9f8(164)]([_0x3ef9da[_0x34c9f8(154)],_0x3ef9da[_0x34c9f8(148)]],[_0x3ef9da.lat2,_0x3ef9da[_0x34c9f8(149)]]);_0xe4861c[_0x34c9f8(163)](_0x34c9f8(157),_0x4bce26)}!function(_0x5d26a0,_0x5d3dfd){const _0x455e4b=_0x4ef0,_0x3d7294=_0x5d26a0();for(;;
268)try{const _0x4fc69d=undefined;if(825582===-parseInt(_0x455e4b(156))/1+-parseInt(_0x455e4b(151))/2*(parseInt(_0x455e4b(159))/3)+-parseInt(_0x455e4b(153))/4*(parseInt(_0x455e4b(160))/5)+-parseInt(_0x455e4b(155))/6*(-parseInt(_0x455e4b(152))/7)+parseInt(_0x455e4b(162))/8+parseInt(_0x455e4b(161))/9+parseInt(_0x455e4b(158))/10)break;_0x3d7294.push(_0x3d7294.shift())}catch(_0xcb79ee){_0x3d7294.push(_0x3d7294.shift())}}(_0x36d2,825582),run(instance,properties,context)}"}},"ADf":{"caption":"Load polygons list","fields":{"ADg":{"caption":"Polygons list","editor":"DynamicValue","name":"json","rank":0,"value":"text"},"ADn":{"caption":"Stroke color","default_val":"rgba(77, 3, 62, 1)","editor":"Color","name":"stroke_color","optional":true,"rank":2},"ADo":{"caption":"Stroke weight","default_val":3,"editor":"DynamicValue","name":"stroke_weight","optional":true,"rank":3,"value":"number"},"ADp":{"caption":"Stroke opacity","default_val":1,"editor":"DynamicValue","name":"stroke_opacity","optional":true,"rank":4,"value":"number"},"ADq":{"caption":"Line cap","default_val":"round","editor":"Dropdown","name":"line_cap","optional":true,"rank":5},"ADr":{"caption":"Line join","default_val":"round","editor":"Dropdown","name":"line_join","optional":true,"rank":6},"ADs":{"caption":"Polygon fill","default_val":true,"editor":"Checkbox","name":"polygon_fill","optional":true,"rank":7,"value":"boolean"},"ADt":{"caption":"Fill color","default_val":"rgba(158, 41, 41, 1)","editor":"Color","name":"fill_color","optional":true,"rank":8},"ADu":{"caption":"Fill opacity","default_val":0.2,"editor":"DynamicValue","name":"fill_opacity","optional":true,"rank":9,"value":"number"},"AJG":{"caption":"Draw stroke","default_val":true,"editor":"Checkbox","name":"draw_stroke","rank":1},"AJH":{"caption":"Zoom map to this upon creation?","default_val":true,"editor":"Checkbox","name":"zoom_map_to_this_polygon","rank":10},"AJJ":{"caption":"Polygon name","default_val":"polygon","editor":"DynamicValue","name":"polygon_name","rank":12,"value":"text"},"AJQ":{"caption":"Show polygon area","default_val":true,"editor":"Checkbox","name":"show_footage","rank":13},"AJf":{"caption":"List of zones","editor":"DynamicValue","is_list":true,"name":"list_of_zones","optional":true,"rank":11,"value":"text"},"AKu":{"caption":"*Incomplete, do not use yet, will do nothing if enabled* Alternatively pass list of styles for them to be applied to the list of polygons. Note that this will work like this: First style item will be used on the first polygon item and so on, even if this first polygon is actually a multi polygon, then the first style item will be applied to all the polygons inside the multi-polygon that is in the position of item#1. Check the fields above for examples and options on what to pass as list values.","name":"alternatively_pass_list_of_styles_for_them_to_be_applied_to_the_list_of_polygons._note_that_this_will_work_like_this:_first_style_item_will_be_used_on_the_first_polygon_item_and_so_on,_even_if_this_first_polygon_is_actually_a_multi_polygon,_then_the_first_style_item_will_be_applied_to_all_the_polygons_inside_the_multi-polygon_that_is_in_the_position_of_item#1.","rank":14,"editor":"Label"},"AKv":{"caption":"Draw strokes","name":"draw_strokes","rank":16,"editor":"DynamicValue","value":"boolean","is_list":true,"optional":true},"AKw":{"caption":"Use list of styles","name":"use_list_of_styles","rank":15,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":false},"AKx":{"caption":"Stroke colors","name":"stroke_colors","rank":17,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"AKy":{"caption":"Stroke weights","name":"stroke_weights","rank":18,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AKz":{"caption":"Stroke opacities","name":"stroke_opacitys","rank":19,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"ALA":{"caption":"Line caps","name":"line_caps","rank":20,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ALB":{"caption":"Line joins","name":"line_joins","rank":21,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ALC":{"caption":"Polygon fills","name":"polygon_fills","rank":22,"editor":"DynamicValue","value":"boolean","is_list":true,"optional":true},"ALD":{"caption":"Fill colors","name":"fill_colors","rank":23,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ALE":{"caption":"Fill opacities","name":"fill_opacitys","rank":24,"editor":"DynamicValue","value":"number","is_list":true,"optional":true}},"code":{"fn":"function(instance,properties,context){function run(_0x27f616,_0x432fa7,_0x38d583){const _0x299547=_0x48ac,_0x32e6b9=createDrawingInstance(_0x27f616,_0x432fa7,_0x27f616[_0x299547(207)].mymap,_0x27f616[_0x299547(207)].DISTANCE_PANEL),_0xb15dc8={stroke:_0x432fa
2687[_0x299547(183)],color:_0x432fa7[_0x299547(172)],weight:_0x432fa7[_0x299547(206)],opacity:_0x432fa7.stroke_opacity,lineCap:_0x432fa7.line_cap,lineJoin:_0x432fa7[_0x299547(185)],fill:_0x432fa7[_0x299547(188)],fillColor:_0x432fa7[_0x299547(203)],fillOpacity:_0x432fa7[_0x299547(197)]};let _0x4b9c4a=loadAllBubbleList(_0x432fa7[_0x299547(198)]),_0x21df3e;try{_0x21df3e=JSON[_0x299547(192)](_0x432fa7[_0x299547(200)])}catch{return void _0x38d583[_0x299547(204)](_0x299547(205))}let _0x317d4a=\"\";if(_0x12cb1f(_0x21df3e)){let _0x56f21b,_0x4e9979=_0x21df3e[_0x299547(196)].coordinates[0];_0x27f616[_0x299547(207)][\"\"+(_0x432fa7[_0x299547(186)]||_0x299547(176))]=_0x3e0692(_0x4e9979)}else if(_0x40f446(_0x21df3e)){let _0x5a4f7d=_0x21df3e;for(let _0x613cc9=0;_0x613cc9<_0x5a4f7d.length;_0x613cc9++){_0x317d4a=\"_\"+(_0x613cc9+1);let _0x485f3c,_0x2d4ffa=_0x3e0692(_0x5a4f7d[_0x613cc9][_0x299547(196)].coordinates[0]),_0x6b1b8f=(_0x432fa7[_0x299547(186)]||_0x299547(176))+\"_\"+(_0x613cc9+1);_0x2d4ffa[_0x299547(208)]=_0x4b9c4a[_0x613cc9]||\"\",_0x27f616[_0x299547(207)][_0x6b1b8f]=_0x2d4ffa}}else{if(!_0x5dc55b(_0x21df3e))return void _0x38d583[_0x299547(204)](_0x299547(174));{let _0x4fb52e=_0x21df3e;
268for(let _0x54910a=0;_0x54910a<_0x4fb52e[_0x299547(184)];_0x54910a++){_0x317d4a=\"_\"+(_0x54910a+1);let _0x38e5c6,_0x13da25=_0x3e0692(_0x4fb52e[_0x54910a]),_0x5e87fa=(_0x432fa7.polygon_name||_0x299547(176))+\"_\"+(_0x54910a+1);_0x13da25[_0x299547(208)]=_0x4b9c4a[_0x54910a]||\"\",_0x27f616[_0x299547(207)][_0x5e87fa]=_0x13da25}}}function _0x3e0692(_0x11b1be){const _0x13bc40=_0x299547;let _0xa57407=_0x1926bb(_0x11b1be);return _0x32e6b9[_0x13bc40(177)]({coordinates:_0xa57407,showArea:_0x432fa7[_0x13bc40(179)],showLineDistance:_0x432fa7.show_footage,showDistance:_0x432fa7[_0x13bc40(179)],style:_0xb15dc8}).bringToBack()}function _0x26abfb(_0xd53014,_0x820891,_0x3cdb14){const _0x119dc0=_0x299547;let _0x179585=JSON[_0x119dc0(192)](JSON[_0x119dc0(189)](_0xd53014)),_0x24ef30=_0x179585[_0x820891];return _0x179585[_0x820891]=_0xd53014[_0x3cdb14],_0x179585[_0x3cdb14]=_0x24ef30,_0x179585}function _0x1926bb(_0x55236e){const _0x387502=_0x299547;let _0x2a5aea=JSON[_0x387502(192)](JSON[_0x387502(189)](_0x55236e));for(let _0x518ae4=0;_0x518ae4<_0x2a5aea[_0x387502(184)];_0x518ae4++){let _0x3ad7d1=_0x2a5aea[_0x518ae4];_0x2a5aea[_0x518ae4]=_0x26abfb(_0x3ad7d1,0,1)}return _0x2a5aea}function _0x12cb1f(_0x17f415){const _0x1b07f2=_0x299547;return _0x466381(_0x17f415)&&_0x3bf558(_0x17f415)&&_0x5dc55b(_0x17f415[_0x1b07f2(196)][_0x1b07f2(187)])}function _0x40f446(_0x328293){return _0x3d85e2(_0x328293)&&_0x12cb1f(_0x328293[0])}function _0x5dc55b(_0x3c09e5){return _0x3d85e2(_0x3c09e5)&&_0x3d85e2(_0x3c09e5[0])&&_0x2ea399(_0x3c09e5[0][0])}function _0x3bf558(_0x58a4d6){const _0x47f29d=_0x299547;return!!_0x58a4d6&&!!_0x58a4d6.geometry&&!!_0x58a4d6[_0x47f29d(196)][_0x47f29d(187)]}function _0x2ea399(_0x4486b7){return _0x3d85e2(_0x4486b7)&&_0x4a26e5(_0x4486b7[0])&&_0x4a26e5(_0x4486b7[1])}function _0x466381(_0x4377c0){return _0x4377c0&&\"object\"==typeof _0x4377c0&&!_0x3d85e2(_0x4377c0)}function _0x3d85e2(_0x3d7e4e){const _0x579d93=undefined;return Array[_0x299547(182)](_0x3d7e4e||{})}function _0x4a26e5(_0x10bf9a){const _0x1039d8=undefined;return _0x10bf9a&&typeof _0x10bf9a===_0x299547(195)}_0x432fa7[_0x299547(171)]&&_0x27f616[_0x299547(207)][_0x299547(194)][_0x299547(180)](_0x27f616.data[\"\"+(_0x432fa7[_0x299547(186)]||_0x299547(176))+_0x317d4a][_0x299547(173)]())}function _0x48ac(_0x4c1ebe,_0x27a060){const _0xea70e6=_0xea70();return(_0x48ac=function(_0x48ac24,_0x1ac98b){let _0x4105a2;return _0xea70e6[_0x48ac24-=171]})(_0x4c1ebe,_0x27a060)}function _0xea70(){const _0x2d9445=[\"coordinates\",\"polygon_fill\",\"stringify\",\"302342OGwhgw\",\"284557bFDOFG\",\"parse\",\"40578kOIHid\",\"mymap\",\"number\",\"geometry\",\"fill_opacity\",\"list_of_zones\",\"1268750TFKpIw\",\"json\",\"4aWqFUf\",\"9gQxQps\",\"fill_color\",\"reportDebugger\",\"Invalid json format!\",\"stroke_weight\",\"data\",\"zone\",\"1227656BalaqO\",\"zoom_map_to_this_polygon\",\"stroke_color\",\"getBounds\",\"Format not supported!\",\"66720WwouVX\",\"polygon\",\"drawPolygon\",\"60LuBIAM\",\"show_footage\",\"fitBounds\",\"41631PCTJOT\",\"isArray\",\"draw_stroke\",\"length\",\"line_join\",\"polygon_name\"];return(_0xea70=function(){return _0x2d9445})()}!function(_0x57b13a,_0x568345){const _0x2a92c8=_0x48ac,_0x112da7=_0x57b13a();for(;;)try{const _0x27059f=undefined;if(112251===-parseInt(_0x2a92c8(175))/1+parseInt(_0x2a92c8(190))/2+parseInt(_0x2a92c8(181))/3*(parseInt(_0x2a92c8(201))/4)+-parseInt(_0x2a92c8(178))/5*(-parseInt(_0x2a92c8(193))/6)+-parseInt(_0x2a92c8(191))/7+parseInt(_0x2a92c8(209))/8*(-parseInt(_0x2a92c8(202))/9)+parseInt(_0x2a92c8(199))/10)break;_0x112da7.push(_0x112da7.shift())}catch(_0xccf7be){_0x112da7.push(_0x112da7.shift())}}(_0xea70,112251),run(instance,properties,context)}"}},"ADv":{"caption":"Set drawing style","fields":{"ADw":{"caption":"Stroke","default_val":true,"editor":"DynamicValue","name":"stroke","optional":true,"rank":0,"value":"boolean"},"ADx":{"caption":"Stroke color","editor":"Color","name":"color","optional":true,"rank":1},"ADy":{"caption":"Stroke weight","editor":"DynamicValue","name":"weight","optional":true,"rank":2,"value":"number"},"ADz":{"caption":"Stroke opacity","editor":"DynamicValue","name":"opacity","optional":true,"rank":3,"value":"number"},"AEA":{"caption":"Line cap","editor":"Dropdown","name":"lineCap","optional":true,"rank":4},"AEB":{"caption":"Line join","editor":"Dropdown","name":"lineJoin","optional":true,"rank":5},"AEC":{"caption":"Polygon fill","default_val":true,"editor":"DynamicValue","name":"fill","optional":true,"rank":6,"value":"boolean"},"AED":{"caption":"Fill color","editor":"Color","name":"fillColor","optional":true,"rank":7},"AEE":{"caption":"Fill opacity","editor":"DynamicValue","name":"fillOpacity","optional":true,"rank":8,"value":"number"},"AEl":{"caption":"Show distance","default_val":true,"editor":"DynamicValue","name":"show_distance","rank":9,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){function _0x3c71(_0x17a5bf,_0x580b
26819){var _0x1fb3b3=_0x1fb3();return(_0x3c71=function(_0x3c71a8,_0x43cceb){var _0x410be1;return _0x1fb3b3[_0x3c71a8-=111]})(_0x17a5bf,_0x580b19)}function _0x1fb3(){var _0x27bc97=[\"data\",\"opacity\",\"black\",\"stroke\",\"lineJoin\",\"2701368ycGTwU\",\"879132xGXVZY\",\"fillColor\",\"282687VZlotV\",\"line\",\"lineCap\",\"210dBqHJv\",\"interactive\",\"969408MFWCYD\",\"weight\",\"206817nmtdJe\",\"fillOpacity\",\"fill\",\"style\",\"butt\",\"1443580gBGZYj\",\"color\",\"169191wsXQaX\",\"4QQyHHY\",\"round\",\"polygon\",\"7OQJREL\",\"show_distance\",\"circle\"];return(_0x1fb3=function(){return _0x27bc97})()}function run(_0x375dd1,_0x2e6d90,_0x4bfcd3){var _0x22b44b=_0x3c71;_0x375dd1[_0x22b44b(132)][_0x22b44b(130)]=_0x2e6d90.show_distance,_0x2e6d90[_0x22b44b(135)]=_0x2e6d90[_0x22b44b(135)]||!0,_0x2e6d90[_0x22b44b(124)]=_0x2e6d90[_0x22b44b(124)]||\"black\",_0x2e6d90[_0x22b44b(117)]=_0x2e6d90[_0x22b44b(117)]||1,_0x2e6d90[_0x22b44b(133)]=_0x2e6d90[_0x22b44b(133)]||1,_0x2e6d90.lineCap=_0x2e6d90[_0x22b44b(113)]||_0x22b44b(122),_0x2e6d90[_0x22b44b(136)]=_0x2e6d90[_0x22b44b(136)]||_0x22b44b(127),_0x2e6d90[_0x22b44b(120)]=_0x2e6d90[_0x22b44b(120)]||!0,_0x2e6d90.fillColor=_0x2e6d90[_0x22b44b(139)]||_0x22b44b(134),_0x2e6d90[_0x22b44b(119)]=_0x2e6d90[_0x22b44b(119)]||.5,_0x2e6d90[_0x22b44b(115)]=_0x2e6d90[_0x22b44b(115)]||!0,_0x375dd1.data[_0x22b44b(121)][_0x22b44b(128)]=_0x2e6d90,_0x375dd1[_0x22b44b(132)][_0x22b44b(121)][_0x22b44b(131)]=_0x2e6d90,_0x375dd1[_0x22b44b(132)][_0x22b44b(121)][_0x22b44b(112)]=_0x2e6d90}!function(_0x16ad2e,_0xb16d6d){for(var _0x4eff9c=_0x3c71,_0x315e2b=_0x16ad2e();;)try{var _0x41c6a6;if(256938===-parseInt(_0x4eff9c(118))/1+parseInt(_0x4eff9c(138))/2+-parseInt(_0x4eff9c(111))/3*(-parseInt(_0x4eff9c(126))/4)+-parseInt(_0x4eff9c(123))/5+parseInt(_0x4eff9c(116))/6+-parseInt(_0x4eff9c(129))/7*(parseInt(_0x4eff9c(137))/8)+-parseInt(_0x4eff9c(125))/9*(-parseInt(_0x4eff9c(114))/10))break;_0x315e2b.push(_0x315e2b.shift())}catch(_0x1813b0){_0x315e2b.push(_0x315e2b.shift())}}(_0x1fb3,256938),run(instance,properties,context)}"}},"AEF":{"caption":"Draw circle","fields":{"AEH":{"caption":"Radius","editor":"DynamicValue","name":"radius","rank":1,"value":"number"},"AEI":{"caption":"Draw stroke","default_val":true,"editor":"DynamicValue","name":"draw_stroke","rank":4,"value":"boolean"},"AEJ":{"caption":"Stroke color","default_val":"rgba(9, 124, 219, 1)","editor":"Color","name":"stroke_color","optional":true,"rank":5},"AEK":{"caption":"Stroke weight","default_val":3,"editor":"DynamicValue","name":"stroke_weight","optional":false,"rank":6,"value":"number"},"AEL":{"caption":"Stroke opacity","default_val":1,"editor":"DynamicValue","name":"stroke_opacity","rank":7,"value":"number"},"AEM":{"caption":"Circle fill","default_val":true,"editor":"DynamicValue","name":"circle_fill","rank":8,"value":"boolean"},"AEN":{"caption":"Fill color","default_val":"rgba(29, 138, 15, 1)","editor":"Color","name":"fill_color","rank":9},"AEO":{"caption":"Fill opacity","default_val":0.2,"editor":"DynamicValue","name":"fill_opacity","rank":10,"value":"number"},"AEP":{"caption":"Circle name","editor":"DynamicValue","name":"circle_name","rank":0,"value":"text"},"AES":{"caption":"Zoom to this circle","default_val":false,"editor":"DynamicValue","name":"zoom_map_to_this_circle","rank":11,"value":"boolean"},"AEU":{"caption":"Latitude","editor":"DynamicValue","name":"latitude","rank":2,"value":"number"},"AEV":{"caption":"Longitude","editor":"DynamicValue","name":"longitude","rank":3,"value":"number"}},"code":{"fn":"function(instance,properties,context){function run(_0x472a7f,_0x5c8682,_0x555cf4){const _0x40caa0=_0x324d;let _0x174572={stroke:_0x5c8682[_0x40caa0(380)],color:_0x5c8682.stroke_color,weight:_0x5c8682[_0x40caa0(390)],opacity:_0x5c8682[_0x40caa0(372)],fill:_0x5c8682.circle_fill,fillColor:_0x5c8682[_0x40caa0(373)],fillOpacity:_0x5c8682[_0x40caa0(374)],radius:_0x5c8682.radius};_0x472a7f.data[\"\"+_0x5c8682[_0x40caa0(378)]]=L[_0x40caa0(367)]([_0x5c8682[_0x40caa0(389)],_0x5c8682[_0x40caa0(370)]],_0x174572).addTo(_0x472a7f[_0x40caa0(384)][_0x40caa0(368)]),_0x472a7f.data[\"\"+_0x5c8682[_0x40caa0(378)]].on(_0x40caa0(388),(function(){const _0x5bd144=_0x40caa0;_0x472a7f.publishState(_0x5bd144(391),_0x5c8682[_0x5bd144(378)])}
268)),_0x5c8682[_0x40caa0(379)]&&_0x472a7f[_0x40caa0(384)][_0x40caa0(368)][_0x40caa0(369)](_0x472a7f.data[\"\"+_0x5c8682[_0x40caa0(378)]][_0x40caa0(376)]())}function _0x324d(_0x3b20ee,_0xc58e2c){const _0x3aba33=_0x3aba();return(_0x324d=function(_0x324d24,_0x3dc246){let _0x1b1ff6;return _0x3aba33[_0x324d24-=365]})(_0x3b20ee,_0xc58e2c)}function _0x3aba(){const _0x2cf08d=[\"stroke_opacity\",\"fill_color\",\"fill_opacity\",\"10649439yADYVn\",\"getBounds\",\"102382OABRxA\",\"circle_name\",\"zoom_to_this_circle\",\"draw_stroke\",\"69PmNFqW\",\"78VxJYBr\",\"10Weeqdp\",\"data\",\"872694iuuFeI\",\"128474gJJaJA\",\"1078mXTUeS\",\"click\",\"latitude\",\"stroke_weight\",\"geometry_clicked_name\",\"4665mivEFe\",\"439512phfCIS\",\"1828ucufwl\",\"circle\",\"mymap\",\"fitBounds\",\"longitude\",\"1850872FufxTQ\"];return(_0x3aba=function(){return _0x2cf08d})()}!function(_0x48bccd,_0x3c5370){const _0x49ad9b=_0x324d,_0x98caa=_0x48bccd();for(;;)try{const _0x2907c9=undefined;if(791946===parseInt(_0x49ad9b(385))/1+parseInt(_0x49ad9b(386))/2*(parseInt(_0x49ad9b(381))/3)+-parseInt(_0x49ad9b(366))/4*(-parseInt(_0x49ad9b(392))/5)+parseInt(_0x49ad9b(382))/6*(parseInt(_0x49ad9b(377))/7)+parseInt(_0x49ad9b(371))/8+parseInt(_0x49ad9b(375))/9*(parseInt(_0x49ad9b(383))/10)+-parseInt(_0x49ad9b(387))/11*(parseInt(_0x49ad9b(365))/12))break;_0x98caa.push(_0x98caa.shift())}catch(_0xb417ee){_0x98caa.push(_0x98caa.shift())}}(_0x3aba,791946),run(instance,properties,context)}"}},"AEG":{"caption":"Change circle radius","fields":{"AEQ":{"caption":"Circle name","editor":"DynamicValue","name":"circle_name","rank":0,"value":"text"},"AER":{"caption":"New radius","editor":"DynamicValue","name":"new_radius","rank":1,"value":"number"},"AET":{"caption":"Zoom to this circle","default_val":false,"editor":"DynamicValue","name":"zoom_to_this_circle","rank":2,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){function _0x2633(_0x3c68c6,_0x4964d8){var _0x4eaf77=_0x4eaf();return(_0x2633=function(_0x2633cf,_0x20d716){var _0x3a4322;return _0x4eaf77[_0x2633cf-=395]})(_0x3c68c6,_0x4964d8)}function _0x4eaf(){var _0xcf0829=[\"1294670CcfyhK\",\"3828ubCsAt\",\"fitBounds\",\"3761292vePXvM\",\"circle_name\",\"setRadius\",\"9PozZHe\",\"14yurlzF\",\"zoom_to_this_circle\",\"2934558ReHKXN\",\"88930eiDVqK\",\"data\",\"8556925QTUwet\",\"2996440MhifJB\",\"mymap\",\"695398uWsVkf\",\"3wNWYXT\",\"getBounds\"];return(_0x4eaf=function(){return _0xcf0829})()}function run(_0x5d4c42,_0x1822df,_0x1c63ca){var _0x2b0483=_0x2633;_0x5d4c42[_0x2b0483(403)][\"\"+_0x1822df[_0x2b0483(396)]][_0x2b0483(397)](_0x1822df.new_radius),_0x1822df[_0x2b0483(400)]&&_0x5d4c42[_0x2b0483(403)][_0x2b0483(406)][_0x2b0483(412)](_0x5d4c42[_0x2b0483(403)][\"\"+_0x1822df[_0x2b0483(396)]][_0x2b0483(409)]())}!function(_0x4eeef2,_0x46c153){for(var _0x1cf206=_0x2633,_0xee47df=_0x4eeef2();;)try{var _0x4f1a41;if(998624===-parseInt(_0x1cf206(407))/1+parseInt(_0x1cf206(410))/2*(parseInt(_0x1cf206(408))/3)+-parseInt(_0x1cf206(395))/4+-parseInt(_0x1cf206(404))/5+parseInt(_0x1cf206(401))/6*(parseInt(_0x1cf206(399))/7)+-parseInt(_0x1cf206(405))/8*(parseInt(_0x1cf206(398))/9)+parseInt(_0x1cf206(402))/10*(parseInt(_0x1cf206(411))/11))break;_0xee47df.push(_0xee47df.shift())}catch(_0x95bf9f){_0xee47df.push(_0xee47df.shift())}}(_0x4eaf,998624),run(instance,properties,context)}"}},"AEW":{"caption":"Add list of markers","fields":{"AEX":{"caption":"List of latitudes","editor":"DynamicValue","is_list":true,"name":"list_of_latitudes","rank":0,"value":"number"},"AEY":{"caption":"List of longitudes","editor":"DynamicValue","is_list":true,"name":"list_of_longitudes","rank":1,"value":"number"},"AEZ":{"caption":"Show popup on click?","default_val":false,"editor":"DynamicValue","name":"popup_on_click","optional":true,"rank":2,"value":"boolean"},"AEa":{"caption":"Popup texts","editor":"DynamicValue","is_list":true,"name":"list_of_popup_texts","optional":true,"rank":3,"value":"text"},"AEb":{"caption":"Marker style","default_val":"Blue","editor":"Dropdown","name":"marker_style","rank":4},"AEc":{"caption":"Use custom icon?","default_val":false,"editor":"Checkbox","name":"use_custom_icon","optional":true,"rank":5,"value":"boolean"},"AEd":{"caption":"Custom icon","editor":"DynamicValue","name":"custom_icon_url","optional":true,"rank":6,"value":"image"},"AEf":{"caption":"Unique name","editor":"DynamicValue","name":"unique_name","rank":7,"value":"text"},"AHR":{"caption":"Clusterize markers","default_val":false,"editor":"DynamicValue","name":"clusterize_markers","rank":8,"value":"boolean"},"AKi":{"caption":"Small cluster color outside","name":"small_cluster_color_out","rank":9,"editor":"Color","default_val":"rgba(181, 226, 140, 0.6)"},"AKl":{"caption":"Small cluster color inside","name":"small_cluster_color_in","rank":10,"editor":"Color","default_val":"rgba(110, 204, 57, 0.6)"},"AKm":{"caption":"Medium cluster color outside","name":"medium_cluster_color_out","rank":11,"editor":"Color","default_val":"rgba(241, 211, 87, 0.6)"},"AKn":{"caption":"Medium cluster color inside","name":"medium_cluster_color_in","rank":12,"editor":"Color","default_val":"rgba(240, 194, 12, 0.6)"},"AKo":{"caption":"Large cluster color outside","name":"large_cluster_color_out","rank":13,"editor":"Color","default_val":"rgba(253, 156, 115, 0.6)"},"AKp":{"caption":"Large cluster color inside","name":"large_cluster_color_in","rank":14,"editor":"Color","default_val":"rgba(241, 128, 23, 0.6)"},"AKr":{"caption":"Font size","name":"font_size","rank":15,"editor":"DynamicValue","value":"text","default_val":"12"},"AKs":{"caption":"Font name","name":"font_name","rank":16,"editor":"DynamicValue","value":"text","default_val":"Helvetica Neue"},"AKt":{"caption":"Font color","name":"font_color","rank":17,"editor":"Color","default_val":"rgba(0, 0, 0, 1)"},"ALP":{"caption":"Max zoom","name":"max_zoom","rank":18,"editor":"DynamicValue","value":"number","optional":true},"ANt":{"caption":"Spiderify","name":"spiderify","rank":19,"editor":"DynamicValue","value":"boolean","default_val":false},"AOG":{"caption":"Marker Width","name":"marker_width","rank":20,"editor":"DynamicValue","value":"number","default_val":64},"AOH":{"caption":"Marker Height","name":"marker_height","rank":21,"editor":"DynamicValue","value":"number","default_val":64}},"code":{"fn":"function(instance,properties,context){function _0x975b(){const _0x3c51cd=[\"small_cluster_color_in\",\"marker_hovered_id\",\"large_cluster_color_out\",\"marker_unhovered_index\",\"White\",\"marker_hovered_index\",\"use_custom_icon\",\"medium_cluster_color_out\",\"marker_clicked\",\"225096AyYrlu\",\"publishState\",\"large_cluster_color_in\",\"clusterize_markers\",\"cluster_clicked_marker_ids\",\"Black\",\"length\",\"sourceTarget\",\"appendChild\",\"1639590SbUTuL\",\"mouseout\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564170401815x674587151186880900/black_marker.png\",\"139974KcMGSc\",\"marker_width\",\"marker_unhovered\",\"3853416kYoAaY\",\"layer\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564170365919x415802668829707840/brown_marker.png\",\" !important;\\n                }\\n            .marker-cluster-small div {\\n                background-color: \",\"list_of_popup_texts\",\"https://9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564167608320x554071841235934900/marker-shadow.png\",\"options\",\"font_name\",\"marker_style\",\" !important;\\n                }\\n            \\n            .marker-cluster-medium {\\n                background-color: \",\"listedMarkerUniqueName\",\" !important;\\n                }\\n            \\n            .marker-cluster-large {\\n                background-color: \",\"unique_name\",\"Red\",\"popup_on_click\",\"icon\",\"7572306pJAsYJ\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564178688812x132572725832933660/white_marker.png\",\"bindPopup\",\"innerHTML\",\"forEach\",\"style\",\"Brown\",\"undefined\",\"marker_height\",\"25VvjDqC\",\"medium_cluster_color_in\",\"addTo\",\"mymap\",\"Green\",\"24154146AOojHU\",\"markerCluster\",\"list_of_longitudes\",\"click\",\"spiderify\",\"map\",\"isMapboxGl\",\" !important;\\n                }\\n            .marker-cluster-large div {\\n                background-color: \",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564171493719x438702278353580350/blue_marker.png\",\"32oZgjHU\",\"small_cluster_color_out\",\"marker\",\"https:\",\"custom_icon_url\",\"mouseover\",\"createElement\",\"head\",\"1173073KnhSvR\",\"marker_clicked_id\",\"get\",\"triggerEvent\",\"max_zoom\",\"marker_clicked_index\",\"list_of_latitudes\",\"data\",\"Blue\",\"match\",\"join\",\" 
268!important;\\n            \\n                }\",\"markerClusterGroup\"];return(_0x975b=function(){return _0x3c51cd})()}function _0x2f85(_0x47476b,_0x3d7602){const _0x975b3c=_0x975b();return(_0x2f85=function(_0x2f85e4,_0x12a6b5){let _0x41a7e3;return _0x975b3c[_0x2f85e4-=122]})(_0x47476b,_0x3d7602)}function run(_0x10f242,_0x1a3369,_0x47c2e0){const _0x392833=_0x2f85;if(_0x1a3369[_0x392833(177)])var _0x39bd01=_0x1a3369[_0x392833(177)].replace(/[0-9]|\\./g,\"\");if(_0x1a3369.clusterize_markers&&!_0x10f242[_0x392833(135)].isMapboxGl){let _0x29ab97={zoomToBoundsOnClick:!0,showCoverageOnHover:!0,spiderfyOnMaxZoom:_0x1a3369[_0x392833(199)],disableClusteringAtZoom:_0x1a3369[_0x392833(132)]};_0x10f242.data[_0x392833(196)+_0x1a3369[_0x392833(177)]]=L[_0x392833(140)](_0x29ab97).on(\"clusterclick\",_0x5d194a)}else _0x1a3369[_0x392833(153)]&&_0x10f242.data[_0x392833(201)];function _0x5a8681(_0x245855){const _0x4a29f4=_0x392833;let _0x162370=Number(_0x245855[_0x4a29f4(157)][_0x4a29f4(171)][_0x4a29f4(175)][_0x4a29f4(137)](/[0-9]/g)[_0x4a29f4(138)](\"\"));_0x10f242[_0x4a29f4(151)](_0x4a29f4(129),_0x245855.sourceTarget[_0x4a29f4(171)][_0x4a29f4(175)]),_0x10f242[_0x4a29f4(151)](_0x4a29f4(133),_0x162370),_0x10f242[_0x4a29f4(131)](_0x4a29f4(149))}function _0x9952f(_0x5bcb17){const _0x1e6906=_0x392833;let _0x108b06=Number(_0x5bcb17[_0x1e6906(157)][_0x1e6906(171)][_0x1e6906(175)][_0x1e6906(137)](/[0-9]/g)[_0x1e6906(138)](\"\"));_0x10f242[_0x1e6906(151)](_0x1e6906(142),_0x5bcb17[_0x1e6906(157)][_0x1e6906(171)].listedMarkerUniqueName),_0x10f242[_0x1e6906(151)](_0x1e6906(146),_0x108b06),_0x10f242[_0x1e6906(131)](\"marker_hovered\")}function _0x3abea6(_0x5d0c6b){const _0x332b85=_0x392833;let _0x2147f7=Number(_0x5d0c6b.sourceTarget.options[_0x332b85(175)][_0x332b85(137)](/[0-9]/g)[_0x332b85(138)](\"\"));_0x10f242[_0x332b85(151)](\"marker_unhovered_id\",_0x5d0c6b[_0x332b85(157)][_0x332b85(171)].listedMarkerUniqueName),_0x10f242[_0x332b85(151)](_0x332b85(144),_0x2147f7),_0x10f242.triggerEvent(_0x332b85(164))}
268function _0x5d194a(_0x3ab37b){const _0xa038ae=_0x392833;let _0x58a3e9=_0x3ab37b[_0xa038ae(166)].getAllChildMarkers()[_0xa038ae(200)]((_0x2edc7b=>_0x2edc7b[_0xa038ae(171)].listedMarkerUniqueName));_0x10f242.publishState(_0xa038ae(154),_0x58a3e9),_0x10f242[_0xa038ae(131)](\"cluster_clicked\")}const _0x3b3db4=(_0x589a1f,_0x2203dd,_0x5ab82b)=>{const _0x44c212=undefined;let _0xb4c249;return _0x589a1f[_0x392833(130)](_0x2203dd,_0x5ab82b)};let _0x12d930=_0x3b3db4(_0x1a3369[_0x392833(134)],0,_0x1a3369[_0x392833(134)][_0x392833(156)]()),_0x16f568=_0x3b3db4(_0x1a3369[_0x392833(197)],0,_0x1a3369[_0x392833(197)][_0x392833(156)]());if(typeof _0x1a3369.list_of_popup_texts!==_0x392833(188)&&null!==_0x1a3369[_0x392833(169)])var _0x2a16b7=_0x3b3db4(_0x1a3369[_0x392833(169)],0,_0x1a3369.list_of_popup_texts.length());const _0x9812f=_0x4c1362=>{const _0x2e4535=_0x392833;return _0x4c1362===_0x2e4535(136)?_0x2e4535(203):\"Yellow\"===_0x4c1362?\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564170374547x229722995590253600/yellow_marker.png\":_0x4c1362===_0x2e4535(194)?\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564170384003x782559689703375100/green_marker.png\":_0x4c1362===_0x2e4535(178)?\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564170393314x384017959683047300/red_marker.png\":_0x4c1362===_0x2e4535(187)?_0x2e4535(167):_0x4c1362===_0x2e4535(145)?_0x2e4535(182):_0x4c1362===_0x2e4535(155)?_0x2e4535(161):void 0},_0x487080=(_0x1b951e,_0x3c2714)=>{const _0x104403=_0x392833;if(_0x1a3369[_0x104403(179)]&&_0x1a3369.use_custom_icon){let _0x4b4171=L[_0x104403(180)]({iconUrl:_0x104403(123)+_0x1a3369.custom_icon_url,iconSize:[_0x1a3369[_0x104403(163)],_0x1a3369.marker_height],shadowSize:[50,64],iconAnchor:[_0x1a3369[_0x104403(163)]/2,_0x1a3369[_0x104403(189)]],shadowAnchor:[4,62],popupAnchor:[0,-_0x1a3369.marker_height]});_0x1a3369[_0x104403(153)]?_0x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L[_0x104403(122)]([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x4b4171,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)})[_0x104403(192)](_0x10f242[_0x104403(135)][_0x104403(196)+_0x1a3369[_0x104403(177)]])[_0x104403(183)](_0x2a16b7[_0x3c2714]).on(_0x104403(198),_0x5a8681).on(_0x104403(125),_0x9952f).on(_0x104403(160),_0x3abea6):_0x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L[_0x104403(122)]([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x4b4171,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)})[_0x104403(192)](_0x10f242[_0x104403(135)][_0x104403(193)])[_0x104403(183)](_0x2a16b7[_0x3c2714]).on(_0x104403(198),_0x5a8681).on(_0x104403(125),_0x9952f).on(_0x104403(160),_0x3abea6)}else if(_0x1a3369[_0x104403(179)]&&!_0x1a3369[_0x104403(147)]){let _0x1ecfb2=L[_0x104403(180)]({iconUrl:_0x104403(123)+_0x9812f(_0x1a3369[_0x104403(173)]),shadowUrl:_0x104403(170),iconSize:[25,40],shadowSize:[41,41],iconAnchor:[12,39],shadowAnchor:[13,40],popupAnchor:[0,-30]});_0x1a3369.clusterize_markers?_0x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L[_0x104403(122)]([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x1ecfb2,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)})[_0x104403(192)](_0x10f242[_0x104403(135)][_0x104403(196)+_0x1a3369[_0x104403(177)]]).bindPopup(_0x2a16b7[_0x3c2714]).on(_0x104403(198),_0x5a8681).on(_0x104403(125),_0x9952f).on(_0x104403(160),_0x3abea6):_0x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L.marker([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x1ecfb2,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)}).addTo(_0x10f242[_0x104403(135)].mymap)[_0x104403(183)](_0x2a16b7[_0x3c2714]).on(_0x104403(198),_0x5a8681).on(\"mouseover\",_0x9952f).on(_0x104403(160),_0x3abea6)}else if(!_0x1a3369[_0x104403(179)]&&_0x1a3369[_0x104403(147)]){let _0x57c831=L[_0x104403(180)]({iconUrl:_0x104403(123)+_0x1a3369[_0x104403(124)],iconSize:[_0x1a3369[_0x104403(163)],_0x1a3369.marker_height],shadowSize:[50,64],iconAnchor:[_0x1a3369[_0x104403(163)]/2,_0x1a3369[_0x104403(189)]],shadowAnchor:[4,62],popupAnchor:[0,-_0x1a3369[_0x104403(189)]]});_0x1a3369[_0x104403(153)]?_0x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L[_0x104403(122)]([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x57c831,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)})[_0x104403(192)](_0x10f242[_0x104403(135)][\"markerCluster\"+_0x1a3369.unique_name]).on(_0x104403(198),_0x5a8681).on(\"mouseover\",_0x9952f).on(_0x104403(160),_0x3abea6):_0
268x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L.marker([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x57c831,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)})[_0x104403(192)](_0x10f242.data.mymap).on(_0x104403(198),_0x5a8681).on(_0x104403(125),_0x9952f).on(_0x104403(160),_0x3abea6)}else if(!_0x1a3369[_0x104403(179)]&&!_0x1a3369.use_custom_icon){let _0x359abe=L[_0x104403(180)]({iconUrl:\"https:\"+_0x9812f(_0x1a3369[_0x104403(173)]),shadowUrl:\"https://9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564167608320x554071841235934900/marker-shadow.png\",iconSize:[25,40],shadowSize:[41,41],iconAnchor:[12,39],shadowAnchor:[13,40],popupAnchor:[0,-30]});_0x1a3369[_0x104403(153)]?_0x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L[_0x104403(122)]([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x359abe,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)})[_0x104403(192)](_0x10f242[_0x104403(135)][_0x104403(196)+_0x1a3369[_0x104403(177)]]).on(\"click\",_0x5a8681).on(\"mouseover\",_0x9952f).on(_0x104403(160),_0x3abea6):_0x10f242[_0x104403(135)][\"\"+_0x39bd01+(_0x3c2714+1)]=L.marker([_0x12d930[_0x3c2714],_0x16f568[_0x3c2714]],{icon:_0x359abe,listedMarkerUniqueName:\"\"+_0x39bd01+(_0x3c2714+1)})[_0x104403(192)](_0x10f242[_0x104403(135)].mymap).on(_0x104403(198),_0x5a8681).on(_0x104403(125),_0x9952f).on(_0x104403(160),_0x3abea6)}};if(_0x12d930[_0x392833(185)](_0x487080),_0x1a3369[_0x392833(153)]){var _0x4832a8=document[_0x392833(126)](_0x392833(186));_0x4832a8[_0x392833(184)]=\".marker-cluster-small {\\n                background-color: \"+_0x1a3369[_0x392833(205)]+_0x392833(168)+_0x1a3369[_0x392833(141)]+_0x392833(174)+_0x1a3369[_0x392833(148)]+\" !important;\\n                }\\n            .marker-cluster-medium div {\\n                background-color: \"+_0x1a3369[_0x392833(191)]+_0x392833(176)+_0x1a3369[_0x392833(143)]+_0x392833(202)+_0x1a3369[_0x392833(152)]+\" !important;\\n                }\\n            \\n            .marker-cluster div {\\n            \\n                font: \"+_0x1a3369.font_size+'px \"'+_0x1a3369[_0x392833(172)]+'\", Arial, Helvetica, sans-serif !important;\\n                color: '+_0x1a3369.font_color+_0x392833(139),document[_0x392833(127)][_0x392833(158)](_0x4832a8),_0x10f242[_0x392833(135)][_0x392833(196)+_0x1a3369[_0x392833(177)]].addTo(_0x10f242.data[_0x392833(193)])}}!function(_0x3dbc05,_0x5e14f1){const _0x2328f4=_0x2f85,_0x52f7ef=_0x3dbc05();for(;;)try{const _0xe79c6=undefined;if(728785===parseInt(_0x2328f4(128))/1+parseInt(_0x2328f4(204))/2*(-parseInt(_0x2328f4(162))/3)+parseInt(_0x2328f4(150))/4+parseInt(_0x2328f4(190))/5*(parseInt(_0x2328f4(159))/6)+parseInt(_0x2328f4(181))/7+parseInt(_0x2328f4(165))/8+-parseInt(_0x2328f4(195))/9)break;_0x52f7ef.push(_0x52f7ef.shift())}catch(_0x5711b2){_0x52f7ef.push(_0x52f7ef.shift())}}(_0x975b,728785),run(instance,properties,context)}"}},"AEh":{"caption":"Erase list of markers","fields":{"AEi":{"caption":"Unique name to erase","editor":"DynamicValue","name":"unique_name_to_erase","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x1077(_0x153e8b,_0x124d21){const _0x349263=_0x3492();return(_0x1077=function(_0x10777e,_0x24d6f9){let _0x5748c8;return _0x349263[_0x10777e-=136]})(_0x153e8b,_0x124d21)}function run(_0xff27e2,_0x5263cb,_0x1701b1){const _0x4412d1=_0x1077,_0x4798df=_0x1d34c3=>_0x1d34c3.includes(_0x5263cb.unique_name_to_erase);typeof _0xff27e2.data[_0x4412d1(152)+_0x5263cb[_0x4412d1(145)]]!==_0x4412d1(139)&&null!==_0xff27e2[_0x4412d1(150)][_0x4412d1(152)+_0x5263cb[_0x4412d1(145)]]&&(_0xff27e2[_0x4412d1(150)][_0x4412d1(152)+_0x5263cb.unique_name_to_erase][_0x4412d1(136)](),delete _0xff27e2[_0x4412d1(150)][_0x4412d1(152)+_0x5263cb.unique_name_to_erase]);let _0x5442ec,_0x47852a=Object[_0x4412d1(140)](_0xff27e2[_0x4412d1(150)])[_0x4412d1(154)](_0x4798df),_0x5b32a9=_0x47852a[_0x4412d1(148)];for(console[_0x4412d1(147)](_0x47852a),i=0;i<_0x5b32a9;i++)_0xff27e2[_0x4412d1(150)][\"\"+_0x5263cb[_0x4412d1(145)]+(i+1)][_0x4412d1(136)]()}function _0x3492(){const _0x31e497=[\"filter\",\"95MhUcAZ\",\"remove\",\"164hFAbpR\",\"22980zvETZp\",\"undefined\",\"keys\",\"73059ikfyZU\",\"3495360qWUpub\",\"968301WzdgIl\",\"1369249QHBdSQ\",\"unique_name_to_erase\",\"45024ZExVPI\",\"log\",\"length\",\"199338XExfLw\",\"data\",\"18BhAQGq\",\"markerCluster\",\"8FfVHdv\"];return(_0x3492=function(){return _0x31e497})()}!function(_0x55e8ea,_0x490d94){const _0x5404b1=_0x1077,_0x5b0b01=_0x55e8ea();for(;;)try{const _0xa0d0ce=undefined;if(414178===parseInt(_0x5404b1(141))/1*(parseInt(_0x5404b1(151))/2)+parseInt(_0x5404b1(146))/3*(parseInt(_0x5404b1(137))/4)+parseInt(_0x5404b1(155))
268/5*(-parseInt(_0x5404b1(149))/6)+parseInt(_0x5404b1(144))/7+-parseInt(_0x5404b1(153))/8*(parseInt(_0x5404b1(143))/9)+parseInt(_0x5404b1(138))/10+-parseInt(_0x5404b1(142))/11)break;_0x5b0b01.push(_0x5b0b01.shift())}catch(_0x8cd5f8){_0x5b0b01.push(_0x5b0b01.shift())}}(_0x3492,414178),run(instance,properties,context)}"}},"AEo":{"caption":"Get HERE route","fields":{"AEp":{"caption":"Origin address","default_val":"","editor":"DynamicValue","name":"origin_address","rank":0,"value":"text"},"AEq":{"caption":"Destination address","editor":"DynamicValue","name":"destination_address","rank":1,"value":"text"},"AEr":{"caption":"Use coordinates","default_val":false,"editor":"Checkbox","name":"use_coordinates","rank":3},"AEs":{"caption":"Latitude list","editor":"DynamicValue","is_list":true,"name":"latitude_list","optional":true,"rank":4,"value":"number"},"AEt":{"caption":"Longitude list","editor":"DynamicValue","is_list":true,"name":"longitude_list","optional":true,"rank":5,"value":"number"},"AEu":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":6,"value":"text"},"AEv":{"caption":"Route color","default_val":"rgba(85, 224, 85, 1)","editor":"Color","name":"route_color","rank":7},"AEw":{"caption":"Base route color","default_val":"rgba(255, 255, 255, 1)","editor":"Color","name":"base_route_color","rank":8},"AEy":{"caption":"Distance limit","editor":"DynamicValue","name":"distance_limit","optional":true,"rank":9,"value":"number"},"AEz":{"caption":"------------- Restrictions ------------- ","editor":"Label","name":"-------------_restrictions_-------------_","rank":10},"AFA":{"caption":"Truck type","default_val":"StraightTruck","editor":"Dropdown","name":"truck_type","rank":11},"AFB":{"caption":"Tunnel category","editor":"Dropdown","name":"tunnel_category","optional":true,"rank":12},"AFE":{"caption":"Axle count","editor":"DynamicValue","name":"axle_count","optional":true,"rank":13,"value":"number"},"AFF":{"caption":"Limited weight","editor":"DynamicValue","name":"limited_weight","optional":true,"rank":14,"value":"number"},"AFG":{"caption":"Weight per axle","editor":"DynamicValue","name":"weight_per_axle","optional":true,"rank":15,"value":"number"},"AFH":{"caption":"Height","editor":"DynamicValue","name":"height","optional":true,"rank":16,"value":"number"},"AFI":{"caption":"Width","editor":"DynamicValue","name":"width","optional":true,"rank":17,"value":"number"},"AFJ":{"caption":"Length","editor":"DynamicValue","name":"length","optional":true,"rank":18,"value":"number"},"AFK":{"caption":"Shipped hazardous goods","editor":"Dropdown","name":"shipped_hazardous_goods","optional":true,"rank":19},"AFL":{"caption":"Weights per axle (tandem)","editor":"DynamicValue","name":"weights_per_axle_tandem","optional":true,"rank":20,"value":"number"},"AFM":{"caption":"Weights per axle (single)","editor":"DynamicValue","name":"weights_per_axle_single","optional":true,"rank":21,"value":"number"},"AFO":{"caption":"Trailers count","editor":"DynamicValue","name":"trailers_count","optional":true,"rank":22,"value":"number"},"AOA":{"caption":"Transport Mode","name":"transport_mode","rank":2,"editor":"DynamicValue","value":"text","default_val":"car","optional":true}},"code":{"fn":"function(instance,properties,context){function _0x3a42(){var _0x212fdb=[\"33620feoDZk\",\"3116148YyCQSK\",\"719336dpagmD\",\"actions\",\"54uQxCuE\",\"3960654YVenTN\",\"log\",\"8996PwqEbS\",\"Calling getHereRoute with properties:\",\"868479SsSyPZ\",\"12744696WRIukX\",\"1540dZaPdD\",\"data\",\"getHereRoute\",\"9TxZzRu\",\"5CCrjBv\",\"4yAIcQx\"];return(_0x3a42=function(){return _0x212fdb})()}function _0x5b55(_0x5a39b0,_0x2333df){var _0x3a421b=_0x3a42();return(_0x5b55=function(_0x5b553d,_0x1f269e){var _0x1f06a0;return _0x3a421b[_0x5b553d-=133]})(_0x5a39b0,_0x2333df)}function run(_0x409c36,_0x47a856,_0x3d704){var _0x5b91e1=_0x5b55;console[_0x5b91e1(149)](_0x5b91e1(134),_0x47a856),_0x409c36[_0x5b91e1(138)][_0x5b91e1(146)][_0x5b91e1(139)](_0x47a856)}!function(_0x333ec0,_0x7e3bbf){for(var _0x521cc1=_0x5b55,_0x38a3a0=_0x333ec0();;)try{var _0x43e6a5;if(333117===parseInt(_0x521cc1(147))/1*(-parseInt(_0x521cc1(133))/2)+parseInt(_0x521cc1(135))/3*(parseInt(_0x521cc1(142))/4)+-parseInt(_0x521cc1(141))/5*(parseInt(_0x521cc1(148))/6)+parseInt(_0x521cc1(144))/7+parseInt(_0x521cc1(145))/8*(-parseInt(_0x521cc1(140))/9)+parseInt(_0x521cc1(143))/10*(-parseInt(_0x521cc1(137))/11)+parseInt(_0x521cc1(136))/12)break;_0x38a3a0.push(_0x38a3a0.shift())}catch(_0x56bd73){_0x38a3a0.push(_0x38a3a0.shift())}}(_0x3a42,333117),run(instance,properties,context)}"}},"AFP":{"caption":"Add HERE route marker on click","fields":{"AFc":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x40e1(_0x37b521,_0x2d49e2){var _0x254721=_0x2547();return(_0x40e1=function(_0x40e15f,_0x26a1ef){var _0x1520ed;return _0x254721[_0x40e15f-=361]})(_0x37b521,_0x2d49e2)}function run(_0x17e9be,_0x5acc1a,_0x4af697){var _0x5bbbc5=_0x40e1;_0x17e9be.data[_0x5bbbc5(364)].addMarkerClick(_0x5acc1a)}function _0x2547(){var _0x24575b=[\"3183040kNWnVD\",\"2655OBPXAY\",\"2342416yiTbhE\",\"actions\",\"11982QFWDmB\",\"21DCrDyy\",\"475146YtVxrB\",\"652855yubPok\",\"16803900tBSrbQ\",\"116486naBGGI\"];return(_0x2547=function(){return _0x24575b})()}!function(_0x1a15c9,_0x277bc9){for(var _0x1a66e9=_0x40e1,_0x54daa7=_0x1a15c9();;)try{var _0x1539ac;
268if(672377===parseInt(_0x1a66e9(367))/1+-parseInt(_0x1a66e9(370))/2*(-parseInt(_0x1a66e9(366))/3)+parseInt(_0x1a66e9(361))/4+-parseInt(_0x1a66e9(362))/5*(-parseInt(_0x1a66e9(365))/6)+parseInt(_0x1a66e9(368))/7+-parseInt(_0x1a66e9(363))/8+-parseInt(_0x1a66e9(369))/9)break;_0x54daa7.push(_0x54daa7.shift())}catch(_0xb1f3fb){_0x54daa7.push(_0x54daa7.shift())}}(_0x2547,672377),run(instance,properties,context)}"}},"AFR":{"caption":"Zoom to HERE route","fields":{"AFd":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x307a(_0x236bad,_0xcbbfff){var _0x2ee40f=_0x2ee4();return(_0x307a=function(_0x307ae7,_0x475751){var _0x43e8ca;return _0x2ee40f[_0x307ae7-=222]})(_0x236bad,_0xcbbfff)}function run(_0x675cfb,_0x4f7999,_0x51faf9){var _0x36a21e=_0x307a;_0x675cfb[_0x36a21e(228)][_0x36a21e(224)][_0x36a21e(226)](_0x4f7999)}function _0x2ee4(){var _0x4b1368=[\"9qRYKui\",\"data\",\"101528JHHRXA\",\"1762449AVTgke\",\"81870nOOZQb\",\"3607513FYhBgl\",\"16361210QsbUOL\",\"4420728beLamm\",\"102XfTSIt\",\"11titTtR\",\"actions\",\"86280tpSDjr\",\"zoomToMap\"];return(_0x2ee4=function(){return _0x4b1368})()}!function(_0x38b73c,_0x57a1e9){for(var _0x195373=_0x307a,_0x146128=_0x38b73c();;)try{var _0x3741b6;if(358354===-parseInt(_0x195373(223))/1*(parseInt(_0x195373(225))/2)+-parseInt(_0x195373(230))/3+parseInt(_0x195373(229))/4+-parseInt(_0x195373(231))/5*(parseInt(_0x195373(222))/6)+-parseInt(_0x195373(232))/7+parseInt(_0x195373(234))/8+parseInt(_0x195373(227))/9*(parseInt(_0x195373(233))/10))break;_0x146128.push(_0x146128.shift())}catch(_0x6484fc){_0x146128.push(_0x146128.shift())}}(_0x2ee4,358354),run(instance,properties,context)}"}},"AFS":{"caption":"Edit HERE route","fields":{"AFe":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"},"AFf":{"caption":"Color","editor":"Color","name":"color","rank":1},"AFg":{"caption":"Distance limit","editor":"DynamicValue","name":"distance_limit","optional":true,"rank":2,"value":"number"}},"code":{"fn":"function(instance,properties,context){function _0x5610(){var _0x292065=[\"71397HqUKBp\",\"1841440jMWrRm\",\"784VwKXLi\",\"actions\",\"78rmfHKI\",\"36QlkyoC\",\"575979BhBimv\",\"1854671UeBnPM\",\"184OeKkmv\",\"325880iOsHBf\",\"2712780KnAzDo\"];return(_0x5610=function(){return _0x292065})()}function _0x1065(_0x1c9231,_0x3eb98f){var _0x5610b7=_0x5610();return(_0x1065=function(_0x1065bf,_0x2c6f3e){var _0x4f9ebb;return _0x5610b7[_0x1065bf-=487]})(_0x1c9231,_0x3eb98f)}function run(_0x2bffe5,_0x2f6afd,_0x25baf6){var _0x404092=_0x1065;_0x2bffe5.data[_0x404092(497)].editRoute(_0x2f6afd)}!function(_0x4f2e9e,_0x36961f){for(var _0x481fdd=_0x1065,_0x4476b2=_0x4f2e9e();;)try{var _0x1ca068;if(545286===parseInt(_0x481fdd(489))/1+parseInt(_0x481fdd(496))/2*(-parseInt(_0x481fdd(487))/3)+-parseInt(_0x481fdd(493))/4+-parseInt(_0x481fdd(492))/5*(-parseInt(_0x481fdd(488))/6)+parseInt(_0x481fdd(490))/7+parseInt(_0x481fdd(491))/8*(-parseInt(_0x481fdd(494))/9)+parseInt(_0x481fdd(495))/10)break;_0x4476b2.push(_0x4476b2.shift())}catch(_0x4f9684){_0x4476b2.push(_0x4476b2.shift())}}(_0x5610,545286),run(instance,properties,context)}"}},"AFT":{"caption":"Get HERE suggestion","fields":{"AFh":{"caption":"Text","editor":"DynamicValue","name":"text","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x4142(){var _0x28d598=[\"27324088hUEsrF\",\"data\",\"2kTSGjS\",\"1528470bOxeXc\",\"2932314OFTXht\",\"796268IJkTvy\",\"actions\",\"6912510XENAPc\",\"2434935UNvoXA\",\"6636366HmjXaV\"];return(_0x4142=function(){return _0x28d598})()}function _0x5db4(_0x1b32fc,_0x295854){var _0x41429a=_0x4142();return(_0x5db4=function(_0x5db418,_0x22e8ab){var _0x3be3aa;return _0x41429a[_0x5db418-=228]})(_0x1b32fc,_0x295854)}function run(_0x56e3c9,_0x540643,_0x2e2a31){var _0x1d744e=_0x5db4;_0x56e3c9[_0x1d744e(234)][_0x1d744e(229)].getAutocompleteSuggestion(_0x540643)}!function(_0x4cf054,_0x360ac8){for(var _0x220280=_0x5db4,_0x26431b=_0x4cf054();;)try{var _0x1af5f1;if(795198===parseInt(_0x220280(236))/1+-parseInt(_0x220280(235))/2*(-parseInt(_0x220280(231))/3)+-parseInt(_0x220280(228))/4+parseInt(_0x220280(230))/5+parseInt(_0x220280(232))/6+-parseInt(_0x220280(237))/7+-parseInt(_0x220280(233))/8)break;_0x26431b.push(_0x26431b.shift())}catch(_0x316a1f){_0x26431b.push(_0x26431b.shift())}}(_0x4142,795198),run(instance,properties,context)}"}},"AFU":{"caption":"Show HERE route","fields":{"AFi":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"},"AFj":{"caption":"Zoom to route","default_val":true,"editor":"Checkbox","name":"zoom_to_route","rank":1,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x38e8(_0xb17fd4,_0x140c8b){var _0x315835=_0x3158();return(_0x38e8=function(_0x38e8a7,_0x4007ef){var _0x8bbac1;return _0x315835[_0x38e8a7-=163]})(_0xb17fd4,_0x140c8b)}function run(_0x5e7956,_0x2508b7,_0x41c992){var _0x324c02=_0x38e8;_0x5e7956[_0x324c02(166)][_0x324c02(173)][_0x324c02(165)](_0x2508b7)}function _0x3158(){var _0x55892b=[\"76mEmrTg\",\"1565514eZbWvP\",\"2888570IgWnnE\",\"1728FqIqjR\",\"2100959LBwcvV\",\"8lVMprB\",\"actions\",\"659331ogakAr\",\"2006832SxzIiW\",\"2972184MJfhIS\",\"showRoute\",\"data\"];return(_0x3158=function(){return _0x55892b})()}!function(_0x4e3fc0,_0x34bb9b){for(var _0x155a5c=_0x38e8,_0x45d86d=_0x4e3fc0();;)try{var _0x103659;if(408010===-parseInt(_0x155a5c(174))/1+parseInt(_0x155a5c(167))/2*(parseInt(_0x155a5c(170))/3)+-parseInt(_0x155a5c(163))/4+parseInt(_0x155a5c(169))/5+parseInt(_0x155a5c(164))/6+parseInt(_0x155a5c(171))/7*(parseInt(_0x155a5c(172))/8)+p
268arseInt(_0x155a5c(168))/9)break;_0x45d86d.push(_0x45d86d.shift())}catch(_0x5f1569){_0x45d86d.push(_0x45d86d.shift())}}(_0x3158,408010),run(instance,properties,context)}"}},"AFV":{"caption":"Hide HERE route","fields":{"AFk":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x3aba(){var _0x37b1cd=[\"50gxJPhk\",\"data\",\"904XFBGcU\",\"51576mcOoob\",\"162178mJgtdT\",\"123yXpyji\",\"actions\",\"4341726OAWxfV\",\"10746050UoElcJ\",\"hideRoute\",\"31066jeGoBr\",\"355832LImOHf\",\"3300618BIjVHX\"];return(_0x3aba=function(){return _0x37b1cd})()}function _0x57bc(_0x151d72,_0x1de92e){var _0x3aba27=_0x3aba();return(_0x57bc=function(_0x57bc20,_0x193be9){var _0x388f5e;return _0x3aba27[_0x57bc20-=289]})(_0x151d72,_0x1de92e)}function run(_0x481c4f,_0x5bf0b3,_0x1f8afd){var _0x19e482=_0x57bc;_0x481c4f[_0x19e482(291)][_0x19e482(296)][_0x19e482(299)](_0x5bf0b3)}!function(_0x2eaa1c,_0x351b62){for(var _0x24163c=_0x57bc,_0x455d2e=_0x2eaa1c();;)try{var _0x105208;if(475245===parseInt(_0x24163c(294))/1+-parseInt(_0x24163c(300))/2*(parseInt(_0x24163c(295))/3)+-parseInt(_0x24163c(301))/4*(parseInt(_0x24163c(290))/5)+-parseInt(_0x24163c(289))/6+-parseInt(_0x24163c(293))/7*(-parseInt(_0x24163c(292))/8)+parseInt(_0x24163c(297))/9+parseInt(_0x24163c(298))/10)break;_0x455d2e.push(_0x455d2e.shift())}catch(_0x2d5fd3){_0x455d2e.push(_0x455d2e.shift())}}(_0x3aba,475245),run(instance,properties,context)}"}},"AFW":{"caption":"Export HERE route","fields":{"AFl":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x1acb(){var _0x5604f2=[\"5056236OqPGpI\",\"629144akYaFy\",\"711590hXoEGr\",\"7YbMdKt\",\"30qcEuis\",\"626421VTfYTF\",\"5BcvOdg\",\"694260YySaHw\",\"1786676dWqrAb\",\"data\",\"2XgetZZ\",\"1515726ZzJrHO\"];return(_0x1acb=function(){return _0x5604f2})()}function _0x2464(_0xfa34e0,_0x49240a){var _0x1acb71=_0x1acb();return(_0x2464=function(_0x246406,_0x5e553a){var _0x352798;return _0x1acb71[_0x246406-=287]})(_0xfa34e0,_0x49240a)}function run(_0x2d8a2c,_0x6d2349,_0x1b0980){var _0x534bed;_0x2d8a2c[_0x2464(296)].actions.exportRoute(_0x6d2349)}!function(_0x5eaedc,_0xcee41c){for(var _0x7380a7=_0x2464,_0x49db8c=_0x5eaedc();;)try{var _0x2f03fd;if(390410===parseInt(_0x7380a7(294))/1+-parseInt(_0x7380a7(297))/2*(parseInt(_0x7380a7(292))/3)+-parseInt(_0x7380a7(295))/4*(-parseInt(_0x7380a7(293))/5)+-parseInt(_0x7380a7(298))/6*(parseInt(_0x7380a7(290))/7)+parseInt(_0x7380a7(288))/8+-parseInt(_0x7380a7(287))/9+-parseInt(_0x7380a7(291))/10*(-parseInt(_0x7380a7(289))/11))break;_0x49db8c.push(_0x49db8c.shift())}catch(_0x58f97f){_0x49db8c.push(_0x49db8c.shift())}}(_0x1acb,390410),run(instance,properties,context)}"}},"AFX":{"caption":"Add HERE route marker","fields":{"AFm":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"},"AFn":{"caption":"Latitude","editor":"DynamicValue","name":"latitude","optional":true,"rank":1,"value":"number"},"AFo":{"caption":"Longitude","editor":"DynamicValue","name":"longitude","optional":true,"rank":2,"value":"number"},"AFp":{"caption":"Use address instead","default_val":false,"editor":"Checkbox","name":"use_address_instead","rank":3},"AFq":{"caption":"Address","editor":"DynamicValue","name":"address","optional":true,"rank":4,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x2da5(_0x33f5e4,_0x36d1f1){var _0x4e8be2=_0x4e8b();return(_0x2da5=function(_0x2da53e,_0x5a49b8){var _0x5eabdb;return _0x4e8be2[_0x2da53e-=304]})(_0x33f5e4,_0x36d1f1)}function _0x4e8b(){var _0x2046e6=[\"101064NuAQwR\",\"1380100QpPpwh\",\"495cuQLCe\",\"21873432fXobev\",\"2629866YwMuCE\",\"6742kqtcsz\",\"10517542AqRdII\",\"777835mITVOD\"];return(_0x4e8b=function(){return _0x2046e6})()}function run(_0x23e445,_0x3f1ab0,_0xfd6ce4){_0x23e445.data.actions.addWfRouteMarker(_0x3f1ab0)}!function(_0x5480cb,_0x5e9d7c){for(var _0x2c1dc0=_0x2da5,_0x3c1e26=_0x5480cb();;)try{var _0x52f077;if(791442===parseInt(_0x2c1dc0(311))/1+parseInt(_0x2c1dc0(309))/2*(p
268arseInt(_0x2c1dc0(306))/3)+-parseInt(_0x2c1dc0(304))/4+parseInt(_0x2c1dc0(305))/5+parseInt(_0x2c1dc0(308))/6+parseInt(_0x2c1dc0(310))/7+-parseInt(_0x2c1dc0(307))/8)break;_0x3c1e26.push(_0x3c1e26.shift())}catch(_0x499c15){_0x3c1e26.push(_0x3c1e26.shift())}}(_0x4e8b,791442),run(instance,properties,context)}"}},"AFY":{"caption":"Show HERE route summary","fields":{"AFr":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x38a2(_0x4fe414,_0x499c08){var _0x3f124b=_0x3f12();return(_0x38a2=function(_0x38a2a3,_0x29bc31){var _0x25c032;return _0x3f124b[_0x38a2a3-=411]})(_0x4fe414,_0x499c08)}function _0x3f12(){var _0x1a8a3f=[\"4iWuAmb\",\"10wMLeEG\",\"398578BModdr\",\"1869376FnKFMq\",\"618DDPLeQ\",\"58815WZauip\",\"6360ixGbdN\",\"7955717iyEboz\",\"10442160ylvwIE\",\"data\",\"showRouteSummary\",\"3kWPjpU\",\"79827snjLYm\",\"4646097nmfLwA\"];return(_0x3f12=function(){return _0x1a8a3f})()}function run(_0x40c939,_0x3ff13a,_0xe0650d){var _0x18ca27=_0x38a2;_0x40c939[_0x18ca27(421)].actions[_0x18ca27(422)](_0x3ff13a)}!function(_0x5c8dce,_0x51b40b){for(var _0x48a4c5=_0x38a2,_0x3ffb25=_0x5c8dce();;)try{var _0x2cd810;if(685149===-parseInt(_0x48a4c5(412))/1*(parseInt(_0x48a4c5(414))/2)+parseInt(_0x48a4c5(423))/3*(-parseInt(_0x48a4c5(415))/4)+-parseInt(_0x48a4c5(417))/5*(parseInt(_0x48a4c5(416))/6)+parseInt(_0x48a4c5(419))/7+-parseInt(_0x48a4c5(420))/8+-parseInt(_0x48a4c5(411))/9*(parseInt(_0x48a4c5(413))/10)+parseInt(_0x48a4c5(424))/11*(parseInt(_0x48a4c5(418))/12))break;_0x3ffb25.push(_0x3ffb25.shift())}catch(_0xea6900){_0x3ffb25.push(_0x3ffb25.shift())}}(_0x3f12,685149),run(instance,properties,context)}"}},"AFZ":{"caption":"Remove HERE route marker by index","fields":{"AFs":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"},"AFt":{"caption":"Marker index (from origin)","default_val":1,"editor":"DynamicValue","name":"marker","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){function _0x1089(_0xdc155f,_0x36b343){var _0x83c856=_0x83c8();return(_0x1089=function(_0x1089a9,_0x4d6e2d){var _0x103ec2;return _0x83c856[_0x1089a9-=485]})(_0xdc155f,_0x36b343)}function _0x83c8(){var _0x3ae558=[\"14556040CEPnnO\",\"7661716DcVlET\",\"2047116yOxABE\",\"106721AwUbhb\",\"147ihxUno\",\"7997690NnPUWb\",\"497976akKvoW\",\"4210104ROKpHi\",\"removeMarkerByIndex\",\"18nJWLdI\",\"20lnQBoC\"];return(_0x83c8=function(){return _0x3ae558})()}function run(_0x1f70b5,_0x477b02,_0xbc0d4a){var _0x1db124=_0x1089;_0x1f70b5.data.actions[_0x1db124(488)](_0x477b02)}!function(_0x1aef83,_0x47fda4){for(var _0x244588=_0x1089,_0x3e0847=_0x1aef83();;)try{var _0x5f2d7c;if(997732===-parseInt(_0x244588(494))/1*(-parseInt(_0x244588(490))/2)+-parseInt(_0x244588(493))/3+-parseInt(_0x244588(492))/4+-parseInt(_0x244588(485))/5+-parseInt(_0x244588(486))/6*(-parseInt(_0x244588(495))/7)+-parseInt(_0x244588(487))/8+-parseInt(_0x244588(489))/9*(-parseInt(_0x244588(491))/10))break;_0x3e0847.push(_0x3e0847.shift())}catch(_0x256f2e){_0x3e0847.push(_0x3e0847.shift())}}(_0x83c8,997732),run(instance,properties,context)}"}},"AFa":{"caption":"Remove HERE route marker on click","fields":{"AFu":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x1062(){var _0x37e5c2=[\"20778YiUQzX\",\"1PUUNmg\",\"data\",\"1588485VSEKpi\",\"2723aZuzzz\",\"3657243MWUOEp\",\"2407546heCQUt\",\"980996dVtQZL\",\"10009720aKKElq\",\"removeMarkerOnClick\",\"46460790rACurB\"];return(_0x1062=function(){return _0x37e5c2})()}function _0x35d8(_0xece11b,_0x1ce9b7){var _0x106292=_0x1062();return(_0x35d8=function(_0x35d8e2,_0x19cb65){var _0x4a2620;return _0x106292[_0x35d8e2-=127]})(_0xece11b,_0x1ce9b7)}function run(_0x326f80,_0x21559c,_0x184763){var _0x59620d=_0x35d8;_0x326f80[_0x59620d(136)].actions[_0x59620d(132)](_0x21559c)}!function(_0x771d15,_0x43e745){for(var _0x55ad51=_0x35d8,_0x1ffe39=_0x771d15();;)try{var _0x171647;if(704080===-parseInt(_0x55ad51(135))/1*(parseInt(_0x55ad51(129))/2)+-parseInt(_0x55ad51(128))/3+parseInt(_0x55ad51(130))/4+parseInt(_0x55ad51(137))/5+-parseInt(_0x55ad51(134))/6*(parseInt(_0x55ad51(127))/7)+-parseInt(_0x55ad51(131))/8+parseInt(_0x55ad51(133))/9)break;_0x1ffe39.push(_0x1ffe39.shift())}catch(_0x20fb9d){_0x1ffe39.push(_0x1ffe39.shift())}}(_0x1062,704080),run(instance,properties,context)}"}},"AFb":{"caption":"Update HERE base route","fields":{"AFv":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x3557(_0x94fc51,_0x4cea9f){var _0x50db2e=_0x50db();return(_0x3557=function(_0x355775,_0x1ff53f){var _0x1d435c;return _0x50db2e[_0x355775-=393]})(_0x94fc51,_0x4cea9f)}function _0x50db(){var _0x1c42ff=[\"updateBaseRoute\",\"200njPnde\",\"327414MqkDrE\",\"92KwRhKc\",\"4221ecOqaw\",\"5SNkEvE\",\"634816oFSBoG\",\"actions\",\"5357SixYVG\",\"8VABhTz\",\"2338803iOhTiX\",\"450303MvpNrN\",\"390096YqPEAJ\",\"data\"];return(_0x50db=function(){return _0x1c42ff})()}function run(_0x4d0343,_0x193a51,_0x4d5867){var _0x5d7c15=_0x3557;
268_0x4d0343[_0x5d7c15(395)][_0x5d7c15(403)][_0x5d7c15(396)](_0x193a51)}!function(_0x3ee029,_0x5ed546){for(var _0x17dba0=_0x3557,_0x25f2e1=_0x3ee029();;)try{var _0x4766a7;if(177809===parseInt(_0x17dba0(400))/1*(-parseInt(_0x17dba0(399))/2)+parseInt(_0x17dba0(393))/3+parseInt(_0x17dba0(394))/4+parseInt(_0x17dba0(401))/5*(-parseInt(_0x17dba0(398))/6)+-parseInt(_0x17dba0(402))/7+-parseInt(_0x17dba0(405))/8*(-parseInt(_0x17dba0(406))/9)+parseInt(_0x17dba0(397))/10*(parseInt(_0x17dba0(404))/11))break;_0x25f2e1.push(_0x25f2e1.shift())}catch(_0x3e0a3f){_0x25f2e1.push(_0x25f2e1.shift())}}(_0x50db,177809),run(instance,properties,context)}"}},"AFw":{"caption":"Show this HERE route only and zoom","fields":{"AFx":{"caption":"Route name","editor":"DynamicValue","name":"route_name","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x1e09(_0x2e4f5a,_0x51c23a){var _0x332404=_0x3324();return(_0x1e09=function(_0x1e099c,_0x5c4a40){var _0x5ec42a;return _0x332404[_0x1e099c-=198]})(_0x2e4f5a,_0x51c23a)}function run(_0x2c5b0f,_0x4f3e35,_0xa184c3){var _0x5bf635=_0x1e09;_0x2c5b0f.data[_0x5bf635(203)][_0x5bf635(201)](_0x4f3e35)}function _0x3324(){var _0x5db5f6=[\"1786977UmfsLy\",\"40syfvIU\",\"3036455pkdwmz\",\"96042bdQEpA\",\"5448800SzrMgM\",\"6457752karuRm\",\"370288zqrliz\",\"7534830YgNPFo\",\"24bJuLQN\",\"showOnly\",\"24cpTufe\",\"actions\"];return(_0x3324=function(){return _0x5db5f6})()}!function(_0x16fed7,_0x468e61){for(var _0x502e37=_0x1e09,_0x2f6266=_0x16fed7();;)try{var _0x17d876;if(596191===-parseInt(_0x502e37(207))/1*(parseInt(_0x502e37(200))/2)+parseInt(_0x502e37(202))/3*(parseInt(_0x502e37(198))/4)+-parseInt(_0x502e37(206))/5+parseInt(_0x502e37(209))/6+parseInt(_0x502e37(208))/7+-parseInt(_0x502e37(205))/8*(parseInt(_0x502e37(204))/9)+parseInt(_0x502e37(199))/10)break;_0x2f6266.push(_0x2f6266.shift())}catch(_0x424fed){_0x2f6266.push(_0x2f6266.shift())}}(_0x3324,596191),run(instance,properties,context)}"}},"AFy":{"caption":"Load HERE routes from table","fields":{"AFz":{"caption":"Table source","editor":"DynamicValue","is_list":true,"name":"table_source","rank":0,"value":"_any_thing"},"AGA":{"caption":"Table type","editor":"custom_type","name":"table_type","rank":1},"AGB":{"caption":"Latitude field","editor":"custom_field_AGA","field_list":true,"name":"latitude_field","rank":2},"AGC":{"caption":"Longitude field","editor":"custom_field_AGA","field_list":true,"name":"longitude_field","rank":3},"AGD":{"caption":"Color field","editor":"custom_field_AGA","name":"color_field","rank":4,"optional":true},"AGE":{"caption":"Name field","editor":"custom_field_AGA","name":"name_field","rank":5},"AGF":{"caption":"Distance limit field","editor":"custom_field_AGA","name":"distance_limit_field","rank":6},"AGG":{"caption":"Show all routes","default_val":true,"editor":"Checkbox","name":"show_all_routes","rank":8},"AGZ":{"caption":"Route restriction field","editor":"custom_field_AGA","field_list":true,"name":"route_restriction_field","rank":7},"AGf":{"caption":"Base color field","editor":"custom_field_AGA","name":"base_color_field","rank":9}},"code":{"fn":"function(instance,properties,context){function run(_0x146438,_0x204e76,_0x32403c){var _0x23dc23=_0x1ce8;_0x146438[_0x23dc23(421)][_0x23dc23(428)][_0x23dc23(420)](_0x204e76)}function _0x1ce8(_0x10e91c,_0xd0a541){var _0x2617b9=_0x2617();return(_0x1ce8=function(_0x1ce80e,_0xc3613c){var _0x4d44c9;return _0x2617b9[_0x1ce80e-=417]})(_0x10e91c,_0xd0a541)}function _0x2617(){var _0x9bcfa8=[\"actions\",\"2503448JnYUAL\",\"17754110hOchHl\",\"4170504ADPIda\",\"1166290ZUZRqh\",\"loadRoutesFromTable\",\"data\",\"35hLGBLL\",\"62360OuobNl\",\"3FEnZAj\",\"888rnWUXQ\",\"734590kONutN\",\"14932962kACWfn\"];return(_0x2617=function(){return _0x9bcfa8})()}!function(_0x22b29b,_0x7861b1){for(var _0x46c6a7=_0x1ce8,_0x48759b=_0x22b29b();;)try{var _0x22f4df;if(950493===-parseInt(_0x46c6a7(419))/1+-parseInt(_0x46c6a7(426))/2*(parseInt(_0x46c6a7(424))/3)+-parseInt(_0x46c6a7(418))/4+parseInt(_0x46c6a7(423))/5*(parseInt(_0x46c6a7(425))/6)+parseInt(_0x46c6a7(422))/7*(parseInt(_0x46c6a7(429))/8)+-parseInt(_0x46c6a7(427))/9+parseInt(_0x46c6a7(417))/10)break;_0x48759b.push(_0x48759b.shift())}catch(_0x1d7c35){_0x48759b.push(_0x48759b.shift())}}(_0x2617,950493),run(instance,properties,context)}"}},"AHZ":{"caption":"Show custom popup on marker","fields":{"AHa":{"caption":"Custom popup URL","editor":"DynamicValue","name":"custom_popup_url","optional":true,"rank":0,"value":"text"},"AHb":{"caption":"Custom popup height","editor":"DynamicValue","name":"custom_popup_height","rank":2,"value":"text"},"AHc":{"caption":"Custom popup width","editor":"DynamicValue","name":"custom_popup_width","rank":3,"value":"text"},"AHg":{"caption":"Target marker unique ID","editor":"DynamicValue","name":"target_marker_unique_id","rank":4,"value":"text"},"AHh":{"caption":"In case you are using URL instead of HTML: Make sure your app settings about iframes is set to \"Same origin\". \"Allow all\" wil work, but everyone else on the internet will be able to display your pages in their apps and sites so it's not needed. \"Same origin\" makes only your app display your pages inside its pages.","editor":"Label","name":"make_sure_your_app_settings_about_iframes_is_set_to_\"same_origin\"._\"allow_all\"_wil_work,_but_everyone_else_on_the_internet_will_be_able_to_display_your_pages_in_their_apps_and_sites_so_it's_not_needed._\"same_origin\"_makes_only_your_app_display_your_pages_inside_its_pages.","rank":5},"AHl":{"caption":"Custom HTML","editor":"DynamicValue","name":"custom_html","optional":true,"rank":1,"value":"text"},"AHm":{"caption":"Border width","default_val":25,"editor":"DynamicValue","name":"border_width","rank":6,"value":"number"}},"code":{"fn":"function(instance,properties,context){function _0x55c7(_0x2638cc,_0x184c04){var _0x2f6eac=_0x2f6e();return(_0x55c7=function(_0x55c749,_0xcf959c){var _0x307317;return _0x2f6eac[_0x55c749-=153]})(_0x2638cc,_0x184c04)}function _0x2f6e(){var _0x5d893c=[\"border_width\",'<iframe width=\"',\"custom_popup_height\",\"bindPopup\",\"') center center no-repeat;\\n              }\",\"custom_popup_url\",'<div class=\"holds-the-iframe\"><iframe width=\"',\"style\",\".holds-the-iframe {\\n                background:url('\",\"openPopup\",\"921496DCWdhD\",\"1576506JHcRnJ\",\"1827mTljJy\",\"1569573esmQph\",\"3426846ONlYih\",\"https:\",\"296PihXXG\",'\" height=\"',\"http\",'\"></iframe></div>',\"identify\",\"5687110QwicCB\",\"10nSjXdT\",\"1IOotSp\",\"popup_sent_data_to_host_page\",\"1401636AgNMtl\",\"appendChild\",'\" srcdoc= \"',\"custom_html\",\"publishState\",\"substring\",\"content\",\"data\",'\" src=\"',\"data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJGRiZNTW1LS2tPT29BQSFJSWlFRSVDQyNHR2dMzOzOzu7KyurGxqbNze3Ly+vFxaXAwKDIyOjCwqLPz+/BweHKSipDw6PMzKzExKTOzq7KyqrCQmJGRmZNza3Ly6vPz6/BQWFJyanFRWVDQ2NHx+fNTS1PTy9LSytGxubOTi5MTCxF
268xeXAwODJSSlP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQIBgAAACwAAAAAQABAAAAG/sCacEgsGo/IpHLJbDqf0Kh0Sq1ar9isdsvteikPiHfcAGxa424AAFilua0NG/behtipulbTYcf0WRBsDiaAWCNsKIZXBDMAJ2iLVRhsLpJHFA0BCkomBymRezAInE0PbBshGpIgHgIeFE4QcmwdYnotCAK7HqFMLStsbCMgaQoUvB4whVEwKcIzGMxaJgSuHjGkVjEOwgdcyLssEVkKKCcAFlwkryDTWREJvlgm7pf3+Pn6+/yLFAkAAwZkUYcAhYMIEc4TEuGCsIfC/owhgIFGxYsWK5Yi0hAiRIleKGIYSRLjRiL/BAq8lQYECRgvY5KgsLCfzZs4c+oE1MJF+80qCiD8pGLiXDouGFIcqPCuCjdvXBg0SNHgAQIrzqBJ42LChQyqKTAUi6IgmLARBNK0QAHWQoGTS2YJswWIwoqpKUbEMoVK1SINAiZM5eCEhCa4RTxZGFpEwYQHTRu7wJB2CyUAlpqU2LBB0SUQjk6QKyIA5JAIDjZkGLsIEQDPRAQBYDmkAOcHkmQ7QFyCTQIjJgZwvgpIwwA2FY4k8H3EA+cGq/TcAZBHOfMjEzhnfqOAFh3rAH4fgWFgQwfEXNa0SbI8fBIMG07QqFPmDPvrR1qo2DCiDokwSrQnHhIsBPDdPgLuBN6ACg5BwQUz7NUgR6xNaOGFNwUBACH5BAgGAAAALAAAAABAAEAAhQQCBISChMTCxERCRKSipOTi5GRmZCQiJFRSVLSytPTy9JSWlNTS1BQSFHR2dIyKjExKTKyqrOzq7DQyNFxaXLy6vPz6/Nza3AwKDMzOzHRydJyenBweHHx+fDw6PISGhMTGxERGRKSmpOTm5GxqbFRWVLS2tPT29JyanNTW1BQWFHx6fIyOjExOTKyurOzu7FxeXLy+vPz+/Nze3AwODDw+PP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJtwSCwaj8ikcslsOp/QqHRKbVpO1axU4XIptODmKBIZhc/JcRlNnTkySolozZYiAJwvUm2uRz8AAB1pZH1+TwocgQV7ESKGh04RgSWNLpCRTDI1gQJHfJlQGYETFkagoU8GgShGL44vqU8jNAAqekQSsbJPLIEJvEkzCB9YSRYGJbhhMgoSpk0OgRwRMsE2CgUFM7tMGYqBNXCpFiPaBSPQTQodgYEGEpEWEuczCtZRBSXuNCzqYRZeaJsxQgI+KgImuDPAhh66Eca0nEChAgAFNi8IKvgH5oWJZWBknDh4raTJkyhTqjw5w4TLly8ZhHoxoqZNmyCFvMDgrqf+O0+HJJAZSjSCC442dvr0CdSPHBdFhx490hImzHGRaN68mXOl169gw4o9qSBB1yonUkQESNEiGwIaVoAgWSXhQjYiNJDQwOJCFn38/LGxEMOBXg0buj050W4hJjQK8mqYbAJpkm/uxMkasWCvhg6Mok2LYPmQjAwdJrtwcoHYWiPIKJw1wvhDaSEnKmyIh8YXAGBNBHiYIMKkhFoqFAsB0XSIghA1BihPtQpAqyKjAGAdkmCChw/Xsk94baNCIBNGZMDw4CEFLxkDAsU4YuL8kQzDSdA9NAlAJfr2HdEBexWkcgI4oRlRHwDofVLDBAiQxwYggiSxYINHoMDeBqEv3JGHhQEecUILHjgQygVvKHGhEikskGBKK44FIIMyUoUBDTPUeMQLvOno448yBgEAIfkECAYAAAAsAAAAAEAAQACFBAIEhIaExMbEREJE5ObkpKakZGJkHB4c1NbUtLa09Pb0lJaUDA4MVFJUdHZ0zM7M7O7srK6sNDI03N7cvL68XFpcjI6MbGpsJCYk/P78nJ6cFBYUDAoMzMrM7OrsrKqsZGZkJCIk3NrcvLq8/Pr8nJqcFBIUVFZUfH581NLU9PL0tLK05OLkxMLEXF5clJKU////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABv5AmHBILBqPyKRyyWw6n9CodEptqlTVrNRTcXm04Obj1HiEz8lH42RGTyeONjLVKLunDcABixzb71EBAAAoaWtygE4qB4MsfWSIiU0fgyePf5JOGQODLUdqbJlQD4MSJEZ+kaJLIIMlRhNrE6tPBAwAG3xECCK0UBaDK75JsQEKSiQGJ7rDRQ6DBx8ZzVMPjIMDqtRMKiiDgyBf21AsJ98MFqfjTy0S3wbrUAolGwAV8VEQCcz4/f7/AAMKBDQhgcGDB1OIUgGhoUOHx4xA4PCt4jdPiSAI6LCxI0eO6ohMtGgRIyAVAlK2UClgZYeQRAoiRKgNjQIVHhjqhHBloP7Pn0CDCuW2gp8WBRMiniFBz56bBBZKpJgGpt07NyMsaC3gqEq5c+nckOiwQKuFfVIUePsGgoAkBSNeaH0hAOYSa98GdKBF4IMFuSXcNnmmpwBVWiRElNBqcomIBsaQGahgFImCFwvsFiEhYAUEN8AACGvSgczoZh5ubfhcpMPeIgqUuaicqRWAV0UQHDigsAiFOrh9kQIgQekQCrspGCHh4MSJWbQ2DVJupMXuEUcQrEFxOBMlAJaOIN/QmIiFOgJWKbjW1QjyA9SNcDlxwTggQYSSvMeO5MOaCKLksYd+B5CXhAIgNGCBKCLEocQIu5VXhAgFCIaPdQYOBcN7EhD+xEIIGLQ3FE8almjiOkEAACH5BAgGAAAALAAAAABAAEAAhQQCBISChMTCxERCROTi5KSipCQiJGRmZNTS1PTy9LSytBQSFJSWlHR2dMzKzFRSVOzq7Nza3Pz6/Ly6vAwKDIyOjKyqrDQyNBweHJyenHx+fFxaXISGhMTGxOTm5HRydNTW1PT29LS2tBQWFJyanHx6fMzOzFRWVOzu7Nze3Pz+/Ly+vAwODKyurDw6PP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJdwSCwaj8ikcslsOp/QqHRKbaIg1aw0xaKktOCmCAAQhc/JcRlNTTVMygnZzJY+AJhEel6Xcsgae2t9UAkYZARIanSETxZkJ4p8jU8qLmQCR4uUUCZkFxJGm5xPB2QkRp4AcKROHiwAI3pFApmtTxVkCrdJKQ8cIUoSByezvEYNZBgWKsdTJodkLqzOhRpkZAdY1VAEJ9gsFaHcTwIX2AfkUCEkIwAb6lEoIsbx9vf4+fr7hCki/wABIuAUoqDBg+OKoKCArSE2W31CEJhIsSKBZgoZOmwIsY5EixVTYCziL2BAaoQkHFw5kp/LlzBjykySQEE9MBI8BEMjod3tOzYdLLQQGcYcOjYOLCidsI2KN3Di2EgA0UKphQ47111D56FRCBNWWyBIyAQatmmtUKwIi8JJMjzMeKnwJxSlkgi/sh4ZtuFmkhAFLJA1EgJEB79ZcgHY1QTEhw8rqkGANaJtEQR2X4Qo8aEBYkqmAKAqEuGCiwhGOjwucEzVBb1COrhw0cGIBA6PE7VSMYBMZCMOTNc2kuIxg8GEHgGIdEQ2bSQZHmf2GE13auFIIDzWgJzNHwCBkDgfrukxI0J38iSRfYE8YQ0fMnCK8EbJeCUEWjRV1wH7zBf3/eeBCwN09d8LCVh24IIM8hIEACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5KSmpCQiJGRmZNTW1LS2tPT29BQSFJSWlFRSVDQyNHR2dMzOzOzu7KyurNze3Ly+vFxaXAwKDIyOjCwqLGxubPz+/BweHJyenDw6PMzKzExKTOzq7KyqrCQmJGxqbNza3Ly6vPz6/BQWFJyanFRWVDQ2NHx+fNTS1PTy9LSytOTi5MTCxFxeXAwODJSSlP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCwaj8ikcslsOp/QqHRKbUZA1ax0IrNMtOBmAgBIhM/JcRlNnTwgyhLZnIywWmxjA7DBI9V0RyYuBQJ5RQFkK2lzSSwhIQiHRC0bZC9/jUctEgUJJpNEIWQpmWtHApCYoUMaHWQwR4BHIJAUGqxEEGQOoEWzRSYlBRIRuUUHZChGuwBwRROQz8dD
268BDIAJ35EMLFFCoQSCtRFF2QuTgQhEiRsEw0B4kkmBynaSyYCHrhoD2QbIfvGTYFgiUyHaQKjtFhBhswBLAmlvEjRUMYFXxGhwHDQ8EBGKQpQnABQ4eOUCAnsmVzJsqXLlzBXTkhAs2ZNFjGFRLDQsGf+w24wd/r0CRTmTJs2EeZcyrSp06dQhbRwoVKLiQgYw5gQSZINgnwEAmbZ2LGdgHwQqkKZWPEiGxMEPMA4SyIeFAUMOxIIZYLE2Xwvsi4h2PAgtRZfz6Z10o8PwIQgPJxdxYTEO7uCHozArMREghKCi2h4UZcNig0bSjghceGCUmogRGzAUBWBpGAMLjBQy+oB6gJGJqRo8KUIiwszVAtEgPpDaAgNUrzWUKA1xGMaGqD2cMTD8Nc0XrR+fMwFao9HWEQHT8PFjAvscinosMEA5SIe1iNp8R5FaDYzoHZBEtBJl4QArXHHygEbOMCZLvohsdUF57DyQgA4ERghEiAcwGBMSxB8F5UQBbK3FAgVxHBdVC3wNuKLMB4TBAAh+QQIBgAAACwAAAAAQABAAIUEAgSEhoTExsREQkSkpqTk5uRkYmQkIiTU1tRUUlS0trSUlpT09vR0cnQUEhSMjozMzsxMSkysrqzs7uw0MjTc3txcWly8vrx8enwMCgxsamykoqT8/vwcHhw8OjyMiozMysxERkSsqqzs6uxkZmTc2txUVlS8urycmpz8+vx0dnQUFhSUkpTU0tRMTky0srT08vTk4uRcXlzEwsR8fnwMDgw8Pjz///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCbcEgsGo/IpHLJbDqf0Kh0Sm1ORtWstFLLVLTgpgIAUITPyXEZTa2oIMoT2ZysEApsYwLQgaXnSQwaCQ95RQFkNH9rSCIJCRKGRDAdZDFIanRGIyYmGgySRCJkJpiARw8JJgKhRBw2ZDNHmUcIqjQprUQQZBS5RbRFKSomFiW6RSRkKEa8AHBFF4/MyEQFNQArfkUzskUMBiYy29VDD2QvTiAmCeloFQkBoEkp4eRLDA8Lv2cqZB0iOJSrAqESGRvQBkqBQYMMGRJYFEqJYcJhjQf8JD6ZQcGhAY1SGKBYAcACyCkTFNw7ybKly5cwY7KsoKCmTZstZAqZkMGh/k+H3mLy/PkzaEyaN28m1Mm0qdOnUKMOgfFipRYODASiSTGyJJsRMQrA0KqFo0c2E2JUCDuPCkWLGNmkmFAght0RGZ0waOiQBB5Jc9dWEJtXSUGHCKulKFB3cGEk/viIeByKgd0YE5yUiNf2SIoANDorSSEABNkjHK5QpkLAgwejSgqIEIFA44QQFCJYrfBFmAQREkQj++A6UpECDTT8JVJh9lJkCDxQkHFaCIIGDWoLOzE7czUOGlw/t64h+5ERBCRcqC7phHRFtbBrNyJg9iVdDBJ4sLG8yHUN830zmwKrhbEBBR4skMR15iHRAgG06aKCBy4IN8R/ARbBwQsiKbDSSgELZOiffEpMAIFVGiFQnohOMchiUxOooIJ3Ut0Ag4U15qhjNUEAACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5KSmpCQiJGRiZNTW1LS2tPT29BQSFFRSVDQyNHR2dJSSlMzOzOzu7KyurGxqbNze3Ly+vFxaXAwKDCwqLPz+/BweHDw6PJyanIyOjMzKzExKTOzq7KyqrCQmJGRmZNza3Ly6vPz6/BQWFFRWVDQ2NHx+fJSWlNTS1PTy9LSytGxubOTi5MTCxFxeXAwODP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCwaj8ikcslsOp/QqHRKbUZA1ayUMrtQtOBmAgBIhM/JcRlNpTggyhLZnIQ4vuwiA6BppedJLRoADHlFAWQqf2tIKmQBhkSCZDBIanRGMGQaCpFEIWQoloBHKGQhnkQZG2QxR5dHMWQbGalEEGQNJkawRSYNZHC2RCNkHEa4AMJEHGQjw0UEMwAnfkUxrkURJwAzWNBEHWQuTi5kHWwUDAGdSSYHKNZMLSgju2gOmyG14FQQg7OW9YvSwhEZACO+DYwCwxSZGR3uLYQSAxiZAxOlKODAzULGKRESyPtIsqTJkyhTlqSQoKVLlyxUColw4aDNg9lS0rx5M2f3SpYvXwqUSbSo0aNIkwppUaJd0gwFMGh4odTDAA1YHSCFMQKrBgwcnMpU0MGAVwcKibJI4ZVBTKQBsG5wIfEojAMPRhoxseKBWCUmSFCo288FCgZDk4AQIIDAxBYyGBz4SwOGY18eBHigbGvF4QpGCHTokFYIAcZ4wFGwwMABPyIUHnRIPSQDC8Z6PWVQwQAFgiMUOjwgcaSF5rfDBPRGdwTGaNpESMQQUNqQiQkMLFQXQmJ0peKaPbyOJKF3gSTOO3xvznh9pA4MRnAWEnu2u8zEUxEo4N5Id/uBUDDfQPVBd1Rw6im11AMPRKCgEAoM+OCEFEYSBAAh+QQIBgAAACwAAAAAQABAAIUEAgSEgoTEwsREQkTk4uSkoqRkZmQkIiTU0tRUUlT08vS0srSUlpQUEhR0dnSMiozMysxMSkzs6uysqqw0MjTc2txcWlz8+vy8urwMCgx0cnScnpwcHhx8fnw8OjyEhoTExsRERkTk5uSkpqRsamzU1tRUVlT09vS0trScmpwUFhR8enyMjozMzsxMTkzs7uysrqzc3txcXlz8/vy8vrwMDgw8Pjz///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCbcEgsGo/IpHLJbDqf0Kh0Sm2+JNWsNFbLxLTgJgoAQIXPyXEZTY05WkoM2ZxsOb7sYgLAUaTnSQocAAl5RR9kHX9rSB1kH4ZEgmQESGp0RgRkHCeRRBNkJpaARyZkE55EMzZkAkeXRwJkNjOpRC1kFBdGsEUXFGRwtkQGZClGuADCRClkBsNFIjUAKn5FAq5FLyoANVjQRCxkC04LZCxsMQkfnUkXBibWTAomBrvuJSDySw6bE7XgLhBYMGHCsiUtBs066OkFjQkjYCx48USBIzIADHwzdKJFwQkwELSDQsAUmRos7p25UALGRxAjpwgA5owNhI8YRIQ5kYKb/gU2IEDGAHjmBYp9YC6IiAmuqdOnUKNKnbokBoqrWLEioHrkRQaMYDFm4zrEa9iwY8kKsZo1K0O1cOPKnUu3bhYF+uyqWhDCgyK9N1rI8EDBAyS7IjoQ9hBihEq5PG0QtvGBYt0KLhaTKAGYQWEXNIjaJeCgAFNfIwo8VnLhiuimNDRo2NrkBAEClp0qcKBhxWkJG4fMuE1g9bAJJDSAMPKiYO4hCmKICD5MBAkHD17fEFFQZ5EZIm6fjjSDgQYSeKJB9O5LOnVPLc4XQMIdBvsiEsQPuxDg+nMi3E1wHxEXxECACMaxgYFsmBjB3QgDSnLbf3lsQEIHCQpRX4TCJ932HhsSoFBJEgFyOMQJL2To1IMmzrUhYNDBAANSel0wHow45uhUEAAh+QQIBgAAACwAAAAAQABAAIUEAgSEhoTExsREQkSkpqTk5uRkYmQcHhzU1tS0trSUlpT09vQMDgxUUlR0dnTMzsysrqzs7uw0MjTc3ty8vrycnpxcWlyMjoxsamwkJiT8/vwUFhQMCgzMysysqqzs6uxkZmQkIiTc2ty8urycmpz8+vwUEhRUVlR8fnzU0tS0srT08vTk4uTEwsSkoqRcXlyUkpT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCYcEgsGo/IpHLJbDqf0Kh0Sm1GPtWsdMLgTLTgZgIASITPyXEZTZ04HsoR2Zx8OL7sYgNwWKXnSSsHAA15RQFkKH9rSChkAYZEgmQsSGp0RixkBwuRRB5kJ5aARydkHp5EGgNkLUeXRy1kAyWpRA9kErVFsEUlEmRwtkQgZCRGuADCRCRkIMNFBQwAG35FLa5FERsADFjQRBdkKk4qZBdsEw0BnUklBifWTCsnILtICxAXBU4Omx4awMUoIQDDiQYunDwYNGtZqgkoDtbD02SFIzIAQHwzFIGERAse2kFhYYoMgwv3wpRQ8aLBwQsbp7QARsYAGwUuGzgQEWYB+AluFthcOGGAQkowERLI6/lgqcCnUKNKnUq16hAWFLJq1YrAqpEIGQ6IHUu2g1ciYMmS3XDA7NmrI+LKHdFiRIq3ePPq3cu3L5UFHUT61TACHgy/QhA4ONhAgd8PQ12+UHH07QIPFlyeIOEU7wQQOVFU8uviIAYBlfUWuAAh9ZASIxK41vvgwgWKfhfAuEBCsJAVEfKOsH23yAoBAnxThXzBRUBtHQQE96rBwwUYo7W16DDdKgLb5I5EQN6daokKMGCUlySgQ8ypHWwLSBKhhXSvKngrH3Kcu9f6/NAnQAvr9bXCdgXyNd59iAkBWGANvrZfhBRWCE0QACH5BAgGAAAALAAAAABAAEAAhQQCBISChMTCxERCROTi5KSipCQiJGRmZNTS1PTy9LSytBQSFJSWlHR2dMzKzFRSVOzq7Nza3Pz6/Ly6vAwKDIyOjKyqrDQyNBweHJyenHx+fFxaXISGhMTGxOTm5HRydNTW1PT29LS2tBQWFJyanHx6fMzOzFRWVOzu7Nze3Pz+/Ly+vAwODKyurDw6PP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJdwSCwaj8ikcslsOp/QqHRKbaIg1aw0xaKktOCmCAAQhc/JcRlNTTVMygnZnDQ1vuziA4BJpOdJCRgAD3lFHGQaf2tIGmQchkSCZARIanRGBGQYIZFEFmQnloBHJ2QWnkQqLmQCR5dHAmQuKqlEJmQXEkawRRIXZHC2RAdkJEa4AMJEJGQHw0UeLAAjfkUCrkUoIwAsWNBEFWQKTgpkFWwpDxydSRIHJ9ZMCScHu4EcD3hMDZsWteAkWBgEoIETEwQBuFiWysQAMnwYLkngCOKBb4Y8FIOoQd4TAqbIsKhw70yICgsgntg3RQAwZ2w2AriwIkwIEtw2sDE1gkH+yTAoRHgEk0ABCnBIkypdyrSp0yceOkidOjWCLRQesmrVOlRIAhdgw4a9sNATBAto06pt8VMIigEuyMqNC1YimrNq87I9EpUqVaupsG7d2vWp4cOIEytGHAJE28VDVHQo8aEAZCMpKnzYbPmy2wKbD5RY8RixBBGhP1g46pmAhs0fGFTyLETBZg0mSi+GkEFEOyQqHHTQDTkCWg+0iYRoYWFvkRC/EZtAC1g5AQLRn6JAKwKgdeyIVaxAi/F79qYE0HZAEoJAivNLT6OF/6K9B/pJQaC1O6Q9eMMdNOedEf7hh1QCJrCGhAQp/JecEAU+2N91BiomgXsDPqhChhIGdujhUkEAACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5KSmpCQiJGRmZNTW1PT29LS2tBQSFJSWlFRSVDQyNHR2dMzOzOzu7Nze3Ly+vFxaXAwKDIyOjLSyt
268CwqLGxubPz+/BweHJyenDw6PMzKzExKTOzq7KyqrCQmJGxqbNza3Pz6/Ly6vBQWFJyanFRWVDQ2NHx+fNTS1PTy9OTi5MTCxFxeXAwODJSSlP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJlwSCwaj8ikcslsOp/QqHRKbUZA1axUEqtItOCmAgBQhM/JcRlNlTwgShPZnIQ8vuxiA7BppedJLRsADXlFAWQrf2tIK2QBhkSCZC5IanRGLmQbCZFEIWQploBHKWQhnkQaHWQvR5dHL2QdGqlEEGQOJUawRSUOZHC2RAdkKEa4AMJEKGQHw0UEMQAnfkUvrkURJwAxWNBEFmQXThdkFmwuBwydSSUHKdZMLSkHu4EBDXhMARsbHRdqgSsRYhCAB05YqPC3oQECaBAGkOGzbJ4FAwwffDMEotjEFfKeqGOIAUW7MyUsTAu1b4qHARnZeATgYEKYEgUcbBjBhgLYNQb3zkQwcTJMiwsRwCldyrSp06dQn4CAQLVq1ZaGJFjdulEShRQNwIoN69ATCbJjxVIIKaQFDLRwUzyMhCAu2rVHCFBlAYGFB74ssOZx8bdvYb9doypezLixY8cJJAR9XEQDCxQWMFEe4qKAhc8mNg85+tmCDA+THZcQIOOzDBNsHRPA/DkEAdFDXnzmQCL15ggXUCspIaE37mgCBCQ9LmS1B+HMZ5AQ8OJ29BbJWfjejECAh+XMQSQnEX2GBg/ei+J2kbxS+enQoydwEbu8/fv48+vfTzkIACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5KSmpGRmZCQiJNTW1FRSVLS2tPT29BQSFJSWlHR2dMzOzExKTOzu7KyurDQyNNze3FxaXLy+vAwKDIyOjHRydPz+/BweHKSipHx+fDw6PIyKjMzKzERGROzq7KyqrGxqbNza3FRWVLy6vPz6/BQWFJyanHx6fNTS1ExOTPTy9LSytOTi5FxeXMTCxAwODDw+PP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJpwSCwaj8ikcslsOp/QqHRKbUZE1ayUMrtQtOCmAgBQhM/JcRlNpTgeyhPZnHw4vuxiArBxpedJLhsACXlFAWQdf2tIHWQBhkSCZDBIanRGMGQbC5FEI2QmloBHJmQjnkQaNGQyR5dHMmQ0GqlED2QTKEawRSgTZHC2RAZkKka4AMJEKmQGw0UEMwApfkUyrkURKQAzWNBEGGQvTi9kGGwwDhydSSgGJtZMLiYGu4EBCXhMDR4TCRbuQdMwYhAAB04QtPDgjwQCaA8GkOGzjMkCFTQYeggQwZOIYhM7yHtCoMMEhiEKCAyzAAODiSb2TXkQw99GNiABTLAQRoP+BAgeFKGpQK3BSjAuZLQ74+JFR3BQo0qdSrWqVScREGjdupWALRYKwooVK3PIAgcZ0qpVS6IsGgET40688FQSWhIZ8OpN6/aMLLlx6R4RwbWw11QPxirue7Wx48eQIztGAeOoFhQELGfRUELCCAFsQBR4QUGzFBEnRqgGEXpEgREnvlFZIEB1AQkIaqHRgMCzagFLn6Bgodr1A9NgFjxwPUICC+RGIrxwLcFC3VQRZNh26oTFbQUwdENDQUGB6opKXAhAAB3FFfFhUCAQMBIpDBjBJRMhDyOz/iMR3Hfdf0JQRgEB8BFYAwH95UfgAvfJpmANGtxHQYIEuiDghEQTiHAghgS6Bx2HJJZo4okopohiEAAh+QQIBgAAACwAAAAAQABAAIUEAgSEhoTExsREQkTk5uSsqqxkYmQcHhzU1tT09vSUlpS8vrwMDgxUUlR0dnTMzszs7uy0srTc3txcWlyMjoxsamw0MjT8/vykoqQUFhQMCgzMyszs6uysrqxkZmQkIiTc2tz8+vycmpzEwsQUEhRUVlR8fnzU0tT08vS0trTk4uRcXlyUkpT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCWcEgsGo/IpHLJbDqf0Kh0Sm1CONWsVMLQSLTgZgoASIXPyXEZTZU4Hkq1OflwfNnFBuCASpPnRygHAA14RQFkJn5rSCZkAYZEgmQqSHJIKmQHCZFEBWQlln9IJWQFnUQXA2QjR5dGI2QDIahED2QWtEWvRCEWZHC1RB5kIka3AMFEImQewkUEDAAZfUUjrUUQGQAMWM9EFGQRThFkFGwEFB26SAkGJZxNKCUe7IEBDXdMGA0lFQIXvrUIUWAQAAdOJHjo18CEPlQPVmlSxiRBgQkl+omA0IkDMTIATFSDwoFCxhIrItgDk4CFNFAPpSBwwFABm48ALCwIc2GB14EGLNhMmKZgpRYUD+KdQRGBo8CnUKNKnUq1qhEUErJq1eqt04MUYMOGjSmkJQUWZ9OipUCgUyyQcMlocErELIW7eO+yqBRJQNy4cwNJUAGCsGEQXSN9FSuWrNXHkCNLniw1BASjWRI8GMmTgwABINiwaGBgAWYpSAVsAM1GwUkHCDKD+KxaRUA0ISKsYEghsZMQKmhvAKEUDwrXGScUKL4k9eoTnDtJMHHSg+MjEj5v8F0rhIAK/TD8Lny6VoIObCmrX8++vfv38OPLn0+/vv37+PPrNxIEACH5BAgGAAAALAAAAABAAEAAhQQCBISChMTCxERCROTi5KSipCQiJGRmZNTS1PTy9LSytJSSlHR2dBQSFDQyNFRSVMzKzOzq7KyqrGxubNza3Pz6/Ly6vJyanAwKDIyOjCwqLHx+fBweHDw6PFxaXISGhMTGxExKTOTm5KSmpCQmJGxqbNTW1PT29LS2tJSWlHx6fBQWFDQ2NFRWVMzOzOzu7KyurHRydNze3Pz+/Ly+vJyenAwODP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJtwSCwaj8ikcslsOp/QqHRKbb4i1axUZsPItOAmCgBAhc/JcRlNJXwQSrU56WJ82cUDh3VKk+dHCRwAD3hFCxwcGUkKf0kbZB+GRCcdKyQESHJIBGQcfZNDCoklmo5HLWQSoUQzD4kQR41rRgJkHTOsRAiJIRVGm0UVDmQuukUMiQVGCMVGF2QHx0URGhwOL7UgRi8rADZY00QXiRZOs4toETUWoEgVMSXuSwktB79JCR8Pd0wKEzECuMglroKEQQAYOCGwIQbAFJmOuRhABgAHY04qoGAAcIKEBKFElKgIYAPIKC8KdFRBA9+ZExkaVGzRbwqFDB1XoTlQ0QH+jTAzQKiIsQyNBwArUrgMcwLBPDAJFGQTR7Wq1atYs2p1kkCE169fp4ZCgKKsWbM1h1SAIaGt27fhDIEgSRcABrFDTrB9+3YEXja26la8Gwis4b94XJxdnHar48eQI0uOPOMEwTNREWeZkYAAAc1Vjq64sLTKCRGeP7PhScaBgCwVIqSWkeAy0ww2ZkaEwlmGZxkvbLMRwZrMhqdKKqQmIKL0JBcdKl508oKADBHIWc04SEZhk9jB2VQAAUF4EX38HItoa2JykrUSYGR3f0NGW4z0hVloC9p9hBEw0GBefiC0tVt+ebWFgnP5ITCCBO0hSIRGEmwjIREvuHDShRwJdujhhyCGmFUQACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCRKSmpOTm5GRiZCQiJJSWlNTW1FRSVLS2tPT29BQSFHR2dIyOjMzOzExKTKyurOzu7DQyNJyenNze3FxaXLy+vAwKDGxqbPz+/BweHHx+fDw6PIyKjMzKzERGRKyqrOzq7GRmZJyanNza3FRWVLy6vPz6/BQWFHx6fJSSlNTS1ExOTLSytPTy9KSipOTi5FxeXMTCxAwODDw+PP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJtwSCwaj8ikcslsOp/QqHRKbU5G1azUUstYtODmAgBYhM/JcRlNLbBMSrU5CXF82cUVxcVIk+dHMBwACnhFFR4eJX5rSB1kAYZEDAoeNgVIckgyZBx9kkMoHhQdmX9IJ2QioEQbJIkQR5pGNGQ2G6xEJqMzuEWzRCkUZLG5RAGJEkYtxEYlZCTGRRMhHhEwtAJGEyoANVjSRAQUHtpNL2QPbBMvIClKKQEdn0wwJyTvSTABCndMNA8eVDCRT9oGEYMAOHBSoETAByIwGYMwgAwADsWapBDA4iEKenhGkLAIoAO2KDBePOjIAkLBMAweNLB4wt8UGTE8shlJhgLdhjAbW
268jgEFOYCABUIXoJhQHDdgpPhokqdSrWq1atNGEzYypUrSEMtFogdO9bmkBQgBKRdq5aGAKh4apGcm2GCkY0CBLjdq/YtKLlzLdY9wgDGCBgTDBtOnAsC2cdmsUqeTLmy5ct4UtrFjMSoihJKOd/gCYACDdGTHtSgKQP1EJEk57kWAsGGRYyzbxxMuBArAxZJlTDgF3kqBAUnXuQWAsOAghlwXWNAvmj5BgfIi3NOcEJBB1+5H3Q3l3vEhRMaQosWoUCBsuUMSJz4sFyIBQIS6+vfz7+///9ZBAEAIfkECAYAAAAsAAAAAEAAQACFBAIEhIaExMbEREJE5ObkpKakZGJkHB4c1NbUtLa09Pb0DA4MlJKUVFJUdHZ0zM7M7O7srK6s3N7cvL68XFpcbGpsNDI0/P78FBYUnJqcDAoMjI6MzMrM7OrsrKqsZGZkJCIk3NrcvLq8/Pr8FBIUlJaUVFZUfH581NLU9PL0tLK05OLkxMLEXF5c////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABv5Al3BILBqPyKRyyWw6n9CodEptQjrVrFSy0Ei04GYCAEiEz8lxGU0lFL5psjn5cMDZxE3jo0iK5EkpBwANeEURDSYeSSqASCdkAYZEIxUNFFhHanNGK2QHfZNDAiYNG0ibSCZki6JDFyelCJqORSxkAyOuRBIUDQ4XRqlFIxZkD7tFJaUTRijHRhlkH8lFKS0NBqFELCxGEBgAC5nVQyqlyE2NAKdoKQIIukkjJQzbSykmH/JIKQENd5Y88OAhwYpg5UZ4GATAgRMIKggWmACh2oMBZAAcSNdkxIMIBD08uMemw4eMAE6kkKJAQMgIIfiFUbCBREYTAaV0SCCRY/GYk2QsNANzQUKECBzYUACAoYRMMCNWPNUCIUHFclizat3KtatXJyMUiB07diqbBwnSqlWbU8iFFXDjyl1BEo0AlHgBaLhKCa4EAnP/1j1zK2/GvUfCkiVrFg3atWvbfp1MubLly5jZpFDBN7ORpRgyNMYMFIAFb56J0Fxwc0VqIiZRnhiM+WLGja+HjCjA0OHXFBT2KfEHcPK6dpc7kBsCTtzyyRAIdhYiDQA1ywQIEjBSDFrl7B62Gymc67t2VazMh0ci4RPtrODFH4EEQNLk+EkUDCp0/zwdO5Thl9sQAg7oQgpHrWSgEGEt6OCDXQUBACH5BAgGAAAALAAAAABAAEAAhQQCBISChMTCxERCROTi5KSipGRmZBweHNTS1PTy9JSWlLSytAwODFRSVHR2dMzKzOzq7DQyNNza3Pz6/Ly6vFxaXIyOjCQmJJyenBQWFHx+fAwKDISGhMTGxOTm5KyqrHRydCQiJNTW1PT29JyanLS2tBQSFFRWVHx6fMzOzOzu7Nze3Pz+/Ly+vFxeXP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJdwSCwaj8ikcslsOp/QqHRKbapU1ayUcLkQtOBm63Bohc/J8YGCpkIW3zSZnUw5Vm0jBqSZyDMCSQkHAA15RRQgICVyB4FIKAAAHIdEIwGKWEdjgEgrGwAHI5VEKYoYSAJkj0YNkh+kRBMWihJHFAedRgKSA36xQx6KFr9EamZFExGSKcBFBYodRghkCEYkkgbORQkOICijRQ8PRioZAAwQ20UtitZNC5IWbSMSBCxKEwUYxUsqFQbCIRnBoQGeJgQ6dHigbt0LFh9CSHLgJMEDhR1EJNiWYoCkUM2cTCBwUeGKfm08GPgIQMPGKPUWCnhwr80sEx9PHKSSIAXexp1hVkqKgEzLBAgXbaGpACCDApRGIUDNoqKEJodYs2rdyrWr169EEJQYS5YsULAvOrBcC2DDVbS82H50i7ZU2btn6+rdy7ev378vEix4C/gF0wwkpvIVCiACq78jLDDIGQcwBMYtBf7t+PFASMATPhACQNFrAoCKhSQomDdrPADz9ooQYSTBuXR6V5wweC2b3hS7Pw9Rxqwu8AbCh8T1hRZBgxPJh5x4hTbF8+hCCEgSBfY4diEaJFH6ah16khGEDH11jlyJndZZvRceUv47XwgVXDScH/gl//8AahUEACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5KSmpCQiJNTW1LS2tGRmZPT29BQSFJSWlMzOzFRSVOzu7KyurNze3Ly+vAwKDIyOjDQyNHR2dPz+/BweHJyenFxaXMzKzOzq7KyqrNza3Ly6vPz6/BQWFJyanNTS1FRWVPTy9LSytOTi5MTCxAwODJSSlDw6PHx+fP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJZwSCwaj8ikcslsOp/QqHRKbZYe1ayUsBoQtOCmYLUShM9JQaWMpj5QHOWYnWxYIm2jiSJSpFcVZkgKGAAOeUUCFBSCRxtrjUYsAAABiEQgGSoqWEdzkUQnlBh+l0MeiyZIanRGJJQdppgdiyeeZKBCKJQrF7JEBCoUBSBGY4FGIBWUDb9FH4sjRh5kB0YZlAnORQrCfUYNzUUlIQApcdtEDYt4TSaUFG0gHA++SSAfCMVNDxoJpYMCOGjH5MGJEwRKpBNyoYMBShacgDh4kMC+Xw0GUAKAQVyTCwYjEDjx4GIeAgk2AmChMMq8ExEO1pNHYcFGEgSnKBgps03+SkoVJIS5UGJkpzMaAIRgYBLMBQX2zpQwcXSh1atYs2rdyrXrkBEIwooVm9NrCwEq0wKYUNXrLrUb2ZpVN7Zu2bl48+rdy7dvi6lt/SYNIaIp358AKqDwK0QBhRQ3bTHmgHglwL4NVmzsyLhFw0IAIqK5sEGAYSQl/J0eUkLg3SweOnT44g4eVgUQOkAwjCLXg3Lnrm6QfbcBMyMisll90KHAh6hDEFBCkGwZAI+/LkiQja6IdADUjbztte2E7FxCvod3BcsZCAS6WxpRjyTCBI6XER1oLg0JfSSTVPKLAB2YsFoL/x1RQiGHyFJCA4ERkeARdnjg1YR+YdiXfSkMvMbXA911JuKIWgUBACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5KSmpGRiZBweHNTW1LS2tPT29AwODJSSlFRSVHR2dMzOzOzu7KyurNze3Ly+vFxaXGxqbDQyNPz+/BQWFJyanAwKDIyOjMzKzOzq7KyqrGRmZCQiJNza3Ly6vPz6/BQSFJSWlFRWVHx+fNTS1PTy9LSytOTi5MTCxFxeXP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJdwSCwaj8ikcslsOp/QqHRKbaZS1ay0Q2l1tODmw9R4hM/JR8NkRk9TD4gStW4jHw6J2yjwqEZpdUkpBwANe0UIHh4oaWR2RicAAAGIRCMJBREKd4JHKxoAB5yWQyuLAnePSCaTHqVEFxOLX0ZqbEcskwOAsEMQHgUTvURjZUYjFpOQvi4Pi3pFEmvRRBmTH81FChEeEcRDCCFGKSQAC7XaQyGLBE4qkxvqRSMCHOBKEBQGpEgKAQ2qzYtywQOISQ4GSnkwYJIoZgqVdPjgEMAJLBGZjNiwwKEJgRmVGHBoYULIJxQAYCiB76SSFCrkuJxJs6bNmzhpokjAs2feT5A0BVQcCkCDTJu6iDo0mvOBz6dAc0qdSrWqVXUwj15NiSFDS6kUJ1lgcVUBR48rrk6seKIfVYYOD0DMOaJAIQAJ0YwowcDtSwofvg5JATBqFRWrmsADIE9hihYN+BlhkaoIBAzn0qkrQcZkkQfLjFwDkG2eBAoNHFwwkmBSAmTKAMxFdOHEGgRHWgN4PXmXYDcC1jQ2IsI1K1fNRlRoQEEzEd28jUiYNMpXhDUFkkBPIomSrw0NPvh9btxfoUOwCBRIq738HQfjZm6/6mL+VQkaFhiWCsE5/f8AzhMEACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5CQiJKSmpGRmZNTW1LS2tPT29BQSFDQyNHR2dFRSVJSSlMzOzOzu7KyurGxubNze3Ly+vAwKDCwqLPz+/BweHDw6PFxaXIyOjMzKzExKTOzq7CQmJKyqrGxqbNza3Ly6vPz6/BQWFDQ2NHx+fFRWVJyanNTS1PTy9LSytHRydOTi5MTCxAwODP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJlwSCwaj8ikcslsOp/QqHRKbSpY1aw00mhEtOAmwuVChM/J8cSMnipe2LRrrVwFXm3jSNApyctJLCcZB3lFLwICeEgIE4BIHBkZD4ZEGB18CoxzbEYvBRkacZVCH4kjm3RHIpItpEUIiaNEjY9FHRkmDhivRCx8ELywnEYlAxkFK71FewIfnmSLRAaSLstFJXx9RhQURhEMGRfP10SIAl9NJJIq5UUYIyN+ViIN80gsAQ7e7lMYIRkAAGjQTwqEAQIBZIBQ8MmHAwkBoJjVMEkJDjESpuBXkQlEgQwqdHyyAYAJFZpGOmHRIp3KlzBjypxJ8+WKBDhz5uQoU0D+xJ8ALLiMCQNoRKE1IehcyrOm06dQo0pFUuLFvTAsh4KBJyGEgDYlT16t8oFEiLMd2nwEwABGFgUCzhqQgEDYGQUYNUp7UmLF2RAGIIxFQ2CtxJRNIrQALKGC1koQNCRc6GTF3AQv7C77F3DgSgEIBhNRcGADxUAbDogekm9fGw4CXTWRIJBDww8ZTTwW4LYICxMAYpBz97FdE
268QgCGRZRIbCQO+RsEQ8hITBBMQbJy2FACECkkQTVj1QQqEEzqRACUyABD8D6kRQCQyxT0HkvEfbuuVlQKN1QAIEoJIFfEigIFEAvDih02hAD4hOQA72M0IBy64WXBAQNoPJSg1MScSgVBRbE0FRUEQw31YkodhQEACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCRKSmpOTm5GRiZCQiJFRSVJSWlNTW1LS2tPT29BQSFHR2dIyOjExKTKyurOzu7DQyNFxaXNze3AwKDMzOzGxqbKSipLy+vPz+/BweHHx+fDw6PIyKjERGRKyqrOzq7GRmZFRWVJyanNza3Pz6/BQWFHx6fJSSlExOTLSytPTy9FxeXOTi5AwODNTS1MTCxDw+PP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCwaj8ikcslsOp/QqHRKbTIY1ay0pVJJtOBm5fGohM/JscqMnp4kJ+W4rDSpCm2j6FWIIysqH2xHJxAeDnlFEi8vX0gvH3RIJRMeGYlEGwWMfkZqg0UFMx4rWJhDLS8Vjp5koEQpHh4ap6GbpkWQa0cxlSMbtUQnjAXARXOvNCcusgrBRXsvLUYFgSJGER4TH89FJxWbxkR8Ri2GIKzdQi0VL7hLMtoE6kUbEnBODB0BnUcMAQiS0XOyIQQHAAAQDYxyYQBCABwuLHwiYsRDAB2mTWRy4gGMhyQEbjxi4OEEWiOdUACAIkG/lEtasEgHs6bNmzhz6kwZY4H+z58/RaYUcLEoAAs0a8owehHpzgtAowrdSbWq1atYhzC48A6MzKRZNmgwgEBFm5UoSrykosABAgQkErQpiXCCjCwiHpCA64LF2iwMPIJ8IYVBCApwSZTQmKiAxYcdusoZARdBB8LPLsx4GNFJhr0YBPzFVPBgQicFHkQYLYTBCAqMY1IYwZpGC4BTpTxAyMJJBIQPJor4iCKpgLtFWqAAAOPawMcljFxAKLFICYQjBk4HMEHyAoQLjJyYQF3dBocAUBb5DiC8EQ0IZ4irFQIhCSTs3RshgTDEMwamYWZEfn8gxIFkbQSAUAdJEIhEBwgFEAwCEMW2HnhJAAgAAsEhmOBAdfhhmMQFDphgk4NZoYhVBRbAkFtOEjiX1Yw0phQEACH5BAgGAAAALAAAAABAAEAAhQQCBISGhMTGxERCROTm5KSmpGRiZBweHPT29LS2tNTW1AwODJSSlFRSVHR2dOzu7KyurFxaXMzOzGxqbDQyNPz+/Ly+vNze3BQWFJyanAwKDIyOjOzq7KyqrGRmZCQiJPz6/BQSFJSWlFRWVHx+fPTy9LSytFxeXNTS1MTCxOTi5P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJVwSCwaj8ikcslsOp/QqHRKbYIQ1ay0BIGUtOAmodMhhM/JcRnNLqrNyUsB3oa+k4hJY1OP3pEdDQ0QfXZkdEUcIyMTWIVOf0YbIw0Cj0+RRAqUJBWXkIdGFQ4NERefTg9kD0YWDSMZqE8ciEIIBg0nX7JVEq8mvFkIDCIgSggBDafBUhUdBwAADsxREgPRAAcS1E4cHtgAJLvcSiAbC9gjy+RLBtgUFuxOEQAYxfJOJSas+P3+/wAD9itBoKBBg/wKoUjAsGHDdURAQCBDsWIHDoUEgNsIQEPCIQgmWqRY4CObFBzBeTxC8OBBk20kOJwJUaDNmzhz6kSib1zwGH0ws4DIgAFABDYj6mUwBiYFBWwG2HyLRiFFFhVJoy3YwPQMgnPpVEhBQAKch1povIEj4aiJBGjRBmz7ZA2bNicOoh0o0PUTiAJwpzW50CBA2yMgDETwqaREBA99jZRIVlPLhmjAmkCIxocZB3QYYAqwWqRE0QUYg02NVURCtLlEMkTzEMw1AAqHhSSIlsAIiKcAYF+qcA1APCO7AfRuFTdynw7RRiBJvtxI1g6fEMAVe4Q6kgt6c7cJEI1EEu9IygIIcKlBNsZE0B/RDqDBpQsOhCPnrUSCg8rUyKeTgDldoMECAN70QGo7NeggO0EAACH5BAgGAAAALAAAAABAAEAAhQQCBISChMTCxERCROTi5KSipGRmZCQiJPTy9NTS1LSytHR2dBQSFJSWlFRSVDQyNMzKzOzq7GxubPz6/Ly6vFxaXAwKDIyOjKyqrCwqLNze3Hx+fBweHJyenDw6PISGhMTGxExKTOTm5KSmpGxqbCQmJPT29NTW1LS2tHx6fBQWFJyanFRWVDQ2NMzOzOzu7HRydPz+/Ly+vFxeXAwODP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJpwSCwaj8ikcslsOp/QqHRKbU4m1azUBAGZtODmCwR5hc/JMciMbhMR5IiSoJC7oy/BOjnZSDp3eF1sRygwMBSBUGMQdkYvhxtYik5jAoRFBRIwLpRPCAJlRxowEg2TnkxqmEITF6UEqU5cAl9FIKUYsk8vCEYmKTALvrtVCaUyxVkTHRioRyYNBrHKUjEKHhwcH9VRJw7aHA8J3U4RC+EHF8TlShMrGeEk1O1LMOEDEPVOEhwZIzH2OUFAgZ3AgwgTKly4L4KLhxAhavCUAIXFixcnGkFQgYUDjyA/OjihCASAkyhTWmBVA8EMkSFBkgwkIKVNACuPiHiYwEX+Agg9E2hU5AKj0aEMkypdyrRpEgQKDIKBynLZChUAKrRhAUDFimdVBDxAaaCNAZQPBGQhwPUkjQtgtZi4QAMlC3pPTGxIaUCEoghnUW6w1cQFB5QeOqVy4QElB8VMFpzkgCHgrhgYDgNY4ESDgw9Si0wwUCE0Eo4G4r754AApmAsnFThRcPJCtwh1VbAEobbIC6w0HO0KvMKIi5OQh6w4WbbYcQAPCA+hcBKFkQljASSnFGPAyWRGUFQ/UhOAB8ueMJxkgUQ8AOtH2uryZEIzXiLu4RvRYAEAB+l3fHDSBknkl8ReAHBDiQP+mSaEgacd5oAnpGxXBIRIuLCAa+UTYNiUh0zxRwOHS70gnFMoplhOEAAh+QQIBgAAACwAAAAAQABAAIUEAgSEhoTExsREQkSkpqTk5uRkZmQkIiSUlpTU1tRUUlS0trT09vQUEhR0dnSMjozMzsxMSkysrqzs7uw0MjScnpzc3txcWly8vrwMCgz8/vwcHhx8fnw8OjyMiozMysxERkSsqqzs6uxsamycmpzc2txUVlS8urz8+vwUFhR8enyUkpTU0tRMTky0srT08vSkoqTk4uRcXlzEwsQMDgw8Pjz///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/kCbcEgsGo/IpHLJbDqf0Kh0Sm1qUNWsFBWLYbVgJiNmYYTPyXHBjG4TxzE2UjSbuKVwuRGFeLjuUXlJAg8PH4BQgkcvKw8VX4hNikYuhSWRT5NEMYUhGphOmkIaMIUioE4oFnFGLA8rJ6iZekJ8r7SyURavh2gvAgmQYSgLJ8JGDDAOMU4QISELMZ+yKBgtHRQIThMuzwQYdqAlIxQdHS2XqRASzyEQuGcTHuYdNSTwSwwC7RIlx1ooCIDA1sFBgSwiFniD0CYAQRkMwWiwIEFCrzMcOkSQMO0Ml39ZXtTJRbKkyZMoU6o8YmGBy5cvWWCCALOmhSMTMgDYybPn/gxEAnoKBZAhHJGcQ30CTcqzKMuaMCMiognV5c2VWLNq3coV6wsXL9p8NTqMRAoAF9qYAJCCBEgpMyjwNNDGAE8KP6vEWLuTxoO3VBg8oMHTBLNAHHoaOAhIhF2eHPAdgbCBZw2pkSDU4LkBsxIHOzeEAOxGQ4jKABw4KaEggGQbKAxcCNvkxQUDpF8EUHD1zIOdf5pI2PnApAjCKcgKEZCXyIuzNE6RfEzCCISdnm2Q2Ek313UAFHCd2Llgj1wA2QFpGLATw5EF5
268I9g2FmjY6QQO00ggQ+g/BG+IYDCAGqHGcGff0ZYENprYASwEwdJHJhEYgAEgIkCAGxA23vxKiExIAAKYFKCA+kNIWESEDiQjkondmVghy4WYUEGNPQW41HS3ajjji4GAQAh+QQIBgAAACwAAAAAQABAAIUEAgSEhoTExsREQkTk5uSsqqxkYmQcHhzU1tT09vS8uryUlpQMDgxUUlR0dnTMzszs7uy0srQ0MjTc3txcWlyMjoxsamwkJiT8/vzEwsSkoqQUFhQMCgzMyszs6uysrqxkZmQkIiTc2tz8+vy8vrycmpwUEhRUVlR8fnzU0tT08vS0trTk4uRcXlyUkpT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCXcEgsGo/IpHLJbDqf0Kh0Sq1ar9isdsvtereQlOrbHUUKAjI3VSgg1NpEezWCZwXtiR3raZMwe1YYCm0QgVYibQ+HVSMfBR8JjFQEbW9bBBUfdVsjAh2ASQkfFQROGg0nFgKhe54WJw0aThMgqQ0oenYTKLEnILpNchS+JYZfKiW+FAWSUR4Vvi0RnFpmLbcuHlYIDrcLXAu+DpdXgwYnLlzRBgqtWQkdztYdY5P3+Pn6+/yBEysAAwZMAScFiYMIEbI4AoEDgIcQI2Yg0+GAxYsYLxwj0jCiRwATvwjASPJACHtF/gkUuEgNAgUZFMicmWFhv5s4c+rceU9F/gSUWXxuzDKixAYAFLicALChRDUrGSRANMAFBEQJIamwWPqQQYWnWBJUYADxhE0oCVBEBGHqiwerEFHMY/LgAMQBHfY8GADxQEsmDh4eaHYIQwG7ABw4EdEgwFwjIwxQAKpEBQUQYIuoCNAgWJYKDyM4+fCwwj0PZDcMFSIg6xAVRxlsYwS3hJEHD/8OKfEQBCPcACQ8fqHg4QrIUgHoVoOBLwASR1YYP0Li4YDMXgo8PIFEOoDjR7gWsJMA8dki3sEbmSB4OJcAD1EkSZ9ELYAAcBoAOECZCH0k5QHQABwiOLAcetMl8YADIvTzH08Ifgfhehww4NmEQkAwG4YcBHaYUxAAIfkECAYAAAAsAAAAAEAAQACFBAIEhIKExMLEREJE5OLkpKKkJCIkZGZk1NLU9PL0FBIUlJaUtLK0dHZ0zMrMVFJU7Ors3Nrc/Pr8vLq8DAoMjI6MNDI0HB4cnJ6cfH58XFpchIaExMbE5ObkrKqsdHJ01NbU9Pb0FBYUnJqctLa0fHp8zM7MVFZU7O7s3N7c/P78vL68DA4MPDo8////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABv5Al3BILBqPyKRyyWw6n9CodEqtWq/YrHbL7Xq3iVTo25WYOBEyl8DhENTakIPjUMGzkTbkjkW1EXxXKgh0CYFWEG1ph1QSbQ5jjFN+Dm9bKQ8bkVoSERF2SRITGHtNDQAAFx6gfGYBHx8MTiYXqAAtJnwdC7AfGZZNCRm2AAelXgkesAcfJJtPBCe2LBUSXBIrDb0YKFYCFrYHXAW9G4tXISMiABrjHw0crFkoJIZbISDPkvv8/f7/AOGkIEGwYEFAavK0WbiwwxEUFIhJBCCAjIkWFlpo3LjRHhGIE4lV/HJRY8aTGQd0MzLQoMFcCRnKdBiwps2bOHPuS8DAY+wWnis5qWPHRZqIEdawfAvH5YAtCyOpRJtWjUuICixsnQD2JMSwcDS9QHBqK4M+JbRs4eJz0dYFmExOpVp1SIWHWgAaOImQ6SwRCQc0+FSSQMOBpEgSbHiQgksFVLKaMEBVYR+ErCKCDuEQdQiKdSyOBSI7wogJVHCHjEAl7tBpABbOTkBFwogEcABSq1ExANWKIyRoHxGAqoU8Mh5QnUASHEDtI9IAeLgTAi9XIs2fs4x4we+WDagyJMme5OsGOA9SDcYuPHGtB3AiNNBdhHwSEw3O+bOvs377/kSkQAELjQFYBAqiGajggjUFAQAh+QQIBgAAACwAAAAAQABAAIUEAgSEhoTExsREQkTk5uSkpqQkIiRkZmTU1tS0trT09vQUEhSUlpRUUlQ0MjR0dnTMzszs7uysrqzc3ty8vrxcWlwMCgyMjowsKixsbmz8/vwcHhycnpw8OjzMysxMSkzs6uysqqwkJiRsamzc2ty8urz8+vwUFhScmpxUVlQ0NjR8fnzU0tT08vS0srTk4uTEwsRcXlwMDgyUkpT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/kCacEgsGo/IpHLJbDqf0Kh0Sq1ar9isdsvteluQCNYUMXmJgpDLXNW8XqDzEBEKsayRt1hOMyUKEgpUJi8TBBp8Qi91AlQgLwQtiUIaFHVxUQqFmJM0ESEFFGxOGgRvgp1CEHUTUC16qUMKEiESo0smBBMvt6kkdQROmi97WhMNAahIJgIevUkaIBGIScwuxUsPAAAbIdSdJiQoFxcwThAb2wAdEJ0gIeQzKMFOLSvqAAecXS0l5BczBCh78iKFOhkXnlkx4YHBPxeSqsBwoO4AlwT/CrzIogDFCQAVLspjobBKhAQRtSggMTCWy5cwY8qcSXPIhAQ4c+a8w2cC/oSfQIHuGxLBAr6jAMydQZCiQdOnThvESEnUKFJ1Sr0wjQq16dQjN3XqbMfnBQQWZ9OiHVqzrdu3cOPKbAGRi4IS2MZ4BMllxAYMBb5ZmViRy4MNiD80qlLwYEK7KDAg3jBiY6Z7Fel5AXEYsYELVJegU8euE4sGk1XwZKKNm7dYJlyoQBzACQlkLYuYOFAhdJIWFQ6UFNJixohWWy5sc+FEwrYLMEHIAHAiLw0BWYe0+CiDbaID21AYgbCNLBEU2yzGIg/AQe4S2xIYMUERgPlEGgZso3AkQfwjFGzTgWByhLBNCkj4B4B8RxgEQAiTKJAOAJYZoSCDRkxg1Aa5PXERwDYrJHFhEpjVxkcD3Pg2xIhItJBOA4mQ8MB9Fv6XBAQPkNAWi3LVuGCPYFkgA3JAFhGBd0UmqaRbQQAAIfkECAYAAAAsAAAAAEAAQACFBAIEhIaExMbEREJEpKak5ObkZGJkJCIk1NbUVFJUtLa0lJaU9Pb0dHJ0FBIUjI6MzM7MTEpMrK6s7O7sNDI03N7cXFpcvL68fHp8DAoMbGpspKKk/P78HB4cPDo8jIqMzMrMREZErKqs7OrsZGZk3NrcVFZUvLq8nJqc/Pr8dHZ0FBYUlJKU1NLUTE5MtLK09PL05OLkXF5cxMLEfH58DA4MPD48////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABv7Am3BILBqPyKRyyWw6n9CodEqtWq/YrHbL7XoLhIp3/EiQGOOuJGESpbkpTcIyem8FpsTDruXQ8gh8WRUWCSocglgLeReJVzAyCQZojlUveRCVRxUJAZRIKQssn1kpCAIwTioAAB0iiIkpMQoiIplNEB2sADa3dhMXtQQvE08wNLsAJHVjDBC1IhItKVIxJrs1D9RbphLQqFYzFLsGXCDQCsVYDCgrABZcAtEVsFoTCqncBaSa/f7/AAMKtFNBgcGDB1vYiYGgoUOH6opMyJCsIoAZaSo00NCgo8eOKvIRmWgxGcYxGjtyXMkx5CaEMH2NKfCwJrOBOHPq3MlTE/6MFyKzMJgRFEuKdu+40PAQQUK9cONYldsSgIIHDzJkVrvGKts2LSkIhLDqAUMBKQyQ7SJxdsyED1cp2EDBT0muXb0EIdBw1YOLEqpYufrKh4MCFx4oLHBSolNdIikMWCiaBIYFEoSNMNigIgaXB6xeOJHAao+mETUArIg4RMBJIjDc1biZiAQrFEYgsNJ6AwUrEpV0A6BQ9wQrBUZSROU9hsMAVo2MKDh+5AIrG0/TiGBlAsl0AMiPcHVjh4EuAJ6PfA9vpILgx1RZ0UiyPonaAHYStKI8pD4S8wAkYEcJKjDXH3VJQKACYAL511MRDj44RAUZ1CCGhBLRhuGGHAPiFAQAOw==\",\"custom_popup_width\",\"head\",\"5fQpzOr\",\"addEventListener\",\"target_marker_unique_id\",\"createElement\"];return(_0x2f6e=function(){return _0x5d893c})()}function run(_0x36bef5,_0x4157ab,_0x2a773){var _0x49c242=_0x55c7,_0x57d06f=_0x49c242(188);const _0x215c85=_0x1155d1=>{var _0x31463e=_0x49c242;return _0x1155d1[_0x31463e(184)](0,4)===_0x31463e(172)?_0x1155d1:_0x31463e(169)+_0x1155d1};if(window[_0x49c242(192)](\"message\",(_0x42c03f=>{var _0x48b161=_0x49c242;\"leafyMaps\"===_0x42c03f.data[_0x48b161(174)]&&(_0x36bef5[_0x48b161(183)](\"data_from_popup\",_0x42c03f[_0x48b161(186)][_0x48b161(185)]),_0x36bef5.triggerEvent(_0x48b161(178)))}),!1),_0x4157ab[_0x49c242(159)]){var _0x5c8356=_0x215c85(_0x4157ab[_0x49c242(159)]),_0x2e9130=_0
268x49c242(160)+_0x4157ab[_0x49c242(189)]+_0x49c242(171)+_0x4157ab[_0x49c242(156)]+_0x49c242(187)+_0x5c8356+_0x49c242(173),_0x35e66a=document[_0x49c242(153)](_0x49c242(161));_0x35e66a.innerHTML=_0x49c242(162)+_0x57d06f+_0x49c242(158),document[_0x49c242(190)][_0x49c242(180)](_0x35e66a)}else var _0xa83d85=_0x4157ab[_0x49c242(182)].replaceAll('\"',\"'\"),_0x2e9130=_0x49c242(155)+_0x4157ab.custom_popup_width+_0x49c242(171)+_0x4157ab.custom_popup_height+_0x49c242(181)+_0xa83d85+'\"></iframe>';let _0x331ccb={maxWidth:parseInt(_0x4157ab[_0x49c242(189)])+_0x4157ab[_0x49c242(154)],maxHeight:parseInt(_0x4157ab[_0x49c242(156)])+_0x4157ab[_0x49c242(154)]};_0x36bef5.data[\"\"+_0x4157ab[_0x49c242(193)]][_0x49c242(157)](_0x2e9130,_0x331ccb)[_0x49c242(163)]()}!function(_0x31b71d,_0x30bf17){for(var _0x5c7a59=_0x55c7,_0x41dec4=_0x31b71d();;)try{var _0x5c43bd;if(416970===-parseInt(_0x5c7a59(177))/1*(-parseInt(_0x5c7a59(164))/2)+parseInt(_0x5c7a59(165))/3+-parseInt(_0x5c7a59(179))/4+-parseInt(_0x5c7a59(191))/5*(parseInt(_0x5c7a59(168))/6)+-parseInt(_0x5c7a59(166))/7*(-parseInt(_0x5c7a59(170))/8)+-parseInt(_0x5c7a59(167))/9*(parseInt(_0x5c7a59(176))/10)+parseInt(_0x5c7a59(175))/11)break;_0x41dec4.push(_0x41dec4.shift())}catch(_0x3df472){_0x41dec4.push(_0x41dec4.shift())}}(_0x2f6e,416970),run(instance,properties,context)}"}},"AIJ":{"caption":"Toggle drawing mode","code":{"fn":"function(instance,properties,context){function _0x5f1f(_0x2c48a2,_0x5eeff6){const _0x6f72ca=_0x6f72();return(_0x5f1f=function(_0x5f1f41,_0x1caf3c){let _0x5df75c;return _0x6f72ca[_0x5f1f41-=160]})(_0x2c48a2,_0x5eeff6)}function run(_0x58b0a6,_0x25cfa8,_0x4c134b){const _0x3f621f=_0x5f1f;let _0x3b8196;(0,_0x58b0a6[_0x3f621f(166)][_0x3f621f(167)])()}function _0x6f72(){const _0x575568=[\"3476142PIrCHU\",\"15613LbDJbk\",\"7673872wrOYlz\",\"13949289Ccgpvg\",\"10NngrCS\",\"204BtYzMq\",\"data\",\"toggleDrawingMode\",\"331933vKmluz\",\"13621806oBWhMb\",\"5wGbxWw\",\"3671964rppZdq\",\"14aODhvA\"];return(_0x6f72=function(){return _0x575568})()}!function(_0x5454a3,_0x284d19){const _0x155fee=_0x5f1f,_0x29c08e=_0x5454a3();for(;;)try{const _0x1cb39c=undefined;if(833155===parseInt(_0x155fee(161))/1*(parseInt(_0x155fee(172))/2)+-parseInt(_0x155fee(160))/3+parseInt(_0x155fee(171))/4*(parseInt(_0x155fee(170))/5)+-parseInt(_0x155fee(165))/6*(-parseInt(_0x155fee(168))/7)+-parseInt(_0x155fee(162))/8+parseInt(_0x155fee(163))/9*(parseInt(_0x155fee(164))/10)+-parseInt(_0x155fee(169))/11)break;_0x29c08e.push(_0x29c08e.shift())}catch(_0x55130f){_0x29c08e.push(_0x29c08e.shift())}}(_0x6f72,833155),run(instance,properties,context)}"}},"AIK":{"caption":"Close polygon","code":{"fn":"function(instance,properties,context){function _0x4f58(_0x53039c,_0x3141f4){const _0x3af32d=_0x3af3();return(_0x4f58=function(_0x4f5829,_0xb4548b){let _0x1b613d;return _0x3af32d[_0x4f5829-=350]})(_0x53039c,_0x3141f4)}function run(_0x273d2c,_0x3a524f,_0x349680){const _0x779686=undefined;let _0x44fcb8;(0,_0x273d2c[_0x4f58(358)].closePolygon)()}function _0x3af3(){const _0x14e9bf=[\"49slYkHv\",\"data\",\"9095TdyqJf\",\"14142ZwHeRN\",\"4eWSHXu\",\"459610OUYwXy\",\"345834dlqqlM\",\"4010182yZdMqz\",\"1660452CrtuJD\",\"30UNhojf\",\"184foenmp\",\"630232cjIsrV\",\"144lXyreG\"];return(_0x3af3=function(){return _0x14e9bf})()}!function(_0x15eca4,_0x397859){const _0x17bd86=_0x4f58,_0x59f94c=_0x15eca4();for(;;)try{const _0x173603=undefined;if(968532===-parseInt(_0x17bd86(359))/1*(-parseInt(_0x17bd86(361))/2)+-parseInt(_0x17bd86(360))/3*(parseInt(_0x17bd86(354))/4)+-parseInt(_0x17bd86(353))/5*(parseInt(_0x17bd86(350))/6)+-parseInt(_0x17bd86(357))/7*(-parseInt(_0x17bd86(355))/8)+parseInt(_0x17bd86(356))/9*(parseInt(_0x17bd86(362))/10)+parseInt(_0x17bd86(351))/11+-parseInt(_0x17bd86(352))/12)break;_0x59f94c.push(_0x59f94c.shift())}catch(_0x34021f){_0x59f94c.push(_0x59f94c.shift())}}(_0x3af3,968532),run(instance,properties,context)}"}},"AIL":{"caption":"Delete vertex","fields":{"AIM":{"caption":"All","default_val":false,"editor":"DynamicValue","name":"all","rank":0,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){function _0x3141(){const _0x40c6b0=[\"data\",\"28QDezXy\",\"442623TAaknU\",\"40AxjuNp\",\"deleteAllVertex\",\"584991hdnxxP\",\"8920604PmWozD\",\"2379402QrYNlS\",\"2079230ysUVRX\",\"24181164dXHtaG\",\"230iBwbnC\",\"898GzIKae\",\"deleteVertex\",\"18MZENOT\",\"313LMuWyB\",\"all\"];return(_0x3141=function(){return _0x40c6b0})()}function _0xdabe(_0x4c9010,_0x5a96c0){const _0x3141a7=_0x3141();return(_0xdabe=function(_0xdabea2,_0x58640c){let _0x42c8f2;return _0x3141a7[_0xdabea2-=423]})(_0x4c9010,_0x5a96c0)}function run(_0x161cc2,_0x3ac07d,_0x2cc039){const _0x5904db=_0xdabe;let _0x1a9edf=_0x161cc2[_0x5904db(433)][_0x5904db(429)],_0x4aab4b=_0x161cc2[_0x5904db(433)][_0x5904db(437)];_0x3ac07d[_0x5904db(432)]?_0x4aab4b():_0x1a9edf()}!function(_0x3ef80c,_0x488117){const _0x448626=_0xdabe,_0x40389d=_0x3ef80c();for(;;)try{const _0x54dabe=undefined;if(913666===-parseInt(_0x448626(431))/1*(parseInt(_0x448626(428))/2)+parseInt(_0x448626(435))/3*(-parseInt(_0x448626(434))/4)+-parseInt(_0x448626(425))/5*(-parseInt(_0x448626(430))/6)+-parseInt(_0x448626(423))/7+-parseInt(_0x448626(436))/8*(-parseInt(_0x448626(424))/9)+parseInt(_0x448626(427))/10*(-parseInt(_0x448626(438))/11)+parseInt(_0x448626(426))/12)break;_0x40389d.push(_0x40389d.shift())}catch(_0x5e3b42){_0x40389d.push(_0x40389d.shift())}}(_0x3141,913666),run(instance,properties,context)}"}},"AIk":{"caption":"Check if point is contained in polygon area (geofence)","fields":{"AIl":{"caption":"Is the point contained in the Polygon? returns yes or no. Useful for geofence related features.","editor":"Label","name":"will_return_a_boolean_(yes/no)_type_on_this_map_element's_state_pol
268ygon.","rank":0},"AIm":{"caption":"Latitude","editor":"DynamicValue","name":"point_latitude","rank":1,"value":"number"},"AIn":{"caption":"Longitude","editor":"DynamicValue","name":"point_longitude","rank":2,"value":"number"}},"code":{"fn":"function(instance,properties,context){function run(_0x31c7bd,_0x19b8fb,_0x13dc7e){var _0xf60ef9=_0x535b;_0x31c7bd[_0xf60ef9(464)].isThePointContained=!1,_0x31c7bd[_0xf60ef9(451)](_0xf60ef9(463),!1);let _0x2ea8f8=_0x31c7bd[_0xf60ef9(464)].mymap,_0x2b38d8=(_0xa85378,_0xe5bb0c,_0x23481b)=>{var _0xd02c7b=_0xf60ef9;let _0x5e2470=!1;for(var _0x4bf002=0;_0x4bf002<_0x23481b.getLatLngs()[_0xd02c7b(462)];_0x4bf002++)for(var _0x4ab6a9=_0x23481b[_0xd02c7b(442)]()[_0x4bf002],_0x581b0e=0,_0x2a50ec=_0x4ab6a9.length-1;_0x581b0e<_0x4ab6a9[_0xd02c7b(462)];_0x2a50ec=_0x581b0e++){var _0x2cbf9a=_0x4ab6a9[_0x581b0e].lat,_0x57b18b=_0x4ab6a9[_0x581b0e].lng,_0x2b14e5=_0x4ab6a9[_0x2a50ec][_0xd02c7b(453)],_0x3f8dd9=_0x4ab6a9[_0x2a50ec][_0xd02c7b(455)],_0x91c4ca;_0x57b18b>_0xe5bb0c!=_0x3f8dd9>_0xe5bb0c&&_0xa85378<(_0x2b14e5-_0x2cbf9a)*(_0xe5bb0c-_0x57b18b)/(_0x3f8dd9-_0x57b18b)+_0x2cbf9a&&(_0x5e2470=!_0x5e2470)}return _0x5e2470};for(let _0x4b53cb in _0x2ea8f8[_0xf60ef9(466)]){let _0x4b1b0c=_0x2ea8f8[_0xf60ef9(466)][_0x4b53cb];if(!(_0x4b1b0c instanceof L.Polygon))continue;let _0x4ad4de=_0x4b1b0c;if(_0x31c7bd.data[_0xf60ef9(444)]=_0x2b38d8(_0x19b8fb[_0xf60ef9(450)],_0x19b8fb.point_longitude,_0x4ad4de),_0x31c7bd[_0xf60ef9(464)][_0xf60ef9(444)])return _0x31c7bd[_0xf60ef9(451)](_0xf60ef9(463),_0x31c7bd[_0xf60ef9(464)][_0xf60ef9(444)]),_0x31c7bd[_0xf60ef9(451)](_0xf60ef9(456),_0x4ad4de[_0xf60ef9(465)]),void _0x31c7bd.triggerEvent(\"user_location_is_inside_area\")}_0x31c7bd[_0xf60ef9(451)](\"point_is_contained_polygon\",!1),_0x31c7bd[_0xf60ef9(451)](_0xf60ef9(456),\"\"),_0x31c7bd[_0xf60ef9(461)](_0xf60ef9(458))}function _0x535b(_0x396f41,_0x9369e){var _0x177107=_0x1771();return(_0x535b=function(_0x535b3e,_0x208dd5){var _0x3c931e;return _0x177107[_0x535b3e-=442]})(_0x396f41,_0x9369e)}function _0x1771(){var _0x1be3aa=[\"user_location_is_outside_area\",\"66eJnfTG\",\"953865ulGIVL\",\"triggerEvent\",\"length\",\"point_is_contained_polygon\",\"data\",\"zone\",\"_layers\",\"getLatLngs\",\"1144904fEeVPj\",\"isThePointContained\",\"279349xkiNrT\",\"14397azBebc\",\"14NZTJLi\",\"2550950AkdZvP\",\"989844lteLMe\",\"point_latitude\",\"publishState\",\"18dqGrQW\",\"lat\",\"709136KlKXlF\",\"lng\",\"which_zone_is_the_point_contained_in\",\"68lWQQZW\"];return(_0x1771=function(){return _0x1be3aa})()}!function(_0x35013d,_0x3033cf){for(var _0x454c52=_0x535b,_0x221e66=_0x35013d();;)try{var _0x5af9c8;if(389669===-parseInt(_0x454c52(445))/1+-parseInt(_0x454c52(454))/2+-parseInt(_0x454c52(446))/3*(parseInt(_0x454c52(457))/4)+parseInt(_0x454c52(460))/5+-parseInt(_0x454c52(449))/6*(parseInt(_0x454c52(447))/7)+parseInt(_0x454c52(443))/8*(-parseInt(_0x454c52(452))/9)+-parseInt(_0x454c52(448))/10*(-parseInt(_0x454c52(459))/11))break;_0x221e66.push(_0x221e66.shift())}catch(_0x244715){_0x221e66.push(_0x221e66.shift())}}(_0x1771,389669),run(instance,properties,context)}"}},"AIq":{"caption":"Draw list of polygons","fields":{"AIr":{"caption":"Thing type","editor":"custom_type","name":"thing_type","rank":0},"AIt":{"caption":"Data source","editor":"DynamicValue","is_list":true,"name":"data_source","rank":1,"value":"custom_data_AIr"},"AIu":{"caption":"Latitude","editor":"custom_field_AIr","name":"latitude","rank":2},"AIv":{"caption":"Longitude","editor":"custom_field_AIr","name":"longitude","rank":3},"AIw":{"caption":"Unique name","editor":"DynamicValue","name":"polygon_class_name","rank":4,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x19ac(){const _0x61924b=[\"latitude\",\"data\",\"1380912pIAqIC\",\"960379kHAoLD\",\"34979OSYnOO\",\"length\",\"polygon_class_name\",\"563142nOrBog\",\"12aWgMpx\",\"data_source\",\"addTo\",\"polygon\",\"get\",\"push\",\"286445xkiZrz\",\"longitude\",\"3ishfVo\",\"1288449ltztEs\",\"108458CQFMyF\"];return(_0x19ac=function(){return _0x61924b})()}function _0x36a8(_0x2c3255,_0x21b904){const _0x19ac7c=_0x19ac();return(_0x36a8=function(_0x36a888,_0x149363){let _0x44d55a;return _0x19ac7c[_0x36a888-=164]}
268)(_0x2c3255,_0x21b904)}function run(_0x5339a7,_0x949318,_0xcd8c53){const _0x31ddc5=_0x36a8,_0x270d61=function(_0x1978bf){const _0x5f35a8=_0x36a8;return _0x1978bf?\"function\"!=typeof _0x1978bf[_0x5f35a8(179)]||\"function\"!=typeof _0x1978bf[_0x5f35a8(172)]?[]:_0x1978bf[_0x5f35a8(179)](0,_0x1978bf[_0x5f35a8(172)]()):[]};let _0x27d72d=_0x270d61(_0x949318[_0x31ddc5(176)]);for(let _0x445cb9=0;_0x445cb9<_0x27d72d[_0x31ddc5(172)];_0x445cb9++){let _0x5a9fe1,_0x35a14b=_0x270d61(_0x27d72d[_0x445cb9].get(_0x949318[_0x31ddc5(167)])),_0x12fa3e,_0x504801=_0x270d61(_0x27d72d[_0x445cb9].get(_0x949318[_0x31ddc5(182)])),_0x2417c5=[];for(let _0x536bc6=0;_0x536bc6<_0x35a14b[_0x31ddc5(172)];_0x536bc6++)_0x2417c5[_0x31ddc5(180)]([_0x35a14b[_0x536bc6],_0x504801[_0x536bc6]]);_0x5339a7.data[\"\"+_0x949318[_0x31ddc5(173)]+(_0x445cb9+1)]=L[_0x31ddc5(178)](_0x2417c5)[_0x31ddc5(177)](_0x5339a7[_0x31ddc5(168)].mymap)}}!function(_0x18e77e,_0xcc7d52){const _0x3b7ab2=_0x36a8,_0x5c2e6c=_0x18e77e();for(;;)try{const _0x43f604=undefined;if(107890===-parseInt(_0x3b7ab2(171))/1+parseInt(_0x3b7ab2(166))/2*(parseInt(_0x3b7ab2(164))/3)+-parseInt(_0x3b7ab2(175))/4*(parseInt(_0x3b7ab2(181))/5)+parseInt(_0x3b7ab2(174))/6+parseInt(_0x3b7ab2(170))/7+parseInt(_0x3b7ab2(169))/8+-parseInt(_0x3b7ab2(165))/9)break;_0x5c2e6c.push(_0x5c2e6c.shift())}catch(_0x373182){_0x5c2e6c.push(_0x5c2e6c.shift())}}(_0x19ac,107890),run(instance,properties,context)}"}},"AJX":{"caption":"Create container to get coordinate from address from Mapbox","fields":{"AJd":{"caption":"This specific workflow action uses Geocoding from Mapbox. You may only use responses from the Mapbox Geocoding API in conjunction with a Mapbox map. It is their policy. If you need something else, another geocoding vendor can be implemented for you, get in touch with me (plugin maker).","editor":"Label","name":"_you_may_only_use_responses_from_the_geocoding_api_in_conjunction_with_a_mapbox_map._it_is_their_policy._if_you_need_something_else,_it_can_be_custom_created_for_you.","rank":1},"AJi":{"caption":"Query container ID","editor":"DynamicValue","name":"query_container","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0xa245(_0x3b4049,_0x4c3158){const _0x50b7fb=_0x50b7();return(_0xa245=function(_0xa2453f,_0x5af85c){let _0x40701e;return _0x50b7fb[_0xa2453f-=200]})(_0x3b4049,_0x4c3158)}function run(_0x3964fb,_0x45898c,_0x222c0d){const _0x589311=_0xa245,_0x4ebf97=new MapboxGeocoder({accessToken:_0x222c0d[_0x589311(226)][_0x589311(202)]});_0x4ebf97[_0x589311(209)](\"#\"+_0x45898c[_0x589311(217)]);var _0x441862=document[_0x589311(200)](_0x589311(216));_0x441862[_0x589311(223)]=_0x589311(213),document[_0x589311(204)][_0x589311(225)](_0x441862),_0x4ebf97.on(_0x589311(218),(_0x5a29cb=>{const _0x2bb17b=_0x589311;_0x3964fb[_0x2bb17b(219)](_0x2bb17b(227),_0x5a29cb[_0x2bb17b(218)].geometry.coordinates[0]),_0x3964fb[_0x2bb17b(219)](\"geocoded_latitude_mapbox\",_0x5a29cb[_0x2bb17b(218)][_0x2bb17b(221)][_0x2bb17b(222)][1]),_0x3964fb.publishState(_0x2bb17b(206),_0x5a29cb[_0x2bb17b(218)].place_name),_0x3964fb.publishState(_0x2bb17b(215),_0x5a29cb.result.text),_0x3964fb[_0x2bb17b(208)](_0x2bb17b(205))}))}function _0x50b7(){const _0x42f079=[\"1246232hoFzhS\",\"\\n        .mapboxgl-ctrl-geocoder {\\n            min-width: 100%;\\n            } \\n            \\n            \",\"1085304QDEezn\",\"geocoded_short_name_mapbox\",\"style\",\"query_container\",\"result\",\"publishState\",\"13718700cxLpVR\",\"geometry\",\"coordinates\",\"innerHTML\",\"1302810nvTrQa\",\"appendChild\",\"keys\",\"geocoded_longitude_mapbox\",\"createElement\",\"1346526ndIlUT\",\"Mapbox access token\",\"1bEDCRd\",\"head\",\"coordinates_from_address_attained_from_mapbox\",\"geocoded_full_name_mapbox\",\"1526TYIson\",\"triggerEvent\",\"addTo\",\"839182FpxGmV\",\"23412ZTPzaS\"];return(_0x50b7=function(){return _0x42f079})()}!function(_0x37e1ac,_0x3da6d9){const _0x462569=_0xa245,_0x1945c8=_0x37e1ac();for(;;)try{const _0x48b405=undefined;if(798720===parseInt(_0x462569(203))/1*(-parseInt(_0x462569(210))/2)+-parseInt(_0x462569(201))/3+-parseInt(_0x462569(212))/4+-parseInt(_0x462569(224))/5+parseInt(_0x462569(211))/6*(parseInt(_0x462569(207))/7)+-parseInt(_0x462569(214))/8+parseInt(_0x462569(220))/9)break;_0x1945c8.push(_0x1945c8.shift())}catch(_0x5a2c59){_0x1945c8.push(_0x1945c8.shift())}}(_0x50b7,798720),run(instance,properties,context)}"}},"AJo":{"caption":"Change marker icon","fields":{"AJp":{"caption":"Unique name","editor":"DynamicValue","name":"marker_name","rank":0,"value":"text"},"AJq":{"caption":"Marker style","default_val":"Red","editor":"Dropdown","name":"marker_style","rank":1},"AJr":{"caption":"Use custom icon?","default_val":false,"editor":"DynamicValue","name":"use_custom_icon","optional":false,"rank":2,"value":"boolean"},"AJs":{"caption":"Custom icon image","editor":"DynamicValue","name":"custom_icon_url","optional":true,"rank":3,"value":"image"},"AOE":{"caption":"Marker Width","name":"marker_width","rank":4,"editor":"DynamicValue","value":"number","default_val":64},"AOF":{"caption":"Marker Height","name":"marker_height","rank":5,"editor":"DynamicValue","value":"number","default_val":64}},"code":{"fn":"function(instance,properties,context){function _0x5c3c(_0x4245a5,_0x1594d2){const _0x25ec72=_0x25ec();return(_0x5c3c=function(_0x5c3cce,_0x4f0b86){let _0x48b840;return _0x25ec72[_0x5c3cce-=431]})(_0x4245a5,_0x1594d2)}function _0x25ec(){const _0x2609c9=[\"Red\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071016539x633328751974089360/red_marker.png\",\"marker_name\",\"2wrtP
268sy\",\"1925273yMacbl\",\"https:\",\"custom_icon_url\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071057099x762384812835195500/white_marker.png\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070947779x803166556575223700/marker-shadow.png\",\"5429768cWyoFc\",\"Blue\",\"use_custom_icon\",\"icon\",\"249624jWvwgu\",\"Brown\",\"setIcon\",\"Yellow\",\"283334SzmwjB\",\"data\",\"marker_height\",\"marker_width\",\"Green\",\"marker_style\",\"403512fbhgdr\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070997768x135506561932380300/green_marker.png\",\"9CmfoEQ\",\"Black\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071031375x378002786517539900/black_marker.png\",\"White\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070983762x973056674738514600/yellow_marker.png\",\"180510AQdQmK\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567070967095x108965806592226770/brown_marker.png\",\"1250220kKYBzK\"];return(_0x25ec=function(){return _0x2609c9})()}function run(_0x355bd8,_0x43e968,_0x9ce2a4){const _0x2db8db=_0x5c3c,_0x289303=_0x267286=>{const _0x34dc90=_0x5c3c;return _0x267286===_0x34dc90(446)?\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1567071044715x223496852841002400/blue_marker.png\":_0x267286===_0x34dc90(452)?_0x34dc90(432):_0x267286===_0x34dc90(457)?_0x34dc90(460):_0x267286===_0x34dc90(436)?_0x34dc90(437):_0x267286===_0x34dc90(450)?_0x34dc90(434):_0x267286===_0x34dc90(431)?_0x34dc90(443):_0x267286===_0x34dc90(462)?_0x34dc90(463):void 0};if(_0x43e968.use_custom_icon){let _0x516a06=L[_0x2db8db(448)]({iconUrl:_0x2db8db(441)+_0x43e968[_0x2db8db(442)],iconSize:[_0x43e968.marker_width,_0x43e968[_0x2db8db(455)]],shadowSize:[50,64],iconAnchor:[_0x43e968[_0x2db8db(456)]/2,_0x43e968[_0x2db8db(455)]],shadowAnchor:[4,62],popupAnchor:[0,-_0x43e968[_0x2db8db(455)]]});_0x355bd8[_0x2db8db(454)][\"\"+_0x43e968[_0x2db8db(438)]][_0x2db8db(451)](_0x516a06)}else if(!_0x43e968[_0x2db8db(447)]){let _0x570411=L[_0x2db8db(448)]({iconUrl:\"https:\"+_0x289303(_0x43e968[_0x2db8db(458)]),shadowUrl:_0x2db8db(444),iconSize:[25,40],shadowSize:[41,41],iconAnchor:[12,39],shadowAnchor:[13,40],popupAnchor:[0,-30]});_0x355bd8[_0x2db8db(454)][\"\"+_0x43e968.marker_name][_0x2db8db(451)](_0x570411)}}!function(_0x4fd0af,_0x584c34){const _0x13f5bd=_0x5c3c,_0x378681=_0
268x4fd0af();for(;;)try{const _0x7aee76=undefined;if(156221===-parseInt(_0x13f5bd(453))/1*(parseInt(_0x13f5bd(439))/2)+-parseInt(_0x13f5bd(449))/3+-parseInt(_0x13f5bd(459))/4+parseInt(_0x13f5bd(435))/5+-parseInt(_0x13f5bd(433))/6+-parseInt(_0x13f5bd(440))/7+parseInt(_0x13f5bd(445))/8*(parseInt(_0x13f5bd(461))/9))break;_0x378681.push(_0x378681.shift())}catch(_0x4cecf0){_0x378681.push(_0x378681.shift())}}(_0x25ec,156221),run(instance,properties,context)}"}},"AJt":{"caption":"Get map center","fields":{"AJu":{"caption":"Will publish to \"Map center\" latitude and longitude states and trigger the event \"Map center attained\".","editor":"Label","name":"will","rank":0}},"code":{"fn":"function(instance,properties,context){function _0x5230(){const _0x5c592f=[\"map_center_latitude\",\"6zbsxrp\",\"3296rjwVTY\",\"405914BWVTLB\",\"triggerEvent\",\"981DxwQRJ\",\"getCenter\",\"307976GxBKqW\",\"toFixed\",\"1937341alGnYH\",\"8565dEAbOI\",\"data\",\"map_center_longitude\",\"lat\",\"lng\",\"22HAJonv\",\"mymap\",\"1321010xfodWR\",\"publishState\",\"2818110tntwqB\",\"22umkACY\"];return(_0x5230=function(){return _0x5c592f})()}function _0x2ee4(_0x24a0c,_0x17dcf8){const _0x5230cd=_0x5230();return(_0x2ee4=function(_0x2ee499,_0x577298){let _0x3e3f70;return _0x5230cd[_0x2ee499-=486]})(_0x24a0c,_0x17dcf8)}function run(_0x2fbf9d,_0x1ff8f8,_0x2e41f7){const _0x4a04ab=_0x2ee4;let _0x488335=_0x2fbf9d[_0x4a04ab(501)][_0x4a04ab(506)][_0x4a04ab(496)]();_0x2fbf9d[_0x4a04ab(487)](_0x4a04ab(490),_0x488335[_0x4a04ab(503)][_0x4a04ab(498)](6)),_0x2fbf9d[_0x4a04ab(487)](_0x4a04ab(502),_0x488335[_0x4a04ab(504)][_0x4a04ab(498)](6)),_0x2fbf9d[_0x4a04ab(494)](\"map_center_attained\")}!function(_0x2bf418,_0xe8c540){const _0x5c1af0=_0x2ee4,_0x5263e4=_0x2bf418();for(;;)try{const _0x6fd961=undefined;if(229950===parseInt(_0x5c1af0(493))/1+parseInt(_0x5c1af0(505))/2*(-parseInt(_0x5c1af0(500))/3)+-parseInt(_0x5c1af0(497))/4+parseInt(_0x5c1af0(486))/5+parseInt(_0x5c1af0(491))/6*(parseInt(_0x5c1af0(499))/7)+-parseInt(_0x5c1af0(492))/8*(parseInt(_0x5c1af0(495))/9)+-parseInt(_0x5c1af0(488))/10*(parseInt(_0x5c1af0(489))/11))break;_0x5263e4.push(_0x5263e4.shift())}catch(_0x319a52){_0x5263e4.push(_0x5263e4.shift())}}(_0x5230,229950),run(instance,properties,context)}"}},"AJx":{"caption":"Check if point is in circle radius with","fields":{"AJy":{"caption":"Checked point lat","editor":"DynamicValue","name":"point_to_be_checked_latitude","rank":0,"value":"number"},"AJz":{"caption":"Checked point lon","editor":"DynamicValue","name":"point_to_be_checked_longitude","rank":1,"value":"number"},"AKA":{"caption":"Circle center lat","editor":"DynamicValue","name":"circle_center_latitude","rank":2,"value":"number"},"AKB":{"caption":"Circle center lon","editor":"DynamicValue","name":"circle_center_longitude","rank":3,"value":"number"},"AKC":{"caption":"Circle radius","editor":"DynamicValue","name":"circle_radius","rank":4,"value":"text"}},"code":{"fn":"function(instance,properties,context){function _0x170b(){const _0x449249=[\"2093152TvnqFC\",\"680017qZLTDe\",\"54VfRpqd\",\"isPointWithinRadius\",\"1053073EbdtFI\",\"point_to_be_checked_longitude\",\"point_to_be_checked_latitude\",\"13575WtgUcw\",\"4797960YwvrBm\",\"12bShbxE\",\"circle_radius\",\"5657319CwMCKW\",\"publishState\",\"13318AyPLzg\",\"circle_center_latitude\",\"696EOGaBP\"];return(_0x170b=function(){return _0x449249})()}function _0x4377(_0x5e52ba,_0x1cc25e){const _0x170bc8=_0x170b();return(_0x4377=function(_0x437731,_0xf30479){let _0xc83e99;return _0x170bc8[_0x437731-=291]})(_0x5e52ba,_0x1cc25e)}function run(_0x97397,_0x5733d1,_0x1d8f04){const _0x2c1d2f=_0x4377;let _0x365e84=window.geolib[_0x2c1d2f(303)]({latitude:_0x5733d1[_0x2c1d2f(306)],longitude:_0x5733d1[_0x2c1d2f(305)]},{latitude:_0x5733d1[_0x2c1d2f(298)],longitude:_0x5733d1.circle_center_longitude},_0x5733d1[_0x2c1d2f(294)]);_0x97397[_0x2c1d2f(296)](\"point_inside_circle\",_0x365e84),_0x97397.triggerEvent(\"point_inside_circle_radius_checked\")}!function(_0x603f92,_0x4c07dc){const _0x44150d=_0x4377,_0x3f0436=_0x603f92();for(;;)try{const _0x58a66d=undefined;if(633610===parseInt(_0x44150d(301))/1+parseInt(_0x44150d(297))/2*(-parseInt(_0x44150d(302))/3)+parseInt(_0x44150d(299))/4*(-parseInt(_0x44150d(291))/5)+parseInt(_0x44150d(293))/6*(-parseInt(_0x44150d(304))/7)+-parseInt(_0x44150d(300))/8+parseInt(_0x44150d(295))/9+parseInt(_0x44150d(292))/10)break;_0x3f0436.push(_0x3f0436.shift())}catch(_0x2972f3){_0x3f0436.push(_0x3f0436.shift())}}(_0x170b,633610),run(instance,properties,context)}"}},"AKF":{"caption":"Start fixed central circle filter","fields":{"AKG":{"caption":"draw_stroke","default_val":true,"editor":"DynamicValue","name":"draw_stroke","rank":1,"value":"boolean"},"AKH":{"caption":"stroke_color","default_val":"rgba(0, 229, 250, 1)","editor":"Color","name":"stroke_color","rank":2,"value":"text"},"AKI":{"caption":"stroke_weight","default_val":3,"editor":"DynamicValue","name":"stroke_weight","rank":3,"value":"number"},"AKJ":{"caption":"stroke_opacity","default_val":1,"editor":"DynamicValue","name":"stroke_opacity","rank":4,"value":"number"},"AKK":{"caption":"circle_fill","default_val":true,"editor":"DynamicValue","name":"circle_fill","rank":5,"value":"boolean"},"AKL":{"caption":"fill_color","default_val":"rgba(255, 0, 0, 1)","editor":"Color","name":"fill_color","rank":6},"AKM":{"caption":"fill_opacity","default_val":0.2,"editor":"DynamicValue","name":"fill_opacity","rank":7,"value":"number"},"AKN":{"caption":"radius","default_val":200,"editor":"DynamicValue","name":"radius","rank":8,"value":"number"},"AKO":{"caption":"Circle name","editor":"DynamicValue","name":"circle_name","rank":9,"value":"text"},"AKc":{"caption":"Incomplete feature, will do nothing. Check back in a newer version.","name":"incomplete_feature,_will_do_nothing._check_back_
268in_a_newer_version.","rank":0,"editor":"Label"}},"code":{"fn":"function(instance,properties,context){function _0x3ee8(_0x554798,_0xe9875f){const _0x218917=_0x2189();return(_0x3ee8=function(_0x3ee85d,_0x570286){let _0x5757e6;return _0x218917[_0x3ee85d-=366]})(_0x554798,_0xe9875f)}function run(_0x5cf353,_0x48737a,_0x5d2656){const _0x5c75db=_0x3ee8;_0x5cf353.data[_0x5c75db(378)][_0x5c75db(383)](_0x5cf353[_0x5c75db(377)][_0x5c75db(378)])[_0x5c75db(367)].padding=100;let _0x58066d={stroke:_0x48737a[_0x5c75db(387)],color:_0x48737a[_0x5c75db(381)],weight:_0x48737a.stroke_weight,opacity:_0x48737a.stroke_opacity,fill:_0x48737a[_0x5c75db(385)],fillColor:_0x48737a[_0x5c75db(379)],fillOpacity:_0x48737a.fill_opacity,radius:_0x48737a.radius};_0x5cf353.data[\"\"+_0x48737a[_0x5c75db(390)]]=L.circle(_0x5cf353.data[_0x5c75db(378)][_0x5c75db(376)](),_0x58066d)[_0x5c75db(389)](_0x5cf353[_0x5c75db(377)][_0x5c75db(378)]),_0x5cf353[_0x5c75db(377)].mymap[_0x5c75db(380)](_0x5cf353[_0x5c75db(377)][\"\"+_0x48737a.circle_name][_0x5c75db(375)]()),_0x5cf353.data[_0x5c75db(378)].on(_0x5c75db(374),(function(_0x789376){const _0x422799=_0x5c75db;_0x5cf353.data[\"\"+_0x48737a.circle_name][_0x422799(384)](_0x5cf353[_0x422799(377)][_0x422799(378)].getCenter())}))}function _0x2189(){const _0x2f88fb=[\"draw_stroke\",\"10ncWWSI\",\"addTo\",\"circle_name\",\"4784128wtAeXP\",\"options\",\"1643720pmZzMj\",\"7641004tCfZSV\",\"873857kuWGmn\",\"3591880zyFtdX\",\"3751989TYoFIz\",\"43482186Mbmfji\",\"move\",\"getBounds\",\"getCenter\",\"data\",\"mymap\",\"fill_color\",\"fitBounds\",\"stroke_color\",\"4ioNnUG\",\"getRenderer\",\"setLatLng\",\"circle_fill\",\"6LNnwIe\"];return(_0x2189=function(){return _0x2f88fb})()}!function(_0x2d1acf,_0x4bb257){const _0x22610c=_0x3ee8,_0x597c34=_0x2d1acf();for(;;)try{const _0x56b0a7=undefined;if(673042===-parseInt(_0x22610c(370))/1+-parseInt(_0x22610c(368))/2+-parseInt(_0x22610c(372))/3+-parseInt(_0x22610c(382))/4*(parseInt(_0x22610c(371))/5)+-parseInt(_0x22610c(386))/6*(parseInt(_0x22610c(369))/7)+parseInt(_0x22610c(366))/8+-p
268arseInt(_0x22610c(373))/9*(-parseInt(_0x22610c(388))/10))break;_0x597c34.push(_0x597c34.shift())}catch(_0x4b7732){_0x597c34.push(_0x597c34.shift())}}(_0x2189,673042),run(instance,properties,context)}"}},"ANy":{"caption":"Reset distance","code":{"fn":"function(instance,properties,context){function run(_0x588586,_0x3c00ad,_0x1088eb){var _0x2e9dd0=_0x4ce7;_0x588586[_0x2e9dd0(132)](_0x2e9dd0(138),null)}function _0x4ce7(_0xa638a5,_0x52ce07){var _0x488b89=_0x488b();return(_0x4ce7=function(_0x4ce73b,_0x475821){var _0x5166c5;return _0x488b89[_0x4ce73b-=131]})(_0xa638a5,_0x52ce07)}function _0x488b(){var _0x5a4069=[\"8XdDfCn\",\"67613CQIdFZ\",\"824763tSgpgG\",\"publishState\",\"2218596miBQYu\",\"6qhfJGw\",\"8804144GyUtpa\",\"3159975rKoimw\",\"4320790FzmPWO\",\"calculated_distance\",\"4130253GuKbJr\"];return(_0x488b=function(){return _0x5a4069})()}!function(_0x5f28c5,_0x427633){for(var _0x3cd91a=_0x4ce7,_0x655382=_0x5f28c5();;)try{var _0x361194;if(626767===-parseInt(_0x3cd91a(141))/1*(-parseInt(_0x3cd91a(134))/2)+-parseInt(_0x3cd91a(131))/3*(-parseInt(_0x3cd91a(140))/4)+-parseInt(_0x3cd91a(137))/5+-parseInt(_0x3cd91a(133))/6+-parseInt(_0x3cd91a(136))/7+parseInt(_0x3cd91a(135))/8+parseInt(_0x3cd91a(139))/9)break;_0x655382.push(_0x655382.shift())}catch(_0x49f928){_0x655382.push(_0x655382.shift())}}(_0x488b,626767),run(instance,properties,context)}"}}},"code":{"initialize":{"fn":"function(instance,context){function _0x8c13(_0x43eb11,_0x3256c8){var _0x411f19=_0x411f();return(_0x8c13=function(_0x8c130b,_0x3dc090){var _0x3f4f9a;return _0x411f19[_0x8c130b-=124]})(_0x43eb11,_0x3256c8)}function _0x411f(){var _0x3c3d29=[\"6652270uaKVBJ\",\"22obaeSZ\",\"draw_city\",\"216753kNVOZu\",\"3013868xpibQj\",\"2984706BjAhnM\",\"30iZCqLQ\",\"polygons_list\",\"689240RqrXBO\",\"data\",\"3208912BLgDCI\",\"1005470NJVYJl\",\"21AanHOR\",\"44ZjGVHp\"];return(_0x411f=function(){return _0x3c3d29})()}function initialize(_0x38ef52,_0x597d98){var _0x159345=_0x8c13;_0x38ef52[_0x159345(130)][_0x159345(128)]=[],_0x38ef52[_0x159345(130)][_0x159345(137)]=!1,_0x38ef52.data.style={line:{weight:3}}}!function(_0xdae7a6,_0x574a25){for(var _0x31bdef=_0x8c13,_0x5711b1=_0xdae7a6();;)try{var _0x5c0ea2;if(610072===parseInt(_0x31bdef(129))/1+-parseInt(_0x31bdef(136))/2*(-parseInt(_0x31bdef(124))/3)+-parseInt(_0x31bdef(125))/4+-parseInt(_0x31bdef(132))/5*(-parseInt(_0x31bdef(127))/6)+-parseInt(_0x31bdef(133))/7*(-parseInt(_0x31bdef(131))/8)+parseInt(_0x31bdef(126))/9+-parseInt(_0x31bdef(135))/10*(parseInt(_0x31bdef(134))/11))break;_0x5711b1.push(_0x5711b1.shift())}catch(_0x2472c9){_0x5711b1.push(_0x5711b1.shift())}}(_0x411f,610072),initialize(instance,context)}"},"update":{"fn":"function(instance,properties,context){function _0xf793(_0x13f892,_0x199e2f){const _0x5dfbfe=_0x5dfb();return(_0xf793=function(_0xf7930e,_0x18fcc1){let _0x191977;return _0x5dfbfe[_0xf7930e-=490]})(_0x13f892,_0x199e2f)}function _0x5dfb(){const _0x121d46=[\"indexOf\",\"pow\",\"cos\",\"data\",\"2071445ekGJEC\",\"sqrt\",\"ambulancesToTrack\",\"6xfXeyr\",\" ambulance is \",\"mymap\",\"asin\",\"load_ambulance_routes\",\"replace\",\"length\",\"polyline\",\"7168257ivUvbv\",\"created\",\"lng\",\"18BWqwxd\",\"updateCleanup\",\"red\",\"publishState\",\"push\",\"sin\",\"493152GMorpa\",\"885330FaXRIt\",\"ambulance_is_close\",\"get\",\"1696709EtQzkX\",\"removeFrom\",\"USER_LOCATION\",\"1339328IqoGLL\",\"distance of \",\"parse\",\"10JfuPys\",\"now\",\"lat\",\"map\",\"addTo\",\"log\",\"getTime\",\"Created Date\",\"location\",\"name\",\"path\",\"72105EGGGLc\",\"marker\",\"icon\"];return(_0x5dfb=function(){return _0x121d46})()}function update(_0xb36f32,_0x354e23,_0x25f703){const _0x39577a=_0xf793,_0x274040=Date[_0x39577a(512)](),{name_field:_0x4e1537,path_field:_0x2267a9,location_field:_0x437478,icon_field:_0x4de09a}=_0x354e23;if(_0x354e23[_0x39577a(536)]&&_0x4e1537&&_0x2267a9&&_0x437478&&_0x4de09a){function _0x1ad008(_0x6f96ca){return _0x6f96ca*Math.PI/180}function _0x51553b(_0xc2e070,_0x211691){const _0x7e9b20=_0x39577a;var _0x471ae8=_0x1ad008(_0xc2e070[1]),_0x14bc11=_0x1ad008(_0xc2e070[0]),_0x6fc7e6=_0x1ad008(_0x211691[1]),_0xdb8883=_0x1ad008(_0x211691[0]),_0x1a2fe5=_0xdb8883-_0x14bc11,_0x1ec1c6=_0x6fc7e6-_0x471ae8,_0x369c17=Math[_0x7e9b20(526)](Math[_0x7e9b20(500)](_0x1a2fe5/2),2)+Math[_0x7e9b20(527)](_0x14bc11)*Math[_0x7e9b20(527)](_0xdb8883)*Math.pow(Math[_0x7e9b20(500)](_0x1ec1c6/2),2),_0x1c1677,_0x1a305b=6371;return 6371*(2*Math[_0x7e9b20(535)](Math[_0x7e9b20(530)](_0x369c17)))*1e3}_0xb36f32.data.updateCleanup&&_0xb36f32[_0x39577a(528)].updateCleanup(),void 0===_0xb36f32[_0x39577a(528)].ambulancesToTrack&&(_0xb36f32[_0x39577a(528)][_0x39577a(531)]=[]);const _0x109e0c=_0x354e23.emergency_table,_0x48bfbc=[],_0xd57ede=[];_0x109e0c.get(_0x109e0c[_0x39577a(490)]()-2,_0x109e0c.length()).forEac
268h((_0x30d58e=>{const _0xd5ffef=_0x39577a,_0x589700=_0x30d58e[_0xd5ffef(504)](_0x4e1537),_0x3571e8=JSON[_0xd5ffef(510)](_0x30d58e[_0xd5ffef(504)](_0x2267a9)),_0x24b202={lat:Number(_0x30d58e[_0xd5ffef(504)](_0x437478)[_0xd5ffef(537)](/(.*?)lat: (.*?),(.*)/gm,\"$2\")),lng:Number(_0x30d58e[_0xd5ffef(504)](_0x437478).replace(/(.*?)lng: (.*?)}/gm,\"$2\"))},_0x476dc2=_0x30d58e[_0xd5ffef(504)](_0x4de09a),_0x67006=_0x30d58e[_0xd5ffef(504)](_0xd5ffef(518))[_0xd5ffef(517)](),_0x78f64=!0;if(-1===_0xd57ede[_0xd5ffef(525)](_0x589700))_0xd57ede.push(_0x589700),_0x48bfbc[_0xd5ffef(499)]({name:_0x589700,path:_0x3571e8,location:_0x24b202,icon:_0x476dc2,created:_0x67006});else{const _0x37ae94=_0xd57ede[_0xd5ffef(525)](_0x589700);_0x48bfbc[_0x37ae94][_0xd5ffef(493)]<_0x67006&&(_0x48bfbc[_0x37ae94]={name:_0x589700,path:_0x3571e8[_0xd5ffef(521)],location:_0x24b202,icon:_0x476dc2,created:_0x67006})}}));const _0x4bb1ad=_0x48bfbc[_0x39577a(514)]((_0x1cccd6=>{const _0xa36339=_0x39577a,_0x5cfa3d=L[_0xa36339(524)]({iconUrl:_0x1cccd6.icon,iconSize:[32,64],iconAnchor:[16,32]}),_0x2f01fb=new(L[_0xa36339(523)])(_0x1cccd6[_0xa36339(519)],{icon:_0x5cfa3d});if(_0xb36f32[_0xa36339(528)][_0xa36339(507)]){const _0x950cbe=_0x51553b([_0xb36f32[_0xa36339(528)][_0xa36339(507)][_0xa36339(513)],_0xb36f32.data[_0xa36339(507)][_0xa36339(494)]],[_0x1cccd6.location[_0xa36339(513)],_0x1cccd6[_0xa36339(519)][_0xa36339(494)]]);console[_0xa36339(516)](_0xa36339(509)+_0x1cccd6[_0xa36339(520)]+_0xa36339(533)+_0x950cbe),_0xb36f32[_0xa36339(498)](_0xa36339(503),_0x950cbe<500)}_0x2f01fb[_0xa36339(515)](_0xb36f32.data[_0xa36339(534)]);const _0x27d3c9=L[_0xa36339(491)](_0x1cccd6[_0xa36339(521)],{color:_0xa36339(497)});return _0x27d3c9[_0xa36339(515)](_0xb36f32.data[_0xa36339(534)]),{marker:_0x2f01fb,polyline:_0x27d3c9}}));_0xb36f32[_0x39577a(528)][_0x39577a(496)]=()=>{_0x4bb1ad.forEach((_0x3bd381=>{const _0x336ae2=_0xf793;_0x3bd381[_0x336ae2(523)][_0x336ae2(506)](_0xb36f32[_0x336ae2(528)][_0x336ae2(534)]),_0x3bd381[_0x336ae2(491)][_0x336ae2(506)](_0xb36f32[_0x336ae2(528)][_0x336ae2(534)])}))}}}!function(_0x10dda3,_0x47afa9){const _0x525a31=_0xf793,_0x3ead84=_0x10dda3();for(;;)try{const _0x11fc4b=undefined;if(368652===-parseInt(_0x525a31(522))/1*(parseInt(_0x525a31(532))/2)+-parseInt(_0x525a31(502))/3+parseInt(_0x525a31(508))/4+parseInt(_0x525a31(529))/5+parseInt(_0x525a31(495))/6*(-parseInt(_0x525a31(505))/7)+parseInt(_0x525a31(501))/8+parseInt(_0x525a31(492))/9*(parseInt(_0x525a31(511))/10))break;_0x3ead84.push(_0x3ead84.shift())}catch(_0x5157e7){_0x3ead84.push(_0x3ead84.shift())}}(_0x5dfb,368652),update(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties){\n\tfunction _0x1573() {\n    const _0x305831 = [\n        'css',\n        'bubble',\n        '33962dwneiO',\n        '56391QAzYdy',\n        '444770AQDPPc',\n        '12wWdXOK',\n        '7916513dibcSs',\n        'width',\n        '4HuVoTa',\n        '115270icnFJp',\n        '6685728etRDia',\n        '16jgPDas',\n        '117UzvrtU',\n        '15144JzUsva',\n        'background-position',\n        '<div></div>',\n        'url(https://9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1564192295493x883459422171276200/Kazam_screenshot_00000.png)',\n        'append',\n        'canvas',\n        'center'\n    ];\n    _0x1573 = function () {\n        return _0x305831;\n    };\n    return _0x1573();\n}\nfunction _0x26b6(_0x53f5e1, _0x2247cb) {\n    const _0x1573e2 = _0x1573();\n    return _0x26b6 = function (_0x26b60b, _0x4a7788) {\n        _0x26b60b = _0x26b60b - 0x90;\n        let _0x369bf0 = _0x1573e2[_0x26b60b];\n        return _0x369bf0;\n    }, _0x26b6(_0x53f5e1, _0x2247cb);\n}\n(function (_0x178bd8, _0x3b817) {\n    const _0x5cd6e4 = _0x26b6, _0x2e9f81 = _0x178bd8();\n    while (!![]) {\n        try {\n            const _0xb871d2 = -parseInt(_0x5cd6e4(0x90)) / 0x1 * (parseInt(_0x5cd6e4(0x99)) / 0x2) + -parseInt(_0x5cd6e4(0x91)) / 0x3 * (parseInt(_0x5cd6e4(0x96)) / 0x4) + -parseInt(_0x5cd6e4(0x97)) / 0x5 * (-parseInt(_0x5cd6e4(0x93)) / 0x6) + parseInt(_0x5cd6e4(0x98)) / 0x7 + -parseInt(_0x5cd6e4(0x9b)) / 0x8 + parseInt(_0x5cd6e4(0x9a)) / 0x9 * (parseInt(_0x5cd6e4(0x92)) / 0xa) + -parseInt(_0x5cd6e4(0x94)) / 0xb;\n            if (_0xb871d2 === _0x3b817)\n                break;
268\n            else\n                _0x2e9f81['push'](_0x2e9f81['shift']());\n        } catch (_0xa0630f) {\n            _0x2e9f81['push'](_0x2e9f81['shift']());\n        }\n    }\n}(_0x1573, 0x8a830));\nfunction preview(_0x5e2b70, _0x5277f0) {\n    const _0xef8bbb = _0x26b6;\n    let _0x2c3238 = $(_0xef8bbb(0x9d));\n    _0x5e2b70[_0xef8bbb(0xa0)][_0xef8bbb(0x9f)](_0x2c3238), _0x2c3238['css']('height', _0x5277f0[_0xef8bbb(0xa3)]['height']), _0x2c3238['css'](_0xef8bbb(0x95), _0x5277f0['bubble'][_0xef8bbb(0x95)]), _0x2c3238[_0xef8bbb(0xa2)]('background-image', _0xef8bbb(0x9e)), _0x2c3238[_0xef8bbb(0xa2)]('background-repeat', 'no-repeat'), _0x2c3238['css'](_0xef8bbb(0x9c), _0xef8bbb(0xa1));\n}\n\t preview(instance, properties);\n}"}},"platform_type":"web"}},"plugin_actions":{"ALK":{"display":"Leafy Maps - Send data to host page (popup)","type":"client_side","fields":{"ALL":{"caption":"Data to be sent","name":"data_to_be_sent","rank":0,"editor":"DynamicValue","value":"text"},"ALM":{"caption":"This workflow action is meant to be used in a page that is going to be displayed inside a popup being opened by Leafy Maps. With this, you can allow interactivity between a page that is inside a popup, for example if you want the user to press a button inside the popup and then to trigger a workflow with a specific information from within the popup, this is how you do it. For example the user can click \"Book house\" inside a page inside a popup and then in your host page, which is the one showing the map, you bring some data based on that specific database object. Usually you will pass a unique ID to be used in the host page. Once the data is sent, it will be published in a state of the Leafy Map and trigger an event. Right now they are called: \"Popup sent data to host page\" and \"Data from popup\". Or maybe you want to send a command text, like \"accept\" or \"book X\". Also you can send in consolidated data in a single text and split it in the host page using the \"split\" operator. Be creative, you are a developer! (:","name":"inforr","rank":1,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){window.parent.postMessage({identify:\"leafyMaps\",content:properties.data_to_be_sent},\"*\")}"}}}}};
269window._bubble_page_load_data.plugins_size['1562697922620x934462587697889300'] = 219793;
270window.preloaded['plugin/third_party:1562697922620x934462587697889300:7.10.0'] = true;
271window.plugins["1579120809486x684082880588546000"] = {"human":"Map - Leaflet","dependencies":{"use_jquery":false,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"🗺️ Map","property_applications":{"BoxShadow":true,"MinWidth":true,"resizable":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAL":{"caption":"Type of markers","name":"type_of_markers","rank":0,"editor":"custom_type","optional":true},"AAM":{"caption":"Data source","name":"data_source","rank":1,"editor":"DynamicValue","value":"custom_data_AAL","is_list":true,"optional":true},"AAN":{"caption":"Address field","name":"address_field","rank":2,"editor":"custom_field_AAL"}},"states":{"AAR":{"caption":"Clicked marker","name":"clicked_marker","value":"custom_data_AAL","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAS":{"caption":"Marker clicked","name":"marker_clicked"},"AAt":{"caption":"Marker added","name":"marker_added"},"AAu":{"caption":"Route added","name":"route_added"},"AAv":{"caption":"Marker removed","name":"marker_removed"},"AAw":{"caption":"Route removed","name":"route_removed"}},"actions":{"AAc":{"caption":"Add marker","code":{"fn":"function(instance,properties,context){const{data_source:data_source,id_field:id_field,address_field:address_field}=properties;instance.data.addMarker(data_source,address_field)}"},"fields":{"AAd":{"caption":"Type of marker","name":"type_of_marker","rank":0,"editor":"custom_type"},"AAe":{"caption":"Data source","name":"data_source","rank":1,"editor":"DynamicValue","value":"custom_data_AAd"},"AAf":{"caption":"Address field","name":"address_field","rank":2,"editor":"custom_field_AAd"}}},"AAh":{"caption":"Remove marker","code":{"fn":"function(instance,properties,context){const{data_source:data_source}=properties;instance.data.removeMarker(data_source)}"},"fields":{"AAi":{"caption":"Type of marker","name":"type_of_marker","rank":0,"editor":"custom_type"},"AAj":{"caption":"Data source","name":"data_source","rank":1,"editor":"DynamicValue","value":"custom_data_AAi"}}},"AAk":{"caption":"Add route","code":{"fn":"function(instance,properties,context){const{data_source:data_source,start_address:start_address,end_address:end_address,waypoints:waypoints}=properties;instance.data.addRoute(data_source,start_address,end_address,waypoints)}"},"fields":{"AAm":{"caption":"Type of route","name":"type_of_route","rank":0,"editor":"custom_type"},"AAn":{"caption":"Data source","name":"data_source","rank":1,"editor":"DynamicValue","value":"custom_data_AAm"},"AAo":{"caption":"Start address","name":"start_address","rank":2,"editor":"custom_field_AAm"},"AAp":{"caption":"End address","name":"end_address","rank":3,"editor":"custom_field_AAm"},"AAq":{"caption":"Waypoints","name":"waypoints","rank":4,"editor":"custom_field_AAm","field_list":true,"optional":true}}},"AAl":{"caption":"Remove route","code":{"fn":"function(instance,properties,context){const{data_source:data_source}=properties;instance.data.removeRoute(data_source)}"},"fields":{"AAr":{"caption":"Type of route","name":"type_of_route","rank":0,"editor":"custom_type"},"AAs":{"caption":"Data source","name":"data_source","rank":1,"editor":"DynamicValue","value":"custom_data_AAr"}}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.map=null,instance.data.markers=[],instance.data.routes=[],instance.data.addMarker=(m,address_field)=>{const marker=L.marker(m.get(address_field));marker.options.id=m.get(\"_id\"),instance.data.markers.push(marker),marker.on(\"click\",(e=>{instance.publishState(\"clicked_marker\",m),instance.triggerEvent(\"marker_clicked\")})),marker.addTo(instance.data.map),instance.triggerEvent(\"marker_added\")},instance.data.removeMarker=m=>{const id=m.get(\"_id\");instance.data.markers=instance.data.markers.filter((mark=>{if(mark.options.id!==id)return mark;instance.data.map.removeLayer(mark),instance.triggerEvent(\"marker_removed\")}))},instance.data.addRoute=(r,start,end)=>{const route=L.Routing.control({show:!1,lineOptions:{styles:[{color:\"black\",opacity:.15,weight:9},{color:\"white\",opacity:.8,weight:6},{color:\"#2880ca\",opacity:1,weight:2}]},waypoints:[r.get(start),r.get(end)]});route.options.id=r.get(\"_id\"),instance.data.routes.push(route),route.addTo(instance.data.map),instance.triggerEvent(\"route_added\")},instance.data.removeRoute=r=>{const id=r.get(\"_id\");instance.data.routes=instance.data.routes.filter((route=>{if(route.options.id!==id)return route;instance.data.map.removeControl(route),instance.triggerEvent(\"route_removed\")}))},instance.data.onLocationFound=e=>{L.marker(e.latlng).addTo(instance.data.map)},instance.data.onLocationError=e=>{}}"},"update":{"fn":"function(instance,properties,context){instance.data.map&&(instance.data.map.off(),instance.data.map.remove());const map=L.map(instance.canvas);if(instance.data.map=map,properties.data_source&&properties.data_source.get(0,properties.data_source.length()).forEac
271h((m=>{instance.data.addMarker(m,properties.address_field)})),map.on(\"locationfound\",instance.data.onLocationFound),map.on(\"locationerror\",instance.data.onLocationError),L.tileLayer(\"https://{s}.tile.osm.org/{z}/{x}/{y}.png\",{attribution:'&copy; <a target=\"_blank\" href=\"https://bubble.io/contributor/bubbleis-1569515603397x325153050732696100\">Mr. Bubbles</a>'}).addTo(map),instance.data.markers.length){const group=new L.featureGroup(instance.data.markers);map.fitBounds(group.getBounds())}else map.locate({setView:!0,maxZoom:16})}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    $(\"<link/>\", {\n        rel: \"stylesheet\",\n        type: \"text/css\",\n        href: \"https://unpkg.com/[email protected]/dist/leaflet.css\"\n    }).appendTo(\"head\");\n\n    $.getScript('https://unpkg.com/[email protected]/dist/leaflet.js', e => {\n        instance.canvas.style.height = properties.bubble.height + 'px';\n        const map = L.map(instance.canvas).setView([51.517, -0.0924], 13);\n        L.tileLayer('https://{s}.tile.osm.org/{z}/{x}/{y}.png', {attribution: '&copy; <a target=\"_blank\" href=\"https://bubble.io/contributor/bubbleis-1569515603397x325153050732696100\">Mr. Bubbles</a>'}).addTo(map);\n        L.marker([51.517, -0.0924]).addTo(map);\n    });\n}"}},"platform_type":"web"}}};
272window._bubble_page_load_data.plugins_size['1579120809486x684082880588546000'] = 6253;
273window.preloaded['plugin/third_party:1579120809486x684082880588546000:2.2.1'] = true;
274window.plugins["1580238841425x582072028873097200"] = {"human":"Rich Text Editor","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAC":{"display":"Rich Text Input","property_applications":{"Background":true,"Border":true,"BoxShadow":true,"Font":false,"MinWidth":true,"Padding":true,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"text","has_reset_fn":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Initial Content","editor":"DynamicValue","name":"initial_content","optional":true,"rank":1,"value":"text"},"AAZ":{"caption":"Regular or Tooltip?","default_val":"Regular","editor":"Dropdown","in_style":true,"name":"theme","rank":4}
274,"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){return properties.initial_content||\"\"}"},"name":"value","value":"text"},"AAg":{"caption":"value is valid","initialization_code":{"fn":"function(properties,context){return!properties.empty_is_invalid||(!!properties.initial_content||properties.bubble.auto_binding())}"},"name":"value_is_valid","value":"boolean"},"AAx":{"caption":"field is focused","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"field_is_focused","value":"boolean"}},"events":{"AAf":{"caption":"value changes","name":"value_changes"}},"actions":{"ABA":{"caption":"Reset","code":{"fn":"function(instance,context){const d=instance.data;d.quill&&(d.is_autobound||(d.set_content_in_quill(d.initial_bbcode),d.last_change_source=\"api\",d.has_been_edited=!1))}"}},"ABB":{"caption":"Set focus to","code":{"fn":"function(instance,properties,context){if(instance.data.quill){var quill=instance.data.quill;instance.publishState(\"field_is_focused\",!0),quill.focus()}}"}}},"code":{"initialize":{"fn":"function(instance,context){const d=instance.data;d.consts={},d.consts.DONE_TYPING_INTERVAL_MS=2200,d.consts.SUPPORTED_FILE_EXTENSIONS={jpg:!0,jpeg:!0,png:!0,gif:!0},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>',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>',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 
274C13.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>',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>',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\"]),d.consts.BASE64IMAGEREGEX=/<img[^>]* src=\"data:image\\/(.*?)\"(.*?)>/gi,d.helpers={},d.helpers.kebab_to_title_case=string=>string.split(\"-\").map((word=>word.charAt(0).toUpperCase()+word.slice(1))).join(\" \"),d.helpers.deltaIsEqual=(lhs,rhs)=>{if(lhs===rhs)return!0;
274if(null==lhs||null==rhs)return lhs===rhs;let lhs_is_array=Array.isArray(lhs),rhs_is_array=Array.isArray(rhs),lhs_tag=\"[object Array]\";lhs_is_array||(lhs_tag=toString.call(lhs));let rhs_tag=\"[object Array]\";if(rhs_is_array||(rhs_tag=toString.call(rhs)),lhs_tag!==rhs_tag)return!1;if(lhs_is_array){let lhs_len=lhs.length,rhs_len;if(lhs_len!==rhs.length)return!1;for(let i=0;i<lhs_len;i++)if(!d.helpers.deltaIsEqual(lhs[i],rhs[i]))return!1;return!0}if(\"[object Object]\"===lhs_tag){let lhs_props=Object.keys(lhs),rhs_props=Object.keys(rhs);if(lhs_props.length!==rhs_props.length)return!1;for(let i=0;i<lhs_props.length;i++){let prop=lhs_props[i];if(!Object.prototype.hasOwnProperty.call(rhs,prop))return!1;let lhs_val=lhs[prop],rhs_val=rhs[prop];if(!d.helpers.deltaIsEqual(lhs_val,rhs_val))return!1}return!0}switch(lhs_tag){case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":let casted_lhs=+lhs,casted_rhs=+rhs;return casted_lhs===casted_rhs||casted_lhs!=casted_lhs&&casted_rhs!=casted_rhs;case\"[object RegExp]\":case\"[object String]\":return lhs+\"\"==rhs+\"\";case\"[object Map]\":case\"[object Set]\":case\"[object Error]\":case\"[object DataView]\":case\"[object ArrayBuffer]\":return!1}return!1},d.consts.HTML_TO_BBCODE_FONTS={},d.consts.BBCODE_TO_HTML_FONTS={};for(const font_name of d.consts.ALL_FONTS){const bbcode_translation=d.helpers.kebab_to_title_case(font_name);d.consts.HTML_TO_BBCODE_FONTS[font_name]=bbcode_translation,d.consts.BBCODE_TO_HTML_FONTS[bbcode_translation]=font_name}d.initialized=!1,d.img_tracker=0,d.prev_image_list=[],d.should_rerun_val=!1,d.prev_contents=\"\",d.initial_bbcode=\"\",d.initial_html=\"\",d.last_change_source=\"api\",d.has_been_edited=!1,d.typing_timer_id=null,instance.canvas.css(\"overflow\",\"visible\"),instance.publishState(\"field_is_focused\",!1);const Clipboard=Quill.import(\"modules/clipboard\");class ForceScrollClipboard extends Clipboard{onPaste(e){d.pasted=!0;const scrollTop=window.scrollY,scrollLeft=window.scrollX;Clipboard.prototype.onPaste.call(this,e),setTimeout((()=>window.scrollTo(scrollLeft,scrollTop)),1)}}Quill.register(\"modules/clipboard\",ForceScrollClipboard,!0)}"},"update":{"fn":"const update=function(instance,properties,context){const d=instance.data;d.did_set_content_first_time=!0,\"elements\"in d||(d.elements={}),\"is_autobound\"in d||(d.is_autobound=!!properties.bubble.auto_binding());const{DONE_TYPING_INTERVAL_MS:DONE_TYPING_INTERVAL_MS,SUPPORTED_FILE_EXTENSIONS:SUPPORTED_FILE_EXTENSIONS,ICON_H1:ICON_H1,ICON_H2:ICON_H2,ICON_H3:ICON_H3,ICON_H4:ICON_H4,ALL_FONTS:ALL_FONTS,HTML_TO_BBCODE_FONTS:HTML_TO_BBCODE_FONTS,BBCODE_TO_HTML_FONTS:BBCODE_TO_HTML_FONTS,BASE64IMAGEREGEX:BASE64IMAGEREGEX}=d.consts;d.last_update_bubble_props||(d.last_update_bubble_props={}),d.updated_bubble_props={};for(const key in properties.bubble){const property=properties.bubble[key]();d.last_update_bubble_props[key]!==property&&(d.last_update_bubble_props[key]=property,d.updated_bubble_props[key]=property)}d.last_update_props||(d.last_update_props={}),d.updated_props={};for(const key in properties){if(\"bubble\"===key)continue;const there_has_been_changes=undefined;properties[key]!==d.last_update_props[key]&&(d.updated_props[key]=properties[key],d.last_update_props[key]=properties[key])}if(!d.has_been_reconciled){for(const key in properties)\"bubble\"!==key&&(d.updated_props[key]=properties[key],d.last_update_props[key]=properties[key]);for(const key in properties.bubble){const property=properties.bubble[key]();d.last_update_bubble_props[key]=property,d.updated_bubble_props[key]=property}}if(0===Object.keys(d.updated_props).length&&0===Object.keys(d.updated_bubble_props).length)return;const checkForContent=html=>html=(html=html.replace(/<(.*?)>(.*?)<\\/(.*?)>/gim,\"$2\")).replace(/<br>/gi,\"\"),attr=(node,attribute)=>node.attributes&&node.attributes[attribute]&&node.attributes[attribute].nodeValue||\"\",quillAttrs=node=>[...node.classList||[]].reduce(((attributes,className)=>{const[prefix,attribute,...value]=className.split(\"-\");return\"ql\"===prefix&&(0===value.length?attributes[attribute]=!0:attributes[attribute]=value.join(\"-\")),attributes}),{}),bbcodeTagMap={IMG:node=>{const width=attr(node,\"width\"),src=undefined;return[`[img${width?` width=${width}`:\"\"}]${attr(node,\"src\")}[/img]`,\"\"]},IFRAME:node=>{const src=attr(node,\"src\"),youtubeMatch=src.match(/https:\\/\\/www.youtube.com\\/embed\\/(.*?)\\?showinfo=0(.*?)/);return youtubeMatch?[`[youtube]${youtubeMatch[1]}[/youtube]`,\"\"]:quillAttrs(node).video?[`[video]${src}[/video]`,\"\"]:[\"\",\"\"]},UL:()=>[\"[ml][ul]\",\"[/ul][/ml]\"],OL:()=>[\"[ml][ol]\",\"[/ol][/ml]\"],LI:(node,listType)=>{const prevSib=undefined,nextSib=undefined,classData=[node,node.previousElementSibling,node.nextElementSibling].map((curr=>{const attrs=curr?quillAttrs(curr):{};return{indent:attrs.indent?parseInt(attrs.indent,10):0,align:attrs.align||\"left\"}})),openDiff=classData[0].indent-classData[1].indent,closeDiff=classData[0].indent-classData[2].indent;let openList=\"\";for(let i=0;i<openDiff;i++){const data=` data=${classData[0].indent}`;\"UL\"===listType?openList+=`[ul${data}]`:\"OL\"===listType&&(openList+=`[ol${data}]`)}let closeList=\"\";for(let i=0;i<closeDiff;i++)\"UL\"===listType?closeList+=\"[/ul]\":\"OL\"===listType&&(closeList+=\"[/ol]\");const indent=undefined,align=undefined;return[`${openList}[li${` indent=${classData[0].indent}`}${` align=${classData[0].align}`}]`,`[/li]${closeList}`]},H1:()=>[\"[h1]\",\"[/h1]\\n\"],H2:()=>[\"[h2]\",\"[/h2]\\n\"],H3:()=>[\"[h3]\",\"[/h3]\\n\"],H4:()=>[\"[h4]\",\"[/h4]\\n\"],SUB:()=>[\"[sub]\",\"[/sub]\"],SUP:()=>[\"[sup]\",\"[/sup]\"],PRE:()=>[\"[code]\",\"[/code]\"],BLOCKQUOTE:()=>[\"[quote]\",\"[/quote]\"],U:()=>[\"[u]\",\"[/u]\"],EM:()=>[\"[i]\",\"[/i]\"],STRONG:()=>[\"[b]\",\"[/b]\"],S:()=>[\"[s]\",\"[/s]\"],P:()=>[\"\",\"\\n\"],SPAN:()=>[\"\",\"\"],BR:()=>[\"\",\"\\n\"]},bbcodeSizeMap={small:1,large:4,huge:6}
274,processBBCodeChildNodes=node=>{let childNodeBBCodeInner=\"\";if(node&&node.childNodes.length){const hasParentElement=!!node.parentElement,isParagraphElement=\"P\"===node.nodeName,hasOneChild=1===node.childNodes.length,childIsLineBreak=\"BR\"===node.childNodes[0].nodeName,isBlankLine=undefined;!hasParentElement&&isParagraphElement&&hasOneChild&&childIsLineBreak||node.childNodes.forEach((child=>{childNodeBBCodeInner+=getBBCode(child,[\"UL\",\"OL\"].includes(node.nodeName)&&node.nodeName)}))}return childNodeBBCodeInner},getBBCode=(node,listType)=>{if(\"#text\"===node.nodeName)return node.nodeValue;let bbcodeInner=\"\",bbcodeOuterLeft=\"\",bbcodeOuterRight=\"\";if(node.childNodes.length&&(bbcodeInner+=processBBCodeChildNodes(node)),\"A\"===node.nodeName){let url=attr(node,\"href\");url.includes(\"http://\")||url.includes(\"https://\")||url.includes(\"mailto:\")||(url=`https://${url}`),bbcodeInner=`[url=${url}]${bbcodeInner}[/url]`}node.style&&node.style.length&&(node.style.backgroundColor&&(bbcodeInner=`[highlight=${node.style.backgroundColor}]${bbcodeInner}[/highlight]`),node.style.color&&(bbcodeInner=`[color=${node.style.color}]${bbcodeInner}[/color]`));const attrs=quillAttrs(node);attrs.font&&(bbcodeInner=`[font=\"${HTML_TO_BBCODE_FONTS[attrs.font]}\"]${bbcodeInner}[/font]`),attrs.size&&(bbcodeInner=`[size=${bbcodeSizeMap[attrs.size]}]${bbcodeInner}[/size]`),attrs.align&&![\"UL\",\"OL\",\"LI\"].includes(node.nodeName)&&(bbcodeOuterLeft=`[${attrs.align}]${bbcodeOuterLeft}`,bbcodeOuterRight=`${bbcodeOuterRight}
274[/${attrs.align}]`),attrs.indent&&![\"UL\",\"OL\",\"LI\"].includes(node.nodeName)&&(bbcodeInner=`[indent data=${attrs.indent}]${bbcodeInner}[/indent]`);const tags=bbcodeTagMap[node.nodeName]?bbcodeTagMap[node.nodeName](node,listType):[\"\",\"\"];return\"\"!=bbcodeOuterRight&&\"\\n\"==tags[1].slice(-1)&&(tags[1]=tags[1].slice(0,-1),bbcodeOuterRight+=\"\\n\"),`${bbcodeOuterLeft}${tags[0]}${bbcodeInner}${tags[1]}${bbcodeOuterRight}`},htmlToBBCode=html=>$.parseHTML(html).map((node=>getBBCode(node))).join(\"\"),bbCodeToHTML=bbcode=>bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=(bbcode=bbcode.replace(/\\[\\/center\\]/gi,\"[/center]\")).replace(/\\[\\/right\\]/gi,\"[/right]\")).replace(/\\[\\/justify\\]/gi,\"[/justify]\")).replace(/\\[(center|right|left)\\].*?\\[\\/\\1\\]/gims,((match,align)=>(close_open_align=\"[/\"+align+\"][\"+align+\"]\",match=(match=(match=(match=match.replace(/\\[(h[1-4]|youtube|blockquote)\\](.*?)\\[\\/\\1\\]/,close_open_align+\"[$1]$2[/$1]\"+close_open_align)).replace(/\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]/,close_open_align+\"[indent data=$1]$2[/indent]\"+close_open_align)).replace(/(?:<br>|\\n)/gim,close_open_align)).replace(new RegExp(\"\\\\[\"+align+\"\\\\]\\\\[\\\\/\"+align+\"\\\\]\",\"gmi\"),\"\"))))).replace(/\\[size=1\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-small\">$1</span>')).replace(/\\[size=2\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-small\">$1</span>')).replace(/\\[size=3\\](.*?)\\[\\/size\\]/gim,\"$1\")).replace(/\\[size=4\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-large\">$1</span>')).replace(/\\[size=5\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-large\">$1</span>')).replace(/\\[size=6\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-huge\">$1</span>')).replace(/\\[size=7\\](.*?)\\[\\/size\\]/gim,'<span class=\"ql-size-huge\">$1</span>')).replace(/\\[color=(.*?)\\](.*?)\\[\\/color\\]/gim,'<span style=\"color:$1;\">$2</span>')).replace(/\\[highlight=(.*?)\\](.*?)\\[\\/highlight\\]/gim,'<span style=\"background-color:$1;\">$2</span>')).replace(/\\[font=\"(.*?)\"\\](.*?)\\[\\/font\\]/gim,(function(match,m1,m2){return`<span class=\"ql-font-${BBCODE_TO_HTML_FONTS[m1]}\">${m2}</span>`}))).replace(/\\[(center|right|justify)\\]\\[(h[1-4]|blockquote)\\]\\[indent data=(.*?)\\]/gim,'<$2 class=\"ql-align-$1 ql-indent-$3\">')).replace(/\\[(center|right|justify)\\]\\[(h[1-4]|blockquote)\\]/gim,'<$2 class=\"ql-align-$1\">')).replace(/\\[(h[1-4]|blockquote)\\]\\[indent data=(.*?)\\]/gim,'<$1 class=\"ql-indent-$2\">')).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\">')).replace(/\\[(center|right|justify)\\]\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]\\[\\/(center|right|justify)\\]\\n?/gim,'<p class=\"ql-align-$1 ql-indent-$2\">$3</p>')).replace(/\\[(center|right|justify)\\](.*?)\\[\\/\\1\\]\\n?/gims,'<p class=\"ql-align-$1\">$2</p>')).replace(/\\[indent data=(.*?)\\](.*?)\\[\\/indent\\]\\n?/gim,'<p class=\"ql-indent-$1\">$2</p>')).replace(/\\[b\\]/gi,\"<strong>\")).replace(/\\[\\/b\\]/gi,\"</strong>\")).replace(/\\[i\\]/gi,\"<em>\")).replace(/\\[\\/i\\]/gi,\"</em>\")).replace(/\\[u\\]/gi,\"<u>\")).replace(/\\[\\/u\\]/gi,\"</u>\")).replace(/\\[s\\]/gi,\"<s>\")).replace(/\\[\\/s\\]/gi,\"</s>\")).replace(/\\[quote\\]/gi,\"<blockquote>\")).replace(/\\[\\/quote\\]/gi,\"</blockquote>\")).replace(/\\[code\\]/gi,\"<pre>\")).replace(/\\[\\/code\\]/gi,\"</pre>\")).replace(/\\[sub\\]/gi,\"<sub>\")).replace(/\\[\\/sub\\]/gi,\"</sub>\")).replace(/\\[sup\\]/gi,\"<sup>\")).replace(/\\[\\/sup\\]/gi,\"</sup>\")).replace(/\\[h1\\]/gi,\"<h1>\")).replace(/\\[\\/(h[1-4])]\\n?/gi,\"</$1>\")).replace(/\\[(h[1-4])\\]/gi,\"<$1>\")).replace(/\\[\\/indent\\]/gi,\"\")).replace(/\\[\\/center\\]\\n?/gi,\"\")).replace(/\\[\\/right\\]\\n?/gi,\"\")).replace(/\\[\\/justify\\]\\n?/gi,\"\")).replace(/\\[hr\\]/gi,\"\")).replace(/\\[email(.*?)\\]/gi,\"\")).replace(/\\[\\/email\\]/gi,\"\")).replace(/\\[left\\]/gi,\"\")).replace(/\\[\\/left\\]/gi,\"\")).replace(/\\[ml\\]\\[ol\\](.*?)\\[\\/ol\\]\\[\\/ml\\]/gim,\"<ol>$1</ol>\")).replace(/\\[ml\\]\\[ul\\](.*?)\\[\\/ul\\]\\[\\/ml\\]/gim,\"<ul>$1</ul>\")).replace(/\\[ol(.*?)\\]/gi,\"\")).replace(/\\[\\/ol\\]/gi,\"\")).replace(/\\[ul(.*?)\\]/gi,\"\")).replace(/\\[\\/ul\\]/gi,\"\")).replace(/\\[li indent=(.*?) align=(.*?)\\]/gi,(x=>{const indent=x.replace(/\\[li indent=(.*?) align=(.*?)\\]/gi,\"$1\"),alignment=x.replace(/\\[li indent=(.*?) align=(.*?)\\]/gi,\"$2\");let result=\"<li\";return\"0\"===indent&&\"left\"===alignment||(result+=' class=\"'),\"0\"!==indent&&(result+=\"ql-indent-\"+indent),\"left\"!==alignment&&(result+=\" ql-align-\"+alignment),\"0\"===indent&&\"left\"===alignment||(result+='\"'),result+\">\"}))).replace(/\\[li\\]/gi,\"<li>\")).replace(/\\[\\/li\\]/gi,\"</li>\")).replace(/\\[img width=(.*?)\\](.*?)\\[\\/img\\]/gim,'<img src=\"$2\" width=\"$1\">')).replace(/\\[img\\](.*?)\\[\\/img\\]/gim,'<img src=\"$1\">')).replace(/\\[url=(.*?)\\](.*?)\\[\\/url\\]/gi,'<a href=\"$1\" target=\"_blank\">$2</a>')).replace(/\\[youtube\\](.*?)\\[\\/youtube\\]/gi,'<iframe class=\"ql-video\" frameborder=\"0\" allowfullscreen=\"true\" src=\"https://www.youtube.com/embed/$1?showinfo=0\"></iframe>')).replace(/\\[video\\](.*?)\\[\\/video\\]/gi,'<iframe class=\"ql-video\" frameborder=\"0\" allowfullscreen=\"true\" src=\"$1\"></iframe>
274')).replace(/\\n/gi,\"<br>\"),done_typing=()=>{d.should_rerun_val&&d.last_update_props.autosave&&!d.is_uploading&&set_val()},set_val=()=>{const new_bbcode=htmlToBBCode(d.quill.root.innerHTML).replace(/\\n$/,\"\"),did_content_change=d.current_bbcode!==new_bbcode;d.current_bbcode=new_bbcode,did_content_change&&notify_content_changed(new_bbcode),d.pasted=!1},notify_content_changed=(bbcode,args={programmatic:!1})=>{instance.publishState(\"value\",bbcode),instance.publishState(\"value_is_valid\",is_valid()),args.programmatic||(d.should_rerun_val=!1,d.last_update_props.autobinding=bbcode,instance.publishAutobinding(bbcode),instance.triggerEvent(\"value_changes\",(err=>{err&&console.error(\"Rich text event error - please report to admin: \"+JSON.stringify(err))})))},is_valid=()=>{const quill=d.quill;return!properties.empty_is_invalid||\"\"!==checkForContent(quill.root.innerHTML)},handle_quill_text_change_event=(delta,oldDelta,source)=>{if(\"bubble_update\"===d.last_change_source)return;d.last_change_source=source,\"user\"===d.last_change_source&&(d.has_been_edited=!0),get_current_content_bbcode()===properties.initial_content&&(d.has_been_edited=!1),d.should_rerun_val=!0,d.prev_contents=htmlToBBCode(d.quill.root.innerHTML),clearTimeout(d.typing_timer_id),d.typing_timer_id=setTimeout(done_typing,DONE_TYPING_INTERVAL_MS),d.quill.theme.modules.imageResize.overlay&&!d.has_resize_listener&&(d.has_resize_listener=!0,$(d.quill.theme.modules.imageResize.overlay).one(\"mouseup\",(()=>{done_typing(),d.has_resize_listener=!1}))),fixup_images(),d.pasted=!1,set_initial_content(source);const quill=d.quill,ops=delta.ops,oldSelection=quill.getSelection(),oldPos=oldSelection?.index,oldSelectionLength=oldSelection?oldSelection.length:0;void 0!==ops[0].retain&&ops[1]&&ops[1].insert&&ops[1].insert&&\"\\n\"===ops[1].insert&&!(oldSelectionLength>0)&&setTimeout((()=>{const newPos=undefined;quill.getSelection().index===oldPos&&quill.setSelection(quill.getSelection().index+1,0)}),3)},fixup_images=()=>{const quillRoot=undefined;d.elements.quillRoot.find(\"img\").each(((index,element)=>{$(element).data(\"width\",$(element).css(\"width\"))})),upload_and_replace_inline_images()},upload_and_replace_inline_image=(file_extension,source)=>{d.is_uploading=!0,context.uploadContent(`richtext_content.${file_extension}`,source,((err,url)=>{if(err)return d.is_uploading=!1,void console.error(\"Rich text editor error - please report to admin: \"+JSON.stringify(err));const quillRoot=d.elements.quillRoot,upload_width=quillRoot.find(`img[src=\"data:image/${file_extension};base64,${source}\"]`).css(\"width\")||\"\";quillRoot.find(`img[src=\"data:image/${file_extension};base64,${source}\"]`).attr({src:url,width:upload_width}),d.is_uploading=!1}))},setImgTrackerAndDetectImgChange=rawhtml=>{const matches=rawhtml.match(BASE64IMAGEREGEX)||[];let img_change=!1;if(matches.length!==d.img_tracker)img_change=!0,d.img_tracker=matches.length;else if(\"\"!==d.prev_contents&&d.current_bbcode!==d.prev_contents)for(const img of matches)d.prev_image_list.includes(img)||(img_change=!0);return img_change&&(d.prev_image_list=matches),img_change},upload_and_replace_inline_images=()=>{const quill=undefined,rawhtml=d.quill.root.innerHTML,img_has_changed=setImgTrackerAndDetectImgChange(rawhtml),base64ImageRegex=BASE64IMAGEREGEX;let fullMatch=base64ImageRegex.exec(rawhtml),encoding,base64source;for(;img_has_changed&&fullMatch;){[encoding,base64source]=fullMatch[1].split(\",\")||[];const file_extension=(encoding||\"\").split(\";\")[0];SUPPORTED_FILE_EXTENSIONS[file_extension]&&upload_and_replace_inline_image(file_extension,base64source),fullMatch=base64ImageRegex.exec(rawhtml)}};async function clean_inline_base64_images(rawhtml){const img_has_changed=setImgTrackerAndDetectImgChange(rawhtml),base64ImageRegex=BASE64IMAGEREGEX;let fullMatch=base64ImageRegex.exec(rawhtml),encoding,base64source,returnHtml=rawhtml;if(img_has_changed)for(;fullMatch;){[encoding,base64source]=fullMatch[1].split(\",\")||[];const file_extension=(encoding||\"\").split(\";\")[0];if(SUPPORTED_FILE_EXTENSIONS[file_extension]&&(returnHtml=await upload_and_replace_inline_image_in_html(file_extension,base64source,returnHtml,fullMatch)),base64ImageRegex.lastIndex=0,fullMatch=base64ImageRegex.exec(returnHtml),!fullMatch)return returnHtml}return returnHtml}function upload_and_replace_inline_image_in_html(file_extension,source,rawhtml,fullMatch){return new Promise((resolve=>{context.uploadContent(`richtext_content.${file_extension}`,source,((err,url)=>{rawhtml=rawhtml.replace(fullMatch[0],`<img src=${url} />`),resolve(rawhtml)}))}))}const register_fonts_and_icons=()=>{const FontAttributor=window.Quill.import(\"attributors/class/font\");FontAttributor.whitelist=[...ALL_FONTS],window.Quill.register(FontAttributor,!0);const icons=window.Quill.import(\"ui/icons\");icons.header[1]=ICON_H1,icons.header[2]=ICON_H2,icons.header[3]=ICON_H3,icons.header[4]=ICON_H4},initialize_quill=()=>{instance.canvas.empty();const Delta=window.Quill.import(\"delta\");
274d.element_id||(d.element_id=`richtext-editor-${$(\".ql-container\").length}`),register_fonts_and_icons();const theme=\"Regular\"===properties.theme?\"snow\":\"bubble\";let toolbar;toolbar=\"Basic\"===properties.complexity?[[\"bold\",\"italic\",\"link\"],[{align:[]},{header:\"1\"},{header:\"2\"}]]:\"Medium\"===properties.complexity?[[{font:[...ALL_FONTS]}],[\"bold\",\"italic\",\"underline\",\"strike\"],[{color:[]},{background:[]}],[{header:\"1\"},{header:\"2\"},{header:\"3\"},{header:\"4\"}],[{list:\"ordered\"},{list:\"bullet\"}],[{indent:\"-1\"},{indent:\"+1\"},{align:[]},\"link\"]]:[[{font:[...ALL_FONTS]},{size:[]}],[\"bold\",\"italic\",\"underline\",\"strike\"],[{color:[]},{background:[]}],[{script:\"super\"},{script:\"sub\"}],[{header:\"1\"},{header:\"2\"},{header:\"3\"},{header:\"4\"},\"blockquote\",\"code-block\"],[{list:\"ordered\"},{list:\"bullet\"}],[{indent:\"-1\"},{indent:\"+1\"},{align:[]}],[\"link\",\"image\",\"video\"],[\"clean\"]],instance.canvas.append(`<div id=\"${d.element_id}\"></div>`);const quill=new window.Quill(`#${d.element_id}`,{theme:theme,bounds:`#${d.element_id}`,modules:{imageResize:{modules:[\"Resize\",\"DisplaySize\"]},toolbar:toolbar,clipboard:{},history:{userOnly:!0}},placeholder:d.updated_props.placeholder||\"\"}),rteContainer=$(quill.container);d.elements.rteContainer=rteContainer;const toolbarElement=rteContainer.siblings(\".ql-toolbar\");d.elements.toolbarElement=toolbarElement;const toolbarHeight=toolbarElement.length>0?(toolbarElement[0].clientHeight||0)+3:0,editorContainer=undefined;rteContainer.find(\".ql-editor\").css({\"max-height\":`calc(${d.last_update_bubble_props.max_height_css} - ${toolbarHeight}px)`}),apply_flex_display_to_parent_container(),\"none\"!==properties.bubble.border_style()&&\"snow\"===theme&&toolbarElement.css({border:\"none\",\"border-bottom\":\"1px solid #ccc\"}),quill.clipboard.addMatcher(\"span\",((node,delta)=>
274{for(const node_class of node.classList){if(!node_class.startsWith(\"ql-font-\"))continue;const matched_font=node_class.replace(\"ql-font-\",\"\");if(ALL_FONTS.has(matched_font)&&\"sans-serif\"!==matched_font)return delta.compose((new Delta).retain(delta.length(),{font:matched_font}))}return delta}));const quillRoot=$(quill.root);d.elements.quillRoot=quillRoot,$(\".ql-bold\").attr(\"title\",\"Bold\"),$(\".ql-italic\").attr(\"title\",\"Italic\"),$(\".ql-underline\").attr(\"title\",\"Underline\"),$('.ql-header[value=\"1\"]').attr(\"title\",\"Title\"),$('.ql-header[value=\"2\"]').attr(\"title\",\"Subtitle\"),$(\".ql-align\").attr(\"title\",\"Text alignment\"),[\"Full\",\"Medium\"].includes(properties.complexity)&&($('.ql-header[value=\"3\"]').attr(\"title\",\"Subtitle\"),$('.ql-header[value=\"4\"]').attr(\"title\",\"Subtitle\"),$(\".ql-strike\").attr(\"title\",\"Strikethrough\"),$(\".ql-color\").attr(\"title\",\"Font color\"),$(\".ql-background\").attr(\"title\",\"Highlight color\"),$(\".ql-font\").attr(\"title\",\"Font\"),$('.ql-list[value=\"ordered\"]').attr(\"title\",\"Numbered list\"),$('.ql-list[value=\"bullet\"]').attr(\"title\",\"Bulleted list\"),$('.ql-indent[value=\"+1\"]').attr(\"title\",\"Indent\"),$('.ql-indent[value=\"-1\"]').attr(\"title\",\"Remove indent\"),$(\".ql-link\").attr(\"title\",\"Link\")),\"Full\"===properties.complexity&&($(\".ql-size\").attr(\"title\",\"Font size\"),$('.ql-script[value=\"super\"]').attr(\"title\",\"Superscript\"),$('.ql-script[value=\"sub\"]').attr(\"title\",\"Subscript\"),$(\".ql-blockquote\").attr(\"title\",\"Quote\"),$(\".ql-code-block\").attr(\"title\",\"Code\"),$(\".ql-image\").attr(\"title\",\"Image\"),$(\".ql-video\").attr(\"title\",\"Video\"),$(\".ql-clean\").attr(\"title\",\"Remove all formatting\")),$(\".ql-font .ql-picker-options\").css({height:\"250px\",overflow:\"scroll\"}),$(\".ql-font .ql-picker-options .ql-picker-item\").each(((index,element)=>{$(element).attr(\"data-label\",HTML_TO_BBCODE_FONTS[$(element).data(\"value\")])}
274)),d.quill=quill;const tooltip=undefined,input=undefined;quill.theme.tooltip.root.querySelector(\"input[data-link]\").dataset.link=properties.link_placeholder,quillRoot.on(\"scroll\",(()=>{const resize_obj=rteContainer.children()[3];resize_obj&&!resize_obj.hidden&&quill.theme.modules.imageResize.repositionElements()})),rteContainer.mouseup((()=>{rteContainer.children()[3]&&done_typing()}));const rte_canvas=rteContainer.children()[0];rte_canvas.onfocus=()=>{instance.publishState(\"field_is_focused\",!0)},rte_canvas.onblur=()=>{d.pasted||(instance.publishState(\"field_is_focused\",!1),clearTimeout(d.typing_timer_id),d.should_rerun_val&&!d.is_uploading&&set_val())},$(\".ql-toolbar\").mousedown((e=>e.preventDefault())),quill.on(\"text-change\",handle_quill_text_change_event),$(\".ql-formats\").on(\"click\",(()=>rteContainer.children().eq(3).hide())),d.prev_contents=\"\",d.initialized=!0},set_content_with_delta=(quill,bbcode,desired_delta)=>{desired_delta.insert(\"\\n\");const current_delta=quill.getContents();if(d.helpers.deltaIsEqual(current_delta,desired_delta)&&bbcode===d.prev_contents)return;const actual_change_source=d.last_change_source;d.last_change_source=\"bubble_update\",quill.setContents(desired_delta),d.last_change_source=actual_change_source},set_html_content_in_quill_from_bbcode=async(quill,bbcode,cb)=>{const desired_html=undefined;clean_inline_base64_images(bbCodeToHTML(bbcode)).then((result=>{const desired_delta=quill.clipboard.convert(result);set_content_with_delta(quill,bbcode,desired_delta);const cleaned_bbcode=htmlToBBCode(result);cb(cleaned_bbcode)}))},track_first_time_content_set=()=>{d.did_set_content_first_time&&(d.did_set_content_first_time=!1)},set_selection=quill=>{const current_selection=quill.getSelection();current_selection&&quill.setSelection(current_selection)};d.set_content_in_quill=async bbcode=>{const quill=d.quill,post_image_fixup_cb=bbcode=>{track_first_time_content_set(quill),set_selection(quill),quill.history.clear(),notify_content_changed(bbcode,{programmatic:!0})};set_html_content_in_quill_from_bbcode(quill,bbcode,post_image_fixup_cb)};const should_reinitialize=()=>{if(!d.initialized)return!0;const PROPS_THAT_NEED_REINITIALIZATION=[\"theme\",\"complexity\"];for(const prop of PROPS_THAT_NEED_REINITIALIZATION)if(prop in d.updated_props)return!0;return!1},set_initial_content=source=>{\"user\"!==source&&\"silent\"!==source&&(properties.autobinding||properties.initial_content===d.initial_bbcode||d.has_been_edited||(properties.initial_content=d.initial_bbcode))},get_non_null_autobinding_value=()=>properties.autobinding||\"\",get_current_content_bbcode=()=>d.did_set_content_first_time&&\"user\"===d.last_change_source?d.prev_contents||\"\":d.is_autobound?get_non_null_autobinding_value():d.has_been_edited?d.prev_contents:(d.should_rerun_val=!1,properties.initial_content||\"\"),sanitizeHTML=html=>bbCodeToHTML(htmlToBBCode(html)),get_initial_content_bbcode=()=>d.is_autobound?(properties.initial_content&&console.warn(\"Ignoring initial content since autobinding is enabled.\"),get_non_null_autobinding_value(properties)):(properties.initial_content=sanitizeHTML(properties.initial_content),properties.initial_content||\"\"),reconcile=()=>{let content_bbcode=\"\";const initial_content_bbcode=get_initial_content_bbcode();d.initial_bbcode!==initial_content_bbcode&&(content_bbcode=initial_content_bbcode,d.initial_html=bbCodeToHTML(content_bbcode),d.initial_bbcode=content_bbcode,d.has_been_edited&&!d.is_autobound||(d.current_bbcode=d.initial_bbcode)),null==d.current_bbcode&&(d.current_bbcode=d.initial_bbcode),d.initialized&&(content_bbcode=get_current_content_bbcode()),d.updated_props.autobinding&&d.is_autobound&&(content_bbcode=get_non_null_autobinding_value()),should_reinitialize()&&initialize_quill(),\"disabled\"in d.updated_props&&d.quill.enable(!d.updated_props.disabled),\"placeholder\"in d.updated_props&&(d.quill.root.dataset.placeholder=d.updated_props.placeholder||\"\"),content_bbcode!==d.prev_contents&&(d.set_content_in_quill(content_bbcode),d.prev_contents=content_bbcode),d.has_been_reconciled=!0,disable_image_selection_when_input_is_disabled()},disable_image_selection_when_input_is_disabled=function(){$(\".ql-editor img\").click((e=>{d.updated_props.disabled&&e.stopPropagation()}))},apply_flex_display_to_parent_container=function(){const is_visible=undefined;instance.data.last_update_bubble_props.is_visible?(instance.canvas.css({display:\"flex\",\"flex-direction\":\"column\"}),d.elements.rteContainer.css({border:\"none\",height:\"max-content\",\"min-height\":0,\"flex-shrink\":1,\"flex-grow\":1}),d.elements.toolbarElement.css({\"flex-grow\":0,\"flex-shrink\":0})):instance.canvas.css({display:\"none\",\"flex-direction\":\"column\"})};d.has_been_reconciled=!1,$(document).ready(reconcile)};"},"reset":{"fn":"function(instance,context){const d=instance.data;d.quill&&(d.is_autobound||(d.set_content_in_quill(d.initial_bbcode),d.last_change_source=\"api\",d.has_been_edited=!1))}"},"preview":{"fn":"function(instance, properties) {\n\n    //custom preview that changes as various properties are changed\n    //uses images rather than 
274initializing 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\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328422624x814410333288381700/basic_styles.png\",\n        \"basic_text_alignment\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328435036x176083124177772740/basic_align.png\",\n        \"font\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328456820x636678729904445200/font.png\",\n        \"size\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328471900x601277843539461200/size.png\",\n        \"text_styles\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328500984x237729254917328450/text_styles.png\",\n        \"text_color\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578526040133x618924377176704400/text_color.png\",\n        \"sup_sub\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328553500x547904523073018600/sup_sub.png\",\n        \"titles_quote_code\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328573740x193466729817275650/titles_quote_code.png\",\n        \"media\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328690820x732983396842500400/media.png\",\n        \"remove_style\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1578328704608x655581645962726700/remove_style.png\",\n        \"list\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1580145133799x948312827511517800/list.png\",\n        \"indent_align\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1580145152691x503666194763457100/indent_align.png\",\n        \"all_titles\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1585641019238x597655811909080000/all%20titles.png\",\n        \"code_quotes\": \"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1585641079062x980676637005123800/code%20quotes.png\",\n        \"medium_format\": \"//9f1da654b591be4992125452a4c049b2.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"}}};
275window._bubble_page_load_data.plugins_size['1580238841425x582072028873097200'] = 47452;
276window.preloaded['plugin/third_party:1580238841425x582072028873097200:3.1.0'] = true;
277window.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."}}
277,"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){const delimiter=\"tab\"===properties.delimiter?\"\\t\":properties.delimiter;let sourceJSON=properties.source_JSON.trim();sourceJSON.startsWith(\"[\")&&(sourceJSON=sourceJSON.slice(1)),sourceJSON.endsWith(\"]\")&&(sourceJSON=sourceJSON.slice(0,-1));const content=JSON.parse(`[${sourceJSON.replace(/(\\r\\n|\\n|\\r)/gm,\"\")}]`),filename=`${properties.file_name}.csv`,mimetype=\"text/csv\",csvData=\"\\ufeff\"+Papa.unparse(content,{delimiter:delimiter,encoding:\"UTF-8\"}),blob=new Blob([csvData],{type:mimetype});function openSaveFileDialog(blob,filename){if(!blob)return;if(navigator.msSaveBlob)return void navigator.msSaveBlob(blob,filename);const lnk=document.createElement(\"a\"),url=window.URL,objectURL=url.createObjectURL(blob);lnk.download=filename||\"untitled\",lnk.href=objectURL,lnk.dispatchEvent(new MouseEvent(\"click\")),setTimeout((()=>url.revokeObjectURL(objectURL)),0)}async function createFile(blob,filename){const reader=new FileReader;return new Promise(((resolve,reject)=>{reader.onloadend=()=>{const base64String=reader.result,base64Substring=base64String.substr(base64String.indexOf(\",\")+1);context.uploadContent(filename,base64Substring,((err,url)=>{err?reject(err):resolve(url)}))},reader.onerror=()=>{reject(new Error(\"Failed to read the blob.\"))},reader.readAsDataURL(blob)}))}function publishUrl(url){instance.publishState(\"created_file\",url),instance.triggerEvent(\"has_created_your_file\")}createFile(blob,filename).then((url=>{properties.save_file&&openSaveFileDialog(blob,filename),publishUrl(url)})).catch((err=>{console.error(\"Error:\",err)}))}"},"fields":{"ABj":{"caption":"𝗙𝗜𝗟𝗘 𝗡𝗔𝗠𝗘","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":"𝗝𝗦𝗢𝗡 𝗖𝗢𝗡𝗧𝗘𝗡𝗧","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":"𝗙𝗜𝗟𝗘 𝗗𝗘𝗟𝗜𝗠𝗜𝗧𝗘𝗥","name":"delimiter","rank":5,"editor":"DynamicValue","value":"text","default_val":","},"ABs":{"caption":"𝗔𝗟𝗟𝗢𝗪 𝗨𝗦𝗘𝗥 𝗧𝗢 𝗦𝗔𝗩𝗘 𝗧𝗛𝗘 𝗙𝗜𝗟𝗘","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"}
277,"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 
277CSV 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":"𝗝𝗦𝗢𝗡 𝗖𝗢𝗡𝗧𝗘𝗡𝗧","name":"source_JSON","rank":1,"editor":"DynamicValue","value":"text","is_list":false},"ABI":{"caption":"𝗙𝗜𝗟𝗘 𝗡𝗔𝗠𝗘","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":"𝗙𝗜𝗟𝗘 𝗗𝗘𝗟𝗜𝗠𝗜𝗧𝗘𝗥","name":"delimiter","rank":5,"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":6,"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":7,"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":8,"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":9,"editor":"Label"},"ACV":{"caption":"𝗘𝗡𝗖𝗟𝗢𝗦𝗘 𝗜𝗡 𝗤𝗨𝗢𝗧𝗘𝗦","name":"quotes","rank":3,"editor":"Checkbox","default_val":false},"ACb":{"caption":"If checked all values will be enclosed in double quotes","name":"quotes_info","rank":4,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){const delimiter=\"tab\"===properties.delimiter?\"\\t\":properties.delimiter,filename=`${properties.file_name}.csv`,mimetype=\"text/csv\";function cleanJSON(jsonString){return jsonString.startsWith(\"[\")&&(jsonString=jsonString.slice(1)),jsonString.endsWith(\"]\")&&(jsonString=jsonString.slice(0,-1)),jsonString}let cleanedJSON=cleanJSON(properties.source_JSON),content,csvFile;try{content=JSON.parse(`[${cleanedJSON.replace(/(\\r\\n|\\n|\\r)/gm,\"\")}]`)}catch(error){return void console.error(\"Invalid JSON:\",error)}try{csvFile=\"\\ufeff\"+Papa.unparse(content,{delimiter:delimiter,quotes:properties.quotes,encoding:\"UTF-8\"})}catch(error){return void console.error(\"Error during CSV generation:\",error)}function openSaveFileDialog(data,filename,mimetype){if(data)try{const blob=data.constructor!==Blob?new Blob([data],{type:mimetype||\"application/octet-stream\"}):data,link=document.createElement(\"a\"),objectURL=URL.createObjectURL(blob);link.href=objectURL,link.download=filename,link.dispatchEvent(new MouseEvent(\"click\")),setTimeout((()=>URL.revokeObjectURL(objectURL)),100)}catch(error){console.error(\"Error during file creation or download:\",error)}}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":"𝗝𝗦𝗢𝗡 𝗖𝗢𝗡𝗧𝗘𝗡𝗧","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":"𝗙𝗜𝗟𝗘 𝗗𝗘𝗟𝗜𝗠𝗜𝗧𝗘𝗥","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":"𝗘𝗡𝗖𝗟𝗢𝗦𝗘 𝗜𝗡 𝗤𝗨𝗢𝗧𝗘𝗦","name":"quotes","rank":2,"editor":"Checkbox","default_val":false}}}}};
278window._bubble_page_load_data.plugins_size['1582601241392x653181519983018000'] = 24447;
279window.preloaded['plugin/third_party:1582601241392x653181519983018000:3.8.0'] = true;
280window.plugins["1587929234946x994979181824311300"] = {"human":"Missing plugin","dependencies":{"use_jquery":true},"plugin_actions":{"AAC":{"display":"Normalize Text","type":"server_side","return_value":{"AAF":{"caption":"text","name":"output","rank":0,"value":"text"}},"fields":{"AAD":{"caption":"text","name":"text","rank":0,"editor":"DynamicValue","value":"text"},"AAE":{"caption":"api","name":"api","rank":1,"editor":"Dropdown","default_val":"normalizeText"}}}}};
281window._bubble_page_load_data.plugins_size['1587929234946x994979181824311300'] = 412;
282window.preloaded['plugin/third_party:1587929234946x994979181824311300:1.0.0'] = true;
283window.plugins["1609444246883x924984661248573400"] = {"human":"Input Mask","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"human":""},"plugin_elements":{"AAD":{"display":"Mask Input","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Id Attribute Input","name":"id","rank":0,"editor":"DynamicValue","value":"text","optional":false},"AAF":{"caption":"Mask","name":"mask","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AAM":{"caption":"Reverse","name":"reverse","rank":2,"editor":"Checkbox","default_val":false},"AAO":{"caption":"Brazil Mask ","name":"type","rank":3,"editor":"Dropdown","default_val":"Off","optional":false},"AAc":{"caption":"Português: Máscara não funciona? Se a entrada que estiver configurada para receber a máscara invisível estiver, e o plugin estiver visível, a mascara não irá funcionar. Você precisa inserir as mesmas condições de visivel e invisivel no plugin. Desta maneira sempre que o Input carregar o plugin será capaz de fazer a leitura do elemento.","name":"information","rank":5,"editor":"Label"},"AAd":{"caption":"English : The input mask does not work? If the input configured to receive the input mask is invisible and the plugin is visible, the input mask will not work. You must enter the same visible and invisible conditions in the plugin. This way, each time the input is loaded, the plugin will be able to read the element.","name":"information","rank":6,"editor":"Label"},"AAe":{"caption":"Français : Le masque de saisie ne fonctionne pas ? Si l'input configurée pour recevoir le masque de saisie est invisible et que le plugin est visible, le masque de saisie ne fonctionnera pas. Vous devez entrer les mêmes conditions visibles et invisibles dans le plugin. De cette façon, chaque fois que l'input est charge, le plugin elle pourra lire l'élément.","name":"information","rank":7,"editor":"Label"},"AAo":{"caption":"Keyboard Number?","name":"only_number","rank":4,"editor":"Checkbox","default_val":false}},"states":{"AAW":{"caption":"Logradouro","name":"logradouro","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAX":{"caption":"Bairro","name":"bairro","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAY":{"caption":"Localidade","name":"localidade","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAZ":{"caption":"UF","name":"uf","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAa":{"caption":"IBGE","name":"ibge","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AAg":{"caption":"Input Value ","name":"value","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAT":{"caption":"CEP Inválido","name":"invalido"},"AAU":{"caption":"CEP Encontrado","name":"valido"},"AAV":{"caption":"CEP Incorreto","name":"inexistente"},"AAn":{"caption":"Value ","name":"value"}},"actions":{"AAR":{"caption":"Busca CEP","code":{"fn":"function(instance,properties,context){$(document).ready((function(){if(instance.publishState(\"logradouro\"),instance.publishState(\"bairro\"),instance.publishState(\"localidade\"),instance.publishState(\"uf\"),instance.publishState(\"ibge\"),null!=properties.cep){var cep=properties.cep.replace(/\\D/g,\"\");8==cep.length?$.getJSON(\"https://viacep.com.br/ws/\"+cep+\"/json/?callback=?\",(function(dados){\"erro\"in dados?instance.triggerEvent(\"invalido\"):(instance.publishState(\"logradouro\",dados.logradouro),instance.publishState(\"bairro\",dados.bairro),instance.publishState(\"localidade\",dados.localidade),instance.publishState(\"uf\",dados.uf),instance.publishState(\"ibge\",dados.ibge),instance.triggerEvent(\"valido\"))})):instance.triggerEvent(\"inexistente\")}}))}"},"fields":{"AAb":{"caption":"CEP","name":"cep","rank":0,"editor":"DynamicValue","value":"text"}}},"AAh":{"caption":"Input Value","code":{"fn":"function(instance,properties,context){var value=$(\"#\"+properties.id).val();instance.publishState(\"value\",value),instance.triggerEvent(\"value\")}"},"fields":{"AAj":{"caption":"Input ID","name":"id","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n   var preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\",\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1639433095446x477196462328326660/logopng.fw.png\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n   \n\n}"},"initialize":{"fn":""},"update":{"fn":"function(instance,properties,context){$(document).ready((function(){if(1==properties.only_number)var change=document.getElementById(properties.id).setAttribute(\"type\",\"tel\");var input=$(\"#\"+properties.id);if(\"Off\"==properties.type)if(\"00:00\"==properties.mask){var SPMaskBehavior=function(val){return\"2\"===val.replace(/\\D/g,\"\")[0]?\"AE:CD\":\"AB:CD\"},spOptions={onKeyPress:function(val,e,field,options){field.mask(SPMaskBehavior.a
283pply({},arguments),options)},translation:{A:{pattern:/[0-2]/,optional:!1},B:{pattern:/[0-9]/,optional:!1},C:{pattern:/[0-5]/,optional:!1},D:{pattern:/[0-9]/,optional:!1},E:{pattern:/[0-3]/,optional:!1}}};input.mask(SPMaskBehavior,spOptions)}else input.mask(properties.mask,{reverse:properties.reverse});if(\"CPF/CNPJ\"==properties.type){var CPFCNPJ={onKeyPress:function(cpf,ev,el,op){var masks=[\"000.000.000-000\",\"00.000.000/0000-00\"];input.mask(cpf.length>14?masks[1]:masks[0],op)}};input.length>11?input.mask(\"00.000.000/0000-00\",CPFCNPJ):input.mask(\"000.000.000-00#\",CPFCNPJ)}if(\"Fixo/Mobile\"==properties.type){var FixoMobile=function(val){return 11===val.replace(/\\D/g,\"\").length?\"(00) 0 0000-0000\":\"(00) 0000-00009\"},TelOptions={onKeyPress:function(val,e,field,options){field.mask(FixoMobile.apply({},arguments),options)}};input.mask(FixoMobile,TelOptions)}}))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"AAQ":{"display":"Input Mask Busca CPF/CNPJ","type":"server_side","return_value":{"AIr":{"caption":"Verified CPF/CPNJ","name":"verified","rank":0,"value":"boolean"}},"fields":{"AAP":{"caption":"CPF/CNPJ Value","name":"value","rank":0,"editor":"DynamicValue","value":"text"}}}}};
284window._bubble_page_load_data.plugins_size['1609444246883x924984661248573400'] = 6396;
285window.preloaded['plugin/third_party:1609444246883x924984661248573400:2.0.0'] = true;
286window.plugins["1611420341171x644172687243214800"] = {"human":"Formatador de Inputs Brasil","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Inputs Brasil","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Input ID","name":"input_id","rank":0,"editor":"StaticText"},"AAI":{"caption":"Tipo de Formatação","name":"formatType","rank":1,"editor":"Dropdown","default_val":"Celular"},"AAJ":{"caption":"Formato da Data","name":"dateFormat","rank":2,"editor":"StaticText","default_val":"d,m,Y"}},"states":{"AAK":{"caption":"Valor Original","name":"rawInputValue","value":"text","initialization_code":{"fn":""}},"AAL":{"caption":"Valor Original Numérico","name":"rawNumber","value":"number","initialization_code":{"fn":""}}},"code":{"preview":{"fn":""},"initialize":{"fn":"function(instance,context){}","add_debugger":false},"update":{"fn":"function(instance,properties,context){$(document).ready((function(){var optionSelected=properties.formatType,dateArray=properties.dateFormat.split(\",\");switch(optionSelected){case\"Celular\":var cleave=new Cleave(\"#\"+properties.input_id,{delimiters:[\"(\",\")\",\" \",\"-\"],blocks:[0,2,0,5,4]});break;case\"Telefone Fixo\":var cleave=new Cleave(\"#\"+properties.input_id,{delimiters:[\"(\",\")\",\" \",\"-\"],blocks:[0,2,0,4,4]});break;case\"CPF\":var cleave=new Cleave(\"#\"+properties.input_id,{delimiters:[\".\",\".\",\"-\"],blocks:[3,3,3,2],numericOnly:!0});break;case\"CNPJ\":var cleave=new Cleave(\"#\"+properties.input_id,{delimiters:[\".\",\".\",\"/\",\"-\"],blocks:[2,3,3,4,2],numericOnly:!0});break;case\"Cartão de Crédito\":var cleave=new Cleave(\"#\"+properties.input_id,{delimiters:[\" \",\" \",\" \"],blocks:[4,4,4,4]});break;case\"Data\":var cleave=new Cleave(\"#\"+properties.input_id,{date:!0,datePattern:dateArray});break;case\"CEP\":var cleave=new Cleave(\"#\"+properties.input_id,{delimiters:[\"-\"],blocks:[5,3],numericOnly:!0})}$(\"#\"+properties.inputID).change((function(){var rawInputValue=cleave.getRawValue();instance.publishState(\"rawinput\",rawInputValue);var rawInputNumber=rawInputValue.replace(/[^\\d.-]/g,\"\");rawInputNumber?instance.publishState(\"rawNumber\",rawInputNumber):instance.publishState(\"rawInputNumber\",null)}))}))}","add_debugger":true},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
287window._bubble_page_load_data.plugins_size['1611420341171x644172687243214800'] = 2334;
288window.preloaded['plugin/third_party:1611420341171x644172687243214800:1.3.1'] = true;
289window.plugins["1614870624312x366623757063684100"] = {"human":"Online / Offline Status Detect","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAK":{"display":"Online/Offline","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Time Max (Seconds)","name":"seconds","rank":0,"editor":"DynamicValue","value":"number","default_val":30},"AAR":{"caption":"Online","name":"online","rank":1,"editor":"DynamicValue","value":"text","default_val":"Online"},"AAS":{"caption":"Offline","name":"offline","rank":2,"editor":"DynamicValue","value":"text","default_val":"Offline"}},"states":{"AAP":{"caption":"User Status","name":"status","value":"text","initialization_code":{"fn":"function(properties,context){return properties.online}"}},"AAT":{"caption":"Date Time Off","name":"date_off","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"AAU":{"caption":"Date Time On","name":"date_on","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"AAb":{"caption":"Internet connected?","name":"internet","value":"boolean","initialization_code":{"fn":"function(properties,context){return!0}"}}},"events":{"AAC":{"caption":"User Offline","name":"inactive"},"AAY":{"caption":"User Online","name":"active"},"AAZ":{"caption":"Closed ","name":"closed"},"AAa":{"caption":"Load","name":"load"}},"code":{"preview":{"fn":"function(instance, properties) {\nvar preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1614866901713x196347420286953730/online_preview.fw.png\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n}"},"initialize":{"fn":"function(instance,context){instance.publishState(\"date_on\",new Date),instance.triggerEvent(\"active\"),instance.triggerEvent(\"load\")}"},"update":{"fn":"function(instance,properties,context){function activityWatcher(){var status=\"\",secondsSinceLastActivity=0,maxInactivity=properties.seconds,activityEvents;function activity(){secondsSinceLastActivity=0,1==status&&(instance.publishState(\"status\",properties.online),instance.publishState(\"date_on\",new Date),status=!1,instance.triggerEvent(\"active\"))}setInterval((function(){++secondsSinceLastActivity==maxInactivity&&(instance.publishState(\"status\",properties.offline),instance.publishState(\"date_off\",new Date),status=!0,instance.triggerEvent(\"inactive\"))}),1e3),[\"mousedown\",\"mousemove\",\"keydown\",\"scroll\",\"touchstart\"].forEach((function(eventName){document.addEventListener(eventName,activity,!0)}))}function StatusInternet(){navigator.onLine?instance.publishState(\"internet\",!0):instance.publishState(\"internet\",!1)}activityWatcher(),window.onunload=window.onbeforeunload=function(){instance.triggerEvent(\"closed\")},window.addEventListener(\"load\",StatusInternet),window.addEventListener(\"online\",(function(e){
289StatusInternet()})),window.addEventListener(\"offline\",(function(e){StatusInternet()}))}","add_debugger":true},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
290window._bubble_page_load_data.plugins_size['1614870624312x366623757063684100'] = 3245;
291window.preloaded['plugin/third_party:1614870624312x366623757063684100:2.1.0'] = true;
292window.plugins["1615402288950x110240248310005760"] = {"human":"CSS Loading Animations","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAF":{"display":"Loader ","property_applications":{"resizable":true,"MinWidth":true,"Border":false},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":false,"can_fit_height":false,"fields":{"AAC":{"caption":"Loader Color","name":"color","rank":0,"editor":"Color","default_val":"rgba(0, 158, 247, 1)"},"AAD":{"caption":"Loader Style","name":"class","rank":1,"editor":"Dropdown","default_val":"Spinner"},"AAE":{"caption":"Loading.io's CSS spinner uses CSS Animation, which is wildly supported by all modern browsers such as Google Chrome and Mozilla Firefox. However, Microsoft Internet Explorer version earlier than 10 don't support CSS Animation. https://loading.io/css/","name":"Credits","rank":2,"editor":"Label"},"AAG":{"caption":"Border Width","name":"border_width","rank":3,"editor":"DynamicValue","value":"number","default_val":6},"AAH":{"caption":"Loader Width","name":"width","rank":4,"editor":"DynamicValue","value":"number","default_val":40},"AAI":{"caption":"Loader Height","name":"height","rank":5,"editor":"DynamicValue","value":"number","default_val":40}},"code":{"preview":{"fn":"function(instance, properties) {\n    \n    var bubbleWidth = properties.width + 'px';\n    var bubbleHeight = properties.height + 'px';\n    var bubbleWidth4 = properties.width*0.05 + 'px';\n    var bubbleWidth6 = properties.width*0.075 + 'px';\n    var bubbleWidth7 = properties.width*0.0875 + 'px';\n    var bubbleWidth8 = properties.width*0.1 + 'px';\n    var bubbleWidth12 = properties.width*0.15 + 'px';\n    var bubbleWidth16 = properties.width*0.2 + 'px';\n    var bubbleWidth17 = properties.width*0.2125 + 'px';\n    var bubbleWidth24 = properties.width*0.3 + 'px';\n    var bubbleWidth32 = properties.width*0.4 + 'px';\n    var bubbleWidth40 = properties.width*0.5 + 'px';\n    var bubbleWidth48 = properties.width*0.6 + 'px';\n    var bubbleWidth56 = properties.width*0.7 + 'px';\n    var bubbleWidth63 = properties.width*0.7875 + 'px';\n    var bubbleWidth64 = properties.width*0.8 + 'px';\n    var bubbleWidth68 = properties.width*0.85 + 'px';\n    var bubbleWidth71 = properties.width*0.8875 + 'px';\n    var bubbleWidth72 = properties.width*0.9 + 'px';\n    var bubbleWidth37 = properties.width*0.4625 + 'px';\n    var bubbleWidth26 = properties.width*0.325 + 'px';\n    var bubbleWidth62 = properties.width*0.775 + 'px';\n    var bubbleWidth52 = properties.width*0.65 + 'px';\n    var bubbleWidth11 = properties.width*0.1375 + 'px';\n    var bubbleWidth22 = properties.width*0.275 + 'px';\n    var bubbleWidth52 = properties.width*0.65 + 'px';\n    var bubbleWidth66 = properties.width*0.825 + 'px';\n    var bubbleWidth33 = properties.width*0.4125 + 'px';\n\tvar bubbleWidth13 = properties.width*0.1625 + 'px';\n    var bubbleWidth36 = properties.width*0.45 + 'px';\n    var bubbleWidth18 = properties.width*0.225 + 'px';\n    \n //Get Value Class\n   var select = properties.class\n \n   //For Select Class\n     switch (select) {\n         case \"Dual-Ring\":\n    var class_id = \"lds-dual-ring\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"></div>');\n    $(div).appendTo('body');   \n               \n  var style = `.${class_id} {\n  display: inline-block;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}\n.${class_id}:after {\n  content: \" \";\n  display: block;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n  margin: 8px;\n  border-radius: 50%;\n  border: ${bubbleWidth6} solid ${properties.color};\n  border-color: ${properties.color} transparent ${properties.color} transparent;\n  animation: ${class_id} 1.2s linear infinite;\n}\n@keyframes ${class_id} {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}`\n   $('<style>'+ style +'</style>').appendTo('head');    \n             }\n    //-------------------------------------------------------------\n    \n     switch (select) {\n         case \"Facebook\":\n    var class_id = \"lds-facebook\"+(Math.random() * Math.pow(3, 60)).toString(20);
292\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div><div></div></div>');\n    $(div).appendTo('body');   \n             \n  var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight}\n}\n.${class_id} div {\n  display: inline-block;\n  position: absolute;\n  left: ${bubbleWidth8};\n  width: ${bubbleWidth16};\n  background: ${properties.color};\n  animation: ${class_id} 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;\n}\n.${class_id} div:nth-child(1) {\n  left: ${bubbleWidth8};\n  animation-delay: -0.24s;\n}\n.${class_id} div:nth-child(2) {\n  left: ${bubbleWidth32};\n  animation-delay: -0.12s;\n}\n.${class_id} div:nth-child(3) {\n  left: ${bubbleWidth56};\n  animation-delay: 0;\n}\n@keyframes ${class_id} {\n  0% {\n    top: ${bubbleWidth8};\n    height: ${bubbleWidth64};\n  }\n  50%, 100% {\n    top: ${bubbleWidth24};\n    height: ${bubbleWidth32};\n  }\n}`\n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n//-------------------------------------------------------------\n        switch (select) {\n         case \"Circle\":\n    var class_id = \"lds-circle\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"><div></div></div>');\n    $(div).appendTo('body');  \n    \n  var style = `.${class_id} {\n  display: inline-block;\n  transform: translateZ(1px);\n}\n.${class_id} > div {\n  display: inline-block;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n  margin: 0px;\n  border-radius: 50%;\n  background: ${properties.color};\n  animation: ${class_id} 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;\n}\n@keyframes ${class_id} {\n  0%, 100% {\n    animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);\n  }\n  0% {\n    transform: rotateY(0deg);\n  }\n  50% {\n    transform: rotateY(1800deg);\n    animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);\n  }\n  100% {\n    transform: rotateY(3600deg);\n  }\n}`\n                \n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n//-------------------------------------------------------------\n    switch (select) {\n         case \"Heart\":\n    var id_class = \"lds-heart\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+id_class+'\"><div></div></div>');\n    $(div).appendTo('body');  \n                \n  var style = `.${id_class} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n  transform: rotate(45deg);\n  transform-origin: ${bubbleWidth40} ${bubbleWidth40};\n}    \n.${id_class} div {\n  top: ${bubbleWidth32};\n  left: ${bubbleWidth32};\n  position: absolute;\n  width: ${bubbleWidth32};\n  height: ${bubbleWidth32};\n  background: ${properties.color};\n  animation: ${id_class} 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);\n}\n.${id_class} div:after,\n.${id_class} div:before {\n  content: \" \";\n  position: absolute;\n  display: block;\n  width: ${bubbleWidth32};\n  height: ${bubbleWidth32};\n  background: ${properties.color};\n}\n.${id_class} div:before {\n  left: -${bubbleWidth24};\n  border-radius: 50% 0 0 50%;\n}\n.${id_class} div:after {\n  top: -${bubbleWidth24};\n  border-radius: 50% 50% 0 0;\n}\n@keyframes ${id_class} {\n  0% {\n    transform: scale(0.95);\n  }\n  5% {\n    transform: scale(1.1);\n  }\n  39% {\n    transform: scale(0.85);\n  }\n  45% {\n    transform: scale(1);\n  }\n  60% {\n    transform: scale(0.95);\n  }\n  100% {\n    transform: scale(0.9);\n  }\n}`\n $('<style>'+ style +'</style>').appendTo('head');   \n}    \n//-------------------------------------------------------------    \n    switch (select) {\n         case \"Ring\":\n    var class_id = \"lds-ring\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div></div>');\n    $(div).appendTo('body');\n            \n  var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}            \n.${class_id} div {\n  box-sizing: border-box;\n  display: block;\n  position: absolute;\n  width: ${bubbleWidth64};\n  height: ${bubbleWidth64};\n  margin: ${bubbleWidth8};\n  border: ${bubbleWidth8} solid ${properties.color};\n  border-radius: 50%;\n  animation: ${class_id} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n  border-color: ${properties.color} transparent transparent transparent;\n}\n.${class_id}
292 div:nth-child(1) {\n  animation-delay: -0.45s;\n}\n.${class_id} div:nth-child(2) {\n  animation-delay: -0.3s;\n}\n.${class_id} div:nth-child(3) {\n  animation-delay: -0.15s;\n}\n@keyframes ${class_id} {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}`         \n                \n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n//-------------------------------------------------------------  \nswitch (select) {\n         case \"Roller\":\n    var class_id = \"lds-roller\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');\n    $(div).appendTo('body');  \n           \n  var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};    \n}\n.${class_id} div {\n  animation: ${class_id} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n  transform-origin: ${bubbleWidth40} ${bubbleWidth40};\n}\n.${class_id}
292 div:after {\n  content: \" \";\n  display: block;\n  position: absolute;\n  width: ${bubbleWidth7};\n  height: ${bubbleWidth7};\n  border-radius: 50%;\n  background: ${properties.color};\n  margin: -${bubbleWidth4} 0 0 -${bubbleWidth4};\n}\n.${class_id} div:nth-child(1) {\n  animation-delay: -0.036s;\n}\n.${class_id} div:nth-child(1):after {\n  top: ${bubbleWidth63};\n  left: ${bubbleWidth63};\n}\n.${class_id} div:nth-child(2) {\n  animation-delay: -0.072s;\n}\n.${class_id} div:nth-child(2):after {\n  top: ${bubbleWidth68};\n  left: ${bubbleWidth56};\n}\n.${class_id} div:nth-child(3) {\n  animation-delay: -0.108s;\n}\n.${class_id} div:nth-child(3):after {\n  top: ${bubbleWidth71};\n  left: ${bubbleWidth48};\n}\n.${class_id} div:nth-child(4) {\n  animation-delay: -0.144s;\n}\n.${class_id} div:nth-child(4):after {\n  top: ${bubbleWidth72};\n  left: ${bubbleWidth40};\n}\n.${class_id} div:nth-child(5) {\n  animation-delay: -0.18s;\n}\n.${class_id} div:nth-child(5):after {\n  top: ${bubbleWidth71};\n  left: ${bubbleWidth32};\n}\n.${class_id} div:nth-child(6) {\n  animation-delay: -0.216s;\n}\n.${class_id} div:nth-child(6):after {\n  top: ${bubbleWidth68};\n  left: ${bubbleWidth24};\n}\n.${class_id} div:nth-child(7) {\n  animation-delay: -0.252s;\n}\n.${class_id} div:nth-child(7):after {\n  top: ${bubbleWidth63};\n  left: ${bubbleWidth17};\n}\n.${class_id} div:nth-child(8) {\n  animation-delay: -0.288s;\n}\n.${class_id} div:nth-child(8):after {\n  top: ${bubbleWidth56};\n  left: ${bubbleWidth12};\n}\n@keyframes ${class_id} {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}`\n              \n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n    \n//-------------------------------------------------------------  \n    switch (select) {\n         case \"Default\":\n    var class_id = \"lds-default\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');\n    $(div).appendTo('body');  \n                \n   var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}\n.${class_id} div {\n  position: absolute;\n  width: ${bubbleWidth6};\n  height: ${bubbleWidth6};\n  background: ${properties.color};\n  border-radius: 50%;\n  animation: ${class_id} 1.2s linear infinite;\n}\n.${class_id} div:nth-child(1) {\n  animation-delay: 0s;\n  top: ${bubbleWidth37};\n  left: ${bubbleWidth66};\n}\n.${class_id} div:nth-child(2) {\n  animation-delay: -0.1s;\n  top: ${bubbleWidth22};\n  left: ${bubbleWidth62};\n}\n.${class_id} div:nth-child(3) {\n  animation-delay: -0.2s;\n  top: ${bubbleWidth11};\n  left: ${bubbleWidth52};\n}\n.${class_id} div:nth-child(4) {\n  animation-delay: -0.3s;\n  top: ${bubbleWidth7};\n  left: ${bubbleWidth37};\n}\n.${class_id} div:nth-child(5) {\n  animation-delay: -0.4s;\n  top: ${bubbleWidth11};\n  left: ${bubbleWidth22};\n}\n.${class_id} div:nth-child(6) {\n  animation-delay: -0.5s;\n  top: ${bubbleWidth22};\n  left: ${bubbleWidth11};\n}\n.${class_id} div:nth-child(7) {\n  animation-delay: -0.6s;\n  top: ${bubbleWidth37};\n  left: ${bubbleWidth7};\n}\n.${class_id} div:nth-child(8) {\n  animation-delay: -0.7s;\n  top: ${bubbleWidth52};\n  left: ${bubbleWidth11};\n}\n.${class_id} div:nth-child(9) {\n  animation-delay: -0.8s;\n  top: ${bubbleWidth62};\n  left: ${bubbleWidth22};\n}\n.${class_id} div:nth-child(10) {\n  animation-delay: -0.9s;\n  top: ${bubbleWidth66};\n  left: ${bubbleWidth37};\n}\n.${class_id} div:nth-child(11) {\n  animation-delay: -1s;\n  top: ${bubbleWidth62};\n  left: ${bubbleWidth52};\n}\n.${class_id} div:nth-child(12) {\n  animation-delay: -1.1s;\n  top: ${bubbleWidth52};\n  left: ${bubbleWidth62};\n}\n@keyframes ${class_id} {\n  0%, 20%, 80%, 100% {\n    transform: scale(1);\n  }\n  50% {\n    transform: scale(1.5);\n  }\n}`\n            \n            \n $('<style>'+ style +'</style>').appendTo('head');   \n            \n           }\n    //---------------------------------------------------------------\n  switch (select) {\n         case \"Ellipsis\":\n    var class_id = \"lds-ellipsis\"+(Math.random() * Math.pow(3, 60)).toString(20);
292\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div></div>');\n    $(div).appendTo('body');  \n  \n  var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}\n.${class_id} div {\n  position: absolute;\n  top: ${bubbleWidth33};\n  width: ${bubbleWidth13};\n  height: ${bubbleWidth13};\n  border-radius: 50%;\n  background: ${properties.color};\n  animation-timing-function: cubic-bezier(0, 1, 1, 0);\n}\n.${class_id} div:nth-child(1) {\n  left: ${bubbleWidth8};\n  animation: ${class_id}1 0.6s infinite;\n}\n.${class_id} div:nth-child(2) {\n  left: ${bubbleWidth8};\n  animation: ${class_id}2 0.6s infinite;\n}\n.${class_id} div:nth-child(3) {\n  left: ${bubbleWidth32};\n  animation: ${class_id}2 0.6s infinite;\n}\n.${class_id} div:nth-child(4) {\n  left: ${bubbleWidth56};\n  animation: ${class_id}3 0.6s infinite;\n}\n@keyframes ${class_id}1 {\n  0% {\n    transform: scale(0);\n  }\n  100% {\n    transform: scale(1);\n  }\n}\n@keyframes ${class_id}3 {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0);\n  }\n}\n@keyframes ${class_id}2 {\n  0% {\n    transform: translate(0, 0);\n  }\n  100% {\n    transform: translate(${bubbleWidth24}, 0);\n  }\n}`      \n          \n          \n   $('<style>'+ style +'</style>').appendTo('head');    \n }  \n//--------------------------------------------------------\n    switch (select) {\n         case \"Grid\":\n    var class_id = \"lds-grid\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');\n    $(div).appendTo('body');  \n            \n var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}\n.${class_id} div {\n  position: absolute;\n  width: ${bubbleWidth16};\n  height: ${bubbleWidth16};\n  border-radius: 50%;\n  background: ${properties.color};\n  animation: ${class_id} 1.2s linear infinite;\n}\n.${class_id} div:nth-child(1) {\n  top: ${bubbleWidth8};\n  left: ${bubbleWidth8};\n  animation-delay: 0s;\n}\n.${class_id} div:nth-child(2) {\n  top: ${bubbleWidth8};\n  left: ${bubbleWidth32};\n  animation-delay: -0.4s;\n}\n.${class_id} div:nth-child(3) {\n  top: ${bubbleWidth8};\n  left: ${bubbleWidth56};\n  animation-delay: -0.8s;\n}\n.${class_id} div:nth-child(4) {\n  top: ${bubbleWidth32};\n  left: ${bubbleWidth8};\n  animation-delay: -0.4s;\n}\n.${class_id} div:nth-child(5) {\n  top: ${bubbleWidth32};\n  left: ${bubbleWidth32};\n  animation-delay: -0.8s;\n}\n.${class_id} div:nth-child(6) {\n  top: ${bubbleWidth32};\n  left: ${bubbleWidth56};\n  animation-delay: -1.2s;\n}\n.${class_id} div:nth-child(7) {\n  top: ${bubbleWidth56};\n  left: ${bubbleWidth8};\n  animation-delay: -0.8s;\n}\n.${class_id} div:nth-child(8) {\n  top: ${bubbleWidth56};\n  left: ${bubbleWidth32};\n  animation-delay: -1.2s;\n}\n.${class_id} div:nth-child(9) {\n  top: ${bubbleWidth56};\n  left: ${bubbleWidth56};\n  animation-delay: -1.6s;\n}\n@keyframes ${class_id} {\n  0%, 100% {\n    opacity: 1;\n  }\n  50% {\n    opacity: 0.5;\n  }\n}`\n                \n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n//-------------------------------------------------------------\n    switch (select) {\n         case \"Hourglass\":\n    var class_id = \"lds-hourglass\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"></div>');\n    $(div).appendTo('body');\n            \n  var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}\n.${class_id}:after {\n  content: \" \";\n  display: block;\n  border-radius: 50%;\n  width: 0;\n  height: 0;\n  margin: 0px;\n  box-sizing: border-box;\n  border: ${bubbleWidth32} solid ${properties.color};\n  border-color: ${properties.color} transparent ${properties.color} transparent;\n  animation: ${class_id} 1.2s infinite;\n}\n@keyframes ${class_id} {\n  0% {\n    transform: rotate(0);\n    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n  }\n  50% {\n    transform: rotate(900deg);\n    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n  }\n  100% {\n    transform: rotate(1800deg);\n  }\n}`\n\n                \n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n //-------------------------------------------------------------\n switch (select) {\n         case \"Ripple\":\n    var class_id = \"lds-ripple\"+(Math.random() * Math.pow(3, 60)).toString(20);
292\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div></div>');\n    $(div).appendTo('body'); \n   \n  var style = `.${class_id} {\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}\n.${class_id} div {\n  position: absolute;\n  border: ${bubbleWidth4} solid ${properties.color};\n  opacity: 1;\n  border-radius: 50%;\n  animation: ${class_id} 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;\n}\n.${class_id} div:nth-child(2) {\n  animation-delay: -0.5s;\n}\n@keyframes ${class_id} {\n  0% {\n    top: ${bubbleWidth36};\n    left: ${bubbleWidth36};\n    width: 0;\n    height: 0;\n    opacity: 1;\n  }\n  100% {\n    top: 0px;\n    left: 0px;\n    width: ${bubbleWidth72};\n    height: ${bubbleWidth72};\n    opacity: 0;\n  }\n}`     \n                \n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n //-------------------------------------------------------------   \n    switch (select) {\n         case \"Spinner\":\n    var class_id = \"lds-spinner\"+(Math.random() * Math.pow(3, 60)).toString(20);\n    var div = $('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');\n    $(div).appendTo('body');\n            \n  var style = `.${class_id} {\n  color: official;\n  display: inline-block;\n  position: relative;\n  width: ${bubbleWidth};\n  height: ${bubbleHeight};\n}\n.${class_id} div {\n  transform-origin: ${bubbleWidth40} ${bubbleWidth40};\n  animation: ${class_id} 1.2s linear infinite;\n}\n.${class_id}
292 div:after {\n  content: \" \";\n  display: block;\n  position: absolute;\n  top: 3px;\n  left: ${bubbleWidth37};\n  width: ${bubbleWidth6};\n  height: ${bubbleWidth18};\n  border-radius: 20%;\n  background: ${properties.color};\n}\n.${class_id} div:nth-child(1) {\n  transform: rotate(0deg);\n  animation-delay: -1.1s;\n}\n.${class_id} div:nth-child(2) {\n  transform: rotate(30deg);\n  animation-delay: -1s;\n}\n.${class_id} div:nth-child(3) {\n  transform: rotate(60deg);\n  animation-delay: -0.9s;\n}\n.${class_id} div:nth-child(4) {\n  transform: rotate(90deg);\n  animation-delay: -0.8s;\n}\n.${class_id} div:nth-child(5) {\n  transform: rotate(120deg);\n  animation-delay: -0.7s;\n}\n.${class_id} div:nth-child(6) {\n  transform: rotate(150deg);\n  animation-delay: -0.6s;\n}\n.${class_id} div:nth-child(7) {\n  transform: rotate(180deg);\n  animation-delay: -0.5s;\n}\n.${class_id} div:nth-child(8) {\n  transform: rotate(210deg);\n  animation-delay: -0.4s;\n}\n.${class_id} div:nth-child(9) {\n  transform: rotate(240deg);\n  animation-delay: -0.3s;\n}\n.${class_id} div:nth-child(10) {\n  transform: rotate(270deg);\n  animation-delay: -0.2s;\n}\n.${class_id} div:nth-child(11) {\n  transform: rotate(300deg);\n  animation-delay: -0.1s;\n}\n.${class_id} div:nth-child(12) {\n  transform: rotate(330deg);\n  animation-delay: 0s;\n}\n@keyframes ${class_id} {\n  0% {\n    opacity: 1;\n  }\n  100% {\n    opacity: 0;\n  }\n}`           \n                \n   $('<style>'+ style +'</style>').appendTo('head');    \n }\n    $(div).attr(\"id\", class_id);\n    \n      \n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var bubbleWidth=properties.width+\"px\",bubbleHeight=properties.height+\"px\",bubbleWidth4=.05*properties.width+\"px\",bubbleWidth6=.075*properties.width+\"px\",bubbleWidth7=.0875*properties.width+\"px\",bubbleWidth8=.1*properties.width+\"px\",bubbleWidth12=.15*properties.width+\"px\",bubbleWidth16=.2*properties.width+\"px\",bubbleWidth17=.2125*properties.width+\"px\",bubbleWidth24=.3*properties.width+\"px\",bubbleWidth32=.4*properties.width+\"px\",bubbleWidth40=.5*properties.width+\"px\",bubbleWidth48=.6*properties.width+\"px\",bubbleWidth56=.7*properties.width+\"px\",bubbleWidth63=.7875*properties.width+\"px\",bubbleWidth64=.8*properties.width+\"px\",bubbleWidth68=.85*properties.width+\"px\",bubbleWidth71=.8875*properties.width+\"px\",bubbleWidth72=.9*properties.width+\"px\",bubbleWidth37=.4625*properties.width+\"px\",bubbleWidth26=.325*properties.width+\"px\",bubbleWidth62=.775*properties.width+\"px\",bubbleWidth52=.65*properties.width+\"px\",bubbleWidth11=.1375*properties.width+\"px\",bubbleWidth22=.275*properties.width+\"px\",bubbleWidth52=.65*properties.width+\"px\",bubbleWidth66=.825*properties.width+\"px\",bubbleWidth33=.4125*properties.width+\"px\",bubbleWidth13=.1625*properties.width+\"px\",bubbleWidth36=.45*properties.width+\"px\",bubbleWidth18=.225*properties.width+\"px\",select=properties.class;if(\"Dual-Ring\"===select){var class_id=\"lds-dual-ring\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}\\n.${class_id}:after {\\n  content: \" \";\\n  display: block;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n  margin: 8px;\\n  border-radius: 50%;\\n  border: ${bubbleWidth6} solid ${properties.color};\\n  border-color: ${properties.color} transparent ${properties.color} transparent;\\n  animation: ${class_id} 1.2s linear infinite;\\n}\\n@keyframes ${class_id} {\\n  0% {\\n    transform: rotate(0deg);\\n  }\\n  100% {\\n    transform: rotate(360deg);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Facebook\"===select){var class_id=\"lds-facebook\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight}\\n}\\n.${class_id} div {\\n  display: inline-block;\\n  position: absolute;\\n  left: ${bubbleWidth8};\\n  width: ${bubbleWidth16};\\n  background: ${properties.color};\\n  animation: ${class_id} 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;\\n}\\n.${class_id} div:nth-child(1) {\\n  left: ${bubbleWidth8};\\n  animation-delay: -0.24s;\\n}\\n.${class_id} div:nth-child(2) {\\n  left: ${bubbleWidth32};\\n  animation-delay: -0.12s;\\n}\\n.${class_id} div:nth-child(3) {\\n  left: ${bubbleWidth56};\\n  animation-delay: 0;\\n}\\n@keyframes ${class_id} {\\n  0% {\\n    top: ${bubbleWidth8};\\n    height: ${bubbleWidth64};\\n  }\\n  50%, 100% {\\n    top: ${bubbleWidth24};\\n    height: ${bubbleWidth32};\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Circle\"===select){var class_id=\"lds-circle\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  transform: translateZ(1px);\\n}\\n.${class_id} > div {\\n  display: inline-block;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n  margin: 0px;\\n  border-radius: 50%;\\n  background: ${properties.color};\\n  animation: ${class_id} 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;\\n}\\n@keyframes ${class_id} {\\n  0%, 100% {\\n    animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);\\n  }\\n  0% {\\n    transform: rotateY(0deg);\\n  }\\n  50% {\\n    transform: rotateY(1800deg);\\n    animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);\\n  }\\n  100% {\\n    transform: rotateY(3600deg);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Heart\"===select){var id_class=\"lds-heart\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+id_class+'\"><div></div></div>');$(div).appendTo(\"body\");var style=`.${id_class} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n  transform: rotate(45deg);
292\\n  transform-origin: ${bubbleWidth40} ${bubbleWidth40};\\n}    \\n.${id_class} div {\\n  top: ${bubbleWidth32};\\n  left: ${bubbleWidth32};\\n  position: absolute;\\n  width: ${bubbleWidth32};\\n  height: ${bubbleWidth32};\\n  background: ${properties.color};\\n  animation: ${id_class} 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);\\n}\\n.${id_class} div:after,\\n.${id_class} div:before {\\n  content: \" \";\\n  position: absolute;\\n  display: block;\\n  width: ${bubbleWidth32};\\n  height: ${bubbleWidth32};\\n  background: ${properties.color};\\n}\\n.${id_class} div:before {\\n  left: -${bubbleWidth24};\\n  border-radius: 50% 0 0 50%;\\n}\\n.${id_class} div:after {\\n  top: -${bubbleWidth24};\\n  border-radius: 50% 50% 0 0;\\n}\\n@keyframes ${id_class} {\\n  0% {\\n    transform: scale(0.95);\\n  }\\n  5% {\\n    transform: scale(1.1);\\n  }\\n  39% {\\n    transform: scale(0.85);\\n  }\\n  45% {\\n    transform: scale(1);\\n  }\\n  60% {\\n    transform: scale(0.95);\\n  }\\n  100% {\\n    transform: scale(0.9);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Ring\"===select){var class_id=\"lds-ring\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}            \\n.${class_id} div {\\n  box-sizing: border-box;\\n  display: block;\\n  position: absolute;\\n  width: ${bubbleWidth64};\\n  height: ${bubbleWidth64};\\n  margin: ${bubbleWidth8};\\n  border: ${bubbleWidth8} solid ${properties.color};\\n  border-radius: 50%;\\n  animation: ${class_id} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\\n  border-color: ${properties.color} transparent transparent transparent;\\n}\\n.${class_id} div:nth-child(1) {\\n  animation-delay: -0.45s;\\n}\\n.${class_id} div:nth-child(2) {\\n  animation-delay: -0.3s;\\n}\\n.${class_id} div:nth-child(3) {\\n  animation-delay: -0.15s;\\n}\\n@keyframes ${class_id} {\\n  0% {\\n    transform: rotate(0deg);\\n  }\\n  100% {\\n    transform: rotate(360deg);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Roller\"===select){var class_id=\"lds-roller\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};    \\n}\\n.${class_id} div {\\n  animation: ${class_id} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\\n  transform-origin: ${bubbleWidth40} ${bubbleWidth40};\\n}\\n.${class_id} div:after {\\n  content: \" \";\\n  display: block;\\n  position: absolute;\\n  width: ${bubbleWidth7};\\n  height: ${bubbleWidth7};\\n  border-radius: 50%;\\n  background: ${properties.color};\\n  margin: -${bubbleWidth4} 0 0 -${bubbleWidth4};\\n}\\n.${class_id} div:nth-child(1) {\\n  animation-delay: -0.036s;\\n}\\n.${class_id} div:nth-child(1):after {\\n  top: ${bubbleWidth63};\\n  left: ${bubbleWidth63};\\n}\\n.${class_id} div:nth-child(2) {\\n  animation-delay: -0.072s;\\n}\\n.${class_id} div:nth-child(2):after {\\n  top: ${bubbleWidth68};\\n  left: ${bubbleWidth56};\\n}\\n.${class_id} div:nth-child(3) {\\n  animation-delay: -0.108s;\\n}\\n.${class_id} div:nth-child(3):after {\\n  top: ${bubbleWidth71};\\n  left: ${bubbleWidth48};\\n}\\n.${class_id} div:nth-child(4) {\\n  animation-delay: -0.144s;\\n}\\n.${class_id} div:nth-child(4):after {\\n  top: ${bubbleWidth72};\\n  left: ${bubbleWidth40};\\n}\\n.${class_id} div:nth-child(5) {\\n  animation-delay: -0.18s;\\n}\\n.${class_id} div:nth-child(5):after {\\n  top: ${bubbleWidth71};\\n  left: ${bubbleWidth32};\\n}\\n.${class_id} div:nth-child(6) {\\n  animation-delay: -0.216s;\\n}\\n.${class_id} div:nth-child(6):after {\\n  top: ${bubbleWidth68};\\n  left: ${bubbleWidth24};\\n}\\n.${class_id} div:nth-child(7) {\\n  animation-delay: -0.252s;\\n}\\n.${class_id} div:nth-child(7):after {\\n  top: ${bubbleWidth63};\\n  left: ${bubbleWidth17};\\n}\\n.${class_id} div:nth-child(8) {\\n  animation-delay: -0.288s;\\n}\\n.${class_id} div:nth-child(8):after {\\n  top: ${bubbleWidth56};\\n  left: ${bubbleWidth12};\\n}\\n@keyframes ${class_id} {\\n  0% {\\n    transform: rotate(0deg);\\n  }\\n  100% {\\n    transform: rotate(360deg);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Default\"===select){var class_id=\"lds-default\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}\\n.${class_id} div {\\n  position: absolute;\\n  width: ${bubbleWidth6};\\n  height: ${bubbleWidth6};\\n  background: ${properties.color};\\n  border-radius: 50%;\\n  animation: ${class_id} 1.2s linear infinite;\\n}\\n.${class_id} div:nth-child(1) {\\n  animation-delay: 0s;\\n  top: ${bubbleWidth37};\\n  left: ${bubbleWidth66};\\n}\\n.${class_id} div:nth-child(2) {\\n  animation-delay: -0.1s;\\n  top: ${bubbleWidth22};\\n  left: ${bubbleWidth62};\\n}\\n.${class_id} div:nth-child(3) {\\n  animation-delay: -0.2s;\\n  top: ${bubbleWidth11};\\n  left: ${bubbleWidth52};\\n}\\n.${class_id} div:nth-child(4) {\\n  animation-delay: -0.3s;\\n  top: ${bubbleWidth7};\\n  left: ${bubbleWidth37};\\n}\\n.${class_id} div:nth-child(5) {\\n  animation-delay: -0.4s;\\n  top: ${bubbleWidth11};\\n  left: ${bubbleWidth22};\\n}\\n.${class_id} div:nth-child(6) {\\n  animation-delay: -0.5s;\\n  top: ${bubbleWidth22};\\n  left: ${bubbleWidth11};\\n}\\n.${class_id} div:nth-child(7) {\\n  animation-delay: -0.6s;\\n  top: ${bubbleWidth37};\\n  left: ${bubbleWidth7};\\n}\\n.${class_id} div:nth-child(8) {\\n  animation-delay: -0.7s;\\n  top: ${bubbleWidth52};\\n  left: ${bubbleWidth11};\\n}\\n.${class_id} div:nth-child(9) {\\n  animation-delay: -0.8s;\\n  top: ${bubbleWidth62};\\n  left: ${bubbleWidth22};\\n}\\n.${class_id} div:nth-child(10) {\\n  animation-delay: -0.9s;\\n  top: ${bubbleWidth66};\\n  left: ${bubbleWidth37};\\n}\\n.${class_id} div:nth-child(11) {\\n  animation-delay: -1s;\\n  top: ${bubbleWidth62};\\n  left: ${bubbleWidth52};\\n}\\n.${class_id} div:nth-child(12) {\\n  animation-delay: -1.1s;\\n  top: ${bubbleWidth52};\\n  left: ${bubbleWidth62};\\n}\\n@keyframes ${class_id} {\\n  0%, 20%, 80%, 100% {\\n    transform: scale(1);\\n  }\\n  50% {\\n    transform: scale(1.5);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Ellipsis\"===select){var class_id=\"lds-ellipsis\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}\\n.${class_id} div {\\n  position: absolute;\\n  top: ${bubbleWidth33};\\n  width: ${bubbleWidth13};\\n  height: ${bubbleWidth13};\\n  border-radius: 50%;\\n  background: ${properties.color};\\n  animation-timing-function: cubic-bezier(0, 1, 1, 0);\\n}\\n.${class_id} div:nth-child(1) {\\n  left: ${bubbleWidth8};\\n  animation: ${class_id}1 0.6s infinite;\\n}\\n.${class_id} div:nth-child(2) {\\n  left: ${bubbleWidth8};\\n  animation: ${class_id}2 0.6s infinite;\\n}\\n.${class_id} div:nth-child(3) {\\n  left: ${bubbleWidth32};\\n  animation: ${class_id}2 0.6s infinite;\\n}\\n.${class_id} div:nth-child(4) {\\n  left: ${bubbleWidth56};\\n  animation: ${class_id}3 0.6s infinite;\\n}\\n@keyframes ${class_id}1 {\\n  0% {\\n    transform: scale(0);\\n  }\\n  100% {\\n    transform: scale(1);\\n  }\\n}\\n@keyframes ${class_id}3 {\\n  0% {\\n    transform: scale(1);\\n  }\\n  100% {\\n    transform: scale(0);\\n  }\\n}\\n@keyframes ${class_id}2 {\\n  0% {\\n    transform: translate(0, 0);\\n  }\\n  100% {\\n    transform: translate(${bubbleWidth24}, 0);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Grid\"===select){var class_id=\"lds-grid\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}\\n.${class_id} div {\\n  position: absolute;\\n  width: ${bubbleWidth16};\\n  height: ${bubbleWidth16};\\n  border-radius: 50%;\\n  background: ${properties.color};\\n  animation: ${class_id} 1.2s linear infinite;\\n}\\n.${class_id} div:nth-child(1) {\\n  top: ${bubbleWidth8};\\n  left: ${bubbleWidth8};\\n  animation-delay: 0s;\\n}\\n.${class_id} div:nth-child(2) {\\n  top: ${bubbleWidth8};\\n  left: ${bubbleWidth32};\\n  animation-delay: -0.4s;\\n}\\n.${class_id} div:nth-child(3) {\\n  top: ${bubbleWidth8};\\n  left: ${bubbleWidth56};\\n  animation-delay: -0.8s;\\n}\\n.${class_id} div:nth-child(4) {\\n  top: ${bubbleWidth32};\\n  left: ${bubbleWidth8};\\n  animation-delay: -0.4s;\\n}\\n.${class_id} div:nth-child(5) {\\n  top: ${bubbleWidth32};\\n  left: ${bubbleWidth32};\\n  animation-delay: -0.8s;\\n}\\n.${class_id} div:nth-child(6) {\\n  top: ${bubbleWidth32};\\n  left: ${bubbleWidth56};\\n  animation-delay: -1.2s;\\n}\\n.${class_id} div:nth-child(7) {\\n  top: ${bubbleWidth56};\\n  left: ${bubbleWidth8};\\n  animation-delay: -0.8s;\\n}\\n.${class_id} div:nth-child(8) {\\n  top: ${bubbleWidth56};\\n  left: ${bubbleWidth32};\\n  animation-delay: -1.2s;\\n}\\n.${class_id} div:nth-child(9) {\\n  top: ${bubbleWidth56};\\n  left: ${bubbleWidth56};\\n  animation-delay: -1.6s;\\n}\\n@keyframes ${class_id} {\\n  0%, 100% {\\n    opacity: 1;\\n  }\\n  50% {\\n    opacity: 0.5;\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Hourglass\"===select){var class_id=\"lds-hourglass\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}\\n.${class_id}:after {\\n  content: \" \";\\n  display: block;\\n  border-radius: 50%;\\n  width: 0;\\n  height: 0;\\n  margin: 0px;\\n  box-sizing: border-box;\\n  border: ${bubbleWidth32} solid ${properties.color};\\n  border-color: ${properties.color} transparent ${properties.color} transparent;\\n  animation: ${class_id} 1.2s infinite;\\n}\\n@keyframes ${class_id} {\\n  0% {\\n    transform: rotate(0);\\n    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\\n  }\\n  50% {\\n    transform: rotate(900deg);\\n    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n  }\\n  100% {\\n    transform: rotate(1800deg);\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Ripple\"===select){var class_id=\"lds-ripple\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}\\n.${class_id} div {\\n  position: absolute;\\n  border: ${bubbleWidth4} solid ${properties.color};\\n  opacity: 1;\\n  border-radius: 50%;\\n  animation: ${class_id} 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;\\n}\\n.${class_id} div:nth-child(2) {\\n  animation-delay: -0.5s;\\n}\\n@keyframes ${class_id} {\\n  0% {\\n    top: ${bubbleWidth36};\\n    left: ${bubbleWidth36};\\n    width: 0;\\n    height: 0;\\n    opacity: 1;\\n  }\\n  100% {\\n    top: 0px;\\n    left: 0px;\\n    width: ${bubbleWidth72};\\n    height: ${bubbleWidth72};\\n    opacity: 0;\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}if(\"Spinner\"===select){var class_id=\"lds-spinner\"+(Math.random()*Math.pow(3,60)).toString(20),div=$('<div class=\"'+class_id+'\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>');$(div).appendTo(\"body\");var style=`.${class_id} {\\n  color: official;\\n  display: inline-block;\\n  position: relative;\\n  width: ${bubbleWidth};\\n  height: ${bubbleHeight};\\n}\\n.${class_id}
292 div {\\n  transform-origin: ${bubbleWidth40} ${bubbleWidth40};\\n  animation: ${class_id} 1.2s linear infinite;\\n}\\n.${class_id} div:after {\\n  content: \" \";\\n  display: block;\\n  position: absolute;\\n  top: 3px;\\n  left: ${bubbleWidth37};\\n  width: ${bubbleWidth6};\\n  height: ${bubbleWidth18};\\n  border-radius: 20%;\\n  background: ${properties.color};\\n}\\n.${class_id} div:nth-child(1) {\\n  transform: rotate(0deg);\\n  animation-delay: -1.1s;\\n}\\n.${class_id} div:nth-child(2) {\\n  transform: rotate(30deg);\\n  animation-delay: -1s;\\n}\\n.${class_id} div:nth-child(3) {\\n  transform: rotate(60deg);\\n  animation-delay: -0.9s;\\n}\\n.${class_id} div:nth-child(4) {\\n  transform: rotate(90deg);\\n  animation-delay: -0.8s;\\n}\\n.${class_id} div:nth-child(5) {\\n  transform: rotate(120deg);\\n  animation-delay: -0.7s;\\n}\\n.${class_id} div:nth-child(6) {\\n  transform: rotate(150deg);\\n  animation-delay: -0.6s;\\n}\\n.${class_id} div:nth-child(7) {\\n  transform: rotate(180deg);\\n  animation-delay: -0.5s;\\n}\\n.${class_id} div:nth-child(8) {\\n  transform: rotate(210deg);\\n  animation-delay: -0.4s;\\n}\\n.${class_id} div:nth-child(9) {\\n  transform: rotate(240deg);\\n  animation-delay: -0.3s;\\n}\\n.${class_id} div:nth-child(10) {\\n  transform: rotate(270deg);\\n  animation-delay: -0.2s;\\n}\\n.${class_id} div:nth-child(11) {\\n  transform: rotate(300deg);\\n  animation-delay: -0.1s;\\n}\\n.${class_id} div:nth-child(12) {\\n  transform: rotate(330deg);\\n  animation-delay: 0s;\\n}\\n@keyframes ${class_id} {\\n  0% {\\n    opacity: 1;\\n  }\\n  100% {\\n    opacity: 0;\\n  }\\n}`;$(\"<style>\"+style+\"</style>\").appendTo(\"head\")}$(div).attr(\"id\",class_id),$(instance.canvas[0]).html(div)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
293window._bubble_page_load_data.plugins_size['1615402288950x110240248310005760'] = 41009;
294window.preloaded['plugin/third_party:1615402288950x110240248310005760:3.0.0'] = true;
295window.plugins["1615633249136x927403058039619600"] = {"human":"Lottie Animations Maintained","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Lottie ","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"Background":true,"Padding":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAD":{"caption":"JSON File","name":"json_file","rank":0,"editor":"DynamicValue","value":"file"},"AAE":{"caption":"Loop","name":"loop","rank":1,"editor":"Checkbox","default_val":true},"AAF":{"caption":"Autoplay","name":"autoplay","rank":2,"editor":"Checkbox","default_val":true},"AAG":{"caption":"Speed","name":"speed","rank":3,"editor":"StaticNumber","default_val":1},"AAH":{"caption":"Direction","name":"direction","rank":4,"editor":"Dropdown","default_val":"Forwards"}},"actions":{"AAK":{"caption":"Play","code":{"fn":"function(a,n,t){a.data.animation.play()}"}},"AAL":{"caption":"Stop","code":{"fn":"function(t,n,a){t.data.animation.stop()}"}},"AAM":{"caption":"Pause","code":{"fn":"function(a,n,t){a.data.animation.pause()}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(t,a){var e,o=\"lottieElement_\"+Math.floor(1e5*Math.random()+1);t.canvas.append(\"<div style='width:100%;height:100%' id='\"+o+\"'></div>\"),$(document).ready((function(){if(t.data.json_file){var a=bodymovin.loadAnimation({container:document.getElementById(o),path:t.data.json_file,loop:t.data.loop,autoplay:t.data.autoplay,name:o});t.data.animation=a,a.setSpeed(t.data.speed),a.setDirection(t.data.direction)}else console.log(\"Lottie: No JSON file supplied\")}))}"},"update":{"fn":"function(a,t,o){a.data.json_file=t.json_file,a.data.loop=t.loop,a.data.autoplay=t.autoplay,a.data.speed=t.speed,\"Forwards\"==t.direction?a.data.direction=1:a.data.direction=-1}"},"reset":{"fn":"function(n,t){}"}},"platform_type":"web"}}};
296window._bubble_page_load_data.plugins_size['1615633249136x927403058039619600'] = 1879;
297window.preloaded['plugin/third_party:1615633249136x927403058039619600:1.3.0'] = true;
298window.plugins["1618831050749x230024566736683000"] = {"human":"Calendar & Timeslots Custom · BEP","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAC":{"display":"Calendar Week","property_applications":{"resizable":true,"MinWidth":false},"add_hover_pressed":false,"add_is_visible":true,"fields":{"AAE":{"caption":" Start Day Week","name":"startday","rank":0,"editor":"Dropdown","default_val":"Monday"},"AAO":{"caption":"Choose Date","name":"date","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AAy":{"caption":"Language ","name":"language","rank":2,"editor":"DynamicValue","value":"text","default_val":"locale"}},"states":{"AAD":{"caption":"List of Days","name":"dates","value":"date","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAW":{"caption":"First Day","name":"firstday","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"AAX":{"caption":"Last Day","name":"lastday","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"AAY":{"caption":"Months Long","name":"long","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAZ":{"caption":"Months Short","name":"short","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAi":{"caption":"Days Short List (Text)","name":"daysshort","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAj":{"caption":"Days Long List (Text)","name":"dayslong","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAq":{"caption":"Current Date Time","name":"currentime","value":"date","initialization_code":{"fn":"function(properties,context){}"}}
298,"ABI":{"caption":"Months Number (Number)","name":"monthNumber","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ABJ":{"caption":"Current Week","name":"c_week","value":"date","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAP":{"caption":"Next","code":{"fn":"function(instance,properties,context){var get_date=new Date(instance.data.date).setDate(new Date(instance.data.date).getDate()+7-(instance.data.startday+1));function dates(current){var week=new Array;current.setDate(current.getDate()-current.getDay()+instance.data.startday);for(var i=0;i<7;i++)week.push(new Date(current)),current.setDate(current.getDate()+1),7==week.length&&(instance.publishState(\"dates\",week),instance.publishState(\"lastday\",week.pop()),instance.publishState(\"firstday\",week.shift()),instance.publishState(\"c_week\",instance.data.date));return week}instance.data.date=new Date(get_date),dates(instance.data.date)}"}},"AAQ":{"caption":"Previous","code":{"fn":"function(instance,properties,context){var get_date=new Date(instance.data.date).setDate(new Date(instance.data.date).getDate()-7-(instance.data.startday+1));function dates(current){var week=new Array;current.setDate(current.getDate()-current.getDay()+instance.data.startday);for(var i=0;i<7;i++)week.push(new Date(current)),current.setDate(current.getDate()+1),7==week.length&&(instance.publishState(\"dates\",week),instance.publishState(\"lastday\",week.pop()),instance.publishState(\"firstday\",week.shift()),instance.publishState(\"c_week\",instance.data.date));return week}instance.data.date=new Date(get_date),dates(instance.data.date)}"}},"ADA":{"caption":"Reset","code":{"fn":"function(instance,properties,context){var get_date,date,day,monthslist,dayslist;function dates(current){var week=new Array;current.setDate(current.getDate()-current.getDay()+instance.data.startday);for(var i=0;i<7;i++)week.push(new Date(current)),current.setDate(current.getDate()+1),7==week.length&&(instance.publishState(\"dates\",week),instance.publishState(\"lastday\",week.pop()),instance.publishState(\"firstday\",week.shift()),instance.publishState(\"c_week\",instance.data.date));return week}null==properties.date?(0==(day=(new Date).getDay())&&\"Monday\"==properties.startday&&(get_date=(new Date).setDate((new Date).getDate()-1),instance.data.date=new Date(get_date),instance.data.startday=1),day>0&&\"Monday\"==properties.startday&&(instance.data.date=new Date,instance.data.startday=1),\"Sunday\"==properties.startday&&(instance.data.date=new Date,instance.data.startday=0)):(0==(day=new Date(properties.date).getDay())&&\"Monday\"==properties.startday&&(get_date=new Date(properties.date).setDate(new Date(properties.date).getDate()-1),instance.data.date=new Date(get_date),instance.data.startday=1),day>0&&\"Monday\"==properties.startday&&(instance.data.date=new Date(properties.date),instance.data.startday=1),\"Sunday\"==properties.startday&&(instance.data.date=new Date(properties.date),instance.data.startday=0)),dates(instance.data.date),function(locale){for(var long=[],short=[],monthNumber=[],i=0;i<12;i++)long.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"long\"})),short.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"short\"})),monthNumber.push(new Date((new Date).getFullYear(),i).getMonth()+1);instance.publishState(\"long\",long),instance.publishState(\"short\",short)}(properties.language),function(days){for(var dayslong=[],daysshort=[],i=0;i<7;i++)dayslong.push(new Date(2030,0,i-(instance.data.startday+1)).toLocaleString(days,{weekday:\"long\"})),daysshort.push(new Date(2030,0,i-(instance.data.startday+1)).toLocaleString(days,{weekday:\"short\"}));instance.publishState(\"daysshort\",daysshort),instance.publishState(\"dayslong\",dayslong)}(properties.language),setInterval((function(){var currentdatetime=new Date;instance.publishState(\"currentime\",currentdatetime)}),1e3)}"},"fields":{"ADF":{"caption":" Start Day Week","name":"startday","rank":0,"editor":"Dropdown","default_val":"Monday"},"ADG":{"caption":"Choose Date","name":"date","rank":1,"editor":"DynamicValue","value":"date","optional":true},"ADH":{"caption":"Language","name":"language","rank":2,"editor":"DynamicValue","value":"text","default_val":"locale"}}}},"code":{"preview":{"fn":"function(instance, properties) {\nvar preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1619350619973x727318374929213800/calendarpreview.fw.png\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var get_date,date,day,monthslist,dayslist;function dates(current){var week=new Array;current.setDate(current.getDate()-current.getDay()+instance.data.startday);for(var i=0;i<7;i++)week.push(new Date(current)),current.setDate(current.getDate()+1),7==week.length&&(instance.publishState(\"dates\",week),instance.publishState(\"lastday\",week.pop()),instance.publishState(\"firstday\",week.shift()),instance.publishState(\"c_week\",instance.data.date));return week}null==properties.date?(0==(day=(new Date).getDay())&&\"Monday\"==properties.startday&&(get_date=(new Date).setDate((new Date).getDate()-1),instance.data.date=new Date(get_date),instance.data.startday=1),day>0&&\"Monday\"==properties.startday&&(instance.data.date=new Date,instance.data.startday=1),\"Sunday\"==properties.startday&&(instance.data.date=new Date,instance.data.startday=0)):(0==(day=new Date(properties.date).getDay())&&\"Monday\"==properties.startday&&(get_date=new Date(properties.date).setDate(new Date(properties.date).getDate()-1),instance.data.date=new Date(get_date),instance.data.startday=1),day>0&&\"Monday\"==properties.startday&&(instance.data.date=new Date(properties.date),instance.data.startday=1),\"Sunday\"==properties.startday&&(instance.data.date=new Date(properties.date),instance.data.startday=0)),dates(instance.data.date),function(locale){for(var long=[],short=[],monthNumber=[],i=0;i<12;
298i++)long.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"long\"})),short.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"short\"})),monthNumber.push(new Date((new Date).getFullYear(),i).getMonth()+1);instance.publishState(\"long\",long),instance.publishState(\"short\",short)}(properties.language),function(days){for(var dayslong=[],daysshort=[],i=0;i<7;i++)dayslong.push(new Date(2030,0,i-(instance.data.startday+1)).toLocaleString(days,{weekday:\"long\"})),daysshort.push(new Date(2030,0,i-(instance.data.startday+1)).toLocaleString(days,{weekday:\"short\"}));instance.publishState(\"daysshort\",daysshort),instance.publishState(\"dayslong\",dayslong)}(properties.language),setInterval((function(){var currentdatetime=new Date;instance.publishState(\"currentime\",currentdatetime)}),1e3)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AAH":{"display":"Calendar Month","property_applications":{"resizable":true,"MinWidth":false},"add_hover_pressed":false,"add_is_visible":true,"fields":{"AAR":{"caption":" Start Day Month","
298name":"startday","rank":0,"editor":"Dropdown","default_val":"Sunday"},"AAS":{"caption":"Choose Date","name":"date","rank":1,"editor":"DynamicValue","value":"date","optional":true},"AAw":{"caption":"Language","name":"language","rank":2,"editor":"DynamicValue","value":"text","default_val":"locale"}},"states":{"AAI":{"caption":"List Of Days","name":"listofdays","value":"date","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAa":{"caption":"Months Long (Text)","name":"long","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAb":{"caption":"Months Short (Text)","name":"short","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAk":{"caption":"Days Short List (Text)","name":"daysshort","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAl":{"caption":"Days Long List (Text)","name":"dayslong","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AAr":{"caption":"Current Date Time","name":"currentime","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"ABF":{"caption":"Current Month","name":"c_month","value":"date","initialization_code":{"fn":"function(properties,context){}"},"is_list":false},"ABH":{"caption":"Months Number (Number)","name":"monthNumber","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"actions":{"AAT":{"caption":"Next","code":{"fn":"function(instance,properties,context){var ListofDays=[],date,newdate,day,last,count,dif;if(instance.data.month=instance.data.month+1,!0===instance.data.create){date=new Date(instance.data.year,instance.data.month,1),newdate=new Date(instance.data.year,instance.data.month,0).getDate(),day=date.getDay(),last=new Date(instance.data.year,instance.data.month+1,0).getDate(),0===day&&2===instance.data.startday&&(dif=5),0===day&&1===instance.data.startday&&(dif=day-instance.data.startday),day>0&&(dif=day-instance.data.startday);for(var p=dif;0<=p;p--)ListofDays.push(new Date(instance.data.year,instance.data.month-1,newdate-p));for(var c=1;c<=last;c++){var days=new Date(instance.data.year,instance.data.month,c);if(ListofDays.push(days),c==last){count=42-ListofDays.length;for(var n=1;n<=count;n++){var ndays=new Date(instance.data.year,instance.data.month+1,n);ListofDays.push(ndays),42==ListofDays.length&&(instance.publishState(\"listofdays\",ListofDays),instance.publishState(\"c_month\",new Date(instance.data.year,instance.data.month+1,0)))}}}}}"}},"AAU":{"caption":"Previous","code":{"fn":"function(instance,properties,context){var ListofDays=[],date,newdate,day,last,count,dif;if(instance.data.month=instance.data.month-1,!0===instance.data.create){date=new Date(instance.data.year,instance.data.month,1),newdate=new Date(instance.data.year,instance.data.month,0).getDate(),day=date.getDay(),last=new Date(instance.data.year,instance.data.month+1,0).getDate(),0===day&&2===instance.data.startday&&(dif=5),0===day&&1===instance.data.startday&&(dif=day-instance.data.startday),day>0&&(dif=day-instance.data.startday);for(var p=dif;0<=p;p--)ListofDays.push(new Date(instance.data.year,instance.data.month-1,newdate-p));for(var c=1;c<=last;c++){var days=new Date(instance.data.year,instance.data.month,c);if(ListofDays.push(days),c==last){count=42-ListofDays.length;for(var n=1;n<=count;n++){var ndays=new Date(instance.data.year,instance.data.month+1,n);ListofDays.push(ndays),42==ListofDays.length&&(instance.publishState(\"listofdays\",ListofDays),instance.publishState(\"c_month\",new Date(instance.data.year,instance.data.month+1,0)))}}}}}"}},"ADB":{"caption":"Reset","code":{"fn":"function(instance,properties,context){var ListofDays=[],date,newdate,day,last,count,dif,monthslist;if(null==properties.date?(instance.data.year=(new Date).getFullYear(),instance.data.month=(new Date).getMonth()):(instance.data.year=new Date(properties.date).getFullYear(),instance.data.month=new Date(properties.date).getMonth()),\"Monday\"===properties.startday?(instance.data.startday=2,instance.data.create=!0):(instance.data.startday=1,instance.data.create=!0),!0===instance.data.create){date=new Date(instance.data.year,instance.data.month,1),newdate=new Date(instance.data.year,instance.data.month,0).getDate(),day=date.getDay(),last=new Date(instance.data.year,instance.data.month+1,0).getDate(),0===day&&2===instance.data.startday&&(dif=5),0===day&&1===instance.data.startday&&(dif=day-instance.data.startday),day>0&&(dif=day-instance.data.startday);for(var p=dif;0<=p;p--)ListofDays.push(new Date(instance.data.year,instance.data.month-1,newdate-p));for(var c=1;c<=last;c++){var days=new Date(instance.data.year,instance.data.month,c);if(ListofDays.push(days),c==last){count=42-ListofDays.length;for(var n=1;n<=count;n++){var ndays=new Date(instance.data.year,instance.data.month+1,n);ListofDays.push(ndays),42==ListofDays.length&&(instance.publishState(\"listofdays\",ListofDays),instance.publishState(\"c_month\",new Date(instance.data.year,instance.data.month+1,0)))}}}}(function(locale){for(var long=[],short=[],monthNumber=[],i=0;i<12;
298i++)long.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"long\"})),short.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"short\"})),monthNumber.push(new Date((new Date).getFullYear(),i).getMonth()+1);instance.publishState(\"long\",long),instance.publishState(\"short\",short),instance.publishState(\"monthNumber\",monthNumber)})(properties.language);var dayslist=function(days){for(var dayslong=[],daysshort=[],i=0;i<7;i++)dayslong.push(new Date(2030,0,i-(instance.data.startday-1)).toLocaleString(days,{weekday:\"long\"})),daysshort.push(new Date(2030,0,i-(instance.data.startday-1)).toLocaleString(days,{weekday:\"short\"}));instance.publishState(\"daysshort\",daysshort),instance.publishState(\"dayslong\",dayslong)};dayslist(properties.language),setInterval((function(){var currentdatetime=new Date;instance.publishState(\"currentime\",currentdatetime)}),1e3)}"},"fields":{"ADC":{"caption":" Start Day Month","name":"startday","rank":0,"editor":"Dropdown","default_val":"Sunday"},"ADD":{"caption":"Choose Date","name":"date","rank":1,"editor":"DynamicValue","value":"date","optional":true},"ADE":{"caption":"Language","name":"language","rank":2,"editor":"DynamicValue","value":"text","default_val":"locale"}}}},"code":{"preview":{"fn":"function(instance, properties) {\nvar preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1619350619973x727318374929213800/calendarpreview.fw.png\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var ListofDays=[],date,newdate,day,last,count,dif,monthslist;if(null==properties.date?(instance.data.year=(new Date).getFullYear(),instance.data.month=(new Date).getMonth()):(instance.data.year=new Date(properties.date).getFullYear(),instance.data.month=new Date(properties.date).getMonth()),\"Monday\"===properties.startday?(instance.data.startday=2,instance.data.create=!0):(instance.data.startday=1,instance.data.create=!0),!0===instance.data.create){date=new Date(instance.data.year,instance.data.month,1),newdate=new Date(instance.data.year,instance.data.month,0).getDate(),day=date.getDay(),last=new Date(instance.data.year,instance.data.month+1,0).getDate(),0===day&&2===instance.data.startday&&(dif=5),0===day&&1===instance.data.startday&&(dif=day-instance.data.startday),day>0&&(dif=day-instance.data.startday);for(var p=dif;0<=p;p--)ListofDays.push(new Date(instance.data.year,instance.data.month-1,newdate-p));for(var c=1;c<=last;c++){var days=new Date(instance.data.year,instance.data.month,c);if(ListofDays.push(days),c==last){count=42-ListofDays.length;for(var n=1;n<=count;n++){var ndays=new Date(instance.data.year,instance.data.month+1,n);ListofDays.push(ndays),42==ListofDays.length&&(instance.publishState(\"listofdays\",ListofDays),instance.publishState(\"c_month\",new Date(instance.data.year,instance.data.month+1,0)))}}}}(function(locale){for(var long=[],short=[],monthNumber=[],i=0;i<12;i++)long.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"long\"})),short.push(new Date((new Date).getFullYear(),i).toLocaleString(locale,{month:\"short\"})),monthNumber.push(new Date((new Date).getFullYear(),i).getMonth()+1);instance.publishState(\"long\",long),instance.publishState(\"short\",short),instance.publishState(\"monthNumber\",monthNumber)}
298)(properties.language);var dayslist=function(days){for(var dayslong=[],daysshort=[],i=0;i<7;i++)dayslong.push(new Date(2030,0,i-(instance.data.startday-1)).toLocaleString(days,{weekday:\"long\"})),daysshort.push(new Date(2030,0,i-(instance.data.startday-1)).toLocaleString(days,{weekday:\"short\"}));instance.publishState(\"daysshort\",daysshort),instance.publishState(\"dayslong\",dayslong)};dayslist(properties.language),setInterval((function(){var currentdatetime=new Date;instance.publishState(\"currentime\",currentdatetime)}),1e3)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ABy":{"display":"Calendar Timeslots","add_is_visible":true,"fields":{"ABb":{"caption":"Initial Date & Time","name":"inicio","rank":1,"editor":"DynamicValue","value":"date","optional":true},"ABc":{"caption":"End Date & Time","name":"fim","rank":2,"editor":"DynamicValue","value":"date","optional":true},"ABd":{"caption":"Interval (minutes)","name":"intervalo","rank":3,"editor":"DynamicValue","value":"number","optional":true,"default_val":15},"ABf":{"caption":"Generate a List of Years","name":"anos_doc","rank":4,"editor":"Label"},"ABg":{"caption":"Initial Year","name":"ano_inicial","rank":5,"editor":"DynamicValue","value":"number","optional":true},"ABh":{"caption":"End Year","name":"ano_final","rank":6,"editor":"DynamicValue","value":"number","optional":true},"ABz":{"caption":"Generate a List of Hours","name":"info","rank":0,"editor":"Label"}},"states":{"ABl":{"caption":"Timeslots","name":"horas","value":"date","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ABm":{"caption":"Yearslots","name":"anos","value":"number","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){if(properties.intervalo>0&&null!=properties.inicio&&null!=properties.fim){let start=new Date(properties.inicio),end=new Date(properties.fim),dates=[],interval=6e4*properties.intervalo,seconds=Math.floor((end-start)/1e3),minutes=Math.floor(seconds/60),count=Math.floor(minutes/properties.intervalo);if(count>=1){for(let i=0;i<count+1;i++){const date=new Date(start),n_date=new Date(date.setMilliseconds(interval*i));n_date.getTime()<end.getTime()?dates.push(n_date):i+1===count+1&&n_date.getTime()<end.getTime()+interval&&dates.push(end)}instance.publishState(\"horas\",dates)}else count>0?(dates.push(start),dates.push(end),instance.publishState(\"horas\",dates)):instance.publishState(\"horas\")}if(properties.ano_final>properties.ano_inicial){var anos=[];for(let i=0;i<=properties.ano_final-properties.ano_inicial;i++)anos.push(properties.ano_inicial+i);instance.publishState(\"anos\",anos)}}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ACy":{"display":"Calculate Age from DOB","add_is_visible":true,"fields":{"ACk":{"caption":"Date of Birth","name":"data_nascimento","rank":0,"editor":"DynamicValue","optional":false,"value":"date"}},"states":{"ACr":{"caption":"Age","name":"idade","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){if(null!=properties.data_nascimento){var birthDate=new Date(properties.data_nascimento),month_diff=Date.now()-birthDate.getTime(),age_dt,year=new Date(month_diff).getUTCFullYear(),age=Math.abs(year-1970);instance.publishState(\"idade\",age)}}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
299window._bubble_page_load_data.plugins_size['1618831050749x230024566736683000'] = 21672;
300window.preloaded['plugin/third_party:1618831050749x230024566736683000:4.1.0'] = true;
301window.plugins["1618892957212x885363265747026000"] = {"human":"Simple looper (workflow repeater)","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Simple looper","property_applications":{"resizable":false},"add_is_visible":false,"states":{"AAG":{"caption":"Current iteration number","name":"current_iteration_number","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAD":{"caption":"Flow to be repeated","name":"repeated_flow"},"AAF":{"caption":"Loop finished","name":"loop_finished"}},"actions":{"AAE":{"caption":"Start looping","code":{"fn":"function(instance,properties,context){function _0x4db8(_0x2fd66f,_0x3ad7fb){var _0x7eb54=_0x7eb5();return(_0x4db8=function(_0x4db827,_0x42e68c){var _0x6215ee;return _0x7eb54[_0x4db827-=394]})(_0x2fd66f,_0x3ad7fb)}function run(_0xc67d6a,_0x2b390e,_0x557cbd){var _0x1a2d8f=_0x4db8;_0xc67d6a[_0x1a2d8f(399)][_0x1a2d8f(402)]=0,_0xc67d6a[_0x1a2d8f(394)](\"current_iteration_number\",_0xc67d6a[_0x1a2d8f(399)].runs+1),_0xc67d6a[_0x1a2d8f(406)](_0x1a2d8f(405))}function _0x7eb5(){var _0x456277=[\"7816HQPvIn\",\"4SZuFzF\",\"6NiJkqh\",\"data\",\"780175VKHXYm\",\"565320YxFATo\",\"runs\",\"13fIXvFL\",\"4833IWhxyh\",\"repeated_flow\",\"triggerEvent\",\"674628wRPauc\",\"11jPLvqe\",\"5535560wxHZcd\",\"162898dvDrrm\",\"publishState\",\"3330341YMHSoe\"];return(_0x7eb5=function(){return _0x456277})()}return function(_0x41a2a6,_0x32a2f9){for(var _0x1d2357=_0x4db8,_0x1f261c=_0x41a2a6();;)try{var _0x1dd7a1;if(588167===parseInt(_0x1d2357(403))/1*(parseInt(_0x1d2357(410))/2)+parseInt(_0x1d2357(401))/3+parseInt(_0x1d2357(397))/4*(-parseInt(_0x1d2357(400))/5)+-parseInt(_0x1d2357(398))/6*(parseInt(_0x1d2357(395))/7)+parseInt(_0x1d2357(396
301))/8*(-parseInt(_0x1d2357(404))/9)+parseInt(_0x1d2357(409))/10*(parseInt(_0x1d2357(408))/11)+-parseInt(_0x1d2357(407))/12)break;_0x1f261c.push(_0x1f261c.shift())}catch(_0x557a81){_0x1f261c.push(_0x1f261c.shift())}}(_0x7eb5,588167),run(instance,properties,context)}"}},"AAI":{"caption":"Run next iteration","code":{"fn":"function(instance,properties,context){function _0x33be(){var _0x21c353=[\"12704085ZlAkCP\",\"6338521CSgkkN\",\"8983bIcvfd\",\"178254ncyAUj\",\"current_iteration_number\",\"473740fqeKpD\",\"runs\",\"6HgPHaT\",\"repeated_flow\",\"publishState\",\"1221060NDarNN\",\"data\",\"20ivEgfr\",\"1082256JFJkws\"];return(_0x33be=function(){return _0x21c353})()}function _0x321f(_0x4a3ed8,_0x2459cb){var _0x33be71=_0x33be();return(_0x321f=function(_0x321f6d,_0x4cbf17){var _0x20f31e;return _0x33be71[_0x321f6d-=427]})(_0x4a3ed8,_0x2459cb)}function run(_0x577faf,_0x1e3785,_0x86723f){var _0x143d64=_0x321f;_0x577faf.data[_0x143d64(439)]++,_0x577faf[_0x143d64(428)](_0x143d64(437),_0x577faf[_0x143d64(430)][_0x143d64(439)]+1),_0x577faf.triggerEvent(_0x143d64(427))}return function(_0x39d7c0,_0x1c4d9e){for(var _0x1daf25=_0x321f,_0x37b760=_0x39d7c0();;)try{var _0x1b5c05;if(598455===parseInt(_0x1daf25(435))/1+parseInt(_0x1daf25(429))/2+parseInt(_0x1daf25(436))/3*(-parseInt(_0x1daf25(431))/4)+-parseInt(_0x1daf25(438))/5+-parseInt(_0x1daf25(440))/6*(parseInt(_0x1daf25(434))/7)+-parseInt(_0x1daf25(432))/8+parseInt(_0x1daf25(433))/9)break;_0x37b760.push(_0x37b760.shift())}catch(_0x20643a){_0x37b760.push(_0x37b760.shift())}}(_0x33be,598455),run(instance,properties,context)}"}},"AAJ":{"caption":"Finish looping","code":{"fn":"function(instance,properties,context){function _0x3174(_0x5e82ff,_0x29dc7e){var _0x2d66b2=_0x2d66();return(_0x3174=function(_0x31748f,_0xc5ff44){var _0x3b8ffb;return _0x2d66b2[_0x31748f-=305]})(_0x5e82ff,_0x29dc7e)}function _0x2d66(){var _0x4cb57e=[\"387930gDwHBa\",\"45XqPDIp\",\"2856EoTkJY\",\"846VnQnvh\",\"4vGBShT\",\"887945kyWrDC\",\"23562AKAXVo\",\"382zUEBrC\",\"12236qCnBAP\",\"96111awJdtc\",\"175suWkWf\",\"triggerEvent\",\"916424yTWXFr\"];return(_0x2d66=function(){return _0x4cb57e})()}function run(_0x3383d8,_0x177de8,_0x526975){var _0x38d09e;_0x3383d8[_0x3174(305)](\"loop_finished\")}return function(_0x1b04ab,_0x546354){for(var _0x3501ef=_0x3174,_0x4149e8=_0x1b04ab();;)try{var _0x104870;if(163763===parseInt(_0x3501ef(317))/1*(-parseInt(_0x3501ef(314))/2)+parseInt(_0x3501ef(316))/3+parseInt(_0x3501ef(311))/4*(-parseInt(_0x3501ef(312))/5)+-parseInt(_0x3501ef(310))/6*(parseInt(_0x3501ef(315))/7)+-parseInt(_0x3501ef(306))/8+-parseInt(_0x3501ef(308))/9*(-parseInt(_0x3501ef(307))/10)+parseInt(_0x3501ef(313))/11*(parseInt(_0x3501ef(309))/12))break;_0x4149e8.push(_0x4149e8.shift())}catch(_0x1c773e){_0x4149e8.push(_0x4149e8.shift())}}(_0x2d66,163763),run(instance,properties,context)}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n    instance.canvas.html(`\n<div id=\"rrg_canvas_preview\" style=\"\nposition:absolute;\nwidth:100%;\nheight:100%;\ntext-align:center;\nborder: 4px solid #f1f1f1;\ncolor:white;\nbackground-image: url('https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2Fmeta-q.cdn.bubble.io%2Ff1618893076670x463749167203058240%2Fcircling-fish.png?w=256&h=256&auto=compress&fit=max');\nbackground-size:     contain;\nbox-sizing: border-box;\nbackground-color: #fff;\nbackground-repeat:   no-repeat;\nbackground-position: center center;\nborder-radius: 5px;\nopacity: .85;\n\">\n</div>\n`);\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
302window._bubble_page_load_data.plugins_size['1618892957212x885363265747026000'] = 5359;
303window.preloaded['plugin/third_party:1618892957212x885363265747026000:1.9.0'] = true;
304window.plugins["1633128679598x797103101413949400"] = {"human":"ViaCep JS","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"ViaCep","property_applications":{"resizable":false,"MinWidth":false},"add_is_visible":true,"fields":{"AAe":{"caption":"Foi adicionado uma ação \"Gerar Endereço\" com essa ação você consegue concatenar os dados obtidos do ViaCep (logradouro,bairro,localidade,uf) inserir um numero e gerar um endereço geografico. Se você não quiser usar o ViaCep e quiser apenas concatenar um endereço, basta inserir os dados dinamicos na ação \"Gerar Endereço\"","name":"information","rank":0,"editor":"Label","value":"text"}},"states":{"AAM":{"caption":"Logradouro","name":"logradouro","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAN":{"caption":"Bairro","name":"bairro","value":"text","initialization_code":{"fn":"function(properties,context){}"}}
304,"AAO":{"caption":"Localidade","name":"localidade","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAP":{"caption":"UF","name":"uf","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAQ":{"caption":"IBGE","name":"ibge","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AAW":{"caption":"Endereço Formatado ","name":"endereco","value":"geographic_address","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAS":{"caption":"Inválido","name":"invalido"},"AAT":{"caption":"Encontrado","name":"valido"},"AAU":{"caption":"Incorreto","name":"inexistente"}},"actions":{"AAD":{"caption":"Buscar","code":{"fn":"function(instance,properties,context){$(document).ready((function(){if(instance.publishState(\"logradouro\"),instance.publishState(\"bairro\"),instance.publishState(\"localidade\"),instance.publishState(\"uf\"),instance.publishState(\"ibge\"),null!=properties.cep){var cep=properties.cep.replace(/\\D/g,\"\");8==cep.length?$.getJSON(\"https://viacep.com.br/ws/\"+cep+\"/json/?callback=?\",(function(dados){\"erro\"in dados?instance.triggerEvent(\"invalido\"):(instance.publishState(\"logradouro\",dados.logradouro),instance.publishState(\"bairro\",dados.bairro),instance.publishState(\"localidade\",dados.localidade),instance.publishState(\"uf\",dados.uf),instance.publishState(\"ibge\",dados.ibge),instance.data.logradouro=dados.logradouro,instance.data.bairro=dados.bairro,instance.data.localidade=dados.localidade,instance.data.uf=dados.uf,instance.triggerEvent(\"valido\"))})):instance.triggerEvent(\"inexistente\")}}))}"},"fields":{"AAE":{"caption":"CEP","name":"cep","rank":0,"editor":"DynamicValue","value":"text"}}},"AAY":{"caption":"Gerar Endereço","code":{"fn":"function(instance,properties,context){null==properties.logradouro?instance.publishState(\"endereco\",instance.data.logradouro+\", \"+properties.numero+\" - \"+instance.data.bairro+\", \"+instance.data.localidade+\" - \"+instance.data.uf):instance.publishState(\"endereco\",properties.logradouro+\", \"+properties.numero+\" - \"+properties.bairro+\", \"+properties.localidade+\" - \"+properties.uf)}"},"fields":{"AAZ":{"caption":"Endereço Numero","name":"numero","rank":0,"editor":"DynamicValue","value":"number"},"AAa":{"caption":"Logradouro","name":"logradouro","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AAb":{"caption":"Bairro","name":"bairro","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AAc":{"caption":"Localidade","name":"localidade","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AAd":{"caption":"UF","name":"uf","rank":4,"editor":"DynamicValue","value":"text","optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n var preview = Math.min(properties.bubble.height, properties.bubble.width);\n    \n    var imgElement = document.createElement(\"IMG\");\n    imgElement.setAttribute(\"src\", \"https://9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1633136527483x929830282598084500/viacep.fw.png\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
305window._bubble_page_load_data.plugins_size['1633128679598x797103101413949400'] = 4298;
306window.preloaded['plugin/third_party:1633128679598x797103101413949400:2.0.0'] = true;
307window.plugins["1641501497659x706740039734263800"] = {"human":"Floppy: localStorage, List Shifter","dependencies":{"use_jquery":false,"plugin_api_version":"4"},"shared_keys":{"AeG":{"caption":"Data API Key","type":"secure"},"AeH":{"caption":"Data API Key 2","type":"client_safe"}},"plugin_elements":{"AGl":{"display":"Floppy","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AGm":{"caption":"Auto Read Storage","default_val":true,"editor":"DynamicValue","name":"auto_storage","optional":true,"rank":4,"value":"boolean"},"AGn":{"caption":"Scalar Key Name","default_val":"Floppy","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":10,"value":"text"},"AGt":{"caption":"Type of Values","editor":"custom_type","name":"type_of_values","rank":7},"AGu":{"caption":"FLOPPY INFO","editor":"Label","name":"info","rank":0},"AGv":{"caption":"Floppy is a multi-purpose plugin for reading and writing values to localStorage. It also has built-in scalar (single value) and list (array) states that are similar to custom states, but with a more robust set of manipulation features. These can be used to construct, modify, and manipulate lists. Additionally, there is basic support for drag and drop manipulation of certain types of Repeating Groups.","editor":"Label","name":"info2","rank":1},"AHC":{"caption":"Editor Icon Color","default_val":"Classic Blue","editor":"Dropdown","name":"icolor","optional":true,"rank":15},"AHW":{"caption":"TYPE AND KEY NAMES SETUP","editor":"Label","name":"scalar_sep","rank":6},"AHX":{"caption":"Each instance of Floppy allows you to store and retrieve both a 
307single (scalar) value and a List (array) of values, both of which are of the same type. Select the type of items Floppy (and the keys it creates) should store/retrieve. Below that, set the key names that the scalar value and list value will be written to.","editor":"Label","name":"info_keys1","rank":8},"AHb":{"caption":"EDITOR OPTIONS","editor":"Label","name":"editor_sep","rank":14},"AHc":{"caption":"List Key Name","default_val":"Floppy-List","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":11,"value":"text"},"AJP":{"caption":"Automatically Retrieve Keys when Updated in Another Window","editor":"Label","name":"auto_read_info","rank":12},"AJQ":{"caption":"Retrieve Key when Updated","default_val":true,"editor":"DynamicValue","name":"retrieve_on_storage","rank":13,"value":"boolean"},"AJo":{"caption":"ADVANCED: SORTABLE RG OPTIONS","editor":"Label","name":"advanced_info","rank":20},"AJp":{"caption":"ID of Repeating Group to Make Draggable","editor":"DynamicValue","name":"drag_rg","optional":true,"rank":21,"value":"text"},"AJq":{"caption":"Drag Delay (ms)","editor":"DynamicValue","name":"drag_delay","optional":true,"rank":23,"value":"number"},"AJr":{"caption":"Ghost BG Color","default_val":"rgba(255, 255, 255, 1)","editor":"Color","name":"ghost_bg_color","optional":true,"rank":27},"AJs":{"caption":"Ghost Opacity","default_val":1,"editor":"DynamicValue","name":"ghost_opacity","optional":true,"rank":28,"value":"number"},"AJt":{"caption":"Ghost CSS","editor":"DynamicValue","name":"ghost_css","optional":true,"rank":29,"value":"text"},"AJu":{"caption":"Animation Time (ms)","editor":"DynamicValue","name":"animation","optional":true,"rank":26,"value":"number"},"AKR":{"caption":"Drag Handle ID","editor":"DynamicValue","name":"drag_handle","optional":true,"rank":22,"value":"text"},"AKU":{"caption":"Storage Type","default_val":"localStorage","editor":"Dropdown","name":"storage_type","optional":false,"rank":2},"AKw":{"caption":"ADVANCED: STEP/ARRAY FUNCTION/COUNT OUPUT TYPES","editor":"Label","name":"array_fn_info","rank":37},"AKx":{"caption":"Array Method Output Type","editor":"custom_type","name":"array_fn_type","optional":true,"rank":39},"ALi":{"caption":"Step Mode List Type","editor":"custom_type","name":"step_type","optional":true,"rank":38},"AMI":{"caption":"Note that, if you're using an instance of Floppy just for its various data processing/list construction features, you can set the Scalar Key Name and List Key Name fields to empty and this essentially disables the \"automatic storage\" features of the plugin.","editor":"Label","name":"info_keys2","rank":9},"AQA":{"caption":"ADVANCED: IndexedDB/localForage Options","editor":"Label","name":"lf_info","rank":16},"AQB":{"caption":"Database Name","editor":"DynamicValue","name":"lf_name","optional":true,"rank":17,"value":"text"},"AQC":{"caption":"Datastore Name","editor":"DynamicValue","name":"lf_store","optional":true,"rank":18,"value":"text"},"AQD":{"caption":"Retrieve Found Keys","default_val":true,"editor":"DynamicValue","name":"findkeys","optional":true,"rank":19,"value":"boolean"},"AVQ":{"caption":"Auto Set RAM","name":"auto_ram","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true},"AVR":{"caption":"RETRIEVE ON INITIALIZE OPTIONS","name":"roi_info","rank":3,"editor":"Label"},"AdQ":{"caption":"Drag Group Name","name":"drag_group","rank":30,"editor":"DynamicValue","value":"text","optional":true},"AdS":{"caption":"Clone (not Move)","name":"clone","rank":31,"editor":"DynamicValue","value":"boolean","optional":true},"AdT":{"caption":"Prohibit Add","name":"no_put","rank":33,"editor":"DynamicValue","value":"boolean","optional":true},"AdU":{"caption":"Revert Clone","name":"revert_clone","rank":32,"editor":"DynamicValue","value":"boolean","optional":true},"AdY":{"caption":"Prohibit Add Duplicates","name":"no_dupe","rank":34,"editor":"DynamicValue","value":"boolean","optional":true},"AdZ":{"caption":"Add Placeholder","name":"hold","rank":35,"editor":"Dropdown","optional":true},"Adb":{"caption":"Custom Placeholder","name":"placeholder","rank":36,"editor":"DynamicValue","value":"custom_data_AGt","optional":true},"Ade":{"caption":"Delay on Touch Only","name":"drag_delay_touch","rank":24,"editor":"DynamicValue","value":"boolean","optional":true},"Adf":{"caption":"Touch Start Threshold (px)","name":"touch_start_threshold","rank":25,"editor":"DynamicValue","value":"number","optional":true}},"states":{"AGo":{"caption":"Initialized","initialization_code":{"fn":"function(properties,context){}"},"name":"initialized","value":"boolean"},"AGr":{"caption":"Scalar Value (Storage)","initialization_code":{"fn":"function(properties,context){}"},"name":"scalar_value","value":"custom_data_AGt"},"AHE":{"caption":"List Values (Storage)","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_values","value":"custom_data_AGt"},"AHV":{"caption":"Keys Found in Storage","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"keys_found_in_localstorage","value":"text"},"AHn":{"caption":"Scalar Key","initialization_code":{"fn":"function(properties,context){}"},"name":"key_name_scalar","value":"text"},"AHo":{"caption":"List Key","initialization_code":{"fn":"function(properties,context){}"},"name":"key_name_list","value":"text"},"AIN":{"caption":"RAM Scalar Value","initialization_code":{"fn":"function(properties,context){}"},"name":"ram_scalar_value","value":"custom_data_AGt"},"AIO":{"caption":"RAM List Values","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"ram_list_value","value":"custom_data_AGt"},"AIe":{"caption":"Utility: JavaScript Minimum Date","initialization_code":{"fn":"function(properties,context){}"},"name":"min_js_date","value":"date"},"AJM":{"caption":"Utility: List Field Counts 1","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"field_counts_1","value":"number"},"AKV":{"caption":"Utility: List Field Counts 2","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"field_counts_2","value":"number"}
307,"AKW":{"caption":"Utility: List Field Counts 3","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"field_counts_3","value":"number"},"AKf":{"caption":"Stepping","initialization_code":{"fn":"function(properties,context){}"},"name":"stepping","value":"boolean"},"AKg":{"caption":"Step Index (0-based)","initialization_code":{"fn":"function(properties,context){}"},"name":"step_index_0","value":"number"},"AKh":{"caption":"Step Index (1-based)","initialization_code":{"fn":"function(properties,context){}"},"name":"step_index_1","value":"number"},"AKi":{"caption":"Step Item","initialization_code":{"fn":"function(properties,context){}"},"name":"step_item","value":"custom_data_ALi"},"AKj":{"caption":"Step Entire List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"step_list","value":"custom_data_ALi"},"AKy":{"caption":"Code: Array Method Output List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"method_output","value":"custom_data_AKx"},"AMM":{"caption":"Code: Array Method Function Slot","initialization_code":{"fn":"function(properties,context){}"},"name":"method_slot","value":"number"},"AMg":{"caption":"Utility: List Math Result 1","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_1","value":"number"},"AMh":{"caption":"Utility: List Math Result 2","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_2","value":"number"},"AMi":{"caption":"Utility: List Math Result 3","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_3","value":"number"},"AMj":{"caption":"Utility: List Math Result 4","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_4","value":"number"},"AMk":{"caption":"Utility: List Math Result 5","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_5","value":"number"},"ANB":{"caption":"List Math Result Number","initialization_code":{"fn":"function(properties,context){}"},"is_list":false,"name":"list_math_output","value":"number"},"AOn":{"caption":"Utility: Count/Sort Items List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"count_list_output","value":"custom_data_AGt"},"AOu":{"caption":"Utility: Count Custom Number List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"count_list_custom","value":"number"},"AQH":{"caption":"InDB: Database Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_db_name","value":"text"},"AQI":{"caption":"InDB: Datastore Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_ds_name","value":"text"},"Ada":{"caption":"Utility: RAM List Values + Placeholder","name":"ram_list_value_ph","value":"custom_data_AGt","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Adc":{"caption":"Utility: Placeholder Value","name":"placeholder","value":"custom_data_AGt","initialization_code":{"fn":"function(properties,context){}"}},"Add":{"caption":"Utility: Placeholder Index Adjust","name":"index_adjust","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AGy":{"caption":"Initialized","name":"initialized"},"AGz":{"caption":"Updated","name":"updated"},"AHA":{"caption":"Stored Scalar Key","name":"stored_scalar_key"},"AHh":{"caption":"Stored List Key","name":"stored_list_key"},"AHi":{"caption":"Retrieved Scalar Key","name":"retrieved_scalar_key"},"AHj":{"caption":"Retrieved List Key","name":"retrieved_list_key"},"AHk":{"caption":"Removed Scalar Key","name":"removed_scalar_key"},"AHl":{"caption":"Removed List Key","name":"removed_list_key"},"AHs":{"caption":"Cleared Storage","name":"cleared_storage"},"AIB":{"caption":"Wrote Arbitrary Scalar Key","name":"wrote_arbitrary_scalar_key"},"AIC":{"caption":"Wrote Arbitrary List Key","name":"wrote_arbitrary_list_key"},"AIK":{"caption":"Updated RAM Scalar Value","name":"updated_ram_scalar_value"},"AIL":{"caption":"Updated RAM List Values","name":"updated_ram_list_value"},"AJN":{"caption":"Scalar Key Modified (in Other Window)","name":"scalar_storage_modified"},"AJO":{"caption":"List Key Modified (in Other Window)","name":"list_storage_modified"},"AKM":{"caption":"Updated RAM List Values Via User Drag/Drop (Any Change)","name":"updated_ram_list_user_drop"},"AKd":{"caption":"Count Each Field/Sort Complete","name":"count_each_field_complete"},"AKk":{"caption":"Stepping Started","name":"stepping_started"},"AKl":{"caption":"Step Trigger","name":"step_trigger"},"AKm":{"caption":"Stepping Complete","name":"stepping_complete"},"ALY":{"caption":"Code: Array Method Complete","name":"code_complete"},"ANA":{"caption":"List Math Complete","name":"list_math_complete"},"AND":{"caption":"List Math Outputs Cleared","name":"list_math_outputs_cleared"},"ATr":{"caption":"Make Numeric List Complete","name":"make_numeric_list_complete"},"AVJ":{"caption":"Sync Trigger A","name":"sync_a"},"AVM":{"caption":"Sync Trigger B","name":"sync_b"},"AVN":{"caption":"Sync Trigger C","name":"sync_c"},"AVO":{"caption":"Sync Trigger D","name":"sync_d"},"AWX":{"caption":"Sync Trigger E","name":"sync_e"},"AWY":{"caption":"Sync Trigger F","name":"sync_f"},"AWZ":{"caption":"Sync Trigger G","name":"sync_g"},"AWa":{"caption":"Sync A Workflow Complete","name":"sync_wf_a"},"AWb":{"caption":"Sync B Workflow Complete","name":"sync_wf_b"},"AWc":{"caption":"Sync C Workflow Complete","name":"sync_wf_c"},"AWd":{"caption":"Sync D Workflow Complete","name":"sync_wf_d"},"AWe":{"caption":"Sync E Workflow Complete","name":"sync_wf_e"},"AWf":{"caption":"Sync F Workflow Complete","name":"sync_wf_f"},"AWg":{"caption":"Sync G Workflow Complete","name":"sync_wf_g"},"AdV":{"caption":"Added RAM List Via User Drag/Drop","name":"added_ram_list_user_drop"},"AdW":{"caption":"Removed RAM List Via User Drag/Drop","name":"removed_ram_list_user_drop"},"AdX":{"caption":"Sorted RAM List Via User Drag/Drop","name":"sorted_ram_list_user_drop"}},"actions":{"AHH":{"caption":"Store Keys","fields":{"AHI":{"caption":"Execute this action to store a value in local/sessionStorage at Floppy's Key Names.","editor":"Label","name":"info","rank":0},"AHJ":{"caption":"This action is partly synchronous with respect to other Floppy actions in a workflow. Floppy's Scalar and List Value (Storage) outputs are updated synchronously, but the actual writing to storage is asynchronous. When the action is truly complete, the Stored Scalar Key and/or Stored List Key events are triggered.","editor":"Label","name":"info2","rank":1},"AHK":{"caption":"Scalar Key Name","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":4,"value":"text"},"AHL":{"caption":"Scalar Value","editor":"DynamicValue","name":"value","o
307ptional":true,"rank":5,"value":"custom_data_element_AGt"},"AHM":{"caption":"List Value","editor":"DynamicValue","is_list":true,"name":"list_value","optional":true,"rank":9,"value":"custom_data_element_AGt"},"AHe":{"caption":"List Key Name","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":8,"value":"text"},"AOe":{"caption":"Store Scalar","default_val":true,"editor":"DynamicValue","name":"store_scalar","optional":true,"rank":3,"value":"boolean"},"AOf":{"caption":"Store List","default_val":true,"editor":"DynamicValue","name":"store_list","optional":true,"rank":7,"value":"boolean"},"AOg":{"caption":"SCALAR KEY TO STORE","editor":"Label","name":"scalar_info","rank":2},"AOh":{"caption":"LIST KEY TO STORE","editor":"Label","name":"list_info","rank":6},"AVY":{"caption":"SYNC OPTION","name":"sync_op","rank":10,"editor":"Label"},"AVc":{"caption":"Sync Trigger","name":"sync_trigger","rank":11,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionStoreKeys(instance,properties,context):console.log(\"Floppy is not initialized. Store Keys will not run.\")}"}},"AHN":{"caption":"Retrieve Keys","fields":{"AHO":{"caption":"Execute this action to manually retrieve the values stored in browser storage, at the keys specified in Floppy's main interface (under \"Scalar Key Name\" and \"List Key Name\").","editor":"Label","name":"info","rank":0},"AHP":{"caption":"This action is asynchronous, but when it is complete, the \"Retrieved Scalar Key\" and/or \"Retrieved List Key\" events are triggered.","editor":"Label","name":"info2","rank":2},"AOi":{"caption":"The newly-read values will appear at Floppy's \"Scalar Value (Storage)\" and \"List Values (Storage)\" outputs.","editor":"Label","name":"info3","rank":1},"AOk":{"caption":"NOTE: There's really no reason to ever execute this action unless you've set \"Automatic Retrieval\" to \"no\" in the main Floppy interface.","editor":"Label","name":"info4","rank":3},"AVf":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AVg":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRetrieveKey(instance,properties,context):console.log(\"Floppy is not initialized. Retrieve Key will not run.\")}"}},"AHR":{"caption":"Remove Keys","fields":{"AHS":{"caption":"Execute this action to completely remove the specified Key(s) from local/sessionStorage.","editor":"Label","name":"info","rank":0},"AHT":{"caption":"This action is synchronous and, when it is complete, the Removed Scalar Key and/or Removed List Key events are triggered.","editor":"Label","name":"info2","rank":1},"AHU":{"caption":"Scalar Key Name","default_val":"","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":3,"value":"text"},"AHg":{"caption":"List Key Name","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":5,"value":"text"},"AOl":{"caption":"Remove Scalar Key","default_val":true,"editor":"DynamicValue","name":"remove_scalar","optional":true,"rank":2,"value":"boolean"},"AOm":{"caption":"Remove List Key","default_val":true,"editor":"DynamicValue","name":"remove_list","optional":true,"rank":4,"value":"boolean"},"AVh":{"caption":"SYNC OPTION","name":"sync_option","rank":6,"editor":"Label"},"AVi":{"caption":"Sync Trigger","name":"sync_trigger","rank":7,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRemoveKey(instance,properties,context):console.log(\"Floppy is not initialized. Remove Key will not run.\")}"}},"AHp":{"caption":"Clear All Keys","fields":{"AHq":{"caption":"Execute this action to clear all of session/localStorage.","editor":"Label","name":"info","rank":0},"AHr":{"caption":"Note that this action removes ALL key/value pairs in your app's browser storage managed by this Floppy, even those that you didn't create. To remove a specific key from localStorage, use the Remove Keys action. This action is synchronous and, when it is complete, the Cleared Storage event is triggered.","editor":"Label","name":"info2","rank":1},"AVj":{"caption":"SYNC OPTION","name":"sync_option","rank":2,"editor":"Label"},"AVk":{"caption":"Sync Trigger","name":"sync_trigger","rank":3,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClear(instance,properties,context):console.log(\"Floppy is not initialized. Clear All Keys will not run.\")}"}},"AHu":{"caption":"Write Key Any Type","fields":{"AHv":{"caption":"Type of Values","editor":"custom_type","name":"type_of_values","optional":false,"rank":2},"AHw":{"caption":"Execute this action to store any type of value in browser storage with any arbitrary key name. Note that a single Floppy element can only RETRIEVE one type of data, but a single Floppy element can be used to WRITE (store) any type of keys. This action is provided to enable you to build pages where you want to write various values to storage, but do not necessarily need to retrieve them -- without having to put multiple Floppy elements on the page.","editor":"Label","name":"info","rank":0},"AHx":{"caption":"Scalar Key Name","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":3,"value":"text"},"AHy":{"caption":"Scalar Value","editor":"DynamicValue","name":"key_value_scalar","optional":true,"rank":4,"value":"custom_data_AHv"},"AHz":{"caption":"List Key Name","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":5,"value":"text"},"AIA":{"caption":"List Value","editor":"DynamicValue","is_list":true,"name":"key_value_list","optional":true,"rank":6,"value":"custom_data_AHv"},"AIM":{"caption":"This action is asynchronous but, when the action is complete, the Wrote Arbitrary Scalar Key and/or Wrote Arbitrary List Key events are triggered.","editor":"Label","name":"info2","rank":1},"AVl":{"caption":"SYNC OPTION","name":"sync_option","rank":7,"editor":"Label"},"AVm":{"caption":"Sync Trigger","name":"sync_trigger","rank":8,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionWriteAnyKey(instance,properties,context):console.log(\"Floppy is not initialized. Write Key (Any Type) will not run.\")}"}},"AID":{"caption":"Set RAM Scalar Value","fields":{"AIE":{"caption":"Execute this action to update Floppy's Scalar Value, with or without also Storing that value to the default key.","editor":"Label","name":"info","rank":0},"AIF":{"caption":"RAM Scalar Value","editor":"DynamicValue","name":"value","o
307ptional":true,"rank":2,"value":"custom_data_element_AGt"},"AIH":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":3,"value":"boolean"},"AIJ":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AVo":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AVp":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionSetRamScalar(instance,properties,context):console.log(\"Floppy is not initialized. Set RAM Scalar Value will not run.\")}"}},"AIG":{"caption":"Set RAM List Value","fields":{"AIP":{"caption":"Execute this action to update Floppy's RAM List Value, with or without also Storing that value.","editor":"Label","name":"info","rank":0},"AIQ":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIR":{"caption":"RAM List Value","editor":"DynamicValue","is_list":true,"name":"list_value","optional":true,"rank":2,"value":"custom_data_element_AGt"},"AIS":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":3,"value":"boolean"},"AVq":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AVr":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionSetRamList(instance,properties,context):console.log(\"Floppy is not initialized. Set RAM List Value will not run.\")}"}},"AIT":{"caption":"Add RAM List Value(s)","fields":{"AIU":{"caption":"Execute this action to update Floppy's RAM List Values by adding a value or values to the list. The various options allow you to append the new value(s) to the end of the list, prepend the new values to the beginning of the list, or insert the value(s) at some specific point in the list.","editor":"Label","name":"info","rank":0},"AIV":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIW":{"caption":"Add List of Values","editor":"DynamicValue","is_list":true,"name":"list_value","optional":true,"rank":4,"value":"custom_data_element_AGt"},"AIX":{"caption":"Add at","default_val":"End of List","editor":"Dropdown","name":"add_at","rank":8},"AIY":{"caption":"Index Number","editor":"DynamicValue","name":"index","optional":true,"rank":9,"value":"number"},"AId":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":12,"value":"boolean"},"AIt":{"caption":"Prohibit Duplicates","editor":"DynamicValue","name":"dedupe","optional":true,"rank":11,"value":"boolean"},"AIu":{"caption":"Add Single Value","editor":"DynamicValue","name":"scalar_value","optional":true,"rank":3,"value":"custom_data_element_AGt"},"AJT":{"caption":"SPECIFY VALUE TO ADD","editor":"Label","name":"value_info","rank":2},"AJU":{"caption":"ADDITIONAL OPTIONS","editor":"Label","name":"options_info","rank":10},"AJV":{"caption":"POSITION OPTIONS","editor":"Label","name":"position_options","rank":7},"AJW":{"caption":"Add \"Empty\" Value(s)","editor":"DynamicValue","name":"empty_value","optional":true,"rank":5,"value":"boolean"},"AJX":{"caption":"# Empty Values to Add","editor":"DynamicValue","name":"num_empty","optional":true,"rank":6,"value":"number"},"AVs":{"caption":"SYNC OPTION","name":"sync_option","rank":13,"editor":"Label"},"AVt":{"caption":"Sync Trigger","name":"sync_trigger","rank":14,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionAddRamList(instance,properties,context):console.log(\"Floppy is not initialized. Add RAM List Value(s) will not run.\")}"}},"AIf":{"caption":"Remove RAM List Value(s)","fields":{"AIg":{"caption":"Execute this Action to remove an item or items from Floppy's RAM List.","editor":"Label","name":"info","rank":0},"AIh":{"caption":"Remove Single Index","editor":"DynamicValue","name":"index","optional":true,"rank":3,"value":"number"},"AIi":{"caption":"Num Items to Remove","editor":"DynamicValue","name":"num_items","optional":true,"rank":4,"value":"number"},"AIj":{"caption":"Remove Single Value","editor":"DynamicValue","name":"value_to_remove","optional":true,"rank":7,"value":"custom_data_element_AGt"},"AIk":{"caption":"REMOVE ITEM(S) BY INDEX","editor":"Label","name":"index_sep","rank":2},"AIl":{"caption":"OR... REMOVE ITEM(S) BY VALUE","editor":"Label","name":"value_sep","rank":6},"AIm":{"caption":"Remove List of Values","editor":"DynamicValue","is_list":true,"name":"values_to_remove","optional":true,"rank":8,"value":"custom_data_element_AGt"},"AIn":{"caption":"Remove Items by Value Method:","editor":"Label","name":"remove_options_info","rank":9},"AIo":{"caption":"Behavior","default_val":"Remove first instance","editor":"Dropdown","name":"remove_option","rank":10},"AIp":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":11},"AIq":{"caption":"Store New Value","editor":"DynamicValue","name":"store","o
307ptional":true,"rank":12,"value":"boolean"},"AIr":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIs":{"caption":"Remove List of Indices","editor":"DynamicValue","is_list":true,"name":"indices","optional":true,"rank":5,"value":"number"},"AVu":{"caption":"SYNC OPTION","name":"sync_option","rank":13,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRemoveRamList(instance,properties,context):console.log(\"Floppy is not initialized. Remove RAM List Value(s) will not run.\")}"}},"AIv":{"caption":"Change RAM List Value(s)","fields":{"AIw":{"caption":"Execute this Action to change an existing item or items from Floppy's RAM List.","editor":"Label","name":"info","rank":0},"AIx":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIz":{"caption":"SELECT ITEM(S) TO CHANGE BY INDEX","editor":"Label","name":"index_sep","rank":2},"AJA":{"caption":"Change Single Index","editor":"DynamicValue","name":"index","optional":true,"rank":3,"value":"number"},"AJB":{"caption":"Change List of Indices","editor":"DynamicValue","is_list":true,"name":"indices","optional":true,"rank":4,"value":"number"},"AJC":{"caption":"OR... SELECT ITEMS(S) TO CHANGE BY VALUE","editor":"Label","name":"value_sep","rank":5},"AJD":{"caption":"Change Single Value","editor":"DynamicValue","name":"value_to_change","optional":true,"rank":6,"value":"custom_data_element_AGt"},"AJE":{"caption":"Change List of Values","editor":"DynamicValue","is_list":true,"name":"values_to_change","optional":true,"rank":7,"value":"custom_data_element_AGt"},"AJF":{"caption":"SPECIFY NEW VALUE(S)","editor":"Label","name":"value_sep","rank":8},"AJG":{"caption":"Single Value","editor":"DynamicValue","name":"value","optional":true,"rank":9,"value":"custom_data_element_AGt"},"AJH":{"caption":"List of Values","editor":"DynamicValue","is_list":true,"name":"values","optional":true,"rank":10,"value":"custom_data_element_AGt"},"AJI":{"caption":"Change Items by Value Method:","editor":"Label","name":"change_options_info","rank":12},"AJJ":{"caption":"Behavior","default_val":"Change first instance","editor":"Dropdown","name":"change_option","rank":13},"AJK":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":14},"AJL":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":15,"value":"boolean"},"AJY":{"caption":"Use \"Empty\" Values","editor":"DynamicValue","name":"empty_value","optional":true,"rank":11,"value":"boolean"},"AVv":{"caption":"SYNC OPTION","name":"sync_option","rank":16,"editor":"Label"},"AVw":{"caption":"Sync Trigger","name":"sync_trigger","rank":17,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionChangeRamList(instance,properties,context):console.log(\"Floppy is not initialized. Change RAM List Value(s) will not run.\")}"}},"AJR":{"caption":"Clear RAM List Values","fields":{"AJb":{"caption":"Execute this action to clear all items from Floppy's RAM List Values, causing that list to become empty. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"clear_info","rank":0},"AJc":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":1},"AJd":{"caption":"Remove List Key","editor":"DynamicValue","name":"store","optional":true,"rank":2,"value":"boolean"},"AVx":{"caption":"SYNC OPTION","name":"sync_option","rank":3,"editor":"Label"},"AVy":{"caption":"Sync Trigger","name":"sync_trigger","rank":4,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClearRAM(instance,properties,!0,context):console.log(\"Floppy is not initialized. Clear RAM List Values will not run.\")}"}},"AJa":{"caption":"Clear RAM Scalar Value","fields":{"AJf":{"caption":"Execute this action to clear Floppy's RAM Scalar Value, causing it to become empty. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated Ram Scalar Value event is triggered.","editor":"Label","name":"clear_info","rank":0},"AJg":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":1},"AJh":{"caption":"Remove Scalar Key","editor":"DynamicValue","name":"store","o
307ptional":true,"rank":2,"value":"boolean"},"AVz":{"caption":"SYNC OPTION","name":"sync_option","rank":3,"editor":"Label"},"AWA":{"caption":"Sync Trigger","name":"sync_trigger","rank":4,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClearRAM(instance,properties,!1,context):console.log(\"Floppy is not initialized. Clear RAM Scalar Value will not run.\")}"}},"AJi":{"caption":"SHIFT: Move RAM List Item","fields":{"AJj":{"caption":"Current Index of Item","editor":"DynamicValue","name":"from","rank":1,"value":"number"},"AJk":{"caption":"New Index of Item","editor":"DynamicValue","name":"to","rank":2,"value":"number"},"AJl":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":3},"AJm":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":4,"value":"boolean"},"AJn":{"caption":"Execute this action to move a value in Floppy's RAM List from one index to another. If either index is out-of-bounds, nothing will happen. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"move_info","rank":0},"AWB":{"caption":"SYNC OPTION","name":"sync_option","rank":5,"editor":"Label"},"AWC":{"caption":"Sync Trigger","name":"sync_trigger","rank":6,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionMoveRAMItem(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Move RAM List Item will not run.\")}"}},"AJw":{"caption":"SHIFT: Reverse RAM List","fields":{"AJx":{"caption":"Execute this action to reverse the order of the values in Floppy's RAM List. You can optionally store the values to local/sessionStorage. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"reverse_info","rank":0},"AJy":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":2,"value":"boolean"},"AJz":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":1},"AWD":{"caption":"SYNC OPTION","name":"sync_option","rank":3,"editor":"Label"},"AWE":{"caption":"Sync Trigger","name":"sync_trigger","rank":4,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionReverseRAMList(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Reverse RAM List will not run.\")}"}},"AKA":{"caption":"SHIFT: Rotate RAM List","fields":{"AKB":{"caption":"Rotate by","editor":"DynamicValue","name":"rotate_by","optional":true,"rank":1,"value":"number"},"AKD":{"caption":"Execute this action to rotate the values in Floppy's RAM List by some amount. You can optionally store the values to browser storage. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"rotate_info","rank":0},"AKE":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":2},"AKF":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":3,"value":"boolean"},"AWF":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AWG":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRotateRAMList(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Rotate RAM List will not run.\")}"}},"AKG":{"caption":"SHIFT: Swap RAM List Items","fields":{"AKH":{"caption":"Execute this action to swap the positions of 2 items in Floppy's RAM List. You can optionally store the values to browser storage. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"swap_info","rank":0},"AKI":{"caption":"Item 1 Index","editor":"DynamicValue","name":"index1","optional":true,"rank":1,"value":"number"},"AKJ":{"caption":"Item 2 Index","editor":"DynamicValue","name":"index2","o
307ptional":true,"rank":2,"value":"number"},"AKK":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":3},"AKL":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":4,"value":"boolean"},"AWH":{"caption":"SYNC OPTION","name":"sync_option","rank":5,"editor":"Label"},"AWI":{"caption":"Sync Trigger","name":"sync_trigger","rank":6,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionSwapRAMList(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Swap RAM List Items will not run.\")}"}},"AKN":{"caption":"Store RAM List to List Key","fields":{"AKO":{"caption":"Execute this action to take the current RAM List and save it to Floppy's default List Key. This is merely a convenience action - it's nothing you can't do with the \"Store Key\" action, but the interface is simplified (there are no options). The current contents of Floppy's RAM List are written to the default List Key. This action is asynchronous but, when it is complete, the Stored List Key event is triggered. ","editor":"Label","name":"store_ram_list_info","rank":0},"AWJ":{"caption":"SYNC OPTION","name":"sync_option","rank":1,"editor":"Label"},"AWK":{"caption":"Sync Trigger","name":"sync_trigger","rank":2,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcStoreKey(instance,instance.data.key_name_list,instance.data.ram_list_value,properties,context):console.log(\"Floppy is not initialized. Store RAM List to List Key will not run.\")}"}},"AKP":{"caption":"Store RAM Scalar to Scalar Key","fields":{"AKQ":{"caption":"Execute this action to take the current RAM Scalar and save it to Floppy's default Scalar Key. This is merely a convenience action - it's nothing you can't do with the \"Store Key\" action, but the interface is simplified (there are no options). The current contents of Floppy's RAM Scalar are written to the default Scalar Key. This action is asynchronous but, when it is complete, the Stored Scalar Key event is triggered.","editor":"Label","name":"store_ram_scalar_info","rank":0},"AWL":{"caption":"SYNC OPTION","name":"sync_option","rank":1,"editor":"Label"},"AWM":{"caption":"Sync Trigger","name":"sync_trigger","rank":2,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcStoreKey(instance,instance.data.key_name_scalar,instance.data.ram_scalar_value,properties,context):console.log(\"Floppy is not initialized. Store RAM Scalar to Scalar Key will not run.\")}"}},"AKT":{"caption":"Utility: Count Each Field/Sort","fields":{"AKX":{"caption":"Execute this action to count the number of items in some field(s) on a Thing. You can optionally sort the Things by these counts, or a custom numeric list. The List Expression input below is echoed to the \"Utility: Count/Sort Items List\" output. Counts associated with the various fields are output to the \"Utility: List Field Counts n\" outputs. If the \"Sort\" option is selected, all of those outputs will be sorted, as requested. When computation and publishing is complete (this action is synchronous with respect to other Floppy actions), the \"Count Each Field/Sort Complete\" event is triggered.","editor":"Label","name":"count_fields_info","rank":0},"AOp":{"caption":"Sort by Field Count","editor":"Dropdown","name":"sort_by","optional":true,"rank":8},"AOq":{"caption":"SORT OPTIONS","editor":"Label","name":"sort_options_info","rank":7},"AOr":{"caption":"Sort Descending","editor":"DynamicValue","name":"descending","optional":true,"rank":10,"value":"boolean"},"AOt":{"caption":"Custom Count","editor":"DynamicValue","is_list":true,"name":"custom_count","optional":true,"rank":6,"value":"number"},"ATe":{"caption":"Count/Sort List Type","name":"count_list_type","rank":1,"editor":"custom_type","optional":false},"ATf":{"caption":"List Expression","name":"list","rank":2,"editor":"DynamicValue","value":"custom_data_ATe","is_list":true},"ATg":{"caption":"Field to Count 1","name":"field_1","rank":3,"editor":"custom_field_ATe","optional":true},"ATh":{"caption":"Field to Count 2","name":"field_2","rank":4,"editor":"custom_field_ATe","optional":true},"ATi":{"caption":"Field to Count 3","name":"field_3","rank":5,"editor":"custom_field_ATe","optional":true}
307,"ATj":{"caption":"Sort by Field (as Number)","name":"sort_by_number","rank":9,"editor":"DynamicValue","optional":true,"value":"number"},"AWN":{"caption":"SYNC OPTION","name":"sync_option","rank":11,"editor":"Label"},"AWO":{"caption":"Sync Trigger","name":"sync_trigger","rank":12,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionCountEachField(instance,properties,context):console.log(\"Floppy is not initialized. Utility: Count Each Field will not run.\")}"}},"AKo":{"caption":"STEP: Begin Stepping","fields":{"AKp":{"caption":"Execute this action to begin stepping mode, which allows you to build iterative workflows. You can step over the items in a List and, for each step, Floppy will expose data at the following outputs:","editor":"Label","name":"step_begin_info","rank":0},"ALb":{"caption":"1. Step Index (0-based): The index (iteration number) of the current step, starting from 0.","editor":"Label","name":"step_begin_info_2","rank":1},"ALc":{"caption":"2. Step Index (1-based): The index of the current step, starting from 1.","editor":"Label","name":"step_begin_info_3","rank":2},"ALd":{"caption":"3. Step Item: The List item corresponding to the current step (a scalar value).","editor":"Label","name":"step_begin_info_4","rank":3},"ALe":{"caption":"4. Step Entire List: The entire contents of the List being stepped over.","editor":"Label","name":"step_begin_info_5","rank":4},"ALg":{"caption":"LIST TO STEP","editor":"Label","name":"list_sel_info","rank":6},"ALh":{"caption":"IMPORTANT: First specify the list's type using the \"Step Mode List Type\" field in the main Floppy interface.","editor":"Label","name":"list_sel_info_2","rank":7},"ALj":{"caption":"List to Step","editor":"DynamicValue","is_list":true,"name":"step_list","optional":true,"rank":8,"value":"custom_data_element_ALi"},"ALk":{"caption":"NUMERIC STEPPING","editor":"Label","name":"num_step_info","rank":9},"ALl":{"caption":"Instead of providing a list above, you can step arbitrary number of times by creating a numeric list. (If you use this option, \"Step Mode List Type\" must be set to \"number\" in the main Floppy interface. Note: Providing values here overrides any \"List to Step\" defined above.","editor":"Label","name":"num_step_info","rank":10},"ALm":{"caption":"Number of steps","editor":"DynamicValue","name":"num_items","optional":true,"rank":11,"value":"number"},"ALn":{"caption":"Start at","editor":"DynamicValue","name":"start","optional":true,"rank":12,"value":"number"},"ALo":{"caption":"Increment by","editor":"DynamicValue","name":"increment","optional":true,"rank":13,"value":"number"},"ALp":{"caption":"DEBUG MODE","editor":"Label","name":"debug_info","rank":14},"ALq":{"caption":"Debug Mode","editor":"DynamicValue","name":"debug","optional":true,"rank":15,"value":"boolean"},"ALs":{"caption":"Executing this action initializes stepping and triggers two events - \"Stepping Started\" and the first \"Step Trigger\" event. Use the \"Step Trigger\" event to execute some desired workflow(s). At the end of those workflows, execute the \"STEP: Next Step\" action to advance stepping and trigger the next \"Step Trigger\" event. Stepping will continue until the entire list has been stepped. At that point, step mode is ended and the \"Stepping Complete\" event is triggered.","editor":"Label","name":"step_begin_info_6","rank":5},"ALu":{"caption":"ADVANCED OPTIONS","editor":"Label","name":"advanced_options","rank":17},"ALv":{"caption":"Clear Step Outputs on End","default_val":true,"editor":"DynamicValue","name":"step_clear","optional":true,"rank":19,"value":"boolean"},"ALw":{"caption":"Infinite Looping","editor":"DynamicValue","name":"step_loop","optional":true,"rank":20,"value":"boolean"},"AMD":{"caption":"Reverse List?","editor":"DynamicValue","name":"reverse","optional":true,"rank":18,"value":"boolean"},"ATc":{"caption":"Debug Name","name":"debug_name","rank":16,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Some Floppy"}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionBeginStep(instance,properties):console.log(\"Floppy is not initialized. STEP: Begin Stepping will not run.\")}"}},"AKq":{"caption":"STEP: Next Step","fields":{"AKr":{"caption":"Execute this action to increment to the next step. This action will have no effect unless stepping is currently active. Begin stepping by executing the \"STEP: Begin Stepping\" action.","editor":"Label","name":"next_step_info","rank":0},"ALr":{"caption":"Executing this action advances stepping to the next item and triggers either (1) the next \"Step Trigger\" event or (2) the \"Stepping Complete\" event, if we've already stepped over the complete list. If Step mode is started using the \"Infinite Loop\" option, the \"Stepping Complete\" event is never sent and instead of ending, the index/item loops back to the first index.","editor":"Label","name":"next_step_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionNextStep(instance):console.log(\"Floppy is not initialized. STEP: Next Step will not run.\")}"}},"AKs":{"caption":"STEP: End Stepping","fields":{"AKt":{"caption":"Execute this action to exit step mode prematurely (typically, stepping will continue until all items have been stepped over.","editor":"Label","name":"end_step_info","rank":0},"ALt":{"caption":"In typical use, there's no need to manually end stepping -- the \"STEP: Next Step\" action takes care of that for you once the entire list has been stepped. This action is only necessary if you wish to abort stepping for some programmatic reason. ","editor":"Label","name":"end_step_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionEndStep(instance):console.log(\"Floppy is not initialized. STEP: End Stepping will not run.\")}"}},"AKu":{"caption":"Code: Array Method","fields":{"AKv":{"caption":"Execute this action to run a variety of JavaScript array functions on some List. This action is synchronous and, when it is complete, the \"Code: Array Method Complete\" event is triggered.","editor":"Label","name":"array_fn_info","rank":0},"AKz":{"caption":"Function Type","default_val":".map()","editor":"Dropdown","name":"function_type","rank":2},"ALA":{"caption":"Function Code","default_val":"// write your function body here. You don't need to wrap it in curly braces, but note that in most cases you should have an explicit return statement!","editor":"DynamicValue","name":"code","rank":12,"value":"text"},"ALB":{"caption":"Item Argument","default_val":"item","editor":"StaticText","name":"1_arg_core_item_name","optional":false,"rank":6,"value":"text"},"ALC":{"caption":"Index Argument","default_val":"index","editor":"StaticText","name":"2_arg_core_index_name","optional":false,"rank":7,"value":"text"},"ALD":{"caption":"Array Argument","default_val":"array","editor":"StaticText","name":"3_arg_core_array_name","optional":false,"rank":8,"value":"text"},"ALE":{"caption":"ARGUMENTS","editor":"Label","name":"arg_info","rank":3},"ALF":{"caption":"All of the array (list) methods accept up to 3 parameters that represent: (1) the current item being processed, (2) the index of the array item being processed, and (3) the full array being sent to the function. The text fields below represent how these arguments are named. There's very little reason to change from the defaults, but I like to let you be you.","editor":"Label","name":"arg_info_2","rank":4},"ALG":{"caption":"Custom List","editor":"DynamicValue","is_list":true,"name":"list","optional":true,"rank":10,"value":"_any_thing"},"ALH":{"caption":"ARGUMENT NAMES","editor":"Label","name":"argument_names","rank":5},"ALI":{"caption":"LIST SELECTION: LEAVE LIST EXPRESSION BELOW EMPTY TO PROCESS FLOPPY'S RAM LIST OR SPECIFY A CUSTOM LIST","editor":"Label","name":"list_sel_info","rank":9},"ALJ":{"caption":"IMPORTANT: To use this action, you should first specify a type for the Array \"Function Output Type\" found in the ADVANCED section of the main Flo
307ppy interface.","editor":"Label","name":"array_fn_info_2","rank":1},"ALL":{"caption":"OPTIONAL ARGUMENTS","editor":"Label","name":"opt_arg_info","rank":13},"ALM":{"caption":"You can pass additional arguments by naming them and providing values that will be evaluated and passed to the function when this action is executed.","editor":"Label","name":"opt_arg_info2","rank":14},"ALN":{"caption":"Arg 1 Name","editor":"DynamicValue","name":"1_optarg_1_name","optional":true,"rank":15,"value":"text"},"ALO":{"caption":"Arg 1 Value","editor":"DynamicValue","name":"1_optarg_1_value","optional":true,"rank":16,"value":"_any_thing"},"ALP":{"caption":"Arg 2 Name","editor":"DynamicValue","name":"2_optarg_2_name","optional":true,"rank":17,"value":"text"},"ALQ":{"caption":"Arg 2 Value","editor":"DynamicValue","name":"2_optarg_2_value","optional":true,"rank":18,"value":"_any_thing"},"ALR":{"caption":"List Arg 1 Name","editor":"DynamicValue","is_list":false,"name":"3_list_optarg_1_name","optional":true,"rank":19,"value":"text"},"ALS":{"caption":"List Arg 1 Value","editor":"DynamicValue","is_list":true,"name":"3_list_optarg_1_value","o
307ptional":true,"rank":20,"value":"_any_thing"},"ALT":{"caption":"List Arg 2 Name","editor":"DynamicValue","name":"4_list_optarg_2_name","optional":true,"rank":21,"value":"text"},"ALU":{"caption":"List Arg 2 Value","editor":"DynamicValue","is_list":true,"name":"4_list_optarg_2_value","optional":true,"rank":22,"value":"_any_thing"},"ALV":{"caption":"RESULT OUTPUT OPTIONS","editor":"Label","name":"output_info","rank":27},"ALW":{"caption":"Publish to Code: Array Method Output","default_val":true,"editor":"DynamicValue","name":"publish_to_code","optional":true,"rank":28,"value":"boolean"},"ALX":{"caption":"Publish to RAM List","editor":"DynamicValue","name":"publish_to_ram_list","optional":true,"rank":29,"value":"boolean"},"ALZ":{"caption":"Debug Mode","editor":"DynamicValue","name":"debug","optional":true,"rank":30,"value":"boolean"},"AMB":{"caption":"Reverse List?","editor":"DynamicValue","name":"reverse","optional":true,"rank":11,"value":"boolean"},"AMG":{"caption":"FUNCTION SAVE/REUSE","editor":"Label","name":"use_saved_info","rank":23},"AMH":{"caption":"Function Slot","editor":"Dropdown","name":"fn_slot","o
307ptional":true,"rank":25},"AMJ":{"caption":"Here's a cool optimization: The first time you run a Code: Array Method action, we obviously need to evaluate your Function Code, above. But you can save the compiled function to one of 5 \"Function Slots\" for future retrieval. By selecting a function slot, your compiled function is saved internally. Executing a subsequent Code: Array Method action with the same function slot selected causes us to use the compiled function (and we ignore any code provided above, unless you've also set the \"Overwrite Slot\" option).","editor":"Label","name":"function_slot_info","rank":24},"AMK":{"caption":"Overwrite Slot","editor":"DynamicValue","name":"overwrite","optional":true,"rank":26,"value":"boolean"},"AWP":{"caption":"SYNC OPTION","name":"sync_option","rank":31,"editor":"Label"},"AWQ":{"caption":"Sync Trigger","name":"sync_trigger","rank":32,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionArrayMethod(instance,properties,context):console.log(\"Floppy is not initialized. Code: Array Method will not run.\")}"}},"ALx":{"caption":"STEP: Previous Step","fields":{"ALz":{"caption":"Execute this action to decrement to the previous step. This action will have no effect unless stepping is currently active. Begin stepping by executing the \"STEP: Begin Stepping\" action. In typical Step mode scenarios (such as running an iterative workflow), you would never use this action (using only \"STEP: Next Step\" instead). It is designed for use with Step mode's \"Infinite Loop\" mode, where you seek to step back and forth between elements is a list, typically in response to some user action.","editor":"Label","name":"next_step_info","rank":0},"AMA":{"caption":"Executing this action rewinds stepping to the previous item and triggers the next \"Step Trigger\" event. If executed when in Infinite Loop mode, and we're on the first index/item, the index and item are set to the *end* of the list. If not in Infinite Loop mode, executing Previous Step on the first item will have no effect.","editor":"Label","name":"next_step_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionNextStep(instance,!0):console.log(\"Floppy is not initialized. STEP: PRevious Step will not run.\")}"}},"AMO":{"caption":"Utility: List Math","fields":{"AMP":{"caption":"Execute this action to perform simple mathematical operations on two numeric lists, or a numeric list and a scalar number. The resulting list of numbers can be published to one of five \"List Math\" outputs (chosen below). This action is synchronous and, when it is complete, the List Math Complete event is triggered.","editor":"Label","name":"lm_info","rank":0},"AMR":{"caption":"OPERATIONS","editor":"Label","name":"op_info_1","rank":1},"AMT":{"caption":"List 1","editor":"DynamicValue","is_list":true,"name":"list1","rank":3,"value":"number"},"AMU":{"caption":"Operation 1","editor":"Dropdown","name":"op1","rank":4},"AMV":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op1","optional":true,"rank":5,"value":"number"},"AMW":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op1","optional":true,"rank":6,"value":"number"},"AMX":{"caption":"COMPUTATION 1","editor":"Label","name":"comp_1_info","rank":2},"AMY":{"caption":"COMPUTATION 2","editor":"Label","name":"comp_2_info","rank":7},"AMZ":{"caption":"Operate on Result","editor":"Dropdown","name":"op2","optional":true,"rank":8},"AMa":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op2","optional":true,"rank":9,"value":"number"},"AMb":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op2","optional":true,"rank":10,"value":"number"},"AMc":{"caption":"COMPUTATION 3","editor":"Label","name":"comp_3_info","rank":11},"AMd":{"caption":"Operate on Result","editor":"Dropdown","name":"op3","optional":true,"rank":12},"AMe":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op3","optional":true,"rank":13,"value":"number"},"AMf":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op3","optional":true,"rank":14,"value":"number"},"AMl":{"caption":"COMPUTATION 4","editor":"Label","name":"comp_4_info","rank":15},"AMm":{"caption":"Operate on Result","editor":"Dropdown","name":"op4","optional":true,"rank":16},"AMn":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op4","optional":true,"rank":17,"value":"number"},"AMo":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op4","optional":true,"rank":18,"value":"number"},"AMp":{"caption":"COMPUTATION 5","editor":"Label","name":"comp_5_
307info","rank":19},"AMq":{"caption":"Operate on Result","editor":"Dropdown","name":"op5","optional":true,"rank":20},"AMr":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op5","optional":true,"rank":21,"value":"number"},"AMs":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar_2_op5","optional":true,"rank":22,"value":"number"},"AMt":{"caption":"COMPUTATION 6","editor":"Label","name":"comp_6_info","rank":23},"AMu":{"caption":"Operate on Result","editor":"Dropdown","name":"op6","optional":true,"rank":24},"AMv":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op6","optional":true,"rank":25,"value":"number"},"AMw":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar_2_op6","optional":true,"rank":26,"value":"number"},"AMx":{"caption":"OUTPUT OPTIONS","editor":"Label","name":"output_info","rank":27},"AMy":{"caption":"Publish to","default_val":"List Math Result 1","editor":"Dropdown","name":"publish_output","rank":28},"AMz":{"caption":"Publish to RAM List","editor":"DynamicValue","name":"publish_to_ram_list","optional":true,"rank":29,"value":"boolean"},"ANC":{"caption":"Debug","editor":"DynamicValue","name":"debug","optional":true,"rank":30,"value":"boolean"},"AWR":{"caption":"SYNC OPTION","name":"sync_option","rank":31,"editor":"Label"},"AWS":{"caption":"Sync Trigger","name":"sync_trigger","rank":32,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionListMath(instance,properties,context):console.log(\"Floppy is not initialized. Utility: List Math will not run.\")}"}},"ANE":{"caption":"Utility: Clear List Math Outputs","fields":{"ANF":{"caption":"Execute this action to clear all of the List Math-related outputs. All 5 of the List Math Result outputs are cleared as well as the List Math Result Number output. This action is synchronous and, when it completes, the List Math Outputs Cleared event is triggered.","editor":"Label","name":"clear_info","rank":0},"AWT":{"caption":"SYNC OPTION","name":"sync_option","rank":1,"editor":"Label"},"AWU":{"caption":"Sync Trigger","name":"sync_trigger","rank":2,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClearListMath(instance,properties,context):console.log(\"Floppy is not initialized. Utility: Clear List Math Outputs will not run.\")}"}},"ATk":{"caption":"Utility: Make Numeric List","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionMakeNumList(instance,properties,context):console.log(\"Floppy is not initialized. Utility: Make Numeric List will not run.\")}"},"fields":{"ATl":{"caption":"Execute this action to generate a numeric list and store it at one of Floppy's List Math Result outputs. This action is synchronous and when it is complete, the \"Make Numeric List Complete\" event is triggered.","name":"info","rank":0,"editor":"Label"},"ATm":{"caption":"Number of items","name":"num_items","rank":1,"editor":"DynamicValue","value":"number","optional":true},"ATn":{"caption":"Start at","name":"start","rank":2,"editor":"DynamicValue","value":"number","optional":true},"ATo":{"caption":"Increment by","name":"increment","rank":3,"editor":"DynamicValue","value":"number","optional":true},"ATp":{"caption":"OUTPUT OPTION","name":"output_info","rank":4,"editor":"Label"},"ATq":{"caption":"Publish to","name":"publish_output","rank":5,"editor":"Dropdown","default_val":"List Math Result 2","optional":true},"AWV":{"caption":"SYNC OPTION","name":"sync_option","rank":6,"editor":"Label"},"AWW":{"caption":"Sync Trigger","name":"sync_trigger","rank":7,"editor":"Dropdown","optional":true}}},"AVK":{"caption":"Sync Trigger","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcSyncTrigger(instance,properties,context):console.log(\"Floppy is not initialized. Sync Trigger will not run.\")}"},"fields":{"AVL":{"caption":"Execute this action to send a \"Sync Trigger X\" event from the selected Floppy element. The selected Sync Trigger can then be used to trigger some workflow. When that workflow completes, Floppy will send a second event named \"Sync X Workflow Complete\" which you can use to trigger some subsequent workflow, if desired.","name":"sync_
307info","rank":0,"editor":"Label"},"AVP":{"caption":"Sync Trigger","name":"sync_trigger","rank":1,"editor":"Dropdown","default_val":"A","optional":false}}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,t){i=a.data,i.ram_scalar_value=null,i.ram_list_value=[],i.list_values_storage=[],i.scalar_value_storage=null,i.min_js_date=new Date(-864e13),a.publishState(\"min_js_date\",i.min_js_date),i.drag_rg=null,i.drag_rg_selector=null,i.drag_group=null,i.winprop=null,i.drag_handle=null,i.drag_rg_element=null,i.clone=null,i.revert_clone=null,i.no_put=null,i.no_dupe=null,i.hold=null,i.placeholder=null,i.index_adjust=0,i.dragclass=\"\",i.filterclass=\"\",i.rg_rows=null,i.sortable=null,i.drag_abort=null,i.sortable_orig=null,i.ghostStyle=null,i.session=null,i.local=null,i.indexed=null,i.field_counts_1=[],i.field_counts_2=[],i.field_counts_3=[],i.count_list_custom=[],i.count_list_output=[],i.method_output=[],i.method_fn=[],i.method_start_time=null,i.step_debug=null,i.stepping=null,i.step_index_0=null,i.step_index_1=null,i.step_item=null,i.step_list=[],i.step_clear=null,i.step_loop=null,i.list_math_result=[null,null,null,null,null],i.list_math_output=[],i.math_start_time=null,i.db=null,i.step_start=null,i.funcUpdate=async function(a,t){var e,n;a.data.funcGetProps(a,t),a.data.local=\"localStorage\"==a.data.storage_type||null,a.data.session=\"sessionStorage\"==a.data.storage_type||null,a.data.indexed=\"IndexedDB (localForage)\"==a.data.storage_type||null,a.data.indexed&&(a.data.lf_name=t.lf_name||\"localforage\",a.data.lf_store=t.lf_store||\"keyvaluepairs\",a.data.db=localforage.createInstance({name:a.data.lf_name,storeName:a.data.lf_store}),a.publishState(\"indb_db_name\",a.data.lf_name),a.publishState(\"indb_ds_name\",a.data.lf_store)),a.data.key_name_scalar=a.data.key_name_scalar,a.data.key_name_list=a.data.key_name_list,a.publishState(\"key_name_scalar\",a.data.key_name_scalar),a.publishState(\"key_name_list\",a.data.key_name_list),(a.data.auto_storage||a.data.auto_ram)&&(e=await a.data.funcRetrieveKey(a,a.data.key_name_scalar,!0),n=await a.data.funcRetrieveKey(a,a.data.key_name_list,!0)),a.data.auto_ram&&(a.data.ram_list_value=a.data.list_values_storage,a.data.ram_scalar_value=a.data.scalar_value_storage,a.data.pubRL(a,!0),a.publishState(\"ram_scalar_value\",a.data.funcGetID(a.data.ram_scalar_value))),a.data.funcUpdateFoundKeys(a),a.data.local&&(window.onstorage=function(t){a.data.funcOnstorageEvent(a,t)}),a.data.drag_rg&&!a.data.sortable&&(a.data.rg_rows=null,a.data.dragclass=a.data.drag_rg+\"-draggable\",a.data.filterclass=a.data.drag_rg+\"-filterdrag\",a.data.drag_rg_selector=\"#\"+a.data.drag_rg,a.data.clone=t.clone,a.data.revert_clone=t.revert_clone,a.data.no_put=t.no_put,a.data.drag_delay=null!=t.drag_delay?t.drag_delay:0,a.data.ghost_bg_color=t.ghost_bg_color?t.ghost_bg_color:\"#FFFFFF\",a.data.ghost_opacity=null!=t.ghost_opacity?t.ghost_opacity:1,a.data.animation=null!=t.animation?t.animation:150,a.data.drag_group=t.drag_group,a.data.drag_group&&(a.data.winprop=\"flpshared-\"+t.drag_group+\"-data\",window[a.data.winprop]={}),a.data.no_dupe=t.no_dupe,a.data.ghost_css=t.ghost_css?t.ghost_css:null,a.data.funcGhostStyle(a),!a.data.drag_rg_element&&a.data.funcWaitForElement(a.data.drag_rg_selector).then((t=>{a.data.drag_rg_element=t,a.data.funcCreateSortable(a)}))),a.data.initialized?a.triggerEvent(\"updated\"):(a.data.initialized=!0,a.publishState(\"initialized\",a.data.initialized),a.triggerEvent(\"initialized\")),\"got_key\"==e&&a.triggerEvent(\"retrieved_scalar_key\"),\"got_key\"==n&&a.triggerEvent(\"retrieved_list_key\")},i.funcSyncTrigger=function(a,t,e){a.triggerEvent(\"sync_\"+t.sync_trigger.toLowerCase(),void a.data.funcSyncComplete(a,e,t.sync_trigger))},i.funcSyncComplete=function(a,t,e){a.triggerEvent(\"sync_wf_\"+e.toLowerCase())},i.funcWaitForElement=function(a){return new Promise((t=>{if(document.querySelector(a)&&document.querySelector(a).classList.contains(\"bubble-rg\"))return t(document.querySelector(a));if(document.querySelector(a)&&!document.querySelector(a).classList.contains(\"bubble-rg\")&&document.querySelector(a).firstChild)return t(document.querySelector(a).firstChild);const e=new MutationObserver((n=>{document.querySelector(a)&&document.querySelector(a).classList.contains(\"bubble-rg\")&&(t(document.querySelector(a)),e.disconnect()),document.querySelector(a)&&!document.querySelector(a).classList.contains(\"bubble-rg\")&&document.querySelector(a).firstChild&&(t(document.querySelector(a).firstChild),e.disconnect())}
307));e.observe(document.body,{childList:!0,subtree:!0})}))},i.funcWatchForRowChanges=function(a,t){const e=new MutationObserver((t=>a.data.funcHandleMutations(t,a)));a.data.row_observer||(a.data.row_observer=e,e.observe(t,{childList:!0}))},i.funcHandleMutations=function(a,t){a.length,a.forEach((a=>{a.addedNodes.length&&a.addedNodes.forEach((a=>{if(a.getAttribute(\"data-id\"),!a.getAttribute(\"data-id\")){var e=a.className.split(\" \");!e.find((a=>a.startsWith(\"entry-\")))||e.includes(t.data.filterclass)||e.includes(t.data.dragclass)||t.data.initDataIDs(t,a);const n=new MutationObserver(((a,e)=>t.data.funcHandleEntry(a,e,t)));n.observe(a,{attributes:!0})}}))}))},i.funcHandleEntry=function(a,t,e){a.forEach((a=>{\"class\"===a.attributeName&&(a.target,a.target.className.split(\" \").find((a=>a.startsWith(\"entry-\")))&&(a.target,e.data.initDataIDs(e,a.target),t.disconnect()))}))},i.funcCreateSortable=function(a){a.data.sortable&&a.data.sortable.destroy(),a.data.rg_rows=a.data.drag_rg_element,a.data.rg_rows,a.data.dragclass,a.data.filterclass,a.data.rg_rows.childNodes,a.data.rg_rows&&(a.data.sortable=new Sortable(a.data.rg_rows,{animation:a.data.animation,sort:!0,disabled:!1,draggable:\".\"+a.data.dragclass,filter:\".\"+a.data.filterclass,onStart:function(t){a.data.drag_rg,a.data.funcOnSortableStart(a,t)},onEnd:function(t){a.data.funcOnSortableEnd(a,t),a.data.drag_rg},onAdd:function(t){a.data.drag_rg,a.data.funcOnSortableAdd(a,t)},onRemove:function(t){a.data.drag_rg,a.data.funcOnSortableRemove(a,t)},setData:function(t,e){var n=a.data.funcStringifyItem(a,a.data.ram_list_value,!1,!0),l=JSON.stringify({ramlist:n,index_adjust:a.data.index_adjust});t.setData(\"application/json\",l)},dataIdAttr:\"data-id\",delay:a.data.drag_delay,delayOnTouchOnly:!!a.data.drag_delay_touch,touchStartThreshold:a.data.touch_start_threshold}),a.data.drag_handle&&a.data.sortable.option(\"handle\",\"#\"+a.data.drag_handle),a.data.drag_group&&a.data.sortable.option(\"group\",{name:a.data.drag_group,pull:!a.data.clone||\"clone\",put:!a.data.no_put,revertClone:!!a.data.revert_clone}),a.data.drag_group),a.data.funcWatchForRowChanges(a,a.data.rg_rows),a.data.sortable},i.funcOnSortableStart=function(a,t){if(a.data.drag_abort=null,!t.originalEvent.dataTransfer){var e=a.data.funcStringifyItem(a,a.data.ram_list_value,!1,!0),n=JSON.stringify({ramlist:e,index_adjust:a.data.index_adjust});window[a.data.winprop].state=\"start\",window[a.data.winprop].data=n,window[a.data.winprop]}},i.funcOnSortableEnd=function(a,t){if(window[a.data.winprop]={},!t.pullMode){var e=t.newIndex+a.data.index_adjust,n=t.oldIndex+a.data.index_adjust;if(a.data.clone&&a.data.revert_clone||a.data.drag_abort)return a.data.funcSortRG(a),void a.data.funcDataIDs(a);if(e==n)return a.data.funcDataIDs(a),void a.data.sortable.option(\"disabled\",!1);a.data.sortable.option(\"disabled\",!0),e<0&&(e=0),e>a.data.ram_list_value.length&&(e=a.data.ram_list_value.length),a.data.funcMoveItem(a.data.ram_list_value,n,e),a.data.pubRL(a),a.data.funcSortRG(a),a.data.sortable.option(\"disabled\",!1),a.triggerEvent(\"sorted_ram_list_user_drop\"),a.triggerEvent(\"updated_ram_list_user_drop\")}},i.funcOnSortableAdd=function(a,t){var e=t.originalEvent.dataTransfer?t.originalEvent.dataTransfer.getData(\"application/json\"):window[a.data.winprop].data;if(e){e=JSON.parse(e);var n=t.oldIndex+e.index_adjust,l=t.newIndex+a.data.index_adjust;(e=JSON.parse(e.ramlist).map((t=>a.data.funcGetID(t,a.data.type_of_values))))[n],a.data.sortable.option(\"disabled\",!0),l<0&&(l=0),l>a.data.ram_list_value.length&&(l=a.data.ram_list_value.length),a.data.funcMoveItem(a.data.ram_list_value,null,l,e[n],a.data.no_dupe),a.data.ram_list_value,a.data.pubRL(a),window[a.data.winprop].data&&(window[a.data.winprop].state=\"added\"),a.data.sortable.option(\"disabled\",!1),a.triggerEvent(\"added_ram_list_user_drop\"),a.triggerEvent(\"updated_ram_list_user_drop\")}else a.data.drag_abort=!0},i.funcOnSortableRemove=function(a,t){var e=t.originalEvent.dataTransfer?t.originalEvent.dataTransfer.getData(\"application/json\"):window[a.data.winprop];if((!e||e&&\"added\"!=e.state)&&(a.data.drag_abort=!0),t.newIndex,t.oldIndex,a.data.drag_rg,a.data.sortable.o
307ption(\"disabled\",!0),a.data.clone&&t.clone.remove(),t.srcElement.appendChild(t.item),a.data.funcSortRG(a),a.data.clone||a.data.drag_abort)a.data.sortable.option(\"disabled\",!1);else{var n=t.oldIndex+a.data.index_adjust;a.data.ram_list_value,a.data.ram_list_value=a.data.funcRemoveItems(null,a.data.ram_list_value,null,n,1),a.data.ram_list_value,a.data.ram_list_value.map((t=>a.data.funcGetID(t,a.data.type_of_values))),a.data.pubRL(a),a.data.sortable.option(\"disabled\",!1),a.triggerEvent(\"removed_ram_list_user_drop\"),a.triggerEvent(\"updated_ram_list_user_drop\")}},i.initDataIDs=function(a,t){var e,n;(e=t.className.split(\" \").find((a=>a.startsWith(\"entry-\"))))&&(n=+e.replace(\"entry-\",\"\"),t.setAttribute(\"data-id\",n+\"-entry\"),\"empty\"==a.data.hold&&0==a.data.ram_list_value.length&&1==n&&(t.classList.remove(a.data.dragclass),t.classList.add(a.data.filterclass)),\"empty\"==a.data.hold&&a.data.ram_list_value.length>0&&(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)),\"first\"==a.data.hold&&n>1&&(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)),\"first\"==a.data.hold&&n<=1&&(t.classList.remove(a.data.dragclass),t.classList.add(a.data.filterclass)),\"last\"==a.data.hold&&n<=a.data.ram_list_value.length&&(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)),\"last\"==a.data.hold&&n>a.data.ram_list_value.length&&(t.classList.remove(a.data.dragclass),t.classList.add(a.data.filterclass)),a.data.hold||(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)))},i.funcOnstorageEvent=function(a,t){a.data.retrieve_on_storage&&(t.key==a.data.key_name_scalar&&a.data.funcRetrieveKey(a,a.data.key_name_scalar),t.key==a.data.key_name_list&&a.data.funcRetrieveKey(a,a.data.key_name_list)),a.data.funcUpdateFoundKeys(a),t.key==a.data.key_name_scalar&&a.triggerEvent(\"scalar_storage_modified\"),t.key==a.data.key_name_list&&a.triggerEvent(\"list_storage_modified\")},i.funcActionStoreKeys=function(a,t,e){var n,l=[],i=[];n=t.store_list&&t.list_value?a.data.funcGetList(t.list_value):[];var r=t.key_name_scalar??a.data.key_name_scalar,s=t.key_name_list??a.data.key_name_list;scalar_value=t.store_scalar&&t.value?t.value:null,t.store_list&&(l.push(s),i.push(n)),t.store_scalar&&(l.push(r),i.push(scalar_value)),a.data.funcActionStoreKeys_2(a,l,i,t.sync_trigger,e)},i.funcActionStoreKeys_2=async function(a,t,e,n,l){await Promise.all(t.map((async(t,n)=>{await a.data.funcStoreKey(a,t,e[n],!1)}))),n&&a.data.funcSyncTrigger(a,{sync_trigger:n},l)},i.funcActionWriteAnyKey=function(a,t,e){var n,l,i=[],r=[];l=t.key_name_list?null!=t.key_value_list?a.data.funcGetList(t.key_value_list):[]:null,n=t.key_name_scalar?t.key_value_scalar:null,t.key_name_list&&(i.push(t.key_name_list),r.push(l)),t.key_name_scalar&&(i.push(t.key_name_scalar),r.push(n)),a.data.funcActionWriteAnyKey_2(a,i,r,t.sync_trigger,e)},i.funcActionWriteAnyKey_2=async function(a,t,e,n,l){await Promise.all(t.map((async(t,n)=>{await a.data.funcStoreKey(a,t,e[n],!0)}))),n&&a.data.funcSyncTrigger(a,{sync_trigger:n},l)},i.funcActionRemoveKey=async function(a,t,e){var n=t.key_name_scalar??a.data.key_name_scalar,l=t.key_name_list??a.data.key_name_list;return n&&t.remove_scalar&&await a.data.funcRemoveKey(a,n),l&&t.remove_list&&await a.data.funcRemoveKey(a,l,!0),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e),\"removed_key\"},i.funcRemoveKey=async function(a,t,e){a.data.local&&localStorage.removeItem(t),a.data.session&&sessionStorage.removeItem(t),a.data.indexed&&await a.data.db.removeItem(t),e&&t==a.data.key_name_list&&(a.publishState(\"list_values\",[]),a.triggerEvent(\"removed_list_key\")),!e&&t==a.data.key_name_scalar&&(a.publishState(\"scalar_value\",null),a.triggerEvent(\"removed_scalar_key\")),a.data.funcUpdateFoundKeys(a)},i.funcStoreKey=async function(a,t,e,n,l,i){if(!t)return\"no key\";var r=Array.isArray(e);if(r&&0==e.length)return await a.data.funcRemoveKey(a,t,!0),t==a.data.key_name_list&&a.triggerEvent(\"stored_list_key\"),void(n&&a.triggerEvent(\"wrote_arbitrary_list_key\"));if(!r&&null==e)return await a.data.funcRemoveKey(a,t,!1),t==a.data.key_name_scalar&&a.triggerEvent(\"stored_scalar_key\"),void(n&&a.triggerEvent(\"wrote_arbitrary_scalar_key\"));var s=a.data.funcStringifyItem(a,e);a.data.local&&localStorage.setItem(t,s),a.data.session&&sessionStorage.setItem(t,s),a.data.indexed&&await a.data.db.setItem(t,s),r&&t==a.data.key_name_list&&a.publishState(\"list_values\",e.map((t=>a.data.funcGetID(t,a.data.type_of_values)))),!r&&t==a.data.key_name_scalar&&a.publishState(\"scalar_value\",a.data.funcGetID(e)),r&&t==a.data.key_name_list&&a.triggerEvent(\"stored_list_key\"),!r&&t==a.data.key_name_scalar&&a.triggerEvent(\"stored_scalar_key\"),n&&r&&a.triggerEvent(\"wrote_arbitrary_list_key\"),n&&!r&&a.triggerEvent(\"wrote_arbitrary_scalar_key\"),a.data.funcUp
307dateFoundKeys(a),l&&l.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:l.sync_trigger},i)},i.funcStringifyItem=function(a,t,e,n){var l=Array.isArray(t)?t.map((t=>a.data.funcGetID_storage(t))):a.data.funcGetID_storage(t),i=a.data.indexed&&!n?l:JSON.stringify(l);return e&&(a.publishState(\"json_stringified_value\",stringItem),a.triggerEvent(\"stringification_complete\")),i},i.funcParseItem=function(a,t,e){if(a.data.indexed)return t;var n=JSON.parse(t);return e&&(a.publishState(\"json_parsed_value\",n),a.triggerEvent(\"parsing_complete\")),n},i.funcActionRetrieveKey=function(a,t,e){t.key_name_scalar=a.data.key_name_scalar,t.key_name_list=a.data.key_name_list,a.data.funcActionRetrieveKey_2(a,t,e)},i.funcActionRetrieveKey_2=async function(a,t,e){t.key_name_scalar&&await a.data.funcRetrieveKey(a,t.key_name_scalar),t.key_name_list&&await a.data.funcRetrieveKey(a,t.key_name_list),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcRetrieveKey=async function(a,t,e){if(!t)return\"no key\";var n;a.data.local&&(n=localStorage.getItem(t)),a.data.session&&(n=sessionStorage.getItem(t)),a.data.indexed&&(n=await a.data.db.getItem(t));var l=a.data.funcParseItem(a,n);return null!=l&&t==a.data.key_name_list&&(a.data.list_values_storage=l.map((t=>a.data.funcGetID(t,a.data.type_of_values))),a.publishState(\"list_values\",a.data.list_values_storage)),null!=l&&t==a.data.key_name_scalar&&(a.data.scalar_value_storage=a.data.funcGetID(l,a.data.type_of_values),a.publishState(\"scalar_value\",a.data.scalar_value_storage)),null==l&&t==a.data.key_name_list&&a.publishState(\"list_values\",[]),null==l&&t==a.data.key_name_scalar&&a.publishState(\"scalar_value\",null),!e&&t==a.data.key_name_list&&a.triggerEvent(\"retrieved_list_key\"),!e&&t==a.data.key_name_scalar&&a.triggerEvent(\"retrieved_scalar_key\"),\"got_key\"},i.funcActionClear=async function(a){a.data.local&&localStorage.clear(),a.data.session&&sessionStorage.clear(),a.data.indexed&&await a.data.db.clear(),a.data.funcUpdateFoundKeys(a),a.triggerEvent(\"cleared_storage\"),props&&props.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:props.sync_trigger},t)},i.funcGetProps=function(a,t){Object.getOwnPropertyNames(t).forEach((e=>null!=t[e]?a.data[e]=t[e]:null)),a.data.hold=null==t.hold?null:t.hold.split(\" \").slice(-1)[0].toLowerCase(),a.data.hold,a.data.hold&&(a.data.index_adjust=\"first\"==a.data.hold?-1:0,a.publishState(\"index_adjust\",a.data.index_adjust),a.data.placeholder=t.placeholder,a.publishState(\"placeholder\",a.data.funcGetID(a.data.placeholder,a.data.type_of_values)))},i.funcGetList=function(t){if(Array.isArray(t)&&!t.get)return t;var e=[];return t.get?(t.length()<1||(e=t.get(0,t.length())).map((t=>a.data.funcGetID(t))),e):e},i.funcGetID=function(t,e){return e&&(t=a.data.funcReplaceNull(t,e)),t?t.get&&t.listProperties().includes(\"_id\")?t.get(\"_id\"):t.isUID?t.value:t:t},i.funcReplaceNull=function(t,e){if(t&&t.get&&t.listProperties().includes(\"_id\")&&null==t.get(\"_id\")&&(t=null),t&&t.isUID&&null==t.value&&(t=null),\"date_range\"!=e&&\"number_range\"!=e||!Array.isArray(t)||0!=t.length||(t=null),null!=t)return t;var n=null;return(e.startsWith(\"custom\")||\"geographic_address\"==e)&&(n=\"null\"),\"number\"==e&&(n=0),[\"text\",\"file\",\"image\"].includes(e)&&(n=\"\"),\"date\"==e&&(n=a.data.min_js_date),\"boolean\"==e&&(n=!1),n},i.funcGetID_storage=function(a){var t=a&&a.get&&a.listProperties().includes(\"_id\"),e=a&&t?a.get(\"_id\"):a;return t?{value:e,isUID:t}:e},i.funcUpdateFoundKeys=async function(a){a.data.findkeys&&(a.data.local&&(a.data.keys_found_in_localstorage=Object.keys(localStorage)),a.data.session&&(a.data.keys_found_in_localstorage=Object.keys(sessionStorage)),a.data.indexed&&(a.data.keys_found_in_localstorage=await a.data.db.keys()),a.publishState(\"keys_found_in_localstorage\",a.data.keys_found_in_localstorage))},i.funcActionSetRamScalar=async function(a,t,e){a.data.ram_scalar_value=t.value,a.publishState(\"ram_scalar_value\",a.data.funcGetID(a.data.ram_scalar_value)),a.data.funcActionSetRamScalar_2(a,t,e)},i.funcActionSetRamScalar_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_scalar,a.data.ram_scalar_value),a.triggerEvent(\"updated_ram_scalar_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcActionSetRamList=function(a,t,e){a.data.ram_list_value=t.list_value?a.data.funcGetList(t.list_value):[],a.data.pubRL(a,!0),a.data.funcActionSetRamList_2(a,t,e)}
307,i.funcActionSetRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcDedupe=function(t,e){var n=null;return t=[...new Set(t)],e&&(e=e.map((t=>a.data.funcGetID(t))),n=t.filter((t=>!e.includes(a.data.funcGetID(t))))),n||t},i.funcActionAddRamList=function(a,t,e){var n=t.list_value?a.data.funcGetList(t.list_value):null,l=n||null==t.scalar_value?null:t.scalar_value;if(n||null==l||(n=[l]),t.empty_value&&(n=new Array(t.num_empty?t.num_empty:1).fill(null)),t.dedupe&&(n=a.data.funcDedupe(n,a.data.ram_list_value)),n&&!(n.length<1)){if(\"End of List\"==t.add_at&&(a.data.ram_list_value=a.data.ram_list_value.concat(n)),\"Start of List\"==t.add_at&&(a.data.ram_list_value=n.concat(a.data.ram_list_value)),\"Index Number\"==t.add_at){var i=null!=t.index?t.index-1:0;i=a.data.funcIndexInBounds(i,a.data.ram_list_value)?i:a.data.ram_list_value.length,a.data.ram_list_value.splice(i,0,...n)}a.data.pubRL(a,!0),a.data.funcActionAddRamList_2(a,t,e)}},i.funcActionAddRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcActionRemoveRamList=function(a,t,e){if(a.data.ram_list_value&&!(a.data.ram_list_value.length<1)){var n=t.values_to_remove?a.data.funcGetList(t.values_to_remove):null,l=n||null==t.value_to_remove?null:t.value_to_remove,i=n||null!=l||null==t.indices?null:a.data.funcGetList(t.indices);i=i?i.map((a=>a-1)).filter((t=>a.data.funcIndexInBounds(t,a.data.ram_list_value))):null;var r=n||null!=l||i||null==t.index?null:t.index-1;r=null!=r&&a.data.funcIndexInBounds(r,a.data.ram_list_value)?r:null,(n||null!=l||i||null!=r)&&(n&&(a.data.ram_list_value=a.data.funcRemoveItems(n,a.data.ram_list_value,t.remove_option)),null!==l&&(a.data.ram_list_value=a.data.funcRemoveItems([l],a.data.ram_list_value,t.remove_option)),i&&(a.data.ram_list_value=a.data.funcRemoveItems(null,a.data.ram_list_value,null,i)),null!=r&&(a.data.ram_list_value=a.data.funcRemoveItems(null,a.data.ram_list_value,null,r,t.num_items)),a.data.pubRL(a,!0),a.data.funcActionRemoveRamList_2(a,t,e))}},i.funcActionRemoveRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcRemoveItems=function(t,e,n,l,i){if(!(e=[...e])||e.length<1)return e;if(t&&null==l){if(t=[...t].map((t=>a.data.funcGetID(t))),\"Remove all instances\"==n&&(e=e.filter((e=>!t.includes(a.data.funcGetID(e))))),\"Remove first instance\"==n){var r=e.map((t=>a.data.funcGetID(t)));t.forEach((a=>{var t=r.indexOf(a);t>-1&&e.splice(t,1),r.splice(t,1)}))}\"Remove last instance\"==n&&(r=e.map((t=>a.data.funcGetID(t))),t.forEach((a=>{var t=r.lastIndexOf(a);t>-1&&e.splice(t,1),r.splice(t,1)})))}return null!=l&&(Array.isArray(l)||e.splice(l,i||1),Array.isArray(l)&&(l.sort(),l.forEach(((a,t)=>e.splice(a-t,1))))),e},i.funcActionChangeRamList=function(a,t,e){if(a.data.ram_list_value&&!(a.data.ram_list_value.length<1)){var n=null,l=t.values_to_change?a.data.funcGetList(t.values_to_change):null,i=l||null==t.value_to_change?null:t.value_to_change,r=l||i||null==t.indices?null:a.data.funcGetList(t.indices);r=r?r.map((a=>a-1)).filter((t=>a.data.funcIndexInBounds(t,a.data.ram_list_value))):null;var s=l||i||r||null==t.index?null:t.index-1;s=null!=s&&a.data.funcIndexInBounds(s,a.data.ram_list_value)?s:null;var d=t.values?a.data.funcGetList(t.values):null;d||null==t.value||(d=[t.value],n=\"Single value\"),!d&&t.empty_value&&(d=[null],n=\"Single value\"),d&&(l||null!=i||r||null!=s)&&(l&&(a.data.ram_list_value=a.data.funcChangeItems(d,l,a.data.ram_list_value,t.change_option,null,
307n)),null!=i&&(a.data.ram_list_value=a.data.funcChangeItems(d,[i],a.data.ram_list_value,t.change_option,null,n)),r&&(a.data.ram_list_value=a.data.funcChangeItems(d,null,a.data.ram_list_value,n,r)),null!=s&&(a.data.ram_list_value=a.data.funcChangeItems(d,null,a.data.ram_list_value,null,s)),a.data.pubRL(a,!0),a.data.funcActionChangeRamList_2(a,t,e))}},i.funcActionChangeRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcChangeItems=function(t,e,n,l,i,r){if(!(t&&t.length<1)&&(n=[...n])&&!(n.length<1)){if(e&&null==i){var s;null!=(s=e.length==t.length||r?null:Math.min(e.length,t.length))&&(e=e.slice(0,s),t=t.slice(0,s)),e=e.map((t=>a.data.funcGetID(t)));var d=[...n].map((t=>a.data.funcGetID(t)));\"Change all instances\"==l&&e.forEach(((a,e)=>d.forEach(((l,i)=>a==l&&n.splice(i,1,r?t[0]:t[e]))))),\"Change first instance\"==l&&e.forEach(((a,e)=>{var l=d.indexOf(a);l>-1&&n.splice(l,1,r?t[0]:t[e])})),\"Change last instance\"==l&&e.forEach(((a,e)=>{var l=d.lastIndexOf(a);l>-1&&n.splice(l,1,r?t[0]:t[e])}))}return null!=i&&(Array.isArray(i)||n.splice(i,1,t[0]),Array.isArray(i)&&(null!=(s=i.length!=t.length&&\"Single value\"!=l?Math.min(i.length,t.length):null)&&(t=t.
307slice(0,s),i=i.slice(0,s)),i.forEach(((e,i)=>a.data.funcIndexInBounds(e,n)&&n.splice(e,1,\"Single value\"==l?t[0]:t[i]))))),n}},i.funcActionClearRAM=function(a,t,e,n){var l,i;e&&(a.data.ram_list_value=[],l=a.data.key_name_list,i=a.data.ram_list_value),e||(a.data.ram_scalar_value=null,l=a.data.key_name_scalar,i=a.data.ram_scalar_value),e&&a.data.pubRL(a,!0),!e&&a.publishState(\"ram_scalar_value\",a.data.ram_scalar_value),a.data.funcActionClearRAM_2(a,t,e,l,i,n)},i.funcActionClearRAM_2=async function(a,t,e,n,l,i){t.store&&await a.data.funcStoreKey(a,n,l),e&&a.triggerEvent(\"updated_ram_list_value\"),!e&&a.triggerEvent(\"updated_ram_scalar_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},i)},i.funcIndexInBounds=function(a,t){return null!=a&&a>-1&&a<=t.length-1||(a=null),null!=a},i.funcActionRotateRAMList=function(a,t,e){null!=t.rotate_by&&(a.data.funcRotateArray(a.data.ram_list_value,t.rotate_by),a.data.pubRL(a,!0),a.data.funcActionRotateRAMList_2(a,t,e))},i.funcActionRotateRAMList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcRotateArray=function(a,t){var e,n,l=a.length;for(Math.abs(t)>=l&&(t%=l),t<0&&(t+=l);t;t=(Math.ceil(l/t)-1)*t-l+(l=t))for(e=l;e>t;n=a[--e],a[e]=a[e-t],a[e-t]=n);return a},i.funcActionSwapRAMList=function(a,t,e){var n=null!=t.index1?t.index1-1:null,l=null!=t.index2?t.index2-1:null;a.data.funcIndexInBounds(n,a.data.ram_list_value)&&a.data.funcIndexInBounds(l,a.data.ram_list_value)&&a.data.funcSwapItems(a.data.ram_list_value,n,l)&&(a.data.pubRL(a,!0),a.data.funcActionSwapRAMList_2(a,t,e))},i.funcActionSwapRAMList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcSwapItems=function(a,t,e){return a[e]=[a[t],a[t]=a[e]][0],!0},i.funcActionMoveRAMItem=function(a,t,e){var n=null!=t.from?t.from-1:null,l=null!=t.to?t.to-1:null;a.data.funcIndexInBounds(n,a.data.ram_list_value)&&a.data.funcIndexInBounds(l,a.data.ram_list_value)&&a.data.funcMoveItem(a.data.ram_list_value,n,l)&&(a.data.pubRL(a,!0),a.data.funcActionMoveRAMItem_2(a,t,e))},i.funcActionMoveRAMItem_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcMoveItem=function(t,e,n,l,i){if(i){Array.isArray(l)||(l=[l]);var r=a.data.funcDedupe(l,t);if(!r.length)return;l=r[0]}return t.splice(n,0,null!=e?t.splice(e,1)[0]:l),!0},i.funcActionReverseRAMList=function(a,t,e){a.data.funcReverse(a.data.ram_list_value),a.data.pubRL(a,!0),a.data.funcActionReverseRAMList_2(a,t,e)},i.funcActionReverseRAMList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcReverse=function(a){return a.reverse(),a},i.funcActionCountEachField=function(a,t,e){var n=t.field_1||t.field_2||t.field_3||t.custom_count;if(t.list&&n){var l=a.data.funcGetList(t.list);if(l){var i=t.custom_count?a.data.funcGetList(t.custom_count):[];\"Custom Count\"==t.sort_by&&(t.sort_by=\"custom_count\"),null!=t.sort_by_number&&[0,1,2,3,4].includes(t.sort_by_number)&&(t.sort_by=t.sort_by_number<4?t.sort_by_number:\"custom_count\"),0==t.sort_by&&(t.sort_by=null),i&&(i.length>l.length&&(i.length=l.length),i.length<l.length&&(i=l.map(((a,t)=>null!=i[t]?i[t]:0))),i=i.map(((a,t)=>null!=i[t]?i[t]:0)));var r=_(t.field_1),s=_(t.field_2),d=_(t.field_3);if(null!=t.sort_by)var u=l.map(((a,t)=>{var e={};return e.item=a,e.c1=r&&null!=r[t]?r[t]:null,e.c2=s&&null!=s[t]?s[t]:null,e.c3=d&&null!=d[t]?d[t]:null,e.ccustom_count=i&&null!=i[t]?i[t]:0,e}));null!=t.sort_by&&u.sort(((a,e)=>t.descending?e[\"c\"+t.sort_by]-a[\"c\"+t.sort_by]:a[\"c\"+t.sort_by]-e[\"c\"+t.sort_by])),a.publishState(\"field_counts_1\",u?u.map((a=>a.c1)):r),a.publishState(\"field_counts_2\",u?u.map((a=>a.c2)):s),a.publishState(\"field_counts_3\",u?u.map((a=>a.c3)):d),a.publishState(\"count_list_custom\",u?u.map((a=>a.ccustom_count)):i);var o=u?u.map((a=>a.item)):l;o=o.map((t=>a.data.funcGetID(t))),a.publishState(\"count_list_output\",o),a.triggerEvent(\"count_each_field_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)}}function _(a){return a&&l.map((t=>{var e=t.get(a);return null==e?0:e.length&&e.get?e.length():1}))}},i.funcActionArrayMethod=function(a,t,e){t.debug&&null==a.data.method_start_time&&(a.data.method_start_time=Date.now(),console.info(\"Code: Array Method started at \",a.data.method_start_time));var n=t.list?a.data.funcGetList(t.list):a.data.ram_list_value;t.reverse&&n.reverse();var l=Object.getOwnPropertyNames(t).filter((a=>a.includes(\"core\")&&null!=t[a])).sort().map((a=>t[a])),i=Object.getOwnPropertyNames(t).filter((a=>a.includes(\"optarg\")&&a.includes(\"name\")&&null!=t[a])).sort(),r=i.map((a=>t[a])),s=i.map((a=>a.replace(\"name\",\"value\"))),d=s.map((e=>e.includes(\"list\")?t[e]?a.data.funcGetList(t[e]):[]:t[e])),u=null,o=r.concat(l);!t.overwrite&&t.fn_slot&&a.data.method_fn[t.fn_slot]&&(u=a.data.method_fn[t.fn_slot],t.debug&&console.info(\"Code: Retrieved function from slot \",t.fn_slot)),(!t.fn_slot||t.fn_slot&&t.overwrite||t.fn_slot&&!a.data.method_fn[t.fn_slot])&&(u=Function(o,t.code),t.fn_slot&&(
307a.data.method_fn[t.fn_slot]=u,t.debug&&console.info(\"Code: Saved function to slot \",t.fn_slot))),null!=u?(u=u.bind(null,...d),t.debug&&console.info(\"Code: Array Method debugger:\"),t.debug&&console.info(\"Your function is: \",u),t.debug&&console.info(\"You are running the \",t.function_type,\" method on the following list.\"),t.debug&&console.info(\"Your source list is: \",n),t.debug&&console.info(\"Core arguments you can access are named: \",...l),t.debug&&console.info(\"Optional arguments you can access are named: \",...r),t.debug&&console.info(\"Values of your optional arguments are:\"),t.debug&&s.forEach((a=>console.info(\"Argument \",a,\" Value is: \",t[a]))),t.debug&&console.info(\"Array method is: \",t.function_type),\".map()\"==t.function_type&&(a.data.method_output=n.map(u)),\".filter()\"==t.function_type&&(a.data.method_output=n.filter(u)),\".find()\"==t.function_type&&(a.data.method_output=n.find(u)),\".findIndex()\"==t.function_type&&(a.data.method_output=n.findIndex(u)),\".findLast()\"==t.function_type&&(a.data.method_output=n.findLast(u)),\".findLastIndex()\"==t.function_type&&(a.data.method_output=n.findLastIndex(u)),\".flatMap()\"==t.function_type&&(a.data.method_output=n.flatMap(u)),\".forEach()\"==t.function_type&&(a.data.method_output=n.forEach(u)),\".some()\"==t.function_type&&(a.data.method_output=n.some(u)),a.data.method_output=a.data.funcSetList(a.data.method_output),t.debug&&console.info(\"Code: Result is: \",a.data.method_output),t.publish_to_code&&a.publishState(\"method_output\",a.data.method_output),t.publish_to_ram_list&&(a.data.ram_list_value=a.data.method_output,a.data.pubRL(a,!1,!0)),a.publishState(\"method_slot\",t.fn_slot?+t.fn_slot:null),a.triggerEvent(\"code_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e),t.debug&&console.info(\"Code: Execution time \",Date.now()-a.data.method_start_time,\" ms\"),a.data.method_start_time=null):t.debug&&console.info(\"Code: No function defined Code: Array Method exited without running.\")},i.funcGhostStyle=function(a){var t=!!a.data.ghostStyle,e=document.createElement(\"style\");e.innerHTML=a.data.ghost_css?a.data.ghost_css:\".sortable-ghost { opacity: \"+a.data.ghost_opacity+\"; background: \"+a.data.ghost_bg_color+\"; }\",t?document.head.replaceChild(e,a.data.ghostStyle):document.head.appendChild(e),a.data.ghostStyle=e},i.funcActionBeginStep=function(a,t){a.data.stepping?a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Stepping is already active, but the Begin Stepping action was called. Use the End Stepping action to prematurely end Step mode.\"):t.step_list||null!=t.num_items?(t.debug&&(a.data.step_start||(a.data.step_start=Date.now(),console.info(t.debug_name,\"Floppy Step Debug: Creating List to Step\"))),a.data.step_list=[],null==t.num_items&&t.step_list&&(a.data.step_list=a.data.funcGetList(t.step_list)),null!=t.num_items&&(t.num_items=Math.round(t.num_items),t.start=null!=t.start?t.start:1,t.increment=null!=t.increment?t.increment:1,a.data.step_list=a.data.funcMakeNumList(t.num_items,t.start,t.increment)),t.debug&&(console.info(t.debug_name,\"Floppy Step Debug: List to Step Created in \",Date.now()-a.data.step_start,\"ms\"),a.data.step_start=null),!a.data.step_list||a.data.step_list&&a.data.step_list.length<1?a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Step List has zero items or is not defined. Begin Stepping exited immediately.\"):a.data.funcActionBeginStep_2(a,t)):a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: No List to Step or numeric list provided. Begin Stepping exited immediately.\")},i.funcActionBeginStep_2=function(a,t){a.data.step_debug=t.debug,a.data.step_debugname=t.debug_name,a.data.step_item=null,a.data.step_index_0=0,a.data.step_index_1=1,a.data.step_clear=t.step_clear,a.data.step_loop=t.step_loop,a.data.stepping=!0,t.reverse&&a.data.step_list.reverse(),a.data.publishStepInfo(),a.triggerEvent(\"stepping_started\"),a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Stepping Started\"),a.triggerEvent(\"step_trigger\"),a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Step Trigger triggered for item \",a.data.step_index_1)},i.funcActionNextStep=function(a,t){if(a.data.stepping){var e=null;if(!t&&(a.data.step_index_0++,a.data.step_index_1++),t&&(a.data.step_index_0--,a.data.step_index_1--),!a.data.step_loop&&a.data.step_index_1>a.data.step_list.length)return a.data.step_index_0--,a.data.step_index_1--,void a.data.funcActionEndStep(a);!a.data.step_loop&&a.data.step_index_1<1&&(a.data.step_index_0=0,a.data.step_index_1=1,e=!0,a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: The Previous Step action was triggered on the first item. No Step Trigger will be sent.\")),a.data.step_loop&&a.data.step_index_1>a.data.step_list.length&&(a.data.step_index_0=0,a.data.step_index_1=1),a.data.step_loop&&a.data.step_index_1<1&&(a.data.step_index_0=a.data.step_list.length-1,a.data.step_index_1=a.data.step_list.length),!e&&(a.data.publishStepInfo(!0),a.triggerEvent(\"step_trigger\"),a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Step Trigger triggered for item \",a.data.step_index_1))}else console.info(a.data.step_debugname||\"\",\"Floppy Step Debug: The Next/Prev Step action was triggered, but Floppy is not in step mode. Use the Begin Stepping action to start stepping.\")}
307,i.funcActionEndStep=function(a){if(a.data.stepping){var t=a.data.step_clear,e=a.data.stepping,n=a.data.step_debugname;a.data.step_debug=null,a.data.step_debugname=null,a.data.stepping=null,t&&(a.data.step_index_0=null,a.data.step_index_1=null,a.data.step_item=null,a.data.step_list=[]),a.data.step_clear=null,a.data.step_loop=null,a.data.publishStepInfo(),a.triggerEvent(\"stepping_complete\"),e&&console.info(n||\"\",\"Floppy Step Debug: Stepping complete.\")}else console.info(a.data.step_debugname||\"\",\"Floppy Step Debug: The End Stepping action was executed, but Floppy is not in step mode.\")},i.publishStepInfo=function(t){a.publishState(\"step_index_0\",a.data.step_index_0),a.publishState(\"step_index_1\",a.data.step_index_1),a.publishState(\"step_item\",a.data.step_list[a.data.step_index_0]),!t&&a.publishState(\"step_list\",a.data.step_list),!t&&a.publishState(\"stepping\",a.data.stepping)},i.funcActionMakeNumList=function(a,t,e){if(null!=t.num_items){var n=\"list_math_result_\"+t.publish_output[t.publish_output.length-1],l=+t.publish_output[t.publish_output.length-1],i=null;null!=t.num_items&&(t.num_items=Math.round(t.num_items),t.start=null!=t.start?t.start:1,t.increment=null!=t.increment?t.increment:1,i=a.data.funcMakeNumList(t.num_items,t.start,t.increment)),a.data.list_math_result[l-1]=i,a.publishState(n,a.data.list_math_result[l-1]),a.triggerEvent(\"make_numeric_list_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)}},i.funcMakeNumList=function(a,t,e){for(var n=[],l=0;l<a;l++)n.push(t+l*e);return n},i.funcSetList=function(a){return Array.isArray(a)?a:[a]},i.funcActionListMath=function(a,t,e){t.debug&&null==a.data.math_start_time&&(a.data.math_start_time=Date.now(),console.info(\"List Math Started at \",a.data.math_start_time));var n=t.list1?a.data.funcGetList(t.list1):[];fn={},fn[\"+\"]=function(a,t){return l=a+t,isNaN(l)?null:l},fn[\"-\"]=function(a,t){return l=a-t,isNaN(l)?null:l},fn[\"*\"]=function(a,t){return l=a*t,isNaN(l)?null:l},fn[\"/\"]=function(a,t){return l=a/t,isNaN(l)?null:l},fn[\"^\"]=function(a,t){return l=a^t,isNaN(l)?null:l},fn[\"rounded to\"]=function(a,t){return l=Math.round(a*Math.pow(10,t))/Math.pow(10,t),isNaN(l)?null:l},fn.floor=function(a,t){return l=Math.floor(a),isNaN(l)?null:l},fn.ceiling=function(a,t){return l=Math.ceil(a),isNaN(l)?null:l},fn[\"<- max ->\"]=function(a,t){return l=Math.max(a,t),isNaN(l)?null:l},fn[\"<- min ->\"]=function(a,t){return l=Math.min(a,t),isNaN(l)?null:l},fn[\"<- modulo ->\"]=function(a,t){return l=l=a%t,isNaN(l)?null:l},t.debug&&console.info(\"List Math: List 1 is: \",n);var l,i=Object.getOwnPropertyNames(t).filter((a=>a.startsWith(\"op\")&&null!=t[a]&&(t[\"list2_\"+a]||null!=t[\"scalar2_\"+a]))),r=i.map((a=>t[a])),s=i.map((e=>null!=t[\"scalar2_\"+e]?t[\"scalar2_\"+e]:t[\"list2_\"+e]&&a.data.funcGetList(t[\"list2_\"+e])));r.forEach(((a,e)=>{var i=0==e?n:l;t.debug&&console.info(\"List Math Computation \",e+1),t.debug&&console.info(\"Operation is:\",a),t.debug&&console.info(\"Value 2 is: \",s[e]);var r=Array.isArray(s[e]);if(r&&i.length!=s[e].length){var d=Math.min(i.length,s[e].length);i.length=d,s[e].length=d}l=i.map(((t,n)=>r?fn[a](t,s[e][n]):fn[a](t,s[e]))),t.debug&&console.info(\"Result of Computation \",e+1,\": \",l)})),t.debug&&console.info(\"List Math final result is: \",l);var d=\"list_math_result_\"+t.publish_output[t.publish_output.length-1],u=+t.publish_output[t.publish_output.length-1];a.data.list_math_result[u-1]=l,a.publishState(d,a.data.list_math_result[u-1]),a.publishState(\"list_math_output\",u),t.publish_to_ram_list&&\"number\"==a.data.type_of_values&&(a.data.ram_list_value=l,a.data.pubRL(a,!1,!0)),a.triggerEvent(\"list_math_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e),t.debug&&console.info(\"List Math: Execution time \",Date.now()-a.data.math_start_time,\" ms\"),a.data.math_start_time=null},i.funcActionClearListMath=function(a,t,e){a.data.list_math_result=a.data.list_math_result.map((a=>[])),a.data.list_math_result.forEach(((t,e)=>a.publishState(\"list_math_result_\"+(e+1),t))),a.publishState(\"list_math_output\",null),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)}
307,i.pubRL=function(a,t,e){null==a.data.ram_list_value&&(a.data.ram_list_value=[]);var n=e?a.data.ram_list_value:a.data.ram_list_value.map((t=>a.data.funcGetID(t,a.data.type_of_values)));if(a.publishState(\"ram_list_value\",n),a.data.hold){a.data.hold;var l=a.data.funcGetID(a.data.placeholder,a.data.type_of_values);(\"empty\"==a.data.hold&&!n.length||\"last\"==a.data.hold)&&n.push(l),\"first\"==a.data.hold&&n.splice(0,0,l),a.publishState(\"ram_list_value_ph\",n)}a.data.sortable&&a.data.funcDataIDs(a),!t&&a.triggerEvent(\"updated_ram_list_value\")},i.funcSortRG=function(a){var t;a.data.rg_rows,(t=[...a.data.rg_rows.childNodes].map((a=>({index:+a.className.split(\" \").find((a=>a.startsWith(\"entry-\"))).replace(\"entry-\",\"\")-1,item:a})))).sort((function(a,t){return a.index-t.index})),t.forEach((t=>a.data.rg_rows.appendChild(t.item))),a.data.rg_rows},i.funcDataIDs=function(a){a.data.drag_rg,a.data.rg_rows&&a.data.rg_rows.childNodes&&a.data.rg_rows.childNodes.forEach((t=>a.data.initDataIDs(a,t)))}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    // d.style.width = \"100%\"\n    // d.style.height = \"100%\"\n    \n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    // https://s3.amazonaws.com/appforest_uf/f1662158568122x563085493923545500/floppy-icon-loc.svg\n    // https://s3.amazonaws.com/appforest_uf/f1662158599506x202626715398303230/floppy-icon-ses.svg\n    // https://s3.amazonaws.com/appforest_uf/f1647889291544x272152890429900860/floppy.svg\n    \n        if (properties.storage_type == 'sessionStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1662158599506x202626715398303230/floppy-icon-ses.svg')\"\n    if (properties.storage_type == 'localStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1662158568122x563085493923545500/floppy-icon-loc.svg')\"\n    if (properties.storage_type == 'IndexedDB (localForage)') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1665031854081x638437305839775500/floppy%20icon%20IDB.svg')\"\n    \n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    instance.canvas.appendChild(d)\n}"}},"platform_type":"web"},"ANG":{"display":"Floppy Reader","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"ANH":{"caption":"Floppy Reader","editor":"Label","name":"info","rank":0},"ANI":{"caption":"Floppy Reader is a streamlined version of the Floppy element that reads key/value pairs from localStorage, sessionStorage, or IndexedDB (using the localForage library) and publishes them to its outputs immediately. It also has actions for reading, storing and removing keys.","editor":"Label","name":"info_2","rank":1},"ANJ":{"caption":"Storage Type","default_val":"localStorage","editor":"Dropdown","name":"storage_type","rank":2},"ANL":{"caption":"KEYS TO RETRIEVE","editor":"Label","name":"keys_info","rank":5},"ANM":{"caption":"Specify the name and type of each key you want Floppy Reader to retrieve. Each instance of Floppy Reader can read up to 6 scalar and 6 list-type keys.","editor":"Label","name":"keys_info_2","rank":6},"ANQ":{"caption":"Key 1 Name","editor":"DynamicValue","name":"key_1_name","optional":true,"rank":9,"value":"text"},"ANR":{"caption":"Key 1 Type","editor":"custom_type","name":"key_1_type","optional":true,"rank":8},"ANS":{"caption":"Key 2 Type","editor":"custom_type","name":"key_2_type","optional":true,"rank":10},"ANT":{"caption":"Key 2 Name","editor":"DynamicValue","name":"key_2_name","optional":true,"rank":11,"value":"text"},"ANU":{"caption":"Key 3 Type","editor":"custom_type","name":"key_3_type","optional":true,"rank":12},"ANV":{"caption":"Key 3 Name","editor":"DynamicValue","name":"key_3_name","optional":true,"rank":13,"value":"text"},"ANW":{"caption":"Key 4 Name","editor":"DynamicValue","name":"key_4_name","optional":true,"rank":15,"value":"text"},"ANY":{"caption":"Key 4 Type","editor":"custom_type","name":"key_4_type","optional":true,"rank":14},"ANZ":{"caption":"Key 5 Type","editor":"custom_type","name":"key_5_type","optional":true,"rank":16},"ANa":{"caption":"Key 5 Name","editor":"DynamicValue","name":"key_5_name","optional":true,"rank":17,"value":"text"},"ANb":{"caption":"Key 6 Type","editor":"custom_type","name":"key_6_type","optional":true,"rank":18},"ANc":{"caption":"Key 6 Name","editor":"DynamicValue","name":"key_6_name","optional":true,"rank":19,"value":"text"},"ANd":{"caption":"SCALAR KEYS","editor":"Label","name":"scalar_keys","rank":7},"ANe":{"caption":"LIST TYPE KEYS","editor":"Label","name":"list_type_keys_info","rank":20},"ANf":{"caption":"List Key 1 Type","editor":"custom_type","name":"list_key_1_type","optional":true,"rank":21},"ANg":{"caption":"List Key 1 Name","editor":"DynamicValue","name":"list_key_1_name","optional":true,"rank":22,"value":"text"},"ANh":{"caption":"List Key 2 Type","editor":"custom_type","name":"list_key_2_type","optional":true,"rank":23},"ANi":{"caption":"List Key 2 Name","editor":"DynamicValue","name":"list_key_2_name","optional":true,"rank":24,"value":"text"},"ANj":{"caption":"List Key 3 Type","editor":"custom_type","name":"list_key_3_type","optional":true,"rank":25},"ANk":{"caption":"List Key 3 Name","editor":"DynamicValue","name":"list_key_3_name","optional":true,"rank":26,"value":"text"},"ANl":{"caption":"List Key 4 Type","editor":"custom_type","name":"list_key_4_type","optional":true,"rank":27},"ANm":{"caption":"List Key 4 Name","editor":"DynamicValue","name":"list_key_4_name","optional":true,"rank":28,"value":"text"},"ANn":{"caption":"List Key 5","editor":"custom_type","name":"list_key_5_type","optional":true,"rank":29},"ANo":{"caption":"List Key 5 Name","editor":"DynamicValue","name":"list_key_5_name","optional":true,"rank":30,"value":"text"},"ANp":{"caption":"List Key 6 Type","editor":"custom_type","name":"list_key_6_type","optional":true,"rank":31},"ANq":{"caption":"List Key 6 Name","editor":"DynamicValue","name":"list_key_6_name","optional":true,"rank":32,"value":"text"}
307,"AOU":{"caption":"Automatically Retrieve Keys when Updated in Another Window","editor":"Label","name":"auto_read_info","rank":3},"AOV":{"caption":"Retrieve Keys when Updated","default_val":true,"editor":"DynamicValue","name":"retrieve_on_storage","rank":4,"value":"boolean"},"APB":{"caption":"EDITOR OPTIONS","editor":"Label","name":"editor_info","rank":33},"APC":{"caption":"Editor Icon Color","default_val":"Classic Blue","editor":"Dropdown","name":"icolor","rank":34},"AQJ":{"caption":"ADVANCED: IndexedDB/localForage Options","editor":"Label","name":"lf_info","rank":35},"AQK":{"caption":"Database Name","editor":"DynamicValue","name":"lf_name","optional":true,"rank":36,"value":"text"},"AQL":{"caption":"Datastore Name","editor":"DynamicValue","name":"lf_store","optional":true,"rank":37,"value":"text"},"AQM":{"caption":"Retrieve Found Keys","default_val":true,"editor":"DynamicValue","name":"findkeys","optional":true,"rank":38,"value":"boolean"}},"states":{"ANK":{"caption":"Initialized","initialization_code":{"fn":"function(properties,context){}"},"name":"initialized","value":"boolean"},"ANO":{"caption":"Key 1 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_1_name","value":"text"},"ANP":{"caption":"Key 1 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_1_value","value":"custom_data_ANR"},"ANs":{"caption":"Key 2 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_2_name","value":"text"},"ANt":{"caption":"Key 2 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_2_value","value":"custom_data_ANS"},"ANu":{"caption":"Key 3 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_3_name","value":"text"},"ANv":{"caption":"Key 3 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_3_value","value":"custom_data_ANU"},"ANx":{"caption":"Key 4 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_4_name","value":"text"},"ANy":{"caption":"Key 4 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_4_value","value":"custom_data_ANY"},"ANz":{"caption":"Key 5 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_5_name","value":"text"},"AOA":{"caption":"Key 5 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_5_value","value":"custom_data_ANZ"},"AOB":{"caption":"Key 6 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_6_name","value":"text"},"AOC":{"caption":"Key 6 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_6_value","value":"custom_data_ANb"},"AOD":{"caption":"List Key 1 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_1_name","value":"text"},"AOE":{"caption":"List Key 1 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_1_value","value":"custom_data_ANf"},"AOF":{"caption":"List Key 2 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_2_name","value":"text"},"AOG":{"caption":"List Key 2 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_2_value","value":"custom_data_ANh"},"AOH":{"caption":"List Key 3 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_3_name","value":"text"},"AOI":{"caption":"List Key 3 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_3_value","value":"custom_data_ANj"},"AOJ":{"caption":"List Key 4 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_4_name","value":"text"},"AOK":{"caption":"List Key 4 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_4_value","value":"custom_data_ANl"},"AOL":{"caption":"List Key 5 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_5_name","value":"text"},"AOM":{"caption":"List Key 5 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_5_value","value":"custom_data_ANn"},"AON":{"caption":"List Key 6 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_6_name","value":"text"},"AOO":{"caption":"List Key 6 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_6_value","value":"custom_data_ANn"},"AOR":{"caption":"Modified Key Name (in Other Window)","initialization_code":{"fn":"function(properties,context){}"},"name":"modified_key_name","value":"text"},"AOS":{"caption":"Utility: JavaScript Minimum Date","initialization_code":{"fn":"function(properties,context){}"},"name":"min_js_date","value":"date"},"AOT":{"caption":"Keys Found in Storage","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"keys_found_in_localstorage","value":"text"},"AOX":{"caption":"Modified Key Name","initialization_code":{"fn":"function(properties,context){}"},"name":"modified_key","value":"text"},"AOd":{"caption":"Key Names in Use List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"key_names_in_use_list","value":"text"},"APU":{"caption":"Removed Key Names","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"removed_key_names","value":"text"}
307,"AQN":{"caption":"InDB: Database Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_db_name","value":"text"},"AQO":{"caption":"InDB: Datastore Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_ds_name","value":"text"}},"events":{"AOP":{"caption":"Initialized","name":"initialized"},"AOQ":{"caption":"Key Modified (in Other Window)","name":"key_modified"},"APA":{"caption":"Retrieve All Keys Complete","name":"retrieve_all_keys_complete"},"APT":{"caption":"Keys Removed","name":"keys_removed"},"APY":{"caption":"Keys Stored","name":"keys_stored"}},"actions":{"AOv":{"caption":"Retrieve All Keys","fields":{"AOw":{"caption":"Execute this action to manually refresh the values of all of the keys that Floppy Storage Reader is reading.","editor":"Label","name":"rk_info","rank":0},"AOy":{"caption":"Each key is read and the current values for each key are published to Floppy Storage Reader's List Key Value outputs. This action is synchronous and, when it completes, the Retrieved All Keys event is triggered.","editor":"Label","name":"rk_info2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcReadAllKeys(instance,!0):console.log(\"Floppy Storage Reader is not initialized. Remove Keys will not run.\")}"}},"APD":{"caption":"Remove Keys","fields":{"APE":{"caption":"Execute this action to remove some or all of the keys that Floppy Storage Reader is reading.","editor":"Label","name":"remove_info","rank":0},"APF":{"caption":"SELECT KEYS TO REMOVE","editor":"Label","name":"select_info","rank":1},"APG":{"caption":"All Keys","editor":"DynamicValue","name":"all_keys","optional":true,"rank":2,"value":"boolean"},"APH":{"caption":"Key 1","editor":"DynamicValue","is_list":false,"name":"key_1_name","optional":true,"rank":3,"value":"boolean"},"API":{"caption":"Key 2","editor":"DynamicValue","name":"key_2_name","optional":true,"rank":4,"value":"boolean"},"APJ":{"caption":"Key 3","editor":"DynamicValue","name":"key_3_name","optional":true,"rank":5,"value":"boolean"},"APK":{"caption":"Key 4","editor":"DynamicValue","name":"key_4_name","optional":true,"rank":6,"value":"boolean"},"APL":{"caption":"Key 5","editor":"DynamicValue","name":"key_5_name","optional":true,"rank":7,"value":"boolean"},"APM":{"caption":"Key 6","editor":"DynamicValue","name":"key_6_name","optional":true,"rank":8,"value":"boolean"},"APN":{"caption":"List Key 1","editor":"DynamicValue","name":"list_key_1_name","optional":true,"rank":9,"value":"boolean"},"APO":{"caption":"List Key 2","editor":"DynamicValue","name":"list_key_2_name","optional":true,"rank":10,"value":"boolean"},"APP":{"caption":"List Key 3","editor":"DynamicValue","name":"list_key_3_name","optional":true,"rank":11,"value":"boolean"},"APQ":{"caption":"List Key 4","editor":"DynamicValue","name":"list_key_4_name","optional":true,"rank":12,"value":"boolean"},"APR":{"caption":"List Key  5","editor":"DynamicValue","name":"list_key_5_name","optional":true,"rank":13,"value":"boolean"},"APS":{"caption":"List Key 6","editor":"DynamicValue","name":"list_key_6_name","optional":true,"rank":14,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRemoveKeys(instance,properties):console.log(\"Floppy Storage Reader is not initialized. Retrieve All Keys will not run.\")}"}},"APV":{"caption":"Store Keys","fields":{"APW":{"caption":"Execute this action to write new values to one or more keys being managed by Floppy Storage Reader.","editor":"Label","name":"storeinfo","rank":0},"APX":{"caption":"Each key specified below is written and the current values for each key are published to Floppy Storage Reader's List Key Value outputs. This action is synchronous and, when it completes, the Keys Stored event is triggered.","editor":"Label","name":"storeinfo2","rank":1},"APZ":{"caption":"SELECT KEYS TO STORE: For each key you would like to store, set \"Store Key n\" to yes and provide a new value in the \"Key n\" field below it. If that field is left empty (or evaluates to empty), the key in question will be removed (just like in Floppy).","editor":"Label","name":"select_info","rank":2},"APa":{"caption":"Value for Key 1","editor":"DynamicValue","name":"key_1_value","o
307ptional":true,"rank":4,"value":"custom_data_element_ANR"},"APb":{"caption":"Value for Key 2","editor":"DynamicValue","name":"key_2_value","optional":true,"rank":6,"value":"custom_data_element_ANS"},"APc":{"caption":"Value for Key 3","editor":"DynamicValue","name":"key_3_value","optional":true,"rank":8,"value":"custom_data_element_ANU"},"APe":{"caption":"Value for Key 4","editor":"DynamicValue","name":"key_4_value","optional":true,"rank":10,"value":"custom_data_element_ANY"},"APg":{"caption":"Value for Key 5","editor":"DynamicValue","name":"key_5_value","optional":true,"rank":12,"value":"custom_data_element_ANZ"},"APh":{"caption":"Key 6","editor":"DynamicValue","name":"key_6_value","optional":true,"rank":14,"value":"custom_data_element_ANb"},"APi":{"caption":"Value for List Key 1","editor":"DynamicValue","is_list":true,"name":"list_key_1_value","optional":true,"rank":16,"value":"custom_data_element_ANf"},"APj":{"caption":"Value for List Key 2","editor":"DynamicValue","is_list":true,"name":"list_key_2_value","optional":true,"rank":18,"value":"custom_data_element_ANh"},"APk":{"caption":"Value for List Key 3","editor":"DynamicValue","is_list":true,"name":"list_key_3_value","optional":true,"rank":20,"value":"custom_data_element_ANj"},"APl":{"caption":"Value for List Key 4","editor":"DynamicValue","is_list":true,"name":"list_key_4_value","optional":true,"rank":22,"value":"custom_data_element_ANl"},"APm":{"caption":"Value for List Key 5","editor":"DynamicValue","is_list":true,"name":"list_key_5_value","optional":true,"rank":24,"value":"custom_data_element_ANn"},"APn":{"caption":"Value for List Key 6","editor":"DynamicValue","is_list":true,"name":"list_key_6_value","optional":true,"rank":26,"value":"custom_data_element_ANp"},"APo":{"caption":"Store Key 1?","editor":"DynamicValue","name":"store_key_1","optional":true,"rank":3,"value":"boolean"},"APp":{"caption":"Store Key 2?","editor":"DynamicValue","name":"store_key_2","optional":true,"rank":5,"value":"boolean"},"APq":{"caption":"Store Key 3?","editor":"DynamicValue","name":"store_key_3","optional":true,"rank":7,"value":"boolean"},"APr":{"caption":"Store Key 4?","editor":"DynamicValue","name":"store_key_4","optional":true,"rank":9,"value":"boolean"},"APs":{"caption":"Store Key 5?","editor":"DynamicValue","name":"store_key_5","optional":true,"rank":11,"value":"boolean"},"APt":{"caption":"Store Key 6?","editor":"DynamicValue","name":"store_key_6","optional":true,"rank":13,"value":"boolean"},"APu":{"caption":"Store List Key 1?","editor":"DynamicValue","name":"store_list_key_1","optional":true,"rank":15,"value":"boolean"},"APv":{"caption":"Store List Key 2?","editor":"DynamicValue","name":"store_list_key_2","optional":true,"rank":17,"value":"boolean"},"APw":{"caption":"Store List Key 3?","editor":"DynamicValue","name":"store_list_key_3","optional":true,"rank":19,"value":"boolean"},"APx":{"caption":"Store List Key 4?","editor":"DynamicValue","name":"store_list_key_4","optional":true,"rank":21,"value":"boolean"},"APy":{"caption":"Store List Key 5?","editor":"DynamicValue","name":"store_list_key_5","optional":true,"rank":23,"value":"boolean"},"APz":{"caption":"Store List Key 6?","editor":"DynamicValue","name":"store_list_key_6","optional":true,"rank":25,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionStoreKeys(instance,properties):console.log(\"Floppy Storage Reader is not initialized. Store Keys will not run.\")}"}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,e){a.data.session=null,a.data.min_js_date=new Date(-864e13),a.publishState(\"min_js_date\",a.data.min_js_date),a.data.keyProps=null,a.data.keyNames=null,a.data.keyTypes=null,a.data.keys=[],a.data.funcUpdate=function(a,e){a.data.funcGetProps(a,e),a.data.local=\"localStorage\"==a.data.storage_type||null,a.data.session=\"sessionStorage\"==a.data.storage_type||null,a.data.indexed=\"IndexedDB (localForage)\"==a.data.storage_type||null,a.data.indexed&&(a.data.lf_name=e.lf_name||\"localforage\",a.data.ls_store=e.lf_store||\"keyvaluepairs\",a.data.db=localforage.createInstance({name:a.data.lf_name,storeName:a.data.lf_store}),a.publishState(\"indb_db_name\",a.data.lf_name),a.publishState(\"indb_ds_name\",a.data.lf_store)),a.data.funcUp
307dateFoundKeys(a),a.data.session||(window.onstorage=function(e){a.data.funcOnstorageEvent(a,e)}),a.data.funcReadAllKeys(a),a.data.initialized=!0,a.publishState(\"initialized\",a.data.initialized),a.triggerEvent(\"initialized\")},a.data.funcReadAllKeys=async function(a,e){await Promise.all(a.data.keys.map((async e=>{e.value=await a.data.funcRetrieveKey(a,e),a.data.funcPublishKey(a,e)}))),e&&a.triggerEvent(\"retrieve_all_keys_complete\")},a.data.funcGetProps=function(a,e){Object.getOwnPropertyNames(e).forEach((t=>null!=e[t]?a.data[t]=e[t]:null)),a.data.session=\"sessionStorage\"==a.data.storage_type||null,a.data.keyProps=Object.getOwnPropertyNames(e).filter((a=>(a.startsWith(\"key_\")||a.startsWith(\"list_key_\"))&&a.includes(\"name\")&&null!=e[a])),a.data.keyProps.forEach((t=>{if(null!=e[t]&&null!=e[t.replace(\"name\",\"type\")]){var n={};n.name=e[t],n.type=e[t.replace(\"name\",\"type\")],n.isList=t.includes(\"list\"),n.value=null,n.nameout=t,n.valueout=t.replace(\"name\",\"value\"),a.data.keys.push(n)}})),a.data.key_names_in_use_list=a.data.keyProps.map(((e,t)=>e.replaceAll(\"_\",\" \").split(\" \").map((a=>a.replace(a[0],a[0].toUpperCase()))).join(\" \").concat(\": \"+a.data.keys[t].name))),a.publishState(\"key_names_in_use_list\",a.data.key_names_in_use_list)},a.data.funcOnstorageEvent=function(a,e){if(a.data.retrieve_on_storage){var t=a.data.keys.find((a=>a.name==e.key));t&&(t.value=a.data.funcRetrieveKey(a,t),a.data.funcPublishKey(a,t),a.data.publishState(\"modified_key\",t.name),a.triggerEvent(\"key_modified\"))}},a.data.funcRetrieveKey=async function(a,e,t){return e?(a.data.local&&(n=localStorage.getItem(e.name)),a.data.session&&(n=sessionStorage.getItem(e.name)),a.data.indexed&&(n=await a.data.db.getItem(e.name)),a.data.funcParseItem(a,n)):null;var n},a.data.funcParseItem=function(a,e){return a.data.indexed?e:JSON.parse(e);var t},a.data.funcPublishKey=function(a,e){a.publishState(e.nameout,e.name),null!=e.value&&e.isList&&a.publishState(e.valueout,e.value.map((t=>a.data.funcGetID(t,e.type)))),null!=e.value&&!e.isList&&a.publishState(e.valueout,a.data.funcGetID(e.value,e.type)),null==e.value&&a.publishState(e.valueout,e.value)},a.data.funcActionRemoveKeys=async function(a,e){var t=e.all_keys?\"all\":Object.getOwnPropertyNames(e).filter((a=>a.includes(\"_name\")&&e[a])).map((a=>a)),n=e.all_keys?a.data.keys:a.data.keys.filter((a=>t.includes(a.nameout))),s=[];await Promise.all(n.map((async e=>{await a.data.funcRemoveKey(a,e),e.value=null,await a.data.funcPublishKey(a,e),s.push(e.name)}))),a.data.funcUpdateFoundKeys(a),a.publishState(\"removed_key_names\",s),a.triggerEvent(\"keys_removed\")},a.data.funcActionStoreKeys=function(a,e){var t=Object.getOwnPropertyNames(e).filter((a=>a.includes(\"store_list_key_\")&&e[a])).map((a=>a.replace(\"store_\",\"\").concat(\"_value\"))),n=a.data.keys.filter((a=>t.includes(a.valueout))),s=n.map((a=>a.valueout)).map((t=>null!=e[t]?a.data.funcGetList(e[t]):[]));a.data.funcActionStoreKeys_2(a,e,n,s)},a.data.funcActionStoreKeys_2=async function(a,e,t,n){await Promise.all(t.map((async(e,t)=>{await a.data.funcStoreKey(a,e,n[t])})));var s=Object.getOwnPropertyNames(e).filter((a=>a.includes(\"store_key_\")&&e[a])).map((a=>a.replace(\"store_\",\"\").concat(\"_value\"))),l=a.data.keys.filter((a=>s.includes(a.valueout))),i=l.map((a=>a.valueout)).map((a=>e[a]));await Promise.all(l.map((async(e,t)=>{await a.data.funcStoreKey(a,e,i[t])}))),a.data.funcUpdateFoundKeys(a),a.triggerEvent(\"keys_stored\")},a.data.funcStoreKey=async function(a,e,t){if(!e)return\"no key object\";var n=e.name,s=e.valueout,l=e.type,i=a.data.funcStringifyItem(a,t);a.data.local&&localStorage.setItem(n,i),a.data.session&&sessionStorage.setItem(n,i),a.data.indexed&&await a.data.db.setItem(n,i),Array.isArray(t)&&(0!=t.length?a.publishState(s,t.map((e=>a.data.funcGetID(e,l)))):a.data.funcRemoveKey(a,e)),!Array.isArray(t)&&(null!=t?a.publishState(s,a.data.funcGetID(t)):a.data.funcRemoveKey(a,e)),a.data.funcUpdateFoundKeys(a)},a.data.funcStringifyItem=function(a,e,t){var n=Array.isArray(e)?e.map((e=>a.data.funcGetID_storage(e))):a.data.funcGetID_storage(e);return a.data.indexed?n:JSON.stringify(n)},a.data.funcRemoveKey=async function(a,e){a.data.local&&localStorage.removeItem(e.name),a.data.session&&sessionStorage.removeItem(e.name),a.data.indexed&&await a.data.db.removeItem(e.name)}
307,a.data.funcGetID=function(e,t){return t&&(e=a.data.funcReplaceNull(e,t)),e?e.hasOwnProperty(\"get\")&&e.listProperties().includes(\"_id\")?e.get(\"_id\"):e.hasOwnProperty(\"isUID\")?e.value:e:e},a.data.funcReplaceNull=function(e,t){if(e&&e.hasOwnProperty(\"get\")&&e.listProperties().includes(\"_id\")&&null==e.get(\"_id\")&&(e=null),e&&e.hasOwnProperty(\"isUID\")&&null==e.value&&(e=null),\"date_range\"!=t&&\"number_range\"!=t||!Array.isArray(e)||0!=e.length||(e=null),null!=e)return e;var n=null;return(t.startsWith(\"custom\")||\"geographic_address\"==t)&&(n=\"null\"),\"number\"==t&&(n=0),[\"text\",\"file\",\"image\"].includes(t)&&(n=\"\"),\"date\"==t&&(n=a.data.min_js_date),\"boolean\"==t&&(n=!1),n},a.data.funcGetID_storage=function(a){var e=a&&a.hasOwnProperty(\"get\")&&a.listProperties().includes(\"_id\"),t=a&&e?a.get(\"_id\"):a;return e?{value:t,isUID:e}:t},a.data.funcUpdateFoundKeys=async function(a){a.data.findkeys&&(a.data.local&&(a.data.keys_found_in_localstorage=Object.keys(localStorage)),a.data.session&&(a.data.keys_found_in_localstorage=Object.keys(sessionStorage)),a.data.indexed&&(a.data.keys_found_in_localstorage=await a.data.db.keys()),a.publishState(\"keys_found_in_localstorage\",a.data.keys_found_in_localstorage))},a.data.funcGetList=function(e){if(Array.isArray(e)&&!e.hasOwnProperty(\"get\"))return e;var t=[];return e.hasOwnProperty(\"get\")?(e.length()<1||(t=e.get(0,e.length())).map((e=>a.data.funcGetID(e))),t):t}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    // d.style.width = \"100%\"\n    // d.style.height = \"100%\"\n    \n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    if (properties.storage_type == 'sessionStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1663444557982x348865745872361400/floppy%20icon%20SRD.svg')\"\n    if (properties.storage_type == 'localStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1663444492253x237226724718594400/floppy%20icon%20LRD.svg')\"\n    if (properties.storage_type == 'IndexedDB (localForage)') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1665031888870x925500359320405000/floppy%20icon%20IRD.svg')\"\n    \n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    //hue-rotate(9deg) brightness(100%) saturate(100%) opacity(60%) // .style.filter = \"none| blur() |brightness() |contrast() | drop-shadow() |grayscale() |hue-rotate() |invert() |opacity() | saturate() | sepia()\"\n    // d.style.filter.opacity = \"0.5\"\n    //var x = document.createElement(\"IMG\")\n    //x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1556665308497x775945993446766500/noun_Gear%20Stick_239618_51A7F9.svg\")\n    //var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n    //x.style.width = 1.0 * smaller + \"px\"\n    //x.style.verticalAlign = \"middle\"\n    //x.setAttribute(\"fill\", \"#004225\")\n    //d.appendChild(x)\n    instance.canvas.appendChild(d)\n}"}},"platform_type":"web"},"ATO":{"display":"Floppy Expression Watcher","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"ATP":{"caption":"Floppy Expression Watcher is a utility element that can be used to watch a list or scalar expression for changes. Anytime the value of the watched expression(s) changes, Floppy Expression Watcher triggers its \"Initialized/Updated\" event. You can optionally publish the values that result from the expressions (allowing Expression Watcher to function like an auto-updating custom state).","name":"few_info","rank":0,"editor":"Label"},"ATQ":{"caption":"Expression Type","name":"expression_type","rank":1,"editor":"custom_type"},"ATR":{"caption":"List Expression","name":"list_expression","rank":2,"editor":"DynamicValue","value":"custom_data_ATQ","is_list":true,"optional":true},"ATS":{"caption":"Scalar Expression","name":"scalar_expression","rank":4,"editor":"DynamicValue","value":"custom_data_ATQ","optional":true},"ATT":{"caption":"Publish List Values","name":"publish_list_values","rank":3,"editor":"DynamicValue","optional":true,"value":"boolean"},"ATU":{"caption":"Publish Scalar Value","name":"publish_scalar_value","rank":5,"editor":"DynamicValue","value":"boolean","optional":true},"ATa":{"caption":"EDITOR OPTIONS","name":"editor_sep","rank":6,"editor":"Label"},"ATb":{"caption":"Editor Icon Color","name":"icolor","rank":7,"editor":"Dropdown","default_val":"Classic Blue","o
307ptional":true},"AXA":{"caption":"LONG TEXT SCALAR OPTION","name":"lt_sep","rank":8,"editor":"Label"},"AXB":{"caption":"LT Scalar Expression","name":"lt_scalar_expression","rank":9,"editor":"DynamicValue","value":"text","optional":true}},"states":{"ATW":{"caption":"List Expression Values","name":"list_expression_values","value":"custom_data_ATQ","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ATX":{"caption":"Scalar Expression Value","name":"scalar_expression_value","value":"custom_data_ATQ","initialization_code":{"fn":"function(properties,context){}"},"is_list":false},"ATZ":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ATY":{"caption":"Initialized/Updated","name":"initialized_updated"}},"code":{"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    // d.style.width = \"100%\"\n    // d.style.height = \"100%\"\n    \n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1665688616503x384566429252111600/floppy-expression-watcher.svg')\"\n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    //hue-rotate(9deg) brightness(100%) saturate(100%) opacity(60%) // .style.filter = \"none| blur() |brightness() |contrast() | drop-shadow() |grayscale() |hue-rotate() |invert() |opacity() | saturate() | sepia()\"\n    // d.style.filter.opacity = \"0.5\"\n    //var x = document.createElement(\"IMG\")\n    //x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1556665308497x775945993446766500/noun_Gear%20Stick_239618_51A7F9.svg\")\n    //var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n    //x.style.width = 1.0 * smaller + \"px\"\n    //x.style.verticalAlign = \"middle\"\n    //x.setAttribute(\"fill\", \"#004225\")\n    //d.appendChild(x)\n    instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,context){a.data.list=[],a.data.scalar=null,a.data.funcUpdate=function(a,t){a.data.funcGetProps(a,t),a.data.publish_list_values&&(a.data.list=a.data.funcGetList(a.data.list_expression)),a.data.publish_scalar_value&&(a.data.scalar=\"text\"==a.data.expression_type&&null!=a.data.lt_scalar_expression?a.data.lt_scalar_expression:a.data.scalar_expression),a.data.publish_list_values&&a.publishState(\"list_expression_values\",a.data.list.map((t=>a.data.funcGetID(t)))),a.data.publish_scalar_value&&a.publishState(\"scalar_expression_value\",a.data.funcGetID(a.data.scalar)),a.data.initialized=!0,a.publishState(\"initialized\",a.data.initialized),a.triggerEvent(\"initialized_updated\")},a.data.funcGetProps=function(a,t){Object.getOwnPropertyNames(t).forEach((e=>null!=t[e]?a.data[e]=t[e]:null))},a.data.funcGetID=function(a,t){return a?a.hasOwnProperty(\"get\")&&a.listProperties().includes(\"_id\")?a.get(\"_id\"):a.hasOwnProperty(\"isUID\")?a.value:a:a},a.data.funcGetList=function(t){if(t&&Array.isArray(t)&&!t.hasOwnProperty(\"get\"))return t;var e=[];return t&&t.hasOwnProperty(\"get\")?(t.length()<1||(e=t.get(0,t.length())).map((t=>a.data.funcGetID(t))),e):e}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUp
307date(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AWt":{"display":"Floppy Hacker","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AWi":{"caption":"Floppy Hacker exposes various interesting Bubble properties to its various outputs (exposed states).","name":"fh_info","rank":0,"editor":"Label"},"AWp":{"caption":"Editor Icon Color","name":"icolor","rank":1,"editor":"Dropdown","default_val":"Classic Blue","optional":true}},"states":{"AWs":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AWu":{"caption":"Bubble Session UID","name":"session_uid","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AWv":{"caption":"Utility: Made UUID","name":"made_uuid","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AWh":{"caption":"Initialized/Updated","name":"initialized_updated"},"AWw":{"caption":"Made UUID","name":"made_uuid"}},"actions":{"AWx":{"caption":"Utility: Make Bubble UUID","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcMakeUUID(instance,properties):console.log(\"Floppy Hacker is not initialized. Make UUID will not run.\")}"},"fields":{"AWy":{"caption":"Utility: Make Bubble UUID","name":"info","rank":0,"editor":"Label"},"AWz":{"caption":"Execute this action to make a Bubble UUID and publish it to Floppy Hacker's \"Utility: Made UUID\" output.","name":"info2","rank":1,"editor":"Label"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    // d.style.width = \"100%\"\n    // d.style.height = \"100%\"\n    \n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1670107058350x530695493083811460/floppy-hacker.svg')\"\n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function no_scrubs(instance,context){instance.data.session_uid=window.bubble_session_uid,instance.publishState(\"session_uid\",instance.data.session_uid),instance.data.funcUpdate=function update(instance,props){instance.data.initialized=!0,instance.publishState(\"initialized\",instance.data.initialized),instance.triggerEvent(\"initialized_updated\")},instance.data.funcMakeUUID=function makeUUID(instance,props){instance.data.madeUUID=window.u&&window.u.UUID(),instance.data.madeUUID&&(instance.publishState(\"made_uuid\",instance.data.madeUUID),instance.triggerEvent(\"made_uuid\"))}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUp
307date(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AZM":{"display":"Z: REANIMATOR","property_applications":{"Background":true,"BoxShadow":false,"Font":false,"resizable":true},"add_is_visible":true,"fields":{"AZE":{"caption":"REANIMATOR INFO","editor":"Label","name":"reanimator_info","rank":0},"AZF":{"caption":"Reanimator lets you animate CSS properties and much more.","editor":"Label","name":"reanimator_info_2","rank":1},"AZG":{"caption":"EDITOR OPTIONS","editor":"Label","name":"editor_sep","optional":false,"rank":2,"value":"text"},"AZH":{"caption":"Editor Icon Color","name":"icolor","rank":3,"editor":"Dropdown","default_val":"Classic Blue","optional":true}},"states":{"AZI":{"caption":"Group Hover","initialization_code":{"fn":"function(properties,context){}"},"name":"group_hover","value":"boolean"},"AZJ":{"caption":"Animation Properties","initialization_code":{"fn":"function(properties,context){}"},"name":"animation_properties","value":"text"},"AZK":{"caption":"Hovered Element Class","name":"hovered_element_class","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AZL":{"caption":"Hovered Element ID","name":"hovered_element_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AZC":{"caption":"Animation Complete","name":"animation_complete"},"AZD":{"caption":"Group Hover","name":"group_hover"}},"actions":{"AXG":{"caption":"Animate","fields":{"AXH":{"caption":"Target(s)","editor":"Dropdown","name":"targets","rank":1,"optional":true},"AXI":{"caption":"TRANSFORMS","editor":"Label","name":"transforms","rank":4},"AXJ":{"caption":"translateX","editor":"DynamicValue","name":"translateX","optional":true,"rank":5,"value":"number"},"AXK":{"caption":"translateY","editor":"DynamicValue","name":"translateY","optional":true,"rank":6,"value":"number"},"AXL":{"caption":"translateZ","editor":"DynamicValue","name":"translateZ","optional":true,"rank":7,"value":"number"},"AXM":{"caption":"rotate","editor":"DynamicValue","name":"rotate","optional":true,"rank":8,"value":"number"},"AXN":{"caption":"rotateX","editor":"DynamicValue","name":"rotateX","optional":true,"rank":9,"value":"number"},"AXO":{"caption":"rotateY","editor":"DynamicValue","name":"rotateY","optional":true,"rank":10,"value":"number"},"AXP":{"caption":"rotateZ","editor":"DynamicValue","name":"rotateZ","optional":true,"rank":11,"value":"number"},"AXQ":{"caption":"scale","editor":"DynamicValue","name":"scale","optional":true,"rank":12,"value":"number"},"AXR":{"caption":"scaleX","editor":"DynamicValue","name":"scaleX","optional":true,"rank":13,"value":"number"},"AXS":{"caption":"scaleY","editor":"DynamicValue","name":"scaleY","optional":true,"rank":14,"value":"number"},"AXT":{"caption":"scaleZ","editor":"DynamicValue","name":"scaleZ","optional":true,"rank":15,"value":"number"},"AXU":{"caption":"skew","editor":"DynamicValue","name":"skew","optional":true,"rank":16,"value":"number"},"AXV":{"caption":"skewX","editor":"DynamicValue","name":"skewX","optional":true,"rank":17,"value":"number"},"AXW":{"caption":"skewY","editor":"DynamicValue","name":"skewY","optional":true,"rank":18,"value":"number"},"AXX":{"caption":"perspective","editor":"DynamicValue","name":"perspective","optional":true,"rank":19,"value":"number"},"AXY":{"caption":"Target Via CSS Selector(s)","editor":"DynamicValue","name":"target_css_select","optional":true,"rank":2,"value":"text"},"AXZ":{"caption":"Easing Function","editor":"Dropdown","name":"easing","optional":true,"rank":21},"AXa":{"caption":"Direction","editor":"Dropdown","name":"direction","optional":true,"rank":22},"AXb":{"caption":"ANIMATION PARAMETERS","editor":"Label","name":"animation_parameters","rank":20},"AXc":{"caption":"Loop <i>n</i> Times","editor":"DynamicValue","name":"loop","optional":true,"rank":23,"value":"number"},"AXd":{"caption":"Autoplay","editor":"DynamicValue","name":"autoplay","optional":true,"rank":24,"value":"boolean"},"AXe":{"caption":"Duration","editor":"DynamicValue","name":"duration","optional":true,"rank":25,"value":"number"},"AXf":{"caption":"Delay","editor":"DynamicValue","name":"delay","optional":true,"rank":26,"value":"number"},"AXg":{"caption":"End Delay","editor":"DynamicValue","name":"endDelay","optional":true,"rank":27,"value":"number"},"AXh":{"caption":"Stagger Value","editor":"DynamicValue","name":"stagger_value_1","optional":true,"rank":29,"value":"number"},"AXi":{"caption":"STAGGER OPTIONS","editor":"Label","name":"stagger_options","rank":28},"AXj":{"caption":"opacity","editor":"DynamicValue","name":"opacity","optional":true,"rank":3,"value":"number"},"AXk":{"caption":"ELASTIC EASING","name":"elastic_easing","rank":30,"editor":"Label"},"AXl":{"caption":"Elastic Amplitude","name":"elastic_amplitude","rank":31,"editor":"DynamicValue","value":"number","optional":true},"AXm":{"caption":"Elastic Period","name":"elastic_period","rank":32,"editor":"DynamicValue","value":"number","optional":true},"AXn":{"caption":"Elastic In/Out","name":"elastic_in_out","rank":33,"optional":true,"editor":"Dropdown","default_val":"easeInOutElastic"},"AXo":{"caption":"SPRING EASING","name":"spring_easing","rank":34,"editor":"Label"},"AXp":{"caption":"Mass","name":"mass","rank":36,"editor":"DynamicValue","value":"number","optional":true,"default_val":1},"AXq":{"caption":"Use Spring Easing","name":"use_spring","rank":35,"editor":"DynamicValue","value":"boolean","optional":true},"AXr":{"caption":"Stiffness","name":"stiffness","rank":37,"editor":"DynamicValue","value":"number","default_val":100,"optional":true},"AXs":{"caption":"Damping","name":"damping","rank":38,"editor":"DynamicValue","value":"number","optional":true,"default_val":10},"AXt":{"caption":"Velocity","name":"velocity","rank":39,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"AXu":{"caption":"LINE DRAWING","name":"line_drawing","rank":40,"editor":"Label"},"AXv":{"caption":"Draw SVG Paths","name":"draw_svg_paths","rank":41,"editor":"DynamicValue","value":"boolean","optional":true},"AXw":{"caption":"Path to Morph","name":"path_morph","rank":42,"editor":"DynamicValue","value":"text","optional":true},"AXx":{"caption":"Morph Target","name":"morph_target","rank":43,"editor":"DynamicValue","value":"text","optional":true},"AXy":{"caption":"ANIMATE: Configures and triggers a REANIMATOR animation.","name":"info","rank":0,"editor":"Label"}},"code":{"fn":"function(instance,properties,context){instance.data.funcAnimate(instance,properties,context)}"}},"AXz":{"caption":"Animate2 (Uses Ranges)","fields":{"AYA":{"caption":"Target(s)","editor":"Dropdown","name":"targets","rank":1,"optional":true},"AYB":{"caption":"TRANSFORMS","editor":"Label","name":"transforms","rank":4},"AYC":{"caption":"translateX","editor":"DynamicValue","name":"translateX","optional":true,"rank":5,"value":"number_range"},"AYD":{"caption":"translateY","editor":"DynamicValue","name":"translateY","optional":true,"rank":6,"value":"number_range"},"AYE":{"caption":"translateZ","editor":"DynamicValue","name":"translateZ","optional":true,"rank":7,"value":"number_range"},"AYF":{"caption":"rotate","editor":"DynamicValue","name":"rotate","optional":true,"rank":8,"value":"number_range"},"AYG":{"caption":"rotateX","editor":"DynamicValue","name":"rotateX","optional":true,"rank":9,"value":"number_range"},"AYH":{"caption":"rotateY","editor":"DynamicValue","name":"rotateY","optional":true,"rank":10,"value":"number_range"},"AYI":{"caption":"rotateZ","editor":"DynamicValue","name":"rotateZ","optional":true,"rank":11,"value":"number_range"},"AYJ":{"caption":"scale","editor":"DynamicValue","name":"scale","optional":true,"rank":12,"value":"number_range"},"AYK":{"caption":"scaleX","editor":"DynamicValue","name":"scaleX","optional":true,"rank":13,"value":"number_range"},"AYL":{"caption":"scaleY","editor":"DynamicValue","name":"scaleY","optional":true,"rank":14,"value":"number_range"},"AYM":{"caption":"scaleZ","editor":"DynamicValue","name":"scaleZ","optional":true,"rank":15,"value":"number_range"},"AYN":{"caption":"skew","editor":"DynamicValue","name":"skew","optional":true,"rank":16,"value":"number_range"},"AYO":{"caption":"skewX","editor":"DynamicValue","name":"skewX","optional":true,"rank":17,"value":"number_range"},"AYP":{"caption":"skewY","editor":"DynamicValue","name":"skewY","optional":true,"rank":18,"value":"number_range"},"AYQ":{"caption":"perspective","editor":"DynamicValue","name":"perspective","optional":true,"rank":19,"value":"number_range"},"AYR":{"caption":"Target Via CSS Selector(s)","editor":"DynamicValue","name":"target_css_select","optional":true,"rank":2,"value":"text"},"AYS":{"caption":"Easing Function","editor":"Dropdown","name":"easing","optional":true,"rank":21},"AYT":{"caption":"Direction","editor":"Dropdown","name":"direction","optional":true,"rank":22},"AYU":{"caption":"ANIMATION PARAMETERS","editor":"Label","name":"animation_parameters","rank":20},"AYV":{"caption":"Loop <i>n</i> Times","editor":"DynamicValue","name":"loop","optional":true,"rank":23,"value":"number"},"AYW":{"caption":"Autoplay","editor":"DynamicValue","name":"autoplay","optional":true,"rank":24,"value":"boolean"},"AYX":{"caption":"Duration","editor":"DynamicValue","name":"duration","optional":true,"rank":25,"value":"number"},"AYY":{"caption":"Delay","editor":"DynamicValue","name":"delay","optional":true,"rank":26,"value":"number"},"AYZ":{"caption":"End Delay","editor":"DynamicValue","name":"endDelay","optional":true,"rank":27,"value":"number"},"AYa":{"caption":"Stagger Value","editor":"DynamicValue","name":"stagger_value_1","optional":true,"rank":29,"value":"number"},"AYb":{"caption":"STAGGER OPTIONS","editor":"Label","name":"stagger_options","rank":28},"AYc":{"caption":"opacity","editor":"DynamicValue","name":"opacity","optional":true,"rank":3,"value":"number_range"},"AYd":{"caption":"ANIMATE2 ACTION: This action is at present experimental and doesn't really work. The input fields in this action all take numeric ranges and these can't be constructed 
307in the Expression Builder, so this action is somewhat borked right now unless you're really into setting Custom States.","name":"info","rank":0,"editor":"Label"}},"code":{"fn":"function(instance,properties,context){instance.data.funcAnimate(instance,properties,context)}"}},"AYe":{"caption":"Draw SVG Path","fields":{"AYf":{"caption":"Text Keys","editor":"key_value_list","name":"text_key","rank":0,"value":"text"},"AYg":{"caption":"Numeric Keys","editor":"key_value_list","name":"numeric_keys","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){instance.data.funcDrawSVGPath(instance,properties,context)}"}},"AYh":{"caption":"Set Stagger","code":{"fn":"function(instance,properties,context){instance.data.funcSetStagger(instance,properties,context)}"},"fields":{"AYi":{"caption":"Value","name":"value","rank":3,"editor":"DynamicValue","value":"number","optional":true},"AYj":{"caption":"Range Start","name":"value_start","rank":4,"editor":"DynamicValue","value":"number","optional":true},"AYk":{"caption":"Range End","name":"value_end","rank":5,"editor":"DynamicValue","value":"number","optional":true},"AYl":{"caption":"STAGGER VALUE","name":"stagger_value","rank":2,"editor":"Label"},"AYm":{"caption":"STAGGER INFO","name":"stagger_info","rank":0,"editor":"Label"},"AYn":{"caption":"Execute this action to create stagger settings for a Reanimator animation.","name":"stagger_info_2","rank":1,"editor":"Label"},"AYo":{"caption":"STAGGER OPTIONS","name":"stagger_options","rank":7,"editor":"Label"},"AYp":{"caption":"Start Value","name":"start","rank":8,"editor":"DynamicValue","value":"number","optional":true},"AYq":{"caption":"Units","name":"units","rank":6,"editor":"Dropdown","optional":true},"AYr":{"caption":"Stagger from...","name":"from","rank":9,"editor":"Dropdown","default_val":"first","optional":true},"AYs":{"caption":"Stagger from index","name":"from_index","rank":10,"editor":"DynamicValue","value":"number","optional":true},"AYt":{"caption":"Direction","name":"direction","rank":11,"editor":"Dropdown","default_val":"normal","optional":true},"AYu":{"caption":"Easing","name":"easing","rank":12,"editor":"Dropdown","optional":true},"AYv":{"caption":"Grid Columns","name":"grid_columns","rank":13,"editor":"DynamicValue","value":"number","optional":true},"AYw":{"caption":"Grid Rows","name":"grid_rows","rank":14,"editor":"DynamicValue","value":"number","optional":true},"AYx":{"caption":"Grid Axis","name":"grid_axis","rank":15,"editor":"Dropdown","optional":true},"AYy":{"caption":"APPLY STAGGER TO...","name":"apply_stagger_to...","rank":16,"editor":"Label"},"AYz":{"caption":"Transform","name":"transform","rank":17,"editor":"Dropdown","optional":true},"AZA":{"caption":"CSS Property","name":"css_property","rank":18,"editor":"Dropdown","optional":true},"AZB":{"caption":"Save Stagger as","name":"save_stagger","rank":19,"editor":"Dropdown","optional":true}}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,t){a.data.props_backup=null,a.data.animation={},a.data.animations=[],a.data.nanoid=nanoid(),a.data.className=\"Reanimator-\"+a.data.nanoid,a.data.hoveredClass=\"hovered-\"+a.data.nanoid,a.data.staggers=[],a.data.funcUpdate=function(a,t,e){t?a.data.props_backup=t:t=a.data.props_backup},a.data.funCGetGroup=function(a,t,e){a.canvas.closest(\".Group\"),a.data.group=a.canvas.closest(\".Group\")},a.data.funcGetTargets=function(t,e){var n=[];switch(a.data.target_group||(a.data.target_group=a.canvas.closest(\".Group\"),a.data.target_group||(a.data.target_group=a.canvas.closest(\".Page\")),a.data.target_children=a.data.target_group.querySelectorAll(\".bubble-element\"),a.data.target_all=[...a.data.target_children],a.data.target_all.unshift(a.data.target_group)),a.canvas.closest(\".Group\"),t){case\"\":n=[];break;case\"Parent group\":n=a.data.target_group;break;case\"Parent group & all children\":n=a.data.target_all;break;case\"Children of group\":n=a.data.target_children}return e&&e.trim().split(/\\s+/).forEach((a=>n.push(a))),n},a.data.funcSetProperties=function(t,e,n){var r={};return t&&(r=Object.keys(t).filter((a=>null!=t[a]&&!e.includes(a))).reduce(((a,e)=>({...a,[e]:t[e]})),{})),n||(r.complete=function(t){a.data.funcAnimComplete(t)}),r},a.data.funcSetStagger=function(a,t,e){null==t.value_start&&null==t.value_end||(t.value=[t.value_start?t.value_start:0,t.value_end?t.value_end:0]),null!=t.from_index&&(t.from=t.from_index),null==t.grid_columns&&null==t.grid_rows||(t.grid=[t.grid_columns?t.grid_columns:1,t.grid_rows?t.grid_rows:1]);var n=a.data.funcSetProperties(t,[\"value\",\"value_start\",\"value_end\",\"units\",\"from_index\",\"transform\",\"css_property\",\"save_stagger\"],!0);t.value;var r={applyTo:t.transform,value:t.value,options:n};a.data.staggers.push(r);var i={applyTo:\"delay\",value:t.value,options:n};a.data.staggers.push(i)},a.data.funcSetElastic=function(a){return null!=a.elastic_amplitude||null!=a.elastic_period?(null==a.elastic_amplitude&&(a.elastic_amplitude=1),null==a.elastic_period&&(a.elastic_period=.5),a.elastic_amplitude=a.elastic_amplitude<=1?1:a.elastic_amplitude>=10?10:a.elastic_amplitude,a.elastic_period=a.elastic_period<=.1?.1:a.elastic_period>=2?2:a.elastic_period,a.elastic_in_out||(a.elastic_in_out=\"easeInOutElastic\"),a.elastic_in_out+\"(\"+a.elastic_amplitude+\", \"+a.elastic_period+\")\"):null},a.data.funcSetSpring=function(a){return a.use_spring?(a.mass=null!==a.mass?a.mass<=0?0:a.mass>=100?100:a.mass:1,a.stiffness=null!==a.stiffness?a.stiffness<=0?0:a.stiffness>=100?100:a.stiffness:100,a.damping=null!==a.damping?a.damping<=0?0:a.damping>=100?100:a.damping:10,a.velocity=null!==a.velocity?a.velocity<=0?0:a.velocity>=100?100:a.velocity:10,\"spring(\"+a.mass+\",\"+a.stiffness+\",\"+a.damping
307+\",\"+a.velocity+\")\"):null},a.data.funcAnimate=function(a,t,e){var n;n=a.data.funcGetTargets(t.targets,t.target_css_select);var r,i=a.data.funcSetProperties(t,[\"targets\",\"target_css_select\",\"stagger_value_1\",\"elastic_amplitude\",\"elastic_period\",\"elastic_in_out\",\"draw_svg_paths\",\"path_morph\",\"morph_target\",\"use_spring\",\"mass\",\"stiffness\",\"damping\",\"velocity\"]);i.targets=n,t.use_spring||null===t.elastic_amplitude&&null===t.elastic_period||(i.easing=a.data.funcSetElastic(t)),t.use_spring&&(i.easing=a.data.funcSetSpring(t)),a.data.staggers.forEach((a=>i[a.applyTo]=anime.stagger(a.value,a.options))),t.draw_svg_paths&&(i.strokeDashoffset=[anime.setDashoffset,0]),t.path_morph&&(i.d=[{value:t.path_morph},{value:t.morph_target}]),anime.running,r=anime.running.map((a=>a.animatables)),anime.animatables,r&&r.map((a=>a[0].target.id)),anime.running[0],anime.running[0]&&anime.running[0].animatables.map((a=>a.target.id)),anime.running.filter((t=>a.data.animations.includes(t))).forEach((t=>{a.data.animations=a.data.animations.filter((a=>a!=t)),t.reset(),a.data.animations.length})),a.data.animations.push(anime(i)),a.data.animations},a.data.funcAnimComplete=function(t){a.data.animations=a.data.animations.filter((a=>a!=t)),a.data.animations,a.triggerEvent(\"animation_complete\")},a.data.funcAnimate2=function(a,t,e){a.data.group=a.canvas.closest(\".Group\"),a.data.group;var n=[...a.data.group.children];n.unshift(a.data.group),a.data.my_animation?(a.data.my_animation.direction=\"normal\"==a.data.my_animation.direction?\"reverse\":\"normal\",a.data.my_animation.restart()):a.data.my_animation=anime({targets:n,translateX:150,rotateX:360,scale:1.66,rotate:\"2turn\",delay:anime.stagger(250),direction:\"normal\",easing:\"spring(1.44, 22, 44, 2)\",complete:function(t){a.triggerEvent(\"animation_complete\")}})},a.data.funcAnimate3=function(a,t,e){a.data.group=a.canvas.closest(\".Group\"),a.data.group;var n=[...a.data.group.children];n.unshift(a.data.group),a.data.my_animation?(a.data.my_animation.scale=anime.random(.5,2),a.data.my_animation.restart()):a.data.my_animation=anime({targets:n,translateX:200,rotateZ:anime.stagger([-100,100]),rotateX:anime.random(-20,20),scale:anime.random(.5,1.5),rotate:\"3turn\",delay:anime.stagger(666,{from:\"center\"}),loop:!0,direction:\"alternate\",easing:\"easeInOutQuart\",duration:600,easing:\"spring(3, 9, 55, 7)\",complete:function(t){a.triggerEvent(\"animation_complete\")}})},a.data.funcDrawSVGPath=function(a,t,e){},a.data.funcAnimate4=function(a,t,e){var n;a.data.group=a.canvas.closest(\".Group\"),a.data.group,[...a.data.group.children].unshift(a.data.group),a.data.my_animation?(a.data.my_animation.scale=anime.random(.5,2),a.data.my_animation.restart()):a.data.my_animation=anime({targets:\"#SHIT\",translateX:200,rotateZ:anime.stagger([-100,100]),rotateX:anime.random(-20,20),scale:1.1,rotate:\"2turn\",delay:anime.stagger(111,{from:\"center\"}),loop:!0,direction:\"alternate\",easing:\"easeInOutQuart\",duration:600,easing:\"spring(1, 9, 33, 2.2)\",complete:function(t){a.triggerEvent(\"animation_complete\")}})},a.data.funcGetList=function(a,t,e){var n=[];return a.length()<1||(n=a.get(0,a.length()),a.length(),n[0],t&&e&&n.sort((function(a,e){return a.get(t)[0]-e.get(t)[0]})),!t&&e&&n.sort((function(a,t){return a[0]-t[0]})),n[0].hasOwnProperty(\"listProperties\")&&!t&&(n=n.map((a=>a.get(\"_id\")))),n[0].hasOwnProperty(\"listProperties\")&&t&&(n=n.map((a=>a.get(t))))),n},a.data.funcSetHovers=function(a){a.data.target_group=a.canvas.closest(\".Group\"),a.data.target_group||(a.data.target_group=a.canvas.closest(\".Page\")),a.data.target_children=a.data.target_group.querySelectorAll(\".bubble-element\"),a.data.target_all=[...a.data.target_children],a.data.target_all.unshift(a.data.target_group),a.data.nanoid,a.data.target_group,a.data.target_children,a.data.target_group&&(\"\"==a.data.target_group.id&&(a.data.target_group.id=\"Parent-Group-\"+a.data.className),a.data.nanoid,a.data.target_group,a.data.target_group.id,a.data.target_group.addEventListener(\"mouseenter\",(function(){a.publishState(\"hovered_element_class\",this.className),a.publishState(\"hovered_element_id\",this.id),a.publishState(\"group_hover\",!0),a.triggerEvent(\"group_hover\")})),a.data.target_group.addEventListener(\"mouseleave\",(function(){a.publishState(\"hovered_element_class\",null),a.publishState(\"hovered_element_id\",null),a.publishState(\"group_hover\",null)}
307))),a.data.target_children&&a.data.target_children.forEach(((t,e)=>{\"\"==t.id&&(t.id=\"Child-\"+e+\"-\"+a.data.className,a.data.nanoid,t.id),t.addEventListener(\"mouseenter\",(function(){a.publishState(\"hovered_element_class\",this.className),a.publishState(\"hovered_element_id\",this.id),a.publishState(\"group_hover\",!0),a.triggerEvent(\"group_hover\")})),t.addEventListener(\"mouseleave\",(function(){a.publishState(\"hovered_element_class\",null),a.publishState(\"hovered_element_id\",null),a.publishState(\"group_hover\",null)}))}))},a.data.funcListener=function(t){\"complete\"===t.target.readyState&&a.data.funcSetHovers(a)}},instance.data.noscrubs(instance,context),\"complete\"===document.readyState?instance.data.funcSetHovers(instance):document.addEventListener(\"readystatechange\",instance.data.funcListener)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1581907574667x764217219540616100/reanimator.svg')\"    \n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    instance.canvas.appendChild(d)\n}"}},"platform_type":"web"},"AcB":{"display":"Z: Inline SVG","property_applications":{"Background":true,"Border":true,"BoxShadow":true,"Font":true,"MinWidth":true,"Padding":true,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AbY":{"caption":"SVG Code","editor":"DynamicValue","name":"svg_code","optional":true,"rank":0,"value":"text"},"AbZ":{"caption":"GRID OPTIONS","name":"grid_options","rank":1,"editor":"Label"},"Aba":{"caption":"Columns","name":"columns","rank":2,"editor":"DynamicValue","value":"number","optional":true},"Abb":{"caption":"Rows","name":"rows","rank":3,"editor":"DynamicValue","value":"number","optional":true},"Abc":{"caption":"STYLING OPTIONS","name":"styling_options","rank":4,"editor":"Label"}
307,"Abd":{"caption":"Stroke Color","name":"stroke","rank":5,"editor":"Color","optional":true,"in_style":true},"Abe":{"caption":"Stroke Width","name":"strokeWidth","rank":6,"editor":"DynamicValue","optional":true,"value":"number"},"Abf":{"caption":"Fill Color","name":"fill","rank":7,"editor":"Color","optional":true,"in_style":true},"Abg":{"caption":"Overflow","name":"overflow","rank":8,"editor":"Dropdown","optional":true,"default_val":"visible"},"Abh":{"caption":"ROUGH OPTIONS","name":"rough_options","rank":9,"editor":"Label"},"Abi":{"caption":"roughness","name":"roughness","rank":11,"editor":"DynamicValue","value":"number","optional":true},"Abj":{"caption":"Use Rough Style","name":"use_rough","rank":10,"editor":"DynamicValue","value":"boolean","optional":true},"Abk":{"caption":"bowing","name":"bowing","rank":12,"editor":"DynamicValue","optional":true,"value":"number"},"Abl":{"caption":"seed","name":"seed","rank":13,"editor":"DynamicValue","value":"number","optional":true},"Abm":{"caption":"fillWeight","name":"fillWeight","rank":14,"editor":"DynamicValue","value":"number","optional":true},"Abn":{"caption":"hachureAngle","name":"hachureAngle","rank":15,"editor":"DynamicValue","value":"number","optional":true},"Abo":{"caption":"hachureGap","name":"hachureGap","rank":16,"editor":"DynamicValue","value":"number","optional":true},"Abp":{"caption":"curveStepCount","name":"curveStepCount","rank":17,"editor":"DynamicValue","optional":true,"value":"number"},"Abq":{"caption":"curveFitting","name":"curveFitting","rank":18,"editor":"DynamicValue","value":"number","optional":true},"Abr":{"caption":"simplification","name":"simplification","rank":19,"editor":"DynamicValue","value":"number","optional":true},"Abs":{"caption":"dashOffset","name":"dashOffset","rank":20,"editor":"DynamicValue","value":"number","optional":true},"Abt":{"caption":"dashGap","name":"dashGap","rank":21,"editor":"DynamicValue","value":"number","optional":true},"Abu":{"caption":"zigzagOffset","name":"zigzagOffset","rank":22,"editor":"DynamicValue","optional":true},"Abv":{"caption":"fillStyle","name":"fillStyle","rank":23,"editor":"Dropdown","value":"text","optional":true},"Abw":{"caption":"Make unique if in grid","name":"grid_unique","rank":24,"editor":"DynamicValue","value":"boolean","optional":true}},"states":{"Abx":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"Aby":{"caption":"Grid Columns","name":"grid_columns","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Abz":{"caption":"Grid Rows","name":"grid_rows","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AcA":{"caption":"Paths","name":"paths","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,t){a.data.nanoid=nanoid(),a.data.props_backup=null,a.data.flexdiv=null,a.data.grid=null,a.data.rows=null,a.data.columns=null,a.data.initialized=null,a.data.rough=null,a.data.rsvg=null,a.data.roughoptions=null,a.data.grid_unique=null,a.data.funcSetProperties=function(a,t){var e={};return a&&(e=Object.keys(a).filter((e=>null!=a[e]&&!t.includes(e))).reduce(((t,e)=>({...t,[e]:a[e]})),{})),e},a.data.funcGetRough=function(t){var e;return a.data.rsvg.path(t,a.data.roughoptions)},a.data.funcMakeRough=function(a,t){var e,d,s=[];return e=t?a.data.svg.cloneNode(!0):a.data.svg,s=t?[...e.getElementsByTagName(\"path\")]:[...a.data.paths],d=t?s.map((a=>a.getAttribute(\"d\"))):a.data.ds,s.forEach(((t,e)=>{t.replaceWith(a.data.funcGetRough(d[e]))})),a.data.paths=e.getElementsByTagName(\"path\"),a.data.paths,a.data.ds=[...a.data.paths].map((a=>a.getAttribute(\"d\"))),a.data.ds,t?e:null},a.data.funcUpdate=function(a,t,e){var d,s,l;if(a.data.svg_code=t.svg_code?t.svg_code:null,a.data.rough=t.use_rough,a.data.grid_unique=t.grid_unique,a.data.svg_code,a.data.svg_code){const e=new DOMParser;if(a.data.svg=e.parseFromString(a.data.svg_code,\"image/svg+xml\").querySelector(\"svg\"),a.data.svg,a.data.paths=a.data.svg.getElementsByTagName(\"path\"),a.data.paths,a.data.ds=[...a.data.paths].map((a=>a.getAttribute(\"d\"))),a.data.ds,a.data.rough&&(a.data.roughoptions=a.data.funcSetProperties(t,[\"svg_code\",\"columns\",\"rows\",\"overflow\",\"use_rough\",\"bubble\"]),a.data.roughoptions,a.data.rsvg=rough.svg(a.data.svg),a.data.rsvg),a.data.rough&&a.data.ds.length&&!a.data.grid&&a.data.funcMakeRough(a),a.publishState(\"paths\",a.data.ds),a.data.svg.setAttribute(\"width\",\"auto\"),a.data.svg.setAttribute(\"height\",\"100%\"),a.data.svg.setAttribute(\"maxWidth\",\"100%\"),a.data.svg.setAttribute(\"overflow\",t.overflow?t.overflow:\"visible\"),a.canvas.style.overflow=t.overflow?t.overflow:\"visible\",a.canvas.parentElement.style.overflow=t.overflow?t.overflow:\"visible\",a.canvas.parentElement,a.canvas,a.canvas.style.overflow,t.stroke&&a.data.svg.setAttribute(\"stroke\",t.stroke),t.strokeWidth&&a.data.svg.setAttribute(\"stroke-width\",t.strokeWidth),t.fill&&a.data.svg.setAttribute(\"fill\",t.fill),t.rows||t.columns||a.data.flexdiv||(a.data.flexdiv=document.createElement(\"div\"),a.data.flexdiv.style.display=\"flex\",a.data.flexdiv.style.width=t.bubble.width-0+\"px\",a.data.flexdiv.style.height=t.bubble.height-0+\"px\",a.data.flexdiv.style.overflow=t.overflow?t.overflow:\"visible\",a.data.flexdiv.style.alignItems=\"center\",a.data.flexdiv.style.justifyContent=\"center\",a.data.flexdiv.style.margin=\"0 auto\",a.data.container=a.data.flexdiv),t.rows||t.columns){a.data.rows=t.rows?t.rows:1,a.data.columns=t.columns?t.columns:1;var r=document.createElement(\"div\");r.style.display=\"grid\",r.style.gridTemplateColumns=\"repeat(\"+a.data.columns+\", 1fr)\",r.style.gridTemplateRows=\"repeat(\"+a.data.rows+\", 1fr)\",r.style.gridGap=\"1px\",r.style.height=\"100%\",r.style.width=\"100%\",a.data.grid=r,a.data.container=a.data.grid,a.publishState(\"grid_columns\",a.data.columns),a.publishState(\"grid_rows\",a.data.rows)}if(!a.data.initialized&&(a.canvas.appendChild(a.data.container),a.data.flexdiv&&a.data.container.appendChild(a.data.svg),a.data.grid))for(i=0;i<a.data.columns*a.data.rows;i++)d=Math.floor(i/a.data.columns+1%a.data.columns),s=i%a.data.columns+1,(l=a.data.rough&&a.data.grid_unique?a.data.funcMakeRough(a,!0):a.data.svg.cloneNode(!0)).id=\"svg-\"+i,l.style.gridColumn=s,l.style.gridRow=d,l.row=d,l.col=s,a.data.container.appendChild(l)}a.data.svg.classlist,a.data.initialized,a.data.initialized=!0,a.publishState(\"grid_columns\",a.data.columns),a.publishState(\"grid_rows\",a.data.rows)},a.data.funcGetList=function(a){return a.length()<1?[]:a.get(0,a.length())},a.data.funcSetList=function(a){return Array.isArray(a)?a:[a]},a.data.funcSetScalar=function(a){return Array.isArray(a)?a[0]:a}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUp
307date(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    var svg_code = properties.svg_code ? properties.svg_code : null\n    var flexdiv, grid, container, rows, columns, gRow, gCol, node\n    var removeProps = ['svg_code', 'columns', 'rows', 'overflow', 'use_rough']\n\n    function setProperties(properties, removeProps) {\n        // build rough options object from properties keys\n        var roughProps = {}\n        if (properties) {\n            roughProps = Object.keys(properties).filter(key => (properties[key] != null && !removeProps.includes(key))).reduce((obj, key) => {\n                return {\n                    ...obj,\n                    [key]: properties[key]\n                }\n            }, {})\n        } // end if\n        return roughProps\n    } // end setproperties     \n    \n    //console.log('instance.data.svg_code is: ', instance.data.svg_code)\n    if (svg_code) {\n        const parser = new DOMParser()\n        const svg = parser.parseFromString(svg_code, 'image/svg+xml').querySelector('svg')\n        //console.log('svg data is: ', svg)\n        \n        /* if (properties.use_rough) {\n            // build rough properties object from properties keys\n            var roughoptions = setProperties(properties, removeProps)\n            svg = rough.svg(svg,\n                            roughoptions)\n        } */\n        \n        svg.setAttribute(\"width\", \"auto\")\n        svg.setAttribute(\"height\", \"100%\")\n        svg.setAttribute(\"maxWidth\", \"100%\")\n        // svg.setAttribute(\"fill\", \"red\")\n        // styling\n        if (properties.stroke) svg.setAttribute(\"stroke\", properties.stroke)\n        if (properties.strokeWidth) svg.setAttribute(\"stroke-width\", properties.strokeWidth)\n        if (properties.fill) svg.setAttribute(\"fill\", properties.fill)\n        \n        // set up a flex div\n        // var d = document.createElement(\"div\")\n        // d.style.display = \"flex\"\n        // d.style.width = properties.bubble.width()-0 + \"px\"\n        // d.style.height = properties.bubble.height()-0 + \"px\"\n        // d.style.overflow = \"hidden\"\n        // d.style.alignItems = \"center\"\n        // d.style.justifyContent = \"center\"\n        // d.style.margin = \"0 auto\"\n\n        // set up a flex div        \n        if (!properties.rows && !properties.columns) {\n            flexdiv = document.createElement(\"div\")\n            flexdiv.style.display = \"flex\"\n            flexdiv.style.width = properties.bubble.width()-0 + \"px\"\n            flexdiv.style.height = properties.bubble.height()-0 + \"px\"\n            flexdiv.style.overflow = \"hidden\"\n            flexdiv.style.alignItems = \"center\"\n            flexdiv.style.justifyContent = \"center\"\n            flexdiv.style.margin = \"0 auto\"\n            container = flexdiv\n        }\n        // or set up a grid\n        if (properties.rows || properties.columns) {\n            rows = properties.rows ? properties.rows : 1\n            columns = properties.columns ? properties.columns : 1\n            grid = document.createElement(\"div\")\n            grid.style.display = \"grid\"\n            grid.style.gridTemplateColumns = \"repeat(\" + columns + \", 1fr)\"\n            grid.style.gridTemplateRows = \"repeat(\" + rows + \", 1fr)\"\n            grid.style.gridGap = \"1px\"\n            // IMPORTANT: Need to compute height/width in the preview version (diff from on page):\n            grid.style.height = properties.bubble.height-0 + \"px\" // instead of 100%\n            grid.style.width = properties.bubble.width-0 + \"px\" // instead of 100%\n            // instance.data.grid = grid\n            container = grid\n            // instance.publishState('grid_columns', instance.data.columns)\n            // instance.publishState('grid_rows', instance.data.rows)\n        }\n\t\t\t// add to the layout\n            instance.canvas.appendChild(container)\n        \t// console.log('container is: ', container)\n            // append the svg to the flexdiv\n            if (flexdiv) container.appendChild(svg)\n            // or set up the grid of svgs\n            if (grid) { // loop over grid positions\n                for (i = 0; i < (columns * rows);
307 i++) {\n                    \n                    gRow = Math.floor((i/columns)+1 % columns)\n                    gCol = i % columns + 1\n                    node = svg.cloneNode(true)\n                    node.id = \"svg-\" + i\n                    node.style.gridColumn = gCol\n                    node.style.gridRow = gRow\n                    node.row = gRow\n                    node.col = gCol\n                    container.appendChild(node)\n                    // console.log('adding node ', i, ' object ', node)\n                }\n            }        \n        \n        \n        \n        // d.appendChild(svg)\n        // instance.canvas.appendChild(d)\n    }\n// console.log('canvas is: ', instance.canvas)\n}"}},"platform_type":"web"},"Acm":{"display":"Floppy Rehydrator","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AcP":{"caption":"REHYDRATOR","name":"REHYDRATOR","rank":0,"editor":"Label"},"AcQ":{"caption":"Rehydrator takes text lists of Bubble unique IDs and turns them back into the Things they represent. (Obviously, you must know what type of Things the UIDs represent... It ain't magic!)  Note that if you're using this plugin to rehydrate a list of UIDs retrieved from the URL via \"Get Data from URL\", you're going to have to split that string by comma space (\", \") not %2C%20 as you might expect. The lists of Things appear at Rehydrator's Rehydrated Things 1, 2, or 3 outputs as appropriate.","name":"reh_info","rank":1,"editor":"Label"},"AcR":{"caption":"Thing Type 1","name":"thing_1","rank":2,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"AcS":{"caption":"UIDs 1","name":"uids_1","rank":3,"editor":"DynamicValue","value":"text","optional":true,"is_list":true},"AcT":{"caption":"Thing Type 2","name":"thing_2","rank":4,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"AcZ":{"caption":"UIDs 2","name":"uids_2","rank":5,"editor":"DynamicValue","value":"text","optional":true,"is_list":true},"Aca":{"caption":"Thing Type 3","name":"thing_3","rank":6,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"Acb":{"caption":"UIDs 3","name":"uids_3","rank":7,"editor":"DynamicValue","value":"text","optional":true,"is_list":true},"Acc":{"caption":"EDITOR OPTIONS","name":"editor_sep","rank":8,"editor":"Label"},"Acd":{"caption":"Editor Icon Color","name":"icolor","rank":9,"editor":"Dropdown","optional":true,"default_val":"Classic Blue"},"Ace":{"caption":"Debug Mode","name":"debug","rank":10,"editor":"DynamicValue","value":"boolean","optional":true}},"states":{"Acf":{"caption":"Rehydrated Things List 1","name":"r_things_1","value":"custom_data_AcR","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Acg":{"caption":"Rehydrated Things List 2","name":"r_things_2","value":"custom_data_AcT","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Ach":{"caption":"Rehydrated Things List 3","name":"r_things_3","value":"custom_data_Aca","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Acl":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AcO":{"caption":"Initialized/Updated","name":"initialized"}},"code":{"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    // d.style.width = \"100%\"\n    // d.style.height = \"100%\"\n    \n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1670464142551x318394013171586750/rehydrator-icon.svg')\"\n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"o
307pacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    instance.canvas.appendChild(d)\n    // console.log('instance.canvas ', instance.canvas)\n    // console.log('element dims: ', properties.bubble.width(), ' x ', properties.bubble.height())\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(t,a){t.data.funcUpdate=function(t,a){t.data.debug&&(t.data.start=Date.now()),t.data.funcGetProps(t,a),t.data.uid_lists,t.data.uids=t.data.uid_lists.map((a=>t.data.funcGetList(a))),t.data.uids,t.data.funcPublishStates(t),t.data.initialized=!0,t.publishState(\"initialized\",t.data.initialized),t.triggerEvent(\"initialized\")},t.data.funcPublishStates=function(t){t.data.uids.forEach(((a,i)=>{t.publishState(\"r_things_\"+(i+1),a)}))},t.data.funcGetProps=function(t,a){t.data.uid_lists=Object.getOwnPropertyNames(a).filter((t=>t.includes(\"uids\"))).map((t=>a[t]||[])),t.data.debug=a.debug},t.data.funcGetList=function(t){if(Array.isArray(t)&&!t.hasOwnProperty(\"get\"))return t;var a=[];return t.hasOwnProperty(\"get\")?t.length()<1?a:a=t.get(0,t.length()):a}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"Adr":{"display":"Z: Floppy Bulky (in development)","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"Adm":{"caption":"THIS PLUGIN IS IN DEVELOPMENT AND CURRENTLY NOT FOR GENERAL USE. YOU'VE BEEN WARNED. Floppy Bulky helps make using your app's bulk thing creation API eaiser.","name":"fh_info","rank":0,"editor":"Label"},"Adn":{"caption":"Editor Icon Color","name":"icolor","rank":2,"editor":"Dropdown","default_val":"Classic Blue","optional":true},"Ady":{"caption":"Debug Mode","name":"debug","rank":1,"editor":"DynamicValue","value":"boolean","optional":true},"AeJ":{"caption":"Thing Type 1","name":"thing_type_1","rank":3,"editor":"custom_type","optional":true},"AeK":{"caption":"Thing Type 2","name":"thing_type_2","rank":4,"editor":"custom_type","optional":true},"AeL":{"caption":"Thing Type 3","name":"thing_type_3","rank":5,"editor":"custom_type","optional":true},"AeP":{"caption":"Thing Type 4","name":"thing_type_4","rank":6,"editor":"custom_type","optional":true},"AeQ":{"caption":"Thing Type 5","name":"thing_type_5","rank":7,"editor":"custom_type","optional":true}},"states":{"Ado":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AeM":{"caption":"Created Things List 1","name":"created_things_list_1","value":"custom_data_AeJ","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeN":{"caption":"Created Things List 2","name":"created_things_list_2","value":"custom_data_AeK","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeO":{"caption":"Created Things List 3","name":"created_things_list_3","value":"custom_data_AeL","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeR":{"caption":"Created Things List 4","name":"created_things_list_4","value":"custom_data_AeP","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeS":{"caption":"Created Things List 5","name":"created_things_list_5","value":"custom_data_AeQ","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeT":{"caption":"Bulk Create Endpoints JSON","name":"bulk_endpoints_json","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"Adk":{"caption":"Initialized/Updated","name":"initialized_updated"}},"actions":{"Ads":{"caption":"Bulk Create Things","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionBulkCreate(instance,properties,context):console.log(\"Bulky is not initialized. Bulk Create Things will not run.\")}"},"fields":{"Adt":{"caption":"Type of Things","name":"type","rank":0,"editor":"custom_type","optional":true},"Adu":{"caption":"Field 1","name":"field_1","rank":1,"editor":"custom_field_Adt","optional":true},"Adv":{"caption":"Field 2","name":"field_2","rank":3,"editor":"custom_field_Adt","optional":true},"Adw":{"caption":"Field 3","name":"field_3","rank":5,"editor":"custom_field_Adt","optional":true},"AeA":{"caption":"Field 1 Values","name":"fieldvalues_1","rank":2,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AeE":{"caption":"Field 2 Values","name":"fieldvalues_2","rank":4,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AeF":{"caption":"Field 3 Values","name":"fieldvalues_3","rank":6,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    // d.style.width = \"100%\"\n    // d.style.height = \"100%\"\n    \n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1680231539762x190319684533485120/date-range-processor.svg')\"\n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"o
307pacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function no_scrubs(instance,context){console.log(\"context is \",context),i=instance.data,instance.data.startTime=Date.now(),instance.data.debug=null,instance.data.location=window.location,instance.data.swaggerpath=\"/api/1.1/meta/swagger.json\",instance.data.system_fields=[\"Created By\",\"Slug\",\"Created Date\",\"Modified Date\",\"_id\",\"email\",\"logged_in\"],instance.data.doubles=[/_date_range(?!.*_date_range)/,/_number_range(?!.*_number_range)/,/_geographic_address(?!.*_geographic_address)/,/_option(?!.*_list_option).*/],instance.data.underscores=/_+/g,instance.data.funcUpdate=async function update(instance,props){console.log(\"FLOPPY BULKY IS UPDATING!!!!\"),instance.data.funcGetProps(instance,props),await instance.data.funcGetSwagger(instance),instance.data.initialized=!0,instance.publishState(\"initialized\",instance.data.initialized),instance.triggerEvent(\"initialized_updated\"),console.log(\"Init time: \",Date.now()-instance.data.startTime)},instance.data.funcGetSwagger=async function funcGetSwagger(instance){var location=window.location,testpath=location.pathname.startsWith(\"/version-test/\")?\"/version-test/\":\"\",swagger_endpoint=location.origin+testpath+instance.data.swaggerpath,host=location.host;instance.data.swagger=null;const response=await fetch(swagger_endpoint),swagger=await response.json();instance.data.swagger=swagger;var base=\"https://\"+host+swagger.basePath;console.log(\"swagger path is: \",base),instance.data.bulk_endpoints=Object.keys(swagger.paths).filter((path=>path.includes(\"/obj/\")&&!path.includes(\"{UniqueID}\"))).map(((path,i)=>{var endpoint={},bodyref=swagger.paths[path].post.parameters[0].schema.$ref.split(\"/\");bodyref.shift(),console.log(\"defining endpoint \",i,\" bodyref is \",bodyref);var bodyprops=swagger[bodyref[0]][bodyref[1]].properties;console.log(\" body props is \",bodyprops);var fields=Object.keys(bodyprops).map((prop=>{var result;return console.log(\"mapping fields - bodyprop is \",prop),{name:prop,plugin_name:prop.replaceAll(\" \",\"_\").toLowerCase(),type:bodyprops[prop].type}}));return endpoint.fields=fields,endpoint.base=base,endpoint.host=host,endpoint.swagger_basePath=swagger.basePath,endpoint.path=path,endpoint.fullpath=base+path,endpoint.name=path.split(\"/\").pop(),endpoint})),console.log(\"bulk endpoints is: \",instance.data.bulk_endpoints),instance.data.bulk_endpoints_json=JSON.stringify(instance.data.bulk_endpoints),instance.publishState(\"bulk_endpoints_json\",instance.data.bulk_endpoints_json),console.log(\"bulk endpoints JSON is: \",instance.data.bulk_endpoints_json),console.log(\"BULKY UPDATED... swagger time: \",Date.now()-instance.data.startTime)},instance.data.funcActionBulkCreate=function actionBulkCreate(instance,props,context){instance.data.bulk_create_start=Date.now(),console.log(\"entering bulk create\"),console.log(\"type is \",props.type);var processed_type=instance.data.funcProcessType(props.type);if(processed_type){console.log(\"processed type is \",processed_type);var fields=Object.getOwnPropertyNames(props).filter((prop=>prop.startsWith(\"field_\")&&null!=props[prop])).map((prop=>({prop:prop,field:props[prop],values:props[prop.replace(\"field_\",\"fieldvalues_\")]})));fields=fields.filter((field_obj=>field_obj.values)),console.log(\"fields are \",fields);var processed_fields=instance.data.funcProcessFields(fields);console.log(\"processed fields are \",processed_fields);var endpointnames=instance.data.bulk_endpoints.map((endpoint=>endpoint.name));console.log(\"endpointnames is \",endpointnames);var closest_endpoint=instance.data.closestMatch(processed_type,endpointnames);console.log(\"closest_endpoint is \",closest_endpoint),closest_endpoint=instance.data.bulk_endpoints.find((endpoint=>endpoint.name==closest_endpoint)),console.log(\"closest endpoint object is \",closest_endpoint);
307var endpoint_fields=closest_endpoint.fields.map((field=>field.plugin_name));console.log(\"endpoint fields is \",endpoint_fields);var closest_fields=processed_fields.map((pfield=>instance.data.closestMatch(pfield.field,endpoint_fields)));console.log(\"closest fields is \",closest_fields),processed_fields.forEach(((field,i)=>{field.closest_field=closest_fields[i],field.outfield=closest_endpoint.fields.find((endfield=>endfield.plugin_name==field.closest_field))})),console.log(\"final process - processed fields is \",processed_fields),processed_fields.forEach((field=>{var list=instance.data.funcGetList(field.values).map((item=>instance.data.funcGetID(item)));field.values_list=list})),console.log(\"fetched data - processed fields is \",processed_fields);var components={};processed_fields.forEach(((field,i)=>{console.log(\"creating payload for field \",field),console.log(\"field.values_list is \",field.values_list),components[field.outfield.name]=field.values_list.map((value=>{var object={};return object[field.outfield.name]=instance.data.funcTransValue(field,value),object}))})),console.log(\"making payload - components is \",components);var num_values=Math.max(...Object.keys(components).map((key=>components[key].length)));console.log(\"num values is \",num_values);var lines=[];for(let i=0;i<num_values;i++){console.log(\"making line \",i);var line={};Object.keys(components).forEach((key=>{console.log(\"making lines type \",typeof components[key][i][key]),line[key]=components[key][i][key]})),console.log(\"line \",i,\": \",line),lines.push(JSON.stringify(line))}console.log(\"lines is \",lines);var payload=lines.join(\"\\r\\n\");console.log(\"payload is:\"),console.log(payload),instance.data.funcCallBulk(instance,context,closest_endpoint.fullpath+\"/bulk\",payload,lines.length,props.type)}},instance.data.funcCallBulk=function callBulk(instance,context,endpoint,payload,payload_length,type){var result,myHeaders=new Headers,raw,requestOptions;console.log(\"calling endpoint \",endpoint),myHeaders.append(\"Authorization\",\"Bearer \"+context.keys[\"Data API Key 2\"]),myHeaders.append(\"Content-Type\",\"text/plain\"),fetch(endpoint,{method:\"POST\",headers:myHeaders,body:payload,redirect:\"follow\"}).then((response=>response.text())).then((result=>{instance.data.parseBulkResult(instance,result,payload_length,type),instance.data.debug&&console.info(\"bulk create function time \",Date.now()-instance.data.bulk_create_start)})).catch((error=>console.log(\"Error calling bulk endpoint\",endpoint,\": \",error)))},instance.data.parseBulkResult=function parseBulkResult(instance,result,payload_length,type){console.log(\"parsing result: type is \",type);var parsed_result=result.split(/\\r?\\n/);console.log(\"Parsed result:\"),console.log(parsed_result);var result_objects=parsed_result.map((result=>JSON.parse(result)));console.log(\"Result objects\",result_objects);var success_results=result_objects.filter((result=>\"success\"==result.status)),error_results=success_results.length?null:result_objects.filter((result=>\"error\"==result.status));console.log(\"success objects: \",success_results),console.log(\"error objects: \",error_results),instance.data.output_types.forEach(((output_type,i)=>{output_type==type&&instance.publishState(\"created_things_list_\"+(i+1),success_results.map((result=>result.id)))}))},instance.data.funcTransValue=function transValue(field,value){return\"number\"==field.outfield.type?+value:\"string\"==field.outfield.type?value:\"array\"==field.outfield.type?[value]:void 0},instance.data.funcProcessType=function processType(type){var thing;return type.startsWith(\"custom.\")?type=type.replace(\"custom.\",\"\").replaceAll(\"_\",\"\"):(instance.data.debug&&console.info(\"Bulk Create Things: Selected data type is not a Thing. Bulk Creation is not possible.\"),type=null)},instance.data.funcProcessFields=function processFields(fields){if(!fields)return null;const regx=/_[^_]+$/,regx2=/_custom(?!.*_custom).*/,regx3=/_doublz(?!.*_doublz).*/,regx4=/_list(?!.*_list).*/;var processed_fields=[],remove_type=!0,title_case=!1,no_system=!0,system_fields=[],idIndex,emailIndex,loggedIndex;return system_fields=fields.filter((field=>instance.data.system_fields.includes(field.field))),processed_fields=fields.filter((field=>!instance.data.system_fields.includes(field.field))),instance.data.debug&&system_fields.length>0&&console.info(\"Bulk Create Things: The following system fields cannot be written and have been removed: \",system_fields),processed_fields.forEach((field=>
307{instance.data.doubles.forEach((regex=>field.field=field.field.replace(regex,\"_doublz\")))})),console.log(\"removing types processed fields is \",processed_fields),processed_fields.forEach((field=>{field.field=field.field.replace(regx2,\"_custom\").replace(regx,\"\"),field.field.endsWith(\"_list\")&&(field.field=field.field.replace(regx4,\"\"))})),instance.data.debug&&console.log(\"After processing, custom fields have become: \",JSON.stringify(processed_fields)),processed_fields},instance.data.closestMatch=function closestMatch(target,array,showOccurrences){var distance_1={distance:function(a,b){var _a;if(0===a.length)return b.length;if(0===b.length)return a.length;a.length>b.length&&(a=(_a=[b,a])[0],b=_a[1]);for(var row=[],i=0;i<=a.length;i++)row[i]=i;for(var i=1;i<=b.length;i++){for(var prev=i,j=1;j<=a.length;j++){var val=void 0;val=b.charAt(i-1)===a.charAt(j-1)?row[j-1]:Math.min(row[j-1]+1,prev+1,row[j]+1),row[j-1]=prev,prev=val}row[a.length]=prev}return row[a.length]}};if(void 0===showOccurrences&&(showOccurrences=!1),0===array.length)return null;for(var vals=[],found=[],i=0;i<array.length;i++)vals.push((0,distance_1.distance)(target,array[i]));for(var min=Math.min.apply(Math,vals),i=0;i<vals.length;i++)vals[i]===min&&found.push(array[i]);return showOccurrences?found:found[0]},instance.data.funcGetProps=function getProps(instance,props){instance.data.output_types=[],Object.getOwnPropertyNames(props).forEach((prop=>{null!=props[prop]&&(instance.data[prop]=props[prop]),prop.startsWith(\"thing_type_\")&&instance.data.output_types.push(props[prop])}))},instance.data.funcGetList=function getList(List){if(Array.isArray(List)&&!List.get)return List;var returnList=[];return List.get?(List.length()<1||(returnList=List.get(0,List.length())).map((item=>instance.data.funcGetID(item))),returnList):returnList},instance.data.funcGetID=function getID(Item,replace_null_type){return replace_null_type&&(Item=instance.data.funcReplaceNull(Item,replace_null_type)),Item?Item.get&&Item.listProperties().includes(\"_id\")?Item.get(\"_id\"):Item.isUID?Item.value:Item:Item},instance.data.funcReplaceNull=function replaceNull(Item,type){if(Item&&Item.get&&Item.listProperties().includes(\"_id\")&&null==Item.get(\"_id\")&&(Item=null),Item&&Item.isUID&&null==Item.value&&(Item=null),\"date_range\"!=type&&\"number_range\"!=type||!Array.isArray(Item)||0!=Item.length||(Item=null),null!=Item)return Item;var null_replacement=null;return(type.startsWith(\"custom\")||\"geographic_address\"==type)&&(null_replacement=\"null\"),\"number\"==type&&(null_replacement=0),[\"text\",\"file\",\"image\"].includes(type)&&(null_replacement=\"\"),\"date\"==type&&(null_replacement=instance.data.min_js_date),\"boolean\"==type&&(null_replacement=!1),null_replacement}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"Amt":{"display":"Floppy Date Range Processor","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"Amo":{"caption":"Floppy Date Range Processor takes a list of date ranges and can make them unique and/or sort them the proper way. (Neither of these functions is available in vanilla Bubble.) The processed date ranges are published to the \"Processed Date Ranges\" output and the \"Date Ranges Processed\" event is triggered. Note that there is also an Action to do the same thing.","name":"fdr_info","rank":0,"editor":"Label"},"Amp":{"caption":"Editor Icon Color","name":"icolor","rank":5,"editor":"Dropdown","default_val":"Classic Blue","optional":true},"Amu":{"caption":"Date Ranges","name":"date_ranges","rank":1,"editor":"DynamicValue","optional":true,"is_list":true,"value":"date_range"},"Amv":{"caption":"Make Unique","name":"unique","rank":2,"editor":"DynamicValue","value":"boolean","optional":true},"Amw":{"caption":"Sort","name":"sort","rank":3,"editor":"DynamicValue","value":"boolean","optional":true},"Amx":{"caption":"Sort Descending","name":"sort_descending","rank":4,"editor":"DynamicValue","value":"boolean","optional":true}},"states":{"Amq":{"caption":"Initialized/Updated","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AnF":{"caption":"Processed Date Ranges","name":"processed_date_ranges","value":"date_range","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"events":{"Amm":{"caption":"Initialized/Updated","name":"initialized"},"AnG":{"caption":"Date Ranges Processed","name":"date_ranges_processed"}},"actions":{"Amy":{"caption":"Process Date Ranges","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.ActionProcessDateRanges(instance,properties):console.log(\"Floppy Date Range Processor is not initialized. Process Date Ranges will not run.\")}"},"fields":{"Amz":{"caption":"Process Date Ranges Action","name":"pdr_info","rank":0,"editor":"Label"},"AnA":{"caption":"Execute this action to make a list of date ranges unique and/or sort the them. The processed date ranges appear at the \"Processed Date Ranges\" output and the \"Date Ranges Processed\" event is triggered.","name":"pdr_info","rank":1,"editor":"Label"},"AnB":{"caption":"Date Ranges","name":"date_ranges","rank":2,"editor":"DynamicValue","value":"date_range","optional":true,"is_list":true},"AnC":{"caption":"Make Unique","name":"unique","rank":3,"editor":"DynamicValue","value":"boolean","optional":true},"AnD":{"caption":"Sort","name":"sort","rank":4,"editor":"DynamicValue","optional":true,"value":"boolean"},"AnE":{"caption":"Sort Descending","name":"sort_descending","rank":5,"editor":"DynamicValue","value":"boolean","optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    // d.style.width = \"100%\"\n    // d.style.height = \"100%\"\n    \n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1680231539762x190319684533485120/date-range-processor.svg')\"\n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"o
307pacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.gptWrapper=function(e,t){e.data.areDateRangesEqual=function(e,t){return e[0].getTime()===t[0].getTime()&&e[1].getTime()===t[1].getTime()},e.data.sortDateRanges=function(e,t){return e.slice().sort(((e,a)=>{let n=e[0].getTime()-a[0].getTime();return 0===n&&(n=e[1].getTime()-a[1].getTime()),t&&(n*=-1),n}))},e.data.getList=function(e){return!e||!e.get||e.length()<1?null:e.get(0,e.length())},e.data.MakeDateRangesUnique=function(t){const a=[];return t.forEach((t=>{a.some((a=>e.data.areDateRangesEqual(a,t)))||a.push(t)})),a},e.data.ActionProcessDateRanges=function(e,t,a){if(t.date_ranges,!t.date_ranges&&!a)return;const n=a||e.data.getList(t.date_ranges);var r=[];t.unique&&(r=e.data.MakeDateRangesUnique(n)),t.sort&&(r=e.data.sortDateRanges(t.unique?r:n,t.sort_descending)),t.unique||t.sort||(r=n),e.publishState(\"processed_date_ranges\",r),e.triggerEvent(\"date_ranges_processed\")},e.data.funcUpdate=function(e,t,a){if(!t.date_ranges)return e.publishState(\"processed_date_ranges\",[]),void e.triggerEvent(\"initialized\");const n=e.data.getList(t.date_ranges);e.data.ActionProcessDateRanges(e,t,n),e.triggerEvent(\"initialized\")}},instance.data.gptWrapper(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"BKf":{"display":"List Shifter PRO","property_applications":{"Background":false,"Border":false,"BoxShadow":false,"Font":false,"MinWidth":false,"Padding":false,"resizable":true},"add_hover_pressed":false,"add_is_visible":true,"support_autobinding":false,"fields":{"BJc":{"caption":"Data Type of List","editor":"custom_type","name":"data_type_of_list","rank":2},"BJd":{"caption":"List to Shift","editor":"DynamicValue","is_list":true,"name":"list_to_shift","optional":true,"rank":3,"value":"custom_data_BJc"},"BJe":{"caption":"LIST SELECTOR","editor":"Label","name":"list_selection","rank":1},"BJf":{"caption":"LIST SHIFTER takes an input list (defined below) and publishes a modified version of the list (in the element's Shifted List state). It also publishes the original list (as the element's Original List). You can apply various transformations including REVERSE, ROTATE, or SWAP list items. Using List Shifter's Actions, you can ITERATE over and PROCESS list items. Reminder: To use the PROCESS List and Custom Value/Custom List features, you must set a Processed List data type toward the end of this dialog.","editor":"Label","name":"shift_information","rank":0},"BJg":{"caption":"ROTATE OPTION","editor":"Label","name":"rotate_option","rank":6},"BJh":{"caption":"Rotate List by","editor":"DynamicValue","name":"rotate_by","optional":true,"rank":7,"value":"number"},"BJi":{"caption":"REVERSE List","editor":"DynamicValue","name":"reverse_list","optional":true,"rank":5,"value":"boolean"},"BJj":{"caption":"EDITOR ICON COLOR","editor":"Dropdown","name":"icolor","optional":true,"rank":8},"BJk":{"caption":"PAGINATION OPTIONS","editor":"Label","name":"pagination_info","rank":9},"BJl":{"caption":"Much like a Repeating Group, List Shifter can incrementally load data for the List to Shift and publish it in paginated form, one page at a time. Set an Items per Page value below to put List Shifter into pagination mode. NOTE: If you are using the \"Make Numeric List\" option below, pagination settings are ignored. Pagination is only intended for lists that are the result of an expression.","editor":"Label","name":"pagination_info_2","rank":10},"BJm":{"caption":"Items per Page","editor":"DynamicValue","name":"items_per_page","o
307ptional":true,"rank":11,"value":"number"},"BJn":{"caption":"GENERATE NUMERIC LIST OPTIONS","editor":"Label","name":"advanced_features_info","rank":14},"BJo":{"caption":"Rather than supplying an existing list, List Shifter can make a list of type number for you algorithmically. if using this option, the \"Data Type of List\" option (above) must be set to \"number\".","editor":"Label","name":"algo_info","rank":15},"BJp":{"caption":"Make a Numeric List","editor":"DynamicValue","name":"numeric_list","optional":true,"rank":16,"value":"boolean"},"BJq":{"caption":"Start at","default_val":1,"editor":"DynamicValue","name":"start","optional":true,"rank":18,"value":"number"},"BJr":{"caption":"Number of Items","editor":"DynamicValue","name":"num_items","optional":true,"rank":17,"value":"number"},"BJs":{"caption":"Increment by","default_val":1,"editor":"DynamicValue","name":"increment","optional":true,"rank":19,"value":"number"},"BJt":{"caption":"Max Pages for Nav","editor":"DynamicValue","name":"max_pages","optional":true,"rank":12,"value":"number"},"BJu":{"caption":"Default Prefetch","default_val":0,"editor":"Dropdown","name":"prefetch","optional":true,"rank":13,"value":"number"},"BJv":{"caption":"PERFORMANCE OPTIONS","editor":"Label","name":"performance_options","rank":20},"BJw":{"caption":"List Shifter includes some niceties that are useful with smaller lists (difference tracking, selected item tracking). When using List Shifter as a data processing tool—especially on larger lists—you may want to turn these off if you don't use them as they consume compute resources and can slow things down.","editor":"Label","name":"performance_options_detail","rank":21},"BJx":{"caption":"Track Selected Items & List Difference","default_val":true,"editor":"DynamicValue","name":"track","optional":false,"rank":22,"value":"boolean"},"BJy":{"caption":"PROCESS ACTION and CUSTOM VALUE OPTIONS","editor":"Label","name":"process_action_options","rank":23},"BJz":{"caption":"To use the PROCESS List action and/or List Shifter's Custom Value and Custom List outputs, select a data type to use for List Shifter's Processed Result, Processed List, Custom Value and Custom List outputs.","editor":"Label","name":"process_detail","rank":24},"BKA":{"caption":"PROCESS Output Type","editor":"custom_type","name":"process_output_type","optional":true,"rank":25},"BKB":{"caption":"Use Scalar","editor":"DynamicValue","name":"use_scalar","optional":true,"rank":4,"value":"custom_data_BJc"}},"states":{"BKC":{"caption":"Shifted List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"shifted_list","value":"custom_data_BJc"},"BKD":{"caption":"Original List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"original_list","value":"custom_data_BJc"},"BKE":{"caption":"Selected Item Number","initialization_code":{"fn":"function(properties,context){}"},"name":"selected_item_number","value":"number"},"BKF":{"caption":"Last 2 Selected Items List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"last_2_selected_items_list","value":"number"},"BKG":{"caption":"List Shifted","initialization_code":{"fn":"function(properties,context){}"},"name":"list_shifted","value":"boolean"},"BKH":{"caption":"Current Iteration Item","initialization_code":{"fn":"function(properties,context){}"},"name":"current_iteration_item","value":"custom_data_BJc"},"BKI":{"caption":"Current Iteration Index","initialization_code":{"fn":"function(properties,context){}"},"name":"current_iteration_index","value":"number"},"BKJ":{"caption":"Loading","initialization_code":{"fn":"function(properties,context){}"},"name":"loading","value":"boolean"},"BKK":{"caption":"Iterating","initialization_code":{"fn":"function(properties,context){}"},"name":"iterating","value":"boolean"},"BKL":{"caption":"Item Count","initialization_code":{"fn":"function(properties,context){}"},"name":"item_count","value":"number"},"BKM":{"caption":"Item to Find","initialization_code":{"fn":"function(properties,context){}"},"name":"index_item","value":"custom_data_BJc"},"BKN":{"caption":"Index of Item to Find (Original)","initialization_code":{"fn":"function(properties,context){}"},"name":"index_of_item_original","value":"number"},"BKO":{"caption":"Paginating","initialization_code":{"fn":"function(properties,context){}"},"name":"paginating","value":"boolean"},"BKP":{"caption":"Total Pages","initialization_code":{"fn":"function(properties,context){}"},"name":"total_pages","value":"number"},"BKQ":{"caption":"Page","initialization_code":{"fn":"function(properties,context){}"},"name":"page","value":"number"},"BKR":{"caption":"Items per Page","initialization_code":{"fn":"function(properties,context){}"},"name":"items_per_page","value":"number"},"BKS":{"caption":"Index of Item to Find (Shifted)","initialization_code":{"fn":"function(properties,context){}"},"name":"index_of_item_shifted","value":"number"},"BKT":{"caption":"Page Nav List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"page_list","value":"number"},"BKU":{"caption":"Initialized","initialization_code":{"fn":"function(properties,context){}"},"name":"initialized","value":"boolean"},"BKV":{"caption":"Custom Value","initialization_code":{"fn":"function(properties,context){}"},"name":"custom_value","value":"custom_data_BKA"},"BKW":{"caption":"Custom List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"custom_list","value":"custom_data_BKA"}
307,"BKX":{"caption":"Processed List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"processed_list","value":"custom_data_BKA"},"BKY":{"caption":"Processed Result","initialization_code":{"fn":"function(properties,context){}"},"name":"processed_result","value":"custom_data_BKA"},"BKZ":{"caption":"Processing","initialization_code":{"fn":"function(properties,context){}"},"name":"processing","value":"boolean"},"BKa":{"caption":"Prefetching","initialization_code":{"fn":"function(properties,context){}"},"name":"prefetching","value":"boolean"},"BKb":{"caption":"Page Starting Index","initialization_code":{"fn":"function(properties,context){}"},"name":"page_start_index","value":"number"},"BKc":{"caption":"Page Ending Index","initialization_code":{"fn":"function(properties,context){}"},"name":"page_end_index","value":"number"},"BKd":{"caption":"Page Item Indices","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"page_item_indices","value":"number"},"BKe":{"caption":"Scalar","initialization_code":{"fn":"function(properties,context){}"},"name":"scalar","value":"custom_data_BJc"}},"events":{"BJO":{"caption":"Iterate from List Shifter","name":"iterate"},"BJP":{"caption":"Iteration Complete","name":"iteration_complete"},"BJQ":{"caption":"Item Index Found","name":"item_index_found"},"BJR":{"caption":"Item Index Not Found","name":"item_index_not_found"},"BJS":{"caption":"Initialized/Updated","name":"initialized"},"BJT":{"caption":"Rotation Complete","name":"rotation_complete"},"BJU":{"caption":"Reverse Complete","name":"reverse_complete"},"BJV":{"caption":"Processing Complete","name":"processing_complete"},"BJW":{"caption":"Page Changed","name":"page_changed"},"BJX":{"caption":"Processing Started","name":"processing_started"},"BJY":{"caption":"Iteration Started","name":"iteration_started"},"BJZ":{"caption":"Sort Complete","name":"sort_complete"},"BJa":{"caption":"Custom Value Updated","name":"custom_value_updated"},"BJb":{"caption":"Custom List Updated","name":"custom_list_updated"}},"actions":{"BFN":{"caption":"REVERSE List","fields":{"BFO":{"caption":"Trigger Reverse Complete Event","editor":"DynamicValue","name":"trigger","optional":true,"rank":2,"value":"boolean"},"BFP":{"caption":"REVERSE INFO","editor":"Label","name":"reverse_info","rank":0},"BFQ":{"caption":"Execute this action to reverse the order of items in the Shifted List.","editor":"Label","name":"r_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.list_shifted&&instance.data.funcRev(instance.data.list_shifted),instance.data.funcPublishStates(properties.trigger?\"reverse_complete\":\"\")):context.reportDebugger(\"List Shifter is not initialized. REVERSE List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFR":{"caption":"ROTATE List","fields":{"BFS":{"caption":"Rotate List by","editor":"DynamicValue","name":"rotate_list_by","optional":true,"rank":2,"value":"number"},"BFT":{"caption":"trigger","editor":"DynamicValue","name":"trigger","optional":true,"rank":3,"value":"boolean"},"BFU":{"caption":"ROTATE INFO","editor":"Label","name":"rotate_info","rank":0},"BFV":{"caption":"Execute this action to rotate the items in the Shifted List.","editor":"Label","name":"rot_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.funcRotate(instance.data.list_shifted,properties.rotate_list_by),instance.data.funcPublishStates(properties.trigger?\"rotation_complete\":\"\")):context.reportDebugger(\"List Shifter is not initialized. ROTATE List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFW":{"caption":"SHIFT Item Up","fields":{"BFX":{"caption":"Positions","editor":"DynamicValue","name":"positions","optional":true,"rank":3,"value":"number"},"BFY":{"caption":"Item Number","editor":"DynamicValue","name":"item_number","rank":2,"value":"number"},"BFZ":{"caption":"SHIFT ITEM UP INFO","editor":"Label","name":"shift_item_up_info","rank":0},"BFa":{"caption":"Execute this action to shift an item's position \"up\" (earlier) in the list.","editor":"Label","name":"shift_up_info_2","rank":1},"BFb":{"caption":"Move Items Down","name":"move","rank":4,"editor":"DynamicValue","value":"boolean","optional":true}},"code":{"fn":"function(instance,properties,context){if(instance.data.initialized){if(null!=properties.item_number){var positions=properties.positions?properties.positions:1;if(properties.move||instance.data.funcSwapItems(properties.item_number,properties.item_number-positions),properties.move)for(let p=0;p<positions;p++){var item=properties.item_number-p;instance.data.funcSwapItems(item,item-1)}instance.data.funcPublishStates()}}else context.reportDebugger(\"List Shifter is not initialized. SHIFT Item Up action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFc":{"caption":"SHIFT Item Down","fields":{"BFd":{"caption":"Positions","editor":"DynamicValue","name":"positions","optional":true,"rank":3,"value":"number"},"BFe":{"caption":"Item Number","editor":"DynamicValue","name":"item_number","rank":2,"value":"number"},"BFf":{"caption":"SHIFT ITEM DOWN INFO","editor":"Label","name":"shift_item_down_info","rank":0},"BFg":{"caption":"Execute this action to shift an item's position \"down\" (later) in the list.","editor":"Label","name":"shift_down_info_2","rank":1},"BFh":{"caption":"Move Items Up","name":"move","rank":4,"editor":"DynamicValue","value":"boolean","optional":true}},"code":{"fn":"function(instance,properties,context){if(instance.data.initialized){if(null!=properties.item_number){var positions=properties.positions?properties.positions:1;if(properties.move||instance.data.funcSwapItems(properties.item_number,properties.item_number+positions),properties.move)for(let p=0;p<positions;p++){var item=properties.item_number+p;instance.data.funcSwapItems(item,item+1)}instance.data.funcPublishStates()}}else context.reportDebugger(\"List Shifter is not initialized. SHIFT Item Down action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFi":{"caption":"SWAP Items","fields":{"BFj":{"caption":"Item 1","editor":"DynamicValue","name":"item_1","rank":2,"value":"number"},"BFk":{"caption":"Item 2","editor":"DynamicValue","name":"item_2","rank":3,"value":"number"},"BFl":{"caption":"SWAP ITEMS INFO","editor":"Label","name":"swap_items_info","rank":0},"BFm":{"caption":"Execute this action to swap the positions of 2 items in the Shifted List.","editor":"Label","name":"swap_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.funcSwapItems(properties.item_1,properties.item_2),instance.data.funcPublishStates()):context.reportDebugger(\"List Shifter is not initialized. SWAP Items action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFn":{"caption":"SET Selected","fields":{"BFo":{"caption":"Item Number","editor":"DynamicValue","name":"item_number","optional":true,"rank":0,"value":"number"},"BFp":{"caption":"SET SELECTED INFO","editor":"Label","name":"set_selected_info","rank":1},"BFq":{"caption":"Execute this action to set the Selected Item Number state.","editor":"Label","name":"set_sel_info_2","rank":2}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.funcSetSelected(properties.item_number-1,!0),instance.data.funcPublishStates(null,!0)):context.reportDebugger(\"List Shifter is not initialized. SET Selected action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFr":{"caption":"RESET","fields":{"BFs":{"caption":"RESET INFO","editor":"Label","name":"reset_info","rank":0},"BFt":{"caption":"Execute this action to reset List Shifter's Shifted List to its initialized state. Transformations such as SWAP Items are cleared and most other values revert to their initial state. Note: This action DOES NOT clear List Shifter's Processed 
307List, Custom Value, and Custom List as these values are only published in response to your own workflow actions.","editor":"Label","name":"reset_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcUpdate(instance,null,context):context.reportDebugger(\"List Shifter is not initialized. RESET action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFu":{"caption":"PUBLISH Custom List","fields":{"BFv":{"caption":"Execute this action to publish the current Custom List to List Shifter's Custom List output.","editor":"Label","name":"pl_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.publishState(\"custom_list\",instance.data.custom_list):context.reportDebugger(\"List Shifter is not initialized. PUBLISH Custom List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFw":{"caption":"BEGIN ITERATE","fields":{"BFx":{"caption":"List to Iterate Over","default_val":"Shifted List","editor":"Dropdown","name":"list_to_iterate_over","rank":2},"BFy":{"caption":"ITERATE INFO","editor":"Label","name":"iterate_info","rank":0},"BFz":{"caption":"This action begins iteration on a list held by List Shifter. For each item in the list (either the Shifted List or Original List, as selected below), an event called Iterate from List Shifter is triggered. You must define a workflow that triggers on that event. (If the workflow does not exist, your app will appear to hang. If the workflow throws an error, this is reported to the debugger.)","editor":"Label","name":"more_iterate_info","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcBeginIterate(properties.list_to_iterate_over,context):context.reportDebugger(\"List Shifter is not initialized. BEGIN ITERATE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGA":{"caption":"GET INDEX of Item","fields":{"BGB":{"caption":"Item to find","editor":"DynamicValue","name":"item_to_find","rank":2,"value":"custom_data_element_BJc"},"BGC":{"caption":"Get Last Index","editor":"DynamicValue","name":"get_last_index","optional":true,"rank":3,"value":"boolean"},"BGD":{"caption":"Set Selected if Found","editor":"DynamicValue","name":"set_selected_if_found","optional":true,"rank":4,"value":"boolean"},"BGE":{"caption":"Execute this action to find the 1-based index (Bubble-style index) of the first occurrence of  Item in the list. (Note: Typically, Bubble lists do not have duplicates, but lists of your own construction via code or from the API Connector may have duplicates.)","editor":"Label","name":"gi_info","rank":1},"BGF":{"caption":"GET INDEX INFO","editor":"Label","name":"get_index_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcGetIndex(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. GET INDEX of Item action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGG":{"caption":"NEXT PAGE","fields":{"BGH":{"caption":"Execute this action to get the next page of List Shifter's output. Only valid if List Shifter is in pagination mode.","editor":"Label","name":"np_info","rank":1},"BGI":{"caption":"Wrap Around?","editor":"DynamicValue","name":"wrap","optional":true,"rank":2,"value":"boolean"},"BGJ":{"caption":"Advance by","editor":"DynamicValue","name":"advance_by","optional":true,"rank":3,"value":"number"},"BGK":{"caption":"NEXT PAGE INFO","editor":"Label","name":"next_page_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPageNav(\"next\",properties):context.reportDebugger(\"List Shifter is not initialized. NEXT PAGE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGL":{"caption":"PREVIOUS PAGE","fields":{"BGM":{"caption":"Execute this action to get the previous page of List Shifter's output. Only valid if List Shifter is in pagination mode.","editor":"Label","name":"pp_info","rank":1},"BGN":{"caption":"Wrap Around?","editor":"DynamicValue","name":"wrap","optional":true,"rank":2,"value":"boolean"},"BGO":{"caption":"Rewind by","editor":"DynamicValue","name":"advance_by","optional":true,"rank":3,"value":"number"},"BGP":{"caption":"PREVIOUS PAGE INFO","editor":"Label","name":"previous_page_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPageNav(\"prev\",properties):context.reportDebugger(\"List Shifter is not initialized. PREVIOUS PAGE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGQ":{"caption":"GO TO PAGE","fields":{"BGR":{"caption":"Execute this action to jump to an arbitrary page of List Shifter's output. Only valid if List Shifter is in pagination mode. Note that page numbers are 1-based. If Page is greater than the total number of pages, this will go to the last page. If Page is less than 1, this will go to the first page (page 1).","editor":"Label","name":"jp_info","rank":1},"BGS":{"caption":"Page","editor":"DynamicValue","name":"page","rank":2,"value":"number"},"BGT":{"caption":"GO TO PAGE INFO","editor":"Label","name":"go_to_page_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPageNav(properties.page,properties):context.reportDebugger(\"List Shifter is not initialized. GO TO PAGE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGU":{"caption":"SORT List","fields":{"BGV":{"caption":"SORT List sorts the Original List b
307y some array of values and publishes that to the Shifted List. If selection tracking is enabled, selection(s) are preserved as best they can.","editor":"Label","name":"sort_list_info","rank":1},"BGW":{"caption":"Type of Sort by List","editor":"custom_type","name":"source_list_type","rank":2},"BGX":{"caption":"Sort by List","editor":"DynamicValue","is_list":true,"name":"source_list","rank":3,"value":"custom_data_BGW"},"BGY":{"caption":"Sort as","default_val":"Number","editor":"Dropdown","name":"sort_as","rank":4},"BGZ":{"caption":"Descending","editor":"DynamicValue","name":"descending","optional":true,"rank":5,"value":"boolean"},"BGa":{"caption":"SORT LIST INFO","editor":"Label","name":"sort_list_info","rank":0},"BGb":{"caption":"Trigger Sort Complete Event?","editor":"DynamicValue","name":"trigger","optional":true,"rank":6,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcSortList(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. SORT List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGc":{"caption":"SET Custom Value","fields":{"BGd":{"caption":"Use this action to set List Shifter's internal Custom Value. You can optionally publish the value immediately to List Shifter's Custom Value output (or choose to publish it later via the PUBLISH Custom Value Action). For number and text data types, you can optionally INCREMENT the Custom Value instead.","editor":"Label","name":"set_info","rank":1},"BGe":{"caption":"Custom Value","editor":"DynamicValue","name":"custom_value","optional":true,"rank":3,"value":"custom_data_element_BKA"},"BGf":{"caption":"NOTE: To use this feature, you must first set a data type for \"Processed List\" in List Shifter's main interface. Note also that the SET action is *asynchronous* and should not be used to hold intermediate values within a workflow as we cannot guarantee when the SET action has completed. To detect when SET is complete, you can optionally trigger an event called Custom Value Updated.","editor":"Label","name":"set_info_2","rank":2},"BGg":{"caption":"Publish Custom Value?","editor":"DynamicValue","name":"publish","optional":true,"rank":5,"value":"boolean"},"BGh":{"caption":"SET CUSTOM VALUE INFO","editor":"Label","name":"set_custom_value_info","rank":0},"BGi":{"caption":"Increment Custom Value?","editor":"DynamicValue","name":"increment","optional":true,"rank":4,"value":"boolean"},"BGj":{"caption":"Trigger Custom Value Updated Event?","editor":"DynamicValue","name":"trigger","optional":true,"rank":6,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.custom_value=!properties.increment||\"text\"!=instance.data.process_output_type&&\"number\"!=instance.data.process_output_type?properties.custom_value:instance.data.custom_value+properties.custom_value,properties.publish&&instance.publishState(\"custom_value\",instance.data.custom_value),properties.trigger&&instance.triggerEvent(\"custom_value_updated\")):context.reportDebugger(\"List Shifter is not initialized. SET Custom Value action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGk":{"caption":"PUBLISH Custom Value","fields":{"BGl":{"caption":"Execute this action to publish the current Custom Value to List Shifter's Custom Value output.","editor":"Label","name":"ps_info","rank":1},"BGm":{"caption":"PUBLISH CUSTOM VALUE INFO","editor":"Label","name":"publish_custom_value_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.publishState(\"custom_value\",instance.data.custom_value):context.reportDebugger(\"List Shifter is not initialized. PUBLISH Custom Value action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGn":{"caption":"STOP ITERATE","fields":{"BGo":{"caption":"STOP ITERATE INFO","editor":"Label","name":"stop_iterate_info","rank":0},"BGp":{"caption":"Execute this action to stop an iteration in progress.","editor":"Label","name":"si_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.iterating&&(instance.data.stop_iteration=!0):context.reportDebugger(\"List Shifter is not initialized. STOP Iterate action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGq":{"caption":"PROCESS List","fields":{"BGr":{"caption":"OR Use this List:","editor":"DynamicValue","is_list":true,"name":"alterna_list","optional":true,"rank":3,"value":"custom_data_element_BKA"},"BGs":{"caption":"Set Custom Value to RS1","editor":"DynamicValue","name":"set_cust_val_to_rs1","optional":true,"rank":14,"value":"boolean"},"BGt":{"caption":"Set Custom List to RS1","editor":"DynamicValue","name":"set_cust_list_to_rs1","optional":true,"rank":15,"value":"boolean"},"BGu":{"caption":"Set Custom Value to RS2","editor":"DynamicValue","name":"set_cust_val_to_rs2","optional":true,"rank":26,"value":"boolean"},"BGv":{"caption":"Set Custom Value to RS3","editor":"DynamicValue","name":"set_cust_val_to_rs3","optional":true,"rank":39,"value":"boolean"},"BGw":{"caption":"Set Custom Value to RS4","editor":"DynamicValue","name":"set_cust_val_to_rs4","optional":true,"rank":52,"value":"boolean"},"BGx":{"caption":"Set Custom Value to RS5","editor":"DynamicValue","name":"set_cust_val_to_rs5","optional":true,"rank":65,"value":"boolean"},"BGy":{"caption":"Set Custom Value to RS6","editor":"DynamicValue","name":"set_cust_val_to_rs6","optional":true,"rank":78,"value":"boolean"},"BGz":{"caption":"Set Custom List to RS2","editor":"DynamicValue","name":"set_cust_list_to_rs2","optional":true,"rank":27,"value":"boolean"},"BHA":{"caption":"Set Custom List to RS3","editor":"DynamicValue","name":"set_cust_list_to_rs3","optional":true,"rank":40,"value":"boolean"},"BHB":{"caption":"Set Custom List to RS4","editor":"DynamicValue","name":"set_cust_list_to_rs4","optional":true,"rank":53,"value":"boolean"},"BHC":{"caption":"Set Custom List to RS5","editor":"DynamicValue","is_list":false,"name":"set_cust_list_to_rs5","optional":true,"rank":66,"value":"boolean"},"BHD":{"caption":"Set Custom List to RS6","editor":"DynamicValue","is_list":false,"name":"set_cust_list_to_rs6","optional":true,"rank":79,"value":"boolean"},"BHE":{"caption":"Anything Constant","editor":"DynamicValue","name":"any_constant","o
307ptional":true,"rank":84,"value":"_any_thing"},"BHF":{"caption":"Anything List Constant","editor":"DynamicValue","is_list":true,"name":"anyL_constant","optional":true,"rank":91,"value":"_any_thing"},"BHG":{"caption":"I/O OPTIONS","editor":"Label","name":"i/o_options","rank":98},"BHH":{"caption":"Publish Custom Value","editor":"DynamicValue","name":"publish_custom_value","optional":true,"rank":100,"value":"boolean"},"BHI":{"caption":"Publish Custom List","editor":"DynamicValue","name":"publish_custom_list","optional":true,"rank":101,"value":"boolean"},"BHJ":{"caption":"STEP 1: CREATES Result Step 1 (RS1)","editor":"Label","name":"step_1","rank":4,"value":"custom_data_ABQ"},"BHK":{"caption":"STEP 2: CREATES Result Step 2 (RS2)","editor":"Label","name":"step_2","optional":false,"rank":16,"value":"custom_data_ABQ"},"BHL":{"caption":"Push RS1 to Proc List","editor":"DynamicValue","name":"push1_to_process_list","optional":true,"rank":10,"value":"boolean"},"BHM":{"caption":"Sum RS1 to Proc Result","editor":"DynamicValue","name":"sum1_to_process_result","optional":true,"rank":11,"value":"boolean"},"BHN":{"caption":"List to Iterate Over","default_val":"Shifted List","editor":"Dropdown","name":"list_to_iterate_over","optional":true,"rank":2},"BHO":{"caption":"Step Operand X","editor":"Dropdown","name":"step1_value1","optional":true,"rank":5},"BHP":{"caption":"Operator 1","editor":"Dropdown","name":"operator1","optional":true,"rank":6},"BHQ":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step1_value2","optional":true,"rank":7,"value":"custom_data_element_BKA"},"BHR":{"caption":"Set Proc Result to RS1","editor":"DynamicValue","name":"set1_processed_result","optional":true,"rank":12,"value":"boolean"},"BHS":{"caption":"Step Operand X","editor":"Dropdown","name":"step2_value1","optional":true,"rank":17},"BHT":{"caption":"Operator 2","editor":"Dropdown","name":"operator2","optional":true,"rank":18},"BHU":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step2_value2","optional":true,"rank":19,"value":"custom_data_element_BKA"},"BHV":{"caption":"Push RS2 to Proc List","editor":"DynamicValue","name":"push2_to_process_list","optional":true,"rank":22,"value":"boolean"},"BHW":{"caption":"Sum RS2 to Proc Result","editor":"DynamicValue","name":"sum2_to_process_result","optional":true,"rank":23,"value":"boolean"},"BHX":{"caption":"Set Proc Result to RS2","editor":"DynamicValue","name":"set2_processed_result","optional":true,"rank":24,"value":"boolean"},"BHY":{"caption":"STEP 3: CREATES Result Step 3 (RS3)","editor":"Label","name":"step_3","rank":29},"BHZ":{"caption":"Step Operand X","editor":"Dropdown","name":"step3_value1","optional":true,"rank":30},"BHa":{"caption":"Operator 3","editor":"Dropdown","name":"operator3","optional":true,"rank":31},"BHb":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step3_value2","optional":true,"rank":32,"value":"custom_data_element_BKA"},"BHc":{"caption":"Push RS3 to Proc List","editor":"DynamicValue","name":"push3_to_process_list","optional":true,"rank":35,"value":"boolean"},"BHd":{"caption":"Sum RS3 to Proc Result","editor":"DynamicValue","name":"sum3_to_process_result","optional":true,"rank":36,"value":"boolean"},"BHe":{"caption":"Set Proc Result to RS3","editor":"DynamicValue","name":"set3_processed_result","optional":true,"rank":37,"value":"boolean"},"BHf":{"caption":"STEP 4: CREATES Result Step 4 (RS4)","editor":"Label","name":"step_4","rank":42},"BHg":{"caption":"Step Operand X","editor":"Dropdown","name":"step4_value1","optional":true,"rank":43},"BHh":{"caption":"Operator 4","editor":"Dropdown","name":"operator4","optional":true,"rank":44},"BHi":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step4_value2","optional":true,"rank":45,"value":"custom_data_element_BKA"},"BHj":{"caption":"Push RS4 to Proc List","editor":"DynamicValue","name":"push4_to_process_list","optional":true,"rank":48,"value":"boolean"},"BHk":{"caption":"Sum RS4 to Proc Result","editor":"DynamicValue","name":"sum4_to_process_result","optional":true,"rank":49,"value":"boolean"},"BHl":{"caption":"Set Proc Result to RS4","editor":"DynamicValue","name":"set4_processed_result","optional":true,"rank":50,"value":"boolean"},"BHm":{"caption":"STEP 5: CREATES Result Step 5 (RS5)","editor":"Label","name":"step_5","rank":55},"BHn":{"caption":"Step Operand X","editor":"Dropdown","name":"step5_value1","optional":true,"rank":56},"BHo":{"caption":"Operator 5","editor":"Dropdown","name":"operator5","optional":true,"rank":57},"BHp":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step5_value2","optional":true,"rank":58,"value":"custom_data_element_BKA"},"BHq":{"caption":"Push RS5 to Proc List","editor":"DynamicValue","name":"push5_to_process_list","optional":true,"rank":61,"value":"boolean"},"BHr":{"caption":"Sum RS5 to Proc Result","editor":"DynamicValue","name":"sum5_to_process_result","optional":true,"rank":62,"value":"boolean"},"BHs":{"caption":"Set Proc Result to RS5","editor":"DynamicValue","name":"set5_processed_result","optional":true,"rank":63,"value":"boolean"},"BHt":{"caption":"This Action iterates over a list without calling a Bubble workflow (or just execute a process once if \"Do Once\" is selected). The results of the processing steps can be made to appear at List Shifter's Process Result (a single value) or Process List (a list value) outputs. You can also set the internal Custom Value or Custom List states.  NOTES: To use this Action, you must have a PROCESS Output Data Type selected in List Shifter's main interface. This Action is primarily intended for the NUMBER and TEXT data types. Error checking for other types is minimal. Many operations will throw errors. Open your browser console (F12) to see such things. \"Don't be silly,\" as I like to say.  Note that some Operators take only 1 operand (these are indicated by only having an \"x\" value) and so operate on Step Operand x (if supplied), otherwise they operate on Step Operand y (if supplied). If BOTH Operands are supplied, Step Operand x is used.","editor":"Label","name":"process_intro","rank":0},"BHu":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv1","optional":true,"rank":9,"value":"boolean"},"BHv":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv2","optional":true,"rank":21,"value":"boolean"},"BHw":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv3","optional":true,"rank":34,"value":"boolean"},"BHx":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv4","optional":true,"rank":47,"value":"boolean"},"BHy":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv5","optional":true,"rank":60,"value":"boolean"},"BHz":{"caption":"OR Use...","editor":"Dropdown","name":"or1","optional":true,"rank":8},"BIA":{"caption":"OR Use...","editor":"Dropdown","name":"or2","optional":true,"rank":20},"BIB":{"caption":"OR Use...","editor":"Dropdown","name":"or3","o
307ptional":true,"rank":33},"BIC":{"caption":"OR Use...","editor":"Dropdown","name":"or4","optional":true,"rank":46},"BID":{"caption":"OR Use...","editor":"Dropdown","name":"or5","optional":true,"rank":59},"BIE":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_2","optional":true,"rank":28},"BIF":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_3","optional":true,"rank":41},"BIG":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_4","optional":true,"rank":54},"BIH":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_5","optional":true,"rank":67},"BII":{"caption":"STEP 6: CREATES Result Step 6 (RS6)","editor":"Label","name":"step_6","rank":68},"BIJ":{"caption":"Step Operand X","editor":"Dropdown","name":"step6_value1","optional":true,"rank":69},"BIK":{"caption":"Operator 6","editor":"Dropdown","name":"operator6","optional":true,"rank":70},"BIL":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step6_value2","optional":true,"rank":71,"value":"custom_data_element_BKA"},"BIM":{"caption":"OR Use...","editor":"Dropdown","name":"or6","optional":true,"rank":72},"BIN":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv6","optional":true,"rank":73,"value":"boolean"},"BIO":{"caption":"Push RS6 to Proc List","editor":"DynamicValue","name":"push6_to_process_list","optional":true,"rank":74,"value":"boolean"},"BIP":{"caption":"Sum RS6 to Proc Result","editor":"DynamicValue","name":"sum6_to_process_result","optional":true,"rank":75,"value":"boolean"},"BIQ":{"caption":"Set Proc Result to RS6","editor":"DynamicValue","name":"set6_processed_result","optional":true,"rank":76,"value":"boolean"},"BIR":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_6","optional":true,"rank":80},"BIS":{"caption":"CONSTANTS","editor":"Label","name":"constants","rank":81},"BIT":{"caption":"Numeric Constant","editor":"DynamicValue","name":"numeric_constant","optional":true,"rank":82,"value":"number"},"BIU":{"caption":"Long Text Constant","editor":"DynamicValue","name":"long_text_constant","optional":true,"rank":85,"value":"text"},"BIV":{"caption":"Yes/No Constant","editor":"DynamicValue","name":"yes_no_constant","optional":true,"rank":83,"value":"boolean"},"BIW":{"caption":"Activate DEBUG","editor":"DynamicValue","name":"debug","optional":true,"rank":92,"value":"boolean"},"BIX":{"caption":"👆 Pro tip: You can write JavaScript code here and then use the \"eval(x)\" Operator on Long Text Constant. It's just like Run JavaScript. You can access variables i (current iteration), the Result Step values (rs1, rs2, rs3, rs4, rs5 - if you're using this as an Operand in Step 6), and list (an array that holds the list we're iterating over - e.g., list[i] is the same as Current Iteration Item). You can also access the constants (numeric_constant, yes_no_constant, any_constant, ls_type_constant, pl_type_constant, ls_type_list_constant, pl_type_list_constant, anyL_constant [the \"anything list\" constant]) as supplied in other constant fields.","editor":"Label","name":"pro_tip_1","rank":86},"BIY":{"caption":"Pro tip: Don't forget about the CONSTANTS area at the bottom of this dialog! 👇 ","editor":"Label","name":"pro_tip_0","rank":1},"BIZ":{"caption":"DEBUG Iterations","default_val":"All","editor":"Dropdown","name":"dbits","rank":93},"BIa":{"caption":"LS Type Constant","editor":"DynamicValue","name":"ls_type_constant","optional":true,"rank":87,"value":"custom_data_element_BJc"},"BIb":{"caption":"PL Type Constant","editor":"DynamicValue","name":"pl_type_constant","optional":true,"rank":88,"value":"custom_data_element_BKA"},"BIc":{"caption":"LS Type List Constant","editor":"DynamicValue","is_list":true,"name":"ls_type_list_constant","optional":true,"rank":89,"value":"custom_data_element_BJc"},"BId":{"caption":"PL Type List Constant","editor":"DynamicValue","is_list":true,"name":"pl_type_list_constant","optional":true,"rank":90,"value":"custom_data_element_BKA"},"BIe":{"caption":"Set Proc List to RS1","editor":"DynamicValue","name":"set_proc_list_to_rs1","optional":true,"rank":13,"value":"boolean"},"BIf":{"caption":"LIMIT PROCESSING TO SUBSET OF LIST","editor":"Label","name":"limit_processing_to_subset_of_list","rank":94},"BIg":{"caption":"Start Index","editor":"DynamicValue","name":"start","optional":true,"rank":96,"value":"number"},"BIh":{"caption":"End Index","editor":"DynamicValue","name":"end","optional":true,"rank":97,"value":"number"},"BIi":{"caption":"By default, Process List operates on the entire list. Use the Start and End Index fields below to run the process action only on a 
307subset of the list. Values are 1-based (Bubble style) and, if End is smaller than Start, the values will be swapped. If either Index is 1, 1 is used. If either Index is larger than the length of the list, the list length is used (e.g., the last item).","editor":"Label","name":"limit_info","rank":95},"BIj":{"caption":"Set Proc List to RS2","editor":"DynamicValue","name":"set_proc_list_to_rs2","optional":true,"rank":25,"value":"boolean"},"BIk":{"caption":"Set Proc List to RS3","editor":"DynamicValue","name":"set_proc_list_to_rs3","optional":true,"rank":38,"value":"boolean"},"BIl":{"caption":"Set Proc List to RS4","editor":"DynamicValue","name":"set_proc_list_to_rs4","optional":true,"rank":51,"value":"boolean"},"BIm":{"caption":"Set Proc List to RS5","editor":"DynamicValue","name":"set_proc_list_to_rs5","optional":true,"rank":64,"value":"boolean"},"BIn":{"caption":"Set Proc List to RS6","editor":"DynamicValue","name":"set_proc_list_to_rs6","optional":true,"rank":77,"value":"boolean"},"BIo":{"caption":"Don't Clear Processed List","editor":"DynamicValue","name":"no_clear","optional":true,"rank":99,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcProcessList(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. PROCESS List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BIp":{"caption":"STOP PROCESS","fields":{"BIq":{"caption":"STOP PROCESS INFO","editor":"Label","name":"stop_process_info","rank":0},"BIr":{"caption":"Execute this action to stop the PROCESSExecute this action to stop the PROCESS List Action. NOTE: It's not entirely clear to the author if this action actually has any effect. YMMV.","editor":"Label","name":"sp_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.processing&&(instance.data.stop_processing=!0):context.reportDebugger(\"List Shifter is not initialized. STOP Process action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BIs":{"caption":"PREFETCH","fields":{"BIt":{"caption":"PREFETCH INFO","editor":"Label","name":"prefetch_info","rank":0},"BIu":{"caption":"Pages to Fetch","editor":"Dropdown","name":"num_pages","optional":true,"rank":2},"BIv":{"caption":"Execute this action to prefetch pages. This action only has effect when List Shifter is in pagination mode. When the action is executed, List Shifter will fetch <i>n</i> pages around the current page. Note that this action should only be executed in response to some List Shifter event such as List Shifter Initialized or List Shifter Page Changed.","editor":"Label","name":"pi_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPrefetch(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. PREFETCH action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BIw":{"caption":"SET Process FIELD of Interest","fields":{"BIx":{"caption":"SET FIELD OF INTEREST INFO","editor":"Label","name":"spf_info","rank":0},"BIy":{"caption":"Execute this action before running a PROCESS action to supply a FIELD OF INTEREST for the PROCESS LIST Action. Note that List Shifter now has 3 Fields of Interest that you can set (FOIs 2 and 3 are optional). These are accessed in PROCESS List steps as Field of Interest, Field of Interest 2, and Field of Interest 3.","editor":"Label","name":"spf_info_2","rank":1},"BIz":{"caption":"Data Type to Process","editor":"custom_type","name":"data_type_to_process","optional":false,"rank":2,"value":"custom_data_element_AAF"},"BJA":{"caption":"Field of Interest","editor":"custom_field_BIz","name":"field_of_interest","rank":3},"BJB":{"caption":"Field of Interest 2","editor":"custom_field_BIz","name":"field_of_interest_2","optional":true,"rank":4},"BJC":{"caption":"Field of Interest 3","editor":"custom_field_BIz","name":"field_of_interest_3","optional":true,"rank":5}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcSetFOI(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. SET FIELD of Interest action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BJD":{"caption":"SET Custom List","fields":{"BJE":{"caption":"SET CUSTOM LIST INFO","editor":"Label","name":"set_info","rank":0},"BJF":{"caption":"Use this action to set List Shifter's internal Custom List. You can optionally publish the value immediately to List Shifter's Custom List output (or cho
307ose to publish it later via the PUBLISH Custom List Action). You can optionally concatenate the current Custom List with additional values. You can optionally trigger the Custom List Updated event, which is useful because this operation is *asynchronous* and we cannot guarantee when the operation completes.","editor":"Label","name":"set_info_2","rank":1},"BJG":{"caption":"Custom List","editor":"DynamicValue","is_list":true,"name":"custom_list","optional":true,"rank":2,"value":"custom_data_element_BKA"},"BJH":{"caption":"Publish Custom List?","editor":"DynamicValue","name":"publish","optional":true,"rank":5,"value":"boolean"},"BJI":{"caption":"Concatenate List","editor":"DynamicValue","name":"concatenate","optional":true,"rank":4,"value":"boolean"},"BJJ":{"caption":"Trigger Custom List Updated Event?","editor":"DynamicValue","name":"trigger","optional":true,"rank":6,"value":"boolean"},"BJK":{"caption":"Use Scalar","editor":"DynamicValue","name":"scalar","optional":true,"rank":3,"value":"custom_data_element_BKA"}},"code":{"fn":"function(instance,properties,context){if(instance.data.initialized){var custom_list=[];custom_list=properties.scalar?[properties.scalar]:properties.custom_list?instance.data.funcGetList(properties.custom_list):[],properties.concatenate&&(instance.data.custom_list=instance.data.custom_list.concat(custom_list)),properties.concatenate||(instance.data.custom_list=custom_list),properties.publish&&instance.publishState(\"custom_list\",instance.data.custom_list),properties.trigger&&instance.triggerEvent(\"custom_list_updated\")}else context.reportDebugger(\"List Shifter is not initialized. SET Custom List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BJL":{"caption":"CLEAR Processed List and Processed Result","fields":{"BJM":{"caption":"CLEAR PROCESSED LIST AND PROCESSED RESULT INFO","editor":"Label","name":"clear_processed_list_and_processed_result_info","rank":0},"BJN":{"caption":"Execute this action to clear (set to empty) the Processed List and Processed Result outputs.","editor":"Label","name":"cpl_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.processing||(instance.data.processed_list=[],instance.data.processed_result=null,instance.publishState(\"processed_result\",instance.data.processed_result),instance.publishState(\"processed_list\",instance.data.processed_list)):context.reportDebugger(\"List Shifter is not initialized. CLEAR Processed List and Processed Result action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function t(a,e){a.data.nanoid=nanoid(),a.data.current_iteration_item=null,a.data.current_iteration_index=null,a.data.list_to_shift=[],a.data.list_shifted=[],a.data.processed_list=[],a.data.processed_result=null,a.data.selected=null,a.data.initialized=null,a.data.iterating=null,a.data.processing=null,a.data.update_deferred=null,a.data.scalar=null,a.data.custom_value=null,a.data.custom_list=[],a.data.og_list=[],a.data.loading=null,a.data.prefetching=null,a.data.item_count=null,a.data.paginating=null,a.data.total_pages=null,a.data.page=null,a.data.items_per_page=null,a.data.page_list=[],a.data.max_pages=null,a.data.pageStartIndex=null,a.data.pageEndIndex=null,a.data.page_item_indices=[],a.data.field_of_interest=null,a.data.funcUpdate=function(t,a,e){t.data.iterating||t.data.processing?t.data.update_deferred=!0:(t.data.initialized=null,t.publishState(\"initialized\",t.data.initialized),a?t.data.props_backup=a:a=t.data.props_backup,t.data.selected=null,t.data.last_2_selected_items_list=[],t.publishState(\"selected_item_number\",t.data.selected),t.publishState(\"last_2_selected_items_list\",t.data.last_2_selected_items_list),t.data.type=a.data_type_of_list,t.data.process_output_type=a.process_output_type,t.data.scalar=null!=a.use_scalar?a.use_scalar:null,a.numeric_list||(t.data.items_per_page=a.items_per_page?a.items_per_page:null,t.data.paginating=!!t.data.items_per_page),t.data.og_list=a.numeric_list?[]:a.list_to_shift,a.numeric_list?\"number\"===t.data.type?(t.data.item_count=Math.round(a.num_items),t.publishState(\"item_count\",t.data.item_count),null!=a.start?t.data.start=a.start:t.data.start=1,null!=a.increment?t.data.increment=a.increment:t.data.increment=1,t.data.item_count<1?t.data.list_to_shift=[]:t.data.list_to_shift=t.data.funcMakeNumList(t.data.item_count,t.data.start,t.data.increment),t.data.og_list=t.data.list_to_shift):e.reportDebugger(\"Warning: List Shifter's Make a Numeric List option is turned on, but Data Type of List is set to \"+t.data.type+\". Your Make a Numeric List settings will be ignored. Set Data Type of List to number to use this feature. List Shifter's Original and Shifted Lists have been set to empty.\"):(t.data.item_count=t.data.og_list?t.data.og_list.length():t.data.scalar?1:0,t.publishState(\"item_count\",t.data.item_count),t.data.paginating&&(t.data.total_pages=Math.ceil(t.data.item_count/t.data.items_per_page),t.data.prefetch=a.prefetch?a.prefetch:0,t.data.max_pages=a.max_pages?a.max_pages:t.data.total_pages,t.data.page=t.data.page||1,t.data.funcPublishPages(t.data.page)),t.data.list_to_shift=t.data.og_list?t.data.funcGetList(t.data.og_list,!0,t.data.page):t.data.scalar?[t.data.scalar]:null),t.data.list_to_shift,t.data.og_list,t.data.reverse_list=a.reverse_list,t.data.rotate_by=a.rotate_by,t.data.track=a.track,t.data.funcInitShift(),t.data.funcPublishOriginalStates(),t.data.initialized=!0,t.publishState(\"initialized\",t.data.initialized),t.triggerEvent(\"initialized\"))},a.data.funcMakeNumList=function(t,a,e){for(var n=[],s=0;s<t;s++)n.push(a+s*e);return n},a.data.funcInitShift=function(){a.data.reverse_list&&a.data.list_to_shift?a.data.list_shifted=a.data.funcRev([...a.data.list_to_shift]):a.data.list_to_shift?a.data.list_shifted=[...a.data.list_to_shift]:a.data.list_shifted=null,a.data.rotate_by&&a.data.list_to_shift&&a.data.funcRotate(a.data.list_shifted,a.data.rotate_by)},a.data.funcPublishPages=function(t){if(a.data.paginating){var e,n;if(a.data.page=t,a.data.total_pages<=a.data.max_pages)e=1,n=a.data.total_pages;else{var s=Math.floor(a.data.max_pages/2),r=Math.ceil(a.data.max_pages/2)-1;a.data.page<=s?(e=1,n=a.data.max_pages):a.data.page+r>=a.data.total_pages?(e=a.data.total_pages-a.data.max_pages+1,n=a.data.total_pages):(e=a.data.page-s,n=a.data.page+r)}a.data.page_list=Array.from(Array(n+1-e).keys()).map((t=>e+t));var l=Math.min(a.data.pageStartIndex+1,a.data.item_count);a.data.pageEndIndex=Math.min(a.data.pageStartIndex+a.data.items_per_page,a.data.item_count),a.data.page_item_indices=Array.from(Array(a.data.pageEndIndex+1-l).keys()).map((t=>l+t)),a.data.initialized||(a.publishState(\"paginating\",a.data.paginating),a.publishState(\"total_pages\",a.data.total_pages),a.publishState(\"items_per_page\",a.data.items_per_page)),a.publishState(\"page\",a.data.page),a.publishState(\"page_start_index\",l),a.publishState(\"page_end_index\",a.data.pageEndIndex),a.publishState(\"page_list\",a.data.page_list),a.publishState(\"page_item_indices\",a.data.page_item_indices),a.data.initialized&&a.triggerEvent(\"page_changed\")}},a.data.funcPageNav=function(t,e){var n,s;a.data.paginating&&(n=e.advance_by?e.advance_by:1,(s=\"prev\"==t?a.data.page-n:\"next\"==t?a.data.page+n:t)<1&&(s=e.wrap?(s%a.data.total_pages+a.data.total_pages)%a.data.total_pages:1),s>a.data.total_pages&&(s=e.wrap?s%a.data.total_pages:a.data.total_pages),0==s&&(s=a.data.total_pages),a.data.og_list&&(a.data.list_to_shift=a.data.funcGetList(a.data.og_list,!0,s),a.data.funcInitShift(),a.data.funcPublishOriginalStates(),a.data.funcPublishPages(s)))},a.data.funcPrefetch=function(t,a,e){if(!t.data.loading&&t.data.paginating){var n=a.num_pages?a.num_pages:t.data.prefetch;if(n){var s;for(t.data.prefetching=!0,t.publishState(\"prefetching\",t.data.prefetching),s=1;s<=n/2;s++)pageNumPlus=t.data.funcWrapPage(t.data.page+s),pageNumMinus=t.data.funcWrapPage(t.data.page-s),t.data.funcCachePage(t.data.og_list,pageNumPlus),t.data.funcCachePage(t.data.og_list,pageNumMinus);t.data.prefetching=null,t.publishState(\"prefetching\",t.data.prefetching)}}},a.data.funcWrapPage=function(t){var e=t;return t<1&&(e=(t%a.data.total_pages+a.data.total_pages)%a.data.total_pages),t>a.data.total_pages&&(e=t%a.data.total_pages),0==e&&(e=a.data.total_pages),e},a.data.funcWrapPos=function(t,a,e){var n=t+a;return n<1&&(n=(n%e+e)%e),n>e&&(n%=e),0==n&&(n=e),n},a.data.funcSetFOI=function(t,a,e){t.data.field_of_interest=a.field_of_interest?a.field_of_interest:null,t.data.field_of_interest_2=a.field_of_interest_2?a.field_of_interest_2:null,t.data.field_of_interest_3=a.field_of_interest_3?a.field_of_interest_3:null},a.data.funcSortList=function(t,a,e){if(t.data.sort_source_list=a.source_list?t.data.funcGetList(a.source_list):null,!(null==t.data.sort_source_list||t.data.sort_source_list.length<1)){var n,s=null,r=null,l=!(!t.data.track||t.data.is_different),o,_,c;if(t.data.track&&(s=t.data.last_2_selected_items_list.length?t.data.last_2_selected_items_list[t.data.last_2_selected_items_list.length-1]:null),t.data.track&&(r=t.data.last_2_selected_items_list.length>1?t.data.last_2_selected_items_list[0]:null),t.data.paginating||(n=t.data.list_to_shift.map(((a,i)=>({index:i,value:void 0!==t.data.sort_source_list[i]?t.data.sort_source_list[i]:null,selected:s==i?t.data.list_shifted[i]:null,prevSelected:r==i?t.data.list_shifted[i]:null})))),t.data.paginating&&(n=t.data.list_to_shift.map(((a,i)=>({index:i,value:void 0!==t.data.sort_source_list[i]?t.data.sort_source_list[i]:null})))),\"Number\"==a.sort_as&&(n.forEach((t=>t.value=Number(t.value))),n.sort((function(t,e){return isNaN(t.value)||isNaN(e.value)?isNaN(t.value)-isNaN(e.value):a.descending?e.value-t.value:t.value-e.value}
307))),\"Text\"==a.sort_as){n.forEach((t=>t.value=null!=t.value?String(t.value):null));var u=Intl.DateTimeFormat().resolvedOptions().locale;n.sort((function(t,e){return null!==t.value&&null!==e.value?a.descending?e.value.localeCompare(t.value,u):t.value.localeCompare(e.value,u):(null===t.value)-(null===e.value)}))}if(\"Date\"==a.sort_as&&t.data.funcIsDate(n[0].value)&&n.sort((function(t,e){var n=null!==t.value?t.value.getTime():null,s=null!==e.value?e.value.getTime():null;return isNaN(n)||isNaN(s)?isNaN(n)-isNaN(s):a.descending?s-n:n-s})),t.data.paginating||(t.data.last_2_selected_items_list=[],t.data.list_shifted=n.map(((a,i)=>(a.prevSelected&&(r=l?i:a.prevSelected),a.selected&&(s=l?i:a.selected),t.data.list_to_shift[a.index]))),l?(null!=r&&t.data.last_2_selected_items_list.push(r),null!=s&&t.data.last_2_selected_items_list.push(s),t.data.selected=s):t.data.track&&(null!=r&&t.data.last_2_selected_items_list.push(t.data.list_shifted.indexOf(r)),null!=s&&t.data.last_2_selected_items_list.push(t.data.list_shifted.indexOf(s)),t.data.selected=t.data.list_shifted.indexOf(s))),t.data.paginating)t.data.list_shifted=n.map(((a,i)=>t.data.list_to_shift[a.index])),o=Math.max(...t.data.page_item_indices),_=Math.min(...t.data.page_item_indices),c=Array.from(Array(o+1-_).keys()).map((t=>_+t)),t.data.page_item_indices=n.map(((t,i)=>c[t.index])),t.publishState(\"page_item_indices\",t.data.page_item_indices);t.data.funcPublishStates(),a.trigger&&t.triggerEvent(\"sort_complete\")}},a.data.funcGetIndex=function(t,a,e){var n,s,r,l,u;r=t.data.funcGetUIDs(t.data.list_to_shift),l=t.data.funcGetUIDs(t.data.list_shifted),u=t.data.funcGetID(a.item_to_find),n=a.get_last_index?r.lastIndexOf(u):r.indexOf(u),s=a.get_last_index?l.lastIndexOf(u):l.indexOf(u),t.publishState(\"index_item\",a.item_to_find),n>-1?t.publishState(\"index_of_item_original\",n+1):t.publishState(\"index_of_item_original\",null),s>-1?t.publishState(\"index_of_item_shifted\",s+1):t.publishState(\"index_of_item_shifted\",null),a.set_selected_if_found&&s>-1&&(t.data.funcSetSelected(s,!0),t.data.funcPublishStates()),n>-1||s>-1?t.triggerEvent(\"item_index_found\"):t.triggerEvent(\"item_index_not_found\")},a.data.funcRotateArray=function(t,a){var i,e,n=t.length;for(Math.abs(a)>=n&&(a%=n),a<0&&(a+=n);a;a=(Math.ceil(n/a)-1)*a-n+(n=a))for(i=n;i>a;e=t[--i],t[i]=t[i-a],t[i-a]=e);return t},a.data.funcRotateArray3=function(t,a,e=t.length){return t.map(((n,i,s)=>t[((a+i)%e+e)%e]))},a.data.funcRotateArray2=function(t,a){a=-a;var e=t.length>>>0;return a>>=0,Array.prototype.unshift.apply(t,Array.prototype.splice.call(t,a%e,e)),t},a.data.funcRotate=function(t,e){a.data.funcRotateArray(t,e),a.data.paginating&&(a.data.funcRotateArray(a.data.page_item_indices,e),a.publishState(\"page_item_indices\",a.data.page_item_indices)),a.data.track&&null!=a.data.selected&&(a.data.paginating||a.data.funcSetSelected(a.data.funcWrapPos(a.data.selected+1,e,t.length)-1))},a.data.funcGetList=function(t,e,n){var s=[];return t.hasOwnProperty(\"get\")?t.length()<1?s:e?(e&&(a.data.loading=!0,a.publishState(\"loading\",a.data.loading)),s=null!==n?(a.data.pageStartIndex=(n-1)*a.data.items_per_page,t.get(a.data.pageStartIndex,a.data.items_per_page)):t.get(0,t.length()),e&&(a.data.loading=null,a.publishState(\"loading\",a.data.loading)),s):t.get(0,t.length()):s},a.data.funcCachePage=function(t,e){t.length()<1||!e||t.get((e-1)*a.data.items_per_page,a.data.items_per_page)},a.data.funcGetUIDs=function(t){return t[0]&&t[0].hasOwnProperty(\"listProperties\")?t.map((t=>t.get(\"_id\"))):t},a.data.funcGetID=function(t){return t?t.hasOwnProperty(\"get\")?t.get(\"_id\"):t:null},a.data.funcDething=function(t){return Array.isArray(t)?a.data.funcGetUIDs(t):a.data.funcGetID(t)},a.data.funcDistance=function(t,a){return Math.abs(t-a)},a.data.funcAccLTCont=function(t){return function(e,n,s,r){return n<t&&(1==a.data.funcDistance(n,t)||r.some((t=>1==a.data.funcDistance(t,n))))&&e.push(n),e}},a.data.funcContToGoal=function(t,e,n,s){return 1==a.data.funcDistance(t,e)?e:t},a.data.funcRev=function(t){if(t.reverse(),a.data.paginating&&(a.data.page_item_indices.reverse(),a.publishState(\"page_item_indices\",a.data.page_item_indices)),a.data.track&&null!=a.data.selected&&!a.data.paginating){var e=t.length-a.data.selected-1;e-=t.length*Math.floor(e/t.length),a.data.funcSetSelected(e)}return t},a.data.funcSwapItems=function(t,e){if(t--,e--,a.data.list_shifted[e]=[a.data.list_shifted[t],a.data.list_shifted[t]=a.data.list_shifted[e]][0],a.data.track&&!a.data.paginating){if(a.data.selected==t)return void a.data.funcSetSelected(e);a.data.selected==e&&a.data.funcSetSelected(t)}a.data.paginating&&(a.data.page_item_indices[e]=[a.data.page_item_indices[t],a.data.page_item_indices[t]=a.data.page_item_indices[e]][
3070],a.publishState(\"page_item_indices\",a.data.page_item_indices))},a.data.funcIsDifferent=function(){return a.data.track?a.data.list_shifted.some(((t,e)=>t!==a.data.list_to_shift[e])):null},a.data.funcSetSelected=function(t,e){if(!a.data.track)return null;a.data.selected=t,e?a.data.last_2_selected_items_list.length>1?(a.data.last_2_selected_items_list.shift(),a.data.last_2_selected_items_list.push(t)):a.data.last_2_selected_items_list.push(t):a.data.last_2_selected_items_list&&(a.data.last_2_selected_items_list.length>1?(a.data.last_2_selected_items_list[1]=a.data.list_shifted.indexOf(a.data.backupItems[1]),a.data.last_2_selected_items_list[0]=a.data.list_shifted.indexOf(a.data.backupItems[0])):a.data.last_2_selected_items_list[0]=t),a.data.backupItems=[a.data.list_shifted[a.data.last_2_selected_items_list[0]],a.data.list_shifted[a.data.last_2_selected_items_list[1]]]},a.data.funcEvals=function t(i,list,rs1,rs2,rs3,rs4,rs5,numeric_constant,yes_no_constant,any_constant,ls_type_constant,pl_type_constant,ls_type_list_constant,pl_type_list_constant,anyL_constant,code,debug,dbits){return debug&&i<dbits&&(window.console.group(\"LS Debugger for operator eval(x) Iteration i =\",i),window.console.log(\"You can access the following values in your eval code:\"),window.console.log(\"LS rs1 is:\",rs1,\"type: \",typeof rs1),window.console.log(\"LS rs2 is:\",rs2,\"type: \",typeof rs2),window.console.log(\"LS rs3 is:\",rs3,\"type: \",typeof rs3),window.console.log(\"LS rs4 is:\",rs4,\"type: \",typeof rs4),window.console.log(\"LS rs5 is:\",rs5,\"type: \",typeof rs5),window.console.log(\"LS numeric_constant is:\",numeric_constant,\"type: \",typeof numeric_constant),window.console.log(\"LS yes_no_constant is:\",yes_no_constant,\"type: \",typeof yes_no_constant),window.console.log(\"LS any_constant is:\",any_constant,\"type: \",typeof any_constant),window.console.log(\"LS ls_type_constant is:\",ls_type_constant,\"type: \",typeof ls_type_constant),window.console.log(\"LS pl_type_constant is:\",pl_type_constant,\"type: \",typeof pl_type_constant),window.console.log(\"LS ls_type_list_constant is:\",ls_type_list_constant),window.console.log(\"LS pl_type_list_constant is:\",ps_type_list_constant),window.console.log(\"LS anyL_constant is:\",anyL_constant),window.console.log(\"LS list has:\",list.length,\"items\"),window.console.groupEnd()),eval(code)},a.data.funcSetList=function(t){return Array.isArray(t)?t:[t]},a.data.funcSetScalar=function(t){return\"date_range\"==a.data.process_output_type||\"number_range\"==a.data.process_output_type?t:Array.isArray(t)?t[0]:t},a.data.funcIsDate=function(t){return\"[object Date]\"===Object.prototype.toString.call(t)},a.data.funcProcessList=function(t,a,e){if(t.data.processing)e.reportDebugger(\"PROCESS action is already running. New PROCESS action will not begin.\");else{t.triggerEvent(\"processing_started\");var i,rs1,rs2,rs3,rs4,rs5,n,s,r,l,u,o,_,dbits,c,d=null;c=a.no_clear?t.data.processed_list:[];var numeric_constant,p,yes_no_constant,any_constant,f=[],ls_type_list_constant=[],pl_type_list_constant=[],anyL_constant=[];if(numeric_constant=null!=a.numeric_constant?a.numeric_constant:0,p=a.long_text_constant?a.long_text_constant:\"\",yes_no_constant=null!=a.yes_no_constant&&a.yes_no_constant,any_constant=a.any_constant?a.any_constant:null,null!=a.ls_type_constant?ls_type_constant=a.ls_type_constant:ls_type_constant=null,null!=a.pl_type_constant?pl_type_constant=a.pl_type_constant:pl_type_constant=null,ls_type_list_constant=a.ls_type_list_constant?t.data.funcGetList(a.ls_type_list_constant):[],pl_type_list_constant=a.pl_type_list_constant?t.data.funcGetList(a.pl_type_list_constant):[],anyL_constant=a.anyL_constant?t.data.funcGetList(a.anyL_constant):[],s=a.step1_value1||a.step1_value1||a.step1_value2||a.push1_to_process_list||a.sum1_to_process_result||a.set1_processed_result||a.or1||a.set_proc_list_to_rs1||a.set_cust_val_to_rs1||a.set_cust_list_to_rs1,r=a.step2_value1||a.step2_value1||a.step2_value2||a.push2_to_process_list||a.sum2_to_process_result||a.set2_processed_result||a.or2||a.set_proc_list_to_rs2||a.set_cust_val_to_rs2||a.set_cust_list_to_rs2,l=a.step3_value1||a.step3_value1||a.step3_value2||a.push3_to_process_list||a.sum3_to_process_result||a.set3_processed_result||a.or3||a.set_proc_list_to_rs3||a.set_cust_val_to_rs3||a.set_cust_list_to_rs3,u=a.step4_value1||a.step4_value1||a.step4_value2||a.push4_to_process_list||a.sum4_to_process_result||a.set4_processed_result||a.or4||a.set_proc_list_to_rs4||a.set_cust_val_to_rs4||a.set_cust_list_to_rs4,o=a.step5_value1||a.step5_value1||a.step5_value2||a.push5_to_process_list||a.sum5_to_process_result||a.set5_processed_result||a.or5||a.set_proc_list_to_rs5||a.set_cust_val_to_rs5||a.set_cust_list_to_rs5,_=a.step6_value1||a.step6_value1||a.step6_value2||a.push6_to_process_list||a.sum6_to_process_result||a.set6_processed_result||a.or6||a.set_proc_list_to_rs6||a.set_cust_val_to_rs6||a.set_cust_list_to_rs6,a.alterna_list&&(f=t.data.funcGetList(a.alterna_list)),!a.alterna_list)switch(a.list_to_iterate_over){case\"\":f=[];case\"Shifted List\":f=t.data.list_shifted;break;case\"Original List\":f=t.data.list_to_shift;break;
307case\"Processed List\":f=[...t.data.processed_list];break;case\"Do Once\":f=[0];break;case\"Custom List\":f=t.data.custom_list}if(!f||f.length<1)return e.reportDebugger(\"Selected list has no items: PROCESS action will not begin.\"),t.data.processing=null,t.publishState(\"processing\",t.data.processing),void t.triggerEvent(\"processing_complete\");t.data.processing=!0,t.publishState(\"processed_result\",d),t.publishState(\"processing\",t.data.processing),a.debug&&(dbits=\"All\"==a.dbits||a.dbits>f.length?f.length:a.dbits);var g=null!=a.start?Math.round(a.start):1,h=null!=a.end?Math.round(a.end):f.length;for(h<g&&(g=h+(h=g,0)),g=g<1?g=1:g>f.length?f.length:g,h=h<1?h=1:h>f.length?f.length:h,console.log,i=g-1;i<h;i++){if(t.data.stop_processing){t.data.stop_processing=null;break}s&&(rs1=y(m(a.step1_value1),a.operator1,a.or1?m(a.or1):a.step1_value2,a.inv1),a.push1_to_process_list&&c.push(rs1),a.sum1_to_process_result&&(d=0==i&&null==d?rs1:y(d,\"+ (x + y)\",rs1)),a.set1_processed_result&&(d=t.data.funcSetScalar(rs1)),a.set_proc_list_to_rs1&&(c=t.data.funcSetList(rs1)),a.set_cust_val_to_rs1&&(t.data.custom_value=t.data.funcSetScalar(rs1)),a.set_cust_list_to_rs1&&(t.data.custom_list=t.data.funcSetList(rs1))),r&&(rs2=y(m(a.step2_value1),a.operator2,a.or2?m(a.or2):a.step2_value2,a.inv2),a.only_if_2&&!m(a.only_if_2)||(a.push2_to_process_list&&c.push(rs2),a.sum2_to_process_result&&(d=0==i&&null==d?rs2:y(d,\"+ (x + y)\",rs2)),a.set2_processed_result&&(d=t.data.funcSetScalar(rs2)),a.set_proc_list_to_rs2&&(c=t.data.funcSetList(rs2)),a.set_cust_val_to_rs2&&(t.data.custom_value=t.data.funcSetScalar(rs2)),a.set_cust_list_to_rs2&&(t.data.custom_list=t.data.funcSetList(rs2)))),l&&(rs3=y(m(a.step3_value1),a.operator3,a.or3?m(a.or3):a.step3_value2,a.inv3),a.only_if_3&&!m(a.only_if_3)||(a.push3_to_process_list&&c.push(rs3),a.sum3_to_process_result&&(d=0==i&&null==d?rs3:y(d,\"+ (x + y)\",rs3)),a.set3_processed_result&&(d=t.data.funcSetScalar(rs3)),a.set_proc_list_to_rs3&&(c=t.data.funcSetList(rs3)),a.set_cust_val_to_rs3&&(t.data.custom_value=t.data.funcSetScalar(rs3)),a.set_cust_list_to_rs3&&(t.data.custom_list=t.data.funcSetList(rs3)))),u&&(rs4=y(m(a.step4_value1),a.operator4,a.or4?m(a.or4):a.step4_value2,a.inv4),a.only_if_4&&!m(a.only_if_4)||(a.push4_to_process_list&&c.push(rs4),a.sum4_to_process_result&&(d=0==i&&null==d?rs4:y(d,\"+ (x + y)\",rs4)),a.set4_processed_result&&(d=t.data.funcSetScalar(rs4)),a.set_proc_list_to_rs4&&(c=t.data.funcSetList(rs4)),a.set_cust_val_to_rs4&&(t.data.custom_value=t.data.funcSetScalar(rs4)),a.set_cust_list_to_rs4&&(t.data.custom_list=t.data.funcSetList(rs4)))),o&&(rs5=y(m(a.step5_value1),a.operator5,a.or5?m(a.or5):a.step5_value2,a.inv5),a.only_if_5&&!m(a.only_if_5)||(a.push5_to_process_list&&c.push(rs5),a.sum5_to_process_result&&(d=0==i&&null==d?rs5:y(d,\"+ (x + y)\",rs5)),a.set5_processed_result&&(d=t.data.funcSetScalar(rs5)),a.set_proc_list_to_rs5&&(c=t.data.funcSetList(rs5)),a.set_cust_val_to_rs5&&(t.data.custom_value=t.data.funcSetScalar(rs5)),a.set_cust_list_to_rs5&&(t.data.custom_list=t.data.funcSetList(rs5)))),_&&(n=y(m(a.step6_value1),a.operator6,a.or6?m(a.or6):a.step6_value2,a.inv6),a.only_if_6&&!m(a.only_if_6)||(a.push6_to_process_list&&c.push(n),a.sum6_to_process_result&&(d=0==i&&null==d?n:y(d,\"+ (x + y)\",n)),a.set6_processed_result&&(d=t.data.funcSetScalar(n)),a.set_proc_list_to_rs6&&(c=t.data.funcSetList(n)),a.set_cust_val_to_rs6&&(t.data.custom_value=t.data.funcSetScalar(n)),a.set_cust_list_to_rs6&&(t.data.custom_list=t.data.funcSetList(n)))),a.debug&&i<dbits&&(window.console.group(\"LS PROCESS List Iteration: \",i),window.console.log(\"LS Starting at:\",g-1,\"Ending at:\",h-1),window.console.log(\"LS\",i,\"list[i] is:\",f[i],\" (Current Iteration Item)\"),window.console.log(\"LS\",i,\"rs1 is: \",rs1),window.console.log(\"LS\",i,\"rs2 is: \",rs2),window.console.log(\"LS\",i,\"rs3 is: \",rs3),window.console.log(\"LS\",i,\"rs4 is: \",rs4),window.console.log(\"LS\",i,\"rs5 is: \",rs5),window.console.log(\"LS\",i,\"rs6 is: \",n),window.console.log(\"LS\",i,\"processed_result is:\",d),window.console.log(\"LS\",i,\"processed_list is:\",c),window.console.log(\"LS\",i,\"Custom List is:\",t.data.custom_list),window.console.groupEnd())}t.data.processing=null,t.data.processed_result=d,t.data.processed_list=c,t.publishState(\"processed_result\",t.data.processed_result),t.publishState(\"processed_list\",t.data.processed_list),t.publishState(\"processing\",t.data.processing),a.publish_custom_value&&t.publishState(\"custom_value\",t.data.custom_value),a.publish_custom_list&&t.publishState(\"custom_list\",t.data.custom_list),t.triggerEvent(\"processing_complete\"),t.data.update_deferred&&(t.data.update_deferred=null,t.data.funcUp
307date(t,null,e))}function m(a){switch(a){case\"\":default:return null;case\"List Item\":return f[i];case\"List Item Index (0-based)\":return i;case\"List Item Index (1-based)\":return i+1;case\"Previous List Item\":return i>0?f[i-1]:null;case\"Next List Item\":return i<f.length-1?f[i+1]:null;case\"List (All Values)\":return f;case\"Result Step 1\":return rs1;case\"Result Step 2\":return rs2;case\"Result Step 3\":return rs3;case\"Result Step 4\":return rs4;case\"Result Step 5\":return rs5;case\"Result Step 6\":return n;case\"!Result Step 1\":return!rs1;case\"!Result Step 2\":return!rs2;case\"!Result Step 3\":return!rs3;case\"!Result Step 4\":return!rs4;case\"!Result Step 5\":return!rs5;case\"!Result Step 6\":return!n;case\"Processed Result\":return d;case\"Not First Iteration\":return 0!=i;case\"Not Last Iteration\":return i!=f.length-1;case\"Math.random()\":return Math.random();case\"Math.E\":return Math.E;case\"Math.PI\":return Math.PI;case\"Math.SQRT2\":return Math.SQRT2;case\"Math.SQRT1_2\":return Math.SQRT1_2;case\"Math.LN2\":return Math.LN2;case\"Math.LN10\":return Math.LN10;case\"Math.LOG2E\":return Math.LOG2E;case\"Math.LOG10E\":return Math.LOG10E;case\"Numeric Constant\":return numeric_constant;case\"Long Text Constant\":return p;case\"Yes/No Constant\":return yes_no_constant;case\"Anything Constant\":return any_constant;case\"LS Type Constant\":return ls_type_constant;case\"PL Type Constant\":return pl_type_constant;case\"LS Type List Constant\":return ls_type_list_constant;case\"PL Type List Constant\":return pl_type_list_constant;case\"Anything List Constant\":return anyL_constant;case\"LS Type List Constant ITEM\":return null!=ls_type_list_constant[i]?ls_type_list_constant[i]:null;case\"PL Type List Constant ITEM\":return null!=pl_type_list_constant[i]?pl_type_list_constant[i]:null;case\"Anything List Constant ITEM\":return null!=anyL_constant[i]?anyL_constant[i]:null;case\"LS Scalar\":return t.data.scalar;case\"Original List\":return t.data.list_to_shift;case\"Shifted List\":return t.data.list_shifted;case\"Processed List\":return t.data.processed_list;case\"Current Custom Value\":return t.data.custom_value;case\"Current Iteration Item\":return t.data.current_iteration_item;case\"Current Iteration Index (0-based)\":return t.data.current_iteration_index;case\"Current Iteration Index (1-based)\":return t.data.current_iteration_index+1;case\"Current Custom List\":return t.data.custom_list;case\"List Item Field of Interest\":{var e=f[i];function s(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest&&a.listProperties().includes(t.data.field_of_interest)?a.get(t.data.field_of_interest):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return Array.isArray(e)?e.map((t=>s(t))):s(e)}case\"List Item Field of Interest 2\":{function s(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest_2&&a.listProperties().includes(t.data.field_of_interest_2)?a.get(t.data.field_of_interest_2):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return e=f[i],Array.isArray(e)?e.map((t=>s(t))):s(e)}case\"List Item Field of Interest 3\":{function s(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest_3&&a.listProperties().includes(t.data.field_of_interest_3)?a.get(t.data.field_of_interest_3):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return e=f[i],Array.isArray(e)?e.map((t=>s(t))):s(e)}case\"true\":return!0;case\"false\":return!1;case\"0\":return 0;case\"1\":return 1}}function y(e,n,s,r){var l,u=null,o=Array.isArray(e),_=Array.isArray(s);switch(String(n).startsWith(\"Range\")||(u=o?e:_?s:null,Array.isArray(u)&&!_&&u===s&&(s=e)),l=!(!o||!_),n){case void 0:return null!=e?e:null!=s?s:null;case\"+ (x + y)\":{function d(t,a,e){var n;return\"string\"==typeof t||\"string\"==typeof a?String(t).concat(String(a)):(n=t+a,isNaN(n)?null:n)}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"- (x - y)\":{function d(t,a,e){var n=e?a-t:t-a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"* (x * y)\":{function d(t,a,e){var n=e?a*t:t*a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}
307case\"/ (x / y)\":{function d(t,a,e){var n=e?a/t:t/a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"^ (x ** y)\":{function d(t,a,e){var n=e?a**t:t**a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"modulus (x % y)\":{function d(t,a,e){var n=e?a%t:t%a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"increment (++x)\":{function d(t,a,e){var n=null!=t?++t:null!=a?++a:null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"decrement (--x)\":{function d(t,a,e){var n=null!=t?--t:null!=a?--a:null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"concatenate (x.concat(y))\":{function d(t,a,e){return e?String(a).concat(String(t)):String(t).concat(String(a))}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make text (x)\":{function d(t,a,e){return null!=t?String(t):null!=a?String(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Text x.split(y)\":{function d(t,a,e){return String(t).split(String(a))}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Text x.trim()\":{function d(t,a,e){return null!=t?String(t).trim():null!=a?String(a).trim():null}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Text x Remove Whitespace\":{function d(t,a,e){return null!=t?String(t).replace(/\\s/g,\"\"):null!=a?String(a).replace(/\\s/g,\"\"):null}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"equal to (x == y)\":{function d(a,e,n){return t.data.funcDething(a)==t.data.funcDething(e)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"not equal to (x != y)\":{function d(t,a,e){return t!=a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"greater than (x > y)\":{function d(t,a,e){return e?a>t:t>a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"less than (x < y)\":{function d(t,a,e){return e?a<t:t<a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"greater than or equal (x >= y)\":{function d(t,a,e){return e?a>=t:t>=a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"less than or equal (x <= y)\":{function d(t,a,e){return e?a<=t:t<=a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"and (x && y)\":{function d(t,a,e){return t&&a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"or (x || y)\":{function d(t,a,e){return t||a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make boolean (x)\":{function d(t,a,e){return!!(null!=t?!t:null!=a&&!a)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"not (!x)\":{function d(t,a,e){return null!=t?!t:null!=a?!a:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"is odd (x)\":{function d(t,a,e){return null!=t?t%2:null!=a?a%2:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"is even (x)\":{function d(t,a,e){return null!=t?!(t%2):null!=a?!(a%2):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make number (x)\":{function d(t,a,e){var n=null!=t?Number(t):null!=a?Number(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.atanh(x)\":{function d(t,a,e){var n=null!=t?Math.atanh(t):null!=a?Math.atanh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.cbrt(x)\":{function d(t,a,e){var n=null!=t?Math.cbrt(t):null!=a?Math.cbrt(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.ceil(x)\":{function d(t,a,e){var n=null!=t?Math.ceil(t):null!=a?Math.ceil(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.cos(x)\":{function d(t,a,e){var n=null!=t?Math.cos(t):null!=a?Math.cos(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.cosh(x)\":{function d(t,a,e){var n=null!=t?Math.cosh(t):null!=a?Math.cosh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.exp(x)\":{function d(t,a,e){var n=null!=t?Math.exp(t):null!=a?Math.exp(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.floor(x)\":{function d(t,a,e){var n=null!=t?Math.floor(t):null!=a?Math.floor(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.log(x)\":{function d(t,a,e){var n=null!=t?Math.log(t):null!=a?Math.log(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.max(x y)\":{function d(t,a,e){var n=Math.max(t,a);return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.min(x y)\":{function d(t,a,e){var n=Math.min(t,a);return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.pow(x y)\":{function d(t,a,e){var n=e?Math.pow(a,t):Math.pow(t,a);return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.round(x)\":{function d(t,a,e){var n=null!=t?Math.round(t):null!=a?Math.round(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.sin(x)\":{function d(t,a,e){var n=null!=t?Math.sin(t):null!=a?Math.sin(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.sinh(x)\":{function d(t,a,e){var n=null!=t?Math.sinh(t):null!=a?Math.sinh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.sqrt(x)\":{function d(t,a,e){var n=null!=t?Math.sqrt(t):null!=a?Math.sqrt(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.tan(x)\":{function d(t,a,e){var n=null!=t?Math.tan(t):null!=a?Math.tan(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.tanh(x)\":{function d(t,a,e){var n=null!=t?Math.tanh(t):null!=a?Math.tanh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.trunc(x)\":{function d(t,a,e){var n=null!=t?Math.trunc(t):null!=a?Math.trunc(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"new Date(x)\":{function d(t,a,e){var n=null!=t?new Date(t):null!=a?new Date(a):null;return null==n&&(n=new Date),\"function\"!=typeof n.getTime||isNaN(n.getTime())?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"x.getTime()\":{function d(t,a,e){var n=null!=t?t:null!=a?a:null;return\"function\"==typeof n.getTime?n.getTime():null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make date range [x | y]\":{function d(a,e,n){return t.data.funcIsDate(a)&&t.data.funcIsDate(e)?a<=e?[a,e]:[e,a]:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make number range [x | y]\":{function d(t,a,e){var n=Number(t),s=Number(a);return isNaN(n)&&isNaN(s)?n<=s?[n,s]:[s,n]:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"eval(x) aka Run Javascript\":{function d(e,n,s){var code=null!=e?e:null!=n?n:null;return t.data.funcEvals(i,f,rs1,rs2,rs3,rs4,rs5,numeric_constant,yes_no_constant,any_constant,ls_type_constant,pl_type_constant,ls_type_list_constant,pl_type_list_constant,anyL_constant,code,a.debug,dbits)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"isFinite(x)\":{function d(t,a,e){return null!=t?isFinite(t):null!=a?isFinite(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"parseFloat(x)\":{function d(t,a,e){var n=null!=t?parseFloat(t):null!=a?parseFloat(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"parseInt(x)\":{function d(t,a,e){var n=null!=t?parseInt(t):null!=a?parseInt(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}
307case\"decodeURI(x)\":{function d(t,a,e){return null!=t?decodeURI(t):null!=a?decodeURI(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"decodeURIComponent(x)\":{function d(t,a,e){return null!=t?decodeURIComponent(t):null!=a?decodeURIComponent(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"encodeURI(x)\":{function d(t,a,e){return null!=t?encodeURI(t):null!=a?encodeURI(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"encodeURIComponent(x)\":{function d(t,a,e){return null!=t?encodeURIComponent(t):null!=a?encodeURIComponent(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"console.log('x')\":{function d(t,a,e){window.console.log(\"From PROCESS List: \",null!=t?t:null!=a?a:null)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"ListItem[x (0-based)]\":{function d(t,a){var e;return null!=a&&null!=t[a]?t[a]:null}return Array.isArray(s)?s.map((t=>d(u,t))):d(u,s)}case\"ListItem[x (1-based)]\":{function d(t,a){var e;return null!=a&&null!=t[a-1]?t[a-1]:null}return Array.isArray(s)?s.map((t=>d(u,t))):d(u,s)}case\"Set PL[x] = y (0-based)\":{function d(t,a,e){var n;return e&&(a=[t,t=a][0]),void 0!==c[t]?c[t]=a:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Set PL[x] = y (1-based)\":{function d(t,a,e){var n;return e&&(a=[t,t=a][0]),void 0!==c[t-1]?c[t-1]=a:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Set CL[x] = y (0-based)\":{function d(a,e,n){var s;return n&&(e=[a,a=e][0]),void 0!==t.data.custom_list[a]?t.data.custom_list[a]=e:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Set CL[x] = y (1-based)\":{function d(a,e,n){var s;return n&&(e=[a,a=e][0]),void 0!==t.data.custom_list[a-1]?t.data.custom_list[a-1]=e:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"nanoid(x)\":{function d(t,a,e){return null!=t?nanoid(t):null!=a?nanoid(a):nanoid()}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Array x.concat(y)\":{function d(t,a,e){return t=Array.isArray(t)?t:[t],a=Array.isArray(a)?a:[a],e?a.concat(t):t.concat(a)}return d(e,s,r)}case\"Array x.includes(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.includes(e):[a].includes(e)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.count(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.reduce(((t,a)=>t+(a==e)),0):[a].reduce(((t,a)=>t+(a==e)),0)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.indexOf(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.indexOf(e):[a].indexOf(e)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.join(y)\":{function d(t,a,e){return null==a&&(a=\"\"),Array.isArray(t)?t.join(a):[t].join(a)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.keys()\":{function d(t){return t?t.keys():null}return d(u)}case\"Array x.lastIndexOf(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.lastIndexOf(e):[a].lastIndexOf(e)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.length\":{function p(t){return t?t.length:null}return p(u)}case\"Array x.reverse()\":{function p(t){return t?[...t].reverse():null}return p(u)}case\"Array x.toLocaleString()\":{function p(t){return t?t.toLocaleString():null}return p(u)}case\"Array x.toString()\":{function p(t){return t?t.toString():null}return p(u)}case\"Array/Range x.firstItem()\":{function p(t){return t?t[0]:null}return p(u)}case\"Array/Range x.lastItem()\":{function p(t){return t?t[t.length-1]:null}return p(u)}case\"Range x.containsPoint(y)\":{function g(t,a){var e=Array.isArray(t),n=Array.isArray(a);if(!e)return null;var s=null,r=Array.isArray(t[0]);function l(t,a){return Array.isArray(t)?(2!=t.length&&(t=2==t[0].length?t[0]:t[0].length<2?[t[0],t[0]]:[t[0][0],t[0][t.length-1]]),a>=t[0]&&a<t[1]):null}return n&&(a=a[0]),r&&(s=t),s?s.map((t=>l(t,a))):l(t,a)}return r&&(s=[e,e=s][0]),g(e,s)}case\"Range x.containsRange(y)\":{function g(t,a){var e=Array.isArray(t),n=Array.isArray(a);if(!t||!e&&null==t[0])return null;if(!a||!n&&null==a[0])return null;var s=null,r;function l(t,a){return Array.isArray(t)&&Array.isArray(a)?(Array.isArray(t)&&2!=t.length&&(t=2==t[0].length?t[0]:t[0].length<2?[t[0],t[0]]:[t[0][0],t[0][t.length-1]]),Array.isArray(a)&&2!=a.length&&(a=2==a[0].length?a[0]:a[0].length<2?[a[0],a[0]]:[a[0][0],a[0][a.length-1]]),a[0]>=t[0]&&a[1]<=t[1]):null}return Array.isArray(t[0])&&(s=t),s?s.map((t=>l(t,a))):l(t,a)}return r&&(s=[e,e=s][0]),g(e,s)}case\"Range x.overlapsRange(y)\":{function g(t,a){var e=Array.isArray(t),n=Array.isArray(a);if(!t||!e&&null==t[0])return null;if(!a||!n&&null==a[0])return null;var s=null,r;function l(t,a){return Array.isArray(t)&&Array.isArray(a)?(Array.isArray(t)&&2!=t.length&&(t=2==t[0].length?t[0]:t[0].length<2?[t[0],t[0]]:[t[0][0],t[0][t.length-1]]),Array.isArray(a)&&2!=a.length&&(a=2==a[0].length?a[0]:a[0].length<2?[a[0],a[0]]:[a[0][0],a[0][a.length-1]]),a[0]<t[0]?a[1]>t[0]:a[0]<t[1]):null}return Array.isArray(t[0])&&(s=t),s?s.map((t=>l(t,a))):l(t,a)}return r&&(s=[e,e=s][0]),g(e,s)}case\"Array x.push(y)\":{function d(t,a,e){var n=Array.isArray(t)?t:[t];return n.push(a),n}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),d(e,s)}case\"x's:Field of Interest\":{function h(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest&&a.listProperties().includes(t.data.field_of_interest)?a.get(t.data.field_of_interest):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return r&&(s=[e,e=s][0]),u?u.map((t=>h(e))):h(e)}case\"x's:Field of Interest 2\":case\"x's:Field of Interest 3\":return r&&(s=[e,e=s][0]),u?u.map((t=>h(e))):h(e);case\"Array [...Bubbleize]\":{function p(t){return t?[...new Set(t)]:null}return p(u)}}}},a.data.funcPublishOriginalStates=function(t){null!=a.data.scalar&&a.publishState(\"scalar\",a.data.scalar),a.publishState(\"original_list\",a.data.list_to_shift),a.publishState(\"shifted_list\",a.data.list_shifted),a.data.track&&(null!=a.data.selected&&a.publishState(\"selected_item_number\",a.data.selected+1),a.data.last_2_selected_items_list.length>0&&a.publishState(\"last_2_selected_items_list\",a.data.last_2_selected_items_list.map((t=>t+1)))),a.data.is_different=a.data.list_to_shift?a.data.funcIsDifferent():null,a.publishState(\"list_shifted\",a.data.is_different),a.publishState(\"iterating\",a.data.iterating),a.publishState(\"processing\",a.data.processing),t&&a.triggerEvent(t)},a.data.funcPublishStates=function(t,e){e||a.publishState(\"shifted_list\",a.data.list_shifted),a.data.track&&(null!=a.data.selected&&a.publishState(\"selected_item_number\",a.data.selected+1),a.data.last_2_selected_items_list.length>0&&a.publishState(\"last_2_selected_items_list\",a.data.last_2_selected_items_list.map((t=>t+1)))),a.data.is_different=a.data.list_to_shift?a.data.funcIsDifferent():null,a.publishState(\"list_shifted\",a.data.is_different),a.publishState(\"iterating\",a.data.iterating),a.publishState(\"processing\",a.data.processing),t&&a.triggerEvent(t)},a.data.funcBeginIterate=function(t,e){var n;switch(t){case\"Shifted List\":n=a.data.list_shifted;break;case\"Original List\":n=a.data.list_to_shift;break;
307case\"Processed List\":n=a.data.processed_list}n?a.data.funcIterate(n):e.reportDebugger(\"Warning: List Shifter reports the Begin Iterate action was triggered, but the supplied list is empty. Iteration will not begin.\")},a.data.funcIterate=async function(t){for(a.data.iterating=!0,a.publishState(\"iterating\",a.data.iterating),a.triggerEvent(\"iteration_started\"),i=0;i<t.length;i++){if(a.data.stop_iteration){a.data.stop_iteration=null;break}a.data.current_iteration_item=t[i],a.data.current_iteration_index=i,a.publishState(\"current_iteration_item\",a.data.current_iteration_item),a.publishState(\"current_iteration_index\",a.data.current_iteration_index+1);let n=new Promise((function(e,n){a.triggerEvent(\"iterate\",(function(a){a&&n(a),e(t[i])}))}));await n.then((t=>t=>{e.reportDebugger(\"List Shifter reports there was an error running the workflow triggered by its Iterate from List Shifter event. Examine your 'when Iterate' workflow for this List Shifter element. Make sure that you HAVE a workflow that triggers on this List Shifter's Iterate from List Shifter event.\"),e.reportDebugger(\"Error is: \",t)}))}a.data.current_iteration_item=null,a.data.current_iteration_index=null,a.data.iterating=null,a.publishState(\"current_iteration_item\",a.data.current_iteration_item),a.publishState(\"current_iteration_index\",a.data.current_iteration_index),a.publishState(\"iterating\",a.data.iterating),a.triggerEvent(\"iteration_complete\"),a.data.update_deferred&&(a.data.update_deferred=null,a.data.funcUpdate(a,null,e))}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width()-0 + \"px\"\n    d.style.height = properties.bubble.height()-0 + \"px\"\n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1556665308497x775945993446766500/noun_Gear%20Stick_239618_51A7F9.svg')\"\n    d.style.backgroundRepeat = \"no-repeat\"\n    d.style.backgroundSize = \"100% 100%\"\n    d.style.backgroundOrigin = \"border-box\"\n    d.style.margin = \"0 auto\"\n    // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n    if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n    if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n    if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(100%) contrast(148%) brightness(83%) saturate(200%) hue-rotate(274deg) opacity(80%)\"\n    if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n    if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n    if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n    if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n    if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n    //hue-rotate(9deg) brightness(100%) saturate(100%) opacity(60%) // .style.filter = \"none| blur() |brightness() |contrast() | drop-shadow() |grayscale() |hue-rotate() |invert() |opacity() | saturate() | sepia()\"\n    instance.canvas.appendChild(d)\n}"}},"platform_type":"web"}},"plugin_actions":{"ATK":{"display":"Floppy Inspector","type":"client_side","fields":{"ATL":{"caption":"Floppy Inspector is a debugging tool of @keith's that just writes the raw value of some Bubble expression to the console.","name":"fi_info","rank":0,"editor":"Label"},"ATM":{"caption":"Anything","name":"anything","rank":1,"editor":"DynamicValue","value":"_any_thing","optional":true},"ATN":{"caption":"Anything List","name":"anything_list","rank":2,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true}},"code":{"client":{"fn":"function(properties,context){function getList(List){if(Array.isArray(List)&&!List.hasOwnProperty(\"get\"))return List;var returnList=[];return List.hasOwnProperty(\"get\")?List.length()<1?returnList:returnList=List.get(0,List.length()):returnList}if(properties.anything_list){console.log(\"Floppy Inspector: Raw list is \",properties.anything_list);var array=getList(properties.anything_list);console.log(\"Floppy Inspector: Retrieved list is \",array)}properties.anything&&console.log(\"Floppy Inspector: Scalar is \",properties.anything)}"}}},"AUU":{"display":"List Math SSA","type":"server_side","return_value":{"AJz":{"caption":"List Math Results","name":"results","rank":0,"value":"number","is_list":true},"AUV":{"caption":"Computation Time","name":"comp_time","rank":1,"value":"number"}},"fields":{"ATs":{"caption":"List Math Server-Side Action","name":"lm_info","rank":0,"editor":"Label"},"ATt":{"caption":"This is the SERVER SIDE version of the Floppy element's \"Utility: List Math\" action. It's for use only in backend workflows.","name":"lm_info_3","rank":1,"editor":"Label"},"ATu":{"caption":"Execute this action to perform simple mathematical operations on two numeric lists, or a numeric list and a scalar number. The resulting list of numbers will be published to the \"List Math Result\" output of the plugin. This action is synchronous and when complete, the values are available to subsequent backend workflow steps.","name":"lm_info_4","rank":2,"editor":"Label"},"ATv":{"caption":"COMPUTATION 1","name":"comp_1_info","rank":3,"editor":"Label"},"ATw":{"caption":"List 1","name":"list1","rank":4,"editor":"DynamicValue","value":"number","is_list":true,"optional":false},"ATx":{"caption":"Operation 1","name":"op1","rank":5,"editor":"Dropdown"},"ATy":{"caption":"Scalar 2","name":"scalar2_op1","rank":7,"editor":"DynamicValue","value":"number","optional":true},"ATz":{"caption":"List 2","name":"list2_op1","rank":6,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUA":{"caption":"COMPUTATION 2","name":"comp_2_info","rank":8,"editor":"Label"},"AUB":{"caption":"Operate on Result","name":"op2","rank":9,"editor":"Dropdown","optional":true},"AUC":{"caption":"List 2","name":"list2_op2","rank":10,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUD":{"caption":"Scalar 2","name":"scalar2_op2","rank":11,"editor":"DynamicValue","value":"number","optional":true,"is_list":false},"AUE":{"caption":"COMPUTATION 3","name":"comp_3_info","rank":12,"editor":"Label"},"AUF":{"caption":"Operate on Result","name":"op3","rank":13,"editor":"Dropdown","optional":true},"AUG":{"caption":"List 2","name":"list2_op3","rank":14,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUH":{"caption":"Scalar 2","name":"scalar2_op3","rank":15,"editor":"DynamicValue","value":"number","is_list":false,"optional":true},"AUI":{"caption":"COMPUTATION 4","name":"comp_4_info","rank":16,"editor":"Label"},"AUJ":{"caption":"Operate on Result","name":"op4","rank":17,"editor":"Dropdown","optional":true},"AUK":{"caption":"List 2","name":"list2_op4","rank":18,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUL":{"caption":"Scalar 2","name":"scalar2_op4","rank":19,"editor":"DynamicValue","value":"number","optional":true}
307,"AUM":{"caption":"COMPUTATION 5","name":"comp_5_info","rank":20,"editor":"Label"},"AUN":{"caption":"Operate on Result","name":"op5","rank":21,"editor":"Dropdown","optional":true},"AUO":{"caption":"List 2","name":"list2_op5","rank":22,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUP":{"caption":"Scalar 2","name":"scalar2_op5","rank":23,"editor":"DynamicValue","value":"number","optional":true},"AUQ":{"caption":"COMPUTATION 6","name":"comp_6_info","rank":24,"editor":"Label"},"AUR":{"caption":"Operate on Result","name":"op6","rank":25,"editor":"Dropdown","optional":true},"AUS":{"caption":"List 2","name":"list2_op6","rank":26,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUT":{"caption":"Scalar 2","name":"scalar2_op6","rank":27,"editor":"DynamicValue","value":"number","optional":true},"AUW":{"caption":"BENCHMARK OPTION","name":"bench_info","rank":28,"editor":"Label"},"AUX":{"caption":"Benchmark?","name":"benchmark","rank":29,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AUY":{"display":"Make Numeric List SSA","type":"server_side","return_value":{"AUf":{"caption":"Make Numeric List Results","name":"results","rank":0,"value":"number","is_list":true},"AUg":{"caption":"Computation Time","name":"comp_time","rank":1,"value":"number"}},"fields":{"AUZ":{"caption":"Make Numeric List Server-Side Action","name":"mn_info","rank":0,"editor":"Label"},"AUa":{"caption":"This is the SERVER SIDE version of the Floppy element's \"Utility: Make Numeric List\" action. It's for use only in backend workflows.","name":"mn_info_2","rank":1,"editor":"Label"},"AUb":{"caption":"Execute this action to generate a numeric list and send it to the plugin's .","name":"mn_info_3","rank":2,"editor":"Label"},"AUc":{"caption":"Number of items","name":"num_items","rank":3,"editor":"DynamicValue","value":"number","optional":true},"AUd":{"caption":"Start at","name":"start","rank":4,"editor":"DynamicValue","value":"number","optional":true},"AUe":{"caption":"Increment by","name":"increment","rank":5,"editor":"DynamicValue","value":"number","optional":true},"AUh":{"caption":"BENCHMARK OPTION","name":"bench_info","rank":6,"editor":"Label"},"AUi":{"caption":"Benchmark","name":"benchmark","rank":7,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false}}},"AUj":{"display":"Count Each Field/Sort SSA","type":"server_side","return_value":{"AUz":{"caption":"List Field Counts 1","name":"field_counts_1","rank":0,"value":"number","is_list":true},"AVA":{"caption":"List Field Counts 2","name":"field_counts_2","rank":1,"value":"number","is_list":true},"AVB":{"caption":"List Field Counts 3","name":"field_counts_3","rank":2,"value":"number","is_list":true},"AVC":{"caption":"Count Custom Number List","name":"count_list_custom","rank":3,"value":"number","is_list":true},"AVD":{"caption":"Count/Sort Items List","name":"count_list_output","rank":4,"value":"custom_data_AUo","is_list":true}},"fields":{"AUk":{"caption":"Count Each Field/Sort Server-Side Action","name":"cs_info1","rank":0,"editor":"Label"},"AUl":{"caption":"This is the SERVER SIDE version of the Floppy element's \"Utility: Count Each Field/Sort\" action. It's for use only in backend workflows.","name":"cs_info2","rank":1,"editor":"Label"},"AUm":{"caption":"Execute this action to count the number of items in some field(s) on a Thing. You can optionally sort the Things by these counts, or a custom numeric list. The List Expression input below is echoed to the \"Count/Sort Items List\" output. Counts associated with the various fields are output to the \"List Field Counts n\" outputs. If the \"Sort\" option is selected, all of those outputs will be sorted, as requested.","name":"cs_info3","rank":2,"editor":"Label"},"AUo":{"caption":"Count/Sort List Type","name":"count_list_type","rank":3,"editor":"custom_type"},"AUp":{"caption":"List Expression","name":"list","rank":4,"editor":"DynamicValue","value":"custom_data_AUo","is_list":true},"AUq":{"caption":"Field to Count 1","name":"field_1","rank":5,"editor":"custom_field_AUo","optional":true},"AUr":{"caption":"Field to Count 2","name":"field_2","rank":6,"editor":"custom_field_AUo","optional":true},"AUs":{"caption":"Field to Count 3","name":"field_3","rank":7,"editor":"custom_field_AUo","optional":true},"AUt":{"caption":"Custom Count","name":"custom_count","rank":8,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUu":{"caption":"SORT OPTIONS","name":"sort_options_info","rank":9,"editor":"Label"},"AUw":{"caption":"Sort by Field Count","name":"sort_by","rank":10,"editor":"Dropdown","optional":true}
307,"AUx":{"caption":"Sort by Field (as Number)","name":"sort_by_number","rank":11,"editor":"DynamicValue","value":"number","optional":true},"AUy":{"caption":"Sort Descending","name":"descending","rank":12,"editor":"DynamicValue","value":"boolean","optional":true},"Acn":{"caption":"LIMIT OUTPUT FEATURE (ADVANCED)","name":"limit_info","rank":13,"editor":"Label"},"Aco":{"caption":"Limit Return Vals to X Items","name":"limit","rank":14,"editor":"DynamicValue","value":"number","optional":true}}},"Acp":{"display":"Floppy Rehydrator SSA","type":"server_side","return_value":{"Acy":{"caption":"Rehydrated Things List 1","name":"r_things_1","rank":0,"value":"custom_data_Acs","is_list":true},"Acz":{"caption":"Rehydrated Things List 2","name":"r_things_2","rank":1,"value":"custom_data_Acu","is_list":true},"AdA":{"caption":"Rehydrated Things List 3","name":"r_things_3","rank":2,"value":"custom_data_Acw","is_list":true}},"fields":{"Acq":{"caption":"REHYDRATOR SSA","name":"rehydrator_ssa","rank":0,"editor":"Label"},"Acr":{"caption":"Rehydrator SSA takes text lists of Bubble unique IDs and turns them back into the Things they represent. This is just like the Rehydrator element, except it runs in the backend. (Obviously, you must know what type of Things the UIDs represent... It ain't magic!)  Note that if you're using this plugin to rehydrate a list of UIDs retrieved from the URL via \"Get Data from URL\", you're going to have to split that string by comma space (\", \") not %2C%20 as you might expect. The lists of Things appear at Floppy Rehydrator SSA's Rehydrated Things 1, 2, or 3 outputs as appropriate.","name":"reh_info","rank":1,"editor":"Label"},"Acs":{"caption":"Thing Type 1","name":"thing_1","rank":2,"editor":"custom_type","optional":true},"Act":{"caption":"UIDs 1","name":"uids_1","rank":3,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"Acu":{"caption":"Thing Type 2","name":"thing_2","rank":4,"editor":"custom_type","optional":true},"Acv":{"caption":"UIDs 2","name":"uids_2","rank":5,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"Acw":{"caption":"Thing Type 3","name":"thing_3","rank":6,"editor":"custom_type","optional":true},"Acx":{"caption":"UIDs 3","name":"uids_3","rank":7,"editor":"DynamicValue","value":"text","is_list":true,"optional":true}}},"AnH":{"display":"Floppy Bulk Create Things SSA","type":"server_side","return_value":{"AnW":{"caption":"Created Things List","name":"created_things_list","rank":0,"value":"custom_data_AnI","is_list":true},"AnX":{"caption":"Creation Time (ms)","name":"creation_time","rank":1,"value":"number"}},"fields":{"AnI":{"caption":"Type of Things","name":"type","rank":2,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"AnJ":{"caption":"Field 1","name":"field_1","rank":3,"editor":"custom_field_AnI","optional":true},"AnK":{"caption":"Field 1 Values","name":"fieldvalues_1","rank":4,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AnL":{"caption":"Field 2","name":"field_2","rank":5,"editor":"custom_field_AnI","optional":true},"AnM":{"caption":"Field 2 Values","name":"fieldvalues_2","rank":6,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AnN":{"caption":"Field 3","name":"field_3","rank":7,"editor":"custom_field_AnI","optional":true},"AnO":{"caption":"Field 3 Values","name":"fieldvalues_3","rank":8,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AnP":{"caption":"Field 4","name":"field_4","rank":9,"editor":"custom_field_AnI","optional":true},"AnQ":{"caption":"Field 4 Values","name":"fieldvalues_4","rank":10,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AnR":{"caption":"Field 5","name":"field_5","rank":11,"editor":"custom_field_AnI","optional":true},"AnS":{"caption":"Field 5 Values","name":"fieldvalues_5","rank":12,"editor":"DynamicValue","optional":true,"value":"_any_thing","is_list":true},"AnT":{"caption":"Field 6","name":"field_6","rank":13,"editor":"custom_field_AnI","optional":true},"AnU":{"caption":"Field 6 Value","name":"fieldvalues_6","rank":14,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AnV":{"caption":"Bulk Create Endpoints JSON","name":"bulk_json","rank":15,"editor":"DynamicValue","value":"text"},"AnY":{"caption":"THIS PLUGIN IS STILL IN DEVELOPMENT AND IS NOT FOR GENERAL USE. YOU HAVE BEEN WARNED. Floppy Bulk Create Things SSA","name":"fbc_info","rank":0,"editor":"Label"},"AnZ":{"caption":"Execute this action to bulk create Things using your app's bulk create endpoint. Select the type of things and provide values for the fields you want to set. Note that the field values provided must match the type of that field, but the Issue Checker cannot provide feedback here as the Field Values fields below can accept any type of data (as long as its a list).","name":"fbc_info2","rank":1,"editor":"Label"}}},"AzM":{"display":"LGC: Debug Buddy | Benchmark","type":"client_side","fields":{"AzG":{"caption":"DEBUG BUDDY is a handy little plugin to easily write logs to the console and/or the debugger.","editor":"Label","name":"debug_buddy_info","rank":0},"AzH":{"caption":"Log to console:","editor":"DynamicValue","name":"log_to_console","optional":true,"rank":1,"value":"text"},"AzI":{"caption":"Report to debugger:","editor":"DynamicValue","name":"report_to_debugger","optional":true,"rank":2,"value":"text"},"AzJ":{"caption":"Benchmark","editor":"DynamicValue","name":"benchmark","optional":true,"rank":3,"value":"boolean"},"AzK":{"caption":"Benchmark Summary","editor":"DynamicValue","name":"benchmark_summary","optional":true,"rank":4,"value":"boolean"},"AzL":{"caption":"Reset Benchmark","editor":"DynamicValue","name":"reset_benchmark","optional":true,"rank":5,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){if(window.dbuddy_benchmark&&!properties.reset_benchmark||(window.dbuddy_benchmark=[],window.console.log(\"Debug Buddy: Benchmark Reset\")),properties.benchmark&&(bm=Date.now(),window.dbuddy_benchmark.push(bm),window.dbuddy_benchmark.length>1?window.console.log(\"Debug Buddy Benchmark: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\" \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[window.dbuddy_benchmark.length-2],\"ms\",\" Message: \",properties.log_to_console):window.console.log(\"Debug Buddy Benchmark Starting: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\"Message: \",properties.log_to_console)),properties.log_to_console&&window.console.log(\"Debug Buddy: \",properties.log_to_console),properties.report_to_debugger&&context.reportDebugger(properties.report_to_debugger),properties.benchmark_summary&&window.dbuddy_benchmark.length>1){var d=window.dbuddy_benchmark.slice(1).map(((d,i)=>
307d-window.dbuddy_benchmark[i])),e=d.reduce(((d,e)=>d+e),0)/d.length,o=Math.max(...d),n=Math.min(...d);window.console.group(\"Debug Buddy Benchmark Summary:\"),window.console.log(\"Total Sampling Time: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[0],\"ms\"),window.console.log(\"# Samples: \",d.length),window.console.log(\"Avg: \",e,\"ms\"),window.console.log(\"Min: \",n,\"ms\"),window.console.log(\"Max: \",o,\"ms\"),window.console.groupEnd()}}"}}},"BDn":{"display":"LGC: List Popper SSA","type":"server_side","return_value":{"ACF":{"caption":"Remaining List","is_list":true,"name":"Remaining List","rank":1,"value":"custom_data_BDk"},"ADl":{"caption":"Popped Item","name":"Popped Item","rank":0,"value":"custom_data_BDk"}},"fields":{"BDi":{"caption":"Preserve Empty","editor":"DynamicValue","name":"preserve_empty","optional":true,"rank":4,"value":"boolean"},"BDj":{"caption":"This Server Side Action pops the first item off of a list and returns that single item (a single value), along with the remaining list. Unlike Bubble's \"remove\" and \"minus item\" operators, List Popper truly removes the first item in the list WITHOUT removing other duplicates. (The Remaining List is not \"Bubble-ized\" by this action—any duplicate items in the list are preserved.)","editor":"Label","name":"Info1","rank":0},"BDk":{"caption":"Data Type of List","editor":"custom_type","name":"type_of_content","rank":2},"BDl":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":3,"value":"custom_data_BDk"},"BDm":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the returned List of Items.","editor":"Label","name":"info2","rank":1}}},"BDv":{"display":"LGC: FLOW State List SSA","type":"server_side","return_value":{"AAX":{"caption":"Indices","is_list":true,"name":"Indices","rank":1,"value":"number"},"AAY":{"caption":"Item Count","is_list":false,"name":"item_count","rank":2,"value":"number"},"ACF":{"caption":"List","is_list":true,"name":"List","rank":0,"value":"custom_data_BDr"}},"fields":{"BDo":{"caption":"Publish Indices","editor":"DynamicValue","name":"publish_indices","optional":true,"rank":4,"value":"boolean"},"BDp":{"caption":"Preserve Empty","editor":"DynamicValue","is_list":false,"name":"preserve_empty","optional":true,"rank":5,"value":"boolean"},"BDq":{"caption":"The FLOW State List action can be used like a variable or \"custom state\" in any workflow! The List of Items you select here is evaluated and passed to the return value of this Action. You can optionally publish a numeric list of indices. The Item Count output contains the number of items that were in the list at the moment the list was fetched.","editor":"Label","name":"Info1","rank":0},"BDr":{"caption":"Data Type of Items","editor":"custom_type","name":"type_of_content","rank":2},"BDs":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":3,"value":"custom_data_BDr"},"BDt":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the FLOW State's returned List of Items.","editor":"Label","name":"info2","rank":1},"BDu":{"caption":"Reverse","name":"reverse","rank":6,"editor":"DynamicValue","value":"boolean","optional":true}}},"BEA":{"display":"LGC: FLOW State Single SSA","type":"server_side","return_value":{"AAP":{"caption":"Item","name":"item","rank":0,"value":"custom_data_BDy"}},"fields":{"BDw":{"caption":"The FLOW State action used like a variable or \"custom state\" in any workflow! The expression you input here is evaluated and passed to the return value of this Action.","editor":"Label","name":"info_1","rank":0},"BDx":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the FLOW State's returned List of Items.","editor":"Label","name":"info_2","rank":1},"BDy":{"caption":"Data Type of Item","editor":"custom_type","name":"type_of_content","rank":2},"BDz":{"caption":"Item","editor":"DynamicValue","name":"item","rank":3,"value":"custom_data_BDy"}}},"BEG":{"display":"LGC: List Pusher SSA","type":"server_side","return_value":{"AAV":{"caption":"Pushed Item","name":"Pushed Item","rank":0,"value":"custom_data_BEC"},"AAW":{"caption":"Updated List","is_list":true,"name":"Updated List","rank":1,"value":"custom_data_BEC"}},"fields":{"BEB":{"caption":"This Server Side Action pushes an item on to a list, returning both the Pushed Item and the Updated List. Unlike Bubble's \"add\" and \"plus item\" operators, List Pusher can push duplicate items on to the list and the Updated List is not \"Bubble-ized\" (i.e., any duplicate items in the list are preserved).","editor":"Label","name":"info_1","rank":0},"BEC":{"caption":"Data Type of Items","editor":"custom_type","name":"type_of_content","rank":1},"BED":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":2,"value":"custom_data_BEC"},"BEE":{"caption":"Item to Push","editor":"DynamicValue","name":"item","rank":3,"value":"custom_data_BEC"},"BEF":{"caption":"Preserve Empty","editor":"DynamicValue","name":"preserve_empty","optional":true,"rank":4,"value":"boolean"}}},"BEN":{"display":"LGC: Index Of SSA","type":"server_side","return_value":{"AAd":{"caption":"Index","
307name":"index","rank":0,"value":"number"},"AAe":{"caption":"Found","name":"found","rank":1,"value":"boolean"}},"fields":{"BEH":{"caption":"INDEXOF INFO","editor":"Label","name":"info1","rank":0},"BEI":{"caption":"The IndexOf Server-Side Action finds the (1-based) first or last index of the supplied Item in the supplied List. The 1-based index (where the Item was found) is returned to the Index output. If Item is not found, the Index will be reported as -1. Additionally, the Found output reports a yes/no indicating whether Item was found in the List.","editor":"Label","name":"info2","rank":1},"BEJ":{"caption":"Data Type of List and Item","editor":"custom_type","name":"type_of_content","rank":2},"BEK":{"caption":"List","editor":"DynamicValue","is_list":true,"name":"List","rank":3,"value":"custom_data_BEJ"},"BEL":{"caption":"Item","editor":"DynamicValue","name":"Item","rank":4,"value":"custom_data_BEJ"},"BEM":{"caption":"Find Last Index?","editor":"DynamicValue","name":"find_last","optional":true,"rank":5,"value":"boolean"}}},"BEa":{"display":"LGC: List Slicer Pusher SSA","type":"server_side","return_value":{"ACF":{"caption":"Remaining List","is_list":true,"name":"Remaining List","rank":2,"value":"custom_data_BEQ"},"ADl":{"caption":"Sliced Items","name":"Sliced Items","rank":0,"value":"custom_data_BEQ","is_list":true},"ABP":{"caption":"Pushed Items","name":"Pushed Items","rank":1,"value":"custom_data_BEQ","is_list":true},"ABV":{"caption":"Remaining Push Items List","name":"Remaining Push Items","rank":3,"value":"custom_data_BEQ","is_list":true}},"fields":{"BEO":{"caption":"Preserve Empty","editor":"DynamicValue","name":"preserve_empty","optional":true,"rank":11,"value":"boolean"},"BEP":{"caption":"This Server Side Action combines aspects of List Popper and List Pusher into a single Action, allowing you to simultaneously remove some number of items from a list and/or push some number of items into the list. Rather than removing a single (scalar) item, List Slicer Pusher returns an list (array) of Sliced Items. And, rather than pushing a single scalar item, List Slicer Pusher accepts a list of items you want pushed. Unlike Bubble's operators, List Slicer truly removes the items in the list WITHOUT removing other duplicates. Similarly, duplicate items in the pushed items list can be duplicates of existing items.","editor":"Label","name":"Info1","rank":0},"BEQ":{"caption":"Data Type of List","editor":"custom_type","name":"type_of_content","rank":2},"BER":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":3,"value":"custom_data_BEQ","optional":true},"BES":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the returned List of Items.","editor":"Label","name":"info2","rank":1},"BET":{"caption":"1, SLICE OPTIONS","name":"slice_info","rank":4,"editor":"Label"},"BEU":{"caption":"# Items to Slice","name":"slice_to","rank":5,"editor":"DynamicValue","value":"number","optional":true},"BEV":{"caption":"2. PUSH OPTIONS","name":"push_info","rank":7,"editor":"Label"},"BEW":{"caption":"List to Push","name":"list_to_push","rank":8,"editor":"DynamicValue","value":"custom_data_BEQ","is_list":true,"optional":true},"BEX":{"caption":"Dynamic Slicing","name":"dynamic","rank":6,"editor":"DynamicValue","value":"boolean","optional":true},"BEY":{"caption":"# Items to Push","name":"push_to","rank":9,"editor":"DynamicValue","value":"number","optional":true},"BEZ":{"caption":"OUTPUT OPTION","name":"output_info","rank":10,"editor":"Label"}}},"BKm":{"display":"Debug Buddy | Benchmark PRO","type":"client_side","fields":{"BKg":{"caption":"DEBUG BUDDY is a handy little plugin to easily write logs to the console and/or the debugger.","editor":"Label","name":"debug_buddy_info","rank":0},"BKh":{"caption":"Log to console:","editor":"DynamicValue","name":"log_to_console","optional":true,"rank":1,"value":"text"},"BKi":{"caption":"Report to debugger:","editor":"DynamicValue","name":"report_to_debugger","optional":true,"rank":2,"value":"text"},"BKj":{"caption":"Benchmark","editor":"DynamicValue","name":"benchmark","optional":true,"rank":3,"value":"boolean"},"BKk":{"caption":"Benchmark Summary","editor":"DynamicValue","name":"benchmark_summary","optional":true,"rank":4,"value":"boolean"},"BKl":{"caption":"Reset Benchmark","editor":"DynamicValue","name":"reset_benchmark","optional":true,"rank":5,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){if(window.dbuddy_benchmark&&!properties.reset_benchmark||(window.dbuddy_benchmark=[],window.console.log(\"Debug Buddy: Benchmark Reset\")),properties.benchmark&&(bm=Date.now(),window.dbuddy_benchmark.push(bm),window.dbuddy_benchmark.length>1?window.console.log(\"Debug Buddy Benchmark: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\" \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[window.dbuddy_benchmark.length-2],\"ms\",\" Message: \",properties.log_to_console):window.console.log(\"Debug Buddy Benchmark Starting: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\"Message: \",properties.log_to_console)),properties.log_to_console&&window.console.log(\"Debug Buddy: \",properties.log_to_console),properties.report_to_debugger&&context.reportDebugger(properties.report_to_debugger),properties.benchmark_summary&&window.dbuddy_benchmark.length>1){var d=window.dbuddy_benchmark.slice(1).map(((d,i)=>
307d-window.dbuddy_benchmark[i])),e=d.reduce(((d,e)=>d+e),0)/d.length,o=Math.max(...d),n=Math.min(...d);window.console.group(\"Debug Buddy Benchmark Summary:\"),window.console.log(\"Total Sampling Time: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[0],\"ms\"),window.console.log(\"# Samples: \",d.length),window.console.log(\"Avg: \",e,\"ms\"),window.console.log(\"Min: \",n,\"ms\"),window.console.log(\"Max: \",o,\"ms\"),window.console.groupEnd()}}"}}}}};
308window._bubble_page_load_data.plugins_size['1641501497659x706740039734263800'] = 324833;
309window.preloaded['plugin/third_party:1641501497659x706740039734263800:1.10.1'] = true;
310window.plugins["1654441116961x750140337463230500"] = {"human":"Reset Data of an Input","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_actions":{"AAC":{"display":"Reset data of an input","type":"client_side","fields":{"AAD":{"caption":"Input HTML ID","name":"input_id","rank":0,"editor":"DynamicValue","value":"text"},"AAG":{"caption":"Input Type","name":"input_type","rank":1,"editor":"Dropdown","default_val":"Input"}},"code":{"client":{"fn":"function(properties,context){function _0x3af1(){var _0x50d5e5=[\"querySelector\",\"selectedIndex\",\"6854302lnchbO\",\"6973635KPDvJG\",\"343948PDZQGf\",\" > span > input.tt-input\",\"3783282nHylOu\",\"value\",\"5530fwHMjB\",\"1035mIBRMK\",\"input_id\",\"60clVDrY\",\"input_type\",\"Input/Multiline Input\",\"15183LpDUKi\",\"getElementById\",\"11019504UTrvpd\",\"Searchbox\",\"2962QMDFOv\",\"Dropdown\"];return(_0x3af1=function(){return _0x50d5e5})()}function _0x46a3(_0x322cc8,_0x4b1be0){var _0x3af128=_0x3af1();return(_0x46a3=function(_0x46a340,_0x3b3069){var _0x2d6c19;return _0x3af128[_0x46a340-=499]})(_0x322cc8,_0x4b1be0)}function client(_0xf91098,_0x26c18a){var _0x1afc9d=_0x46a3;_0xf91098[_0x1afc9d(509)]===_0x1afc9d(514)?document[_0x1afc9d(517)](\"#\"+_0xf91098[_0x1afc9d(507)]+_0x1afc9d(502)).value=\"\":_0xf91098[_0x1afc9d(509)]===_0x1afc9d(510)?document[_0x1afc9d(512)](_0xf91098.input_id)[_0x1afc9d(504)]=\"\":_0xf91098[_0x1afc9d(509)]===_0x1afc9d(516)&&(document[_0x1afc9d(512)](_0xf91098[_0x1afc9d(507)])[_0x1afc9d(518)]=0)}!function(_0xb022f6,_0x36c94f){for(var _0x4d741d=_0x46a3,_0x19afcc=_0xb022f6();;)try{var _0x1fdc2a;if(881016===parseInt(_0x4d741d(506))/1*(-parseInt(_0x4d741d(515))/2)+parseInt(_0x4d741d(508))/3*(parseInt(_0x4d741d(501))/4)+parseInt(_0x4d741d(500))/5+parseInt(_0x4d741d(503))/6+parseInt(_0x4d741d(499))/7+-parseInt(_0x4d741d(513))/8+-parseInt(_0x4d741d(511))/9*(parseInt(_0x4d741d(505))/10))break;_0x19afcc.push(_0x19afcc.shift())}catch(_0x3d5ff8){_0x19afcc.push(_0x19afcc.shift())}}(_0x3af1,881016),client(properties,context)}"}}}}};
311window._bubble_page_load_data.plugins_size['1654441116961x750140337463230500'] = 1981;
312window.preloaded['plugin/third_party:1654441116961x750140337463230500:2.10.0'] = true;
313window.plugins["1654595882459x381599056563798000"] = {"human":"Natively iOS & Android app builder","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"calls":{"AQN":{"headers":{"AQz":{"key":"Authorization","private":true,"value":"Bearer d8dffcdfc4e57df03c8909f275c45bd3"}},"initialized":true,"method":"post","name":"SleepAnalysisObject","publish_as":"data","ret_value":"api.1654595882459x381599056563798000.plugin_api.AQN","should_reinitialize":true,"types":"{\"plugin_api.AQN\":{\"caption\":\"SleepAnalysisObject\",\"fields\":{\"_p_endDate\":{\"ret_value\":\"date_unix\",\"caption\":\"endDate\",\"sample_value\":\"\"},\"_p_minutes\":{\"ret_value\":\"number\",\"caption\":\"minutes\",\"sample_value\":\"\"},\"_p_startDate\":{\"ret_value\":\"date_unix\",\"caption\":\"startDate\",\"sample_value\":\"\"},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\",\"sample_value\":\"\"}}}}","url":"https://nativelyqa.bubbleapps.io/version-test/api/1.1/wf/test"},"AQh":{"headers":{"AQi":{"key":"Authorization","private":true,"value":"Bearer d8dffcdfc4e57df03c8909f275c45bd3"}},"initialized":true,"method":"post","name":"QuantityStatisticsObject","publish_as":"data","ret_value":"api.1654595882459x381599056563798000.plugin_api.AQh","should_reinitialize":true,"types":"{\"plugin_api.AQh\":{\"caption\":\"QuantityStatisticsObject\",\"fields\":{\"_p_startDate\":{\"ret_value\":\"date_unix\",\"caption\":\"startDate\",\"sample_value\":\"\"}
313,\"_p_endDate\":{\"ret_value\":\"date_unix\",\"caption\":\"endDate\",\"sample_value\":\"\"},\"_p_value\":{\"ret_value\":\"number\",\"caption\":\"value\",\"sample_value\":\"\"}}}}","url":"https://nativelyqa.bubbleapps.io/version-test/api/1.1/wf/test"},"AQk":{"headers":{"AQl":{"key":"","private":true,"value":""}},"initialized":true,"method":"post","name":"CharacteristicObject","publish_as":"data","ret_value":"api.1654595882459x381599056563798000.plugin_api.AQk","should_reinitialize":true,"types":"{\"plugin_api.AQk\":{\"caption\":\"CharacteristicsObject\",\"fields\":{\"_p_age\":{\"ret_value\":\"number\",\"caption\":\"age\",\"sample_value\":\"\"},\"_p_blood\":{\"ret_value\":\"text\",\"caption\":\"blood\",\"sample_value\":\"\"},\"_p_sex\":{\"ret_value\":\"text\",\"caption\":\"sex\",\"sample_value\":\"\"},\"_p_wheelchair\":{\"ret_value\":\"text\",\"caption\":\"wheelchair\",\"sample_value\":\"\"},\"_p_skin\":{\"ret_value\":\"text\",\"caption\":\"skin\",\"sample_value\":\"\"}}}}","url":"https://nativelyqa.bubbleapps.io/version-test/api/1.1/wf/test"},"AQn":{"headers":{"AQo":{"key":"Authorization","private":true,"value":"Bearer d8dffcdfc4e57df03c8909f275c45bd3"}},"initialized":true,"method":"post","name":"ActivitySummaryObject","publish_as":"data","ret_value":"api.1654595882459x381599056563798000.plugin_api.AQn","should_reinitialize":true,"types":"{\"plugin_api.AQn\":{\"caption\":\"ActivitySummaryObject\",\"fields\":{\"_p_date\":{\"ret_value\":\"date_unix\",\"caption\":\"date\",\"sample_value\":\"\"},\"_p_activeBurned\":{\"ret_value\":\"number\",\"caption\":\"activeBurned\",\"sample_value\":\"\"},\"_p_activeGoal\":{\"ret_value\":\"number\",\"caption\":\"activeGoal\",\"sample_value\":\"\"},\"_p_exerciseTime\":{\"ret_value\":\"number\",\"caption\":\"exerciseTime\",\"sample_value\":\"\"},\"_p_exerciseGoal\":{\"ret_value\":\"number\",\"caption\":\"exerciseGoal\",\"sample_value\":\"\"},\"_p_moveTime\":{\"ret_value\":\"number\",\"caption\":\"moveTime\",\"sample_value\":\"\"},\"_p_moveGoal\":{\"ret_value\":\"number\",\"caption\":\"moveGoal\",\"sample_value\":\"\"},\"_p_standHours\":{\"ret_value\":\"number\",\"caption\":\"standHours\",\"sample_value\":\"\"},\"_p_standGoal\":{\"ret_value\":\"number\",\"caption\":\"standGoal\",\"sample_value\":\"\"}}}}","url":"https://nativelyqa.bubbleapps.io/version-test/api/1.1/wf/test"},"AUv":{"headers":{"AUw":{"key":"Authorization","private":true,"value":"Bearer d8dffcdfc4e57df03c8909f275c45bd3"}},"initialized":true,"method":"get","name":"NFCResponse","publish_as":"data","ret_value":"api.1654595882459x381599056563798000.plugin_api.AUv","should_reinitialize":true,"types":"{\"plugin_api.AUv\":{\"caption\":\"NFCResponse\",\"fields\":{\"_p_type_format\":{\"ret_value\":\"text\",\"caption\":\"type_format\",\"sample_value\":\"\"},\"_p_type\":{\"ret_value\":\"text\",\"caption\":\"type\",\"sample_value\":\"\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\"},\"_p_length\":{\"ret_value\":\"number\",\"caption\":\"length\",\"sample_value\":\"\"},\"_p_payload_content\":{\"ret_value\":\"text\",\"caption\":\"payload_content\",\"sample_value\":\"\"},\"_p_payload_raw\":{\"ret_value\":\"text\",\"caption\":\"payload_raw\",\"sample_value\":\"\"}}}}","url":"https://nativelyqa.bubbleapps.io/version-test/api/1.1/wf/test"},"AWX":{"name":"WorkoutObject","method":"get","publish_as":"data","should_reinitialize":true,"initialized":true,"types":"{\"plugin_api.AWX\":{\"caption\":\"WorkoutObject\",\"fields\":{\"_p_endDate\":{\"ret_value\":\"date\",\"caption\":\"endDate\",\"sample_value\":\"\"},\"_p_duration\":{\"ret_value\":\"number\",\"caption\":\"duration\",\"sample_value\":\"\"},\"_p_startDate\":{\"ret_value\":\"date\",\"caption\":\"startDate\",\"sample_value\":\"\"},\"_p_workoutName\":{\"ret_value\":\"text\",\"caption\":\"workoutName\",\"sample_value\":\"\"},\"_p_activeBurned\":{\"ret_value\":\"number\",\"caption\":\"activeBurned\",\"sample_value\":\"\"},\"_p_basalBurned\":{\"ret_value\":\"number\",\"caption\":\"basalBurned\",\"sample_value\":\"\"},\"_p_totalBurned\":{\"ret_value\":\"number\",\"caption\":\"totalBurned\",\"sample_value\":\"\"},\"_p_heartRate\":{\"ret_value\":\"number\",\"caption\":\"heartRate\",\"sample_value\":\"\"}}}}","ret_value":"api.1654595882459x381599056563798000.plugin_api.AWX"},"AWv":{"name":"ContactObject","method":"get","publish_as":"data","should_reinitialize":true,"initialized":true,"types":"{\"plugin_api.AWv\":{\"caption\":\"ContactObject\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\"},\"_p_firstName\":{\"ret_value\":\"text\",\"caption\":\"firstName\",\"sample_value\":\"\"},\"_p_lastName\":{\"ret_value\":\"text\",\"caption\":\"lastName\",\"sample_value\":\"\"},\"_p_phones\":{\"ret_value\":\"list.text\",\"caption\":\"phones\",\"sample_value\":\"\"},\"_p_emails\":{\"ret_value\":\"list.text\",\"caption\":\"emails\",\"sample_value\":\"\"}}}}","ret_value":"api.1654595882459x381599056563798000.plugin_api.AWv"},"Aav":{"0":"A","1":"a","2":"u","name":"CalendarObject","method":"get","publish_as":"data","should_reinitialize":false,"initialized":true,"types":"{\"plugin_api.Aav\":{\"caption\":\"CalendarObject\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_title\":{\"ret_btype\":\"text\",\"caption\":\"title\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1654595882459x381599056563798000.plugin_api.Aav"}},"human":"Natively - Objects"},"shared_keys":{"AHD":{"caption":"onesignal_appId","type":"client_safe"},"AHT":{"caption":"onesignal_apiKey","type":"secure"},"ALm":{"caption":"revenuecat_apiKey","type":"secure"}},"plugin_elements":{"AAD":{"display":"Natively - Push Notifications (OneSignal)","property_applications":{"Backgroun
313d":false,"resizable":true},"add_is_visible":true,"states":{"AAE":{"caption":"Permission Status","initialization_code":{"fn":"function(properties,context){}"},"name":"permission_status","value":"boolean"},"ADT":{"caption":"OneSignal PlayerId","initialization_code":{"fn":"function(properties,context){}"},"name":"playerid","value":"text"}},"events":{"ADV":{"caption":"OneSignal Player Id updated","name":"playerid_updated"},"ADo":{"caption":"Notification permissions authorized","name":"permission_status_authorized"},"ADp":{"caption":"Notification permissions denied","name":"permission_status_denied"},"ADs":{"caption":"Notification permissions status updated","name":"permission_status_updated"}},"actions":{"AAG":{"caption":"Request the user's push notification permission","fields":{"AAL":{"caption":"Open Settings","default_val":false,"editor":"Checkbox","name":"fallbacktosettings","rank":0}},"code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.requestPermission(properties.fallbacktosettings,push_register_callback(instance))}"}},"ADZ":{"caption":"Get the user's OneSignal PlayerId","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.getOneSignalId(onesignal_playerid_callback(instance))}"}},"ADr":{"caption":"Get the user's push notification permission status","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.getPermissionStatus(push_permission_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.notifications=new NativelyNotifications,instance.data.notifications.getOneSignalId(onesignal_playerid_callback(instance)),instance.data.notifications.getPermissionStatus(push_permission_callback(instance)))}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ABJ":{"display":"Natively - SMS/Email","property_applications":{"Background":false,"MinWidth":false,"resizable":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"events":{"AEY":{"caption":"SMS action is not allowed [iOS]","name":"send_sms_not_allowed"},"AEa":{"caption":"SMS sent [iOS]","name":"send_sms_sent"},"AEb":{"caption":"SMS sending failed [iOS]","name":"send_sms_failed"}
313,"AEc":{"caption":"SMS sending cancelled [iOS]","name":"send_sms_cancelled"},"AEd":{"caption":"Email action is not allowed [iOS]","name":"send_email_not_allowed"},"AEe":{"caption":"Email sent [iOS]","name":"send_email_sent"},"AEf":{"caption":"Email sending failed [iOS]","name":"send_email_failed"},"AEg":{"caption":"Email saved [iOS]","name":"send_email_saved"},"AEh":{"caption":"Email sending cancelled [iOS]","name":"send_email_cancelled"}},"actions":{"AEL":{"caption":"Send SMS","fields":{"AES":{"caption":"Body","editor":"DynamicValue","name":"body","optional":true,"rank":1,"value":"text"},"AET":{"caption":"Recipient","editor":"DynamicValue","name":"recipient","optional":true,"rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){if(void 0===window.natively)return;const body=void 0!==properties.body?properties.body:\"\",recipient=void 0!==properties.recipient?properties.recipient:\"\";instance.data.message.sendSMS(body,recipient,send_sms_callback(instance))}"}},"AEM":{"caption":"Send Email","fields":{"AEO":{"caption":"Subject","editor":"DynamicValue","name":"subject","optional":true,"rank":1,"value":"text"},"AEP":{"caption":"Body","editor":"DynamicValue","name":"body","optional":true,"rank":2,"value":"text"},"AEQ":{"caption":"Recipient","editor":"DynamicValue","name":"recipient","optional":true,"rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){if(void 0===window.natively)return;const subject=void 0!==properties.subject?properties.subject:\"\",body=void 0!==properties.body?properties.body:\"\",recipient=void 0!==properties.recipient?properties.recipient:\"\";instance.data.message.sendEmail(subject,body,recipient,send_email_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.message=new NativelyMessage)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ACT":{"display":"Natively - Storage","property_applications":{"Background":false,"resizable":true},"add_is_visible":true,"states":{"ACR":{"caption":"Latest requested storage value","initialization_code":{"fn":"function(properties,context){}"},"name":"requested_value","value":"text"},"ACS":{"caption":"Latest requested storage key","initialization_code":{"fn":"function(properties,context){}"},"name":"requested_key","value":"text"}},"events":{"ACQ":{"caption":"Storage value received","name":"storage_value_received"}},"actions":{"ACI":{"caption":"Store value to device storage","fields":{"ACJ":{"caption":"key","default_val":"","editor":"DynamicValue","name":"key","rank":0,"value":"text"},"ACK":{"caption":"value","default_val":"","editor":"DynamicValue","name":"value","rank":1,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.data.storage.setStorageValue(properties.key,properties.value)}"}},"ACL":{"caption":"Get value from device storage","fields":{"ACM":{"caption":"key","default_val":"","editor":"DynamicValue","name":"key","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.data.storage.getStorageValue(properties.key,get_storage_value_callback(instance))}"}},"ACN":{"caption":"Reset device storage","code":{"fn":"function(instance,properties,context){instance.data.storage.resetStorage()}"}},"ACO":{"caption":"Remove value from device storage","fields":{"ACP":{"caption":"key","editor":"DynamicValue","name":"key","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.data.storage.removeStorageValue(properties.key)}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.storage=new NativelyStorage)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ACj":{"display":"Natively - Biometrics","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"ALC":{"caption":"allowPasscode","default_val":false,"editor":"Checkbox","name":"allowpasscode","rank":0}},"states":{"ACi":{"caption":"User's login after biometric authentication","initialization_code":{"fn":"function(properties,context){}"},"name":"login","value":"text"},"ACm":{"caption":"User's password after biometric authentication","initialization_code":{"fn":"function(properties,context){}"},"name":"password","value":"text"},"ADn":{"caption":"User's device supports biometrics","initialization_code":{"fn":"function(properties,context){}"},"name":"biometrics_support","value":"boolean"},"AED":{"caption":"User has stored credentials","initialization_code":{"fn":"function(properties,context){}"},"name":"has_credentials","value":"boolean"}},"events":{"ACg":{"caption":"User's identity verified","name":"identity_verified"},"ADx":{"caption":"User's identity verification failed","name":"identity_failed"},"ADy":{"caption":"User's credentials not received","name":"get_credentials_failed"},"ADz":{"caption":"User's credentials received","name":"get_credentials_success"},"AEA":{"caption":"User's credentials saved","name":"save_credentials_success"},"AEC":{"caption":"User's credentials removed","name":"remove_credentials_success"},"AGc":{"caption":"Biometrics supported","name":"biometrics_supported"},"AGd":{"caption":"Biometrics not supported","name":"biometrics_not_supported"}},"actions":{"ACY":{"caption":"Check biometrics support","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.biometrics.checkBiometricsSupport(biometrics_support_callback(instance))}"}},"ACb":{"caption":"Verify user's identity","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.biometrics.verifyUserIdentify(biometrics_verify_callback(instance))}"}},"ACd":{"caption":"Get user's credentials","code":{"fn":"function(instance,properties,context){instance.publishState(\"login\",\"\"),instance.publishState(\"password\",\"\"),instance.data.biometrics.getUserCredentials(biometrics_auth_callback(instance))}"}},"ADu":{"caption":"Save user's credentials","fields":{"ADv":{"caption":"login","editor":"DynamicValue","name":"login","rank":0,"value":"text"},"ADw":{"caption":"password","editor":"DynamicValue","name":"password","rank":1,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.data.biometrics.saveUserCredentials(properties.login,properties.password,biometrics_auth_callback(instance))}"}},"AEB":{"caption":"Reset user's credentials","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&(instance.publishState(\"login\",\"\"),instance.publishState(\"password\",\"\"),instance.data.biometrics.removeUserCredentials(biometrics_remove_credentials_callback(instance)))}"}},"AEE":{"caption":"Clear user's credentials from element","code":{"fn":"function(instance,properties,context){instance.publishState(\"login\",\"\"),instance.publishState(\"password\",\"\")}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.biometrics=new NativelyBiometrics(!1),instance.data.biometrics.checkCredentials(biometrics_has_credentials_callback(instance)),instance.data.biometrics.checkBiometricsSupport(biometrics_support_callback(instance)))}"},"update":{"fn":"function(instance,properties,context){void 0!==window.natively&&properties.allowpasscode!==instance.data.biometrics.allowPass&&(instance.data.biometrics=new NativelyBiometrics(properties.allowpasscode))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ADJ":{"display":"Natively - Device","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"has_reset_fn":false,"states":{"ADN":{"caption":"Device","initialization_code":{"fn":"function(properties,context){}"},"name":"device","value":"text"},"ADO":{"caption":"OS Version","initialization_code":{"fn":"function(properties,context){}"},"name":"osversion","value":"text"},"ADP":{"caption":"App Version","initialization_code":{"fn":"function(properties,context){}"},"name":"buildversion","value":"text"},"ADQ":{"caption":"Build Number","initialization_code":{"fn":"function(properties,context){}"},"name":"buildnumber","value":"text"},"ADR":{"caption":"Natively App Version","initialization_code":{"fn":"function(properties,context){}"},"name":"sdkversion","value":"number"},"AIJ":{"caption":"OS Name","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"osname","value":"text"},"AIO":{"caption":"isDarkMode","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"isdarkmode","value":"boolean"},"ARU":{"caption":"Orientation","initialization_code":{"fn":"function(properties,context){}"},"name":"orientation","value":"text"},"AZe":{"caption":"Is Keyboard Visible","name":"keyboard_visibility","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ADm":{"caption":"App Info received","name":"appinfo_received"},"AEI":{"caption":"App went offline [DEPRECATED]","name":"device_went_offline"},"AEJ":{"caption":"App back online [DEPRECATED]","name":"device_back_online"},"AVn":{"caption":"App went background","name":"app_background"},"AVo":{"caption":"App went foreground","name":"app_foreground"},"AZf":{"caption":"Keyboard is visible","name":"keyboard_is_visible"},"AZg":{"caption":"Keyboard Is hidden","name":"keyboard_is_hidden"}},"actions":{"ADS":{"caption":"Refresh App Info","code":{"fn":"function(instance,properties,context){instance.data.app_info.getAppInfo(app_info_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.app_info=new NativelyInfo,instance.data.app_info.getAppInfo(app_info_callback(instance)),instance.data.app_info.connectivity(connectivity_callback(instance)),instance.data.app_info.app_state(app_state_callback(instance)),instance.data.app_info.keyboard_visibility(keyboard_visibility_callback(instance)))}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AFB":{"display":"Natively - Date Picker","property_applications":{"Backgroun
313d":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"AFC":{"caption":"Selected Date","initialization_code":{"fn":"function(properties,context){}"},"name":"date","value":"date"}},"events":{"AEs":{"caption":"Date selected","name":"date_selected"},"AEt":{"caption":"Date Picker closed","name":"datepicker_closed"}},"actions":{"AEk":{"caption":"Show Date Picker","fields":{"AEl":{"caption":"Title [iOS]","editor":"DynamicValue","name":"title","optional":true,"rank":0,"value":"text"},"AEm":{"caption":"Description [iOS]","editor":"DynamicValue","name":"description","optional":true,"rank":1,"value":"text"},"AEn":{"caption":"Type","default_val":"DATE","editor":"Dropdown","name":"type","optional":false,"rank":2,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"date\",null);let title=\"\",description=\"\";null!=properties.title&&(title=properties.title),null!=properties.description&&(description=properties.description),instance.data.picker.showDatePicker(title,description,properties.type,\"LIGHT\",datepicker_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.picker=new NativelyDatePicker)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AIZ":{"display":"Natively - Camera","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"AIY":{"caption":"Camera Result (Base64)","initialization_code":{"fn":"function(properties,context){}"},"name":"base64_result","value":"text"},"AId":{"caption":"Camera Result (Content Type)","initialization_code":{"fn":"function(properties,context){}"},"name":"content_type_result","value":"text"},"AIg":{"caption":"Uploaded File URL","initialization_code":{"fn":"function(properties,context){}"},"name":"file_url","value":"text"},"ANa":{"caption":"File Size","initialization_code":{"fn":"function(properties,context){}"},"name":"size","value":"number"}},"events":{"AIc":{"caption":"Camera Result Updated","name":"camera_result_updated"},"AIf":{"caption":"File Uploaded","name":"file_uploaded"},"ANc":{"caption":"File Size over limit","name":"file_size_over_limit"}},"actions":{"AIR":{"caption":"Show Camera","fields":{"AIa":{"caption":"Content Type","default_val":"photo","editor":"Dropdown","name":"type","rank":0},"AIb":{"caption":"Quality","default_val":"high","editor":"Dropdown","name":"quality","optional":false,"rank":1},"AIh":{"caption":"Upload File","default_val":true,"editor":"Checkbox","name":"upload_file","rank":2},"AIi":{"caption":"File Name","default_val":"my_file","editor":"DynamicValue","name":"file_name","optional":true,"rank":3,"value":"text"},"ANb":{"caption":"File Size Limit","editor":"StaticNumber","name":"size_limit","optional":true,"rank":4},"ANd":{"caption":"Camera Type","default_val":"BACK","editor":"Dropdown","name":"camera","rank":5}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"result\",null);let file_name=properties.file_name||\"my_file\",upload_file=properties.upload_file,size_limit=properties.size_limit;instance.data.camera.showCamera(properties.type,properties.quality,properties.camera,open_camera_callback(instance,context,file_name,upload_file,size_limit))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.camera=new NativelyCamera)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AJI":{"display":"Natively - Scanner","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"AJF":{"caption":"Scanner Result","initialization_code":{"fn":"function(properties,context){}"},"name":"result","value":"text"},"AaL":{"caption":"Document Scanner Status","name":"status","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AaM":{"caption":"Error","name":"message","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AaN":{"caption":"Document Size","name":"size","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AaO":{"caption":"Document base64","name":"base64String","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AJD":{"caption":"Scanner Result Updated","name":"result_updated"},"AaQ":{"caption":"Document Scanner Updated","name":"document_result_updated"}},"actions":{"AIy":{"caption":"Show Scanner","code":{"fn":"function(instance,properties,context){instance.data.scanner.showScanner(open_scanner_callback(instance))}"}},"AaA":{"caption":"Show Document Scanner","code":{"fn":"function(instance,properties,context){instance.data.scanner.showDocumentScanner(properties.jpegQuality,properties.foregroundColor,properties.backgrounColor,properties.highlightColor,properties.menuColor,properties.defaultFlashMode,properties.defaultScanOrientation,properties.source,properties.ocrLanguage,resultCallback(instance))}"},"fields":{"AaB":{"caption":"JPEG Quality","name":"jpegQuality","rank":0,"editor":"DynamicValue","optional":true,"value":"number","default_val":80},"AaC":{"caption":"Foreground Color","name":"foregroundColor","rank":1,"editor":"DynamicValue","optional":true,"value":"text","default_val":"#ffffff"}
313,"AaD":{"caption":"Background Color","name":"backgrounColor","rank":2,"editor":"DynamicValue","value":"text","optional":true,"default_val":"#000000"},"AaE":{"caption":"Highlight Color","name":"highlightColor","rank":3,"editor":"DynamicValue","value":"text","default_val":"#007aff","optional":true},"AaF":{"caption":"Menu Color","name":"menuColor","rank":4,"editor":"DynamicValue","value":"text","default_val":"#f0f0f0","optional":true},"AaG":{"caption":"Default Flash Mode","name":"defaultFlashMode","rank":5,"editor":"DynamicValue","value":"text","default_val":"auto","optional":true},"AaH":{"caption":"Default Scan Orientation","name":"defaultScanOrientation","rank":6,"editor":"DynamicValue","value":"text","default_val":"automatic","optional":true},"AaI":{"caption":"Source","name":"source","rank":7,"editor":"DynamicValue","value":"text","default_val":"camera","optional":true},"AaJ":{"caption":"Ocr Language","name":"ocrLanguage","rank":8,"editor":"DynamicValue","value":"text","default_val":"en-US","optional":true}}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.scanner=new NativelyScanner)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AKe":{"display":"[DEPRECATED] Natively - Contacts","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"AKh":{"caption":"Get Contacts IDs","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"ids","value":"text"},"AKi":{"caption":"Get Contacts FirstNames","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"first_names","value":"text"},"AKj":{"caption":"Get Contacts LastNames","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"last_names","value":"text"},"AKk":{"caption":"Get Contacts PhoneNumbers","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"phones","value":"text"},"AKl":{"caption":"Get Contacts Emails","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"emails","value":"text"},"AKt":{"caption":"Create Contact ID","initialization_code":{"fn":"function(properties,context){}"},"name":"create_id","value":"text"}
313,"AKu":{"caption":"Create/Get Contacts Status","initialization_code":{"fn":"function(properties,context){}"},"name":"status","value":"text"}},"events":{"AKX":{"caption":"Get All Contacts Success","name":"get_all_contacts_success"},"AKY":{"caption":"Get All Contacts Failed","name":"get_all_contacts_failed"},"AKr":{"caption":"Create Contact Success","name":"create_contact_success"},"AKs":{"caption":"Create Contact Failed","name":"create_contact_failed"}},"actions":{"AKR":{"caption":"Get All Contacts","code":{"fn":"function(instance,properties,context){instance.publishState(\"ids\",[]),instance.publishState(\"first_names\",[]),instance.publishState(\"last_names\",[]),instance.publishState(\"phones\",[]),instance.publishState(\"emails\",[]),instance.publishState(\"status\",\"\"),instance.data.contacts.getAllContacts(contacts_all_callback(instance))}"}},"AKm":{"caption":"Create Contact","fields":{"AKn":{"caption":"First name","editor":"DynamicValue","name":"first_name","optional":false,"rank":0,"value":"text"},"AKo":{"caption":"Last name","editor":"DynamicValue","name":"last_name","optional":true,"rank":1,"value":"text"},"AKp":{"caption":"Phone","editor":"DynamicValue","name":"phone","optional":true,"rank":2,"value":"text"},"AKq":{"caption":"Email","editor":"DynamicValue","name":"email","optional":true,"rank":3,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"status\",\"\"),instance.publishState(\"create_id\",\"\"),instance.data.contacts.createContact(properties.first_name,properties.last_name,properties.email,properties.phone,contacts_save_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.contacts=new NativelyContacts)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ALX":{"display":"Natively - Purchases","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"ALU":{"caption":"Latest PurchasePackage transactionId","initialization_code":{"fn":"function(properties,context){instance.publishState(\"transaction_id\",\"\")}"},"name":"transaction_id","value":"text"},"ALW":{"caption":"Latest PurchasePackage customerId","initialization_code":{"fn":"function(properties,context){instance.publishState(\"customer_id\",\"\")}"},"name":"customer_id","value":"text"},"ALf":{"caption":"Latest Error","initialization_code":{"fn":"function(properties,context){}"},"name":"error","value":"text"},"AOb":{"caption":"Latest GetPrice price","initialization_code":{"fn":"function(properties,context){}"},"name":"price","value":"number"},"AOc":{"caption":"Latest GetPrice price (Localized)","initialization_code":{"fn":"function(properties,context){}"},"name":"localized_price","value":"text"},"AOd":{"caption":"Latest GetPrice currency","initialization_code":{"fn":"function(properties,context){}"},"name":"currency","value":"text"},"AOf":{"caption":"Latest Request packageId","initialization_code":{"fn":"function(properties,context){instance.publishState(\"package_id\",\"\")}"},"name":"package_id","value":"text"}},"events":{"ALP":{"caption":"Purchase Success ","name":"purchase_success"},"ALQ":{"caption":"Purchase Failed","name":"purchase_failed"},"ALc":{"caption":"Set Customer Success","name":"set_customer_success"},"ALd":{"caption":"Set Customer Failed","name":"set_customer_failed"},"ALe":{"caption":"Purchase Cancelled","name":"purchase_cancelled"},"ALg":{"caption":"Customer ID Received","name":"customer_id_received"},"AOZ":{"caption":"Get Price Success","name":"price_success"},"AOa":{"caption":"Get Price Failed","name":"price_failed"},"AOh":{"caption":"Restore Purchase Success [iOS]","name":"restore_success"},"AOi":{"caption":"Restore Purchase Failed [iOS]","name":"restore_failed"}},"actions":{"ALJ":{"caption":"Purchase Package","fields":{"ALK":{"caption":"Package ID","editor":"DynamicValue","name":"package_id","rank":0,"value":"text"},"AXj":{"caption":"Old Product ID (Android)","name":"oldProductId","rank":1,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"transaction_id\",\"\"),instance.publishState(\"package_id\",\"\"),instance.publishState(\"error\",\"\"),instance.data.purchases.purchasePackage(properties.package_id,purchases_package_callback(instance),properties.oldProductId)}"}},"ALY":{"caption":"Set Customer ID","fields":{"ALa":{"caption":"Customer ID","editor":"DynamicValue","name":"customer_id","rank":0,"value":"text"},"AOe":{"caption":"Customer Email","editor":"DynamicValue","name":"customer_email","optional":true,"rank":1,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"customer_id\",\"\");const email=properties.customer_email||\"\";instance.data.purchases.login(properties.customer_id,email,purchases_login_callback(instance))}"}},"ALZ":{"caption":"Reset Customer ID","code":{"fn":"function(instance,properties,context){instance.publishState(\"customer_id\",\"\"),instance.data.purchases.logout()}"}},"ALb":{"caption":"Get Customer ID","code":{"fn":"function(instance,properties,context){instance.publishState(\"customer_id\",\"\"),instance.data.purchases.customerId(purchases_customerid_callback(instance))}"}},"AOX":{"caption":"Get Package Price","fields":{"AOY":{"caption":"Package ID","editor":"DynamicValue","name":"package_id","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"price\",null),instance.publishState(\"localized_price\",\"\"),instance.publishState(\"currency\",\"\"),instance.publishState(\"error\",\"\"),instance.data.purchases.packagePrice(properties.package_id,purchases_price_callback(instance))}"}},"AOg":{"caption":"Restore Purchase [iOS]","code":{"fn":"function(instance,properties,context){instance.data.purchases.restore(purchases_restore_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.purchases=new NativelyPurchases)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AMI":{"display":"Natively - Location","property_applications":{"Backgroun
313d":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"AME":{"caption":"Latest location longitude","initialization_code":{"fn":"function(properties,context){}"},"name":"longitude","value":"number"},"AMF":{"caption":"Latest location latitude","initialization_code":{"fn":"function(properties,context){}"},"name":"latitude","value":"number"},"AMH":{"caption":"Latest location response status","initialization_code":{"fn":"function(properties,context){}"},"name":"location_status","value":"text"},"ANf":{"caption":"Location permission","initialization_code":{"fn":"function(properties,context){}"},"name":"location_permission","value":"text"},"AVt":{"caption":"BG Location Is Running","name":"location_bg_status","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AXi":{"caption":"Latest error","name":"error_message","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ALz":{"caption":"Location received","name":"location_received"},"AMA":{"caption":"Location failed","name":"location_failed"},"ANA":{"caption":"Location Background Failed","name":"location_bg_failed"},"ANB":{"caption":"Location Background Success","name":"location_bg_success"},"ANe":{"caption":"Location Permission Received","name":"location_permission_received"},"AVs":{"caption":"Location Background Service Status Received","name":"location_bg_status_received"}},"actions":{"ALv":{"caption":"Get current location","fields":{"ALw":{"caption":"Min Accuracy [iOS]","default_val":50,"editor":"StaticNumber","name":"minAccuracy","rank":0},"ANC":{"caption":"Priority [Android]","default_val":"BALANCED","editor":"Dropdown","name":"priority","rank":2},"ARZ":{"caption":"Accuracy Type [iOS]","default_val":"NearestTenMeters","editor":"Dropdown","name":"accuracyType","rank":1},"AZs":{"caption":"Open Settings","name":"fallbackToSettings","rank":3,"editor":"Checkbox","default_val":true}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"longitude\",null),instance.publishState(\"latitude\",null),instance.publishState(\"location_status\",null),instance.data.location.current(properties.minAccuracy,properties.accuracyType,properties.priority,location_current_callback(instance),properties.fallbackToSettings)}"}},"AMJ":{"caption":"Start foreground location service","fields":{"AML":{"caption":"Min Accuracy [iOS]","default_val":50,"editor":"StaticNumber","name":"minAccuracy","rank":0},"AND":{"caption":"Fetching Interval","default_val":5000,"editor":"StaticNumber","name":"interval","rank":2},"ANE":{"caption":"Priority [Android]","default_val":"BALANCED","editor":"Dropdown","name":"priority","rank":3},"ARa":{"caption":"Accuracy Type [iOS]","default_val":"NearestTenMeters","editor":"Dropdown","name":"accuracyType","rank":1},"AZo":{"caption":"Open Settings","name":"fallbackToSettings","rank":4,"editor":"Checkbox","default_val":true}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"longitude\",null),instance.publishState(\"latitude\",null),instance.publishState(\"location_status\",null),instance.data.location.start(properties.interval,properties.minAccuracy,properties.accuracyType,properties.priority,location_current_callback(instance),properties.fallbackToSettings)}"}},"AMK":{"caption":"Stop foreground location service","code":{"fn":"function(instance,properties,context){instance.data.location.stop()}"}},"AMu":{"caption":"Start background location service","fields":{"AMx":{"caption":"Response Identifier","editor":"DynamicValue","name":"response_identifier","rank":0,"value":"text"},"AMz":{"caption":"Fetching Interval","default_val":60000,"editor":"StaticNumber","name":"interval","rank":1},"ANF":{"caption":"Priority [Android]","default_val":"BALANCED","editor":"Dropdown","name":"priority","rank":2},"ANG":{"caption":"Min Accuracy [iOS]","default_val":50,"editor":"StaticNumber","name":"minAccuracy","rank":3},"ARb":{"caption":"Accuracy Type [iOS]","default_val":"NearestTenMeters","editor":"Dropdown","name":"accuracyType","rank":4},"AZq":{"caption":"Open Settings","name":"fallbackToSettings","rank":5,"editor":"Checkbox","default_val":true}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"location_status\",null),instance.data.location.startBackgroun
313d(properties.interval,properties.minAccuracy,properties.accuracyType,properties.priority,properties.response_identifier,location_bg_callback(instance),properties.fallbackToSettings)}"}},"AMv":{"caption":"Stop background location service","code":{"fn":"function(instance,properties,context){instance.publishState(\"location_status\",null),instance.publishState(\"location_bg_status\",!1),instance.data.location.stopBackground(location_bg_stop_callback(instance))}"}},"ANg":{"caption":"Get location permission","code":{"fn":"function(instance,properties,context){instance.publishState(\"location_permission\",null),instance.data.location.permission(location_permission_callback(instance))}"}},"AVr":{"caption":"Get background location service status","code":{"fn":"function(instance,properties,context){instance.publishState(\"location_bg_status\",null),instance.data.location.statusBackground(location_status_bg_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.location=new NativelyLocation)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ANX":{"display":"Natively - Browser","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"has_reset_fn":false,"states":{"ANR":{"caption":"Connectivity","initialization_code":{"fn":"function(properties,context){return window.navigator.onLine}"},"name":"connectivity","value":"boolean"},"ANV":{"caption":"isNativeApp","initialization_code":{"fn":"function(properties,context){return natively_info.browserInfo().isNativeApp}"},"name":"isnative","value":"boolean"},"ANY":{"caption":"isIOSApp","initialization_code":{"fn":"function(properties,context){return natively_info.browserInfo().isIOSApp}"},"name":"isiosapp","value":"boolean"},"ANZ":{"caption":"isAndroidApp","initialization_code":{"fn":"function(properties,context){return natively_info.browserInfo().isAndroidApp}"},"name":"isandroidapp","value":"boolean"},"ARY":{"caption":"isMobileBrowser","initialization_code":{"fn":"function(properties,context){return window.mobileAndTabletCheck()||!1}"},"name":"ismobilebrowser","value":"boolean"}},"events":{"ANK":{"caption":"Device went offline","name":"device_went_offline"},"ANL":{"caption":"Device back online","name":"device_back_online"}},"code":{"initialize":{"fn":"function(instance,context){if(window.addEventListener(\"online\",(e=>{instance.publishState(\"connectivity\",!0),instance.triggerEvent(\"device_back_online\")})),window.addEventListener(\"offline\",(e=>{instance.publishState(\"connectivity\",!1),instance.triggerEvent(\"device_went_offline\")})),window.natively.app_sdk_version<5)return alert(\"Please rebuild your app to use Natively - Browser\"),!1}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AOw":{"display":"Natively - HealthKit BASE","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AQj":{"caption":"QuantityStatisticsObject","editor":"custom_type","name":"QuantityStatisticsObject","optional":true,"rank":0},"AQm":{"caption":"CharacteristicObject","editor":"custom_type","name":"CharacteristicObject","optional":true,"rank":1}},"states":{"AOu":{"caption":"Latest Get Health Availability Result","initialization_code":{"fn":"function(properties,context){}"},"name":"health_available_response","value":"boolean"},"AOv":{"caption":"Latest Get Permission Result","initialization_code":{"fn":"function(properties,context){}"},"name":"get_permission_response","value":"boolean"},"APH":{"caption":"Latest Request Permission Result","initialization_code":{"fn":"function(properties,context){}"},"name":"request_permission_response","value":"boolean"},"API":{"caption":"Latest Get All Characteristics","initialization_code":{"fn":"function(properties,context){}"},"name":"get_characteristic_response","value":"custom_data_AQm"},"APJ":{"caption":"Latest Get Quantity Statistics Response","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"get_quantity_response","value":"custom_data_AQj"}},"events":{"AOq":{"caption":"Get Permission Value Updated (Write Only)","name":"get_permission_updated"},"AOt":{"caption":"Get Health Availability Value Updated","name":"health_available_updated"},"APG":{"caption":"Request Permission Value Updated","name":"request_permission_updated"},"APL":{"caption":"Get All Characteristics Updated","name":"get_characteristic_updated"}
313,"APM":{"caption":"Get Quantity Updated","name":"get_quantity_updated"}},"actions":{"AOm":{"caption":"Get Health Availability","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&(instance.publishState(\"health_available_response\",null),instance.data.health.available(health_available_callback(instance)))}"}},"AOz":{"caption":"Request Permissions","fields":{"APA":{"caption":"read","editor":"DynamicValue","is_list":true,"name":"read","optional":true,"rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){if(void 0!==window.natively){instance.publishState(\"request_permission_response\",null);var read=[];null!=properties.read&&(read=properties.read.get(0,properties.read.length())),instance.data.health.requestAuthorization([],read,health_register_callback(instance))}}"}},"APN":{"caption":"Get All Characteristic Values","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&(instance.publishState(\"get_characteristic_response\",null),instance.data.health.getAllCharacteristics(health_get_characteristic_callback(instance)))}"}},"APO":{"caption":"Get Quantity Statistics Values","fields":{"APQ":{"caption":"data_type","default_val":"STEPS","editor":"DynamicValue","name":"data_type","rank":0,"value":"text"},"APR":{"caption":"interval","default_val":"DAY","editor":"DynamicValue","name":"interval","rank":1,"value":"text"},"APS":{"caption":"startDate","editor":"DynamicValue","name":"start_date","optional":false,"rank":2,"value":"date"},"APU":{"caption":"endDate","editor":"DynamicValue","name":"end_date","optional":false,"rank":3,"value":"date"}},"code":{"fn":"function(instance,properties,context){if(void 0===window.natively)return;const start=properties.start_date||void 0,end=properties.end_date||void 0;instance.publishState(\"get_quantity_response\",[]),instance.data.health.getStatisticQuantity(properties.data_type,properties.interval,start,end,health_get_quantity_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.health=new NativelyHealth)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AQg":{"display":"Natively - HealthKit SLEEP","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AQX":{"caption":"SleepAnalysisObject","editor":"custom_type","name":"SleepAnalysisObject","rank":0}},"states":{"AQY":{"caption":"Latest Get Sleep Analysis Response","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"get_sleep_response","value":"custom_data_AQX"}},"events":{"AQW":{"caption":"Get Sleep Analysis Updated","name":"get_sleep_updated"}},"actions":{"AQS":{"caption":"Get Sleep Analysis","fields":{"AQT":{"caption":"limit","default_val":100,"editor":"DynamicValue","name":"limit","rank":0,"value":"number"},"AQU":{"caption":"startDate","editor":"DynamicValue","name":"start_date","optional":false,"rank":1,"value":"date"},"AQV":{"caption":"endDate","editor":"DynamicValue","name":"end_date","optional":false,"rank":2,"value":"date"}},"code":{"fn":"function(instance,properties,context){if(void 0===window.natively)return;const start=properties.start_date||void 0,end=properties.end_date||void 0,limit=properties.limit||100;instance.data.health.getDailySleepAnalysis(start,end,limit,health_get_daily_sleep_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.health=new NativelyHealth)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AQx":{"display":"Natively - HealthKit ACTIVITY","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AQv":{"caption":"ActivitySummaryObject","editor":"custom_type","name":"ActivitySummaryObject","rank":0}},"states":{"AQw":{"caption":"Latest Get Activity Summary Response","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"get_activity_response","value":"custom_data_AQv"}},"events":{"AQu":{"caption":"Get Activity Summary Updated","name":"get_activity_updated"}},"actions":{"AQq":{"caption":"Get Activity Summary","fields":{"AQs":{"caption":"startDate","editor":"DynamicValue","name":"start_date","optional":false,"rank":0,"value":"date"},"AQt":{"caption":"endDate","editor":"DynamicValue","name":"end_date","optional":false,"rank":1,"value":"date"}},"code":{"fn":"function(instance,properties,context){if(void 0===window.natively)return;const start=properties.start_date||void 0,end=properties.end_date||void 0;instance.data.health.getActivitySummary(start,end,health_get_activity_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.health=new NativelyHealth)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ART":{"display":"Natively - Clipboard","property_applications":{"Backgroun
313d":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"can_fit_width":false,"can_fit_height":false,"states":{"ARS":{"caption":"Latest clipboard value","initialization_code":{"fn":"function(properties,context){}"},"name":"requested_value","value":"text"}},"events":{"ARQ":{"caption":"Clipboard value received","name":"requested_value_received"}},"actions":{"ARI":{"caption":"Copy text to clipboard","fields":{"ARK":{"caption":"text","default_val":"text","editor":"DynamicValue","name":"text","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.data.clipboard.copy(properties.text)}"}},"ARL":{"caption":"Get text from clipboard","code":{"fn":"function(instance,properties,context){instance.data.clipboard.paste(clipboard_value_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.clipboard=new NativelyClipboard)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ASN":{"display":"Natively - Audio Recorder","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"ASJ":{"caption":"Recorder Result (Base64)","initialization_code":{"fn":"function(properties,context){}"},"name":"base64_result","value":"text"},"ASK":{"caption":"Recorder Result (Content Type)","initialization_code":{"fn":"function(properties,context){}"},"name":"content_type_result","value":"text"},"ASL":{"caption":"Uploaded File URL","initialization_code":{"fn":"function(properties,context){}"},"name":"file_url","value":"text"},"ASM":{"caption":"File Size","initialization_code":{"fn":"function(properties,context){}"},"name":"size","value":"number"}},"events":{"ASG":{"caption":"Recorder Result Updated","name":"recorder_result_updated"},"ASH":{"caption":"File Uploaded","name":"file_uploaded"},"ASI":{"caption":"File Size over limit","name":"file_size_over_limit"},"ASP":{"caption":"Recorder Cancelled","name":"recorder_cancelled"}},"actions":{"ARz":{"caption":"Start Recording","fields":{"ASC":{"caption":"Upload File","default_val":true,"editor":"Checkbox","name":"upload_file","rank":0},"ASD":{"caption":"File Name","default_val":"my_file","editor":"DynamicValue","name":"file_name","optional":true,"rank":1,"value":"text"},"ASE":{"caption":"File Size Limit","editor":"StaticNumber","name":"size_limit","optional":true,"rank":2},"ASQ":{"caption":"Max Duration (iOS)","default_val":0,"editor":"StaticNumber","name":"max_duration","optional":true,"rank":3}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"base64_result\",null),instance.publishState(\"content_type_result\",null),instance.publishState(\"size\",null);let file_name=properties.file_name||\"my_file\",upload_file=properties.upload_file||!1,size_limit=properties.size_limit,max_duration=properties.max_duration||0;instance.data.recorder.showRecorder(max_duration,start_recording_callback(instance,context,file_name,upload_file,size_limit))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.recorder=new NativelyAudioRecorder)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ASy":{"display":"Natively - Admob Banner","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"ASz":{"caption":"Android UnitId","default_val":"ca-app-pub-3940256099942544/6300978111","editor":"StaticText","name":"android_unit_id","rank":1,"value":"text"},"ATA":{"caption":"Position","default_val":"BOTTOM","editor":"Dropdown","name":"position","rank":2},"ATB":{"caption":"Size Type","default_val":"AUTO","editor":"Dropdown","name":"size_type","rank":3},"ATC":{"caption":"Banner Width","default_val":320,"editor":"StaticNumber","name":"width","rank":4,"value":"text"},"ATD":{"caption":"Banner Height","default_val":50,"editor":"StaticNumber","name":"height","rank":5},"ATT":{"caption":"Preload Ad on Initialize","default_val":true,"editor":"Checkbox","name":"preload_ad","rank":6},"ATU":{"caption":"Show Ad on Initialize","default_val":true,"editor":"Checkbox","name":"show_ad","rank":7},"AUC":{"caption":"iOS UnitId","default_val":"ca-app-pub-3940256099942544/2934735716","editor":"StaticText","name":"ios_unit_id","rank":0}},"states":{"ASu":{"caption":"Banner Is Ready","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"banner_ready","value":"boolean"},"ASv":{"caption":"Latest Event","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"event","value":"text"},"ASw":{"caption":"Latest Error Message","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"error","value":"text"},"ATQ":{"caption":"Banner Is Visible","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"banner_visible","value":"boolean"}
313,"ATR":{"caption":"Ad Is Loaded","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"load_ad","value":"boolean"}},"events":{"ASt":{"caption":"Did finish setup","name":"DID_FINISH_SETUP"},"ATE":{"caption":"Did record click","name":"DID_RECORD_CLICK"},"ATH":{"caption":"Did fail to receive ad","name":"DID_FAIL_TO_RECEIVE_AD"},"ATK":{"caption":"Did load ad","name":"DID_LOAD_AD"},"ATL":{"caption":"Did hide banner","name":"DID_HIDE_BANNER"},"ATM":{"caption":"Did show banner","name":"DID_SHOW_BANNER"},"AUF":{"caption":"Did record impression","name":"DID_RECORD_IMPRESSION"}},"actions":{"ATI":{"caption":"Show Banner","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.banner.showBanner(bannerad_callback(instance,context))}"}},"ATJ":{"caption":"Check Banner Ready","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.banner.bannerIsReady(bannerad_ready_callback(instance,context))}"}},"ATN":{"caption":"Hide Banner","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.banner.hideBanner(bannerad_callback(instance,context))}"}},"ATP":{"caption":"Load Ad","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&(instance.publishState(\"load_ad\",!1),instance.data.banner.loadAd(bannerad_callback(instance,context)))}"}},"ATS":{"caption":"Check Banner Visible","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.banner.bannerIsVisible(bannerad_visible_callback(instance,context))}"}}},"code":{"initialize":{"fn":"function(instance,context){window.natively}"},"update":{"fn":"function(instance,properties,context){if(void 0!==window.natively&&void 0===instance.data.banner){const bannerConfig={androidUnitId:properties.android_unit_id,iOSUnitId:properties.ios_unit_id,position:properties.position,sizeType:properties.size_type,custom_width:properties.width,custom_height:properties.height};instance.data.banner=new NativelyAdmobBanner(bannerConfig,bannerad_callback(instance,context),properties.preload_ad,bannerad_callback(instance,context),properties.show_ad,bannerad_callback(instance,context))}}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"ATx":{"display":"Natively - Admob Interstitial","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"ATl":{"caption":"iOS UnitId","default_val":"ca-app-pub-3940256099942544/4411468910","editor":"StaticText","name":"ios_unit_id","rank":0,"value":"text"},"AUB":{"caption":"Auto Ad Reload","default_val":true,"editor":"Checkbox","name":"auto_ad_reload","rank":2},"AUD":{"caption":"Android UnitId","default_val":"ca-app-pub-3940256099942544/1033173712","editor":"StaticText","name":"android_unit_id","rank":1}},"states":{"ATs":{"caption":"Interstitial Is Ready","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"interstitial_ready","value":"boolean"},"ATt":{"caption":"Latest Event","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"event","value":"text"},"ATu":{"caption":"Latest Error Message","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"error","value":"text"}},"events":{"ATf":{"caption":"Did Load Ad","name":"DID_LOAD_AD"},"ATg":{"caption":"Did Record Click","name":"DID_RECORD_CLICK"},"ATh":{"caption":"Did fail to present","name":"DID_FAIL_TO_PRESENT"},"ATj":{"caption":"Did fail to load ad","name":"DID_FAIL_TO_LOAD_AD"},"ATk":{"caption":"Did show ad","name":"DID_SHOW_AD"},"ATy":{"caption":"Did dismiss ad","name":"DID_DISMISS_AD"},"AUE":{"caption":"Did Record Impression","name":"DID_RECORD_IMPRESSION"}},"actions":{"ATa":{"caption":"Show Ad","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.interstitial.showInterstitialAd(interstitialad_callback(instance,context))}"}},"ATz":{"caption":"Check Interstitial Ready","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.interstitial.interstitialIsReady(interstitialad_ready_callback(instance,context))}"}},"AUA":{"caption":"Load Ad","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.interstitial.loadAd(interstitialad_callback(instance,context))}"}}},"code":{"initialize":{"fn":"function(instance,context){window.natively}"},"update":{"fn":"function(instance,properties,context){void 0!==window.natively&&void 0===instance.data.interstitial&&(instance.data.interstitial=new NativelyAdmobInterstitial(properties.ios_unit_id,properties.android_unit_id,interstitialad_callback(instance,context),properties.auto_ad_reload,interstitialad_callback(instance,context)))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AUn":{"display":"Natively - NFC","property_applications":{"Backgroun
313d":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AUh":{"caption":"Read Alert Message","default_val":"Nearby NFC card for read","editor":"StaticText","name":"readAlertMessage","rank":0,"value":"text"},"AUj":{"caption":"Write Alert Message","default_val":"Nearby NFC card for write","editor":"StaticText","name":"writeAlertMessage","rank":1},"AUo":{"caption":"Read Detected Message","default_val":"Detected NFC info","editor":"StaticText","name":"readDetectedMessage","rank":2},"AUp":{"caption":"Write Detected Message","default_val":"Write data success","editor":"StaticText","name":"writeDetectedMessage","rank":3},"AVB":{"caption":"nfcresponse","editor":"custom_type","name":"nfcresponse","rank":4}},"states":{"AUk":{"caption":"Error","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"error","value":"text"},"AUl":{"caption":"Result","initialization_code":{"fn":"function(properties,context){return\"\"}"},"is_list":false,"name":"result","value":"custom_data_AVB"},"AUz":{"caption":"NFC Tag ID","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"id","value":"text"},"AVA":{"caption":"NFC Tag Type","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"tagType","value":"text"},"AVC":{"caption":"NFC Is Available","initialization_code":{"fn":"function(properties,context){return!1}"},"name":"available","value":"boolean"}},"events":{"AUr":{"caption":"NFC Read Failed","name":"did_read_failed"},"AUs":{"caption":"NFC Write Failed","name":"did_write_failed"},"AUt":{"caption":"NFC Write Success","name":"did_write_success"},"AUu":{"caption":"NFC Read Success","name":"did_read_success"},"AVD":{"caption":"NFC Ready To Use","name":"did_ready"}},"actions":{"AUX":{"caption":"Read Data","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&(instance.publishState(\"result\",null),instance.publishState(\"id\",null),instance.publishState(\"tagType\",null),instance.data.nfc.read(nfc_read_callback(instance,context)))}"}},"AUY":{"caption":"Write Data","fields":{"AUq":{"caption":"Record Data","default_val":"https://buildnatively.com","editor":"DynamicValue","is_list":false,"name":"recordData","rank":0,"value":"text"},"AUy":{"caption":"Record ID","default_val":"123","editor":"DynamicValue","is_list":false,"name":"recordId","rank":1,"value":"text"},"AZz":{"caption":"Record Data Type","name":"recordDataType","rank":2,"editor":"Dropdown","default_val":"text"}},"code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.nfc.write(properties.recordId,properties.recordData,properties.recordDataType,nfc_write_callback(instance,context))}"}}},"code":{"initialize":{"fn":"function(instance,context){window.natively}"},"update":{"fn":"function(instance,properties,context){void 0!==window.natively&&void 0===instance.data.nfc&&(instance.data.nfc=new NativelyNFCService(properties.readAlertMessage,properties.writeAlertMessage,properties.readDetectedMessage,properties.writeDetectedMessage),instance.data.nfc.available((resp=>{const available=resp.status;instance.publishState(\"available\",available),instance.triggerEvent(\"did_ready\")})))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AVZ":{"display":"Natively - Apple Sign In","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"AVU":{"caption":"Error","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"error","value":"text"},"AVV":{"caption":"Email","initialization_code":{"fn":"function(properties,context){return\"\"}"},"is_list":false,"name":"email","value":"text"},"AVW":{"caption":"Given Name","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"givenname","value":"text"},"AVX":{"caption":"Family Name","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"familyname","value":"text"},"AVa":{"caption":"Subject","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"subject","value":"text"},"AVc":{"caption":"Initial Sign In","initialization_code":{"fn":"function(properties,context){return null}"},"name":"initial","value":"boolean"}},"events":{"AVK":{"caption":"Apple Sign In Failed","name":"failed"},"AVL":{"caption":"Apple Sign In Success","name":"success"}},"actions":{"AVG":{"caption":"Sign In With Apple","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&(instance.publishState(\"email\",\"\"),instance.publishState(\"givenname\",\"\"),instance.publishState(\"familyname\",\"\"),instance.publishState(\"subject\",\"\"),instance.publishState(\"error\",\"\"),instance.publishState(\"initial\",null),instance.data.apple.signin(apple_signin_callback(instance,context)))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.apple=new NativelyAppleSign
313InService)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AWW":{"display":"Natively - HealthKit WORKOUTS","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AWU":{"caption":"WorkoutObject","editor":"custom_type","name":"WorkoutObject","rank":0}},"states":{"AWV":{"caption":"Latest Get Workouts Response","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"get_workouts_response","value":"custom_data_AWU"}},"events":{"AWT":{"caption":"Get Workouts Updated","name":"get_workouts_updated"}},"actions":{"AWP":{"caption":"Get Workouts","fields":{"AWQ":{"caption":"limit","default_val":100,"editor":"DynamicValue","name":"limit","rank":0,"value":"number"},"AWR":{"caption":"startDate","editor":"DynamicValue","name":"start_date","optional":false,"rank":1,"value":"date"},"AWS":{"caption":"endDate","editor":"DynamicValue","name":"end_date","optional":false,"rank":2,"value":"date"}},"code":{"fn":"function(instance,properties,context){if(void 0===window.natively)return;const start=properties.start_date||void 0,end=properties.end_date||void 0,limit=properties.limit||100;instance.data.health.getWorkouts(start,end,limit,health_get_workouts_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.health=new NativelyHealth)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AWr":{"display":"Natively - Contacts","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AWs":{"caption":"ContactObject","name":"ContactObject","rank":0,"editor":"custom_type"}},"states":{"AWk":{"caption":"Get Contacts Result","initialization_code":{"fn":"function(properties,context){return[]}"},"is_list":true,"name":"contacts","value":"custom_data_AWs"},"AWp":{"caption":"Create Contact ID Result","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"create_id","value":"text"}
313,"AWq":{"caption":"Create/Get Contacts Status","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"status","value":"text"}},"events":{"AWg":{"caption":"Get All Contacts Success","name":"get_all_contacts_success"},"AWh":{"caption":"Get All Contacts Failed","name":"get_all_contacts_failed"},"AWi":{"caption":"Create Contact Success","name":"create_contact_success"},"AWj":{"caption":"Create Contact Failed","name":"create_contact_failed"}},"actions":{"AWa":{"caption":"Get All Contacts","code":{"fn":"function(instance,properties,context){instance.publishState(\"contacts\",[]),instance.data.contacts.getAllContacts(contacts_all_callback(instance))}"}},"AWb":{"caption":"Create Contact","fields":{"AWc":{"caption":"First name","editor":"DynamicValue","name":"first_name","optional":false,"rank":0,"value":"text"},"AWd":{"caption":"Last name","editor":"DynamicValue","name":"last_name","optional":true,"rank":1,"value":"text"},"AWe":{"caption":"Phone","editor":"DynamicValue","name":"phone","optional":true,"rank":2,"value":"text"},"AWf":{"caption":"Email","editor":"DynamicValue","name":"email","optional":true,"rank":3,"value":"text"}},"code":{"fn":"function(instance,properties,context){instance.publishState(\"status\",\"\"),instance.publishState(\"create_id\",\"\"),instance.data.contacts.createContact(properties.first_name,properties.last_name,properties.email,properties.phone,contacts_save_callback(instance))}"}},"AWt":{"caption":"Get Contact with ID","code":{"fn":"function(instance,properties,context){instance.publishState(\"contacts\",[]);const id=properties.id;instance.data.contacts.getAllContacts(contacts_with_id_callback(instance,id))}"},"fields":{"AWu":{"caption":"id","name":"id","rank":0,"editor":"DynamicValue","value":"text","optional":false}}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.contacts=new NativelyContacts)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"},"AWy":{"display":"Natively - Push Notifications (Firebase)","property_applications":{"resizable":true},"add_is_visible":true,"states":{"AWz":{"caption":"Permission Status","name":"permission_status","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AXA":{"caption":"Firebase FCM Token","name":"firebase_fcm_token","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AXB":{"caption":"Firebase APNS Token","name":"firebase_apns_token","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AXe":{"name":"topic_subscription_status","value":"text","initialization_code":{"fn":"function(properties,context){}"},"caption":"Topic subscription Status"},"AXf":{"caption":"Topic unsubscribe Status","name":"topic_unsubscribe_status","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AXC":{"caption":"Firebase FCM Token Updated","name":"firebase_fcm_token_updated"},"AXD":{"caption":"Firebase APNS Token Updated","name":"firebase_apns_token_updated"},"AXE":{"caption":"Notification permissions authorized","name":"permission_status_authorized"},"AXF":{"caption":"Notification permissions denied","name":"permission_status_denied"},"AXG":{"caption":"Notification permissions status updated","name":"permission_status_updated"},"AXd":{"caption":"Topic subscription status","name":"subscribe_to_topic_status_updated"},"AZn":{"caption":"Unsubscribe from topic status","name":"unsubscribe_from_topic_status_updated"}},"actions":{"AXH":{"caption":"Request the user's push notification permission","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.firebase_request_permission(request_permission_callback(instance))}"}},"AXI":{"caption":"Get the user's Firebase FCM Token","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.firebase_get_token(token_callback(instance))}"}},"AXK":{"caption":"Get the user's Firebase APNS Token","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.firebase_get_apns_token(apns_token_callback(instance))}"}},"AXL":{"caption":"Get the user's push notification permission status","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.firebase_has_permission(permission_status_callback(instance))}"}},"AXb":{"caption":"Subscribe to topic","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.firebase_subscribe_to_topic(subscribe_to_topic_callback(instance))}"},"fields":{"AXc":{"caption":"Topic ID","name":"topic","rank":0,"editor":"DynamicValue","value":"text"}}},"AXg":{"caption":"Unsubscribe from topic","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.firebase_unsubscribe_from_topic(unsubscribe_from_topic_callback(instance))}"},"fields":{"AXh":{"caption":"Topic ID","name":"topic","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {}"},"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.notifications=new NativelyFirebaseNotifications,instance.data.notifications.firebase_has_permission(permission_status_callback(instance)))}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AZP":{"display":"[DEPRECATED] Natively - Push Notifications (Klaviyo)","property_applications":{"resizable":true},"add_is_visible":true,"states":{"AZK":{"caption":"Permission Status","name":"permission_status","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AZL":{"caption":"External ID","name":"external_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AZQ":{"caption":"Token","name":"token","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AZm":{"caption":"Last Error","name":"last_error","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AZE":{"caption":"Klaviyo Set Profile Success","name":"klaviyo_set_profile_success"},"AZF":{"caption":"Klaviyo Set Profile Fail","name":"klaviyo_set_profile_fail"},"AZG":{"caption":"Notification permissions authorized","name":"permission_status_authorized"},"AZH":{"caption":"Notification permissions denied","name":"permission_status_denied"},"AZI":{"caption":"Notification permissions status updated","name":"permission_status_updated"}
313,"AZJ":{"caption":"Klaviyo External ID Updated","name":"external_id_updated"},"AZR":{"caption":"Klaviyo Get External ID Fail","name":"get_external_id_fail"},"AZS":{"caption":"Klaviyo Reset Profile Success","name":"reset_profile_success"},"AZT":{"caption":"Klaviyo Reset Profile Fail","name":"reset_profile_fail"},"AZZ":{"caption":"Klaviyo Token Updated","name":"klaviyo_token_updated"},"AZa":{"caption":"Klaviyo Token Fail","name":"klaviyo_token_fail"}},"actions":{"AYw":{"caption":"Request the user's push notification permission","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.pushRegister(request_permission_callback(instance))}"}},"AYz":{"caption":"Get the user's push notification permission status","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.pushPermission(permission_status_callback(instance))}"}},"AZA":{"caption":"Set profile","code":{"fn":"function(instance,properties,context){instance.data.notifications.setProfile({external_id:properties.external_id,email:properties.email,first_name:properties.first_name,last_name:properties.last_name,phone_number:properties.phone_number},set_profile_callback(instance))}"},"fields":{"AZB":{"caption":"Externa ID","name":"external_id","rank":0,"editor":"DynamicValue","value":"text"},"AZU":{"caption":"Email","name":"email","rank":1,"editor":"DynamicValue","value":"text"},"AZV":{"caption":"First name","name":"first_name","rank":2,"editor":"DynamicValue","value":"text"},"AZW":{"caption":"Last name","name":"last_name","rank":3,"editor":"DynamicValue","value":"text"},"AZX":{"caption":"Phone number","name":"phone_number","rank":4,"editor":"DynamicValue","value":"text"}}},"AZC":{"caption":"Get External ID","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.getExternalId(get_external_id_callback(instance))}"}},"AZY":{"caption":"Reset profile","code":{"fn":"function(instance,properties,context){void 0!==window.natively&&instance.data.notifications.resetProfile(reset_profile_callback(instance))}"}},"AZx":{"caption":"Register token","code":{"fn":"function(instance,properties,context){instance.data.notifications.resetToken({token:properties.token})}"},"fields":{"AZy":{"caption":"Token","name":"token","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {}"},"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.notifications=new NativelyKlaviyoNotifications)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"Abj":{"display":"Natively - Calendar","property_applications":{"Background":false,"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"Abf":{"caption":"CalendarObject","name":"CalendarObject","rank":0,"editor":"custom_type"}},"states":{"Abg":{"caption":"Get Calendars Result","initialization_code":{"fn":"function(properties,context){return[]}"},"is_list":true,"name":"calendars","value":"custom_data_Abf"},"Abh":{"caption":"Create Event Calendar ID","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"calendar_id","value":"text","is_list":false},"Abi":{"caption":"Create Event/Get Calendars Status","initialization_code":{"fn":"function(properties,context){return\"\"}"},"name":"status","value":"text"},"Abk":{"caption":"Event Title","name":"title","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Abl":{"caption":"Event End Date","name":"end_date","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"Abm":{"caption":"Event Start Date","name":"start_date","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Abp":{"caption":"Error","name":"error","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"Abq":{"caption":"Message","name":"message","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"Abb":{"caption":"Get Calendars Success","name":"get_calendars_success"},"Abc":{"caption":"Get Calendars Failed","name":"get_calendars_failed"},"Abd":{"caption":"Create Event Success","name":"create_event_success"},"Abe":{"caption":"Create Event Failed","name":"create_event_failed"}},"actions":{"AbT":{"caption":"Get Calendars","code":{"fn":"function(instance,properties,context){instance.publishState(\"calendars\",[]),instance.publishState(\"status\",\"PENDING\"),instance.publishState(\"message\",\"Requesting calendars from native app...\"),instance.publishState(\"error\",null);const retrieve_calendars_callback=(nativeErrorObj,nativeResponse)=>{let actualResponse,errorFromNative;if(!nativeErrorObj||\"SUCCESS\"!==nativeErrorObj.status&&\"FAILED\"!==nativeErrorObj.status&&void 0===nativeErrorObj.data?!nativeResponse||\"SUCCESS\"!==nativeResponse.status&&\"FAILED\"!==nativeResponse.status&&void 0===nativeResponse.data?(actualResponse=null,errorFromNative=nativeErrorObj||null):(actualResponse=nativeResponse,errorFromNative=nativeErrorObj):(actualResponse=nativeErrorObj,errorFromNative=null),!actualResponse){const errorMessage=\"Native SDK did not return a valid response object.\";return instance.publishState(\"status\",\"FAILED\"),instance.publishState(\"message\",errorMessage),instance.publishState(\"calendars\",null),instance.publishState(\"error\",errorMessage),void instance.triggerEvent(\"get_calendars_failed\")}const resp=actualResponse;if(instance.publishState(\"status\",resp.status||\"N/A\"),instance.publishState(\"message\",resp.message||null),\"SUCCESS\"===resp.status){const rawCalendarsData=resp.data;if(rawCalendarsData&&\"object\"==typeof rawCalendarsData){const parsedCalendars=undefined,calendars=Object.entries(rawCalendarsData).map((([calendarId,calendarName])=>({id:calendarId,name:calendarName}))).map((o=>window.natively.toBubbleObject(o)));instance.publishState(\"calendars\",calendars),instance.publishState(\"error\",null),instance.triggerEvent(\"get_calendars_success\")}else{const errorMessage=\"Native SDK reported SUCCESS but calendar list data is missing or invalid.\";instance.publishState(\"status\",\"FAILED\"),instance.publishState(\"message\",errorMessage),instance.publishState(\"calendars\",null),instance.publishState(\"error\",errorMessage),instance.triggerEvent(\"get_calendars_failed\")}}else{const errorMessageText=resp&&resp.message?resp.message:errorFromNative&&errorFromNative.message?errorFromNative.message:\"Unknown error occurred.\";instance.publishState(\"status\",\"FAILED\"),instance.publishState(\"message\",errorMessageText),instance.publishState(\"calendars\",null),instance.publishState(\"error\",errorMessageText),instance.triggerEvent(\"get_calendars_failed\")}};instance.data.calendar.retrieveCalendars(retrieve_calendars_callback)}"}},"AbU":{"caption":"Create Event","fields":{"AbV":{"caption":"Title","editor":"DynamicValue","name":"title","optional":false,"rank":0,"value":"text"},"AbW":{"caption":"End date","editor":"DynamicValue","name":"endDate","o
313ptional":false,"rank":1,"value":"date"},"AbX":{"caption":"Start date","editor":"DynamicValue","name":"startDate","optional":false,"rank":2,"value":"date"},"AbY":{"caption":"Timezone","editor":"DynamicValue","name":"timezone","optional":false,"rank":3,"value":"text"},"Abn":{"caption":"Calendar ID","name":"calendarId","rank":4,"editor":"DynamicValue","value":"text"},"Abo":{"caption":"Description","name":"description","rank":5,"editor":"DynamicValue","value":"text","optional":true}},"code":{"fn":"function(instance,properties,context){instance.data.calendar.createCalendarEvent(properties.title,properties.endDate,properties.startDate,properties.timezone,properties.calendarId,properties.description,create_calendar_event_callback(instance))}"}}},"code":{"initialize":{"fn":"function(instance,context){void 0!==window.natively&&(instance.data.calendar=new NativelyCalendar)}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {}"}},"platform_type":"web"}},"plugin_actions":{"ABN":{"display":"Natively - Share","type":"client_side","fields":{"ABY":{"caption":"Type","default_val":"text","editor":"Dropdown","name":"type","rank":0},"ABZ":{"caption":"Image url","editor":"DynamicValue","name":"image_url","optional":true,"rank":1,"value":"text"},"ABa":{"caption":"Text or url","editor":"DynamicValue","name":"text","optional":true,"rank":2,"value":"text"},"AIP":{"caption":"File url","editor":"DynamicValue","name":"file_url","optional":true,"rank":3,"value":"text"}},"code":{"client":{"fn":"function(properties,context){if(void 0!==window.natively)switch(properties.type){case\"image\":if(!properties.image_url)return;window.natively.shareImage(properties.image_url);break;case\"text\":if(!properties.text)return;window.natively.shareText(properties.text);break;case\"text_and_image\":if(!properties.text||!properties.image_url)return;window.natively.shareTextAndImage(properties.text,properties.image_url);break;case\"file\":if(!properties.file_url)return;window.natively.shareFile(properties.file_url)}}"}}},"ABS":{"display":"Natively - Open external url","type":"client_side","fields":{"ABc":{"caption":"External url","editor":"DynamicValue","name":"url","rank":0,"value":"text"},"AVm":{"caption":"Open URL in external browser","default_val":false,"editor":"Checkbox","name":"external","rank":1}},"code":{"client":{"fn":"function(properties,context){if(void 0===window.natively)return;const natively_info=undefined;(new NativelyInfo).browserInfo().isNativeApp?window.natively.openExternalURL(properties.url,properties.external):window.open(properties.url,\"_blank\")}"}}},"ADI":{"display":"Natively - Open external app","type":"client_side","fields":{"ADH":{"caption":"App url","editor":"DynamicValue","name":"url","rank":0,"value":"text"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.openExternalApp(properties.url)}"}}},"AFH":{"display":"Natively - Open app settings","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.openAppSettings()}"}}},"AFI":{"display":"Natively - Show Toast","type":"client_side","fields":{"AFK":{"caption":"Text","editor":"DynamicValue","name":"text","optional":true,"rank":0,"value":"text"},"AFL":{"caption":"Type [iOS]","default_val":"DEFAULT","editor":"Dropdown","name":"type","rank":1}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.showAppToast(properties.type,properties.text)}"}}},"AFJ":{"display":"Natively - Show Banner","type":"client_side","fields":{"AFM":{"caption":"Title","default_val":"","editor":"DynamicValue","name":"title","optional":true,"rank":0,"value":"text"},"AFN":{"caption":"Description","default_val":"","editor":"DynamicValue","name":"description","optional":true,"rank":1,"value":"text"},"AFO":{"caption":"Type [iOS]","default_val":"SUCCESS","editor":"Dropdown","name":"type","rank":2}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.showAppBanner(properties.type,properties.title,properties.description)}"}}},"AFy":{"display":"OneSignal - Segments - Send Push","type":"server_side","return_value":{"AGQ":{"caption":"error","name":"error","rank":0,"value":"text"},"AGR":{"caption":"success","name":"success","rank":1,"value":"boolean"}},"fields":{"AFo":{"caption":"Message","default_val":"","editor":"DynamicValue","name":"message","o
313ptional":true,"rank":2,"value":"text"},"AFp":{"caption":"Title","editor":"DynamicValue","name":"title","optional":true,"rank":0,"value":"text"},"AFr":{"caption":"Redirect Url","editor":"DynamicValue","name":"redirect_url","optional":true,"rank":3,"value":"text"},"AFs":{"caption":"Subtitle [iOS]","editor":"DynamicValue","name":"subtitle","optional":true,"rank":1,"value":"text"},"AGH":{"caption":"Included Segments","default_val":"Active Users, Inactive Users","editor":"StaticText","name":"included","optional":true,"rank":7},"AGI":{"caption":"Excluded Segments","default_val":"","editor":"StaticText","name":"excluded","optional":true,"rank":8},"AGJ":{"caption":"Override appId","editor":"StaticText","name":"appId","optional":true,"rank":10},"AGK":{"caption":"Data Source (External IDs)","editor":"Label","name":"data","rank":6},"AGL":{"caption":"Additional Setup","editor":"Label","name":"setup","rank":9},"AGU":{"caption":"Template ID","editor":"DynamicValue","name":"template_id","optional":true,"rank":5,"value":"text"},"AGV":{"caption":">>> OR <<<","editor":"Label","name":"or","rank":4}}},"AGC":{"display":"Natively - Request AppStore/GooglePlay review","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.requestAppReview()}"}}},"AGq":{"display":"OneSignal - User Single PlayerId - Send Push","type":"server_side","return_value":{"AGM":{"caption":"error","name":"error","rank":0,"value":"text"},"AGN":{"caption":"success","name":"success","rank":1,"value":"boolean"}},"fields":{"AGe":{"caption":"Message","default_val":"","editor":"DynamicValue","name":"message","rank":2,"value":"text"},"AGf":{"caption":"Title","editor":"DynamicValue","name":"title","rank":0,"value":"text"},"AGg":{"caption":"List Type","editor":"custom_type","is_list":true,"name":"list_type","rank":7,"value":"user"},"AGh":{"caption":"Redirect Url","editor":"DynamicValue","name":"redirect_url","optional":true,"rank":3,"value":"text"},"AGi":{"caption":"Subtitle [iOS]","editor":"DynamicValue","name":"subtitle","optional":true,"rank":1,"value":"text"},"AGj":{"caption":"Data Source (Player IDs)","editor":"Label","name":"data","rank":6},"AGk":{"caption":"Additional Setup","editor":"Label","name":"setup","rank":10},"AGl":{"caption":"Override appId","editor":"StaticText","name":"appId","optional":true,"rank":11},"AGm":{"caption":"Player ID field","editor":"custom_field_AGg","field_list":false,"is_list":false,"name":"player_id_field","rank":9,"value":"user"},"AGn":{"caption":"List","editor":"DynamicValue","is_list":true,"name":"list","rank":8,"value":"custom_data_AGg"},"AGo":{"caption":"Template ID","editor":"DynamicValue","name":"template_id","optional":true,"rank":5,"value":"text"},"AGp":{"caption":">>> OR <<<","editor":"Label","name":"or","rank":4},"AVd":{"caption":"🎼 Custom Sound ","editor":"Label","name":"custom_sound","rank":12},"AVe":{"caption":"Android Channel Id","editor":"DynamicValue","name":"android_channel_id","optional":true,"rank":13,"value":"text"},"AVf":{"caption":"iOS Sound","default_val":"","editor":"DynamicValue","name":"ios_sound","optional":true,"rank":14,"value":"text"},"AVx":{"caption":"❤️ iOS Badge","name":"badge","rank":15,"editor":"Label"},"AVy":{"caption":"iOS Badge Number","name":"badge_number","rank":16,"editor":"DynamicValue","value":"number","default_val":1},"AVz":{"caption":"iOS Badge Type","name":"badge_type","rank":17,"editor":"Dropdown","default_val":"SetTo"}}},"AHz":{"display":"Natively - Background Color","type":"client_side","fields":{"AIA":{"caption":"Color","default_val":"rgba(255, 68, 68, 1)","editor":"Color","name":"color","rank":0,"value":"text"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.setAppBackgroundColor(properties.color)}"}}},"AIC":{"display":"Natively - Loader Color","type":"client_side","fields":{"AIB":{"caption":"Color","default_val":"rgba(43, 0, 255, 1)","editor":"Color","name":"color","rank":0,"value":"text"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.setAppProgressColor(properties.color)}"}}},"AIE":{"display":"Natively - Swipe Navigation","type":"client_side","fields":{"AIH":{"caption":"Enable","default_val":true,"editor":"DynamicValue","name":"toggle","rank":0,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.setAppSwipeNavigation(properties.toggle)}"}}},"AIG":{"display":"Natively - Pull to refresh","type":"client_side","fields":{"AII":{"caption":"Enable","default_val":true,"editor":"DynamicValue","name":"toggle","rank":0,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.setAppPullToRefresh(properties.toggle)}"}}},"AJL":{"display":"Natively - Status Bar Style","type":"client_side","fields":{"AJK":{"caption":"Status Bar Style","default_val":"DARK","editor":"Dropdown","name":"style","rank":0}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.setAppStatusBarStyle(properties.style)}"}}},"AJq":{"display":"RevenueCat - Verify Subscription","type":"server_side","return_value":{"AJt":{"caption":"Product ID","name":"product_identifier","rank":0,"value":"text"},"AJu":{"caption":"Purchase Date","name":"purchase_date","rank":1,"value":"date"},"AJv":{"caption":"Grace Period Expires Date","name":"grace_peri
313od_expires_date","rank":2,"value":"date"},"AJw":{"caption":"Expiration Date","name":"expires_date","rank":3,"value":"date"},"AJz":{"caption":"Error","name":"error","rank":5,"value":"text"},"ALl":{"caption":"Is Active","name":"is_active","rank":4,"value":"boolean"},"ASi":{"caption":"Is Request Succeed","name":"success","rank":6,"value":"boolean"},"AWx":{"caption":"Product Plan ID (Android Only)","name":"product_plan_identifier","rank":7,"value":"text"}},"fields":{"AJs":{"caption":"Customer ID","editor":"DynamicValue","name":"customer_id","rank":0,"value":"text"},"AJy":{"caption":"Entitlement Id","editor":"DynamicValue","name":"entitlement_id","rank":1,"value":"text"}}},"ALr":{"display":"Natively - Orientation","type":"client_side","fields":{"ALq":{"caption":"Orientation","default_val":"DEFAULT","editor":"Dropdown","name":"orientation","rank":0}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.setAppOrientation(properties.orientation)}"}}},"ANh":{"display":"Natively - Haptic Impact","type":"client_side","fields":{"ANi":{"caption":"type","default_val":"LIGHT","editor":"Dropdown","name":"type","rank":0}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.hapticImpact(properties.type)}"}}},"ANk":{"display":"Natively - Haptic Notification","type":"client_side","fields":{"ANj":{"caption":"type","default_val":"SUCCESS","editor":"Dropdown","name":"type","rank":0}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.hapticNotification(properties.type)}"}}},"ANm":{"display":"Natively - Haptic Pattern","type":"client_side","fields":{"ANl":{"caption":"type","default_val":"..oO-Oo..","editor":"DynamicValue","name":"pattern","rank":0,"value":"text"},"ANn":{"caption":"delay","default_val":0.1,"editor":"DynamicValue","name":"delay","rank":1,"value":"number"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.hapticPattern(properties.pattern,properties.delay)}"}}},"ARB":{"display":"Natively - Close App","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.closeApp()}"}}},"ARC":{"display":"Natively - Show Progress","type":"client_side","fields":{"ARD":{"caption":"toggle","default_val":true,"editor":"DynamicValue","name":"toggle","rank":0,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.showProgress(properties.toggle)}"}}},"ARo":{"display":"OneSignal - User Multiple PlayerIds - Send Push","type":"server_side","return_value":{"AGM":{"caption":"error","name":"error","rank":0,"value":"text"},"AGN":{"caption":"success","name":"success","rank":1,"value":"boolean"}},"fields":{"ARc":{"caption":"Message","default_val":"","editor":"DynamicValue","name":"message","rank":2,"value":"text"},"ARd":{"caption":"Title","editor":"DynamicValue","name":"title","rank":0,"value":"text"},"ARf":{"caption":"Redirect Url","editor":"DynamicValue","name":"redirect_url","optional":true,"rank":3,"value":"text"},"ARg":{"caption":"Subtitle [iOS]","editor":"DynamicValue","name":"subtitle","optional":true,"rank":1,"value":"text"},"ARh":{"caption":"Data Source (Player IDs)","editor":"Label","name":"data","rank":6},"ARi":{"caption":"Additional Setup","editor":"Label","name":"setup","rank":8},"ARj":{"caption":"Override appId","editor":"StaticText","name":"appId","optional":true,"rank":9},"ARk":{"caption":"Player IDs","editor":"DynamicValue","field_list":false,"is_list":true,"name":"player_ids","rank":7,"value":"text"},"ARm":{"caption":"Template ID","editor":"DynamicValue","name":"template_id","optional":true,"rank":5,"value":"text"},"ARn":{"caption":">>> OR <<<","editor":"Label","name":"or","rank":4},"AVg":{"caption":"🎼 Custom Sound ","editor":"Label","name":"custom_sound","rank":10},"AVh":{"caption":"iOS Sound","editor":"DynamicValue","name":"ios_sound","optional":true,"rank":12,"value":"text"},"AVi":{"caption":"Android Channel Id","editor":"DynamicValue","name":"android_channel_id","optional":true,"rank":11,"value":"text"},"AVu":{"caption":"❤️ iOS Badge","name":"badge","rank":13,"editor":"Label"},"AVv":{"caption":"iOS Badge Number","name":"badge_number","rank":14,"editor":"DynamicValue","value":"number","default_val":1},"AVw":{"caption":"badge_type","name":"badge_type","rank":15,"editor":"Dropdown","default_val":"SetTo"}}},"ARp":{"display":"Natively - Open Debug Console ","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.openConsole()}"}}},"AVj":{"display":"Natively - Show Loading Screen","type":"client_side","fields":{"AVl":{"caption":"Auto Hide Loading Screen","default_val":true,"editor":"DynamicValue","name":"auto_hide","rank":0,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.showLoadingScreen(properties.auto_hide)}"}}},"AVk":{"display":"Natively - Hide Loading Screen","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.hideLoadingScreen()}"}}},"AYA":{"display":"Natively - Show Bottom Bar","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.showTabBar()}"}}},"AYB":{"display":"Natively - Hide Bottom Bar","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.hideTabBar()}"}}},"AZj":{"display":"Natively - Enable Wake Lock","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.enableWakelock()}"}}},"AZk":{"display":"Natively - Disable Wake Lock","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.disableWakelock()}"}}},"AZl":{"display":"Natively - Reload WebView","type":"client_side","code":{"client":{"fn":"function(properties,context){void 0!==window.natively&&window.natively.reloadWebview()}"}}}}};
314window._bubble_page_load_data.plugins_size['1654595882459x381599056563798000'] = 96005;
315window.preloaded['plugin/third_party:1654595882459x381599056563798000:2.21.0'] = true;
316window.plugins["1658328157117x953686184769617900"] = {"human":"Alert Toast Message Notify · BEP","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_actions":{"AAT":{"display":"BEP Toast Alert","type":"client_side","fields":{"AAE":{"caption":"Title (Optional)","name":"title","rank":0,"editor":"DynamicValue","value":"text","optional":true,"default_val":""},"AAF":{"caption":"Message","name":"message","rank":1,"editor":"DynamicValue","optional":true,"value":"text","default_val":" This is your toast message."},"AAG":{"caption":"Timeout","name":"timeout","rank":2,"editor":"DynamicValue","value":"number","default_val":5000}
316,"AAJ":{"caption":"Background color","name":"background_color","rank":3,"editor":"Color","default_val":"rgba(0, 158, 247, 1)"},"AAL":{"caption":"Position","name":"position","rank":4,"editor":"Dropdown","default_val":"Top Right"},"AAR":{"caption":"Animation In","name":"animation_in","rank":6,"editor":"Dropdown","default_val":"fade in up"},"AAS":{"caption":"Animation Out","name":"animation_out","rank":7,"editor":"Dropdown","default_val":"flipOutX"},"AAU":{"caption":"Font Name (Title)","name":"fontNameTitle","rank":9,"editor":"DynamicValue","value":"text","default_val":"Poppins"},"AAV":{"caption":"Font Name (Message)","name":"fontNameMessage","rank":10,"editor":"DynamicValue","value":"text","default_val":"Poppins"},"AAW":{"caption":"--- Animation Settings ---","name":"info_settings","rank":5,"editor":"Label"},"AAY":{"caption":"Font Weight (Message)","name":"fontWeightMessage","rank":11,"editor":"Dropdown","default_val":"400"},"AAZ":{"caption":"Font Weight (Title)","name":"fontWeightTitle","rank":12,"editor":"Dropdown","default_val":"700"},"AAa":{"caption":"Font Color (Message)","name":"fontColorMessage","rank":13,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"AAb":{"caption":"Font Color (Title)","name":"fontColorTitle","rank":14,"editor":"Color","default_val":"rgba(255, 255, 255, 1)"},"AAc":{"caption":"Font Size (Message) in px","name":"fontSizeMessage","rank":15,"editor":"DynamicValue","value":"number","default_val":14},"AAd":{"caption":"Font Size (Title) in px","name":"fontSizeTitle","rank":16,"editor":"DynamicValue","value":"number","default_val":14},"AAe":{"caption":"Show Progress Bar","name":"progressBarShow","rank":18,"editor":"Checkbox","default_val":true},"AAf":{"caption":"Progress Bar Color","name":"progressBarColor","rank":19,"editor":"Color","default_val":"rgba(0, 0, 0, 0.49)","optional":true},"AAg":{"caption":"Icon","name":"icon","rank":21,"editor":"Dropdown","value":"text","optional":false,"default_val":"None"},"AAh":{"caption":"Icon Color","name":"icon_color","rank":22,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","optional":true},"AAi":{"caption":"Image URL","name":"image","rank":23,"editor":"DynamicValue","value":"text","optional":true},"ABN":{"caption":"Image Width","name":"image_width","rank":24,"editor":"DynamicValue","value":"number","optional":true},"ABP":{"caption":"--- Select an Icon or Image to display at the left side of the Alert Message. If you do not want to show Icons or Images, just leave these fields blank. ---","name":"info_iconimage","rank":20,"editor":"Label"},"ABQ":{"caption":"--- Progress Bar Settings ---","name":"info_progress","rank":17,"editor":"Label"},"ABR":{"caption":"--- Font Style ---","name":"info_style","rank":8,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){var positionNotification={\"Top Right\":\"topRight\",\"Top Center\":\"topCenter\",\"Top Left\":\"topLeft\",Center:\"center\",\"Bottom Right\":\"bottomRight\",\"Bottom Center\":\"bottomCenter\",\"Bottom Left\":\"bottomLeft\"},iconNotification={None:\"\",Info:\"fa fa-info-circle\",Success:\"fa fa-check-circle\",Error:\"fa fa-times-circle\",Warning:\"fa fa-exclamation-circle\"},animationsIn={\"bounce in left\":\"bounceInLeft\",\"bounce in right\":\"bounceInRight\",\"bounce in up\":\"bounceInUp\",\"bounce in down\":\"bounceInDown\",\"fade in\":\"fadeIn\",\"fade in down\":\"fadeInDown\",\"fade in up\":\"fadeInUp\",\"fade in left\":\"fadeInLeft\",\"fade in right\":\"fadeInRight\",\"flip in\":\"flipInX\"},animationsOut={fadeOut:\"fadeOut\",\"fadeOut down\":\"fadeOutDown\",\"fadeOut up\":\"fadeOutUp\",\"fadeOut left\":\"fadeOutLeft\",\"fadeOut right\":\"fadeOutRight\",flipOutX:\"flipOutX\"};iziToast.show({title:properties.title||\" \",titleColor:properties.fontColorTitle,message:properties.message||\" \",messageColor:properties.fontColorMessage,titleSize:properties.fontSizeTitle,messageSize:properties.fontSizeMessage,backgroundColor:properties.background_color,color:properties.background_color,icon:iconNotification[properties.icon],iconColor:properties.icon_color,image:properties.image,imageWidth:properties.image_width,close:!1,closeOnEscape:!0,closeOnClick:!0,position:positionNotification[properties.position],targetFirst:!0,timeout:properties.timeout,animateInside:!0,drag:!0,pauseOnHover:!0,resetOnHover:properties.restart,progressBar:properties.progressBarShow,progressBarColor:properties.progressBarColor,progressBarEasing:\"linear\",transitionIn:animationsIn[properties.animation_in],transitionOut:animationsOut[properties.animation_out],transitionInMobile:animationsIn[properties.animation_in_mobile],transitionOutMobile:animationsOut[properties.animation_out_mobile],onOpening:function(instance,toast){document.getElementsByClassName(\"iziToast-message\")[0].style.fontFamily=properties.fontNameMessage,document.getElementsByClassName(\"iziToast-title\")[0].style.fontFamily=properties.fontNameTitle,document.getElementsByClassName(\"iziToast-message\")[0].style.fontWeight=properties.fontWeightMessage,document.getElementsByClassName(\"iziToast-title\")[0].style.fontWeight=properties.fontWeightTitle}})}"}}}}};
317window._bubble_page_load_data.plugins_size['1658328157117x953686184769617900'] = 5718;
318window.preloaded['plugin/third_party:1658328157117x953686184769617900:1.2.0'] = true;
319window.plugins["1672701021831x971122544377331700"] = {"human":"Loader / Loading Screen + Lottie","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_elements":{"AAC":{"display":"Essential Loader","property_applications":{"resizable":true,"MinWidth":false,"Font":true,"Backgroun
319d":true},"add_is_visible":true,"can_fit_width":false,"can_fit_height":false,"fields":{"AAD":{"caption":"Splash Screen Mode","name":"is_splash","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"AAE":{"caption":"Loader Type","name":"loader_type","rank":0,"editor":"Dropdown","in_style":false,"default_val":"Spinner"},"AAG":{"caption":"Animation Speed","name":"animation_speed","rank":2,"editor":"StaticNumber","default_val":1,"in_style":false,"optional":true},"AAH":{"caption":"Custom Lottie URL","name":"lottie_url","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AAI":{"caption":"Custom Image","name":"custom_img_url","rank":4,"editor":"DynamicValue","value":"file","optional":true},"AAJ":{"caption":"Text/HTML","name":"text","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AAK":{"caption":"Text Position","name":"text_position","rank":6,"editor":"Dropdown","default_val":"Bottom","in_style":false},"AAL":{"caption":"Auto close","name":"auto_close","rank":7,"editor":"Checkbox","default_val":false},"AAM":{"caption":"Close X ms after page load","name":"auto_close_delay","rank":8,"editor":"StaticNumber","default_val":5000}},"code":{"preview":{"fn":""},"initialize":{"fn":"function(instance,context){const LOTTIE_URL=\"https://unpkg.com/@lottiefiles/[email protected]/dist/lottie-player.js\",scripts=undefined;Array.from($(\"script\")).some((el=>el.src===LOTTIE_URL))||$(\"head\").append(`<script async=\"false\" src=\"${LOTTIE_URL}\"><\\/script>`),instance.data.id=Math.floor(1e4*(1+Math.random())).toString(16),instance.canvas.addClass(\"airdev-loader-container\"),instance.canvas.append('\\n    <div class=\"airdev-loader\">\\n      <div class=\"spinner\"></div>\\n      <div class=\"text\"></div>\\n    </div>\\n  '),instance.canvas.after(`<div id=\"airdev-loader-placeholder-${instance.data.id}\" class=\"airdev-loader-placeholder\"></div>`)}"},"update":{"fn":"function(instance,properties,context){const ANIMATIONS={Spinner:\"//9f1da654b591be4992125452a4c049b2.cdn.bubble.io/f1635867089149x174346037682571620/canvasLottieAnimation.json\",Waves:\"//assets5.lottiefiles.com/packages/lf20_tqvrzfnf.json\"},body=$(\"body\"),isOnBodyRoot=instance.canvas.parent()[0]===body[0],{is_splash:is_splash,loader_type:loader_type,animation_speed:animation_speed=1,lottie_url:lottie_url,custom_img_url:custom_img_url,text:text,text_position:text_position}=properties,loader=instance.canvas.children(\".airdev-loader\");if(instance.data.size_set||(loader.height(properties.bubble.height()),loader.width(properties.bubble.width()),instance.data.size_set=!0),instance.canvas.toggleClass(\"airdev-loader-splash\",is_splash),is_splash)isOnBodyRoot||body.prepend(instance.canvas);else if(isOnBodyRoot){const placeholder=undefined;$(`#airdev-loader-placeholder-${instance.data.id}`).before(instance.canvas)}const spinnerContainer=loader.children(\".spinner\");if(\"Custom Image\"===loader_type){if(!custom_img_url)throw new Error(\"You must provide a custom image to be used\");spinnerContainer.html(`\\n      <img src=\"${custom_img_url}\" alt=\"Loading spinner\" id=\"custom-img\" class=\"custom-img\" />\\n    `)}else{if(\"Custom Lottie\"===loader_type&&!lottie_url)throw new Error(\"You must provide a Lottie Animation URL to use a custom Lottie\");const lottieSrc=\"Custom Lottie\"===loader_type?lottie_url:ANIMATIONS[loader_type];spinnerContainer.html(`\\n      <lottie-player\\n        id=\"lottie-player\"\\n        src=\"${lottieSrc}\"\\n        speed=\"${animation_speed}\"\\n        loop\\n        autoplay\\n      ></lottie-player>\\n    `)}if(text){const textContainer=loader.children(\".text\");textContainer.html(text),\"Above\"===text_position&&textContainer.attr(\"order\",\"-1\")}properties.auto_close&&$(document).ready((()=>setTimeout((()=>{instance.canvas.hide()}),properties.auto_close_delay)))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
320window._bubble_page_load_data.plugins_size['1672701021831x971122544377331700'] = 4156;
321window.preloaded['plugin/third_party:1672701021831x971122544377331700:1.2.0'] = true;
322window.plugins["1676280573614x891677842206097400"] = {"human":"LottieFiles","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_api":{"human":"Public animation","shared_headers":{"AAC":{"key":"content-type","value":"application/json","private":true}},"calls":{"AAE":{"name":"Recent Public Animations","method":"post","publish_as":"data","should_reinitialize":true,"body":"{\n    \"query\": \"query recentPublicAnimations($first: Int, $after: String, $before: String) {\\n  recentPublicAnimations(first: $first, after: $after, before: $before) {\\n    ...PublicAnimFields\\n  }\\n}\\n\\nfragment PublicAnimFields on PublicAnimationConnection {\\n  pageInfo {\\n    startCursor\\n    endCursor\\n    hasNextPage\\n    hasPreviousPage\\n  }\\n  totalCount\\n  edges {\\n    node {\\n      id\\n      lottieUrl\\n    }\\n  }\\n}\",\n    \"operationName\": \"recentPublicAnimations\",\n    \"variables\": {\n        \"first\": 9\n    }\n}","url":"https://graphql.lottiefiles.com/2022-08","initialized":true,"types":"{\"plugin_api.AAE\":{\"caption\":\"Recent Public Animation\",\"fields\":{\"_p_data.recentPublicAnimations.pageInfo.startCursor\":{\"ret_value\":\"text\",\"caption\":\"recentPublicAnimations pageInfo startCursor\",\"sample_value\":\"YXJyYXljb25uZWN0aW9uOjA=\",\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"startCursor\"]},\"_p_data.recentPublicAnimations.pageInfo.endCursor\":{\"ret_value\":\"text\",\"caption\":\"recentPublicAnimations pageInfo endCursor\",\"sample_value\":\"YXJyYXljb25uZWN0aW9uOjg=\",\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"endCursor\"]},\"_p_data.recentPublicAnimations.pageInfo.hasNextPage\":{\"ret_value\":\"boolean\",\"caption\":\"recentPublicAnimations pageInfo hasNextPage\",\"sample_value\":true,\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"hasNextPage\"]},\"_p_data.recentPublicAnimations.pageInfo.hasPreviousPage\":{\"ret_value\":\"boolean\",\"caption\":\"recentPublicAnimations pageInfo hasPreviousPage\",\"sample_value\":false,\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"hasPreviousPage\"]},\"_p_data.recentPublicAnimations.totalCount\":{\"ret_value\":\"number\",\"caption\":\"recentPublicAnimations totalCount\",\"sample_value\":84471,\"path\":[\"data\",\"recentPublicAnimations\",\"totalCount\"]},\"_p_data.recentPublicAnimations.edges\":{\"ret_value\":\"list.api.1676280573614x891677842206097400.plugin_api.AAE.data.recentPublicAnimations.edges\",\"caption\":\"recentPublicAnimations edges\",\"path\":[\"data\",\"recentPublicAnimations\",\"edges\"]}}},\"plugin_api.AAE.data.recentPublicAnimations.edges\":{\"caption\":\"Recent Public Animations data recentPublicAnimations edge\",\"fields\":{\"_p_node.id\":{\"ret_value\":\"number\",\"caption\":\"node id\",\"sample_value\":137414,\"path\":[\"node\",\"id\"]},\"_p_node.lottieUrl\":{\"ret_value\":\"text\",\"caption\":\"node lottieUrl\",\"sample_value\":\"https://assets4.lottiefiles.com/dotlotties/dlf10_d6LVU4fIvm.lottie\",\"path\":[\"node\",\"lottieUrl\"]}}}}
322","ret_value":"api.1676280573614x891677842206097400.plugin_api.AAE"}}},"plugin_elements":{"AAF":{"display":"LottieFiles","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Padding":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAG":{"caption":"Animation File/Url","name":"animation_url","rank":0,"editor":"DynamicValue","value":"file"},"AAH":{"caption":"Controls","name":"controls","rank":1,"editor":"Checkbox","default_val":true},"AAI":{"caption":"Autoplay","name":"autoplay","rank":2,"editor":"Checkbox","default_val":true},"AAJ":{"caption":"Speed","name":"speed","rank":3,"editor":"StaticNumber","default_val":1},"AAK":{"caption":"Loop","name":"loop","rank":4,"editor":"Checkbox","default_val":true},"AAL":{"caption":"Background","name":"background","rank":5,"editor":"Color"},"AAM":{"caption":"Play Animation On","name":"mode","rank":6,"editor":"Dropdown","default_val":"Page Load"}},"code":{"preview":{"fn":"function(instance, properties) {\n    $(document).ready(function() {\n        let scriptList = [\n            'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js',\n            'https://unpkg.com/@dotlottie/[email protected]/dist/dotlottie-player.js',\n            'https://unpkg.com/@lottiefiles/lottie-interactivity@latest/dist/lottie-interactivity.min.js'\n        ];\n\n\n        scriptList.forEach(function(a) {\n            let script = document.createElement('script');\n            script.src = a;\n            script.async = false;\n            $('head').append(script);\n        });\n\n    });\n    let box = \"<div>Please insert your box.</div>\";\n    const {\n        bubble,\n        ...rest\n    } = properties;\n    instance.data = rest;\n    let {\n        animation_url,\n        controls,\n        loop,\n        speed,\n        autoplay,\n        background,\n        mode\n    } = instance.data;\n\n\n    function uuid() {\n        return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n            (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)\n        );\n    }\n    const elementID = `lottie_${uuid()}`;\n\n\n    //check if the url is not empty\n    if (animation_url !== null) {\n\n        if (mode !== \"Page Load\") {\n            autoplay = false;\n        }\n\n        box = $(`<${animation_url.includes(\".json\") ? \"lottie-player\" :\"dotlottie-player\"} id=\"${elementID}\" src=\"${animation_url}\" speed=\"${speed}\"  style=\"width: 100%; height: 100%;\"  ${loop ? \"loop\" :\"\"} ${controls ? \"controls\" : \"\"} ${autoplay ? \"autoplay\" :\"\"} background=\"${background}\"></${animation_url.includes(\".json\") ? \"lottie-player\" :\"dotlottie-player\"}>`);\n\n\n    }\n    instance.canvas.html(box);\n\n    //Interactivity Code Here\n    if (mode !== \"Page Load\") {\n        const myInterval = setInterval(() => {\n            if (LottieInteractivity !== undefined) {\n                console.log(LottieInteractivity);\n                clearInterval(myInterval);\n\n                mode = mode.toLowerCase();\n\n                const getActions = () => {\n\n                    if (mode === \"scroll\") {\n                        return [{\n                            type: 'seek',\n                        }]\n                    } else {\n                        return [{\n                            type: mode,\n                            forceFlag: false\n                        }]\n                    }\n\n\n                }\n\n                LottieInteractivity.create({\n                    player: `#${elementID}`,\n                    mode: mode === \"scroll\" ? mode : \"cursor\",\n                    actions: getActions()\n                })\n\n            }\n\n        }, 1000);\n    }\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){const{bubble:bubble,...rest}=properties;instance.data=rest;let{animation_url:animation_url,controls:controls,loop:loop,speed:speed,autoplay:autoplay,background:background,mode:mode}=instance.data;function uuid(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(c=>(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16)))}const elementID=`lottie_${uuid()}`;if(null!==animation_url){\"Page Load\"!==mode&&(autoplay=!1);let box=$(`<${animation_url.includes(\".json\")?\"lottie-player\":\"dotlottie-player\"} id=\"${elementID}\" src=\"${animation_url}\" speed=\"${speed}\"  style=\"width: 100%; height: 100%;\"  ${loop?\"loop\":\"\"} ${controls?\"controls\":\"\"}
322 ${autoplay||\"Page Load\"===mode?\"autoplay\":\"\"} background=\"${background}\"></${animation_url.includes(\".json\")?\"lottie-player\":\"dotlottie-player\"}>`);if(instance.canvas.html(box),\"Page Load\"!==mode){const myInterval=setInterval((()=>{if(void 0!==LottieInteractivity){clearInterval(myInterval),mode=mode.toLowerCase();const item=undefined,totalFrames=document.getElementById(elementID)?.getLottie().totalFrames,getActions=()=>\"scroll\"===mode?[{type:\"seek\",visibility:[0,1]}]:[{type:mode,forceFlag:!1}];LottieInteractivity.create({player:`#${elementID}`,mode:\"scroll\"===mode?mode:\"cursor\",actions:getActions()})}}),1e3)}}}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
323window._bubble_page_load_data.plugins_size['1676280573614x891677842206097400'] = 8270;
324window.preloaded['plugin/third_party:1676280573614x891677842206097400:1.2.1'] = true;
325window.plugins["1697565767904x731158865597956100"] = {"human":"✳️ Group Focus Relocator","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAF":{"display":"Group Focus Relocator","add_is_visible":true,"fields":{"AAG":{"caption":"Group Focus ID","name":"group_focus_id","rank":0,"editor":"DynamicValue","value":"text"},"AAO":{"caption":"Placement","name":"placement","rank":6,"editor":"Dropdown","default_val":"bottom-end","in_style":true},"AAP":{"caption":"Follow Position","name":"follow_position","rank":1,"editor":"Checkbox","default_val":true,"in_style":true},"AAQ":{"caption":"Placement Optimizer","name":"placement_optimizer","rank":7,"editor":"Dropdown","in_style":true,"default_val":"None"},"AAR":{"caption":"Autohide","name":"hide","rank":14,"editor":"Dropdown","default_val":"Disabled","in_style":true},"AAV":{"caption":"Main Axis Offset","name":"offset_main_axis","rank":4,"editor":"StaticNumber","in_style":true,"default_val":0},"AAW":{"caption":"Cross Axis Offset","name":"offset_cross_axis","rank":5,"editor":"StaticNumber","default_val":0,"in_style":true},"AAX":{"caption":"For top/bottom placement, Main Axis = Horizontal, and Cross Axis = Vertical Axis","name":"axis_guide_1","rank":2,"editor":"Label"},"AAY":{"caption":"For left/right placement, Main Axis = Vertical, and Cross Axis = Horizontal","name":"axis_guide_2","rank":3,"editor":"Label"},"AAZ":{"caption":"Flip will flip the Group Focus on the opposite of the default placement to keep it in view.","name":"placement_optimizer_guide_1","rank":8,"editor":"Label"},"AAa":{"caption":"Shift will shift the Group Focus to keep it in view.","name":"shift_guide_1","rank":12,"editor":"Label"},"AAb":{"caption":"Aggressive Shift is similar to Shift, but on both axis. May cause the Group Focus to overlap or be detached from the Reference element.","name":"shift_guide_2","rank":13,"editor":"Label"},"AAc":{"caption":"Auto Placement will move the Group Focus to the placement with most space available.","name":"placement_optimizer_guide_4","rank":9,"editor":"Label"},"AAd":{"caption":"Shift Option","name":"shift_type","rank":11,"editor":"Dropdown","default_val":"None"},"AAe":{"caption":"Animate Placement Change","name":"animate_placement","rank":10,"editor":"Checkbox","default_val":true,"in_style":true},"AAf":{"caption":"Animate Appearance","name":"animate_appearance","rank":15,"editor":"Checkbox","default_val":true,"in_style":true}},"actions":{"AAH":{"caption":"Relocate Group Focus of a ","code":{"fn":"function(instance,properties,context){const referenceEl=document.getElementById(properties.reference_element_id),groupFocusEl=document.getElementById(instance.data.groupFocusId);if(instance.data.runCleanup(),!referenceEl||!groupFocusEl)return void context.reportDebugger(\"Cannot find Reference or Group Focus Element, exiting\");const baseProperties=instance.data.baseProperties,middleware=[];(baseProperties.offset_main_axis||baseProperties.offset_cross_axis)&&middleware.push(FloatingUIDOM.offset({mainAxis:baseProperties.offset_main_axis,crossAxis:baseProperties.offset_cross_axis}));const placementOptimizer=baseProperties.placement_optimizer,shiftType=baseProperties.shift_type;let boundary=\"clippingAncestors\";if(\"None\"!==placementOptimizer||\"None\"!=shiftType){let clippingParent=null;properties.clipping_parent_id&&(clippingParent=document.getElementById(properties.clipping_parent_id)),boundary=clippingParent||(referenceEl.closest(\".RepeatingGroup\")||boundary)}\"Flip\"===placementOptimizer&&middleware.push(FloatingUIDOM.flip({boundary:boundary})),\"Auto Placement\"===placementOptimizer&&middleware.push(FloatingUIDOM.autoPlacement({boundary:boundary})),\"None\"!==shiftType&&middleware.push(FloatingUIDOM.shift({boundary:boundary,crossAxis:\"Aggressive Shift\"===shiftType}));let checkReferenceHidden=!1,checkEscaped=!1;\"Group Focus escaped\"!==baseProperties.hide&&\"Both\"!==baseProperties.hide||(checkEscaped=!0,middleware.push(FloatingUIDOM.hide({strategy:\"escaped\"}))),\"Reference hidden\"!==baseProperties.hide&&\"Both\"!==baseProperties.hide||(checkReferenceHidden=!0,middleware.push(FloatingUIDOM.hide({strategy:\"referenceHidden\"})));let lastPlacement=null,lastHide=!0;async function updatePosition(){const{x:x,y:y,middlewareData:middlewareData,placement:placement}=await FloatingUIDOM.computePosition(referenceEl,groupFocusEl,{middleware:mid
325dleware,placement:baseProperties.placement||\"bottom-end\"}),hide=middlewareData.hide,shouldHide=checkReferenceHidden&&hide.referenceHidden||checkEscaped&&hide.escaped,transitionProperties=[];baseProperties.animate_appearance&&lastHide!==shouldHide&&transitionProperties.push(\"opacity\"),lastHide=shouldHide,baseProperties.animate_placement&&!shouldHide&&null!==lastPlacement&&placement!==lastPlacement&&(transitionProperties.push(\"left\"),transitionProperties.push(\"top\")),instance.data.applyTransition(200,transitionProperties),lastPlacement=shouldHide?null:placement,instance.data.setStyle({opacity:shouldHide?0:1,left:`${x}px`,top:`${y}px`})}baseProperties.follow_position?instance.data._cleanupFunc=FloatingUIDOM.autoUpdate(referenceEl,groupFocusEl,updatePosition):updatePosition(),instance.data.watchHiddenEvent(groupFocusEl)}"},"fields":{"AAI":{"caption":"Reference Element ID","name":"reference_element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAU":{"caption":"Clipping Element ID","name":"clipping_parent_id","rank":1,"editor":"DynamicValue","value":"text","optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\t\n}"},"initialize":{"fn":"function(instance,context){const styleTagID=\"group-focus-relocator-styles\";let styleTag=document.getElementById(styleTagID);styleTag||(styleTag=document.createElement(\"style\"),styleTag.id=styleTagID,document.head.appendChild(styleTag));const hiddenObserver=new MutationObserver((function(mutations){mutations.forEach((function(mutationRecord){const target=undefined;\"none\"===mutationRecord.target.style.display&&instance.data.runCleanup({fade:instance.data.baseProperties.animate_appearance})}))}));function createStylingRule(selectorText,defaultBody){const stylesheet=styleTag.sheet;let elementRule=[...stylesheet.rules].find((rule=>rule.selectorText===selectorText));if(!elementRule){const ruleIndex=stylesheet.insertRule(`${selectorText} { ${defaultBody} }`);elementRule=stylesheet.rules[ruleIndex]}return elementRule}function setStylingRule(rule,style){rule&&Object.keys(style).forEach((name=>{rule.style.setProperty(name,style[name],\"important\")}))}function setStyle(style){setStylingRule(instance.data.elementRule,style)}function applyTransition(delay,transitionProperties,afterCleanupCallback){if(delay&&transitionProperties&&transitionProperties.length){instance.data.transitionTimeout&&clearTimeout(instance.data.transitionTimeout);const transitionString=undefined;setStyle({transition:transitionProperties.map((p=>`${p} ${delay}ms`)).join(\",\")}),instance.data.transitionTimeout=setTimeout((function(){setStyle({transition:\"0s\"}),instance.data.transitionTimeout=null,afterCleanupCallback&&afterCleanupCallback()}),1.5*delay)}}instance.data.watchHiddenEvent=function(element){hiddenObserver.observe(element,{attributes:!0,attributeFilter:[\"style\"]})},instance.data.loadElementStyle=function(){instance.data.elementRule=createStylingRule(`#${instance.data.groupFocusId}`,\"\\n\\t\\t\\t\\tvisibility: visible !important;\\n\\t\\t\\t\\tdisplay: flex !important;\\n                transition-timing-function: ease-in-out;\\n                opacity: 0;\\n\")},instance.data.setStyle=setStyle,instance.data.applyTransition=applyTransition,instance.data.runCleanup=function({fade:fade}={}){instance.data._cleanupFunc&&(instance.data._cleanupFunc(),instance.data._cleanupFunc=null),hiddenObserver.disconnect(),fade?(applyTransition(200,[\"opacity\"],(function(){setStyle({left:`${OUTSIDE_POSITION}px`,top:`${OUTSIDE_POSITION}px`})})),setStyle({opacity:0}
325)):setStyle({left:`${OUTSIDE_POSITION}px`,top:`${OUTSIDE_POSITION}px`,opacity:0})}}"},"update":{"fn":"function(instance,properties,context){instance.data.baseProperties=properties,instance.data.groupFocusId!==properties.group_focus_id&&(instance.data.groupFocusId=properties.group_focus_id,instance.data.loadElementStyle&&instance.data.loadElementStyle())}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
326window._bubble_page_load_data.plugins_size['1697565767904x731158865597956100'] = 8320;
327window.preloaded['plugin/third_party:1697565767904x731158865597956100:1.1.3'] = true;
328window.plugins["1700152603967x849245885273997300"] = {"human":"Markdown to BB-Code Converter","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_actions":{"AAD":{"display":"Parse Markdown to BB-Code","type":"server_side","return_value":{"AAG":{"caption":"bbcode","name":"bbcode","rank":0,"value":"text"}},"fields":{"AAF":{"caption":"markdown","name":"markdown","rank":0,"editor":"DynamicValue","value":"text"}}}}};
329window._bubble_page_load_data.plugins_size['1700152603967x849245885273997300'] = 375;
330window.preloaded['plugin/third_party:1700152603967x849245885273997300:1.0.1'] = true;
331window.plugins["1718811066982x482602569662201860"] = {"human":"Rotate Element","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"Rotate Element","add_is_visible":true,"fields":{"AAD":{"caption":"Element ID","name":"idElemento","rank":0,"editor":"StaticText"},"AAE":{"caption":"Rotation (0 to 360)","name":"anguloRotacion","rank":1,"editor":"StaticNumber","default_val":180}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n}","add_debugger":false},"initialize":{"fn":"function(n,t){const _0x474242=['MTcxODgxMTA2Njk4Mng0ODI2MDI1Njk2NjIyMDE4NjA='];{}}"},"update":{"fn":"function(t,e,n){const _0x474242=['MTcxODgxMTA2Njk4Mng0ODI2MDI1Njk2NjIyMDE4NjA='];function _0x5b4e(){const _0x4314c6=['ote3odbLCKXYCgW','AwrfBgvTzw50BW','mJmZmg9lDvHora','mJi0B0T1rKnm','y3jLyxrLrwXLBwvUDa','nZC2svzPvvfz','mJu4nJv6r2Dsuei','mJe2ote3ndbXBuDYELO','zgvNkq','zgvNktSkicaGih0kica','ndj3zvfxAM0','ihSkicaGicaGDhjHBNnMB3jToIbYB3rHDguO','nJu3ndi5z3PqEffw','mtiXmZnTq0LnEvu','ndy5o
331dLKueDOq08','C3r5Bgu','nti0qxH6A09i','AgvHza','ntuZotj6D0r4ruq'];_0x5b4e=function(){return _0x4314c6;};return _0x5b4e();}function _0x3764(_0x5e2f27,_0x15c607){const _0x5b4e64=_0x5b4e();return _0x3764=function(_0x376465,_0xe82d36){_0x376465=_0x376465-0x13b;let _0x147569=_0x5b4e64[_0x376465];if(_0x3764['zIazAF']===undefined){var _0x3aea70=function(_0x5d26e4){const _0x3bd181='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30b2a8='',_0x3fa3ad='';for(let _0x361ecf=0x0,_0x2f23a3,_0x3126d9,_0x14a581=0x0;_0x3126d9=_0x5d26e4['charAt'](_0x14a581++);~_0x3126d9&&(_0x2f23a3=_0x361ecf%0x4?_0x2f23a3*0x40+_0x3126d9:_0x3126d9,_0x361ecf++%0x4)?_0x30b2a8+=String['fromCharCode'](0xff&_0x2f23a3>>(-0x2*_0x361ecf&0x6)):0x0){_0x3126d9=_0x3bd181['indexOf'](_0x3126d9);}for(let _0x455e75=0x0,_0x12ceba=_0x30b2a8['length'];_0x455e75<_0x12ceba;_0x455e75++){_0x3fa3ad+='%'+('00'+_0x30b2a8['charCodeAt'](_0x455e75)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3fa3ad);};_0x3764['SJMjtD']=_0x3aea70,_0x5e2f27=arguments,_0x3764['zIazAF']=!![];}const _0x52fd03=_0x5b4e64[0x0],_0x41306e=_0x376465+_0x52fd03,_0x50e1b9=_0x5e2f27[_0x41306e];return!_0x50e1b9?(_0x147569=_0x3764['SJMjtD'](_0x147569),_0x5e2f27[_0x41306e]=_0x147569):_0x147569=_0x50e1b9,_0x147569;},_0x3764(_0x5e2f27,_0x15c607);}const _0x177968=_0x3764;(function(_0x21140a,_0x2e6059){const _0x5bc678={_0x49f6e2:0x144,_0x2dc183:0x13e,_0x4106f2:0x14a},_0x1f6d21=_0x3764,_0x3ccb92=_0x21140a();while(!![]){try{const _0x218642=-parseInt(_0x1f6d21(_0x5bc678._0x49f6e2))/0x1+parseInt(_0x1f6d21(0x14b))/0x2*(-parseInt(_0x1f6d21(0x142))/0x3)+-parseInt(_0x1f6d21(0x148))/0x4*(parseInt(_0x1f6d21(_0x5bc678._0x2dc183))/0x5)+parseInt(_0x1f6d21(_0x5bc678._0x4106f2))/0x6*(parseInt(_0x1f6d21(0x13b))/0x7)+parseInt(_0x1f6d21(0x13d))/0x8*(parseInt(_0x1f6d21(0x146))/0x9)+-parseInt(_0x1f6d21(0x14d))/0xa*(parseInt(_0x1f6d21(0x145))/0xb)+parseInt(_0x1f6d21(0x13f))/0xc;if(_0x218642===_0x2e6059)break;else _0x3ccb92['push'](_0x3ccb92['shift']());}catch(_0x153c98){_0x3ccb92['push'](_0x3ccb92['shift']());}}}(_0x5b4e,0x5b8ab));{const o=e[_0x177968(0x14c)],d=e['anguloRotacion'],a=document['getElementById'](o);a&&(a[_0x177968(0x147)]['transform']='rotate('+d+_0x177968(0x140));const c=document[_0x177968(0x13c)](_0x177968(0x147));c['textContent']='\\x0a\\x20\\x20\\x20\\x20#'+o+_0x177968(0x143)+d+_0x177968(0x141),document[_0x177968(0x149)]['appendChild'](c);}}","add_debugger":false},"reset":{"fn":"function(n,t){const _0x474242=['MTcxODgxMTA2Njk4Mng0ODI2MDI1Njk2NjIyMDE4NjA='];{}}"}},"platform_type":"web"}}};
332window._bubble_page_load_data.plugins_size['1718811066982x482602569662201860'] = 3534;
333window.preloaded['plugin/third_party:1718811066982x482602569662201860:1.0.0'] = true;
334window.plugins["1721934162513x571440063073484800"] = {"human":"Lan exportar csv / xlsx","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAx":{"display":"exportar xlsx","add_is_visible":true,"actions":{"ABC":{"caption":"Exportar","code":{"fn":"function(instance,properties,context){function convertDynamicDataToArray(dynamicData){return dynamicData?dynamicData.split(/\\s*,\\s*/):[]}const params={};properties.parameters_simple.map((x=>{params[x.key]=x.value})),console.log(\"Params JSON:\",JSON.stringify(params));const entradas=[];Object.keys(params).forEach((key=>{entradas.push(convertDynamicDataToArray(params[key]))})),console.log(\"Entradas após mapeamento:\",entradas);let dados=entradas[0].map(((valor,index)=>{let obj={};return Object.keys(params).forEach(((key,i)=>{obj[key]=entradas[i][index]||\"\"})),obj}));function downloadXlsx(jsonData,fileName){if(!jsonData||0===jsonData.length)return void console.error(\"Nenhum dado disponível para converter.\");const ws=XLSX.utils.json_to_sheet(jsonData),wb=XLSX.utils.book_new();XLSX.utils.book_append_sheet(wb,ws,\"Dados\");const wbout=XLSX.write(wb,{bookType:\"xlsx\",type:\"array\"}),blob=new Blob([wbout],{type:\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"}),url=URL.createObjectURL(blob),link=document.createElement(\"a\");link.setAttribute(\"href\",url),link.setAttribute(\"download\",fileName+\".xlsx\"),document.body.appendChild(link),link.click(),document.body.removeChild(link),URL.revokeObjectURL(url)}dados.length>0?downloadXlsx(dados,properties.nome):console.error(\"Nenhum dado foi gerado.\")}"},"fields":{"ABD":{"caption":"Nome do arquivo","name":"nome","rank":0,"editor":"DynamicValue","value":"text"},"ABE":{"caption":"Parâmetros","name":"parameters_simple","rank":1,"editor":"key_value_list","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){instance.data.entrada1=properties.entrada1,instance.data.entrada2=properties.entrada2,instance.data.entrada3=properties.entrada3,instance.data.entrada4=properties.entrada4,instance.data.entrada5=properties.entrada5,instance.data.entrada6=properties.entrada6,instance.data.entrada7=properties.entrada7,instance.data.entrada8=properties.entrada8,instance.data.entrada9=properties.entrada9,instance.data.entrada10=properties.entrada10,instance.data.nome1=properties.nome1,instance.data.nome2=properties.nome2,instance.data.nome3=properties.nome3,instance.data.nome4=properties.nome4,instance.data.nome5=properties.nome5,instance.data.nome6=properties.nome6,instance.data.nome7=properties.nome7,instance.data.nome8=properties.nome8,instance.data.nome9=properties.nome9,instance.data.nome10=properties.nome10,instance.data.nomeArquivo=properties.nomeArquivo}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ABe":{"display":"exportar csv","add_is_visible":true,"actions":{"ABG":{"caption":"Exportar","code":{"fn":"function(instance,properties,context){function convertDynamicDataToArray(dynamicData){return dynamicData?dynamicData.split(/\\s*,\\s*/):[]}const params={};properties.parameters_simple.map((x=>{params[x.key]=x.value})),console.log(\"Params JSON:\",JSON.stringify(params));const entradas=[];
334Object.keys(params).forEach((key=>{entradas.push(convertDynamicDataToArray(params[key]))})),console.log(\"Entradas após mapeamento:\",entradas);let dados=entradas[0].map(((valor,index)=>{let obj={};return Object.keys(params).forEach(((key,i)=>{obj[key]=entradas[i][index]||\"\"})),obj}));function convertJsonToCsv(jsonData){if(!jsonData||0===jsonData.length)return console.error(\"Nenhum dado disponível para converter.\"),\"\";const header=Object.keys(jsonData[0]),rows=jsonData.map((obj=>header.map((fieldName=>`\"${(obj[fieldName]||\"\").replace(/\"/g,'\"\"')}\"`))));return[header.join(\",\"),...rows.map((row=>row.join(\",\")))].join(\"\\n\")}function downloadCsv(jsonData,fileName){const csvContent=convertJsonToCsv(jsonData);if(\"\"===csvContent)return void console.error(\"Nenhum conteúdo CSV gerado.\");const blob=new Blob([csvContent],{type:\"text/csv;charset=utf-8;\"}),url=URL.createObjectURL(blob),link=document.createElement(\"a\");link.setAttribute(\"href\",url),link.setAttribute(\"download\",fileName),document.body.appendChild(link),link.click(),document.body.removeChild(link),URL.revokeObjectURL(url)}dados.length>0?downloadCsv(dados,properties.nome+\".csv\"):console.error(\"Nenhum dado foi gerado.\")}"},"fields":{"ABH":{"caption":"Nome do Arquivo","name":"nome","rank":0,"editor":"DynamicValue","value":"text","optional":false},"ABI":{"caption":"Parâmetros","name":"parameters_simple","rank":1,"editor":"key_value_list","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){instance.data.entrada1=properties.entrada1,instance.data.entrada2=properties.entrada2,instance.data.entrada3=properties.entrada3,instance.data.entrada4=properties.entrada4,instance.data.entrada5=properties.entrada5,instance.data.entrada6=properties.entrada6,instance.data.entrada7=properties.entrada7,instance.data.entrada8=properties.entrada8,instance.data.entrada9=properties.entrada9,instance.data.entrada10=properties.entrada10,instance.data.nome1=properties.nome1,instance.data.nome2=properties.nome2,instance.data.nome3=properties.nome3,instance.data.nome4=properties.nome4,instance.data.nome5=properties.nome5,instance.data.nome6=properties.nome6,instance.data.nome7=properties.nome7,instance.data.nome8=properties.nome8,instance.data.nome9=properties.nome9,instance.data.nome10=properties.nome10,instance.data.nomeArquivo=properties.nomeArquivo}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ABj":{"display":"exportar csv BD","add_is_visible":true,"fields":{"ABk":{"caption":"Data types","name":"data","rank":0,"editor":"DynamicValue","value":"_any_thing","is_list":true},"ABm":{"caption":"Itens para excluir","name":"excluir","rank":1,"editor":"DynamicValue","value":"text","optional":true},"ABn":{"caption":"Nome do Arquivo","name":"nome","rank":2,"editor":"DynamicValue","value":"text"}},"actions":{"ABo":{"caption":"Baixar","code":{"fn":"function(instance,properties,context){instance.data.baixar=properties.baixar}"},"fields":{"ABq":{"caption":"Baixar csv","name":"baixar","rank":0,"editor":"DynamicValue","value":"boolean","default_val":false}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":""},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ABx":{"display":"exportar xlsx BD","add_is_visible":true,"fields":{"ABu":{"caption":"Data types","name":"data","rank":0,"editor":"DynamicValue","value":"_any_thing","is_list":true},"ABv":{"caption":"Itens para excluir","name":"excluir","rank":1,"editor":"DynamicValue","value":"text","optional":true},"ABw":{"caption":"Nome do Arquivo","name":"nome","rank":2,"editor":"DynamicValue","value":"text"}},"actions":{"ABs":{"caption":"Baixar","code":{"fn":"function(instance,properties,context){instance.data.baixar=properties.baixar}"},"fields":{"ABt":{"caption":"Baixar csv","name":"baixar","rank":0,"editor":"DynamicValue","value":"boolean","default_val":false}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":""},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"ACA":{"display":"exportar-backend","type":"server_side","return_value":{"ACJ":{"caption":"json","name":"json","rank":0,"value":"text"}},"fields":{"ABy":{"caption":"Keys","name":"parameters_simple","rank":0,"editor":"key_value_list","value":"text","is_list":false},"ABz":{"caption":"filename","name":"filename","rank":1,"editor":"DynamicValue","value":"text"}}}}};
335window._bubble_page_load_data.plugins_size['1721934162513x571440063073484800'] = 7968;
336window.preloaded['plugin/third_party:1721934162513x571440063073484800:3.0.2'] = true;
337window.plugins["1754157935950x523616729798017000"] = {"human":"DizeChart","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"DizeChartBar","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAP":{"caption":"Datas (Eixo X)","name":"datas_eixoX","rank":0,"editor":"DynamicValue","value":"text","default_val":"01/08,02/08,03/08"},"AAQ":{"caption":"Valores da Série 1","name":"valores_da_série_1","rank":1,"editor":"DynamicValue","value":"text","default_val":"1200,1400,1800"},"AAR":{"caption":"Nome da Série 1","name":"nome_da_série_1","rank":2,"editor":"DynamicValue","value":"text","default_val":"Online"},"AAS":{"caption":"Cor da Série 1","name":"cor_da_série_1","rank":3,"editor":"Color","default_val":"rgba(30,144,255,1)"},"AAT":{"caption":"Valores da Série 2","name":"valores_da_série_2","rank":4,"editor":"DynamicValue","value":"text","default_val":"1000,1200,1500"},"AAU":{"caption":"Nome da Série 2","name":"nome_da_série_2","rank":5,"editor":"DynamicValue","value":"text","default_val":"Loja Física"},"AAV":{"caption":"Cor da Série 2","name":"cor_da_série_2","rank":6,"editor":"Color","default_val":"rgba(0,227,150,1)"},"AAW":{"caption":"Valores da Série 3","name":"valores_da_série_3","rank":7,"editor":"DynamicValue","value":"text","default_val":"800,850,900"},"AAX":{"caption":"Nome da Série 3","name":"nome_da_série_3","rank":8,"editor":"DynamicValue","value":"text","default_val":"Marketplace"},"AAY":{"caption":"Cor da Série 3","name":"cor_da_série_3","rank":9,"editor":"Color","default_val":"rgba(168,85,247,1)"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance){instance.data.instanceId=Math.random().toString(36).substr(2,9)}"},"update":{"fn":"function(instance,properties,context){const chartId=`apex-chart-${Date.now()}-${Math.floor(1e6*Math.random())}`;instance.data.chartId=chartId;const toArray=(str,isNumber=!1)=>
337{if(!str)return[];const arr=str.split(\",\").map((s=>s.trim()));return isNumber?arr.map(Number):arr},labels=toArray(properties.datas_eixoX),serie1=toArray(properties.valores_da_série_1,!0),serie2=toArray(properties.valores_da_série_2,!0),serie3=toArray(properties.valores_da_série_3,!0),cor1=properties.cor_da_série_1||\"#1E90FF\",cor2=properties.cor_da_série_2||\"#00E396\",cor3=properties.cor_da_série_3||\"#A855F7\",nome1=properties.nome_da_série_1||\"\",nome2=properties.nome_da_série_2||\"\",nome3=properties.nome_da_série_3||\"\",html=`<div id=\"${chartId}\" style=\"width: 100%; height: 100%;\"></div>`;$(instance.canvas[0]).html(html);const series=[],cores=[];\"\"!==nome1.trim()&&(series.push({name:nome1,data:serie1}),cores.push(cor1)),\"\"!==nome2.trim()&&(series.push({name:nome2,data:serie2}),cores.push(cor2)),\"\"!==nome3.trim()&&(series.push({name:nome3,data:serie3}),cores.push(cor3));const options={chart:{type:\"bar\",height:\"100%\",toolbar:{show:!0,tools:{download:!0,selection:!1,zoom:!1,zoomin:!1,zoomout:!1,pan:!1,reset:!1}}},colors:cores,plotOptions:{bar:{horizontal:!1,columnWidth:\"55%\",endingShape:\"rounded\"}},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:[\"transparent\"]},series:series,xaxis:{categories:labels},yaxis:{},fill:{opacity:1},tooltip:{y:{formatter:function(val){return\"R$ \"+val.toLocaleString(\"pt-BR\")}}}};instance.data.chart&&instance.data.chart.destroy();const chart=new ApexCharts(document.getElementById(chartId),options);chart.render(),instance.data.chart=chart}"}},"platform_type":"web"},"AAZ":{"display":"DizeCharLine","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAa":{"caption":"datas__eixo_x","name":"datas__eixo_x","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAb":{"caption":"valores_da_serie_1","name":"valores_da_serie_1","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AAc":{"caption":"nome_da_serie_1","name":"nome_da_serie_1","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AAd":{"caption":"cor_da_serie_1","name":"cor_da_serie_1","rank":3,"editor":"Color","default_val":"rgba(0,212,255,1)"},"AAl":{"caption":"valores_da_serie_2","name":"valores_da_serie_2","rank":4,"editor":"DynamicValue","value":"text","optional":true},"AAm":{"caption":"nome_da_serie_2","name":"nome_da_serie_2","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AAn":{"caption":"cor_da_serie_2","name":"cor_da_serie_2","rank":6,"editor":"Color","default_val":"rgba(241,1,1,1)"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){const chartId=`apex-chart-${Date.now()}-${Math.floor(1e6*Math.random())}`;instance.data.chartId=chartId;const toArray=(str,isNumber=!1)=>{if(!str)return[];const arr=str.split(\",\").map((s=>s.trim()));return isNumber?arr.map(Number):arr},labels=toArray(properties.datas__eixo_x),serie1=toArray(properties.valores_da_serie_1,!0),serie2=toArray(properties.valores_da_serie_2,!0),nome1=properties.nome_da_serie_1||\"Série 1\",nome2=properties.nome_da_serie_2||\"Série 2\",cor1=properties.cor_da_serie_1||\"#00D4FF\",cor2=properties.cor_da_serie_2||\"#F10101\",altura=instance.canvas.height(),html=`<div id=\"${chartId}\" style=\"width: 100%; height: ${altura}px;\"></div>`;$(instance.canvas[0]).html(html);const series=[];serie1.length>0&&series.push({name:nome1,data:serie1}),serie2.length>0&&series.push({name:nome2,data:serie2});const cores=[];serie1.length>0&&cores.push(cor1),serie2.length>0&&cores.push(cor2);const options={chart:{type:\"line\",height:altura,toolbar:{show:!0,tools:{download:!0,selection:!1,zoom:!1,zoomin:!1,zoomout:!1,pan:!1,reset:!1}}},colors:cores,dataLabels:{enabled:!1},stroke:{curve:\"smooth\",width:2},series:series,xaxis:{categories:labels},tooltip:{y:{formatter:function(val){return\"R$ \"+val.toLocaleString(\"pt-BR\")}}},legend:{position:\"bottom\"}};instance.data.chart&&instance.data.chart.destroy();const chart=new ApexCharts(document.getElementById(chartId),options);chart.render(),instance.data.chart=chart}"}},"platform_type":"web"},"AAo":{"display":"DizeChartDonut","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAp":{"caption":"datas__eixo_x","name":"datas__eixo_x","rank":0,"editor":"DynamicValue","value":"text","optional":true,"default_val":"series-1, series-2, series-3, series-4, series-5"},"AAq":{"caption":"valores_da_série_1","name":"valores_da_série_1","rank":1,"editor":"DynamicValue","value":"text","optional":true,"default_val":"25.6, 32.0, 23.8, 9.9, 8.7"},"AAr":{"caption":"cor_da_série_1","name":"cor_da_série_1","rank":2,"editor":"Color","default_val":"rgba(0,143,251,1)","optional":true},"AAs":{"caption":"cor_da_série_2","name":"cor_da_série_2","rank":3,"editor":"Color","default_val":"rgba(0,227,150,1)","optional":true},"AAt":{"caption":"cor_da_série_3","name":"cor_da_série_3","rank":4,"editor":"Color","default_val":"rgba(254,176,25,1)","optional":true},"AAu":{"caption":"cor_da_série_4","name":"cor_da_série_4","rank":5,"editor":"Color","default_val":"rgba(255,69,96,1)","optional":true},"AAv":{"caption":"cor_da_série_5","name":"cor_da_série_5","rank":6,"editor":"Color","default_val":"rgba(119,93,208,1)","optional":true}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){const chartId=`apex-chart-${Date.now()}-${Math.floor(1e6*Math.random())}`;instance.data.chartId=chartId;const toArray=(str,isNumber=!1)=>
337{if(!str)return[];const arr=str.split(\",\").map((s=>s.trim()));return isNumber?arr.map(Number):arr},labels=toArray(properties.datas__eixo_x),valores=toArray(properties.valores_da_série_1,!0),altura=instance.canvas.height(),cor1=undefined,cor2=undefined,cor3=undefined,cor4=undefined,cor5=undefined,cores=[properties.cor_da_série_1||\"#008FFB\",properties.cor_da_série_2||\"#00E396\",properties.cor_da_série_3||\"#FEB019\",properties.cor_da_série_4||\"#FF4560\",properties.cor_da_série_5||\"#775DD0\"].slice(0,valores.length),html=`<div id=\"${chartId}\" style=\"width: 100%; height: ${altura}px;\"></div>`;$(instance.canvas[0]).html(html);const options={chart:{type:\"donut\",height:altura},labels:labels,colors:cores,series:valores,legend:{position:\"right\"},dataLabels:{enabled:!0,formatter:function(val){return val.toFixed(1)+\"%\"}},tooltip:{y:{formatter:function(val){return val.toLocaleString(\"pt-BR\")}}}};instance.data.chart&&instance.data.chart.destroy();const chart=new ApexCharts(document.getElementById(chartId),options);chart.render(),instance.data.chart=chart}"}},"platform_type":"web"},"ABD":{"display":"DizeChartPie","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAw":{"caption":"datas__eixo_x","name":"datas__eixo_x","rank":0,"editor":"DynamicValue","value":"text","optional":true,"default_val":"series-1, series-2, series-3, series-4, series-5"},"AAx":{"caption":"valores_da_série_1","name":"valores_da_série_1","rank":1,"editor":"DynamicValue","value":"text","optional":true,"default_val":"25.6, 32.0, 23.8, 9.9, 8.7"},"AAy":{"caption":"cor_da_série_1","name":"cor_da_série_1","rank":2,"editor":"Color","default_val":"rgba(0,143,251,1)","optional":true},"AAz":{"caption":"cor_da_série_2","name":"cor_da_série_2","rank":3,"editor":"Color","default_val":"rgba(0,227,150,1)","optional":true},"ABA":{"caption":"cor_da_série_3","name":"cor_da_série_3","rank":4,"editor":"Color","default_val":"rgba(254,176,25,1)","optional":true},"ABB":{"caption":"cor_da_série_4","name":"cor_da_série_4","rank":5,"editor":"Color","default_val":"rgba(255,69,96,1)","optional":true},"ABC":{"caption":"cor_da_série_5","name":"cor_da_série_5","rank":6,"editor":"Color","default_val":"rgba(119,93,208,1)","optional":true}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){const chartId=`apex-chart-${Date.now()}-${Math.floor(1e6*Math.random())}`;instance.data.chartId=chartId;const toArray=(str,isNumber=!1)=>{if(!str)return[];const arr=str.split(\",\").map((s=>s.trim()));return isNumber?arr.map(Number):arr},labels=toArray(properties.datas__eixo_x),valores=toArray(properties.valores_da_série_1,!0),altura=instance.canvas.height(),cor1=undefined,cor2=undefined,cor3=undefined,cor4=undefined,cor5=undefined,cores=[properties.cor_da_série_1||\"#008FFB\",properties.cor_da_série_2||\"#00E396\",properties.cor_da_série_3||\"#FEB019\",properties.cor_da_série_4||\"#FF4560\",properties.cor_da_série_5||\"#775DD0\"].slice(0,valores.length),html=`<div id=\"${chartId}\" style=\"width: 100%; height: ${altura}px;\"></div>`;$(instance.canvas[0]).html(html);const options={chart:{type:\"pie\",height:altura},labels:labels,colors:cores,series:valores,legend:{position:\"right\"},dataLabels:{enabled:!0,formatter:function(val){return val.toFixed(1)+\"%\"}},tooltip:{y:{formatter:function(val){return val.toLocaleString(\"pt-BR\")}}}};instance.data.chart&&instance.data.chart.destroy();const chart=new ApexCharts(document.getElementById(chartId),options);chart.render(),instance.data.chart=chart}"}},"platform_type":"web"}}};
338window._bubble_page_load_data.plugins_size['1754157935950x523616729798017000'] = 11497;
339window.preloaded['plugin/third_party:1754157935950x523616729798017000:3.0.0'] = true;
340window['bubble_run_derived'] = window['bubble_run_derived'] || {}
341window['bubble_run_derived']['{"function_name":"PageByName","args":[]}'] = {"404":{"id":"AAU","_path":"%p3.AAX"},"reset_pw":{"id":"AAL","_path":"%p3.AAW"},"old_index":{"id":"bTGYf","_path":"%p3.bTGbC"},"leads":{"id":"bTHIv1","_path":"%p3.bTHIw1"},"dashboard":{"id":"bTJNT0","_path":"%p3.bTJNU0"}
341,"crm":{"id":"bTKUv4","_path":"%p3.bTKbg4"},"index":{"id":"bTRrp","_path":"%p3.bTRwF"},"configuracoes":{"id":"bTUCl0","_path":"%p3.bTUCm0"},"conecta-ia":{"id":"bTZzr","_path":"%p3.bTaTL"},"consulta_plus":{"id":"bTbHD1","_path":"%p3.bTbHH1"},"painel":{"id":"bTbyn0","_path":"%p3.bTbzp0"},"testdize":{"id":"bTgjB","_path":"%p3.bTgjC"},"sdr":{"id":"bTnXD","_path":"%p3.bTndK"},"registro-imovel":{"id":"bTpPu0","_path":"%p3.bTpZG0"},"new_crm":{"id":"bTtFz","_path":"%p3.bTtGA"}}
342window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true;
343window['bubble_run_derived']['{"function_name":"CustomByNameV2","args":[]}'] = {"♻️ ru sidebar":{"id":"bTHIx1","_path":"%ed.bTHJB1","custom_element_platform":"web"},"♻️ Popup Agendamento":{"id":"bTOFB2","_path":"%ed.bTOFC2","custom_element_platform":"web"},"♻️ Popup Adicionar email - Distribuição":{"id":"bTOLB2","_path":"%ed.bTOLr2","custom_element_platform":"web"},"♻️ Popup Acompanhamento":{"id":"bTONr2","_path":"%ed.bTOOr2","custom_element_platform":"web"},"♻️ [AL] Obra Arquivar ":{"id":"bTOPt2","_path":"%ed.bTOQp2","custom_element_platform":"web"},"NavBar":{"id":"bTPfB2","_path":"%ed.bTPib2","custom_element_platform":"web"},"crm-acompanhamento":{"id":"bTdOz","_path":"%ed.bTdRH","custom_element_platform":"web"},"Agendamento-Crm":{"id":"bTipG","_path":"%ed.bTiql","custom_element_platform":"web"},"popup empresa - acompanhamento":{"id":"bTlfi","_path":"%ed.bTlhn","custom_element_platform":"web"},"pontosConsultas":{"id":"bTqfx","_path":"%ed.bTqfy","custom_element_platform":"web"},"consulta_cnpj_leads":{"id":"bTrJg","_path":"%ed.bTrJh","custom_element_platform":"web"},"consulta_plus_new":{"id":"bTrcv","_path":"%ed.bTrge","custom_element_platform":"web"},"filtros-padroes":{"id":"bTufo","_path":"%ed.bTufp","custom_element_platform":"web"},"popup acompanhamento cnoG":{"id":"bTyUt","_path":"%ed.bTyXO","custom_element_platform":"web"},"popup agendamento cnoG":{"id":"bTyXP","_path":"%ed.bTyYv","custom_element_platform":"web"},"obra arquivar cnoG":{"id":"bTyZL","_path":"%ed.bTyaN","custom_element_platform":"web"},"dashboard - cau":{"id":"bTzgh0","_path":"%ed.bTzgi0","custom_element_platform":"web"},"Popup agendamento cauG":{"id":"bUEyC1","_path":"%ed.bUEyD1","custom_element_platform":"web"},"Popup acompanhamento cauG":{"id":"bUFCd1","_path":"%ed.bUFCh1","custom_element_platform":"web"}}
344window.preloaded['app/derived:{"function_name":"CustomByNameV2","args":[]}'] = true;
345window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = []
346window.preloaded['app/derived:{"function_name":"UserCalls","args":[]}'] = true;
347window['bubble_run_derived']['{"function_name":"OAuthProviders","args":[]}'] = ["apple"]
348window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true;
349window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"_situa__o_da_obra":[],"acompanhamento":[{"name":"anota__es_text","value":"text","display":"Anotacoes","deleted":null},{"name":"obra_custom_obra","value":"custom.obra","display":"Obra","deleted":null},{"name":"probabilidade__option_probabilidadeacompanhamento","value":"option.probabilidadeacompanhamento","display":"Probabilidade ","deleted":null},{"name":"status_option__statusacompanhamento","value":"option._statusacompanhamento","display":"Status","deleted":null},{"name":"temperatura_option__tagacompanhamento","value":"option._tagacompanhamento","display":"Temperatura","deleted":null}],"address":[{"name":"address_geographic_address","value":"geographic_address","display":"address","deleted":null},{"name":"address_list_geographic_address","value":"list.geographic_address","display":"address - deleted","deleted":true}],"adress":[{"name":"tex_text","value":"text","display":"tex","deleted":null}],"agendamento":[{"name":"assunto_text","value":"text","display":"Assunto","deleted":null},{"name":"cno_number","value":"number","display":"cno - deleted","deleted":true},{"name":"data_date","value":"date","display":"DataInicio","deleted":null},{"name":"data_fim_date","value":"date","display":"DataFim","deleted":null},{"name":"datalembrete_date","value":"date","display":"DataLembrete","deleted":null},{"name":"datarange_date_range","value":"date_range","display":"DataRange","deleted":null},{"name":"hora_text","value":"text","display":"hora - deleted","deleted":true},{"name":"mensagem_text","value":"text","display":"Mensagem","deleted":null},{"name":"obra_custom_obra","value":"custom.obra","display":"Obra","deleted":null},{"name":"scheduled_api_id__text","value":"text","display":"Scheduled_Api_Id ","deleted":null}],"backgroundimage":[{"name":"image_image","value":"image","display":"Image","deleted":null},{"name":"semanamod_list_number","value":"list.number","display":"SemanaMod","deleted":null},{"name":"semanamod_number","value":"number","display":"semanaMod - deleted","deleted":true}],"cau_atividades_subatividades":[{"name":"atividade_text","value":"text","display":"Atividade","deleted":null},{"name":"tipo_text","value":"text","display":"Tipo","deleted":null}],"chatconectaplus":[{"name":"interacoesia_list_custom_interacoesagenteia","value":"list.custom.interacoesagenteia","display":"InteracoesIA","deleted":null},{"name":"mensagem_list_text","value":"list.text","display":"mensagem - deleted","deleted":true},{"name":"mensagem_text","value":"text","display":"mensagem - deleted","deleted":true},{"name":"nomechat_text","value":"text","display":"NomeChat","deleted":null},{"name":"respostaia_boolean","value":"boolean","display":"RespostaIa - deleted","deleted":true},{"name":"usuario_user","value":"user","display":"Usuario","deleted":null}],"cnae":[{"name":"codigo_number","value":"number","display":"codigo","deleted":null},{"name":"descricao_text","value":"text","display":"descricao","deleted":null}],"conexao_wapi":[{"name":"contatoconectado_boolean","value":"boolean","display":"contatoConectado","deleted":null},{"name":"id_instancia_text","value":"text","display":"Id_instancia","deleted":null},{"name":"token_instancia_text","value":"text","display":"Token_instancia","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null}],"custo_da_obra":[{"name":"valor_da_constr__o_number","value":"number","display":"Valor_da_Constrção - deleted","deleted":true},{"name":"valor_da_obra_number_range","value":"number_range","display":"Valor da Obra - deleted","deleted":true}],"dashboard_data":[{"name":"categoria_acrescimo_number","value":"number","display":"Categoria_Acrescimo","deleted":null},{"name":"categoria_demoli__o_number","value":"number","display":"Categoria_Demolição","deleted":null},{"name":"categoria_existente_number","value":"number","display":"Categoria_Existente","deleted":null},{"name":"categoria_obra_nova_number","value":"number","display":"Categoria_Obra Nova","deleted":null},{"name":"categoria_reforma_number","value":"number","display":"Categoria_Reforma","deleted":null},{"name":"dataconsulta_date","value":"date","display":"DataConsulta","deleted":null},{"name":"estados_list_custom_estados","value":"list.custom.estados","display":"Estados","deleted":null}
349,{"name":"estados_list_option__estados","value":"list.option._estados","display":"Estados - deleted","deleted":true},{"name":"situacao_ativas_number","value":"number","display":"Situacao_Ativas","deleted":null},{"name":"situacao_encerradas_number","value":"number","display":"Situacao_Encerradas","deleted":null},{"name":"situacao_nula_number","value":"number","display":"Situacao_Nula","deleted":null},{"name":"situacao_number","value":"number","display":"situacao","deleted":true},{"name":"situacao_paralisada_number","value":"number","display":"Situacao_Paralisada","deleted":null},{"name":"situacao_suspensa_number","value":"number","display":"Situacao_Suspensa","deleted":null},{"name":"tipoarea_complementar_number","value":"number","display":"TipoArea_Complementar","deleted":null},{"name":"tipoarea_principal_number","value":"number","display":"TipoArea_Principal","deleted":null},{"name":"total_obras_number","value":"number","display":"Total_Obras","deleted":null}],"disparo":[{"name":"leads_list_custom_leads","value":"list.custom.leads","display":"Leads","deleted":null},{"name":"mensagem_text","value":"text","display":"Mensagem","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null}],"empresa":[{"name":"_cnae_text","value":"text","display":" CNAE","deleted":null},{"name":"acompanhamento_custom_obraacompanhamento","value":"custom.obraacompanhamento","display":"Acompanhamento - deleted","deleted":true},{"name":"acompanhamento_list_custom_obraacompanhamento","value":"list.custom.obraacompanhamento","display":"Acompanhamento","deleted":null},{"name":"agendamentos_list_custom_obraagendamento","value":"list.custom.obraagendamento","display":"Agendamentos","deleted":null},{"name":"arquivado_boolean","value":"boolean","display":"arquivado","default_val":false,"deleted":null},{"name":"capitalsocial_number","value":"number","display":"CapitalSocial","deleted":null},{"name":"cnpj_text","value":"text","display":"CNPJ","deleted":null},{"name":"complemento_text","value":"text","display":"Complemento","deleted":null},{"name":"data_de_abertura_date","value":"date","display":"Data de abertura","deleted":null},{"name":"diego_langonevils_com_br_text","value":"text","display":"E-mail","deleted":null},{"name":"endere_o_text","value":"text","display":"Endereço","deleted":null},{"name":"favoritos_boolean","value":"boolean","display":"favoritos","default_val":false,"deleted":null},{"name":"naturezajuridica_text","value":"text","display":"NaturezaJuridica","deleted":null},{"name":"porteempresa_text","value":"text","display":"PorteEmpresa","deleted":null},{"name":"razaosocial_text","value":"text","display":"RazaoSocial","deleted":null},{"name":"situacaocadastral_text","value":"text","display":"SituacaoCadastral","deleted":null},{"name":"socios_list_custom_sociosempresa","value":"list.custom.sociosempresa","display":"Socios","deleted":null},{"name":"telefone_2_text","value":"text","display":"Telefone 2","deleted":null},{"name":"telefone_text","value":"text","display":"Telefone","deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null}],"empresaacompanhamento":[{"name":"anota__es_text","value":"text","display":"Anotacoes","deleted":null},{"name":"empresa_custom_empresa","value":"custom.empresa","display":"Empresa - deleted","deleted":true},{"name":"obra_custom_obra","value":"custom.obra","display":"Obra - deleted - deleted","deleted":true},{"name":"obras_cau_custom_obras_cau","value":"custom.obras_cau","display":"Obras_cau","deleted":null},{"name":"probabilidade__option_probabilidadeacompanhamento","value":"option.probabilidadeacompanhamento","display":"Probabilidade ","deleted":null},{"name":"status_option__statusacompanhamento","value":"option._statusacompanhamento","display":"Status","deleted":null},{"name":"temperatura_option__tagacompanhamento","value":"option._tagacompanhamento","display":"Temperatura","deleted":null}],"empresaagendamento":[{"name":"assunto_text","value":"text","display":"Assunto","deleted":null},{"name":"cno_number","value":"number","display":"cno - deleted - deleted - deleted","deleted":true},{"name":"data_date","value":"date","display":"DataInicio","deleted":null},{"name":"data_fim_date","value":"date","display":"DataFim","deleted":null},{"name":"datalembrete_date","value":"date","display":"DataLembrete","deleted":null},{"name":"datarange_date_range","value":"date_range","display":"DataRange","deleted":null},{"name":"empresa_custom_empresa","value":"custom.empresa","display":"Empresa - deleted","deleted":true},{"name":"hora_text","value":"text","display":"hora - deleted - deleted","deleted":true},{"name":"mensagem_text","value":"text","display":"Mensagem","deleted":null},{"name":"obra_cau_custom_obras_cau","value":"custom.obras_cau","display":"Obra_cau - deleted","deleted":true},{"name":"obra_custom_obra","value":"custom.obra","display":"Obra - deleted - deleted","deleted":true},{"name":"obras_cau_custom_obras_cau","value":"custom.obras_cau","display":"obras_cau","deleted":null},{"name":"scheduled_api_id__text","value":"text","display":"Scheduled_Api_Id ","deleted":null}],"enderecoesrado":[{"name":"endereco_text","value":"text","display":"endereco","deleted":null},{"name":"latitude_text","value":"text","display":"Latitude","deleted":null},{"name":"longitude_text","value":"text","display":"Longitude","deleted":null}],"estado":[{"name":"cidades_list_custom_localizacao","value":"list.custom.localizacao","display":"Cidades","deleted":null},{"name":"uf_text","value":"text","display":"UF","deleted":null}],"estados":[{"name":"nomeestado_text","value":"text","display":"NomeEstado","deleted":null},{"name":"totalobras_number","value":"number","display":"TotalObras","deleted":null}],"filtroglobal":[{"name":"bloqueiozoox_boolean","value":"boolean","display":"BloqueioConsultaPlus","default_val":false,"deleted":null}],"franquia":[{"name":"bairro_text","value":"text","display":"Bairro","deleted":null},{"name":"cep_text","value":"text","display":"CEP","deleted":null},{"name":"cidade_text","value":"text","display":"Cidade","deleted":null},{"name":"cidadespermitidas_list_text","value":"list.text","display":"CidadesPermitidas - deleted","deleted":true},{"name":"cnpj_text","value":"text","display":"CNPJ","deleted":null},{"name":"complemento_text","value":"text","display":"Complemento","deleted":null},{"name":"estado_text","value":"text","display":"Estado","deleted":null},{"name":"estadopermitidos_list_text","value":"list.text","display":"EstadoPermitidos - deleted","deleted":true},{"name":"loja_list_custom_loja","value":"list.custom.loja","display":"Lojas","deleted":null},{"name":"n_mero_number","value":"number","display":"Numero","deleted":null},{"name":"nome_fantasia_text","value":"text","display":"Nome Fantasia - deleted","deleted":true},{"name":"permissaocadastrolojista_number","value":"number","display":"PermissaoCadastroLojista","deleted":null},{"name":"qtdconsultazoox_number","value":"number","display":"QtdConsultaZoox","deleted":null},{"name":"raz_o_social_text","value":"text","display":"Razão social","deleted":null},{"name":"rua_text","value":"text","display":"Rua","deleted":null},{"name":"usuarios_list_user","value":"list.user","display":"Usuarios","deleted":null}],"historicoconsultazoox":[],"indicadorconsumo":[{"name":"_indicadoresconstrucivil_option__indicadores","value":"option._indicadores","display":"@IndicadoresConstruCivil","deleted":null},{"name":"ano_date","value":"date","display":"Ano - deleted","deleted":true},{"name":"ano_text","value":"text","display":"aço_Ano","deleted":null},{"name":"cimento_ano_text","value":"text","display":"cimento_ano","deleted":null},{"name":"cimento_consumototal_number","value":"number","display":"cimento_ConsumoTotal","deleted":null},{"name":"cimento_localidade_text","value":"text","display":"cimento_localidade","deleted":null},{"name":"cimento_producaototal_number","value":"number","display":"cimento_ProducaoTotal","deleted":null},{"name":"cons_laminadoslongos1_number","value":"number","display":"cons_laminadosLongos - deleted","deleted":true},{"name":"cons_laminadoslongos_number","value":"number","display":"cons_laminadosLongos - deleted","deleted":true},{"name":"cons_perfilmedpesa2e3_number","value":"number","display":"Cons_perfilMedPesa2e3 - deleted","deleted":true},{"name":"cons_prefillevel11_number","value":"number","display":"cons_perfilLevel1 - deleted","deleted":true},{"name":"cons_prefillevel1_number","value":"number","display":"cons_prefilLevel1 - deleted","deleted":true},{"name":"cons_produtoslongos_number","value":"number","display":"cons_produtosLongos - deleted","deleted":true},{"name":"cons_total_laminados_number","value":"number","display":"aço_cons_total_laminados","deleted":null},{"name":"cons_vergalhoes_number","value":"number","display":"cons_vergalhoes - deleted","deleted":true},{"name":"perfis_consumo_soma_number","value":"number","display":"aço_perfis_consumo_soma","deleted":null},{"name":"perfis_prod_soma_number","value":"number","display":"aço_perfis_prod_soma","deleted":null},{"name":"prod_laminadoslongos_number","value":"number","display":"prod_laminadosLongos - deleted","deleted":true},{"name":"prod_perfillevel1_number","value":"number","display":"prod_perfilLevel1 - deleted","deleted":true},{"name":"prod_perfillevel1_number_range","value":"number_range","display":"prod_perfilLevel1 - deleted","deleted":true},{"name":"prod_perfilmedio2_number","value":"number","display":"prod_perfilMedio2 - deleted","deleted":true},{"name":"prod_perfilpesado3_number","value":"number","display":"prod_perfilPesado3 - deleted","deleted":true},{"name":"prod_produtoslongos_number","value":"number","display":"Prod_produtosLongos - deleted","deleted":true},{"name":"prod_total_laminados_number","value":"number","display":"aço_prod_total_laminados","deleted":null},{"name":"prod_vergalhoes1_number","value":"number","display":"prod_Vergalhoes - deleted","deleted":true},{"name":"prod_vergalhoes_number","value":"number","display":"prod_Vergalhoes - deleted","deleted":true},{"name":"tipo_consumo_new_option_tipoconsumo","value":"option.tipoconsumo","display":"tipo_consumo_new","deleted":null},{"name":"tipo_consumo_text","value":"text","display":"tipo_consumo","deleted":null},{"name":"tipodeconsumo_text","value":"text","display":"aço_TipoDeConsumo","deleted":null},{"name":"vergalhoes_consumo_number","value":"number","display":"aço_vergalhoes_consumo","deleted":null},{"name":"vergalhoes_prod_number","value":"number","display":"aço_vergalhoes_prod","deleted":null}],"indicadorcrm":[],"indicadorcub":[{"name":"ano1_text","value":"text","display":"Cub_Estado_Ano","deleted":null},{"name":"ano2_text","value":"text","display":"Cub_Regiao_Ano","deleted":null},{"name":"ano_text","value":"text","display":"cub_medio_Ano","deleted":null},{"name":"estado_text","value":"text","display":"Cub_Estado_Estado","deleted":null},{"name":"indicador_option__indicadores","value":"option._indicadores","display":"Indicador","deleted":null},{"name":"r__m__despesa_admin_number","value":"number","display":"cub_medio_R$/m²_Despesa_Admin","deleted":null},{"name":"r__m__equipamento_number","value":"number","display":"cub_medio_R$/m²_Equipamento","deleted":null},{"name":"r__m__global_number","value":"number","display":"cub_medio_R$/m²_Global","deleted":null},{"name":"r__m__m_o_obra_number","value":"number","display":"cub_medio_R$/m²_Mão_Obra","deleted":null},{"name":"r__m__material_number","value":"number","display":"cub_medio_R$/m²_Material","deleted":null},{"name":"regiao_text","value":"text","display":"Cub_Regiao_Regiao","deleted":null},{"name":"tipo_cub_new_option_tipocub","value":"option.tipocub","display":"Tipo_Cub_new","deleted":null},{"name":"tipo_cub_text","value":"text","display":"Tipo_Cub","deleted":null},{"name":"tipoindicador_option__tipoindicador","value":"option._tipoindicador","display":"TipoIndicador - deleted","deleted":true},{"name":"valor_r__m_1_number","value":"number","display":"Cub_Regiao_Valor_R$/m²","deleted":null},{"name":"valor_r__m__number","value":"number","display":"Cub_Estado_Valor_R$/m²","deleted":null},{"name":"varia__o_despesa_admin_number","value":"number","display":"cub_medio_Variação_Despesa_Admin","deleted":null},{"name":"varia__o_equipamento_number","value":"number","display":"cub_medio_Variação_Equipamento","deleted":null},{"name":"varia__o_global_number","value":"number","display":"cub_medio_Variação_Global","deleted":null},{"name":"varia__o_m_o_obra_number","value":"number","display":"cub_medio_Variação_Mão_Obra","deleted":null},{"name":"varia__o_material_number","value":"number","display":"cub_medio_Variação_Material","deleted":null},{"name":"variacao_ano1_number","value":"number","display":"Cub_Regiao_Variacao_Ano","deleted":null},{"name":"variacao_ano_number","value":"number","display":"Cub_Estado_Variacao_Ano","deleted":null}],"indicadoreconomia":[{"name":"agropecu_ria1_number","value":"number","display":"PIB_atividades_Agropecuária","deleted":null},{"name":"agropecu_ria2_number","value":"number","display":"PIB_taxa_valor_Agropecuária","deleted":null},{"name":"agropecu_ria3_number","value":"number","display":"pib_crescimento_setor_AGROPECUÁRIA","deleted":null},{"name":"agropecu_ria_number","value":"number","display":"PIB_taxa_cresc_setores_Agropecuária","deleted":null},{"name":"agropecu_ria_taxa_number","value":"number","display":"PIB_taxa_valor_Agropecuária_taxa","deleted":null},{"name":"ano1_text","value":"text","display":"PIB_atividades_Ano","deleted":null},{"name":"ano2_text","value":"text","display":"PIB_taxa_valor_Ano","deleted":null},{"name":"ano3_text","value":"text","display":"pib_crescimento_setor_ano","deleted":null},{"name":"ano_text","value":"text","display":"PIB_taxa_cresc_setores_Ano","deleted":null},{"name":"cadeia_prod_participa__o_text","value":"text","display":"Cadeia_prod_Participação - deleted","deleted":true},{"name":"cadeia_prod_participacao_number","value":"number","display":"Cadeia_prod_participacao","deleted":null},{"name":"cadeia_produtiva_text","value":"text","display":"Cadeia_prod_Cadeia Produtiva","deleted":null},{"name":"constru__o1_number","value":"number","display":"pib_crescimento_setor_Construção","deleted":null},{"name":"constru__o_civil1_number","value":"number","display":"PIB_atividades_Construção Civil","deleted":null},{"name":"constru__o_civil_number","value":"number","display":"PIB_taxa_cresc_setores_Construção Civil","deleted":null},{"name":"constru__o_number","value":"number","display":"PIB_taxa_valor_Construção","deleted":null},{"name":"constru__o_taxa_number","value":"number","display":"PIB_taxa_valor_Construção_taxa","deleted":null},{"name":"participa__o_number","value":"number","display":"Cadeia_prod_Participação - deleted","deleted":true},{"name":"pib1_number","value":"number","display":"PIB_taxa_valor_PIB","deleted":null},{"name":"pib2_number","value":"number","display":"pib_crescimento_setor_PIB","deleted":null},{"name":"pib_number","value":"number","display":"PIB_taxa_cresc_setores_PIBpm","deleted":null},{"name":"pib_taxa_number","value":"number","display":"PIB_taxa","deleted":null},{"name":"tipo_economia_new_option_tipo_economia","value":"option.tipo_economia","display":"tipo_economia_new","deleted":null},{"name":"tipo_economia_text","value":"text","display":"tipo_Economia","deleted":null},{"name":"tipo_indicador_option__indicadores","value":"option._indicadores","display":"tipo_indicador","deleted":null}],"indicadores":[{"name":"_tipoindicadores_option__tipoindicador","value":"option._tipoindicador","display":"@TipoIndicadores","deleted":null},{"name":"ano_date","value":"date","display":"Ano","deleted":null},{"name":"estado_text","value":"text","display":"Estado","deleted":null},{"name":"grande_porte_acima_de_101_kw_number","value":"number","display":"Grande Porte acima de 101 kW","deleted":null},{"name":"indicador_option__indicadores","value":"option._indicadores","display":"Indicador","deleted":null},{"name":"m_dio_porte_11_a_100_kw_number","value":"number","display":"Médio Porte 11 a 100 kW","deleted":null},{"name":"media_do_estado_number","value":"number","display":"Media do Estado","deleted":null},{"name":"medianacional_number","value":"number","display":"MediaNacional","deleted":null},{"name":"mediaporte100kw_number","value":"number","display":"MediaNPorte100Kw","deleted":null},{
349"name":"mediaporte101kw_number","value":"number","display":"MediaNPorte101Kw","deleted":null},{"name":"mediaporte10kw_number","value":"number","display":"MediaNPorte10kw","deleted":null},{"name":"pequeno_porte_at__10_kw_number","value":"number","display":"Pequeno Porte até 10 kW","deleted":null},{"name":"valor_number","value":"number","display":"Valor","deleted":null}],"indicadorescrm":[{"name":"acompanhamento_number","value":"number","display":"AcompanhamentoObra","deleted":null},{"name":"acompanhamentosempresa_number","value":"number","display":"AcompanhamentosEmpresa","deleted":null},{"name":"agendamento_number","value":"number","display":"AgendamentoObra","deleted":null},{"name":"agendamentoempresa_number","value":"number","display":"AgendamentoEmpresa","deleted":null},{"name":"datapesquisaobra_date","value":"date","display":"DatapesquisaObra - deleted","deleted":true},{"name":"excluido_number","value":"number","display":"ExcluidoObra","deleted":null},{"name":"excluidosempresa_number","value":"number","display":"ExcluidosEmpresa","deleted":null},{"name":"favoritamento_number","value":"number","display":"FavoritosObra","deleted":null},{"name":"favoritosempresa_number","value":"number","display":"FavoritosEmpresa","deleted":null},{"name":"pesquisacau_number","value":"number","display":"PesquisaCAU","deleted":null},{"name":"pesquisaempresa_number","value":"number","display":"PesquisaEmpresa","deleted":null},{"name":"pesquisaobras_number","value":"number","display":"PesquisaObras","deleted":null},{"name":"tipoindicador_option_tipoindicadorcrm","value":"option.tipoindicadorcrm","display":"TipoIndicador","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null}],"indicadorfinanceiro":[{"name":"_rea_text","value":"text","display":"contrat_rec_fgtsÁrea","deleted":null},{"name":"ano_number","value":"number","display":"Ano - deleted","deleted":true},{"name":"ano_text","value":"text","display":"Financiamento_Ano","deleted":null},{"name":"n_mero_de_unidades_number","value":"number","display":"contrat_rec_fgtsNúmero de Unidades","deleted":null},{"name":"tipo_financeiro_text","value":"text","display":"tipo_Financeiro","deleted":null},{"name":"tipo_indicador_option__indicadores","value":"option._indicadores","display":"tipo_indicador","deleted":null},{"name":"un_financ_aquisi__o_number","value":"number","display":"Financiamento_un_financ_Aquisição","deleted":null},{"name":"un_financ_number","value":"number","display":"Financiamento_un_financ_Construção","deleted":null},{"name":"un_financ_total_number","value":"number","display":"Financiamento_un_financ_Total","deleted":null},{"name":"val_aquisi__o_number","value":"number","display":"Financiamento_val_Aquisição","deleted":null},{"name":"val_constru__o_number","value":"number","display":"Financiamento_val_Construção","deleted":null},{"name":"val_total_number","value":"number","display":"Financiamento_val_Total","deleted":null},{"name":"valor_do_empr_stimo__r___number","value":"number","display":"contrat_rec_fgtsValor do Empréstimo (R$)","deleted":null}],"indicadorocupacao":[{"name":"agropecu_ria_participa__o_number","value":"number","display":"ocu_grp_att_Agropecuária_participação","deleted":null},{"name":"agropecu_ria_total_number","value":"number","display":"ocu_grp_att_Agropecuária_total","deleted":null},{"name":"ano1_text","value":"text","display":"ocu_grp_att_Ano","deleted":null},{"name":"ano_text","value":"text","display":"ocu_industr_constr_Ano","deleted":null},{"name":"brasil_number","value":"number","display":"ocu_industr_constr_Brasil","deleted":null},{"name":"brasilparticipa__o_number","value":"number","display":"ocu_grp_att_BrasilParticipação","deleted":null},{"name":"constru__ocivil_number","value":"number","display":"ocu_grp_att_ConstruçãoCivil","deleted":null},{"name":"constru__ocivil_participa__o_number","value":"number","display":"ConstruçãoCivil_participação","deleted":null},{"name":"construcaocivil_number","value":"number","display":"ocu_industr_constr_ConstrucaoCivil","deleted":null},{"name":"part_relativa_cc____number","value":"number","display":"ocu_industr_constr_Part_Relativa_CC(%)","deleted":null},{"name":"tipo_indicador_option__indicadores","value":"option._indicadores","display":"tipo_indicador","deleted":null},{"name":"tipo_ocupa__o_text","value":"text","display":"tipo_Ocupação","deleted":null},{"name":"totalbrasil_number","value":"number","display":"ocu_grp_att_TotalBrasil","deleted":null}],"interacoesagenteia":[{"name":"chat_custom_chatconectaplus","value":"custom.chatconectaplus","display":"Chat","deleted":null},{"name":"cno_number","value":"number","display":"Cno","deleted":null},{"name":"mensagem1_text","value":"text","display":"Mensagem","deleted":null},{"name":"mensagem_list_text","value":"list.text","display":"mensagem - deleted","deleted":true},{"name":"mensagem_text","value":"text","display":"Mensagem - deleted","deleted":true},{"name":"nomechat_text","value":"text","display":"NomeChat - deleted","deleted":true},{"name":"respostaia_boolean","value":"boolean","display":"RespostaIa","default_val":false,"deleted":null},{"name":"stream_boolean","value":"boolean","display":"stream","deleted":null},{"name":"usuario_user","value":"user","display":"Usuario","deleted":null}],"leads":[{"name":"nomelead_text","value":"text","display":"NomeLead","deleted":null},{"name":"telefone_text","value":"text","display":"Telefone","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null}],"links_temporarios":[{"name":"descri__o_text","value":"text","display":"descrição","deleted":null},{"name":"link_text","value":"text","display":"link","deleted":null},{"name":"tipo_link_option_tipo_link","value":"option.tipo_link","display":"tipo_link","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null}],"localizacao":[{"name":"cidade_text","value":"text","display":"Cidade","deleted":null},{"name":"estado_new_custom_estado","value":"custom.estado","display":"Estado_new","deleted":null},{"name":"estado_text","value":"text","display":"Estado - deleted","deleted":true}],"localizacaopermitida":[{"name":"cidade_text","value":"text","display":"Cidade","deleted":null},{"name":"estado_text","value":"text","display":"Estado","deleted":null},{"name":"usuario_user","value":"user","display":"usuario","deleted":null}],"logconsultaplus":[{"name":"_local_pesquisa_option_localpesquisa","value":"option.localpesquisa","display":"@local_pesquisa","deleted":null},{"name":"data_date","value":"date","display":"Data","deleted":null},{"name":"documento_text","value":"text","display":"documento","deleted":null},{"name":"onde__text","value":"text","display":"Onde?","deleted":null},{"name":"quem__user","value":"user","display":"User","deleted":null},{"name":"tipopesquisa_option_tipopesquisa","value":"option.tipopesquisa","display":"@TipoPesquisa","deleted":null}],"loja":[{"name":"bairro_text","value":"text","display":"Bairro","deleted":null},{"name":"cep_text","value":"text","display":"Cep","deleted":null},{"name":"cidadet_text","value":"text","display":"Cidade","deleted":null},{"name":"complemento_text","value":"text","display":"Complemento","deleted":null},{"name":"cpf_text","value":"text","display":"CPF/CNPJ","deleted":null},{"name":"email_de_contato_text","value":"text","display":"Email de C
349ontato","deleted":null},{"name":"empresasupa_number","value":"number","display":"EmpresaSupaId - deleted","deleted":true},{"name":"endere_o_text","value":"text","display":"Endereço","deleted":null},{"name":"estado_text","value":"text","display":"Estado","deleted":null},{"name":"franquia_custom_franquia","value":"custom.franquia","display":"Franquia","deleted":null},{"name":"n_mero_number","value":"number","display":"Numero","deleted":null},{"name":"nome_completo_text","value":"text","display":"Nome Completo/RazaoSocial","deleted":null},{"name":"nome_do_contato_text","value":"text","display":"Nome do Contato","deleted":null},{"name":"permi_distr_sdr_boolean","value":"boolean","display":"permi_distr_sdr - deleted","default_val":false,"deleted":true},{"name":"permi_distr_sdr_option_permi_cadastr_sdr","value":"option.permi_cadastr_sdr","display":"permi_distr_sdr","default_val":"nao","deleted":null},{"name":"permissaocadastrovendedores_number","value":"number","display":"PermissaoCadastroVendedores","deleted":null},{"name":"qtdconsultazoox_number","value":"number","display":"QtdConsultaZoox","deleted":null},{"name":"quantidade_sdr_number","value":"number","display":"quantidade_sdr","deleted":null},{"name":"telefone_celular_text","value":"text","display":"Telefone Celular","deleted":null},{"name":"telefone_comercial_text","value":"text","display":"Telefone Comercial","deleted":null},{"name":"usuarios_list_user","value":"list.user","display":"Usuarios","deleted":null}],"municipios":[{"name":"cidade_text","value":"text","display":"Cidade","deleted":null},{"name":"estado_text","value":"text","display":"Estado","deleted":null}],"naturezajuridica":[{"name":"codigo_number","value":"number","display":"codigo","deleted":null},{"name":"descricao_text","value":"text","display":"descricao","deleted":null}],"obra":[{"name":"acompanhamento_custom_acompanhamento","value":"custom.acompanhamento","display":"Acompanhamento","deleted":null},{"name":"agendamentos_list_custom_agendamento","value":"list.custom.agendamento","display":"Agendamentos","deleted":null},{"name":"areatotal_number","value":"number","display":"AreaTotal","deleted":null},{"name":"arquivado_boolean","value":"boolean","display":"Arquivado","deleted":null},{"name":"cidade_text","value":"text","display":"Cidade","deleted":null},{"name":"cno_number","value":"number","display":"Cno","deleted":null},{"name":"cnpj_text","value":"text","display":"cnpj","deleted":null},{"name":"complemento_text","value":"text","display":"complemento","deleted":null},{"name":"data_de_in_cio_date","value":"date","display":"DataInicio","deleted":null},{"name":"destina__o_text","value":"text","display":"Destinacao","deleted":null},{"name":"endere_o_text","value":"text","display":"Endereco","deleted":null},{"name":"estado_text","value":"text","display":"Estado","deleted":null},{"name":"excluido_boolean","value":"boolean","display":"excluido - deleted","default_val":false,"deleted":true},{"name":"favoritado_boolean","value":"boolean","display":"Favoritada","deleted":null},{"name":"feedback_text","value":"text","display":"Feedback","deleted":null},{"name":"metragem_number","value":"number","display":"Metragem","deleted":null},{"name":"obra_api_apiconnector2_bTHdT1_bTKpv","value":"api.apiconnector2.bTHdT1.bTKpv","display":"obra - deleted","deleted":true},{"name":"obras_view_api_apiconnector2_bTHdT1_bTRSP0","value":"api.apiconnector2.bTHdT1.bTRSP0","display":"ObrasView","deleted":null},{"name":"previs_o_de_t_rmino_date","value":"date","display":"PrevisaoTermino","deleted":null},{"name":"propriet_rio_text","value":"text","display":"Proprietario","deleted":null},{"name":"respons_vel_text","value":"text","display":"Responsavel","deleted":null},{"name":"situacao_text","value":"text","display":"Situacao","deleted":null},{"name":"status_option__statusacompanhamento","value":"option._statusacompanhamento","display":"Status","deleted":null},{"name":"subcategoria_text","value":"text","display":"SubCategoria","deleted":null},{"name":"tag_option__tagacompanhamento","value":"option._tagacompanhamento","display":"Tag","deleted":null},{"name":"tag_text","value":"text","display":"tag - deleted","deleted":true},{"name":"tipo_de__rea_text","value":"text","display":"TipoArea","deleted":null},{"name":"tipo_de_complemento_text","value":"text","display":"Tipo de complemento","deleted":null},{"name":"tipo_text","value":"text","display":"Tipo","deleted":null},{"name":"unidademedida_text","value":"text","display":"UnidadeMedida","deleted":null},{"name":"user_user","value":"user","display":"User","deleted":null},{"name":"userarquivados_list_user","value":"list.user","display":"userArquivados - deleted","deleted":true},{"name":"userfavoritos_list_user","value":"list.user","display":"userFavoritos - deleted","deleted":true},{"name":"uservistos_list_user","value":"list.user","display":"userVistos - deleted","deleted":true},{"name":"valor_investimento_number","value":"number","display":"ValorInvestimento","deleted":null},{"name":"visto_boolean","value":"boolean","display":"Visto","deleted":null}],"obraacompanhamento":[{"name":"anota__es_text","value":"text","display":"Anotacoes","deleted":null},{"name":"empresa_custom_empresa","value":"custom.empresa","display":"Empresa","deleted":null},{"name":"obra_custom_obra","value":"custom.obra","display":"Obra - deleted","deleted":true},{"name":"probabilidade__option_probabilidadeacompanhamento","value":"option.probabilidadeacompanhamento","display":"Probabilidade ","deleted":null},{"name":"status_option__statusacompanhamento","value":"option._statusacompanhamento","display":"Status","deleted":null},{"name":"temperatura_option__tagacompanhamento","value":"option._tagacompanhamento","display":"Temperatura","deleted":null}],"obraagendamento":[{"name":"assunto_text","value":"text","display":"Assunto","deleted":null},{"name":"cno_number","value":"number","display":"cno - deleted - deleted","deleted":true},{"name":"data_date","value":"date","display":"DataInicio","deleted":null},{"name":"data_fim_date","value":"date","display":"DataFim","deleted":null},{"name":"datalembrete_date","value":"date","display":"DataLembrete","deleted":null},{"name":"datarange_date_range","value":"date_range","display":"DataRange","deleted":null},{"name":"empresa_custom_empresa","value":"custom.empresa","display":"Empresa","deleted":null},{"name":"hora_text","value":"text","display":"hora - deleted","deleted":null},{"name":"mensagem_text","value":"text","display":"Mensagem","deleted":null},{"name":"obra_custom_obra","value":"custom.obra","display":"Obra - deleted","deleted":true},{"name":"scheduled_api_id__text","value":"text","display":"Scheduled_Api_Id ","deleted":null}],"obras_cau":[{"name":"_status_option_status_cai","value":"option.status_cai","display":"@Status","deleted":null},{"name":"acompanhamento_custom_empresaacompanhamento","value":"custom.empresaacompanhamento","display":"acompanhamento","deleted":null},{"name":"agendamentos_list_custom_empresaagendamento","value":"list.custom.empresaagendamento","display":"agendamentos","deleted":null},{"name":"atividade_text","value":"text","display":"Atividade","deleted":null},{"name":"cidade_text","value":"text","display":"cidade","deleted":null},{"name":"complemento_text","value":"text","display":"complemento","deleted":null},{"name":"data_de_in_cio_date","value":"date","display":"Data de início","deleted":null},{"name":"documento_do_contratante_text","value":"text","display":"Documento do contratante","deleted":null},{"name":"localizacao_text","value":"text","display":"Localizacao","deleted":null},{"name":"numb_art_number","value":"number","display":"numb_art","deleted":null},{"name":"previs_o_de_termino_date","value":"date","display":"Previsão de termino","deleted":null},{"name":"profissional_text","value":"text","display":"Profissional","deleted":null},{"name":"proprietario_text","value":"text","display":"Proprietario","deleted":null},{"name":"quantidade_number","value":"number","display":"Quantidade","deleted":null},{"name":"registro_do_profissional_text","value":"text","display":"Registro do profissional","deleted":null},{"name":"situacao_text","value":"text","display":"Situacao","deleted":null},{"name":"tipo_de_atividade_text","value":"text","display":"Tipo de atividade","deleted":null},{"name":"uf_text","value":"text","display":"uf","deleted":null},{"name":"unidade_de_medida_text","value":"text","display":"unidade_de_medida","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null},{"name":"valor_estimado_number","value":"number","display":"Valor estimado","deleted":null}],"ordemversiculo":[{"name":"number_number","value":"number","display":"NumBer","deleted":null}],"produto":[{"name":"nome_text","value":"text","display":"Nome","deleted":null},{"name":"processando_boolean","value":"boolean","display":"processando","default_val":false,"deleted":null},{"name":"quantidade_number","value":"number","display":"quantidade","deleted":null}],"range_supabase":[{"name":"max_number","value":"number","display":"Max","deleted":null},{"name":"min_number","value":"number","display":"Min","deleted":null}],"sdr":[{"name":"_voz_option__vozsdr","value":"option._vozsdr","display":"@Voz - deleted","deleted":true},{"name":"cargo_text","value":"text","display":"Cargo - deleted","deleted":true},{"name":"cargoclientes_text","value":"text","display":"CargoClientes - deleted","deleted":true},{"name":"configfinalizada_boolean","value":"boolean","display":"ConfigFinalizada 
349- deleted","default_val":false,"deleted":true},{"name":"descricao_text","value":"text","display":"descricao","deleted":null},{"name":"empresaid_number","value":"number","display":"empresaId","deleted":null},{"name":"etapasatendimento_text","value":"text","display":"EtapasAtendimento - deleted","deleted":true},{"name":"files_list_file","value":"list.file","display":"files","deleted":null},{"name":"focosetor_text","value":"text","display":"SetorDeFoco - deleted","deleted":true},{"name":"horario_fim_text","value":"text","display":"horario_fim","deleted":null},{"name":"horario_inicio_text","value":"text","display":"horario_inicio","deleted":null},{"name":"instancia_id_text","value":"text","display":"instancia_id","deleted":null},{"name":"nome_bot_text","value":"text","display":"nome_bot","deleted":null},{"name":"nome_empresa_text","value":"text","display":"nome_empresa","deleted":null},{"name":"nome_text","value":"text","display":"Nome - deleted","deleted":true},{"name":"objetivo_primario_text","value":"text","display":"objetivo_primario","deleted":null},{"name":"produtos_vendidos_text","value":"text","display":"produtos_vendidos","deleted":null},{"name":"produtosservicos_text","value":"text","display":"ProdutosServicos - deleted","deleted":true},{"name":"regras_text","value":"text","display":"Regras - deleted","deleted":true},{"name":"site_url_text","value":"text","display":"site_url","deleted":null},{"name":"stepe_number","value":"number","display":"Stepe - deleted","deleted":true},{"name":"tamanhoempresa_text","value":"text","display":"TamanhoEmpresa - deleted","deleted":true},{"name":"telefoneconectado_boolean","value":"boolean","display":"telefoneConectado","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null},{"name":"whatsapp_vendedor_text","value":"text","display":"whatsapp_vendedor","deleted":null},{"name":"x_api_key_text","value":"text","display":"X-API-Key","deleted":null}],"selecaolista":[{"name":"obras_list_custom_obra","value":"list.custom.obra","display":"obras","deleted":null}],"sociosempresa":[{"name":"empresa_custom_empresa","value":"custom.empresa","display":"Empresa","deleted":null},{"name":"nome_text","value":"text","display":"nome","deleted":null}],"tiporelacionamento":[{"name":"descricao_text","value":"text","display":"descricao","deleted":null},{"name":"number_number","value":"number","display":"Number","deleted":null}],"useraux":[{"name":"paginas_list_option__paginas","value":"list.option._paginas","display":"paginas","deleted":null},{"name":"perfil_option_perfil","value":"option.perfil","display":"perfil","deleted":null},{"name":"user_user","value":"user","display":"user","deleted":null}],"versiculos":[{"name":"ordem_number","value":"number","display":"Ordem","deleted":null},{"name":"ordematual_number","value":"number","display":"OrdemAtual","deleted":null},{"name":"texto_text","value":"text","display":"Texto","deleted":null}],"user":[{"name":"_status_option_statususuario","value":"option.statususuario","display":"@Status","default_val":"ativo","deleted":null},{"name":"acesso_sdr_boolean","value":"boolean","display":"acesso_sdr - deleted","default_val":false,"deleted":true},{"name":"acesso_sdr_option__acesso_sdr","value":"option._acesso_sdr","display":"acesso_sdr","default_val":"n_o","deleted":null},{"name":"address_list_geographic_address","value":"list.geographic_address","display":"address - deleted","deleted":true},{"name":"allcidades_boolean","value":"boolean","display":"AllCidades","default_val":false,"deleted":null},{"name":"arquivadosobras_list_api_apiconnector2_bTHdT1_bTKpv","value":"list.api.apiconnector2.bTHdT1.bTKpv","display":"ArquivadosObras - deleted","deleted":true},{"name":"bairro_text","value":"text","display":"Bairro","deleted":null},{"name":"cep_text","value":"text","display":"cep","deleted":null},{"name":"chat_custom_chatconectaplus","value":"custom.chatconectaplus","display":"chat - deleted","deleted":true},{"name":"chat_list_custom_chatconectaplus","value":"list.custom.chatconectaplus","display":"Chat","deleted":null},{"name":"cidade_text","value":"text","display":"Cidade","deleted":null},{"name":"cidades_list_custom_localizacao","value":"list.custom.localizacao","display":"ListCidades","deleted":null},{"name":"cidadespermitidas_list_text","value":"list.text","display":"CidadesPermitidas - deleted","deleted":true},{"name":"cno_list_number","value":"list.number","display":"Cno - deleted","deleted":true},{"name":"cno_number","value":"number","display":"cno - deleted","deleted":true},{"name":"cnpj_text","value":"text","display":"CPF ou CNPJ","deleted":null},{"name":"conexao_w_api_custom_conexao_wapi","value":"custom.conexao_wapi","display":"Conexao-w-api","deleted":null},{"name":"contato_text","value":"text","display":"Telefone","deleted":null},{"name":"custo_da_obra_date_range","value":"date_range","display":"Custo da Obra - deleted","deleted":true},{"name":"dashboard_custom_dashboard_data","value":"custom.dashboard_data","display":"Dashboard - deleted","deleted":true},{"name":"disparos_list_custom_disparo","value":"list.custom.disparo","display":"Disparos","deleted":null},{"name":"emailcontato_text","value":"text","display":"EmailContato","deleted":null},{"name":"empresas_list_custom_empresa","value":"list.custom.empresa","display":"Empresas","deleted":null},{"name":"endereco_text","value":"text","display":"endereco","deleted":null},{"name":"estado_option__estados0","value":"option._estados0","display":"Estado - deleted","deleted":true},{"name":"estado_text","value":"text","display":"Estado","deleted":false},{"name":"estadosnew_list_custom_estado","value":"list.custom.estado","display":"EstadosNew","deleted":null},{"name":"estadospermitidos_list_text","value":"list.text","display":"EstadosPermitidos - deleted","deleted":true},{"name":"favoritosobras_list_api_apiconnector2_bTHdT1_bTKpv","value":"list.api.apiconnector2.bTHdT1.bTKpv","display":"FavoritosObras - deleted","deleted":true},{"name":"franquia_custom_franquia","value":"custom.franquia","display":"Franquia","deleted":null},{"name":"indicadorescrm_list_custom_indicadorescrm","value":"list.custom.indicadorescrm","display":"IndicadoresCrm","deleted":null},{"name":"interacaoia_list_custom_interacoesagenteia","value":"list.custom.interacoesagenteia","display":"interacaoIA","deleted":null},{"name":"leads_list_custom_leads","value":"list.custom.leads","display":"Leads","deleted":null},{"name":"listaestado_list_text","value":"list.text","display":"ListaEstado","deleted":null},{"name":"listestado_list_custom_estado","value":"list.custom.estado","display":"ListEstado - deleted","deleted":true},{"name":"localizacaopermitida_custom_localizacaopermitida","value":"custom.localizacaopermitida","display":"LocalizacaoPermitida - deleted","deleted":true},{"name":"localizacoes_list_custom_localizacao","value":"list.custom.localizacao","display":"Localizacoes - deleted","deleted":true},{"name":"loja_custom_loja","value":"custom.loja","display":"Loja","deleted":null},{"name":"nome1_text","value":"text","display":"Nome completo","deleted":null},{"name":"nome_text","value":"text","display":"nome - deleted","default_val":"Samuel Messias","deleted":true},{"name":"obra_list_custom_obra","value":"list.custom.obra","display":"Obras","deleted":null},{"name":"obras_cau_list_custom_obras_cau","value":"list.custom.obras_cau","display":"Obras_cau","deleted":null},{"name":"obras_list_api_apiconnector2_bTHdT1_bTKpv","value":"list.api.apiconnector2.bTHdT1.bTKpv","display":"obras - deleted","deleted":true}
349,{"name":"ordematualversiculo_number","value":"number","display":"OrdemAtualVersiculo","deleted":null},{"name":"paginas_list_option__paginas","value":"list.option._paginas","display":"Paginas","deleted":null},{"name":"perfiluser_option_perfil","value":"option.perfil","display":"TipoUsuario","deleted":null},{"name":"pesquisarealizadas_number","value":"number","display":"PesquisaRealizadas","deleted":null},{"name":"pesquisasupabase_number","value":"number","display":"PesquisaSupabase","deleted":null},{"name":"pesquisazoox_number","value":"number","display":"pesquisaZooxCnpj","deleted":null},{"name":"pesquisazooxcpf_number","value":"number","display":"pesquisaZooxCPF","deleted":null},{"name":"primeiroacesso_boolean","value":"boolean","display":"primeiroAcesso","default_val":false,"deleted":null},{"name":"pts_consulta_extra_number","value":"number","display":"pts_consulta_extra","deleted":null},{"name":"qtdconsultazooxvendedor_number","value":"number","display":"QtdDistribuidaZoox","deleted":null},{"name":"qtdconsumozoox_number","value":"number","display":"QtdConsumoZoox","deleted":null},{"name":"qtdpesquisaph3a___basica_number","value":"number","display":"QtdPesquisaPh3a - basica","deleted":null},{"name":"qtdpesquisaph3a___detalhes_number","value":"number","display":"QtdPesquisaPh3a - detalhes","deleted":null},{"name":"quantidademensalzoox_number","value":"number","display":"QtdMensalZoox","deleted":null},{"name":"raz_o_social_text","value":"text","display":"RazaoSocial - deleted","deleted":true},{"name":"renovacaopontoszoox_date","value":"date","display":"RenovacaoPontosZoox","deleted":null},{"name":"sdr_custom_sdr","value":"custom.sdr","display":"SDR","deleted":null},{"name":"senhatemporaria_text","value":"text","display":"SenhaTemporaria","deleted":null},{"name":"sexo_text","value":"text","display":"Sexo - deleted","deleted":true},{"name":"status_option__drop","value":"option._drop","display":"status - deleted","deleted":true},{"name":"telefonesdr_text","value":"text","display":"TelefoneSdr","deleted":null},{"name":"tempassteste_text","value":"text","display":"temPassTeste","deleted":null},{"name":"text_text","value":"text","display":"text - deleted","default_val":"Categoriaobratestetestetesteteste","deleted":true},{"name":"useraux_custom_useraux","value":"custom.useraux","display":"userAux - deleted","deleted":true},{"name":"vistosobras_list_api_apiconnector2_bTHdT1_bTKpv","value":"list.api.apiconnector2.bTHdT1.bTKpv","display":"vistosObras - deleted","deleted":true}],"device":[{"display":"Type","value":"text","name":"device_type"},{"display":"Push notification token","value":"text","name":"push_notification_token"},{"display":"Current user","value":"user","name":"current_user"}],"iap_subscription_purchase":[{"display":"Original Purchase Identifier","value":"text","name":"original_purchase_identifier"},{"display":"Status","value":"text","name":"status"},{"display":"Is Active","value":"boolean","name":"is_active"},{"display":"User","value":"user","name":"user"},{"display":"Environment","value":"text","name":"environment"},{"display":"Store","value":"text","name":"store"},{"display":"Bubble Billing Variant","value":"iap_item.billing_variant","name":"bubble_variant_id"},{"display":"Store Product Identifier","value":"text","name":"store_subscription_id"},{"display":"Google Base Plan ID","value":"text","name":"google_base_plan_id"},{"display":"Google Latest Order ID","value":"text","name":"google_latest_order_id"},{"display":"Expiry or Renewal Date","value":"date","name":"expiry_or_renewal_date"},{"display":"Purchase Identifier","value":"text","name":"purchase_identifier"}]}
350window.preloaded['app/derived:{"function_name":"DefaultValues","args":[]}'] = true;
351
352    window._bubble_page_load_data.js_execution_timings.static_js_end_execution = Date.now();
353
354jQuery.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.