PageSourceSearch

https://wonderfulplugins.bubbleapps.io/package/static_js/8fbcc097f…/index/xnull/xfalse/xfalse/xfalse/static.js

js wonderfulplugins.bubbleapps.io collected 2026-10-03 08:25:28 UTC 493,756 bytes, 156 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/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
11// BUBBLE PATCH NOTES - offset() changed below, see comment
12"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
12deName&&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={}
12,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(){
13    var e=this[0];
14    // BUBBLE PATCH NOTES - offset() changed below, see comment in non-minified
15    if (!e) return {left:0, top:0};
16    return(!e||e.nodeType&&e.getBoundingClientRect)
17        ?I.apply(this,arguments)
18        :(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length
19            ?this
20            :({left:0,top:0}))},"offset-valid-elem"
21),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});
22
23window.preloaded['js/vendor:jquery-migrate-3.4.1.min.js'] = true;
24
25window.bubble_version = 17;
26window.preloaded['app/metadata:bubble_version'] = true;
27window._bubble_page_load_data.hardcoded_plugins = window._bubble_page_load_data.hardcoded_plugins || {};
28window._bubble_page_load_data.hardcoded_plugins['materialicons'] = true;
29window.__code__ = window.__code__ || {};
30if(!window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']){window.__code__['43fcf961fef273a0bb0d8a2f2fe7b3e8e9be71bf091c7fda5a26de690b11ffce']=1;
31
32"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 32
32orts:{}}).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 32
32K_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 32
32)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 32
32if(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)}}}
32var 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}
32=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);})();
33/*! Bundled license information:
34
35buffer/index.js:
36  (*!
37   * The buffer module from node.js, for the browser.
38   *
39   * @author   Feross Aboukhadijeh <https://feross.org>
40   * @license  MIT
41   *)
42*/
43
44}
45
46
47window.preloaded['plugin/first_party:materialicons'] = true;
48window._bubble_page_load_data.hardcoded_plugins['apple'] = true;
49window.__code__ = window.__code__ || {};
50if(!window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']){window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']=1;
51
52"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 52
52orts:{}}).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 52
52K_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 52
52)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 52
52if(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)}}}
52var 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}
52is_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);})();
53/*! Bundled license information:
54
55buffer/index.js:
56  (*!
57   * The buffer module from node.js, for the browser.
58   *
59   * @author   Feross Aboukhadijeh <https://feross.org>
60   * @license  MIT
61   *)
62*/
63
64}
65
66
67window.preloaded['plugin/first_party:apple'] = true;
68window.plugins = window.plugins || {};
69window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {};
70window.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
70) + \"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
70) + \"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
70) + \"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
70puts","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}}}}};
71window._bubble_page_load_data.plugins_size['1488796042609x768734193128308700'] = 22168;
72window.preloaded['plugin/third_party:1488796042609x768734193128308700:2.1.3'] = true;
73window.plugins["1497473108162x748255442121523200"] = {"human":"Air Copy to clipboard","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Air copy to clipboard","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAa":{"caption":"Target element ID attribute","name":"target_id","editor":"DynamicValue","rank":2,"value":"text","optional":true},"AAb":{"caption":"Action type","name":"action_type","editor":"Dropdown","rank":3,"default_val":"copy"},"AAd":{"caption":"Trigger element ID","name":"trigger_id","rank":4,"editor":"DynamicValue","value":"text"},"AAo":{"caption":"Text to copy","name":"text","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Use ID Attribute","name":"use_id_attribute","rank":1,"editor":"Checkbox","default_val":false},"AAt":{"caption":"Copy HTML","name":"copy_html","rank":5,"editor":"Checkbox","default_val":false}},"actions":{"AAl":{"caption":"Paste from clipboard","code":{"fn":"function(instance, properties, context) {\n\n\n  \tlet elem = document.getElementById(properties.elem_id);\n    if ( elem.nodeName === 'INPUT' ){\n        \n       try{\n           navigator.clipboard.readText().then(clipText => {\n            elem.value = clipText;\n            $(elem).change();\n           });\n       } catch (err) {\n           if (typeof navigator.clipboard.readText !== 'function'){\n               context.reportDebugger('No access to clipboard. Reason: Firefox and internet explorer browsers do not support pasting from clipboard');\n           } else {\n               context.reportDebugger('No access to clipboard. Reason: ' + err.message);\n           }\n           \n       } \n        \n        \n    } else {\n        console.warn(`Air Copy to clipboard: paste from clipboard is allowed only in input element.`);\n    }\n\n\n}"},"fields":{"AAm":{"caption":"Element ID","name":"elem_id","rank":0,"editor":"StaticText"}}}},"code":{"initialize":{"fn":"function(instance, context) {\n  \n\t \n}"},"update":{"fn":"function(instance, properties, context) {\n\n\n  var target = properties.target_id;\n  var trigger = properties.trigger_id;\n  \n  $(document).ready(function(){\n      $(`#${trigger}`).on('click', function(){\n        \n        let type = properties.action_type;\n        if ( properties.use_id_attribute ){debugger;\n            let element = document.getElementById(target);\n            if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n\n                let inpVal = element.value;\n                navigator.clipboard.writeText(inpVal).then(r => {\n                    if (type === 'cut') {\n                        element.value = '';\n                    }\n                });\n\n            } else {\n\t\t\t\t\n                let divTxt = element.innerText;\n                if (properties.copy_html){\n                    divTxt = element.innerHTML;\n\t\t\t\t}\n                navigator.clipboard.writeText(divTxt).then(r => {\n                    if (type === 'cut') {\n                        console.warn(`Air Copy to clipboard: Can't cut from static element`);\n                    }\n\n                });\n\n            }\n\n        } else {\n\n            let text = properties.text;\n            navigator.clipboard.writeText(text).then(r => {\n                if (type === 'cut') {\n                    console.warn(`Air Copy to clipboard: Can't cut from static element`);\n                }\n\n            });\n\n        }\n        \n    });\n  });\n}"}},"platform_type":"web"}},"plugin_actions":{"AAU":{"display":"Copy to clipboard from static text","type":"client_side","fields":{"AAg":{"caption":"Text to copy","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"}},"code":{"client":{"fn":"function(properties, context) {\n    \n    \tlet divTxt = properties.element_id;\n        navigator.clipboard.writeText(divTxt).then(r => {console.log('Text copied')});\n    \n}","add_debugger":false}}},"AAq":{"display":"Copy to clipboard from element","type":"client_side","fields":{"AAr":{"caption":"Delay ( Seconds )","name":"delay","rank":0,"editor":"StaticNumber","default_val":1},"AAs":{"caption":"Element ID","name":"element_id","rank":1,"editor":"DynamicValue","value":"text"},"AAu":{"caption":"Copy HTML","name":"copy_html","rank":2,"editor":"Checkbox","default_val":false}},"code":{"client":{"fn":"function(properties, context) {\n\tlet pause = 1000;\n    if (properties.delay > 1) pause = properties.delay * 1000;\n    \n    \n    function copyToClip(element_id){\n        \n        let element = document.getElementById(element_id);\n            if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n\n                let inpVal = element.value;\n                navigator.clipboard.writeText(inpVal).then(r => {\n                    console.log('Air Copy to clipboard: Text copied');\n                });\n\n            } else {\n\n                let divTxt = element.innerText;\n                if (properties.copy_html){\n                    divTxt = element.innerHTML;\n                }\n                navigator.clipboard.writeText(divTxt).then(r => {\n                    console.log('Air Copy to clipboard: Text copied');\n                });\n\n            }\n    }\n    \n    //copyToClip(properties.element_id);\n    setTimeout(copyToClip, pause, properties.element_id);\n}"}}},"ABC":{"display":"Copy element","type":"client_side","fields":{"ABD":{"caption":"Target ID","name":"target_id","rank":0,"editor":"StaticText"},"ABE":{"caption":"This action uses deprecated method. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. ","name":"this_action_use_deprecated_method._though_some_browsers_might_still_support_it,_it_may_have_already_been_removed_from_the_relevant_web_standards,_may_be_in_the_process_of_being_dropped,_or_may_only_be_kept_for_c
73ompatibility_purposes._","rank":1,"editor":"Label"},"ABF":{"caption":"Be aware that this feature may cease to work at any time.","name":"be_aware_that_this_feature_may_cease_to_work_at_any_time.","rank":2,"editor":"Label"},"ABG":{"caption":"This action can copy the entire content of an item while preserving the formatting.","name":"this_action_can_copy_the_entire_content_of_an_item_while_preserving_the_formatting.","rank":3,"editor":"Label"}},"code":{"client":{"fn":"function(properties, context) {\n\t\n  if (document.getElementById(properties.target_id)){\n      var element = document.getElementById(properties.target_id);\n      var range = document.createRange();\n      var selection = window.getSelection();\n      range.selectNodeContents(element);\n      selection.removeAllRanges();\n      selection.addRange(range);\n      document.execCommand('copy');\n      range.collapse();\n  }\n}"}}}}};
74window._bubble_page_load_data.plugins_size['1497473108162x748255442121523200'] = 7011;
75window.preloaded['plugin/third_party:1497473108162x748255442121523200:2.14.0'] = true;
76window.plugins["1498952719168x889602776416649200"] = {"human":"Air Color Picker","dependencies":{"use_jquery":true,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Air Color picker","property_applications":{"resizable":false,"MinWidth":true,"Background":false,"Border":false,"BoxShadow":false},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"text","has_reset_fn":true,"fields":{"AAD":{"caption":"Initial color","name":"initial_color","editor":"Color","rank":0,"value":"text","default_val":"rgba(51, 51, 51, 1)","optional":false},"AAE":{"caption":"Show input","name":"show_input","editor":"Checkbox","rank":1,"default_val":false},"AAF":{"caption":"Show transparency slider","name":"show_alpha","editor":"Checkbox","rank":2,"default_val":true},"AAG":{"caption":"Disabled","name":"disabled","editor":"Checkbox","rank":3,"default_val":false},"AAH":{"caption":"Show palette","name":"show_palette","editor":"Checkbox","rank":4,"default_val":false},"AAI":{"caption":"Palette colors (list of color strings)","name":"palette_colors","editor":"DynamicValue","rank":7,"value":"text","is_list":true,"optional":true},"AAJ":{"caption":"Show palette only","name":"palette_only","editor":"Checkbox","rank":5,"default_val":false},"AAK":{"caption":"Toggle palette only","name":"toggle_palette_only","editor":"Checkbox","rank":6,"default_val":false},"AAL":{"caption":"Show selection palette","name":"show_selection_palette","editor":"Checkbox","rank":8,"default_val":false},"AAM":{"caption":"Max selection size","name":"max_selection_size","editor":"DynamicValue","rank":9,"value":"number","optional":true,"default_val":24},"AAN":{"caption":"Hide after palette select","name":"hide_after_select","editor":"Checkbox","rank":10,"default_val":true},"AAO":{"caption":"Clickout will accept color","name":"clickout_fires_change","editor":"Checkbox","rank":11,"default_val":true},"AAP":{"caption":"Show previous color","name":"show_previous_color","editor":"Checkbox","rank":12,"default_val":false},"AAQ":{"caption":"Show buttons","name":"show_buttons","editor":"Checkbox","rank":13,"default_val":true},"AAV":{"caption":"Format","name":"preferred_format","editor":"Dropdown","rank":14,"default_val":"hex","optional":false},"AAW":{"caption":"Toggle palette more text","name":"togglepalettemoretext","editor":"StaticText","rank":15,"optional":true,"default_val":"more"},"AAX":{"caption":"Toggle palette less text","name":"togglepalettelesstext","editor":"StaticText","rank":16,"optional":true,"default_val":"less"},"AAZ":{"caption":"Cancel button text","name":"cancel_text","editor":"StaticText","rank":17,"default_val":"cancel","optional":true},"AAa":{"caption":"Choose button text","name":"choose_text","editor":"StaticText","rank":18,"default_val":"select","optional":true},"AAb":{"caption":"Background color","name":"background_color","editor":"Color","rank":19,"default_val":"rgba(238, 238, 238, 1)"},"AAc":{"caption":"Border color","name":"border_color","editor":"Color","rank":20,"default_val":"rgba(158, 158, 158, 1)"},"AAe":{"caption":"Corner roundness","name":"border_radius","editor":"Dropdown","rank":21,"default_val":"2","optional":true},"AAf":{"caption":"Allow empty color","name":"allow_empty","rank":22,"editor":"Checkbox","default_val":false}},"states":{"AAT":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":"function(properties, context) {\n  properties.initial_color;\n}"}}},"events":{"AAU":{"caption":"color changed","name":"color_changed"}},"actions":{"AAk":{"caption":"Reset picker","code":{"fn":"function(instance, properties, context) {\n     let color = instance.data.colorTest; \n    \n    $('.' + instance.data.id).spectrum(\"set\", color);\n    instance.publishState('value', color);\n  \n   \n}"}}},"code":{"initialize":{"fn":"function(instance, context) {\n  var classid = \"picker\"+(Math.random() * Math.pow(2, 54)).toString(18);\n  var div;\n  div = $('<input type=\"text\" class=\"'+classid+'\"/>');\n  div.css(\"width\", \"100%\");\n  div.css(\"height\", \"100%\");\n  //div.css(\"cursor\", \"pointer\");\n  instance.canvas.append(div);\n  //storing the div on the instance to use it in update\n  instance.data.div = div;\n  instance.data.id = classid;\n\n}"},"update":{"fn":"function(instance, properties, context) {\n    instance.data.colorTest = properties.initial_color ; \n  var palletColors;\n  if(properties.palette_colors != null){\n      palletColors = properties.palette_colors.get(0,99);\n  }  \n  $(document).ready(function(){\n    \n    var initcolor = properties.initial_color;\n      \n    if ( properties.autobinding ){\n    \tinitcolor = properties.autobinding;\n    }\n    \n    if ( initcolor === null || initcolor === undefined){\n        initcolor = '#000000';\n    }\n    \n      \n    var defaultPallet = [[\"#ffffff\", \"#bdc3c7\", \"#f1c40f\", \"#f39c12\", \"#e74c3c\", \"#1abc9c\", \"#17d9fd\", \"#0000ff\", \"#2980b9\", \"#9b59b6\",\"#000000\" ]];\n    var classid = instance.data.id;\n    var style_id = classid+'style';\n    var picker = $('.'+classid);\n    classid = instance.data.id;\n    var bg_color = properties.background_color;\n    var border_color = properties.border_color;\n    var border_radius = properties.border_radius;\n\n    instance.publishState('value', initcolor);\n\n    $('<style>.'+style_id+' { background-color: '+ bg_color+'; border-color: '+border_color+'; border-radius: '+border_radius+'px;} </style>').appendTo('head'); \n\n    picker.spectrum({\n      color: initcolor,\n      showInput: properties.show_input,\n      showInitial: properties.show_previous_color,\n      allowEmpty: properties.allow_empty,\n      showAlpha: properties.show_alpha,\n      disabled: properties.disabled,\n      localStorageKey: \"aircolorpicker.bubble\",\n      showPalette: properties.show_palette,\n      showPaletteOnly: properties.palette_only,\n      togglePaletteOnly: properties.toggle_palette_only,\n      showSelectionPalette: properties.show_selection_palette,\n      clickoutFiresChange: properties.clickout_fires_change,\n      cancelText: properties.cancel_text,\n      chooseText: properties.choose_text,\n      togglePaletteMoreText: properties.togglepalettemoretext,\n      togglePaletteLessText: properties.togglepalettelesstext,\n      //containerClassName: 'sp-dark',\n      replacerClassName: style_id,\n      preferredFormat: properties.preferred_format,\n      maxSelectionSize: properties.max_selection_size,\n      palette: (palletColors != null)? palletColors: defaultPallet,\n      hideAfterPaletteSelect: properties.hide_after_select,\n      showButtons: properties.show_buttons,\n      //events\n      change: function(color) {\n          if(color !== null){\n            instance.publishState('value', color.toString() );\n           \n          }\n          else{\n            instance.publishState('value', null );\n          }\n          \n          instance.publishAutobinding( (color !== null) ? color.toString() : null );\n          \n          instance.triggerEvent('color_changed', function() {});\n      },\n      show: (color) => {\n          $('.sp-container').each((i,e) => {\n              if (e.className.indexOf('sp-hidden') === -1){\n                  e.style.filter = \"unset\";\n              }\n          })\n      }\n    }); \n      \n  \n  }) //end of document ready\n  \n}"}
76,"reset":{"fn":"function(instance, context) {\n   \n}"}},"platform_type":"web"}}};
77window._bubble_page_load_data.plugins_size['1498952719168x889602776416649200'] = 7391;
78window.preloaded['plugin/third_party:1498952719168x889602776416649200:1.6.0'] = true;
79window.plugins["1515787032525x876315403042684900"] = {"human":"AirAlert","dependencies":{"use_jquery":true},"shared_keys":{"ACS":{"caption":"BgColor - Success","type":"client_safe"},"ACT":{"caption":"BgColor - Info","type":"client_safe"},"ACU":{"caption":"BgColor - Warning","type":"client_safe"},"ACV":{"caption":"BgColor - Error","type":"client_safe"},"ACW":{"caption":"TextColor - Success","type":"client_safe"},"ACX":{"caption":"TextColor - Info","type":"client_safe"},"ACY":{"caption":"TextColor - Warning","type":"client_safe"},"ACZ":{"caption":"TextColor - Error","type":"client_safe"},"ACa":{"caption":"Default Duration","type":"client_safe"}},"plugin_actions":{"ABu":{"display":"AirAlert - Custom","type":"client_side","fields":{"ABv":{"caption":"Heading","name":"heading","editor":"DynamicValue","rank":1,"value":"text","default_val":"Title"},"ABw":{"caption":"Message","name":"text","editor":"DynamicValue","rank":2,"value":"text","default_val":"Content goes here..."},"ABx":{"caption":"Show close button","name":"closeButton","editor":"Checkbox","rank":5,"default_val":true},"ABy":{"caption":"Position on page","name":"position","editor":"Dropdown","rank":6,"default_val":"Top Right"},"ABz":{"caption":"Hide after (ms)","name":"hideAfter","editor":"DynamicValue","rank":7,"value":"number","default_val":5000},"ACC":{"caption":"Display progress bar","name":"progressBar","editor":"Checkbox","rank":11,"default_val":false},"ACL":{"caption":"Icon to display","name":"icon","editor":"Dropdown","rank":3,"default_val":"None"},"ACM":{"caption":"Animation","name":"animation","editor":"Dropdown","rank":4,"default_val":"Plain"},"ACN":{"caption":"Max notifications at once","name":"maxNumber","editor":"StaticNumber","rank":12,"value":"number","default_val":5},"ACO":{"caption":"Progress bar color","name":"progressBarColor","editor":"DynamicValue","rank":10,"value":"text","default_val":"#9EC600"},"ACP":{"caption":"Text alignment","name":"textAlign","editor":"Dropdown","rank":13,"default_val":"Left"},"ACQ":{"caption":"Background color","name":"bgColor","editor":"DynamicValue","rank":8,"value":"text","default_val":"#FF1356"},"ACR":{"caption":"Text color","name":"textColor","editor":"DynamicValue","rank":9,"value":"text","default_val":"#FFFFFF"},"ACg":{"caption":"The Heading and Message fields will also accept valid HTML styling","name":"heading_and_message_also_accept_html_styling","editor":"Label","rank":0},"ACj":{"caption":"XSS Protection","name":"xss_protection","rank":14,"editor":"DynamicValue","value":"boolean","default_val":true}},"code":{"client":{"fn":"function(properties, context) {\n  \n  var positionMapping = {\n    \"Top Right\":\"top-right\",\n    \"Bottom Right\":\"bottom-right\",\n    \"Bottom Left\":\"bottom-left\",\n    \"Top Left\":\"top-left\",\n    \"Top Center\":\"top-center\",\n    \"Bottom Center\":\"bottom-center\"\n    };\n  var animationMapping = {\n    \"Fade\":\"fade\",\n    \"Slide\":\"slide\",\n    \"Plain\":\"plain\",\n  };\n  var iconMapping = {\n    \"Warning\":\"warning\",\n    \"Success\":\"success\",\n    \"Error\":\"error\",\n    \"Information\":\"info\"\n  };\n  var textAlignMapping = {\n    \"Left\":\"left\",\n    \"Center\":\"center\",\n    \"Right\":\"right\",\n  };\n  var settings = {};\n    \n  /*if (properties.xss_protection &&  typeof filterXSS === \"undefined\")\n      $.getScript(\"https://d2tf8y1b8kxrzw.cloudfront.net/serve_files/xss/xss.min.js\").then(() => {\n          showAlert();\n      });\n  else*/\n    showAlert();\n    \n    function showAlert() {\n  \n        if (properties.xss_protection) {\n          addToSettings('heading',filterXSS(properties.heading));\n          addToSettings('text',filterXSS(properties.text));\n        }\n        else \n          addToSettings('heading',properties.heading);\n          addToSettings('text',properties.text);\n      addToSettings('icon',iconMapping[properties.icon]);\n      addToSettings('showHideTransition',animationMapping[properties.animation]);\n      addToSettings('allowToastClose',properties.closeButton);\n      addToSettings('position',positionMapping[properties.position]);\n      addToSettings('hideAfter',properties.hideAfter);\n      addToSettings('stack',properties.maxNumber);\n      addToSettings('loader',properties.progressBar);\n      addToSettings('loaderBg',properties.progressBarColor);\n      addToSettings('textAlign',textAlignMapping[properties.textAlign]);\n      addToSettings('bgColor',properties.bgColor);\n      addToSettings('textColor',properties.textColor);
79\n\n\n      $(document).ready($.toast(settings));\n        \n    }\n  \n  function addToSettings(keyname,value) {\n    if ((value!==undefined)&&(value!==null)) settings[keyname] = value;\n  }\n  \n}"}}},"ACb":{"display":"AirAlert - Standard","type":"client_side","fields":{"ACc":{"caption":"Notification type","name":"type","editor":"Dropdown","rank":3,"default_val":"Success"},"ACd":{"caption":"Heading","name":"heading","editor":"DynamicValue","rank":1,"value":"text","default_val":"Title"},"ACe":{"caption":"Message","name":"text","editor":"DynamicValue","rank":2,"value":"text","default_val":"Content goes here..."},"ACh":{"caption":"The Heading and Message fields will also accept valid HTML styling","name":"heading_and_message_also_accept_html_styling","editor":"Label","rank":0},"ACi":{"caption":"XSS Protection","name":"xss_protection","rank":5,"editor":"DynamicValue","value":"boolean","default_val":true},"ACk":{"caption":"Position on page","name":"position","rank":4,"editor":"Dropdown","default_val":"Top Right"}},"code":{"client":{"fn":"function(properties, context) {\n  \n  //console.log(properties.type);\n  var genericDefaults = {\n    showHideTransition: 'plain',\n    allowToastClose: true,\n    position: 'top-right',\n    stack: 5,\n    loader: false,\n    textAlign: 'left'\n  }\n  \n  var themeDefaults = {\n    Success: {\n      bgColor: context.keys['BgColor - Success'] || '#E7FBEF',\n      textColor: context.keys['TextColor - Success'] || '#38ab69',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    },\n    Information: {\n      bgColor: context.keys['BgColor - Info'] || '#ebeced' ,\n      textColor: context.keys['TextColor - Info'] || '#333333',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    },\n    Warning: {\n      bgColor: context.keys['BgColor - Warning'] || '#FEF6E6',\n      textColor: context.keys['TextColor - Warning'] || '#e89320',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    },\n    Error: {\n      bgColor: context.keys['BgColor - Error'] || '#FBECEC',\n      textColor: context.keys['TextColor - Error'] || '#E9403F',\n      hideAfter: Number(context.keys['Default Duration']) || 5000\n    }\n  }\n  \n  //console.log(themeDefaults[properties.type]);\n  \n  var positionMapping = {\n    \"Top Right\":\"top-right\",\n    \"Bottom Right\":\"bottom-right\",\n    \"Bottom Left\":\"bottom-left\",\n    \"Top Left\":\"top-left\",\n    \"Top Center\":\"top-center\",\n    \"Bottom Center\":\"bottom-center\"\n    };\n  var animationMapping = {\n    \"Fade\":\"fade\",\n    \"Slide\":\"slide\",\n    \"Plain\":\"plain\",\n  };\n  var iconMapping = {\n    \"Warning\":\"warning\",\n    \"Success\":\"success\",\n    \"Error\":\"error\",\n    \"Information\":\"info\"\n  };\n  var textAlignMapping = {\n    \"Left\":\"left\",\n    \"Center\":\"center\",\n    \"Right\":\"right\",\n  };\n  \n  var settings = $.extend({},genericDefaults,themeDefaults[properties.type]);\n    \n  /*if (properties.xss_protection && typeof filterXSS === \"undefined\")\n      $.getScript(\"https://d2tf8y1b8kxrzw.cloudfront.net/serve_files/xss/xss.min.js\").then(() => {\n          showAlert();\n      });\n  else*/\n    showAlert();\n  \n  function showAlert() {\n      \n      // Set the position of the alert\n      addToSettings('position',positionMapping[properties.position]);\n      \n      //console.log(settings);\n      if ((properties.heading!==undefined)&&(properties.heading!==null)) {\n          if (properties.xss_protection)\n            addToSettings('heading',\"<div style='padding: 6px 6px 0px';><style>h2{ font-family: 'Inter', sans-serif; !important };</style><b><h2 style='font-size:16px'>\" + filterXSS(properties.heading) + \"</h2></b></div>\");\n          else\n            addToSettings('heading',\"<div style='padding: 6px 6px 0px';><style>h2{ font-family: 'Inter', sans-serif; !important };</style><b><h2 style='font-size:16px'>\" + properties.heading + \"</h2></b></div>\");\n      }\n      if ((properties.text!==undefined)&&(properties.text!==null)) {\n          if (properties.xss_protection)\n            addToSettings('text',\"<div style='padding: 0px 6px 6px';><style>p{ font-family: 'Inter', sans-serif; font-weight: 500; line-height:20px}</style><p style='font-size:14px';>\" + filterXSS(properties.text) + \"</p></div>\");\n          else\n            addToSettings('text',\"<div style='padding: 0px 6px 6px';><style>p{ font-family: 'Inter', sans-serif; font-weight: 500; line-height:20px}</style><p style='font-size:14px';>\" + properties.text + \"</p></div>\");\n      }\n    //  addToSettings('icon',iconMapping[properties.type]);
79\n\n      $(document).ready($.toast(settings));\n      \n  }\n  \n  function addToSettings(keyname,value) {\n    if ((value!==undefined)&&(value!==null)) settings[keyname] = value;\n  }\n  \n}"}}},"ACf":{"display":"AirAlert - Clear all","type":"client_side","code":{"client":{"fn":"function(properties, context) {\n\n\n  //Load any data \n  $.toast().reset('all');\n\n\n\n  //Do the operation\n\n\n\n}"}}}}};
80window._bubble_page_load_data.plugins_size['1515787032525x876315403042684900'] = 9548;
81window.preloaded['plugin/third_party:1515787032525x876315403042684900:2.1.0'] = true;
82window.plugins["1529535510382x166541069778419700"] = {"human":"myAlerts!","dependencies":{"use_jquery":true},"plugin_elements":{"AAE":{"display":"Question","property_applications":{"Font":false},"add_is_visible":true,"fields":{"ACI":{"caption":"Corner radius top left","default_val":3,"editor":"StaticNumber","name":"borderRadiusTopLeft","rank":0,"value":"number"},"ACJ":{"caption":"Corner radius top right","default_val":3,"editor":"StaticNumber","name":"borderRadiusTopRight","rank":1},"ACK":{"caption":"Corner radius bottom left","default_val":3,"editor":"StaticNumber","name":"borderRadiusBottomLeft","rank":2},"ACL":{"caption":"Corner radius bottom right","default_val":3,"editor":"StaticNumber","name":"borderRadiusBottomRight","rank":3}},"states":{"AAF":{"caption":"Answer","initialization_code":{"fn":"function(properties,context){return\"waiting\"}"},"name":"answer","value":"text"}},"actions":{"AAG":{"caption":"Toast","fields":{"AAH":{"caption":"Title","default_val":"My title","editor":"DynamicValue","name":"title","rank":0,"value":"text"},"AAI":{"caption":"Message","default_val":"My message","editor":"DynamicValue","name":"message","rank":1,"value":"text"},"AAJ":{"caption":"Timeout","default_val":5000,"editor":"DynamicValue","name":"timeout","rank":15,"value":"number"},"AAK":{"caption":"Balloon form","default_val":false,"editor":"Checkbox","name":"balloon","rank":18},"AAL":{"caption":"Close button","default_val":true,"editor":"Checkbox","name":"close","rank":29},"AAM":{"caption":"Close using esc","default_val":false,"editor":"Checkbox","name":"close_escape","rank":30},"AAN":{"caption":"Close when pressed","default_val":false,"editor":"Checkbox","name":"close_click","rank":31},"AAO":{"caption":"Position","default_val":"Top Right","editor":"Dropdown","name":"position","rank":12},"AAP":{"caption":"Target","editor":"DynamicValue","name":"target","optional":true,"rank":13,"value":"text"},"AAQ":{"caption":"Toast position","default_val":true,"editor":"Checkbox","name":"target_first","rank":14},"AAR":{"caption":"Animate inside","default_val":true,"editor":"Checkbox","name":"animate_inside","rank":22},"AAS":{"caption":"Swipe to close","default_val":true,"editor":"Checkbox","name":"drag_close","rank":32},"AAT":{"caption":"Pause on hover","default_val":true,"editor":"Checkbox","name":"pause","rank":23},"AAU":{"caption":"Restart on hover","default_val":false,"editor":"Checkbox","name":"restart","rank":24},"AAV":{"caption":"Progress bar","default_val":true,"editor":"Checkbox","name":"progressbar","rank":16},"AAW":{"caption":"Progress bar color","default_val":"rgba(115, 144, 158, 1)","editor":"Color","name":"progressbarcolor","optional":true,"rank":17},"AAX":{"caption":"Animation In","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in","rank":25},"AAY":{"caption":"Animation Out","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out","rank":26},"AAZ":{"caption":"Animation In Mobile","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in_mobile","rank":27},"AAa":{"caption":"Animation Out Mobile","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out_mobile","rank":28},"AAb":{"caption":"Button 1 text","default_val":"Yes","editor":"DynamicValue","name":"button1_text","rank":33,"value":"text"},"AAc":{"caption":"Button 2 text","default_val":"No","editor":"DynamicValue","name":"button2_text","rank":34,"value":"text"},"AAm":{"caption":"Answer 1","default_val":"yes","editor":"DynamicValue","name":"answer_1","rank":35,"value":"text"},"AAn":{"caption":"Answer 2","default_val":"no","editor":"DynamicValue","name":"answer_2","rank":36,"value":"text"},"ABd":{"caption":"Title Color","editor":"Color","name":"title_color","optional":true,"rank":2},"ABe":{"caption":"Title Size","editor":"DynamicValue","name":"title_size","optional":true,"rank":3,"value":"number"},"ABf":{"caption":"Message Color","editor":"Color","name":"message_color","optional":true,"rank":4},"ABg":{"caption":"Message Size","editor":"DynamicValue","name":"message_size","optional":true,"rank":5,"value":"number"}
82,"ABh":{"caption":"Background Color","editor":"Color","name":"background_color","optional":true,"rank":7},"ABi":{"caption":"Dark Theme","default_val":false,"editor":"Checkbox","name":"theme","rank":21},"ABj":{"caption":"Icon","editor":"DynamicValue","name":"icon","optional":true,"rank":10,"value":"text"},"ABk":{"caption":"Icon Color","editor":"Color","name":"icon_color","optional":true,"rank":11},"ABl":{"caption":"Image","editor":"DynamicValue","name":"image","optional":true,"rank":8,"value":"image"},"ABm":{"caption":"Image Width","default_val":50,"editor":"DynamicValue","name":"image_width","optional":true,"rank":9,"value":"number"},"ABn":{"caption":"Big Layout","default_val":false,"editor":"Checkbox","name":"layout","rank":19},"ABo":{"caption":"RTL Toast Direction","default_val":false,"editor":"Checkbox","name":"rtl","rank":20},"ACH":{"caption":"Max width toast","editor":"DynamicValue","name":"max_width","optional":true,"rank":6,"value":"number"}},"code":{"fn":"function(instance,properties,context){function _0x335b(_0xf1c738,_0xf69a4d){const _0x1e254d=_0x1e25();return(_0x335b=function(_0x335ba0,_0x139176){let _0xfca378;return _0x1e254d[_0x335ba0-=241]})(_0xf1c738,_0xf69a4d)}function _0x1e25(){const _0x43e15d=[\"close_click\",\"closest\",\"316712oGePYR\",\"3700835DiojPq\",\"target\",\"theme\",\"restart\",\"title\",\"linear\",\"animation_out_mobile\",\"background_color\",\"icon\",\"css\",\".iziToast-wrapper\",\"answer_2\",\"</b></button>\",\"message\",\"title_color\",\"3261XZtiSU\",\"message_size\",\"progressbarcolor\",\"image_width\",\"713jgDSFv\",\"button1_text\",\"animation_in\",\".blurNone\",\"position\",\"title_size\",\"3280986qufjLW\",\"progressbar\",\"fadeOut\",\"1492woGOxp\",\"21230220CVlYGy\",\"message_color\",\"target_first\",\"fadeOutUp\",\"fadeOutDown\",\"bounceInDown\",\"animation_out\",\"drag_close\",\"fadeIn\",\"hide\",\"layout\",\"fadeOutRight\",\"answer_1\",\"2624WaGFcY\",\"fadeInRight\",\"button2_text\",\"<button><b>\",\"topRight\",\"fadeInDown\",\"flipInX\",\"blurNone\",\"rtl\",\"button\",\"bounceInLeft\",\"publishState\",\"close\",\"max_width\",\"timeout\",\"ready\",\"bottomRight\",\"question\",\"center\",\"none\",\"49CiNIJS\",\"bounceInRight\",\"answer\",\"799356VOozfO\",\"balloon\"];return(_0x1e25=function(){return _0x43e15d})()}function run(_0x1f662a,_0xc53720,_0x6b0ac9){const _0x18c908=_0x335b;_0x1f662a[_0x18c908(279)](\"answer\",\"\"),$(document)[_0x18c908(283)]((function(){const _0x5166e7=_0x18c908,_0x22dcf7={\"Top Right\":_0x5166e7(272),\"Top Center\":\"topCenter\",\"Top Left\":\"topLeft\",Center:_0x5166e7(286),\"Bottom Right\":_0x5166e7(284),\"Bottom Center\":\"bottomCenter\",\"Bottom Left\":\"bottomLeft\"},_0xf36134={\"bounceIn left\":_0x5166e7(278),\"bounceIn right\":_0x5166e7(289),\"bounceIn up\":\"bounceInUp\",\"bounceIn down\":_0x5166e7(260),fadeIn:_0x5166e7(263),\"fadeIn down\":_0x5166e7(273),\"fadeIn up\":\"fadeInUp\",\"fadeIn left\":\"fadeInLeft\",\"fadeIn right\":_0x5166e7(269),flipInX:_0x5166e7(274)},_0x3ad48e={fadeOut:\"fadeOut\",\"fadeOut down\":_0x5166e7(259),\"fadeOut up\":_0x5166e7(258),\"fadeOut left\":\"fadeOutLeft\",\"fadeOut right\":_0x5166e7(266),flipOutX:\"flipOutX\"};function _0x1ca394(){const _0x211186=_0x5166e7;_0x1f662a[_0x211186(279)](_0x211186(290),_0xc53720[_0x211186(267)])}function _0x11aaf3(){const _0x3cdc62=_0x5166e7;_0x1f662a[_0x3cdc62(279)](\"answer\",_0xc53720[_0x3cdc62(307)])}iziToast[_0x5166e7(285)]({class:_0x5166e7(275),title:_0xc53720[_0x5166e7(300)],titleColor:_0xc53720[_0x5166e7(310)],titleSize:_0xc53720[_0x5166e7(250)],titleLineHeight:_0xc53720[_0x5166e7(250)],message:_0xc53720[_0x5166e7(309)],messageColor:_0xc53720[_0x5166e7(256)],messageSize:_0xc53720[_0x5166e7(242)],messageLineHeight:_0xc53720.message_size,maxWidth:_0xc53720[_0x5166e7(281)],backgroundColor:_0xc53720[_0x5166e7(303)],color:_0xc53720.background_color,theme:_0xc53720[_0x5166e7(298)]?\"dark\":\"light\",icon:_0xc53720[_0x5166e7(304)],iconColor:_0xc53720.icon_color,layout:_0xc53720[_0x5166e7(265)]?2:1,rtl:_0xc53720[_0x5166e7(276)],image:_0xc53720.image,imageWidth:_0xc53720[_0x5166e7(244)],balloon:_0xc53720[_0x5166e7(292)],close:_0xc53720[_0x5166e7(280)],closeOnEscape:_0xc53720.close_escape,closeOnClick:_0xc53720[_0x5166e7(293)],position:_0x22dcf7[_0xc53720[_0x5166e7(249)]],target:_0xc53720.target?\"#\"+_0xc53720[_0x5166e7(297)]:\"\",targetFirst:_0xc53720[_0x5166e7(257)],timeout:_0xc53720[_0x5166e7(282)],animateInside:_0xc53720.animate_inside,drag:_0xc53720[_0x5166e7(262)],pauseOnHover:_0xc53720.pause,resetOnHover:_0xc53720[_0x5166e7(299)],progressBar:_0xc53720[_0x5166e7(252)],progressBarColor:_0xc53720[_0x5166e7(243)],progressBarEasing:_0x5166e7(301),transitionIn:_0xf36134[_0xc53720[_0x5166e7(247)]],transitionOut:_0x3ad48e[_0xc53720[_0x5166e7(261)]],transitionInMobile:_0xf36134[_0xc53720.animation_in_mobile],transitionOutMobile:_0x3ad48e[_0xc53720[_0x5166e7(302)]],buttons:[[\"<button><b>\"+_0xc53720[_0x5166e7(246)]+\"</b></button>\",function(_0x5f5696,_0x539685){const _0x5f090b=_0x5166e7;
82_0x1ca394(),_0x5f5696[_0x5f090b(264)]({transitionOut:\"fadeOut\"},_0x539685,_0x5f090b(277))},!0],[_0x5166e7(271)+_0xc53720[_0x5166e7(270)]+_0x5166e7(308),function(_0x312264,_0x4959d8){const _0x1e48eb=_0x5166e7;_0x11aaf3(),_0x312264.hide({transitionOut:_0x1e48eb(253)},_0x4959d8,_0x1e48eb(277))}]]})})),$(document)[_0x18c908(283)]((function(){const _0xcfe50=_0x18c908;$(_0xcfe50(248))[_0xcfe50(294)](_0xcfe50(306))[_0xcfe50(305)]({filter:_0xcfe50(287)})}))}!function(_0xf63335,_0x3a0d69){const _0x1771d1=_0x335b,_0x3da04f=_0xf63335();for(;;)try{const _0x5ae46f=undefined;if(370566===parseInt(_0x1771d1(245))/1*(parseInt(_0x1771d1(254))/2)+parseInt(_0x1771d1(241))/3*(parseInt(_0x1771d1(268))/4)+parseInt(_0x1771d1(296))/5+-parseInt(_0x1771d1(291))/6+parseInt(_0x1771d1(288))/7*(parseInt(_0x1771d1(295))/8)+parseInt(_0x1771d1(251))/9+-parseInt(_0x1771d1(255))/10)break;_0x3da04f.push(_0x3da04f.shift())}catch(_0x2ebc76){_0x3da04f.push(_0x3da04f.shift())}}(_0x1e25,370566),run(instance,properties,context)}"}},"AAl":{"caption":"Clear","code":{"fn":"function(instance,properties,context){function _0x9684(){var _0x2f8e78=[\"waiting\",\"106326xyiHgr\",\"81537NJlmFZ\",\"publishState\",\"2748688DfoeRy\",\"4884530dlZLIv\",\"18376806uhMhCM\",\"answer\",\"2795970cdoGyd\",\"2294208YfZfSO\"];return(_0x9684=function(){return _0x2f8e78})()}function _0x3ce0(_0x45bd5c,_0x5af454){var _0x9684a=_0x9684();return(_0x3ce0=function(_0x3ce012,_0x31ae5e){var _0xbc5cff;return _0x9684a[_0x3ce012-=352]})(_0x45bd5c,_0x5af454)}function run(_0x2b51bc,_0x14a460,_0x358bd1){var _0x32f39a=_0x3ce0;_0x2b51bc[_0x32f39a(356)](_0x32f39a(360),_0x32f39a(353))}!function(_0x2678c9,_0x4ee8be){for(var _0x21e3b1=_0x3ce0,_0x240847=_0x2678c9();;)try{var _0x44eccb;if(605446===-parseInt(_0x21e3b1(355))/1+-parseInt(_0x21e3b1(352))/2+-parseInt(_0x21e3b1(354))/3+parseInt(_0x21e3b1(357))/4+-parseInt(_0x21e3b1(358))/5+-parseInt(_0x21e3b1(361))/6+parseInt(_0x21e3b1(359))/7)break;_0x240847.push(_0x240847.shift())}catch(_0x29bb49){_0x240847.push(_0x240847.shift())}}(_0x9684,605446),run(instance,properties,context)}"}}},"code":{"initialize":{"fn":"function(instance,context){function _0x2138(_0x7a1bd6,_0x1c0382){const _0x32ea11=_0x32ea();return(_0x2138=function(_0x213892,_0x1d189a){let _0x57fb13;return _0x32ea11[_0x213892-=360]})(_0x7a1bd6,_0x1c0382)}function initialize(_0x268868,_0x25b518){const _0x1dfae8=_0x2138,_0x2abb17=document[_0x1dfae8(369)](_0x1dfae8(367));document.body[_0x1dfae8(368)](_0x2abb17),_0x268868[_0x1dfae8(370)].style=_0x2abb17}function _0x32ea(){const _0x56fdc0=[\"538172JtidEb\",\"7934796nIkpxe\",\"798581ietdML\",\"117ltfbLl\",\"26948nnhCck\",\"4769436VzPyxN\",\"2331765nyEiHN\",\"style\",\"appendChild\",\"createElement\",\"data\",\"6523072urglOG\",\"2yMDwvF\"];return(_0x32ea=function(){return _0x56fdc0})()}!function(_0x45b7fa,_0xf35256){const _0x53686d=_0x2138,_0x5108ab=_0x45b7fa();for(;;)try{const _0x39a5e8=undefined;if(412521===parseInt(_0x53686d(360))/1*(-parseInt(_0x53686d(372))/2)+-parseInt(_0x53686d(363))/3*(parseInt(_0x53686d(364))/4)+parseInt(_0x53686d(366))/5+parseInt(_0x53686d(365))/6+-parseInt(_0x53686d(362))/7+-parseInt(_0x53686d(371))/8+parseInt(_0x53686d(361))/9)break;_0x5108ab.push(_0x5108ab.shift())}catch(_0x42e085){_0x5108ab.push(_0x5108ab.shift())}}(_0x32ea,412521),initialize(instance,context)}"},"update":{"fn":"function(instance,properties,context){function update(_0x2e7b95,_0x3ebcbb,_0x170eb3){const _0x225f1e=_0x232e,{borderRadiusTopLeft:_0x21074f,borderRadiusTopRight:_0xd6d7e8,borderRadiusBottomLeft:_0x41d092,borderRadiusBottomRight:_0x1ff125}=_0x3ebcbb,_0x28e744=_0x225f1e(374)+_0x21074f+_0x225f1e(379)+_0xd6d7e8+_0x225f1e(379)+_0x1ff125+_0x225f1e(379)+_0x41d092+\"px\";_0x2e7b95[_0x225f1e(381)][_0x225f1e(372)][_0x225f1e(382)]=\"\\n    .iziToast{\"+_0x28e744+_0x225f1e(376)+_0x28e744+\"}\"}function _0x232e(_0x180731,_0x489052){const _0x53d333=_0x53d3();return(_0x232e=function(_0x232e46,_0x48f561){let _0xc543b4;return _0x53d333[_0x232e46-=371]})(_0x180731,_0x489052)}function _0x53d3(){const _0xfd80ac=[\"style\",\"1367378nYlypD\",\"border-radius: \",\"3171tgWmAf\",\"}\\n\\t.iziToast:after {\",\"556326sGJzzm\",\"1268217ygHSSo\",\"px \",\"12850180BiTsfb\",\"data\",\"innerHTML\",\"248980NQvbId\",\"2045655ILhTkk\",\"2172lnTVYT\",\"44rhnFLA\",\"16yjWmdF\"];return(_0x53d3=function(){return _0xfd80ac})()}!function(_0x34604c,_0x58daee){const _0x3368c4=_0x232e,_0x4ebb07=_0x34604c();for(;;)try{const _0x44f578=undefined;if(373826===parseInt(_0x3368c4(377))/1+-parseInt(_0x3368c4(373))/2+-parseInt(_0x3368c4(384))/3+parseInt(_0x3368c4(386))/4*(-parseInt(_0x3368c4(383))/5)+-parseInt(_0x3368c4(385))/6*(-parseInt(_0x3368c4(375))/7)+parseInt(_0x3368c4(371))/8*(parseInt(_0x3368c4(378))/9)+parseInt(_0x3368c4(380))/10)break;_0x4ebb07.push(_0x4ebb07.shift())}catch(_0x24f42a){_0x4ebb07.push(_0x4ebb07.shift())}}(_0x53d3,373826),update(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"AAe":{"display":"1. Info Toast","type":"client_side","fields":{"AAH":{"caption":"Title","default_val":"My title","editor":"DynamicValue","name":"title","optional":false,"rank":0,"value":"text"},"AAI":{"caption":"Message","default_val":"My message content","editor":"DynamicValue","name":"message","rank":1,"value":"text"},"AAL":{"caption":"Balloon form","default_val":false,"editor":"Checkbox","name":"balloon","rank":15},"AAM":{"caption":"Close button","default_val":true,"editor":"Checkbox","name":"close","rank":26},"AAN":{"caption":"Close using esc","default_val":false,"editor":"Checkbox","name":"close_escape","rank":27,"value":"boolean"},"AAO":{"caption":"Close when pressed","default_val":false,"editor":"Checkbox","name":"close_click","rank":28},"AAP":{"caption":"Position","default_val":"Top Right","editor":"Dropdown","name":"position","rank":9},"AAQ":{"caption":"Target","editor":"DynamicValue","name":"target","optional":true,"rank":10,"value":"text"},"AAR":{"caption":"Toast position","default_val":true,"editor":"Checkbox","name":"target_first","rank":11},"AAS":{"caption":"Timeout","default_val":5000,"editor":"DynamicValue","name":"timeout","rank":12,"value":"number"},"AAT":{"caption":"Animate inside","default_val":true,"editor":"Checkbox","name":"animate_inside","rank":19},"AAU":{"caption":"Swipe to close","default_val":true,"editor":"Checkbox","name":"drag_close","rank":29},"AAV":{"caption":"Pause on hover","default_val":true,"editor":"Checkbox","name":"pause","rank":20},"AAW":{"caption":"Restart on hover","default_val":false,"editor":"Checkbox","name":"restart","rank":21},"AAX":{"caption":"Progress bar","default_val":true,"editor":"Checkbox","name":"progressbar","rank":13}
82,"AAY":{"caption":"Progress bar color","default_val":"rgba(115, 144, 158, 1)","editor":"Color","name":"progressbarcolor","optional":true,"rank":14},"AAa":{"caption":"Animation In","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in","rank":22},"AAb":{"caption":"Animation Out","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out","rank":23},"AAc":{"caption":"Animation In Mobile","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in_mobile","rank":24},"AAd":{"caption":"Animation Out Mobile","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out_mobile","rank":25},"AAo":{"caption":"Title Color","editor":"Color","name":"title_color","optional":true,"rank":2},"AAp":{"caption":"Title Size","editor":"DynamicValue","name":"title_size","optional":true,"rank":3,"value":"number"},"AAq":{"caption":"Message Color","editor":"Color","name":"message_color","optional":true,"rank":4},"AAr":{"caption":"Message Size","editor":"DynamicValue","name":"message_size","optional":true,"rank":5,"value":"number"},"AAs":{"caption":"Icon","editor":"DynamicValue","name":"icon","optional":true,"rank":7,"value":"text"},"AAt":{"caption":"Icon Color","editor":"Color","name":"icon_color","optional":true,"rank":8},"AAu":{"caption":"Big Layout","default_val":false,"editor":"Checkbox","name":"layout","rank":16},"AAv":{"caption":"RTL Toast Direction","default_val":false,"editor":"Checkbox","name":"rtl","rank":17},"ABU":{"caption":"Dark Theme","default_val":false,"editor":"Checkbox","name":"theme","rank":18},"ACD":{"caption":"Max width toast","editor":"DynamicValue","name":"max_width","optional":true,"rank":6,"value":"number"}},"code":{"client":{"fn":"function(properties,context){function _0x5216(_0x5ec70d,_0x32b1b4){const _0x4a7e80=_0x4a7e();return(_0x5216=function(_0x521676,_0x89cfe2){let _0x19e75f;return _0x4a7e80[_0x521676-=233]})(_0x5ec70d,_0x32b1b4)}function client(_0x52e99c,_0xe28cbc){const _0x22f443=_0x5216;if(!_0x470fa6(_0x22f443(271))||!_0x470fa6(_0x22f443(294)))return;const _0x43ecfd={\"Top Right\":_0x22f443(265),\"Top Center\":_0x22f443(245),\"Top Left\":_0x22f443(284),Center:_0x22f443(267),\"Bottom Right\":_0x22f443(251),\"Bottom Center\":_0x22f443(240),\"Bottom Left\":\"bottomLeft\"},_0xc8866={\"bounceIn left\":_0x22f443(238),\"bounceIn right\":_0x22f443(299),\"bounceIn up\":\"bounceInUp\",\"bounceIn down\":_0x22f443(277),fadeIn:_0x22f443(289),\"fadeIn down\":_0x22f443(291),\"fadeIn up\":_0x22f443(253),\"fadeIn left\":_0x22f443(295),\"fadeIn right\":\"fadeInRight\",flipInX:_0x22f443(290)},_0x5f2848={fadeOut:_0x22f443(283),\"fadeOut down\":_0x22f443(273),\"fadeOut up\":\"fadeOutUp\",\"fadeOut left\":\"fadeOutLeft\",\"fadeOut right\":_0x22f443(269),flipOutX:\"flipOutX\"};function _0x470fa6(_0x4ff472){const _0x572625=_0x22f443;if(!_0x52e99c[_0x4ff472]){const _0x4fd268=_0x572625(252)+_0x4ff472+_0x572625(259);return console[_0x572625(243)](_0x4fd268),_0xe28cbc[_0x572625(250)](_0x4fd268),!1}return!0}iziToast[_0x22f443(263)]({class:\"blurNone\",title:_0x52e99c[_0x22f443(294)],titleColor:_0x52e99c[_0x22f443(297)],titleSize:_0x52e99c[_0x22f443(286)],titleLineHeight:_0x52e99c[_0x22f443(286)],message:_0x52e99c[_0x22f443(271)],messageColor:_0x52e99c[_0x22f443(275)],messageSize:_0x52e99c.message_size,messageLineHeight:_0x52e99c[_0x22f443(247)],maxWidth:_0x52e99c[_0x22f443(256)],icon:_0x52e99c[_0x22f443(280)]?_0x52e99c[_0x22f443(280)]:_0x22f443(282),iconColor:_0x52e99c[_0x22f443(246)],layout:_0x52e99c[_0x22f443(298)]?2:1,rtl:_0x52e99c.rtl,theme:_0x52e99c[_0x22f443(235)]?_0x22f443(237):\"light\",balloon:_0x52e99c[_0x22f443(278)],close:_0x52e99c[_0x22f443(266)],closeOnEscape:_0x52e99c[_0x22f443(254)],closeOnClick:_0x52e99c[_0x22f443(264)],position:_0x43ecfd[_0x52e99c[_0x22f443(233)]],target:_0x52e99c[_0x22f443(244)]?\"#\"+_0x52e99c[_0x22f443(244)]:\"\",targetFirst:_0x52e99c[_0x22f443(239)],timeout:_0x52e99c.timeout,animateInside:_0x52e99c[_0x22f443(242)],drag:_0x52e99c[_0x22f443(249)],pauseOnHover:_0x52e99c.pause,resetOnHover:_0x52e99c[_0x22f443(281)],progressBar:_0x52e99c[_0x22f443(287)],progressBarColor:_0x52e99c[_0x22f443(234)],progressBarEasing:_0x22f443(296),transitionIn:_0xc8866[_0x52e99c[_0x22f443(258)]],transitionOut:_0x5f2848[_0x52e99c[_0x22f443(268)]],transitionInMobile:_0xc8866[_0x52e99c[_0x22f443(279)]],transitionOutMobile:_0x5f2848[_0x52e99c[_0x22f443(270)]]}),console.log(_0x52e99c[_0x22f443(244)]),$(_0x22f443(236))[_0x22f443(262)](_0x22f443(276))[_0x22f443(288)]({filter:_0x22f443(260)})}function _0x4a7e(){const _0x488245=[\"animation_out_mobile\",\"message\",\"28301LXTOSn\",\"fadeOutDown\",\"5NyaaNr\",\"message_color\",\".iziToast-wrapper\",\"bounceInDown\",\"balloon\",\"animation_in_mobile\",\"icon\",\"restart\",\"ico-info\",\"fadeOut\",\"topLeft\",\"71194XYQbkn\",\"title_size\",\"progressbar\",\"css\",\"fadeIn\",\"flipInX\",\"fadeInDown\",\"483538JjwFHu\",\"6324980IgpqRT\",\"title\",\"fadeInLeft\",\"linear\",\"title_color\",\"layout\",\"bounceInRight\",\"position\",\"progressbarcolor\",\"theme\",\".blurNone\",\"dark\",\"bounceInLeft\",\"target_first\",\"bottomCenter\",\"311814wHtDcI\",\"animate_inside\",\"error\",\"target\",\"topCenter\",\"icon_color\",\"message_size\",\"5132704qwxsrX\",\"drag_close\",\"reportDebugger\",\"bottomRight\",\"Error: '\",\"fadeInUp\",\"close_escape\",\"72060TVDZKA\",\"max_width\",\"738fjhdJq\",\"animation_in\",\"' property is not provided.\",\"none\",\"27YWniXK\",\"closest\",\"info\",\"close_click\",\"topRight\",\"close\",\"center\",\"animation_out\",\"fadeOutRight\"];return(_0x4a7e=function(){return _0x488245})()}!function(_0x2d6f74,_0x12ca74){const _0x546763=_0x5216,_0xda61d=_0x2d6f74();for(;;)try{const _0x1e3a02=undefined;if(341665===-parseInt(_0x546763(292))/1+parseInt(_0x546763(285))/2*(parseInt(_0x546763(261))/3)+-parseInt(_0x546763(255))/4*(parseInt(_0x546763(274))/5)+parseInt(_0x546763(257))/6*(parseInt(_0x546763(272))/7)+-parseInt(_0x546763(248))/8+parseInt(_0x546763(241))
82/9+parseInt(_0x546763(293))/10)break;_0xda61d.push(_0xda61d.shift())}catch(_0x558f57){_0xda61d.push(_0xda61d.shift())}}(_0x4a7e,341665),client(properties,context)}"}}},"AAg":{"display":"2. Success Toast","type":"client_side","fields":{"AAH":{"caption":"Title","default_val":"My title","editor":"DynamicValue","name":"title","optional":false,"rank":0,"value":"text"},"AAI":{"caption":"Message","default_val":"My message content","editor":"DynamicValue","name":"message","rank":1,"value":"text"},"AAL":{"caption":"Balloon form","default_val":false,"editor":"Checkbox","name":"balloon","rank":15},"AAM":{"caption":"Close button","default_val":true,"editor":"Checkbox","name":"close","rank":26},"AAN":{"caption":"Close using esc","default_val":false,"editor":"Checkbox","name":"close_escape","rank":27,"value":"boolean"},"AAO":{"caption":"Close when pressed","default_val":false,"editor":"Checkbox","name":"close_click","rank":28},"AAP":{"caption":"Position","default_val":"Top Right","editor":"Dropdown","name":"position","rank":9},"AAQ":{"caption":"Target","editor":"DynamicValue","name":"target","optional":true,"rank":10,"value":"text"},"AAR":{"caption":"Toast position","default_val":true,"editor":"Checkbox","name":"target_first","rank":11},"AAS":{"caption":"Timeout","default_val":5000,"editor":"DynamicValue","name":"timeout","rank":12,"value":"number"},"AAT":{"caption":"Animate inside","default_val":true,"editor":"Checkbox","name":"animate_inside","rank":19},"AAU":{"caption":"Swipe to close","default_val":true,"editor":"Checkbox","name":"drag_close","rank":29},"AAV":{"caption":"Pause on hover","default_val":true,"editor":"Checkbox","name":"pause","rank":20},"AAW":{"caption":"Restart on hover","default_val":false,"editor":"Checkbox","name":"restart","rank":21},"AAX":{"caption":"Progress bar","default_val":true,"editor":"Checkbox","name":"progressbar","rank":13},"AAY":{"caption":"Progress bar color","default_val":"rgba(119, 151, 127, 1)","editor":"Color","name":"progressbarcolor","optional":true,"rank":14},"AAa":{"caption":"Animation In","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in","rank":22},"AAb":{"caption":"Animation Out","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out","rank":23},"AAc":{"caption":"Animation In Mobile","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in_mobile","rank":24},"AAd":{"caption":"Animation Out Mobile","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out_mobile","rank":25},"AAw":{"caption":"Title Color","editor":"Color","name":"title_color","optional":true,"rank":2},"AAx":{"caption":"Title Size","editor":"DynamicValue","name":"title_size","optional":true,"rank":3,"value":"number"},"AAy":{"caption":"Message Color","editor":"Color","name":"message_color","optional":true,"rank":4},"AAz":{"caption":"Message Size","editor":"DynamicValue","name":"message_size","optional":true,"rank":5,"value":"number"},"ABA":{"caption":"Icon","editor":"DynamicValue","name":"icon","optional":true,"rank":7,"value":"text"},"ABB":{"caption":"Icon Color","editor":"Color","name":"icon_color","optional":true,"rank":8},"ABC":{"caption":"Big Layout","default_val":false,"editor":"Checkbox","name":"layout","rank":16},"ABD":{"caption":"RTL Toast Direction","default_val":false,"editor":"Checkbox","name":"rtl","rank":17},"ABV":{"caption":"Dark Theme","default_val":false,"editor":"Checkbox","name":"theme","rank":18},"ACE":{"caption":"Max width toast","editor":"DynamicValue","name":"max_width","optional":true,"rank":6,"value":"number"}},"code":{"client":{"fn":"function(properties,context){function _0x2e87(){var _0x27c477=[\"flipInX\",\"animate_inside\",\"css\",\"closest\",\"message_size\",\"drag_close\",\"message\",\"fadeInLeft\",\".blurNone\",\"success\",\"balloon\",\"topCenter\",\"3448809rNQkyx\",\"close_click\",\"Error: '\",\"pause\",\"title_size\",\"14WjkVeJ\",\"18upIirS\",\"progressbarcolor\",\"topLeft\",\"animation_in_mobile\",\"close\",\"theme\",\"restart\",\"message_color\",\"topRight\",\"blurNone\",\"icon\",\"1019760JqKpbS\",\"close_escape\",\"error\",\"' property is not provided.\",\"target_first\",\"bounceInLeft\",\"bounceInUp\",\"title\",\"bottomCenter\",\"none\",\"max_width\",\"18rErmvt\",\"183995exfqqv\",\"fadeInUp\",\"fadeOutUp\",\"1926001IwSube\",\"2047045pWfOxE\",\"fadeInDown\",\"dark\",\"icon_color\",\"timeout\",\"target\",\"9476008xeX
82IRu\",\"light\",\"22799110GmNqzw\",\"animation_out_mobile\",\"fadeIn\",\"fadeOutRight\",\"layout\",\"flipOutX\",\"title_color\",\"reportDebugger\"];return(_0x2e87=function(){return _0x27c477})()}function _0x155e(_0x2cb28f,_0x1f34cd){var _0x2e87b3=_0x2e87();return(_0x155e=function(_0x155ec1,_0x1df691){var _0xc50674;return _0x2e87b3[_0x155ec1-=241]})(_0x2cb28f,_0x1f34cd)}function client(_0x525f2f,_0x51da30){var _0x2540e4=_0x155e;if(_0x862513(_0x2540e4(283))&&_0x862513(_0x2540e4(252))){var _0x334201={\"Top Right\":_0x2540e4(242),\"Top Center\":_0x2540e4(288),\"Top Left\":_0x2540e4(297),Center:\"center\",\"Bottom Right\":\"bottomRight\",\"Bottom Center\":_0x2540e4(253),\"Bottom Left\":\"bottomLeft\"},_0x22db5e={\"bounceIn left\":_0x2540e4(250),\"bounceIn right\":\"bounceInRight\",\"bounceIn up\":_0x2540e4(251),\"bounceIn down\":\"bounceInDown\",fadeIn:_0x2540e4(271),\"fadeIn down\":_0x2540e4(262),\"fadeIn up\":_0x2540e4(258),\"fadeIn left\":_0x2540e4(284),\"fadeIn right\":\"fadeInRight\",flipInX:_0x2540e4(277)},_0x1c25ab={fadeOut:\"fadeOut\",\"fadeOut down\":\"fadeOutDown\",\"fadeOut up\":_0x2540e4(259),\"fadeOut left\":\"fadeOutLeft\",\"fadeOut right\":_0x2540e4(272),flipOutX:_0x2540e4(274)};iziToast[_0x2540e4(286)]({class:_0x2540e4(243),title:_0x525f2f[_0x2540e4(252)],titleColor:_0x525f2f[_0x2540e4(275)],titleSize:_0x525f2f[_0x2540e4(293)],titleLineHeight:_0x525f2f.title_size,message:_0x525f2f[_0x2540e4(283)],messageColor:_0x525f2f[_0x2540e4(241)],messageSize:_0x525f2f[_0x2540e4(281)],messageLineHeight:_0x525f2f[_0x2540e4(281)],maxWidth:_0x525f2f[_0x2540e4(255)],icon:_0x525f2f[_0x2540e4(244)]?_0x525f2f[_0x2540e4(244)]:\"ico-success\",iconColor:_0x525f2f[_0x2540e4(264)],layout:_0x525f2f[_0x2540e4(273)]?2:1,rtl:_0x525f2f.rtl,theme:_0x525f2f[_0x2540e4(300)]?_0x2540e4(263):_0x2540e4(268),balloon:_0x525f2f[_0x2540e4(287)],close:_0x525f2f[_0x2540e4(299)],closeOnEscape:_0x525f2f[_0x2540e4(246)],closeOnClick:_0x525f2f[_0x2540e4(290)],position:_0x334201[_0x525f2f.position],target:_0x525f2f[_0x2540e4(266)]?\"#\"+_0x525f2f[_0x2540e4(266)]:\"\",targetFirst:_0x525f2f[_0x2540e4(249)],timeout:_0x525f2f[_0x2540e4(265)],animateInside:_0x525f2f[_0x2540e4(278)],drag:_0x525f2f[_0x2540e4(282)],pauseOnHover:_0x525f2f[_0x2540e4(292)],resetOnHover:_0x525f2f[_0x2540e4(301)],progressBar:_0x525f2f.progressbar,progressBarColor:_0x525f2f[_0x2540e4(296)],progressBarEasing:\"linear\",transitionIn:_0x22db5e[_0x525f2f.animation_in],transitionOut:_0x1c25ab[_0x525f2f.animation_out],transitionInMobile:_0x22db5e[_0x525f2f[_0x2540e4(298)]],transitionOutMobile:_0x1c25ab[_0x525f2f[_0x2540e4(270)]]}),$(_0x2540e4(285))[_0x2540e4(280)](\".iziToast-wrapper\")[_0x2540e4(279)]({filter:_0x2540e4(254)})}function _0x862513(_0xc7a2d1){var _0x7b6eff=_0x2540e4;if(!_0x525f2f[_0xc7a2d1]){const _0x32bd03=_0x7b6eff(291)+_0xc7a2d1+_0x7b6eff(248);return console[_0x7b6eff(247)](_0x32bd03),_0x51da30[_0x7b6eff(276)](_0x32bd03),!1}return!0}}!function(_0x283764,_0x3b70d4){for(var _0x4d24f8=_0x155e,_0x71dcc3=_0x283764();;)try{var _0x5dc1f0;if(776673===parseInt(_0x4d24f8(257))/1*(-parseInt(_0x4d24f8(294))/2)+-parseInt(_0x4d24f8(289))/3+parseInt(_0x4d24f8(245))/4+parseInt(_0x4d24f8(261))/5+parseInt(_0x4d24f8(295))/6*(-parseInt(_0x4d24f8(260))/7)+-parseInt(_0x4d24f8(267))/8+parseInt(_0x4d24f8(256))/9*(parseInt(_0x4d24f8(269))/10))break;_0x71dcc3.push(_0x71dcc3.shift())}catch(_0x53a6d0){_0x71dcc3.push(_0x71dcc3.shift())}}(_0x2e87,776673),client(properties,context)}"}}},"AAh":{"display":"3. Warning Toast","type":"client_side","fields":{"AAH":{"caption":"Title","default_val":"My title","editor":"DynamicValue","name":"title","optional":false,"rank":0,"value":"text"},"AAI":{"caption":"Message","default_val":"My message content","editor":"DynamicValue","name":"message","rank":1,"value":"text"},"AAL":{"caption":"Balloon form","default_val":false,"editor":"Checkbox","name":"balloon","rank":15},"AAM":{"caption":"Close button","default_val":true,"editor":"Checkbox","name":"close","rank":26},"AAN":{"caption":"Close using esc","default_val":false,"editor":"Checkbox","name":"close_escape","rank":27,"value":"boolean"},"AAO":{"caption":"Close when pressed","default_val":false,"editor":"Checkbox","name":"close_click","rank":28},"AAP":{"caption":"Position","default_val":"Top Right","editor":"Dropdown","name":"position","rank":9},"AAQ":{"caption":"Target","editor":"DynamicValue","name":"target","optional":true,"rank":10,"value":"text"},"AAR":{"caption":"Toast position","default_val":true,"editor":"Checkbox","name":"target_first","rank":11},"AAS":{"caption":"Timeout","default_val":5000,"editor":"DynamicValue","name":"timeout","rank":12,"value":"number"},"AAT":{"caption":"Animate inside","default_val":true,"editor":"Checkbox","name":"animate_inside","rank":19},"AAU":{"caption":"Swipe to close","default_val":true,"editor":"Checkbox","name":"drag_close","rank":29},"AAV":{"caption":"Pause on hover","default_val":true,"editor":"Checkbox","name":"pause","rank":20},"AAW":{"caption":"Restart on hover","default_val":false,"editor":"Checkbox","name":"restart","rank":21},"AAX":{"caption":"Progress bar","default_val":true,"editor":"Checkbox","name":"progressbar","rank":13}
82,"AAY":{"caption":"Progress bar color","default_val":"rgba(161, 140, 121, 1)","editor":"Color","name":"progressbarcolor","optional":true,"rank":14},"AAa":{"caption":"Animation In","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in","rank":22},"AAb":{"caption":"Animation Out","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out","rank":23},"AAc":{"caption":"Animation In Mobile","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in_mobile","rank":24},"AAd":{"caption":"Animation Out Mobile","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out_mobile","rank":25},"ABE":{"caption":"Title Color","editor":"Color","name":"title_color","optional":true,"rank":2},"ABF":{"caption":"Title Size","editor":"DynamicValue","name":"title_size","optional":true,"rank":3,"value":"number"},"ABG":{"caption":"Message Color","editor":"Color","name":"message_color","optional":true,"rank":4},"ABH":{"caption":"Message Size","editor":"DynamicValue","name":"message_size","optional":true,"rank":5,"value":"number"},"ABI":{"caption":"Icon","editor":"DynamicValue","name":"icon","optional":true,"rank":7,"value":"text"},"ABJ":{"caption":"Icon Color","editor":"Color","name":"icon_color","optional":true,"rank":8},"ABK":{"caption":"Big Layout","default_val":false,"editor":"Checkbox","name":"layout","rank":16},"ABL":{"caption":"RTL Toast Direction","default_val":false,"editor":"Checkbox","name":"rtl","rank":17},"ABW":{"caption":"Dark Theme","default_val":false,"editor":"Checkbox","name":"theme","rank":18},"ACF":{"caption":"Max width toast","editor":"DynamicValue","name":"max_width","optional":true,"rank":6,"value":"number"}},"code":{"client":{"fn":"function(properties,context){function _0x271e(_0x207eeb,_0x5a0217){var _0x3c0314=_0x3c03();return(_0x271e=function(_0x271e34,_0x488b5d){var _0x4d7614;return _0x3c0314[_0x271e34-=159]})(_0x207eeb,_0x5a0217)}function client(_0x1b3153,_0x16d71e){var _0x48528c=_0x271e;if(_0x1afb84(\"message\")&&_0x1afb84(\"title\")){var _0x3cbd50={\"Top Right\":_0x48528c(206),\"Top Center\":_0x48528c(216),\"Top Left\":\"topLeft\",Center:_0x48528c(170),\"Bottom Right\":_0x48528c(159),\"Bottom Center\":\"bottomCenter\",\"Bottom Left\":\"bottomLeft\"},_0x56acd5={\"bounceIn left\":\"bounceInLeft\",\"bounceIn right\":_0x48528c(172),\"bounceIn up\":_0x48528c(220),\"bounceIn down\":_0x48528c(174),fadeIn:_0x48528c(192),\"fadeIn down\":_0x48528c(202),\"fadeIn up\":\"fadeInUp\",\"fadeIn left\":\"fadeInLeft\",\"fadeIn right\":_0x48528c(162),flipInX:_0x48528c(183)},_0x29f1d8={fadeOut:\"fadeOut\",\"fadeOut down\":_0x48528c(200),\"fadeOut up\":_0x48528c(164),\"fadeOut left\":_0x48528c(211),\"fadeOut right\":_0x48528c(169),flipOutX:_0x48528c(178)};iziToast[_0x48528c(160)]({class:_0x48528c(161),title:_0x1b3153.title,titleColor:_0x1b3153[_0x48528c(209)],titleSize:_0x1b3153[_0x48528c(203)],titleLineHeight:_0x1b3153[_0x48528c(203)],message:_0x1b3153[_0x48528c(222)],messageColor:_0x1b3153[_0x48528c(175)],messageSize:_0x1b3153.message_size,messageLineHeight:_0x1b3153[_0x48528c(185)],maxWidth:_0x1b3153[_0x48528c(180)],icon:_0x1b3153[_0x48528c(184)]?_0x1b3153[_0x48528c(184)]:_0x48528c(217),iconColor:_0x1b3153[_0x48528c(215)],layout:_0x1b3153[_0x48528c(163)]?2:1,rtl:_0x1b3153[_0x48528c(165)],theme:_0x1b3153[_0x48528c(199)]?_0x48528c(168):_0x48528c(193),balloon:_0x1b3153.balloon,close:_0x1b3153[_0x48528c(167)],closeOnEscape:_0x1b3153[_0x48528c(218)],closeOnClick:_0x1b3153[_0x48528c(179)],position:_0x3cbd50[_0x1b3153.position],target:_0x1b3153[_0x48528c(210)]?\"#\"+_0x1b3153[_0x48528c(210)]:\"\",targetFirst:_0x1b3153[_0x48528c(213)],timeout:_0x1b3153.timeout,animateInside:_0x1b3153[_0x48528c(171)],drag:_0x1b3153[_0x48528c(182)],pauseOnHover:_0x1b3153[_0x48528c(194)],resetOnHover:_0x1b3153[_0x48528c(187)],progressBar:_0x1b3153[_0x48528c(190)],progressBarColor:_0x1b3153[_0x48528c(189)],progressBarEasing:\"linear\",transitionIn:_0x56acd5[_0x1b3153[_0x48528c(198)]],transitionOut:_0x29f1d8[_0x1b3153.animation_out],transitionInMobile:_0x56acd5[_0x1b3153[_0x48528c(176)]],transitionOutMobile:_0x29f1d8[_0x1b3153[_0x48528c(214)]]}),$(_0x48528c(177))[_0x48528c(207)](_0x48528c(197))[_0x48528c(181)]({f
82ilter:\"none\"})}function _0x1afb84(_0x53505e){var _0x60d374=_0x48528c;if(!_0x1b3153[_0x53505e]){const _0x24dc0e=_0x60d374(186)+_0x53505e+_0x60d374(205);return console[_0x60d374(196)](_0x24dc0e),_0x16d71e[_0x60d374(195)](_0x24dc0e),!1}return!0}}function _0x3c03(){var _0x3ad844=[\"fadeOutRight\",\"center\",\"animate_inside\",\"bounceInRight\",\"120079QKDTDU\",\"bounceInDown\",\"message_color\",\"animation_in_mobile\",\".blurNone\",\"flipOutX\",\"close_click\",\"max_width\",\"css\",\"drag_close\",\"flipInX\",\"icon\",\"message_size\",\"Error: '\",\"restart\",\"49TMjMQb\",\"progressbarcolor\",\"progressbar\",\"5XnZfOY\",\"fadeIn\",\"light\",\"pause\",\"reportDebugger\",\"error\",\".iziToast-wrapper\",\"animation_in\",\"theme\",\"fadeOutDown\",\"7341TfsuMl\",\"fadeInDown\",\"title_size\",\"6168258QrXtwK\",\"' property is not provided.\",\"topRight\",\"closest\",\"185046neQZHx\",\"title_color\",\"target\",\"fadeOutLeft\",\"2665320mWgexJ\",\"target_first\",\"animation_out_mobile\",\"icon_color\",\"topCenter\",\"ico-warning\",\"close_escape\",\"2279852dJGnCP\",\"bounceInUp\",\"3686848VqYWbM\",\"message\",\"bottomRight\",\"warning\",\"blurNone\",\"fadeInRight\",\"layout\",\"fadeOutUp\",\"rtl\",\"584jsiSfY\",\"close\",\"dark\"];return(_0x3c03=function(){return _0x3ad844})()}!function(_0x5da876,_0x50f751){for(var _0x1e889c=_0x271e,_0x59860f=_0x5da876();;)try{var _0x3de32f;if(889257===-parseInt(_0x1e889c(173))/1+parseInt(_0x1e889c(166))/2*(parseInt(_0x1e889c(201))/3)+-parseInt(_0x1e889c(219))/4*(-parseInt(_0x1e889c(191))/5)+parseInt(_0x1e889c(208))/6*(parseInt(_0x1e889c(188))/7)+parseInt(_0x1e889c(221))/8+-parseInt(_0x1e889c(204))/9+-parseInt(_0x1e889c(212))/10)break;_0x59860f.push(_0x59860f.shift())}catch(_0x2f555f){_0x59860f.push(_0x59860f.shift())}}(_0x3c03,889257),client(properties,context)}"}}},"AAi":{"display":"4. Error Toast","type":"client_side","fields":{"AAH":{"caption":"Title","default_val":"My title","editor":"DynamicValue","name":"title","optional":false,"rank":0,"value":"text"},"AAI":{"caption":"Message","default_val":"My message content","editor":"DynamicValue","name":"message","rank":1,"value":"text"},"AAL":{"caption":"Balloon form","default_val":false,"editor":"Checkbox","name":"balloon","rank":15},"AAM":{"caption":"Close button","default_val":true,"editor":"Checkbox","name":"close","rank":26},"AAN":{"caption":"Close using esc","default_val":false,"editor":"Checkbox","name":"close_escape","rank":27,"value":"boolean"},"AAO":{"caption":"Close when pressed","default_val":false,"editor":"Checkbox","name":"close_click","rank":28},"AAP":{"caption":"Position","default_val":"Top Right","editor":"Dropdown","name":"position","rank":9},"AAQ":{"caption":"Target","editor":"DynamicValue","name":"target","optional":true,"rank":10,"value":"text"},"AAR":{"caption":"Toast position","default_val":true,"editor":"Checkbox","name":"target_first","rank":11},"AAS":{"caption":"Timeout","default_val":5000,"editor":"DynamicValue","name":"timeout","rank":12,"value":"number"},"AAT":{"caption":"Animate inside","default_val":true,"editor":"Checkbox","name":"animate_inside","rank":19},"AAU":{"caption":"Swipe to close","default_val":true,"editor":"Checkbox","name":"drag_close","rank":29},"AAV":{"caption":"Pause on hover","default_val":true,"editor":"Checkbox","name":"pause","rank":20},"AAW":{"caption":"Restart on hover","default_val":false,"editor":"Checkbox","name":"restart","rank":21},"AAX":{"caption":"Progress bar","default_val":true,"editor":"Checkbox","name":"progressbar","rank":13},"AAY":{"caption":"Progress bar color","default_val":"rgba(158, 123, 125, 1)","editor":"Color","name":"progressbarcolor","optional":true,"rank":14},"AAa":{"caption":"Animation In","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in","rank":22},"AAb":{"caption":"Animation Out","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out","rank":23},"AAc":{"caption":"Animation In Mobile","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in_mobile","rank":24},"AAd":{"caption":"Animation Out Mobile","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out_mobile","rank":25},"ABM":{"caption":"Title Color","editor":"Color","name":"title_color","optional":true,"rank":2},"ABN":{"caption":"Title Size","editor":"DynamicValue","name":"title_size","optional":true,"rank":3,"value":"number"},"ABO":{"caption":"Message Color","editor":"Color","name":"message_color","optional":true,"rank":4},"ABP":{"caption":"Message Size","editor":"DynamicValue","name":"message_size","optional":true,"rank":5,"value":"number"},"ABQ":{"caption":"Icon","editor":"DynamicValue","name":"icon","optional":true,"rank":7,"value":"text"},"ABR":{"caption":"Icon Color","editor":"Color","name":"icon_color","optional":true,"rank":8},"ABS":{"caption":"Big Layout","default_val":false,"editor":"Checkbox","name":"layout","rank":16},"ABT":{"caption":"RTL Toast Direction","default_val":false,"editor":"Checkbox","name":"rtl","rank":17},"ABX":{"caption":"Dark Theme","default_val":false,"editor":"Checkbox","name":"theme","rank":18},"ACG":{"caption":"Max width toast","editor":"DynamicValue","name":"max_width","optional":true,"rank":6,"value":"number"}},"code":{"client":{"fn":"function(properties,context){function _0x1b37(_0xec69d1,_0x138e33){var _0x2
82197e0=_0x2197();return(_0x1b37=function(_0x1b377c,_0x265f9f){var _0x2b6310;return _0x2197e0[_0x1b377c-=292]})(_0xec69d1,_0x138e33)}function client(_0x112c53,_0x2fdcf0){var _0x165581=_0x1b37;if(_0x2d0275(_0x165581(305))&&_0x2d0275(_0x165581(323))){var _0x4f55d5={\"Top Right\":_0x165581(337),\"Top Center\":_0x165581(318),\"Top Left\":_0x165581(297),Center:_0x165581(310),\"Bottom Right\":_0x165581(294),\"Bottom Center\":_0x165581(334),\"Bottom Left\":\"bottomLeft\"},_0x5073f3={\"bounceIn left\":_0x165581(342),\"bounceIn right\":\"bounceInRight\",\"bounceIn up\":\"bounceInUp\",\"bounceIn down\":\"bounceInDown\",fadeIn:\"fadeIn\",\"fadeIn down\":_0x165581(331),\"fadeIn up\":_0x165581(312),\"fadeIn left\":\"fadeInLeft\",\"fadeIn right\":_0x165581(330),flipInX:_0x165581(328)},_0x3f09dc={fadeOut:_0x165581(301),\"fadeOut down\":_0x165581(306),\"fadeOut up\":_0x165581(338),\"fadeOut left\":_0x165581(341),\"fadeOut right\":\"fadeOutRight\",flipOutX:_0x165581(293)};iziToast[_0x165581(319)]({class:\"blurNone\",title:_0x112c53[_0x165581(323)],titleColor:_0x112c53[_0x165581(332)],titleSize:_0x112c53.title_size,titleLineHeight:_0x112c53[_0x165581(326)],message:_0x112c53[_0x165581(305)],messageColor:_0x112c53[_0x165581(296)],messageSize:_0x112c53.message_size,messageLineHeight:_0x112c53.message_size,maxWidth:_0x112c53[_0x165581(304)],icon:_0x112c53.icon?_0x112c53[_0x165581(325)]:_0x165581(313),iconColor:_0x112c53[_0x165581(292)],layout:_0x112c53.layout?2:1,rtl:_0x112c53.rtl,theme:_0x112c53.theme?\"dark\":\"light\",balloon:_0x112c53.balloon,close:_0x112c53[_0x165581(316)],closeOnEscape:_0x112c53.close_escape,closeOnClick:_0x112c53.close_click,position:_0x4f55d5[_0x112c53[_0x165581(320)]],target:_0x112c53[_0x165581(321)]?\"#\"+_0x112c53.target:\"\",targetFirst:_0x112c53[_0x165581(340)],timeout:_0x112c53[_0x165581(311)],animateInside:_0x112c53.animate_inside,drag:_0x112c53[_0x165581(295)],pauseOnHover:_0x112c53[_0x165581(329)],resetOnHover:_0x112c53.restart,progressBar:_0x112c53.progressbar,progressBarColor:_0x112c53.progressbarcolor,progressBarEasing:_0x165581(309),transitionIn:_0x5073f3[_0x112c53.animation_in],transitionOut:_0x3f09dc[_0x112c53[_0x165581(336)]],transitionInMobile:_0x5073f3[_0x112c53.animation_in_mobile],transitionOutMobile:_0x3f09dc[_0x112c53[_0x165581(339)]]}),$(_0x165581(303))[_0x165581(298)](_0x165581(302))[_0x165581(317)]({filter:_0x165581(315)})}function _0x2d0275(_0x107880){var _0x51898a=_0x165581;if(!_0x112c53[_0x107880]){const _0x101001=\"Error: '\"+_0x107880+\"' property is not provided.\";return console[_0x51898a(319)](_0x101001),_0x2fdcf0.reportDebugger(_0x101001),!1}return!0}}function _0x2197(){var _0x58ffb9=[\"error\",\"position\",\"target\",\"147843iDNjyv\",\"title\",\"2058664kSqAPq\",\"icon\",\"title_size\",\"503vhthAl\",\"flipInX\",\"pause\",\"fadeInRight\",\"fadeInDown\",\"title_color\",\"9Zomnnx\",\"bottomCenter\",\"13041650cdPJTO\",\"animation_out\",\"topRight\",\"fadeOutUp\",\"animation_out_mobile\",\"target_first\",\"fadeOutLeft\",\"bounceInLeft\",\"icon_color\",\"flipOutX\",\"bottomRight\",\"drag_close\",\"message_color\",\"topLeft\",\"closest\",\"992292ttlVuU\",\"530tQHWZM\",\"fadeOut\",\".iziToast-wrapper\",\".blurNone\",\"max_width\",\"message\",\"fadeOutDown\",\"994415gqEzGU\",\"32TJCvZZ\",\"linear\",\"center\",\"timeout\",\"fadeInUp\",\"ico-error\",\"2092404GbRTVR\",\"none\",\"close\",\"css\",\"topCenter\"];return(_0x2197=function(){return _0x58ffb9})()}!function(_0x44d2ad,_0x47001b){for(var _0x139b65=_0x1b37,_0x4c0714=_0x44d2ad();;)try{var _0xd695a8;if(227682===parseInt(_0x139b65(327))/1*(-parseInt(_0x139b65(300))/2)+-parseInt(_0x139b65(322))/3*(parseInt(_0x139b65(308))/4)+parseInt(_0x139b65(307))/5+-parseInt(_0x139b65(314))/6+-parseInt(_0x139b65(299))/7+-parseInt(_0x139b65(324))/8+parseInt(_0x139b65(333))/9*(parseInt(_0x139b65(335))/10))break;_0x4c0714.push(_0x4c0714.shift())}catch(_0x4c8d26){_0x4c0714.push(_0x4c0714.shift())}}(_0x2197,227682),client(properties,context)}"}}},"AAj":{"display":"5. Custom Toast","type":"client_side","fields":{"AAH":{"caption":"Title","default_val":"My title","editor":"DynamicValue","name":"title","optional":false,"rank":0,"value":"text"},"AAI":{"caption":"Message","default_val":"My message content","editor":"DynamicValue","name":"message","rank":1,"value":"text"},"AAL":{"caption":"Balloon form","default_val":false,"editor":"Checkbox","name":"balloon","rank":18},"AAM":{"caption":"Close button","default_val":true,"editor":"Checkbox","name":"close","rank":29},"AAN":{"caption":"Close using esc","default_val":false,"editor":"Checkbox","name":"close_escape","rank":30,"value":"boolean"},"AAO":{"caption":"Close when pressed","default_val":false,"editor":"Checkbox","name":"close_click","rank":31},"AAP":{"caption":"Position","default_val":"Top Right","editor":"Dropdown","name":"position","rank":12},"AAQ":{"caption":"Target","editor":"DynamicValue","name":"target","optional":true,"rank":13,"value":"text"},"AAR":{"caption":"Toast position","default_val":true,"editor":"Checkbox","name":"target_first","rank":14},"AAS":{"caption":"Timeout","default_val":5000,"editor":"DynamicValue","name":"timeout","rank":15,"value":"number"},"AAT":{"caption":"Animate inside","default_val":true,"editor":"Checkbox","name":"animate_inside","rank":22},"AAU":{"caption":"Swipe to close","default_val":true,"editor":"Checkbox","name":"drag_close","rank":32},"AAV":{"caption":"Pause on hover","default_val":true,"editor":"Checkbox","name":"pause","rank":23},"AAW":{"caption":"Restart on hover","default_val":false,"editor":"Checkbox","name":"restart","rank":24},"AAX":{"caption":"Progress bar","default_val":true,"editor":"Checkbox","name":"progressbar","rank":16}
82,"AAY":{"caption":"Progress bar color","default_val":"rgba(0, 255, 184, 1)","editor":"Color","name":"progressbarcolor","optional":true,"rank":17},"AAa":{"caption":"Animation In","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in","rank":25},"AAb":{"caption":"Animation Out","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out","rank":26},"AAc":{"caption":"Animation In Mobile","default_val":"fadeIn up","editor":"Dropdown","name":"animation_in_mobile","rank":27},"AAd":{"caption":"Animation Out Mobile","default_val":"fadeOut down","editor":"Dropdown","name":"animation_out_mobile","rank":28},"AAi":{"caption":"Image","editor":"DynamicValue","name":"image","optional":true,"rank":8,"value":"image"},"AAj":{"caption":"Image Width","default_val":50,"editor":"DynamicValue","name":"image_width","optional":true,"rank":9,"value":"number"},"AAk":{"caption":"icon","default_val":"fas fa-broom","editor":"DynamicValue","name":"icon","optional":true,"rank":10,"value":"text"},"AAl":{"caption":"Icon color","default_val":"rgba(255, 255, 255, 1)","editor":"Color","name":"icon_color","optional":true,"rank":11},"AAm":{"caption":"Title color","default_val":"rgba(255, 255, 255, 1)","editor":"Color","name":"title_color","optional":true,"rank":2},"AAn":{"caption":"Message color","default_val":"rgba(185, 188, 196, 1)","editor":"Color","name":"message_color","optional":true,"rank":4},"AAo":{"caption":"Background Color","default_val":"rgba(86, 92, 112, 1)","editor":"Color","name":"background_color","optional":true,"rank":7},"ABY":{"caption":"Title Size","editor":"DynamicValue","name":"title_size","optional":true,"rank":3,"value":"number"},"ABZ":{"caption":"Message Size","editor":"DynamicValue","name":"message_size","optional":true,"rank":5,"value":"number"},"ABa":{"caption":"Dark Theme","default_val":false,"editor":"Checkbox","name":"theme","rank":21},"ABb":{"caption":"Big Layout","default_val":false,"editor":"Checkbox","name":"layout","rank":19},"ABc":{"caption":"RTL Toast Direction","default_val":false,"editor":"Checkbox","name":"rtl","rank":20},"ACC":{"caption":"Max width toast","editor":"DynamicValue","name":"max_width","optional":true,"rank":6,"value":"number"}},"code":{"client":{"fn":"function(properties,context){function _0x872b(){var _0x538268=[\"show\",\"766766vGtIOI\",\"blurNone\",\"3399qoYTtS\",\"css\",\"close_escape\",\"close_click\",\"bottomRight\",\"237660BhVsVb\",\"184AqiScn\",\"icon\",\"animation_out_mobile\",\"1304885qJjadc\",\"message\",\"flipInX\",\"7BEaapj\",\"fadeInDown\",\"title\",\"restart\",\"fadeInRight\",\"flipOutX\",\"image\",\"fadeInLeft\",\"none\",\"reportDebugger\",\"bounceInUp\",\"max_width\",\"progressbarcolor\",\"error\",\"Error: '\",\"progressbar\",\"fadeIn\",\"linear\",\"bounceInRight\",\"balloon\",\"259258cjcFXE\",\"closest\",\"center\",\"title_color\",\"topRight\",\"target\",\"close\",\"fadeOut\",\"topLeft\",\"animation_in\",\"message_size\",\"pause\",\"image_width\",\"42786tiTSXF\",\"target_first\",\"bounceInLeft\",\"title_size\",\"topCenter\",\"84zplMCp\",\"animation_out\",\".blurNone\",\"136914alZbdT\",\"message_color\",\"animation_in_mobile\",\"animate_inside\",\"' property is not provided.\",\"3550NSnUfY\",\"position\",\"bounceInDown\"];return(_0x872b=function(){return _0x538268})()}function _0x2b39(_0x27cac2,_0x2501f1){var _0x872b86=_0x872b();return(_0x2b39=function(_0x2b39e1,_0x3707e5){var _0x5d6425;return _0x872b86[_0x2b39e1-=445]})(_0x27cac2,_0x2501f1)}function client(_0x16453b,_0x4733bd){var _0x294953=_0x2b39;if(_0x5585c5(_0x294953(493))&&_0x5585c5(_0x294953(497))){var _0x3dcc37={\"Top Right\":_0x294953(455),\"Top Center\":_0x294953(468),\"Top Left\":_0x294953(459),Center:_0x294953(453),\"Bottom Right\":_0x294953(487),\"Bottom Center\":\"bottomCenter\",\"Bottom Left\":\"bottomLeft\"},_0x24ae4a={\"bounceIn left\":_0x294953(466),\"bounceIn right\":_0x294953(449),\"bounceIn up\":_0x294953(505),\"bounceIn down\":_0x294953(479),fadeIn:_0x294953(447),\"fadeIn down\":_0x294953(496),\"fadeIn up\":\"fadeInUp\",\"fadeIn left\":_0x294953(502),\"fadeIn right\":_0x294953(499),flipInX:_0x294953(494)},_0x1d5bf2={fadeOut:_0x294953(458),\"fadeOut down\":\"fadeOutDown\",\"fadeOut up\":\"fadeOutUp\",\"fadeOut left\":\"fadeOutLeft\",\"fadeOut right\"
82:\"fadeOutRight\",flipOutX:_0x294953(500)};iziToast[_0x294953(480)]({class:_0x294953(482),title:_0x16453b[_0x294953(497)],titleColor:_0x16453b[_0x294953(454)],titleSize:_0x16453b.title_size,titleLineHeight:_0x16453b[_0x294953(467)],message:_0x16453b[_0x294953(493)],messageColor:_0x16453b[_0x294953(473)],messageSize:_0x16453b[_0x294953(461)],messageLineHeight:_0x16453b[_0x294953(461)],backgroundColor:_0x16453b.background_color,color:_0x16453b.background_color,icon:_0x16453b[_0x294953(490)],iconColor:_0x16453b.icon_color,theme:_0x16453b.theme?\"dark\":\"light\",layout:_0x16453b.layout?2:1,rtl:_0x16453b.rtl,image:_0x16453b[_0x294953(501)],imageWidth:_0x16453b[_0x294953(463)],maxWidth:_0x16453b[_0x294953(506)],balloon:_0x16453b[_0x294953(450)],close:_0x16453b[_0x294953(457)],closeOnEscape:_0x16453b[_0x294953(485)],closeOnClick:_0x16453b[_0x294953(486)],position:_0x3dcc37[_0x16453b[_0x294953(478)]],target:_0x16453b[_0x294953(456)]?\"#\"+_0x16453b[_0x294953(456)]:\"\",targetFirst:_0x16453b[_0x294953(465)],timeout:_0x16453b.timeout,animateInside:_0x16453b[_0x294953(475)],drag:_0x16453b.drag_close,pauseOnHover:_0x16453b[_0x294953(462)],resetOnHover:_0x16453b[_0x294953(498)],progressBar:_0x16453b[_0x294953(446)],progressBarColor:_0x16453b[_0x294953(507)],progressBarEasing:_0x294953(448),transitionIn:_0x24ae4a[_0x16453b[_0x294953(460)]],transitionOut:_0x1d5bf2[_0x16453b[_0x294953(470)]],transitionInMobile:_0x24ae4a[_0x16453b[_0x294953(474)]],transitionOutMobile:_0x1d5bf2[_0x16453b[_0x294953(491)]]}),$(_0x294953(471))[_0x294953(452)](\".iziToast-wrapper\")[_0x294953(484)]({filter:_0x294953(503)})}function _0x5585c5(_0xc5abb2){var _0x30007a=_0x294953;if(!_0x16453b[_0xc5abb2]){const _0x4bfa2c=_0x30007a(445)+_0xc5abb2+_0x30007a(476);return console[_0x30007a(508)](_0x4bfa2c),_0x4733bd[_0x30007a(504)](_0x4bfa2c),!1}return!0}}!function(_0x4fd1da,_0x139a48){for(var _0x1fbe4b=_0x2b39,_0x175e80=_0x4fd1da();;)try{var _0x1a36e9;if(498947===-parseInt(_0x1fbe4b(495))/1*(-parseInt(_0x1fbe4b(451))/2)+-parseInt(_0x1fbe4b(472))/3*(parseInt(_0x1fbe4b(469))/4)+parseInt(_0x1fbe4b(492))/5+-parseInt(_0x1fbe4b(488))/6+parseInt(_0x1fbe4b(481))/7+-parseInt(_0x1fbe4b(489))/8*(-parseInt(_0x1fbe4b(464))/9)+parseInt(_0x1fbe4b(477))/10*(parseInt(_0x1fbe4b(483))/11))break;_0x175e80.push(_0x175e80.shift())}catch(_0x5ef65a){_0x175e80.push(_0x175e80.shift())}}(_0x872b,498947),client(properties,context)}"}}},"AAk":{"display":"6. Clear Toasts","type":"client_side","code":{"client":{"fn":"function(properties,context){function _0x2dd4(
82){var _0x25430a=[\"10148STXyVi\",\"4998xGMnbA\",\"671nayvGz\",\"655jreZQb\",\"2966172gteYbb\",\"3692PYeBxq\",\"97070RcdOUw\",\"18248lAvtHL\",\"108876rDHJPN\",\"9hUGilb\",\"destroy\",\"1813PICwny\",\"7549656avYDqF\",\"118mFynND\"];return(_0x2dd4=function(){return _0x25430a})()}function _0x2308(_0x5cd06f,_0x315ce8){var _0x2dd4f4=_0x2dd4();return(_0x2308=function(_0x23083c,_0x11ff4e){var _0x5a0968;return _0x2dd4f4[_0x23083c-=466]})(_0x5cd06f,_0x315ce8)}function client(_0x5420fb,_0x3e38a4){var _0x32602d;iziToast[_0x2308(479)]()}!function(_0x2ab4ec,_0x2566ad){for(var _0x1ac7eb=_0x2308,_0x28ea27=_0x2ab4ec();;)try{var _0x24fc8a;if(527487===parseInt(_0x1ac7eb(468))/1*(-parseInt(_0x1ac7eb(469))/2)+-parseInt(_0x1ac7eb(473))/3+parseInt(_0x1ac7eb(476))/4*(-parseInt(_0x1ac7eb(472))/5)+parseInt(_0x1ac7eb(470))/6*(-parseInt(_0x1ac7eb(466))/7)+parseInt(_0x1ac7eb(467))/8*(parseInt(_0x1ac7eb(478))/9)+parseInt(_0x1ac7eb(475))/10*(-parseInt(_0x1ac7eb(471))/11)+-parseInt(_0x1ac7eb(477))/12*(-parseInt(_0x1ac7eb(474))/13))break;_0x28ea27.push(_0x28ea27.shift())}catch(_0x4881f2){_0x28ea27.push(_0x28ea27.shift())}}(_0x2dd4,527487),client(properties,context)}"}}}}};
83window._bubble_page_load_data.plugins_size['1529535510382x166541069778419700'] = 54342;
84window.preloaded['plugin/third_party:1529535510382x166541069778419700:1.37.0'] = true;
85window.plugins["1553889862898x186125300131692540"] = {"human":"Feather Icons","dependencies":{"use_jquery":true},"plugin_elements":{"AAC":{"display":"Feather Icon","property_applications":{"resizable":true,"MinWidth":true,"BoxShadow":true,"Font":false,"Background":true,"Border":true,"Padding":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":false,"autobinding_value":"text","fields":{"AAD":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"heart"},"AAE":{"caption":"Icon color","name":"color","rank":2,"editor":"Color","default_val":"rgba(51, 51, 51, 1)","in_style":true},"AAF":{"caption":"Stroke width (dynamic)","name":"strokeWidthDynamic","rank":7,"editor":"DynamicValue","in_style":true,"value":"number","optional":true},"AAI":{"caption":"Fill color","name":"fillColor","rank":5,"editor":"Color","default_val":"rgba(255, 255, 255, 0.01)","in_style":true},"AAJ":{"caption":"Include fill color? (dynamic)","name":"includeFillDynamic","rank":4,"editor":"DynamicValue","in_style":true,"value":"boolean","default_val":false,"optional":true},"AAK":{"caption":"Stroke line-cap","name":"strokeLineCap","rank":8,"editor":"Dropdown","default_val":"round","in_style":true},"AAL":{"caption":"Stroke line-join","name":"strokeLineJoin","rank":10,"editor":"Dropdown","in_style":true,"default_val":"round"},"AAP":{"caption":"Type (dynamic)","name":"typeDynamic","rank":1,"editor":"DynamicValue","optional":true,"value":"text"},"AAQ":{"caption":"Stroke line-cap (dynamic)","name":"strokeLineCapDynamic","rank":9,"editor":"DynamicValue","optional":true,"value":"text"},"AAR":{"caption":"Stroke line-join (dynamic)","name":"strokeLineJoinDynamic","rank":11,"editor":"DynamicValue","value":"text","optional":true},"AAT":{"caption":"Stroke width","name":"strokeWidth","rank":6,"editor":"StaticNumber","in_style":true,"default_val":1},"AAU":{"caption":"Include fill color?","name":"includeFill","rank":3,"editor":"Checkbox","default_val":false,"in_style":true},"AAV":{"caption":"Logs? (for developer)","name":"logs","rank":12,"editor":"DynamicValue","value":"boolean","default_val":false}},"states":{"AAO":{"caption":"Icon name","name":"iconName","value":"text","initialization_code":{"fn":"function(a,d){var b=a.type,c=a.typeDynamic;feather.icons[c]&&(b=c);return b};"}}},"events":{"AAM":{"caption":"is clicked","name":"onClick"}},"code":{"initialize":{"fn":"function(b,d){var c=\"id_\"+(Math.random()*Math.pow(2,54)).toString(18),a=document.createElement(\"div\");a.id=c;a.style=\"width:100%;height:100%;\";b.canvas.append(a);b.data.divId=c};"},"update":{"fn":"function(c,a,b){b=a.bubble.width;var q=a.bubble.height,k=a.type,l=a.typeDynamic,r=a.color,m=a.strokeWidth,n=a.strokeWidthDynamic,t=a.fillColor,p=a.includeFill,f=a.includeFillDynamic,d=a.strokeLineCap,g=a.strokeLineCapDynamic,e=a.strokeLineJoin,h=a.strokeLineJoinDynamic;feather.icons[l]&&(k=l);n&&(m=n);if(!0===f||!1===f)p=f;if(\"round\"===g||\"square\"===g)d=g;if(\"round\"===h||\"square\"===h)e=h;\"square\"===d&&(d=\"butt\");\"square\"===e&&(e=\"miter\");c=c.canvas.find(\"#\"+c.data.divId)[0];attributes=\n{};attributes.height=q;attributes.width=b;attributes.color=r;attributes[\"stroke-width\"]=m;p&&(attributes.fill=t);attributes[\"stroke-linecap\"]=d;attributes[\"stroke-linejoin\"]=e;attributes[\"pointer-events\"]=\"none\";a.logs&&console.log(attributes);b=feather.icons[k].toSvg(attributes);a.logs&&console.log(b);c.innerHTML=b};"},"reset":{"fn":"function(a,b){};"},"preview":{"fn":"function(f,a){var b=a.bubble.width,g=a.bubble.height,h=a.color,k=a.strokeWidth,l=a.fillColor,m=a.includeFill,c=a.strokeLineCap,d=a.strokeLineJoin;\"square\"===c&&(c=\"butt\");\"square\"===d&&(d=\"miter\");var e=document.createElement(\"div\");e.style=\"width:100%;height:100%;\";f.canvas.append(e);attributes={};attributes.height=g;attributes.width=b;attributes.color=h;attributes[\"stroke-width\"]=k;m&&(attributes.fill=l);attributes[\"stroke-linecap\"]=c;attributes[\"stroke-linejoin\"]=d;b=document.createElement(\"img\");\nb.src=\"//0b31f8978e3de2e7f696d652af3ccde2.cdn.bubble.io/f1560539190480x747431396671820500/feather.svg\";b.style=\"width:100%;height:100%;opacity:0.4;\";e.appendChild(b)};"}},"platform_type":"web"}}};
86window._bubble_page_load_data.plugins_size['1553889862898x186125300131692540'] = 4147;
87window.preloaded['plugin/third_party:1553889862898x186125300131692540:1.1.1'] = true;
88window.plugins["1567070071189x715225987957653500"] = {"human":"Simple HTML Audio Player","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Audio Player","property_applications":{"resizable":true,"MinWidth":true,"BoxShadow":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Audio","name":"audio","rank":0,"editor":"DynamicValue","value":"file"},"AAE":{"caption":"Autoplay","name":"autoplay","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"AAF":{"caption":"Default muted","name":"default_muted","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AAJ":{"caption":"Download button visible","name":"download_button_visible","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AAK":{"caption":"Playback speed","name":"playback_speed","rank":4,"editor":"DynamicValue","value":"number","default_val":1}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(a,p){const _0x474242=['MTU2NzA3MDA3MTE4OXg3MTUyMjU5ODc5NTc2NTM1MDA='];var _0x280427=_0x5800;
88(function(_0x245e7c,_0x583e94){var _0x2161a8={_0x48b5cb:0x15f,_0x14dda4:0x163,_0x414c11:0x161,_0x436b42:0x159,_0x4386f0:0x15d},_0x1acfa3=_0x5800,_0x11614c=_0x245e7c();while(!![]){try{var _0x2ef416=parseInt(_0x1acfa3(_0x2161a8._0x48b5cb))/0x1+-parseInt(_0x1acfa3(0x165))/0x2*(parseInt(_0x1acfa3(0x15e))/0x3)+-parseInt(_0x1acfa3(0x166))/0x4*(parseInt(_0x1acfa3(0x167))/0x5)+-parseInt(_0x1acfa3(_0x2161a8._0x14dda4))/0x6+-parseInt(_0x1acfa3(_0x2161a8._0x414c11))/0x7*(-parseInt(_0x1acfa3(_0x2161a8._0x436b42))/0x8)+parseInt(_0x1acfa3(_0x2161a8._0x4386f0))/0x9+-parseInt(_0x1acfa3(0x15c))/0xa;if(_0x2ef416===_0x583e94)break;else _0x11614c['push'](_0x11614c['shift']());}catch(_0x588e4d){_0x11614c['push'](_0x11614c['shift']());}}}(_0x5f38,0xe4009));function _0x5800(_0x10f225,_0x5efbde){var _0x5f3821=_0x5f38();return _0x5800=function(_0x5800ce,_0x190909){_0x5800ce=_0x5800ce-0x159;var _0x411e74=_0x5f3821[_0x5800ce];if(_0x5800['ztzxfb']===undefined){var _0x24271e=function(_0x7fccbd){var _0x5d5eb7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1c8737='',_0x2b9ddb='';for(var _0x3c93ea=0x0,_0x1bb330,_0x1c4273,_0x424fe0=0x0;_0x1c4273=_0x7fccbd['charAt'](_0x424fe0++);~_0x1c4273&&(_0x1bb330=_0x3c93ea%0x4?_0x1bb330*0x40+_0x1c4273:_0x1c4273,_0x3c93ea++%0x4)?_0x1c8737+=String['fromCharCode'](0xff&_0x1bb330>>(-0x2*_0x3c93ea&0x6)):0x0){_0x1c4273=_0x5d5eb7['indexOf'](_0x1c4273);}for(var _0x585d14=0x0,_0x5d70a3=_0x1c8737['length'];_0x585d14<_0x5d70a3;_0x585d14++){_0x2b9ddb+='%'+('00'+_0x1c8737['charCodeAt'](_0x585d14)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b9ddb);};_0x5800['IygRrr']=_0x24271e,_0x10f225=arguments,_0x5800['ztzxfb']=!![];}var _0x53c215=_0x5f3821[0x0],_0x86d217=_0x5800ce+_0x53c215,_0x2d9f29=_0x10f225[_0x86d217];return!_0x2d9f29?(_0x411e74=_0x5800['IygRrr'](_0x411e74),_0x10f225[_0x86d217]=_0x411e74):_0x411e74=_0x2d9f29,_0x411e74;},_0x5800(_0x10f225,_0x5efbde);}{a['data']['wrapp']=$(_0x280427(0x15a)),a[_0x280427(0x160)][_0x280427(0x15b)](a[_0x280427(0x164)][_0x280427(0x162)]);}function _0x5f38(){var _0x427ba4=['yxbWzw5K','odGWmJq2mfzJDLzAAq','mte0nJK2mdbyD2XPsu4','mtqXmZeXn2XKEwPnAG','mtC5mJi4owvyz2juza','y2fUDMfZ','mtrLteDTrfm','D3jHCha','mZmXnduZmLHVs2r6ta','zgf0yq','nLPLtxLyCG','mJH2zw9dC0i','nJe5ntm1zhLPEvjm','nJmYmtm2ohfiuMDpzq','pgrPDIbJBgfZCZ0IyxvKAw9WBhvNAw53C
88MfWCgvYiJ48l2rPDJ4'];_0x5f38=function(){return _0x427ba4;};return _0x5f38();}}"},"update":{"fn":"function(o,e,t){const _0x474242=['MTU2NzA3MDA3MTE4OXg3MTUyMjU5ODc5NTc2NTM1MDA='];function _0x3365(_0x334ed2,_0x5ef710){const _0x20185c=_0x2018();return _0x3365=function(_0x336537,_0x282542){_0x336537=_0x336537-0x14d;let _0x2b058a=_0x20185c[_0x336537];if(_0x3365['wwlaTW']===undefined){var _0x502db9=function(_0x5a2968){const _0x2c2e4f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5049d5='',_0x4a1d12='';for(let _0x344198=0x0,_0x1b5456,_0x428608,_0x507013=0x0;_0x428608=_0x5a2968['charAt'](_0x507013++);~_0x428608&&(_0x1b5456=_0x344198%0x4?_0x1b5456*0x40+_0x428608:_0x428608,_0x344198++%0x4)?_0x5049d5+=String['fromCharCode'](0xff&_0x1b5456>>(-0x2*_0x344198&0x6)):0x0){_0x428608=_0x2c2e4f['indexOf'](_0x428608);}for(let _0x12ee89=0x0,_0x2a28f3=_0x5049d5['length'];_0x12ee89<_0x2a28f3;_0x12ee89++){_0x4a1d12+='%'+('00'+_0x5049d5['charCodeAt'](_0x12ee89)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4a1d12);};_0x3365['tigKPh']=_0x502db9,_0x334ed2=arguments,_0x3365['wwlaTW']=!![];}const _0x4df6da=_0x20185c[0x0],_0x55cada=_0x336537+_0x4df6da,_0x10d185=_0x334ed2[_0x55cada];return!_0x10d185?(_0x2b058a=_0x3365['tigKPh'](_0x2b058a),_0x334ed2[_0x55cada]=_0x2b058a):_0x2b058a=_0x10d185,_0x2b058a;},_0x3365(_0x334ed2,_0x5ef710);}const _0x5b0801=_0x3365;(function(_0xc73c98,_0x5f2ec1){const _0x4832dc={_0xdc4a0d:0x15a,_0x57dd4b:0x152,_0x560cb7:0x14f,_0x3d1df2:0x15b,_0x24f5cd:0x155,_0x209086:0x15c,_0x263a0d:0x150},_0x129789=_0x3365,_0x47e3e0=_0xc73c98();while(!![]){try{const _0x4ec32c=-parseInt(_0x129789(_0x4832dc._0xdc4a0d))/0x1+parseInt(_0x129789(_0x4832dc._0x57dd4b))/0x2*(parseInt(_0x129789(0x156))/0x3)+parseInt(_0x129789(0x154))/0x4*(-parseInt(_0x129789(_0x4832dc._0x560cb7))/0x5)+-parseInt(_0x129789(_0x4832dc._0x3d1df2))/0x6*(-parseInt(_0x129789(0x15e))/0x7)+-parseInt(_0x129789(_0x4832dc._0x24f5cd))/0x8+parseInt(_0x129789(0x14d))/0x9+parseInt(_0x129789(_0x4832dc._0x209086))/0xa*(parseInt(_0x129789(_0x4832dc._0x263a0d))/0xb);if(_0x4ec32c===_0x5f2ec1)break;else _0x47e3e0['push'](_0x47e3e0['shift']());}catch(_0x3ef5cf){_0x47e3e0['push'](_0x47e3e0['shift']());}}}(_0x2018,0x92585));{o['data']['wrapp'][_0x5b0801(0x161)]();let a=e[_0x5b0801(0x15d)],d;d=0x0==e[_0x5b0801(0x14e)]?$(_0x5b0801(0x153)+a+_0x5b0801(0x15f)):$(_0x5b0801(0x157)+a+'\\x22>Your\\x20browser\\x20does\\x20not\\x20support\\x20the<code>audio</code>\\x20element.</audio>'),d[_0x5b0801(0x158)](0x0)[_0x5b0801(0x160)]=e['autoplay'],d[_0x5b0801(0x158)](0x0)[_0x5b0801(0x159)]=e['default_muted'],d[_0x5b0801(0x158)](0x0)['playbackRate']=e[_0x5b0801(0x151)],o['data']['wrapp']['append'](d);}function _0x2018(){const _0x2b69c5=['yxv0B3bSyxK','zw1WDhK','odGWmZy3nhzXzLHYqW','zg93BMXVywrFyNv0Dg9Ux3zPC2LIBgu','mJmWmfzbDvjvvW','nZm0mZznrxjArLy','CgXHEwjHy2TFC3bLzwq','mZiWmMH6tLveqW','pgf1zgLVignVBNrYB2XZignVBNrYB2XZtgLZDd0IBM9KB3DUBg9HzciGChjLBg9Hzd0Iyxv0BYiGC3jJpsi','mtu1mLzsrfH0tq','ntiWodGWmfjtBunnAW','ndaYv3npBvv1','pgf1zgLVignVBNrYB2XZihbYzwXVywq9iMf1Dg8IihnYyZ0I','z2v0','Bxv0zwq','otqWotq4t3rLvujs','mtHmsvztswq','mtaZmfvxCNvUva','yxvKAw8','mte0mJqYmunoEMrVzG','iJ5zB3vYigjYB3DZzxiGzg9LCYbUB3qGC3vWCg9YDcb0Agu8y29Kzt5HDwrPBZWVy29Kzt4GzwXLBwvUDc48l2f1zgLVpG'];_0x2018=function(){return _0x2b69c5;};return _0x2018();}}"},"reset":{"fn":"function(n,t){const _0x474242=['MTU2NzA3MDA3MTE4OXg3MTUyMjU5ODc5NTc2NTM1MDA='];{}}"}},"platform_type":"web"}}};
89window._bubble_page_load_data.plugins_size['1567070071189x715225987957653500'] = 6903;
90window.preloaded['plugin/third_party:1567070071189x715225987957653500:1.3.2'] = true;
91window.plugins["1587152243584x838254107788574700"] = {"human":"Custom Audio Player","dependencies":{"use_jquery":false,"plugin_api_version":"2"},"plugin_elements":{"AAC":{"display":"Custom Audio Player","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"add_large_file_upload_properties":false,"fields":{"AAL":{"caption":"MP3 File","name":"audio_file","rank":0,"editor":"DynamicValue","value":"file"},"AAQ":{"caption":"Slider color","name":"slider_color","rank":1,"editor":"DynamicValue","value":"text","default_val":"#f4f4f4"},"AAR":{"caption":"Slider thumb color","name":"slider_thumb_color","rank":2,"editor":"DynamicValue","value":"text","default_val":"#037bfb"}},"states":{"AAD":{"caption":"Current Time","name":"current_time","value":"text","initialization_code":{"fn":"function(properties,context){return 0}"}},"AAM":{"caption":"Duration","name":"duration","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAS":{"caption":"Audio is playing","name":"isplaying","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAN":{"caption":"audio has ended","name":"audio_ended"}},"actions":{"AAE":{"caption":"Play Audio","code":{"fn":"function(instance,properties,context){instance.data.now=\"play\",instance.data.audioElement.play(),instance.publishState(\"isplaying\",!0);var x=setInterval((function(){if(\"play\"===instance.data.now){var currentTime=instance.data.audioElement.currentTime;instance.publishState(\"current_time\",instance.data.getTime(currentTime)),instance.data.slider.value=currentTime}else clearInterval(x)}),1e3)}"}},"AAF":{"caption":"Pause Audio","code":{"fn":"function(instance,properties,context){instance.publishState(\"isplaying\",!1),instance.data.now=\"pause\",instance.data.audioElement.pause(),instance.publishState(\"current_time\",instance.data.getTime(instance.data.audioElement.currentTime))}"}},"AAG":{"caption":"Stop Audio","code":{"fn":"function(instance,properties,context){instance.publishState(\"isplaying\",!1),instance.data.now=\"stop\",instance.data.audioElement.pause(),instance.data.audioElement.currentTime=0,instance.publishState(\"current_time\",\"0:00\"),instance.data.slider.value=0}"}},"AAH":{"caption":"Skip Ahead","code":{"fn":"function(instance,properties,context){var currentTime;instance.data.now=\"skipAhead\",instance.data.audioElement.currentTime+=properties.time,instance.data.audioElement.play();var x=setInterval((function(){\"skipAhead\"===instance.data.now?(instance.publishState(\"isplaying\",!0),currentTime=instance.data.audioElement.currentTime,instance.publishState(\"current_time\",instance.data.getTime(currentTime)),instance.data.slider.value=currentTime):clearInterval(x)}),1e3)}"},"fields":{"AAJ":{"caption":"time (in seconds)","name":"time","rank":0,"editor":"DynamicValue","value":"number","default_val":15}}},"AAI":{"caption":"Skip Back","code":{"fn":"function(instance,properties,context){var currentTime;
91instance.data.now=\"skipBack\",instance.data.audioElement.currentTime-=properties.time,instance.data.audioElement.play();var x=setInterval((function(){\"skipBack\"===instance.data.now?(instance.publishState(\"isplaying\",!0),currentTime=instance.data.audioElement.currentTime,instance.publishState(\"current_time\",instance.data.getTime(currentTime)),instance.data.slider.value=currentTime):clearInterval(x)}),1e3)}"},"fields":{"AAK":{"caption":"time (in seconds)","name":"time","rank":0,"editor":"DynamicValue","value":"number","default_val":15}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n    \n    var sliderPreview = document.createElement(\"style\") \n     var slider = document.createElement(\"Input\")\n    \t\tslider.setAttribute(\"type\", \"range\")\n            slider.setAttribute(\"value\", 0),\n            slider.setAttribute(\"min\", 0),\n            slider.setAttribute(\"max\", 100)\n    \n    sliderPreview.textContent = `.slider {\n    width: 100%;\n    height: 2px;\n    background: ${properties.slider_color};\n    -webkit-appearance: none;\n\t\n    outline: none;\n    border-radius: 2px;\n\n}\n\n.slider::-webkit-slider-thumb {\n    -webkit-appearance: none;\n    width: 20px;\n    height: 20px;\n    border-radius: 50%;\n    background: ${properties.slider_thumb_color};\n}`\n    \n    \n    document.head.appendChild(sliderPreview);\n    \n    slider.setAttribute(\"class\", \"slider\")\n    \n    \n    document.body.appendChild(slider)\n\n\n}"},"initialize":{"fn":"function(instance,context){instance.publishState(\"isplaying\",!1),instance.publishState(\"current_time\",\"00:00\"),instance.data.audioLink=null,instance.data.audioElement=document.createElement(\"Audio\"),instance.data.sliderStyle=document.createElement(\"style\"),instance.data.slider=document.createElement(\"Input\"),instance.data.now=\"start\",instance.data.getTime=function getTime(d){d=Number(d);var h=Math.floor(d/3600),m=Math.floor(d%3600/60),s=Math.floor(d%3600%60),hDisplay,mDisplay,sDisplay;return(hDisplay=h>0?h+\":\":\"\")+(mDisplay=0===m?\"00:\":m<10?\"0\"+m+\":\":m+\":\")+(sDisplay=0===s?\"00\":s<10?\"0\"+s:s)}}"},"update":{"fn":"function(instance,properties,context){var audioLink=instance.data.audioLink,audioElement=instance.data.audioElement,isMouseDown=!1,sliderStyle=instance.data.sliderStyle,slider=instance.data.slider;properties.audio_file&&(audioLink=properties.audio_file,instance.data.audioLink=audioLink,audioElement.setAttribute(\"src\",audioLink),audioElement.setAttribute(\"preload\",\"metadata\"),audioElement.currentTime=0,instance.publishState(\"current_time\",\"00:00\"),audioElement.onloadedmetadata=function(){console.log(audioElement.duration),instance.data.duration=instance.data.getTime(audioElement.duration),instance.publishState(\"duration\",instance.data.duration),sliderStyle.textContent?(slider.setAttribute(\"max\",audioElement.duration),slider.value=\"0\"):(sliderStyle.textContent=`.slider {\\n    \\t\\t\\t\\twidth: 98%;\\n                    height: 2px;\\n                    background: ${properties.slider_color};\\n                    -webkit-appearance: none;\\n                    outline: none;\\n                    border-radius: 2px;\\n                \\t}\\n\\n                .slider::-webkit-slider-thumb {\\n                    -webkit-appearance: none;\\n                    width: 20px;\\n                    height: 20px;\\n                    border-radius: 50%;\\n                    background: ${properties.slider_thumb_color};\\n                \\t}`,document.head.appendChild(sliderStyle),slider.setAttribute(\"type\",\"range\"),slider.setAttribute(\"class\",\"slider\"),slider.setAttribute(\"value\",audioElement.currentTime),slider.setAttribute(\"min\",\"0\"),slider.setAttribute(\"max\",audioElement.duration),slider.addEventListener(\"mouseup\",(function(e){function changeValue(value){audioElement.currentTime=value,audioElement.play(),instance.publishState(\"isplaying\",!0);let x=setInterval((function(){isMouseDown||\"playerSkip\"!==instance.data.now?clearInterval(x):(slider.value=audioElement.currentTime,instance.publishState(\"current_time\",instance.data.getTime(audioElement.currentTime)))}),1e3)}isMouseDown=!1,instance.data.now=\"playerSkip\",changeValue(e.target.value)})),slider.addEventListener(\"touchend\",(function(e){function changeValue(value){audioElement.currentTime=value,audioElement.play(),instance.publishState(\"isplaying\",!0);let x=setInterval((function(){isMouseDown||\"playerSkip\"!==instance.data.now?clearInterval(x):(slider.value=audioElement.currentTime,instance.publishState(\"current_time\",instance.data.getTime(audioElement.currentTime)))}),1e3)}isMouseDown=!1,instance.data.now=\"playerSkip\",changeValue(e.target.value)})),slider.addEventListener(\"touchstart\",(function(e){isMouseDown=!0,slider.value=e.target.value})),slider.addEventListener(\"mousedown\",(function(e){isMouseDown=!0,slider.value=e.target.value})),audioElement.addEventListener(\"ended\",(function(){instance.publishState(\"isplaying\",!1),instance.data.now=\"playerEnd\",slider.value=0,instance.triggerEvent(\"audio_ended\"),instance.publishState(\"current_time\",\"00:00\")})),slider.max=audioElement.duration,instance.canvas.appendChild(slider),instance.data.slider=slider)})}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
92window._bubble_page_load_data.plugins_size['1587152243584x838254107788574700'] = 8287;
93window.preloaded['plugin/third_party:1587152243584x838254107788574700:1.6.0'] = true;
94window.plugins["1656491011335x675939450810269700"] = {"human":"Simple Share - Social Media","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAl":{"display":"Wonderful Share Buttons","property_applications":{"resizable":true,"MinWidth":true,"Backgroun
94d":true,"Border":true,"Padding":false,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAU":{"caption":"Button Text","name":"displayText","rank":1,"editor":"DynamicValue","value":"text","default_val":"Share on %s","optional":true},"AAW":{"caption":"URL To Share","name":"shareUrl","rank":2,"editor":"DynamicValue","value":"text","default_val":"https://bubble.io/","optional":true},"AAX":{"caption":"Description","name":"description","rank":3,"editor":"DynamicValue","value":"text","default_val":"Wonderful Share Buttons is light-weight, super fast and easy!","optional":true},"AAm":{"caption":"Target","name":"pageTarget","rank":4,"editor":"Dropdown","default_val":"Popup","in_style":true},"AAn":{"caption":"Slot 1","name":"slot1","rank":6,"editor":"Dropdown","default_val":"Facebook"},"AAo":{"caption":"Slot 2","name":"slot2","rank":7,"editor":"Dropdown","default_val":"Twitter"},"AAp":{"caption":"Slot 3","name":"slot3","rank":8,"editor":"Dropdown","default_val":"LinkedIn"},"AAq":{"caption":"Slot 4","name":"slot4","rank":9,"editor":"Dropdown","default_val":"Email"},"AAr":{"caption":"Slot 5","name":"slot5","rank":10,"editor":"Dropdown","default_val":"Null"},"AAs":{"caption":"Slot 6","name":"slot6","rank":11,"editor":"Dropdown","default_val":"Null"},"AAt":{"caption":"Slot 7","name":"slot7","rank":12,"editor":"Dropdown","default_val":"Null"},"AAu":{"caption":"Slot 8","name":"slot8","rank":13,"editor":"Dropdown","default_val":"Null"},"AAv":{"caption":"Slot 9","name":"slot9","rank":14,"editor":"Dropdown","default_val":"Null"},"AAw":{"caption":"Slot 10","name":"slot10","rank":15,"editor":"Dropdown","default_val":"Null"},"AAx":{"caption":"Slot 11","name":"slot11","rank":16,"editor":"Dropdown","default_val":"Null"},"AAy":{"caption":"Slot 12","name":"slot12","rank":17,"editor":"Dropdown","default_val":"Null"},"AAz":{"caption":"*** ABOUT BUTTON TEXT: When you enter \"%s\", the name of the social media app will be written according to which social media app the button belongs to. ***","name":"info","rank":0,"editor":"Label"},"ABA":{"caption":"*** With slots, you can show the buttons in the order you want. We do not recommend showing the same social media app in more than one slot. ***","name":"info2","rank":5,"editor":"Label"},"ABB":{"caption":"Slot 13","name":"slot13","rank":18,"editor":"Dropdown","default_val":"Null"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n  var d = document.createElement(\"div\")\n  d.id = \"loaderr preview\"\n  d.style.display = \"flex\"\n  d.style.width = properties.bubble.width-0 + \"px\"\n  d.style.height = properties.bubble.height-0 + \"px\"\n  d.style.overflow = \"hidden\"\n  d.style.justifyContent = \"center\"\n  d.style.background = \"none\"\n  var x = document.createElement(\"IMG\");\n  x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1648210251773x808269200674233600/icons8-share-100%20%283%29.png\")\n  var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n  x.style.width = \"100px\"\n    x.style.height = \"100px\"\n  x.style.verticalAlign = \"middle\"\n    x.setAttribute(\"transform\", \"translateX(50%) translateY(50%)\")\n  d.appendChild(x)\n  var e = []\n  \n  \n  instance.canvas[0].appendChild(d)\n  var iconScale = x.offsetWidth / 100\n  e.forEach(element => element.style.fontSize = iconScale * 100 + \"%\") \n\n}"},"initialize":{"fn":"function(instance,context){instance.data.randomId=Math.floor(1e3*Math.random()),instance.data.parseText=function(text){const regex=/\\[(.*?)\\]/g,parsedText=undefined;return text.replace(regex,\"\")},instance.data.urlEncode=function(text){const encodedText=undefined;return encodeURIComponent(text)}}"},"update":{"fn":"function(instance,properties,context){let randomId=instance.data.randomId,parseText=instance.data.parseText,urlEncode=instance.data.urlEncode;var displayText=\"\",buttonSize=\"small\";properties.displayText&&(displayText=properties.displayText,buttonSize=\"large\");var shareUrl=\"\";properties.shareUrl&&(shareUrl=urlEncode(properties.shareUrl));var description=\"\";function openPopup(url){window.open(url,\"name\",\"width=600,height=400\")}properties.description&&(description=urlEncode(parseText(properties.description))),description=(description=(description=(description=(description=(description=(description=(description=(description=(description=(description=(description=description.replace(\" \",\"%20\")).replace(\"!\",\"%21\")).replace('\"',\"%22\")).replace(\"#\",\"%23\")).replace(\"$\",\"%24\")).replace(\"&\",\"%26\")).replace(\"'\",\"%27\")).replace(\"(\",\"%28\")).replace(\")\",\"%29\")).replace(\"*\",\"%2A\")).replace(\"+\",\"%2B\")).replace(\"\\n\",\"%0A\");var samePage=!0;
94\"New Tab\"==properties.pageTarget&&(samePage=!1);const orderArray=[properties.slot1,properties.slot2,properties.slot3,properties.slot4,properties.slot5,properties.slot6,properties.slot7,properties.slot8,properties.slot9,properties.slot10,properties.slot11,properties.slot12,properties.slot13];var largeSolidFacebook='<a class=\"resp-sharing-button__link\" id=\"wonderfulFacebook'+randomId+'\" href=\"https://facebook.com/sharer/sharer.php?u='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Facebook\")+'\"><div class=\"resp-sharing-button resp-sharing-button--facebook resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solidcircle\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z\"/></svg></div>'+displayText.replace(\"%s\",\"Facebook\")+\"</div></a>\",largeSolidTwitter='<a class=\"resp-sharing-button__link\" id=\"wonderfulTwitter'+randomId+'\" href=\"https://twitter.com/intent/tweet/?text='+description.replace(\" \",\"%20\")+\"&amp;url=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"X\")+'\"><div class=\"resp-sharing-button resp-sharing-button--twitter resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" shape-rendering=\"geometricPrecision\" text-rendering=\"geometricPrecision\" image-rendering=\"optimizeQuality\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" viewBox=\"0 0 512 462.799\"><path fill-rule=\"nonzero\" d=\"M403.229 0h78.506L310.219 196.04 512 462.799H354.002L230.261 301.007 88.669 462.799h-78.56l183.455-209.683L0 0h161.999l111.856 147.88L403.229 0zm-27.556 415.805h43.505L138.363 44.527h-46.68l283.99 371.278z\"/></svg></div>'+displayText.replace(\"%s\",\"X\")+\"</div></a>\",largeSolidTumblr='<a class=\"resp-sharing-button__link\" id=\"wonderfulTumblr'+randomId+'\" href=\"https://www.tumblr.com/widgets/share/tool?posttype=link&amp;title='+description.replace(\" \",\"%20\")+\"&amp;caption=\"+description.replace(\" \",\"%20\")+\"&amp;content=\"+shareUrl+\"&amp;canonicalUrl=\"+shareUrl+'&amp;shareSource=tumblr_share_button\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Tumblr\")+'\"><div class=\"resp-sharing-button resp-sharing-button--tumblr resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13.5.5v5h5v4h-5V15c0 5 3.5 4.4 6 2.8v4.4c-6.7 3.2-12 0-12-4.2V9.5h-3V6.7c1-.3 2.2-.7 3-1.3.5-.5 1-1.2 1.4-2 .3-.7.6-1.7.7-3h3.8z\"/></svg></div>'+displayText.replace(\"%s\",\"Tumblr\")+\"</div></a>\",largeSolidEmail='<a class=\"resp-sharing-button__link\" href=\"mailto:?subject='+description.replace(\" \",\"%20\")+\"&amp;body=\"+shareUrl+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"E-Mail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--email resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z\"/></svg></div>'+displayText.replace(\"%s\",\"E-Mail\")+\"</div></a>\",largeSolidPinterest='<a class=\"resp-sharing-button__link\" id=\"wonderfulPinterest'+randomId+'\" href=\"https://pinterest.com/pin/create/button/?url='+shareUrl
94+\"&amp;media=\"+shareUrl+\"&amp;description=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Pinterest\")+'\"><div class=\"resp-sharing-button resp-sharing-button--pinterest resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z\"/></svg></div>'+displayText.replace(\"%s\",\"Pinterest\")+\"</div></a>\",largeSolidLinkedin='<a class=\"resp-sharing-button__link\" id=\"wonderfulLinkedin'+randomId+'\" href=\"https://www.linkedin.com/shareArticle?mini=true&amp;url='+shareUrl+\"&amp;title=\"+description.replace(\" \",\"%20\")+\"&amp;summary=\"+description.replace(\" \",\"%20\")+\"&amp;source=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"LinkedIn\")+'\"><div class=\"resp-sharing-button resp-sharing-button--linkedin resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z\"/></svg></div>'+displayText.replace(\"%s\",\"LinkedIn\")+\"</div></a>\",largeSolidReddit='<a class=\"resp-sharing-button__link\" id=\"wonderfulReddit'+randomId+'\" href=\"https://reddit.com/submit/?url='+shareUrl+\"&amp;resubmit=true&amp;title=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Reddit\")+'\"><div class=\"resp-sharing-button resp-sharing-button--reddit resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z\"/></svg></div>'+displayText.replace(\"%s\",\"Reddit\")+\"</div></a>\",largeSolidXing='<a class=\"resp-sharing-button__link\" id=\"wonderfulXing'+randomId+'\" href=\"https://www.xing.com/app/user?op=share;url='+shareUrl+\";title=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"XING\")+'\"><div class=\"resp-sharing-button resp-sharing-button--xing resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z\"/></svg></div>'+displayText.replace(\"%s\",\"XING\")+\"</div></a>\",largeSolidWhatsapp='<a class=\"resp-sharing-button__link\" href=\"https://wa.me?text='+description.replace(\" \",\"%20\")+\"%20\"+shareUrl
94+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"WhatsApp\")+'\"><div class=\"resp-sharing-button resp-sharing-button--whatsapp resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z\"/></svg></div>'+displayText.replace(\"%s\",\"WhatsApp\")+\"</div></a>\",largeSolidHackernews='<a class=\"resp-sharing-button__link\" id=\"wonderfulHackernews'+randomId+'\" href=\"https://news.ycombinator.com/submitlink?u='+shareUrl+\"&amp;t=\"+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Hacker News\")+'\"><div class=\"resp-sharing-button resp-sharing-button--hackernews resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\"><path fill-rule=\"evenodd\" d=\"M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z\"></path></svg></div>'+displayText.replace(\"%s\",\"Hacker News\")+\"</div></a>\",largeSolidVk='<a class=\"resp-sharing-button__link\" id=\"wonderfulVk'+randomId+'\" href=\"http://vk.com/share.php?title='+description.replace(\" \",\"%20\")+\"&amp;url=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"VK\")+'\"><div class=\"resp-sharing-button resp-sharing-button--vk resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z\"/></svg></div>'+displayText.replace(\"%s\",\"VK\")+\"</div></a>\",largeSolidTelegram='<a class=\"resp-sharing-button__link\" id=\"wonderfulTelegram'+randomId+'\" href=\"https://telegram.me/share/url?text='+description.replace(\" \",\"%20\")+\"&amp;url=\"+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Telegram\")+'\"><div class=\"resp-sharing-button resp-sharing-button--telegram resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z\"/></svg></div>'+displayText.replace(\"%s\",\"Telegram\")+\"</div></a>\",largeSolidGmail='<a class=\"resp-sharing-button__link\" id=\"wonderfulGmail'+randomId+'\" href=\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su='+description.replace(\" \",\"%20\")+\"&body=\"+shareUrl
94+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Gmail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--gmail resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"48\"  height=\"48\" viewBox=\"0 0 48 48\" style=\" fill:#000000;\"><path fill=\"#4caf50\" d=\"M45,16.2l-5,2.75l-5,4.75L35,40h7c1.657,0,3-1.343,3-3V16.2z\"></path><path fill=\"#1e88e5\" d=\"M3,16.2l3.614,1.71L13,23.7V40H6c-1.657,0-3-1.343-3-3V16.2z\"></path><polygon fill=\"#e53935\" points=\"35,11.2 24,19.45 13,11.2 12,17 13,23.7 24,31.95 35,23.7 36,17\"></polygon><path fill=\"#c62828\" d=\"M3,12.298V16.2l10,7.5V11.2L9.876,8.859C9.132,8.301,8.228,8,7.298,8h0C4.924,8,3,9.924,3,12.298z\"></path><path fill=\"#fbc02d\" d=\"M45,12.298V16.2l-10,7.5V11.2l3.124-2.341C38.868,8.301,39.772,8,40.702,8h0 C43.076,8,45,9.924,45,12.298z\"></path></svg></div>'+displayText.replace(\"%s\",\"Gmail\")+\"</div></a>\",htmlContent=\"\",i;for(i=0;i<orderArray.length;i++)\"facebook\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidFacebook),\"twitter\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidTwitter),\"tumblr\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidTumblr),\"email\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidEmail),\"pinterest\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidPinterest),\"linkedin\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidLinkedin),\"reddit\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidReddit),\"xing\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidXing),\"whatsapp\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidWhatsapp),\"hackernews\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidHackernews),\"vk\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidVk),\"telegram\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidTelegram),\"gmail\"==orderArray[i].toLowerCase()&&(htmlContent+=largeSolidGmail);var elem=document.getElementById(\"wonderfulShare\"+randomId);elem&&elem.remove(),instance.canvas.append('<div id=\"wonderfulShare'+randomId+'\">'+htmlContent+\"</div>\"),samePage&&(document.getElementById(\"wonderfulTwitter\"+randomId)&&document.getElementById(\"wonderfulTwitter\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://twitter.com/intent/tweet/?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl)})),document.getElementById(\"wonderfulFacebook\"+randomId)&&document.getElementById(\"wonderfulFacebook\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://facebook.com/sharer/sharer.php?u=\"+shareUrl+\"&quote=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulTumblr\"+randomId)&&document.getElementById(\"wonderfulTumblr\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://www.tumblr.com/widgets/share/tool?posttype=link&title=\"+description.replace(\" \",\"%20\")+\"&caption=\"+description.replace(\" \",\"%20\")+\"&content=\"+shareUrl+\"&canonicalUrl=\"+shareUrl+\"&shareSource=tumblr_share_button\")})),document.getElementById(\"wonderfulPinterest\"+randomId)&&document.getElementById(\"wonderfulPinterest\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://pinterest.com/pin/create/button/?url=\"+shareUrl+\"&media=\"+shareUrl+\"&description=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulLinkedin\"+randomId)&&document.getElementById(\"wonderfulLinkedin\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://www.linkedin.com/feed/?shareActive=true&text=\"+(description+\" \"+shareUrl))})),document.getElementById(\"wonderfulReddit\"+randomId)&&document.getElementById(\"wonderfulReddit\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://reddit.com/submit/?url=\"+shareUrl+\"&resubmit=true&title=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulXing\"+randomId)&&document.getElementById(\"wonderfulXing\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://www.xing.com/app/user?op=share;
94url=\"+shareUrl+\";title=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulHackernews\"+randomId)&&document.getElementById(\"wonderfulHackernews\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://news.ycombinator.com/submitlink?u=\"+shareUrl+\"&t=\"+description.replace(\" \",\"%20\"))})),document.getElementById(\"wonderfulVk\"+randomId)&&document.getElementById(\"wonderfulVk\"+randomId).addEventListener(\"click\",(function(){openPopup(\"http://vk.com/share.php?title=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl)})),document.getElementById(\"wonderfulTelegram\"+randomId)&&document.getElementById(\"wonderfulTelegram\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://telegram.me/share/url?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl)})),document.getElementById(\"wonderfulGmail\"+randomId)&&document.getElementById(\"wonderfulGmail\"+randomId).addEventListener(\"click\",(function(){openPopup(\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su=\"+description.replace(\" \",\"%20\")+\"&body=\"+shareUrl)})))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}};
95window._bubble_page_load_data.plugins_size['1656491011335x675939450810269700'] = 23426;
96window.preloaded['plugin/third_party:1656491011335x675939450810269700:1.4.0'] = true;
97window.plugins["1546720794054x724222191917334500_current"] = {"human":"Color TAG API (DEPRECATED)","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"human":"Color TAG API","auth":"private_key_header","token_param_name":"X-RapidAPI-Key","calls":{"AAD":{"name":"Get Color Palette","method":"post","publish_as":"data","params":{"AAQ":{"key":"image","value":"//s3.amazonaws.com/appforest_uf/f1547227941224x911661879368813400/stethoscope-840125_1920.jpg","private":true,"binary_file":true,"doc":"Supported formats: JPEG, PNG and GIF\n\nResolution: up to 8192×8192\n\nFile size: up to 20 MBytes"}},"body_type":"form_data","url":"https://logoraisr-colortag.p.rapidapi.com/rest-v1/reports/","initialized":false,"types":"{\"plugin_api.AAD\":{\"caption\":\"Get Color Palette\",\"fields\":{\"_p_tags\":{\"ret_value\":\"list.api.1546720794054x724222191917334500.plugin_api.AAD.tags\",\"caption\":\"tags\",\"path\":[\"tags\"]}}},\"plugin_api.AAD.tags\":{\"caption\":\"Get Color Palette tag\",\"fields\":{\"_p_label\":{\"ret_value\":\"text\",\"caption\":\"label\",\"path\":[\"label\"]},\"_p_color\":{\"ret_value\":\"text\",\"caption\":\"color\",\"path\":[\"color\"]}}}}","ret_value":"api.1546720794054x724222191917334500.plugin_api.AAD","data_type":"JSON","should_reinitialize":true}}}};
98window._bubble_page_load_data.plugins_size['1546720794054x724222191917334500_current'] = 1236;
99window.preloaded['plugin/third_party:1546720794054x724222191917334500_current:current'] = true;
100window.plugins["1563897770575x807055267871064000_current"] = {"human":"Particles Animation","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Particles","property_applications":{"resizable":true,"BoxShadow":false,"MinWidth":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Dot Color","name":"dot_color","rank":0,"editor":"Color","default_val":"rgba(0, 0, 0, 1)","in_style":true},"AAF":{"caption":"Line Color","name":"line_color","rank":1,"editor":"Color","default_val":"rgba(0, 0, 0, 1)","in_style":true},"AAP":{"caption":"Parallax","name":"parallax","rank":2,"editor":"Checkbox","default_val":false,"in_style":true},"AAR":{"caption":"Parallax Multiplier","name":"parallax_multiplier","rank":3,"editor":"DynamicValue","value":"number","default_val":5},"AAU":{"caption":"Density","name":"density","rank":4,"editor":"DynamicValue","value":"number","default_val":9000},"AAV":{"caption":"Min speed X","name":"min_speed_x","rank":5,"editor":"DynamicValue","value":"number","default_val":0.1},"AAW":{"caption":"Max speed X","name":"max_speed_x","rank":6,"editor":"DynamicValue","value":"number","default_val":0.7},"AAX":{"caption":"Min speed Y","name":"min_speed_y","rank":7,"editor":"DynamicValue","value":"number","default_val":0.1},"AAY":{"caption":"Max speed Y","name":"max_speed_y","rank":8,"editor":"DynamicValue","value":"number","default_val":0.7},"AAZ":{"caption":"Particle radius","name":"particle_radius","rank":9,"editor":"DynamicValue","value":"number","default_val":5},"AAa":{"caption":"Line width","name":"line_width","rank":10,"editor":"DynamicValue","value":"number","default_val":100},"AAb":{"caption":"Proximity","name":"proximity","rank":11,"editor":"DynamicValue","value":"number","default_val":10},"AAc":{"caption":"Direction X","name":"direction_x","rank":12,"editor":"Dropdown","default_val":"left","in_style":true},"AAd":{"caption":"Direction Y","name":"direction_y","rank":13,"editor":"Dropdown","default_val":"up","in_style":true}},"actions":{"AAG":{"caption":"pause","code":{"fn":"function(instance, properties, context) {\n    instance.data.parts.particleground('pause');\n}"}},"AAH":{"caption":"resume","code":{"fn":"function(instance, properties, context) {\n    instance.data.parts.particleground('start');\n}"}},"AAI":{"caption":"destroy","code":{"fn":"function(instance, properties, context) {\n    instance.data.parts.particleground('destroy');\n}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\tconst parts = $('<div class=\"particles\"></div>');\n    instance.canvas.append(parts);\n    \n    instance.data.parts = parts;\n}"},"update":{"fn":"function(instance, properties, context) {\n    instance.data.parts.particleground({\n        dotColor: properties.dot_color,\n        lineColor: properties.line_color,\n        maxSpeedX: properties.max_speed_x || 0.7,\n        minSpeedX: properties.min_speed_x || 0.1,\n        maxSpeedY: properties.max_speed_y || 0.7,\n        minSpeedY: properties.min_speed_y || 0.1,\n        particleRadius: properties.particle_radius || 5,\n        lineWidth: properties.line_width || 100,\n        parallax: properties.parallax,\n        curvedLines: properties.curvedLines,\
100n        parallaxMultiplier: properties.parallax_multiplier,\n        density: properties.density,\n        directionX: properties.direction_x || 'left', //'center', 'left' or 'right'. 'center'\n        directionY: properties.direction_y || 'up', //'center', 'up' or 'down'. 'center'\n        proximity: properties.proximity || 10   \n    });\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
101window._bubble_page_load_data.plugins_size['1563897770575x807055267871064000_current'] = 3640;
102window.preloaded['plugin/third_party:1563897770575x807055267871064000_current:current'] = true;
103window.plugins["1566730423303x142172797848256510_current"] = {"human":"Transform and Move Elements","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_actions":{"AAD":{"display":"Translate X","type":"client_side","fields":{"AAE":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Distance","name":"distance","rank":1,"editor":"DynamicValue","value":"number"}},"code":{"client":{"fn":"function(properties, context) {\n\n $('#' + properties.element_id).transition({ x: properties.distance.toString() + 'px' });\n\n\n}"}}},"AAG":{"display":"Translate Y","type":"client_side","fields":{"AAE":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Distance","name":"distance","rank":1,"editor":"DynamicValue","value":"number"}},"code":{"client":{"fn":"function(properties, context) {\n\nvar num = properties.distance;\nvar n = num.toString();\n $('#' + properties.element_id).transition({ y: n + 'px' });\n\n\n}"}}},"AAH":{"display":"Translate X/Y","type":"client_side","fields":{"AAE":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Distance X","name":"distancex","rank":1,"editor":"DynamicValue","value":"number"},"AAI":{"caption":"Distance Y","name":"distancey","rank":2,"editor":"DynamicValue","value":"number"}},"code":{"client":{"fn":"function(properties, context) {\n\nvar num1 = properties.distancex;\nvar n1 = num1.toString();\n    \n    var num2 = properties.distancey;\n    var n2 = num2.toString();\n    \n $('#' + properties.element_id).transition({ x: n1 + 'px', y: n2 + 'px' });\n\n\n}"}}},"AAJ":{"display":"Change Opacity","type":"client_side","fields":{"AAK":{"caption":"Element Id","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAL":{"caption":"Opacity","name":"opacity","rank":1,"editor":"DynamicValue","value":"number","default_val":0.5}},"code":{"client":{"fn":"function(properties, context) {\n\n$('#' + properties.element_id).transition({ opacity: properties.opacity });\n\n\n}"}}},"AAM":{"display":"Rotate","type":"client_side","fields":{"AAN":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAO":{"caption":"Rotation angle","name":"rotation_angle","rank":1,"editor":"DynamicValue","value":"number","default_val":30}},"code":{"client":{"fn":"function(properties, context) {\nvar ders = properties.rotation_angle;\n    var ohne = ders.toString();\n  //Load any data \n\n    \n$('#' + properties.element_id).transition({ rotate: ohne + 'deg' });\n\n\n\n\n}"}}},"AAP":{"display":"Scale","type":"client_side","fields":{"AAQ":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAR":{"caption":"Factor","name":"factor","rank":1,"editor":"DynamicValue","value":"number","default_val":2}},"code":{"client":{"fn":"function(properties, context) {\n\n\n  //Load any data \n$('#' + properties.element_id).transition({ scale: properties.factor });\n\n\n  //Do the operation\n\n\n\n}"}}},"AAS":{"display":"Skew X","type":"client_side","fields":{"AAT":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAU":{"caption":"Angle","name":"angle","rank":1,"editor":"DynamicValue","value":"number","default_val":20}},"code":{"client":{"fn":"function(properties, context) {\n\nvar ne = properties.angle;\n    var ohne = ne.toString();\n  //Load any data \n\n$('#' + properties.element_id).transition({ skewX: ohne + 'deg' });\n\n  //Do the operation\n\n\n\n}"}}},"AAV":{"display":"Skew Y","type":"client_side","fields":{"AAT":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAU":{"caption":"Angle","name":"angle","rank":1,"editor":"DynamicValue","value":"number","default_val":20}},"code":{"client":{"fn":"function(properties, context) {\n\nvar ne = properties.angle;\n    var ohne = ne.toString();\n  //Load any data \n\n$('#' + properties.element_id).transition({ skewY: ohne + 'deg' });\n\n  //Do the operation\n\n\n\n}"}}},"AAY":{"display":"Change width","type":"client_side","fields":{"AAW":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAX":{"caption":"Width","name":"distance","rank":1,"editor":"DynamicValue","value":"number"}},"code":{"client":{"fn":"function(properties, context) {\n\n $('#' + properties.element_id).transition({ width: properties.distance + 'px !important' });\n\n\n}"}}},"AAb":{"display":"Change height","type":"client_side","fields":{"AAZ":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAa":{"caption":"Height","name":"distance","rank":1,"editor":"DynamicValue","value":"number"}},"code":{"client":{"fn":"function(properties, context) { \n\n\t$('#' + properties.element_id).transition({ height: properties.distance + 'px' });\n\n}"}}}}};
104window._bubble_page_load_data.plugins_size['1566730423303x142172797848256510_current'] = 4896;
105window.preloaded['plugin/third_party:1566730423303x142172797848256510_current:current'] = true;
106window.plugins["1566905095791x218561840796925950_current"] = {"human":"Squares & Circles Bubble Animation","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAC":{"display":"Animated Shapes","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Shape","name":"shape","rank":0,"editor":"Dropdown","default_val":"square"},"AAH":{"caption":"density","name":"density","rank":1,"editor":"DynamicValue","value":"number","default_val":2},"AAI":{"caption":"coverage","name":"coverage","rank":2,"editor":"DynamicValue","value":"number","default_val":1},"AAJ":{"caption":"rotation","name":"rotation","rank":3,"editor":"Checkbox","default_val":true},"AAK":{"caption":"keep lit","name":"keep_lit","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AAL":{"caption":"Color1","name":"color1","rank":5,"editor":"Color","default_val":"rgba(0, 200, 81, 1)"},"AAM":{"caption":"Color2","name":"color2","rank":6,"editor":"Color","default_val":"rgba(255, 68, 68, 1)"},"AAN":{"caption":"Color3","name":"color3","rank":7,"editor":"Color","default_val":"rgba(255, 187, 51, 1)"},"AAO":{"caption":"frequency in ms","name":"frequency","rank":8,"editor":"DynamicValue","value":"number","default_val":250}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n  // Create a unique ID using the current timestamp and a random string\n  const uniqueId = '
106starlight_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9);\n\n  // Store it in instance.data for later use\n  instance.data.uniqueId = uniqueId;\n\n  // Optionally, you could append a container using this unique ID\n  instance.canvas.append('<div class=\"starlight\" id=\"' + uniqueId + '\"></div>');\n}\n"},"update":{"fn":"function(instance, properties, context) {\n\n  // Clear any existing intervals if they exist\n  if (!instance.data.intervals) {\n    instance.data.intervals = [];\n  } else {\n    instance.data.intervals.forEach(clearInterval);\n    instance.data.intervals = [];\n  }\n\n  // Remove existing stars if any (cleanup)\n  if (instance.data.uniqueId) {\n    $('#' + instance.data.uniqueId).find('[id^=\"starlight-star\"]').remove();\n  }\n\n  var user_configuration = {\n    shape: properties.shape,\n    initial_size: \"12px\",\n    final_size: \"64px\",\n    expand_speed: \"1s\",\n    fade_delay: \"0.5s\",\n    fade_duration: \"0.5s\",\n    colors: [properties.color1, properties.color2, properties.color3],\n    frequency: properties.frequency,\n    density: properties.density,\n    keep_lit: properties.keep_lit,\n    rotation: properties.rotation,\n    coverage: properties.coverage,\n    target_class: '#' + instance.data.uniqueId,\n    custom_svg: \"\"\n  };\n\n  var advanced_configuration = {\n    expand_transition_timing: \"linear\",\n    expand_delay: \"0s\",\n    rotation_transition_timing: \"linear\",\n    rotation_angle: \"360deg\",\n    rotation_duration: \"1s\",\n    rotation_delay: \"0s\",\n    fade_transition_timing: \"linear\",\n    z_index: 0\n  };\n\n  function Star(width, height) {\n    let leftOffset = Math.round((width - width * user_configuration.coverage) / 2);\n    let topOffset = (height - Math.round(height * user_configuration.coverage)) / 2;\n    this.xposition = Math.floor(Math.random() * width * user_configuration.coverage) + leftOffset;\n    this.yposition = Math.floor(Math.random() * height * user_configuration.coverage) + topOffset;\n  }\n\n  Star.prototype.create = function(parent_element, id) {\n    var star = $('<div></div>');
106\n    var star_container = $('<div id=\"starlight-star' + id + '\"></div>');\n    star_container.append(star);\n\n    star.css({\n      position: \"absolute\",\n      top: \"-50%\",\n      left: \"-50%\",\n      width: \"100%\",\n      height: \"100%\"\n    });\n\n    star_container.css({\n      width: user_configuration.initial_size,\n      height: user_configuration.initial_size,\n      position: 'absolute',\n      top: this.yposition,\n      left: this.xposition,\n      \"z-index\": advanced_configuration.z_index\n    });\n\n    setTimeout(function() {\n      star_container.css({\n        transition: \"height \" + user_configuration.expand_speed + \" \" + advanced_configuration.expand_transition_timing + \" \" + advanced_configuration.expand_delay + \",\" +\n          \"width \" + user_configuration.expand_speed + \" \" + advanced_configuration.expand_transition_timing + \" \" + advanced_configuration.expand_delay,\n        width: user_configuration.final_size,\n        height: user_configuration.final_size\n      });\n\n      let transition;\n      if (user_configuration.rotation) {\n        star.css({\n          transform: \"rotate(\" + advanced_configuration.rotation_angle + \")\"\n        });\n        transition = advanced_configuration.rotation_duration + \" \" + advanced_configuration.rotation_transition_timing + \" \" + advanced_configuration.rotation_delay;\n      }\n\n      if (!user_configuration.keep_lit) {\n        star.css({ opacity: 0 });\n\n        if (transition) {\n          transition += \",opacity \" + user_configuration.fade_duration + \" \" + advanced_configuration.fade_transition_timing + \" \" + user_configuration.fade_delay;\n        } else {\n          transition = \"opacity \" + user_configuration.fade_duration + \" \" + advanced_configuration.fade_transition_timing + \" \" + user_configuration.fade_delay;\n        }\n\n        setTimeout(function() {\n          $(\"#starlight-star\" + id).remove();\n        }, css_time_to_milliseconds(user_configuration.fade_duration) + css_time_to_milliseconds(user_configuration.fade_delay));\n      }\n\n      if (transition) {\n        star.css({ transition: transition });\n      }\n    }, 10);\n\n    if (user_configuration.shape === 'circle') {\n      star.css('border-radius', '50%');\n    }\n\n    if (user_configuration.custom_svg === '' || user_configuration.custom_svg === false) {\n      star.css('background-color', user_configuration.colors[Math.floor(Math.random() * user_configuration.colors.length)]);\n    }\n\n    parent_element.append(star_container);\n  };\n\n  // Start creating stars\n  var id = 0;\n  $(user_configuration.target_class).each(function(index) {\n    var currentElement = $(this);\n    var width = currentElement.width();\n    var height = currentElement.height();\n\n    var intervalId = setInterval(function() {\n      for (var i = 0; i < user_configuration.density; i++) {\n        var newStar = new Star(width, height);\n        newStar.create(currentElement, id);\n        newStar = null;\n        id++;\n      }\n    }, user_configuration.frequency);\n\n    // Store the interval so we can clear it next time\n    instance.data.intervals.push(intervalId);\n  });\n\n  function css_time_to_milliseconds(time_string) {\n    var num = parseFloat(time_string, 10),\n      unit = time_string.match(/m?s/),\n      milliseconds;\n\n    if (unit) {\n      unit = unit[0];\n    }\n\n    switch (unit) {\n      case \"s\":\n        milliseconds = num * 1000;\n        break;\n      case \"ms\":\n        milliseconds = num;\n        break;\n      default:\n        milliseconds = 0;\n        break;\n    }\n\n    return milliseconds;\n  }\n}\n"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
107window._bubble_page_load_data.plugins_size['1566905095791x218561840796925950_current'] = 7311;
108window.preloaded['plugin/third_party:1566905095791x218561840796925950_current:current'] = true;
109window.plugins["1567425068599x699555891060408300_current"] = {"human":"Dynamic Page Title","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Dynamic Title","add_is_visible":true,"fields":{"AAE":{"caption":"First Title","name":"first_title","rank":0,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Second Title","name":"second_title","rank":1,"editor":"DynamicValue","value":"text"},"AAG":{"caption":"Third Title","name":"third_title","rank":2,"editor":"DynamicValue","value":"text"},"AAH":{"caption":"Delay","name":"delay","rank":3,"editor":"DynamicValue","value":"number","default_val":1000},"AAI":{"caption":"Effect","name":"effect","rank":4,"editor":"Dropdown"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\n\n}"},"update":{"fn":"function(instance, properties, context) {\n    // Clear any existing title rotation interval\n    if (window.titleEffectInterval) {\n        clearInterval(window.titleEffectInterval);\n        window.titleEffectInterval = null;\n    }\n\n    // Collect and filter valid titles\n    const titles = [\n        properties.first_title || '',\n        properties.second_title || '',\n        properties.third_title || ''\n    ].filter(title => title); // Remove empty or undefined titles\n\n    // If no valid titles, reset to a default and exit\n    if (titles.length === 0) {\n        document.title = 'Default Title';\n        return;\n    }
109\n\n    // Initialize index for title rotation\n    let currentIndex = 0;\n\n    // Set initial title\n    document.title = titles[currentIndex];\n\n    // Start rotation if multiple titles exist\n    if (titles.length > 1) {\n        const delay = parseInt(properties.delay) || 1000; // Default to 1000ms if invalid\n\n        window.titleEffectInterval = setInterval(() => {\n            currentIndex = (currentIndex + 1) % titles.length;\n            document.title = titles[currentIndex];\n        }, delay);\n    }\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
110window._bubble_page_load_data.plugins_size['1567425068599x699555891060408300_current'] = 2053;
111window.preloaded['plugin/third_party:1567425068599x699555891060408300_current:current'] = true;
112window.plugins["1567843983347x307260361922838500_current"] = {"human":"Share Highlighted Text","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Share Text","add_is_visible":true,"fields":{"AAF":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text"},"AAG":{"caption":"Facebook Share","name":"facebook_share","rank":1,"editor":"Checkbox","default_val":false},"AAH":{"caption":"Facebook APP Id","name":"facebook_app_id","rank":2,"editor":"DynamicValue","value":"text","optional":true}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\n\n}"},"update":{"fn":"function(instance, properties, context) {\n  if(properties.facebook_share == true){\n    $('head').append('<meta property=\"fb:app_id\" content=\"' + properties.facebook_app_id + '\" />');\n    }\n$('#' + properties.element_id).selectionSharer();\n\n    \n    \n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
113window._bubble_page_load_data.plugins_size['1567843983347x307260361922838500_current'] = 1001;
114window.preloaded['plugin/third_party:1567843983347x307260361922838500_current:current'] = true;
115window.plugins["1588091988099x144757083242496000_current"] = {"human":"Social Share Buttons Lite","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Social Share Buttons","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAD":{"caption":"URL","name":"url","rank":1,"editor":"DynamicValue","value":"text"},"AAE":{"caption":"Text","name":"text","rank":4,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Display Twitter Icon","name":"twitter","rank":9,"editor":"Checkbox","value":"text","default_val":true},"AAG":{"caption":"Display Email Icon","name":"email","rank":10,"editor":"Checkbox","default_val":true},"AAH":{"caption":"Display Facebook Icon","name":"facebook","rank":11,"editor":"Checkbox","default_val":true},"AAI":{"caption":"Display Google Plus Icon","name":"googleplus","rank":12,"editor":"Checkbox","default_val":true},"AAJ":{"caption":"Display Linkedin Icon","name":"linkedin","rank":13,"editor":"Checkbox","default_val":true},"AAK":{"caption":"Display Pinterest Icon","name":"pinterest","rank":14,"editor":"Checkbox"},"AAL":{"caption":"Display Stumbleupon Icon","name":"stumbleupon","rank":15,"editor":"Checkbox","default_val":true},"AAM":{"caption":"Display Pocket Icon","name":"pocket","rank":16,"editor":"Checkbox","default_val":true},"AAN":{"caption":"Display Whatsapp Icon","name":"whatsapp","rank":17,"editor":"Checkbox","default_val":true},"AAO":{"caption":"Display Viber Icon","name":"viber","rank":18,"editor":"Checkbox","default_val":true},"AAP":{"caption":"Display Messenger Icon","name":"messenger","rank":19,"editor":"Checkbox","default_val":true},"AAQ":{"name":"telegram","rank":20,"editor":"Checkbox","default_val":true,"caption":"Display Telegram Icon"},"AAR":{"caption":"Display Vkontakte Icon","name":"vkontakte","rank":21,"editor":"Checkbox","default_val":true},"AAS":{"caption":"Theme","name":"theme","rank":5,"editor":"Dropdown","default_val":"Flat"},"AAT":{"caption":"Round Icons","name":"round","rank":8,"editor":"Checkbox","default_val":false},"AAU":{"caption":"Icon Size","name":"size","rank":2,"editor":"DynamicValue","value":"number","default_val":12},"AAV":{"caption":"Messenger Logo Icon","name":"messenger_logo","rank":34,"editor":"DynamicValue","value":"text","optional":true},"AAW":{"caption":"Twitter Logo Icon","name":"twitter_logo","rank":24,"editor":"DynamicValue","value":"text","optional":true},"AAX":{"caption":"Email Logo Icon","name":"email_logo","rank":25,"editor":"DynamicValue","value":"text","optional":true},"AAY":{"caption":"Facebook Logo Icon","name":"facebook_logo","rank":26,"editor":"DynamicValue","value":"text","optional":true},"AAZ":{"caption":"Google Plus Logo Icon","name":"googleplus_logo","rank":27,"editor":"DynamicValue","value":"text","optional":true},"AAa":{"caption":"Linkedin Logo Icon","name":"linkedin_logo","rank":28,"editor":"DynamicValue","value":"text","optional":true},"AAb":{"caption":"Pinterest Logo Icon","name":"pinterest_logo","rank":29,"editor":"DynamicValue","value":"text","optional":true},"AAc":{"caption":"StumbleUpon Logo Icon","name":"stumbleupon_logo","rank":30,"editor":"DynamicValue","value":"text","optional":true},"AAd":{"caption":"Pocket Logo Icon ","name":"pocket_logo","rank":31,"editor":"DynamicValue","value":"text","optional":true},"AAe":{"caption":"Whatsapp Logo Icon","name":"whatsapp_logo","rank":32,"editor":"DynamicValue","value":"text","optional":true},"AAf":{"caption":"Viber Logo Icon","name":"viber_logo","rank":33,"editor":"DynamicValue","value":"text","optional":true},"AAg":{"caption":"Telegram Logo Icon","name":"telegram_logo","rank":35,"editor":"DynamicValue","value":"text","optional":true},"AAh":{"caption":"Vkontakte Logo Icon","name":"vkontakte_logo","rank":36,"editor":"DynamicValue","value":"text","optional":true}
115,"AAi":{"caption":"Twitter Background Color","name":"twitter_bg_color","rank":38,"editor":"Color","default_val":"rgba(0, 172, 237, 1)","in_style":false,"optional":true},"AAj":{"caption":"Email Background Color","name":"email_bg_color","rank":39,"editor":"Color","default_val":"rgba(52, 144, 243, 1)","optional":true},"AAk":{"caption":"Facebook Background Color","name":"facebook_bg_color","rank":40,"editor":"Color","default_val":"rgba(59, 89, 152, 1)","optional":true},"AAl":{"caption":"Google Plus Background Color","name":"googleplus_bg_color","rank":41,"editor":"Color","default_val":"rgba(221, 75, 57, 1)","optional":true},"AAm":{"caption":"Linkedin Background Color","name":"linkedin_bg_color","rank":42,"editor":"Color","default_val":"rgba(0, 123, 182, 1)","optional":true},"AAn":{"caption":"Pinterest Background Color","name":"pinterest_bg_color","rank":43,"editor":"Color","default_val":"rgba(203, 32, 39, 1)","optional":true},"AAo":{"caption":"StumbleUpon Background Color","name":"stumbleupon_bg_color","rank":44,"editor":"Color","default_val":"rgba(235, 72, 35, 1)","optional":true},"AAp":{"caption":"Pocket Background Color","name":"pocket_bg_color","rank":45,"editor":"Color","optional":true,"default_val":"rgba(239, 64, 86, 1)"},"AAq":{"caption":"Whatsapp Background Color","name":"whatsapp_bg_color","rank":46,"editor":"Color","default_val":"rgba(41, 166, 40, 1)","optional":true},"AAr":{"caption":"Viber Background Color","name":"viber_bg_color","rank":47,"editor":"Color","optional":true,"default_val":"rgba(123, 81, 157, 1)"},"AAs":{"caption":"Messenger Background Color","name":"messenger_bg_color","rank":48,"editor":"Color","optional":true,"default_val":"rgba(0, 132, 255, 1)"},"AAt":{"caption":"Telegram Background Color","name":"telegram_bg_color","rank":49,"editor":"Color","optional":true,"default_val":"rgba(44, 165, 224, 1)"},"AAu":{"caption":"Vkontakte Background Color","name":"vkontakte_bg_color","rank":50,"editor":"Color","optional":true,"default_val":"rgba(69, 102, 142, 1)"},"AAv":{"caption":"Display. Label","name":"show_label","rank":7,"editor":"DynamicValue","value":"boolean","default_val":false},"AAw":{"caption":"Display. Count","name":"show_count","rank":6,"editor":"DynamicValue","value":"boolean","default_val":false},"AAx":{"caption":"Icon Color","name":"color_icons","rank":3,"editor":"Color","optional":true,"default_val":"rgba(233,233,233,1)"},"AAy":{"caption":"LOGO CUSTOMIZATION","name":"logo_customisation","rank":22,"editor":"Label"},"AAz":{"caption":"BACKGROUND COLOR CUSTOMIZATION","name":"background_color_customisation","rank":37,"editor":"Label"},"ABA":{"caption":"To use the default icon, leave the field empty. To use a custom logo, use the file URL or icon name from https://fontawesome.com/search?o=r&m=free&f=brands, from Free plan, for example: fa-solid fa-heart or fa-brands fa-twitter","name":"to_use_the_default_icon,_leave_the_field_empty._to_use_a_custom_logo,_use_the_file_url_or_icon_name_from_https://fontawesome.com/search?o=r&m=free&f=brands,_from_free_plan,_for_example:_fa-solid_fa-heart_or_fa-brands_fa-twitter","rank":23,"editor":"Label"},"ABB":{"caption":"GENERAL SETTINGS","name":"general_settings","rank":0,"editor":"Label"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\n\n}\n"},"update":{"fn":"function(instance, properties, context) {\n  // ---- helpers ----\n  const addOnce = (id, html) => {\n    if (!document.getElementById(id)) {\n      const $node = $(html);\n      $node.attr('id', id);\n      $('head').append($node);\n    }\n  };\n  const mk = (len = 5) => Math.random().toString(36).slice(2, 2 + len);\n\n  // ---- theme + global tweaks (deduped) ----\n  if (properties.round) {\n    addOnce('jss-round', '<style>.jssocials-share-link{border-radius:50% !important;}</style>');\n  }\n  if (properties.size) {\n    addOnce('jss-size', `<style>.jssocials-share{font-size:${properties.size}px !important;}</style>`);\n    addOnce('jss-hover', '<style>.jssocials-share:hover{opacity:0.8 !important;}</style>');\n  }
115\n\n  const themeCssByKey = {\n    Flat: 'jssocials-theme-flat.css',\n    Classic: 'jssocials-theme-classic.css',\n    Minimalistic: 'jssocials-theme-minima.css',\n    Monochromatic: 'jssocials-theme-plain.css',\n  };\n  const themeFile = themeCssByKey[properties.theme] || themeCssByKey.Flat;\n  addOnce('jss-theme', `<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/jquery.jssocials/1.5.0/${themeFile}\">`);\n  if (properties.theme !== 'Monochromatic') {\n    addOnce('jss-icon-color', `<style>.jssocials-share-logo{color:${properties.color_icons} !important;}</style>`);\n  }\n\n  // ---- container (reuse & clear) ----\n  instance.data = instance.data || {};\n  if (!instance.data.containerId) {\n    instance.data.containerId = 'jss-' + mk();\n    instance.canvas.append(`<div id=\"${instance.data.containerId}\"></div>`);\n  } else {\n    $('#' + instance.data.containerId).empty();\n  }\n\n  // ---- FIX WRAP: scope a flex layout to THIS instance ----\n  const wrapStyleId = `jss-wrap-${instance.data.containerId}`;\n  const btnSize = Math.max(parseInt(properties.size || 24, 10), 16);\n  addOnce(\n    wrapStyleId,\n    `<style>\n      #${instance.data.containerId} .jssocials-shares{\n        display:flex !important;\n        flex-wrap:wrap !important;\n        align-items:center !important;\n        gap:10px !important;            /* replaces theme margins */\n      }\n      #${instance.data.containerId} .jssocials-share{\n        margin:0 !important;            /* neutralize theme spacing */\n      }\n     \n    </style>`\n  );\n\n  // ---- shares array ----\n  const shares = [];\n  const addShare = (enabled, name, logo, bg) => {\n    if (!enabled) return;\n    const s = { share: name };\n    if (logo) s.logo = logo;\n    if (properties.theme !== 'Monochromatic') s.color = bg;\n    shares.push(s);\n  };\n\n  addShare(properties.twitter,       'twitter',     properties.twitter_logo,       properties.twitter_bg_color);\n  addShare(properties.facebook,      'facebook',    properties.facebook_logo,      properties.facebook_bg_color);\n  addShare(properties.email,         'email',       properties.email_logo,         properties.email_bg_color);\n  addShare(properties.googleplus,    'googleplus',  properties.googleplus_logo,    properties.googleplus_bg_color);\n  addShare(properties.linkedin,      'linkedin',    properties.linkedin_logo,      properties.linkedin_bg_color);\n  addShare(properties.pinterest,     'pinterest',   properties.pinterest_logo,     properties.pinterest_bg_color);\n  addShare(properties.stumbleupon,   'stumbleupon', properties.stumbleupon_logo,   properties.stumbleupon_bg_color);\n  addShare(properties.pocket,        'pocket',      properties.pocket_logo,        properties.pocket_bg_color);\n  addShare(properties.whatsapp,      'whatsapp',    properties.whatsapp_logo,      properties.whatsapp_bg_color);\n  addShare(properties.viber,         'viber',       properties.viber_logo,         properties.viber_bg_color);\n  addShare(properties.messenger,     'messenger',   properties.messenger_logo,     properties.messenger_bg_color);\n  addShare(properties.telegram,      'telegram',    properties.telegram_logo,      properties.telegram_bg_color);\n  addShare(properties.vkontakte,     'vkontakte',   properties.vkontakte_logo,     properties.vkontakte_bg_color);\n\n  // ---- init ----\n  $('#' + instance.data.containerId).jsSocials({\n    shares,\n    showLabel: properties.show_label,\n    showCount: properties.show_count,\n    url: properties.url,\n    text: properties.text\n  });\n}\n","add_debugger":false},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
116window._bubble_page_load_data.plugins_size['1588091988099x144757083242496000_current'] = 11566;
117window.preloaded['plugin/third_party:1588091988099x144757083242496000_current:current'] = true;
118window.plugins["1598087530793x315369716811825150_current"] = {"human":"Image Slider / Media Gallery Pro","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_api":{"human":"asksds"},"plugin_elements":{"Adu":{"display":"Wonderful Slider V2","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"BoxShadow":true,"Backgroun
118d":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"Aci":{"caption":"Slides Per View","name":"slides_per_view","rank":7,"editor":"DynamicValue","value":"number","optional":false,"in_style":true,"default_val":1},"Acj":{"caption":"Space Between","name":"space_between","rank":8,"editor":"DynamicValue","value":"number","optional":true,"in_style":true,"default_val":0},"Ack":{"caption":"Media List","name":"image_list","rank":1,"editor":"DynamicValue","value":"text","is_list":true,"optional":false},"Acl":{"caption":"Pagination","name":"pagination","rank":12,"editor":"Checkbox","default_val":true,"in_style":true},"Acm":{"caption":"Clickable Dots","name":"pclickable","rank":14,"editor":"Checkbox","default_val":true,"in_style":true},"Acn":{"caption":"Show Navigation Arrows","name":"navigation","rank":11,"editor":"Checkbox","default_val":false,"in_style":true},"Aco":{"caption":"Show Scroll Bar","name":"scroll_bar","rank":15,"editor":"Checkbox","default_val":false,"in_style":true},"Acp":{"caption":"Hiding Scroll Bar Toggle","name":"hide_scroll_bar","rank":16,"editor":"Checkbox","default_val":false,"in_style":true},"Acq":{"caption":"Direction","name":"direction","rank":9,"editor":"Dropdown","default_val":"Horizontal","in_style":true,"optional":true},"Acr":{"caption":"Centered","name":"centered","rank":17,"editor":"Checkbox","default_val":false,"in_style":true},"Acs":{"caption":"Free Mode","name":"free_mode","rank":18,"editor":"Checkbox","default_val":false,"in_style":true},"Act":{"caption":"Grab Cursor","name":"grab_cursor","rank":19,"editor":"Checkbox","default_val":false,"in_style":true},"Acu":{"caption":"Loop","name":"loop","rank":20,"editor":"Checkbox","default_val":false,"in_style":true},"Acv":{"caption":"Switching With Keyboard","name":"keyboard","rank":28,"editor":"Checkbox","default_val":false,"in_style":true},"Acw":{"caption":"Switching With Mouse Wheel","name":"mousewheel","rank":29,"editor":"Checkbox","default_val":false,"in_style":true},"Acx":{"caption":"Autoplay (ms)","name":"autoplay","rank":21,"editor":"DynamicValue","optional":false,"value":"number","in_style":true,"default_val":0},"Acy":{"caption":"Disable Autoplay On Interaction","name":"disable_autoplay","rank":27,"editor":"Checkbox","default_val":false,"in_style":true},"Acz":{"caption":"Pagination Type","name":"ptype","rank":13,"editor":"Dropdown","optional":true,"default_val":"Bullets","in_style":true},"AdA":{"caption":"Image Width (%)","name":"element_width","rank":33,"editor":"DynamicValue","in_style":true,"optional":false,"value":"number","default_val":100},"AdB":{"caption":"Image Height (%)","name":"element_height","rank":34,"editor":"DynamicValue","in_style":true,"value":"number","default_val":100},"AdC":{"caption":"Image Top Margin (%)","name":"element_margin","rank":35,"editor":"DynamicValue","in_style":true,"value":"number","default_val":0},"AdD":{"caption":"Image Border Width","name":"element_border_width","rank":36,"editor":"DynamicValue","optional":true,"in_style":true,"value":"number","default_val":0},"AdE":{"caption":"Image Background","name":"element_background","rank":40,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"rgba(255,255,255,0)"},"AdF":{"caption":"Arrows Color","name":"arrow_color","rank":46,"editor":"Color","in_style":true,"optional":true,"default_val":"rgba(0, 122, 255, 1)"},"AdG":{"caption":"LIST DEFINITIONS","name":"list_definitions","rank":0,"editor":"Label"},"AdH":{"caption":"CSS Customizations","name":"css_definitions","rank":31,"editor":"Label"},"AdI":{"caption":"PAGINATION SETTINGS","name":"pagination_settings","rank":10,"editor":"Label"},"AdJ":{"caption":"SLIDE VIEW OPTIONS","name":"slide_view_options","rank":6,"editor":"Label"},"AdK":{"caption":"Image Border Color","name":"element_border_color","rank":37,"editor":"Color","optional":true,"in_style":true},"AdL":{"caption":"Image Border Style","name":"element_border_style","rank":38,"editor":"Dropdown","default_val":"none","optional":true,"in_style":true},"AdM":{"caption":"Image Border Radius","name":"element_border_radius","rank":39,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"0px 0px 0px 0px"},"AdN":{"caption":"Object Fit","name":"object_fit","rank":32,"editor":"Dropdown","default_val":"fill","optional":true,"in_style":true},"AdO":{"caption":"Bullets Color","name":"dots_color","rank":53,"editor":"Color","default_val":"rgba(0, 122, 255, 1)","optional":true,"in_style":true},"AdP":{"caption":"Arrows Shadow Specification","name":"arrows_shadow_spec","rank":47,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"0px 0px 5px"},"AdQ":{"caption":"Arrows Shadow Color","name":"arrows_shadow_color","rank":48,"editor":"Color","optional":true,"in_style":true},"AdR":{"caption":"Bullets Shadow Specification","name":"dots_shadow_spec","rank":55,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"0px 0px 5px"},"AdS":{"caption":"Bullets Shadow Color","name":"dots_shadow_color","rank":56,"editor":"Color","optional":true,"in_style":true},"AdT":{"caption":"Text List","name":"text_list","rank":3,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"AdU":{"caption":"URL List","name":"url_list","rank":4,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"AdV":{"caption":"Text Top (%)","name":"text_top","rank":41,"editor":"DynamicValue","in_style":true,"optional":true,"value":"number","default_val":50},"AdW":{"caption":"Text Left (%)","name":"text_left","rank":42,"editor":"DynamicValue","in_style":true,"optional":true,"value":"number","default_val":50},"AdX":{"caption":"Text Shadow Specifications","name":"text_shadow_spec","rank":44,"editor":"DynamicValue","in_style":true,"optional":true,"value":"text","default_val":"0px 0px 5px"},"AdY":{"caption":"Text Shadow Color","name":"text_shadow_color","rank":45,"editor":"Color","optional":true,"in_style":true},"AdZ":{"caption":"--------------------------------------------------","name":"----","rank":57,"editor":"Label"},"Ada":{"caption":"Imgix Parameters","name":"imgix_parameters","rank":58,"editor":"Label"},"Adb":{"caption":"--------------------------------------------------","name":"---","rank":59,"editor":"Label"},"Adc":{"caption":"*** Add Auto Parameters ***","name":"automatic","rank":67,"editor":"Label","optional":true,"in_style":true},"Add":{"caption":"DPR","name":"dpr","rank":63,"editor":"DynamicValue","value":"number","optional":true,"in_style":true,"default_val":2},"Ade":{"caption":"Fit","name":"fit","rank":64,"editor":"Dropdown","default_val":"max","optional":true,"in_style":true},"Adf":{"caption":"Width","name":"imgixw","rank":61,"editor":"DynamicValue","value":"number","optional":true,"in_style":true},"Adg":{"caption":"Height","name":"imgixh","rank":62,"editor":"DynamicValue","value":"number","optional":true,"in_style":true},"Adh":{"caption":"Compress","name":"compress","rank":68,"editor":"Checkbox","value":"boolean","optional":true,"default_val":true,"in_style":true},"Adi":{"caption":"Enhance","name":"enhance","rank":69,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"Adj":{"caption":"Format","name":"format","rank":70,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"Adk":{"caption":"Red-eye","name":"redeye","rank":71,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"Adl":{"caption":"Quality","name":"quality","rank":66,"editor":"DynamicValue","value":"number","optional":true,"in_style":true,"default_val":45},"Adm":{"caption":"Manual Quality","name":"manualquality","rank":65,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"Adn":{"caption":"Use Imgix Parameters","name":"useimgix","rank":60,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"Ado":{"caption":"ALT List","name":"alt_list","rank":5,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"Adp":{"caption":"---------------------------------------------------","name":"---","rank":72,"editor":"Label"},"Adq":{"caption":"Default Image","name":"defaultImage","rank":80,"editor":"DynamicValue","optional":true,"in_style":false,"value":"image","default_val":"//meta.cdn.bubble.io/f1682332824898x700592401662315000/image-not-available.svg"},"Adr":{"caption":"ALT Media List","name":"alt_img_list","rank":2,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"Adv":{"caption":"*** Video Options ***","name":"video_options_info","rank":73,"editor":"Label"},"Adw":{"caption":"Controls","name":"controls","rank":74,"editor":"Checkbox","default_val":true,"in_style":true},"Adx":{"caption":"Video Loop","name":"video_loop","rank":75,"editor":"Checkbox","default_val":true,"in_style":true},"Ady":{"caption":"Muted","name":"muted","rank":76,"editor":"Checkbox","default_val":true,"in_style":true},"Adz":{"caption":"Preload","name":"preload","rank":77,"editor":"Checkbox","in_style":true,"default_val":true},"AeA":{"caption":"Autoplay Video","name":"autoplay_video","rank":78,"editor":"Checkbox","default_val":true,"in_style":true},"AeB":{"caption":"Default image below will be applied when source or alternative image link is broken","name":"def_image_info","rank":79,"editor":"Label"},"AeC":{"caption":"Arrows Size (px)","name":"arrows_size","rank":49,"editor":"DynamicValue","value":"number","default_val":44,"optional":true},"AeD":{"caption":"Swipe Speed (ms)","name":"swipe_speed","rank":23,"editor":"DynamicValue","optional":true,"in_style":true,"value":"number","default_val":300},"AeE":{"caption":"Disable Autoplay on Hover","name":"disable_autoplay_on_hover","rank":26,"editor":"Checkbox","default_val":true,"in_style":true},"AeH":{"caption":"Lazy Load","name":"lazy","rank":24,"editor":"Checkbox","default_val":true,"in_style":true},"AeI":{"caption":"Effect","name":"effect","rank":25,"editor":"Dropdown","default_val":"slide","in_style":true},"AeL":{"caption":"Zoom","name":"zoom","rank":30,"editor":"Checkbox","default_val":false,"in_style":true}
118,"AeP":{"caption":"Arrows Background","name":"arrows_background","rank":51,"editor":"Color","optional":true,"in_style":true},"AeQ":{"caption":"Arrows Border Radius","name":"arrows_border_radius","rank":52,"editor":"DynamicValue","value":"number","default_val":5,"optional":true},"AeS":{"caption":"Text Background","name":"text_background","rank":43,"editor":"Color","default_val":"rgba(0,0,0,0)","optional":true,"in_style":true},"AeY":{"caption":"Mute/Unmute on Slide click","name":"mute_unmute_on_slide_click","rank":81,"editor":"Checkbox","default_val":false,"in_style":true},"Aea":{"caption":"Arrow wrapper size","name":"arrow_wrapper_size","rank":50,"editor":"DynamicValue","value":"number","default_val":50,"optional":true},"Aef":{"caption":"Dots Inactive Color","name":"dots_color_inactive","rank":54,"editor":"Color","default_val":"rgba(0,0,0,1)","optional":true,"in_style":true},"Aeh":{"caption":"Autoplay per slide (ms)","name":"autoplay_per_slide","rank":22,"editor":"DynamicValue","value":"number","is_list":true,"optional":true}},"states":{"Ads":{"caption":"Active Index","name":"active_index","value":"number","initialization_code":{"fn":"function(properties, context) { return 1 }"}},"Adt":{"caption":"Clicked Index","name":"clicked_index","value":"number","initialization_code":{"fn":"function(properties, context) {}"}},"AeG":{"caption":"Double Clicked Index","name":"double_clicked_index","value":"number","initialization_code":{"fn":"function(properties, context) {}"}},"AeM":{"caption":"Media List","name":"media_list","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"},"is_list":true},"AeN":{"caption":"Clicked Slide's Media Url","name":"clicked_slides_media_link","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AeO":{"caption":"Double Clicked Slide's Media Url","name":"double_clicked_slides_media_link","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AeZ":{"caption":"Is Video Playing","name":"is_video_playing","value":"boolean","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"Aed":{"caption":"Loading","name":"loading","value":"boolean","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"Ach":{"caption":"A Slide Double Clicked","name":"a_slide_double_clicked"},"AeF":{"caption":"A Slide Clicked","name":"a_slide_clicked"},"Aee":{"caption":"Slides Loaded","name":"slides_loaded"}},"actions":{"Acd":{"caption":"Slide To","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slideToLoop(properties.index - 1);\n    } catch (e) {\n        context.reportDebugger(`🔴 IMAGE & VIDEO SLIDER ERROR: ${e.message}`);\n    }\n}"},"fields":{"Ace":{"caption":"index","name":"index","rank":0,"editor":"DynamicValue","value":"number","default_val":0}}},"Acf":{"caption":"Next Slide","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slideNext();\n    } catch (e) {\n        context.reportDebugger(`🔴 IMAGE & VIDEO SLIDER ERROR: ${e.message}`);\n    }\n}"}},"Acg":{"caption":"Previous Slide","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slidePrev();\n    } catch (e) {\n        context.reportDebugger(`🔴 IMAGE & VIDEO SLIDER ERROR: ${e.message}`);\n    }\n}"}},"AeT":{"caption":"Play Active Slide","code":{"fn":"function(instance, properties, context) {\n    if (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slides[instance.data.swiper.realIndex].playSlide();\n    } catch (e) {\n        context.reportDebugger(`🔴 IMAGE & VIDEO SLIDER ERROR: ${e.message}`);\n    }\n}"}},"AeV":{"caption":"Pause Active Slide","code":{"fn":"function(instance, properties, context) {\n    if (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slides[instance.data.swiper.realIndex].pauseSlide();\n    } catch (e) {\n        context.reportDebugger(`🔴 IMAGE & VIDEO SLIDER ERROR: ${e.message}`);\n    }\n}"}},"AeW":{"caption":"Mute Active Slide","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slides[instance.data.swiper.realIndex].muteSlide();\n    } catch (e) {\n        context.reportDebugger(`🔴 IMAGE & VIDEO SLIDER ERROR: ${e.message}`);\n    }\n}"}},"AeX":{"caption":"Unmute Active Slide","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slides[instance.data.swiper.realIndex].unmuteSlide();\n    } catch (e) {\n        context.reportDebugger(`🔴 IMAGE & VIDEO SLIDER ERROR: ${e.message}`);\n    }\n}"}},"Aeb":{"caption":"Zoom","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.zoom.in(properties.scale);\n    } catch (e) {\n        context.reportDebugger(`🔴 SLIDER ERROR: ${e.message}`);\n    }\n}"},"fields":{"Aec":{"caption":"Scale","name":"scale","rank":0,"editor":"DynamicValue","value":"number","default_val":1}}},"Aeg":{"caption":"Update Render","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;
118\n\n    try {\n        instance.data.swiper.update();\n    } catch (e) {\n        context.reportDebugger(`🔴 SLIDER ERROR: ${e.message}`);\n    }\n}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.id = \"loaderr preview\"\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width-0 + \"px\"\n    d.style.height = properties.bubble.height-0 + \"px\"\n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    var x = document.createElement(\"IMG\");\n    x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1599999787292x846058227134172200/pictusel-h5p-org.png\")\n    var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n    x.style.width = \"240px\"\n    x.style.height = \"180px\"\n    x.style.verticalAlign = \"middle\"\n    d.appendChild(x)\n    var e = []\n\n\n    instance.canvas[0].appendChild(d)\n    var iconScale = x.offsetWidth / 100\n    e.forEach(element => element.style.fontSize = iconScale * 100 + \"%\") \n}"},"initialize":{"fn":"function(instance, context) { // Wonderful Video & Image Slider -> Wonderful Slider V2 -> initialize\n    const { data: customData } = instance;\n    \n    instance.data.originalSource = [];\n    instance.data.originalAltImages = [];\n    instance.data.originalTextes = [];\n    instance.data.originalUrls = [];\n    instance.data.originalAlts = [];\n\n    // Extend Swiper with our utility methods\n    class WonderfulSwiper extends Swiper {\n\n        extractYouTubeVideoId(url) {\n            const youtubeRegex = /^(?:https?:\\/\\/)?(?:www\\.)?(?:youtube\\.com\\/(?:watch\\?v=|embed\\/)|youtu.be\\/)([a-zA-Z0-9_-]{11})/;\n            const match = url.match(youtubeRegex);\n\n            if (match && match[1]) {\n                return match[1];\n            } else {\n                return null; // Return null if the video ID cannot be extracted\n            }\n        }\n\n        isVideoLink(link) {\n            const videoExtensionsRegex = /\\.(mp4|ogg|webm|mov|m4v|avi|mkv|flv)$/i;\n            return videoExtensionsRegex.test(link);\n        }\n\n        // We need a method that will apply \"imgix\" parameters for our images\n        applyImgix(url, {\n            redeye,\n            format,\n            enhance,\n            compress,\n            quality,\n            manualquality,\n            fit,\n            dpr,\n            imgixh,\n            imgixw\n        }) {\n            if (!url) return;\n\n            url = url.replaceAll(\"https:\", \"\");\n\n            let formatString = (compress ? \"compress,\" : \"\") + (enhance ? \"enhance,\" : \"\") + (format ? \"format,\" : \"\") + (redeye ? \"redeye,\" : \"\");\n            formatString = !formatString ? \"false\" : formatString;\n            formatString += (manualquality ? `&q=${quality}` : \"\");\n\n            return `https://d1muf25xaso8hp.cloudfront.net/https%3A${encodeURIComponent(url)}?w=&auto=${formatString}&dpr=${dpr}&fit=${fit}`;\n        }\n\n        // This method will build slide skeleton and populate it with slide information (image, alt-image, alt, text, url) and will append it to slider itself\n        async appendGenericSlide({\n            slideAutoplay, // #new [autoplayPerSlide]\n            url,\n            originalImage,\n            open,\n            text,\n            alt,\n            altImage,\n            image,\n            defaultImage,\n            text_left,\n            text_top,\n            text_shadow_spec,\n            text_shadow_color,\n            element_width,\n            element_height,\n            element_margin,\n            element_border_radius,\n            element_background,\n            object_fit,\n            element_border_width,\n            element_border_style,\n            element_border_color,\n            controls,\n            video_loop,\n            muted,\n            preload,\n            autoplay_video,\n            text_background,\n            mute_unmute_on_slide_click\n        }) {\n            return new Promise((resolve, reject) => {\n                const slide = $(\"<div>\");\n\n                slide.get(0).playSlide = () => {};\n                slide.get(0).pauseSlide = () => {};\n                slide.get(0).muteSlide = () => {};\n                slide.get(0).unmuteSlide = () => {};\n\n                slide.addClass(\"swiper-slide\");\n                (slideAutoplay) ? slide.get(0).setAttribute(\"data-swiper-autoplay\", Math.min(Math.max(0, slideAutoplay), Infinity)) : ''; // #new [autoplayPerSlide]\n                \n                slide.css({\n                    width: \"100%\",\n                    height: \"auto\",\n                    textAlign: \"center\",\n                    backgroundPosition: \"center\",\n                    backgroundSize: \"contain\",\n                    boxSizing: \"border-box\",\n                    background: \"var(--slider-img-bg, rgba(255,255,255,0))\",\n                    border: `${element_border_width}px ${element_border_style} ${element_border_color}
118`,\n                    borderRadius: element_border_radius,\n                    overflow: 'hidden'\n                });\n\n                const link = $(\"<a>\");\n                link.css(\"cursor\", \"default\");\n                if (!!url) {\n                    link.attr(\"href\", url);\n                    link.css(\"cursor\", \"pointer\");\n                    link.attr(\"onclick\", `return ${open}`);\n                    link.attr(\"target\", \"_blank\");\n                }\n\n                const paragraph = $(\"<p>\");\n                paragraph.css({ position: \"absolute\", left: `${text_left}%`, top: `${text_top}%`, textShadow: `${text_shadow_spec} ${text_shadow_color}`, transform: \"translate(-50%, -50%)\", padding: \"10px\", background: !!text ? text_background : \"transparent\" });\n                if (!!text) {\n                    paragraph.text(text);\n                }\n\n                let img, preloader, zoomContainer;\n\n                // Try to handle youtube link and extract video id from it\n                const ytid = this.extractYouTubeVideoId(originalImage);\n                const isVideo = this.isVideoLink(originalImage);\n\n                // If video id existent, then render an embed iframe instead of image\n                if (ytid) {\n                    img = $(\"<iframe>\");\n                    img.attr(\"src\", `https://www.youtube.com/embed/${ytid}?autoplay=${autoplay_video?1:0}&loop=${video_loop?1:0}&controls=${controls?1:0}&mute=${muted?1:0}`);\n                    \n                    img.css({\n                        width: `${element_width}%`,\n                        height: `${element_height}%`,\n                        marginTop: `${element_margin}%`,\n                        background: \"var(--slider-img-bg, rgba(255,255,255,0))\",\n                        objectFit: object_fit\n                    });\n                    img.attr(\"frameborder\", 0);\n                    img.attr(\"allowfullscreen\", true);\n                    img.attr(\"allow\", \"autoplay; encrypted-media\"); \n                    resolve(ytid);\n                } else if (isVideo) {\n                    img = $(\"<video>\");\n                    img.attr(\"src\", originalImage);\n                    img.css({\n                        width: `${element_width}%`,\n                        height: `${element_height}%`,\n                        marginTop: `${element_margin}%`,\n                        background: element_background,\n                        objectFit: object_fit\n                    });\n\n                    img.attr(\"playsinline\", true);\n\n                    if (controls) {\n                        img.attr(\"controls\", true);\n                    }\n\n                    if (mute_unmute_on_slide_click) {\n                        img.attr(\"onclick\", \"this.muted ? (this.muted = false) : (this.muted = true)\");\n                    }\n\n                    if (video_loop) {\n                        img.attr(\"loop\", true);\n                    }\n                    \n                    if (autoplay_video) {\n                    \timg.attr(\"autoplay\", true);\n                    }\n\n                    img.get(0).muted = !!muted;\n\n                    img.attr(\"preload\", preload ? \"auto\" : \"none\");\n                    slide.attr(\"is-video-slide\", true);\n                    slide.attr(\"is-video-slide-autoplay\", true);\n\n                    slide.get(0).playSlide = (time) => {\n                        if (time !== undefined && time !== null && Number(time) >= 0) img.get(0).currentTime = Number(time);\n                        img.get(0).play();\n                    };\n                    slide.get(0).pauseSlide = () => img.get(0).pause();\n                    slide.get(0).muteSlide = () => img.get(0).muted = true;\n                    slide.get(0).unmuteSlide = () => img.get(0).muted = false;\n\n                    img.on('play', () => {\n                        instance.publishState('is_video_playing', true);\n                    });\n\n                    img.on('pause', () => {\n                        instance.publishState('is_video_playing', false);\n                    });\n                    \n                    resolve(originalImage);\n                } else {\n                    img = $(\"<img>\");\n\n                    if (instance.data.lazy) {\n                        img.attr('loading', 'lazy');
118\n                        preloader = $('<div class=\"swiper-lazy-preloader\"></div>');\n                    }\n\n                    if (image) img.attr(\"src\", image);\n                    else if (altImage) img.attr(\"src\", altImage);\n                    else img.attr(\"src\", defaultImage);\n\n                    img.css({\n                        width: `${element_width}%`,\n                        height: `${element_height}%`,\n                        marginTop: `${element_margin}%`,\n                        borderRadius: element_border_radius,\n                        background: element_background,\n                        objectFit: object_fit,\n                        border: `${element_border_width}px ${element_border_style} ${element_border_color}`,\n                    });\n\n                    img.attr(\"alt\", alt);\n\n                    img.on(\"error\", function() {\n                        if ($(this).attr('src') === image && altImage) {\n                            $(this).attr('src', altImage);\n                        } else {\n                            $(this).attr('src', defaultImage);\n                        }\n                    });\n                    \n                    img.on('load', function() {\n                        resolve(this.src);\n                    });\n\n                    if (instance.data.zoom) {\n                        zoomContainer = $('<
118div class=\"swiper-zoom-container\"></div>');\n                        zoomContainer.append(img);\n                    }\n                }\n\n                link.append(paragraph);\n\n                if (zoomContainer) {\n                    zoomContainer.append(link);\n                    slide.append(zoomContainer);\n                } else {\n                    slide.append(link);\n                    slide.append(img);\n                }\n\n                if (preloader) {\n                    slide.append(preloader);\n                }\n\n                this.appendSlide(slide);\n            });\n        }\n    }\n\n    // Preparing UI stuff\n    // Initialize Swiper with some default properties\n    function initSwiper(effect = 'slide', cb) {\n        const swiperEl = $(\"<div>\");\n        swiperEl.addClass(\"swiper\");\n        swiperEl.css({ width: \"100%\", height: \"100%\" });\n\n        const swiperWrapper = $(\"<div>\");\n        swiperWrapper.addClass(\"swiper-wrapper\");\n\n        const swiperPagination = $(\"<div>\");\n        swiperPagination.addClass(\"swiper-pagination\");\n\n        const swiperBtnPrev = $(\"<div>\");\n        swiperBtnPrev.addClass(\"swiper-button-prev\");\n\n        const swiperBtnNext = $(\"<div>\");\n        swiperBtnNext.addClass(\"swiper-button-next\");\n\n        const swiperScrollbar = $(\"<div>\");\n        swiperScrollbar.addClass(\"swiper-scrollbar\");\n\n        swiperEl.append(swiperWrapper, swiperPagination, swiperBtnPrev, swiperBtnNext, swiperScrollbar);\n\n        instance.canvas.append(swiperEl);\n\n        const swiper = new WonderfulSwiper(swiperEl.get(0), {\n            zoom: true,\n            effect: effect,\n            // Optional parameters\n            freeMode: {\n                enabled: false,\n                sticky: false\n            },\n\n            // If we need pagination\n            pagination: {\n                el: \".swiper-pagination\",\n            },\n\n            // Navigation arrows\n            navigation: {\n                nextEl: \".swiper-button-next\",\n                prevEl: \".swiper-button-prev\"\n            },\n\n            // And if we need scrollbar\n            scrollbar: {\n                el: \".swiper-scrollbar\",\n            },\n            \n            on: {\n                update: function () {\n                    instance.data.cSlides = [...this.slides];\n                },\n            },\n            \n        });\n        \n        swiper.on('init', () => {\n        \tif (cb) cb();\n        });\n        \n        swiper.on('update', () => {\n        \t//instance.publishState('media_list', Object.values(instance.data.slides).map(v => v.originalImage));\n        });\n\n        // Attaching events to created swiper\n        swiper.on(\"slideChange\", function () {\n            instance.publishState(\"active_index\", (this.realIndex || 0) + 1);\n            \n            this.slides.forEach(sld => sld.pauseSlide());\n            \n            const currentSlide = this.slides[this.realIndex];\n            if (currentSlide && currentSlide.hasAttribute(\"is-video-slide\") && currentSlide.hasAttribute(\"is-video-slide-autoplay\")) {\n                currentSlide.playSlide(0);\n            }\n        });\n\n        swiper.on(\"doubleClick\", function () {\n            const idx = instance.data.cSlides.indexOf(this.clickedSlide); //Number($(this.clickedSlide).attr(\"aria-label\").match(/\\d/)[0]);\n            instance.publishState(\"double_clicked_index\", idx + 1);\n            instance.publishState('double_clicked_slides_media_link', instance.data.originalSource[idx]);\n            instance.triggerEvent(\"a_slide_double_clicked\");\n        });\n\n        swiper.on(\"click\", function () {\n            const idx = instance.data.cSlides.indexOf(this.clickedSlide); //Number($(this.clickedSlide).attr(\"aria-label\").match(/\\d/)[0]);\n            instance.publishState(\"clicked_index\", idx + 1);\n            instance.publishState('clicked_slides_media_link', instance.data.originalSource[idx]);\n            instance.triggerEvent(\"a_slide_clicked\");\n        });\n\n        swiperEl.on(\"mouseover\", () => {\n            if (instance.data.stoponhover) swiper.autoplay.stop();\n        });\n\n        swiperEl.on(\"mouseleave\", () => {\n            if (instance.data.stoponhover && instance.data.autoplay && !instance.data.stoponinteract) swiper.autoplay.start();\n        });\n\n        instance.data.swiper = swiper;\n        // Store all stuff in \"data\" object for further operations\n        instance.data.slides = {};\n        instance.data.swiperEl = swiperEl;\n        instance.data.swiperWrapper = swiperWrapper;\n        instance.data.swiperBtnPrev = swiperBtnPrev;\n        instance.data.swiperBtnNext = swiperBtnNext;\n        instance.data.swiperPagination = swiperPagination;\n        instance.data.swiperScrollbar = swiperScrollbar;\n        instance.data.effect = effect;
118\n    }\n\n    initSwiper();\n\n    instance.data.initSwiper = initSwiper;\n    \n    instance.data.arraysEqual = function (arr1, arr2) {\n        // Check if the arrays have the same length\n        if (arr1.length !== arr2.length) {\n            return false;\n        }\n\n        // Check if all elements in the arrays are equal\n        for (let i = 0; i < arr1.length; i++) {\n            if (arr1[i] !== arr2[i]) {\n                return false;\n            }\n        }\n\n        // If we reach this point, the arrays are equal\n        return true;\n    };\n}"},"update":{"fn":"function(instance, properties, context) { // Wonderful Video & Image Slider -> Wonderful Slider V2 -> update\n    // Destructuring properties for easy use of variables\n    const {\n        keyboard,\n        mousewheel,\n        disable_autoplay,\n        autoplay, autoplay_per_slide, // #new [autoplayPerSlide]\n        free_mode,\n        centered,\n    \tscroll_bar,\n        pagination,\n        navigation,\n        ptype,\n        pclickable,\n        slides_per_view,\n        direction,\n        loop,\n        hide_scroll_bar,\n        alt_list,\n        url_list,\n        text_list,\n        alt_img_list,\n        image_list,\n        space_between,\n        object_fit,\n        grab_cursor,\n        defaultImage,\n        text_shadow_color,\n        text_shadow_spec,\n        text_top,\n        text_left,\n        element_width,\n        element_height,\n        element_margin,\n        element_border_radius,\n        element_background,\n        element_border_width,\n        element_border_style,\n        element_border_color,\n        arrow_color,\n        arrows_shadow_spec,\n        arrows_shadow_color,\n        dots_color,\n        dots_color_inactive,\n        dots_shadow_spec,\n        dots_shadow_color,\n        redeye,\n        format,\n        enhance,\n        compress,\n        quality,\n        manualquality,\n        fit,\n        dpr,\n        imgixh,\n        imgixw,\n        useimgix,\n        controls,\n        video_loop,\n        muted,\n        preload,\n        autoplay_video,\n        arrows_size,\n        arrow_wrapper_size,\n        swipe_speed,\n        disable_autoplay_on_hover,\n        lazy,\n        effect,\n        zoom,\n        arrows_background,\n        arrows_border_radius,\n        text_background,\n        mute_unmute_on_slide_click\n    } = properties\n    \n    const autoplayPerSlide = (autoplay_per_slide?.length()) ? autoplay_per_slide.get(0, autoplay_per_slide.length()) : []; // #new [autoplayPerSlide]\n\n    // Destructuring \"data\" object that contain all initialized stuff from the \"initialize\" function\n    let { swiper, swiperBtnPrev, swiperBtnNext, swiperPagination, swiperScrollbar, slides, resizeTimer, initSwiper, arraysEqual } = instance.data\n    \n    instance.canvas.css('--slider-img-bg', element_background);\n    \n    function initCallback() {\n        // Load resources for slider\n        const sImages = (image_list ? image_list.get(0, image_list.length()) : []).filter(link => !!link)\n        const sAltImages = alt_img_list ? alt_img_list.get(0, alt_img_list.length()) : []\n        const sTextes = text_list ? text_list.get(0, text_list.length()) : []\n        const sUrls = url_list ? url_list.get(0, url_list.length()) : []\n        const sAlts = alt_list ? alt_list.get(0, alt_list.length()) : []\n        \n        // Make swiper additional elements invisible by default\n        swiperPagination.css(\"visibility\", \"hidden\")\n        swiperBtnPrev.css({\n            visibility: 'hidden',\n        \tbackground: arrows_background || 'transparent',\n            borderRadius: arrows_border_radius + 'px',\n            width: (arrow_wrapper_size || 50) + 'px',\n            height: (arrow_wrapper_size || 50) + 'px'\n        })\n        swiperBtnNext.css({\n            visibility: 'hidden',\n        \tbackground: arrows_background || 'transparent',\n            borderRadius: arrows_border_radius + 'px',\n            width: (arrow_wrapper_size || 50) + 'px',\n            height: (arrow_wrapper_size || 50) + 'px'\n        })\n        swiperScrollbar.css(\"visibility\", \"hidden\")\n\n        const navBtnsCss 
118= document.createElement(\"style\");\n        navBtnsCss.innerHTML = `[aria-controls=\"${swiper.wrapperEl.id}\"]:after { font-size: ${arrows_size || 44}px; }`;\n        document.head.appendChild(navBtnsCss);\n\n        swiper.pagination.destroy()\n\n        // Slider options\n        swiper.params.slidesPerView = slides_per_view\n        swiper.params.centeredSlides = centered\n        swiper.params.freeMode.enabled = free_mode\n        swiper.params.loop = loop\n        \n        //swiper.params.zoom = zoom\n        if (zoom) swiper.zoom.enable()\n        else swiper.zoom.disable()\n        \n        swiper.params.speed = swipe_speed\n        instance.data.autoplay = autoplay\n        instance.data.stoponhover = disable_autoplay_on_hover\n        instance.data.stoponinteract = disable_autoplay\n        instance.data.lazy = lazy\n        swiper.params.autoplay = { delay: autoplay, disableOnInteraction: disable_autoplay }\n        instance.data.zoom = zoom\n\n        if (!!autoplay) {\n            swiper.autoplay.start()\n        } else {\n            swiper.autoplay.stop()\n        }\n\n        if (!!keyboard) swiper.keyboard.enable()\n        else swiper.keyboard.disable()\n\n        if (!!mousewheel) swiper.mousewheel.enable()\n        else swiper.mousewheel.disable()\n\n        swiper.params.spaceBetween = +space_between\n        swiper.params.grabCursor = grab_cursor\n        swiper.params.scrollbar.hide = hide_scroll_bar\n        swiper.changeDirection(direction.toLowerCase())\n        swiper.params.initialSlide = 2\n        \n        // Navigation options\n        if (navigation) {\n            swiperBtnPrev.add(swiperBtnNext).css({\n                visibility: \"visible\",\n                color: arrow_color,\n                textShadow: `${arrows_shadow_spec} ${arrows_shadow_color}`\n            })\n        }\n\n        if (scroll_bar) swiperScrollbar.css(\"visibility\", \"visible\")\n\n        if (pagination) {\n            swiperPagination.css(\"visibility\", \"visible\")\n            swiperPagination.css('--swiper-pagination-color', dots_color);\n            swiperPagination.css('--swiper-pagination-bullet-inactive-color', dots_color_inactive);\n            swiperPagination.find(\".swiper-pagination-bullet\").css({\n                boxShadow: `${dots_shadow_spec} ${dots_shadow_color}`\n            })\n            swiper.params.pagination.type = ptype.toLowerCase()\n            swiper.params.pagination.clickable = pclickable\n            swiper.pagination.init()\n            swiper.pagination.update()\n        }\n        \n        if (\n            arraysEqual(instance.data.originalSource, sImages)\n            && arraysEqual(instance.data.originalAltImages, sAltImages)\n            && arraysEqual(instance.data.originalTextes, sTextes)\n            && arraysEqual(instance.data.originalUrls, sUrls)\n            && arraysEqual(instance.data.originalAlts, sAlts)\n        ) {\n            return;\n        }\n        \n        instance.data.originalSource = sImages\n\n        // Remove previous unused slides (keeping current slide active if possible without performance issues)\n        //const toRemoveKeys = Object.keys(slides).filter(key => !sImages.includes(key.split('*+')[0]))\n        //const toRemove = toRemoveKeys.map(key => +key.split('*+')[1])\n        //\n        //if (toRemove.length) {\n        //    toRemoveKeys.forEach(key => delete slides[key])\n        //    swiper.removeSlide(toRemove)\n        //}\n\n        if (Object.keys(slides).length) {\n            swiper.removeAllSlides()\n            slides = {}\n        }\n\n        // Here we build an object that will contain all our added slides\n        sImages.forEach((img, i) => {\n            if (!slides[img + i]) slides[img + i] = {\n                originalImage: img,\n                image: useimgix ? swiper.applyImgix(img, { redeye, format, enhance, compress, quality, manualquality, fit, dpr, imgixh, imgixw }) : img,\n                altImage: useimgix ? swiper.applyImgix(sAltImages[i], { redeye, format, enhance, compress, quality, manualquality, fit, dpr, imgixh, imgixw }) : sAltImages[i],\n                text: sTextes[i],\n                url: sUrls[i],\n                alt: sAlts[i]\n            }\n        })\n\n\n        // Here slides are added to slider\n        async function render
118Slides () {\n            instance.publishState('loading', true);\n            const promises = Object.values(slides).map((slide, i) => {\n                if (!slide.rendered) {\n\n                    const promise = swiper.appendGenericSlide({\n                        slideAutoplay: autoplayPerSlide[i], // #new [autoplayPerSlide]\n                        open: true,\n                        defaultImage,\n                        text_top,\n                        text_left,\n                        text_shadow_spec,\n                        text_shadow_color,\n                        element_width,\n                        element_height,\n                        element_margin,\n                        element_border_radius,\n                        element_background,\n                        object_fit,\n                        element_border_width,\n                        element_border_style,\n                        element_border_color,\n                        controls,\n                        video_loop,\n                        muted,\n                        preload,\n                        autoplay_video,\n                        text_background,\n                        mute_unmute_on_slide_click,\n                        ...slide\n                    })\n                    slide.rendered = true;\n                    return promise;\n                }\n                return null;\n            }).filter(promise => promise !== null);\n            \n            await Promise.all(promises);\n            \n            instance.publishState('loading', false);\n            instance.triggerEvent('slides_loaded');\n        }\n        \n        renderSlides();\n\n        instance.publishState('media_list', sImages)\n\n        // We need to update params and update the slider each time an update recieved\n\n        swiper.update()\n    }\n    \n    if (effect !== instance.data.effect) {\n    \tswiper.destroy(true, true)\n        initSwiper(effect, initCallback)\n        return\n    }\n    \n    initCallback()\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
119window._bubble_page_load_data.plugins_size['1598087530793x315369716811825150_current'] = 42595;
120window.preloaded['plugin/third_party:1598087530793x315369716811825150_current:current'] = true;
121window.plugins["1599995578736x177952455708377100_current"] = {"human":"Wonderful Image Slider","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"aHFyv":{"display":"Wonderful Image Slider V2","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"BoxShadow":true,"Background":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"aHFxh":{"caption":"Slides Per View","name":"slides_per_view","rank":7,"editor":"DynamicValue","value":"number","optional":false,"in_style":true,"default_val":1},"aHFxi":{"caption":"Space Between","name":"space_between","rank":8,"editor":"DynamicValue","value":"number","optional":true,"in_style":true,"default_val":0},"aHFxj":{"caption":"Image List","name":"image_list","rank":1,"editor":"DynamicValue","value":"image","is_list":true,"optional":false},"aHFxk":{"caption":"Pagination","name":"pagination","rank":12,"editor":"Checkbox","default_val":true,"in_style":true},"aHFxl":{"caption":"Clickable Dots","name":"pclickable","rank":14,"editor":"Checkbox","default_val":true,"in_style":true},"aHFxm":{"caption":"Show Navigation Arrows","name":"navigation","rank":11,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxn":{"caption":"Show Scroll Bar","name":"scroll_bar","rank":15,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxo":{"caption":"Hiding Scroll Bar Toggle","name":"hide_scroll_bar","rank":16,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxp":{"caption":"Direction","name":"direction","rank":9,"editor":"Dropdown","default_val":"Horizontal","in_style":true,"optional":true},"aHFxq":{"caption":"Centered","name":"centered","rank":17,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxr":{"caption":"Free Mode","name":"free_mode","rank":18,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxs":{"caption":"Grab Cursor","name":"grab_cursor","rank":19,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxt":{"caption":"Loop","name":"loop","rank":20,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxu":{"caption":"Switching With Keyboard","name":"keyboard","rank":27,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxv":{"caption":"Switching With Mouse Wheel","name":"mousewheel","rank":28,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxw":{"caption":"Autoplay (ms)","name":"autoplay","rank":21,"editor":"DynamicValue","optional":true,"value":"number","in_style":true,"default_val":0},"aHFxx":{"caption":"Disable Autoplay On Interaction","name":"disable_autoplay","rank":26,"editor":"Checkbox","default_val":false,"in_style":true},"aHFxy":{"caption":"Pagination Type","name":"ptype","rank":13,"editor":"Dropdown","optional":true,"default_val":"Bullets","in_style":true},"aHFxz":{"caption":"Image Width (%)","name":"element_width","rank":32,"editor":"DynamicValue","in_style":true,"optional":false,"value":"number","default_val":100},"aHFyA":{"caption":"Image Height (%)","name":"element_height","rank":33,"editor":"DynamicValue","in_style":true,"value":"number","default_val":100},"aHFyB":{"caption":"Image Top Margin (%)","name":"element_margin","rank":34,"editor":"DynamicValue","in_style":true,"value":"number","default_val":0},"aHFyC":{"caption":"Image Border Width","name":"element_border_width","rank":35,"editor":"DynamicValue","optional":true,"in_style":true,"value":"number","default_val":0}
121,"aHFyD":{"caption":"Image Background","name":"element_background","rank":39,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"rgba(255,255,255,0)"},"aHFyE":{"caption":"Arrows Color","name":"arrow_color","rank":45,"editor":"Color","in_style":true,"optional":true,"default_val":"rgba(0, 122, 255, 1)"},"aHFyF":{"caption":"LIST DEFINITIONS","name":"list_definitions","rank":0,"editor":"Label"},"aHFyG":{"caption":"CSS Customizations","name":"css_definitions","rank":30,"editor":"Label"},"aHFyH":{"caption":"PAGINATION SETTINGS","name":"pagination_settings","rank":10,"editor":"Label"},"aHFyI":{"caption":"SLIDE VIEW OPTIONS","name":"slide_view_options","rank":6,"editor":"Label"},"aHFyJ":{"caption":"Image Border Color","name":"element_border_color","rank":36,"editor":"Color","optional":true,"in_style":true},"aHFyK":{"caption":"Image Border Style","name":"element_border_style","rank":37,"editor":"Dropdown","default_val":"none","optional":true,"in_style":true},"aHFyL":{"caption":"Image Border Radius","name":"element_border_radius","rank":38,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"0px 0px 0px 0px"},"aHFyM":{"caption":"Object Fit","name":"object_fit","rank":31,"editor":"Dropdown","default_val":"fill","optional":true,"in_style":true},"aHFyN":{"caption":"Bullets Color","name":"dots_color","rank":52,"editor":"Color","default_val":"rgba(0, 122, 255, 1)","optional":true,"in_style":true},"aHFyO":{"caption":"Arrows Shadow Specification","name":"arrows_shadow_spec","rank":46,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"0px 0px 5px"},"aHFyP":{"caption":"Arrows Shadow Color","name":"arrows_shadow_color","rank":47,"editor":"Color","optional":true,"in_style":true},"aHFyQ":{"caption":"Bullets Shadow Specification","name":"dots_shadow_spec","rank":54,"editor":"DynamicValue","optional":true,"in_style":true,"value":"text","default_val":"0px 0px 5px"},"aHFyR":{"caption":"Bullets Shadow Color","name":"dots_shadow_color","rank":55,"editor":"Color","optional":true,"in_style":true},"aHFyS":{"caption":"Text List","name":"text_list","rank":3,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"aHFyU":{"caption":"Text Top (%)","name":"text_top","rank":40,"editor":"DynamicValue","in_style":true,"optional":true,"value":"number","default_val":50},"aHFyV":{"caption":"Text Left (%)","name":"text_left","rank":41,"editor":"DynamicValue","in_style":true,"optional":true,"value":"number","default_val":50},"aHFyW":{"caption":"Text Shadow Specifications","name":"text_shadow_spec","rank":43,"editor":"DynamicValue","in_style":true,"optional":true,"value":"text","default_val":"0px 0px 5px"},"aHFyX":{"caption":"Text Shadow Color","name":"text_shadow_color","rank":44,"editor":"Color","optional":true,"in_style":true},"aHFyY":{"caption":"--------------------------------------------------","name":"----","rank":56,"editor":"Label"},"aHFyZ":{"caption":"Imgix Parameters","name":"imgix_parameters","rank":57,"editor":"Label"},"aHFya":{"caption":"--------------------------------------------------","name":"---","rank":58,"editor":"Label"},"aHFyb":{"caption":"*** Add Auto Parameters ***","name":"automatic","rank":66,"editor":"Label","optional":true,"in_style":true},"aHFyc":{"caption":"DPR","name":"dpr","rank":62,"editor":"DynamicValue","value":"number","optional":true,"in_style":true,"default_val":2},"aHFyd":{"caption":"Fit","name":"fit","rank":63,"editor":"Dropdown","default_val":"max","optional":true,"in_style":true},"aHFye":{"caption":"Width","name":"imgixw","rank":60,"editor":"DynamicValue","value":"number","optional":true,"in_style":true},"aHFyf":{"caption":"Height","name":"imgixh","rank":61,"editor":"DynamicValue","value":"number","optional":true,"in_style":true},"aHFyg":{"caption":"Compress","name":"compress","rank":67,"editor":"Checkbox","value":"boolean","optional":true,"default_val":true,"in_style":true},"aHFyh":{"caption":"Enhance","name":"enhance","rank":68,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"aHFyi":{"caption":"Format","name":"format","rank":69,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"aHFyj":{"caption":"Red-eye","name":"redeye","rank":70,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"aHFyk":{"caption":"Quality","name":"quality","rank":65,"editor":"DynamicValue","value":"number","optional":true,"in_style":true,"default_val":45},"aHFyl":{"caption":"Manual Quality","name":"manualquality","rank":64,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"aHFym":{"caption":"Use Imgix Parameters","name":"useimgix","rank":59,"editor":"Checkbox","value":"boolean","optional":true,"default_val":false,"in_style":true},"aHFyp":{"caption":"---------------------------------------------------","name":"---","rank":71,"editor":"Label"},"aHFyq":{"caption":"Default Image","name":"defaultImage","rank":72,"editor":"DynamicValue","optional":true,"in_style":false,"value":"image","default_val":"//meta.cdn.bubble.io/f1682332824898x700592401662315000/image-not-available.svg"},"aHFys":{"caption":"ALT Image List","name":"alt_img_list","rank":2,"editor":"DynamicValue","value":"image","is_list":true,"optional":true},"aHFyx":{"caption":"Arrows Size (px)","name":"arrows_size","rank":48,"editor":"DynamicValue","value":"number","default_val":44,"optional":true},"aHFyy":{"caption":"Swipe Speed (ms)","name":"swipe_speed","rank":22,"editor":"DynamicValue","value":"number","optional":true,"in_style":true,"default_val":300},"aHFzB":{"caption":"Disable Autoplay on Hover","name":"disable_autoplay_on_hover","rank":25,"editor":"Checkbox","default_val":true,"in_style":true},"aHFzG":{"caption":"Lazy Loading","name":"lazy","rank":23,"editor":"Checkbox","default_val":true,"in_style":true},"aHFzH":{"caption":"Effect","name":"effect","rank":24,"editor":"Dropdown","in_style":true,"default_val":"slide"},"aHFzI":{"caption":"Zoom","name":"zoom","rank":29,"editor":"Checkbox","default_val":false,"in_style":true}
121,"aHFzM":{"caption":"Arrows Background","name":"arrows_background","rank":50,"editor":"Color","optional":true,"in_style":true},"aHFzN":{"caption":"Arrows Border Radius","name":"arrows_border_radius","rank":51,"editor":"DynamicValue","value":"number","default_val":5,"optional":true},"aHFzO":{"caption":"Text Background","name":"text_background","rank":42,"editor":"Color","default_val":"rgba(0,0,0,0)","optional":true,"in_style":true},"aHFzP":{"caption":"Arrow wrapper size","name":"arrow_wrapper_size","rank":49,"editor":"DynamicValue","value":"number","default_val":50,"optional":true},"aHFzU":{"caption":"Dots Inactive Color","name":"dots_color_inactive","rank":53,"editor":"Color","optional":true,"in_style":true,"default_val":"rgba(0,0,0,1)"},"aHFzW":{"caption":"URL List","name":"url_list","rank":4,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"aHFzX":{"caption":"ALT List","name":"alt_list","rank":5,"editor":"DynamicValue","value":"text","is_list":true,"optional":true}},"states":{"aHFyt":{"caption":"Active Index","name":"active_index","value":"number","initialization_code":{"fn":"function(properties, context) { return 1 }"}},"aHFyu":{"caption":"Clicked Index","name":"clicked_index","value":"number","initialization_code":{"fn":"function(properties, context) {}"}},"aHFzD":{"caption":"Double Clicked Index","name":"double_clicked_index","value":"number","initialization_code":{"fn":"function(properties, context) {}"}},"aHFzJ":{"caption":"Image List","name":"image_list","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"},"is_list":true},"aHFzK":{"caption":"Clicked Index Image","name":"clicked_index_image","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"aHFzL":{"caption":"Double Clicked Index Image","name":"double_clicked_index_image","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"aHFzS":{"caption":"Loading","name":"loading","value":"boolean","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"aHFxg":{"caption":"A Slide Double Clicked","name":"a_slide_double_clicked"},"aHFzC":{"caption":"A Slide Clicked","name":"a_slide_clicked"},"aHFzT":{"caption":"Slides Loaded","name":"slides_loaded"}},"actions":{"aHFxc":{"caption":"Slide To","code":{"fn":"function(instance, properties, context) {\n    if (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slideToLoop(properties.index - 1);\n    } catch (e) {\n        context.reportDebugger(`🔴 SLIDER ERROR: ${e.message}`);\n    }\n}"},"fields":{"aHFxd":{"caption":"index","name":"index","rank":0,"editor":"DynamicValue","value":"number","default_val":0}}},"aHFxe":{"caption":"Next Slide","code":{"fn":"function(instance, properties, context) {\n    if (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slideNext();\n    } catch (e) {\n        context.reportDebugger(`🔴 SLIDER ERROR: ${e.message}`);\n    }\n}"}},"aHFxf":{"caption":"Previous Slide","code":{"fn":"function(instance, properties, context) {\n    if (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.slidePrev();\n    } catch (e) {\n        context.reportDebugger(`🔴 SLIDER ERROR: ${e.message}`);\n    }\n}"}},"aHFzQ":{"caption":"Zoom","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.zoom.in(properties.scale);\n    } catch (e) {\n        context.reportDebugger(`🔴 SLIDER ERROR: ${e.message}`);\n    }\n}"},"fields":{"aHFzR":{"caption":"Scale","name":"scale","rank":0,"editor":"DynamicValue","value":"number","default_val":1}}},"aHFzV":{"caption":"Update Render","code":{"fn":"function(instance, properties, context) {\n\tif (!instance.data.swiper) return;\n\n    try {\n        instance.data.swiper.update();\n    } catch (e) {\n        context.reportDebugger(`🔴 SLIDER ERROR: ${e.message}`);\n    }\n}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n    var d = document.createElement(\"div\")\n    d.id = \"loaderr preview\"\n    d.style.display = \"flex\"\n    d.style.width = properties.bubble.width-0 + \"px\"\n    d.style.height = properties.bubble.height-0 + \"px\"\n    d.style.overflow = \"hidden\"\n    d.style.justifyContent = \"center\"\n    d.style.background = \"none\"\n    var x = document.createElement(\"IMG\");\n    x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1599999787292x846058227134172200/pictusel-h5p-org.png\")\n    var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n    x.style.width = \"240px\"\n    x.style.height = \"180px\"\n    x.style.verticalAlign = \"middle\"\n    d.appendChild(x)\n    var e = []\n\n\n    instance.canvas[0].appendChild(d)\n    var iconScale = x.offsetWidth / 100\n    e.forEach(element => element.style.fontSize = iconScale * 100 + \"%\") \n}"},"initialize":{"fn":"function(instance, context) {\n  // Wonderful Image Slider -> Wonderful Image Slider V2 -> initialize\n\n  instance.data.originalSource = [];\n  instance.data.originalAltImages = [];\n  instance.data.originalTextes = [];\n  instance.data.originalUrls = [];\n  instance.data.originalAlts = [];\n\n  instance.canvas.addClass(\"swiper-parent\");\n\n  // Extend Swiper with our utility methods\n  class WonderfulSwiper extends Swiper {\n    constructor(container, params) {\n      super(container, params);\n      this.initCustomZoomEvents();\n    }
121\n\n    initCustomZoomEvents() {\n      const originalZoomIn = this.zoom.in.bind(this.zoom);\n      const originalZoomOut = this.zoom.out.bind(this.zoom);\n\n      this.zoom.in = (...args) => {\n        originalZoomIn(...args);\n        const zoomInEvent = new CustomEvent(\"swiperZoomIn\", {\n          detail: { swiper: this },\n        });\n        this.el.dispatchEvent(zoomInEvent);\n      };\n\n      this.zoom.out = (...args) => {\n        originalZoomOut(...args);\n        const zoomOutEvent = new CustomEvent(\"swiperZoomOut\", {\n          detail: { swiper: this },\n        });\n        this.el.dispatchEvent(zoomOutEvent);\n      };\n    }\n\n    // We need a method that will apply \"imgix\" parameters for our images\n    applyImgix(\n      url,\n      {\n        redeye,\n        format,\n        enhance,\n        compress,\n        quality,\n        manualquality,\n        fit,\n        dpr,\n        imgixh,\n        imgixw,\n      },\n    ) {\n      if (!url) return;\n\n      url = url.replaceAll(\"https:\", \"\");\n\n      let formatString =\n        (compress ? \"compress,\" : \"\") +\n        (enhance ? \"enhance,\" : \"\") +\n        (format ? \"format,\" : \"\") +\n        (redeye ? \"redeye,\" : \"\");\n      formatString = !formatString ? \"false\" : formatString;\n      formatString += manualquality ? `&q=${quality}` : \"\";\n\n      return `https://d1muf25xaso8hp.cloudfront.net/https%3A${encodeURIComponent(url)}?w=&auto=${formatString}&dpr=${dpr}&fit=${fit}`;\n    }\n\n    // This method will build slide skeleton and populate it with slide information (image, alt-image, alt, text, url) and will append it to slider itself\n    async appendGenericSlide({\n      url,\n      open,\n      text,\n      alt,\n      altImage,\n      image,\n      defaultImage,\n      text_left,\n      text_top,\n      text_shadow_spec,\n      text_shadow_color,\n      element_width,\n      element_height,\n      element_margin,\n      element_border_radius,\n      element_background,\n      object_fit,\n      element_border_width,\n      element_border_style,\n      element_border_color,\n      text_background,\n    }) {\n      return new Promise((resolve, reject) => {\n        let preloader;\n\n        let height;\n        if (instance.data.properties.bubble.max_height_css()) {\n          height = instance.data.properties.bubble.max_height_css();\n        } else {\n          height = instance.data.properties.bubble.height();\n        }\n\n        const slide = $(\"<div>\");\n        slide.addClass(\"swiper-slide\");\n        slide.css({\n          width: \"100%\",\n          height: height,\n          textAlign: \"center\",\n          backgroundPosition: \"center\",\n          backgroundSize: \"contain\",\n          boxSizing: \"border-box\",\n          background: \"var(--slider-img-bg, rgba(255,255,255,0))\",\n          border: `${element_border_width}px ${element_border_style} ${element_border_color}`,\n          borderRadius: element_border_radius,\n          overflow: \"hidden\",\n        });\n\n        const link = !!url ? $(\"<a>\") : $(\"<span role = 'link'>\"); // #new [SEOOptimization]\n        link.css(\"cursor\", \"default\");\n        if (!!url) {\n          link.attr(\"href\", url);\n          link.css(\"cursor\", \"pointer\");\n          link.attr(\"onclick\", `return ${open}`);\n          link.attr(\"target\", \"_blank\");\n        }\n\n        const paragraph = $(\"<p>\");\n        paragraph.css({\n          position: \"absolute\",\n          left: `${text_left}%`,\n          top: `${text_top}%`,\n          textShadow: `${text_shadow_spec} ${text_shadow_color}`,\n          transform: \"translate(-50%, -50%)\",\n          padding: \"10px\",\n          background: !!text ? text_background : \"transparent\",\n        });\n        if (!!text) {\n          paragraph.text(text);\n        }\n\n        const img = $(\"<img>\");\n        if (instance.data.lazy) {\n          img.attr(\"loading\", \"lazy\");\n          preloader = $(`<div class=\"swiper-lazy-preloader\"></div>`);\n        }\n\n        if (image) img.attr(\"src\", image);\n        else if (altImage) img.attr(\"src\", altImage);\n        else img.attr(\"src\", defaultImage);\n\n        img.css({\n          width: `${element_width}%`,\n          height: `${element_height}%`,\n          marginTop: `${element_margin}%`,\n          background: \"var(--slider-img-bg, rgba(255,255,255,0))\",\n          objectFit: object_fit,\n        });\n\n        img.attr(\"alt\", alt);\n        img.on(\"error\", function () {\n          if ($(this).attr(\"src\") === image && altImage) {\n            $(this).attr(\"src\", altImage);\n          } else {\n            $(this).attr(\"src\", defaultImage);\n          }\n        });\n\n        img.on(\"load\", function () {\n          resolve(this.src);\n        });\n\n        link.append(paragraph);\n\n        if (instance.data.zoom) {\n          const zoomContainer = $(`<div class=\"swiper-zoom-container\"></div>`);\n          zoomContainer.append(img);\n\n          zoomContainer.append(link);\n          slide.append(zoomContainer);\n        } else {\n          slide.append(link);\n          slide.append(img);\n        }\n\n        if (preloader) {\n          slide.append(preloader);\n        }\n\n        this.appendSlide(slide);\n      });\n    }\n  }\n\n  function initSwiper(effect = \"slide\", cb) {\n    // Preparing UI stuff\n    const swiperEl = $(\"<div>\");\n    swiperEl.addClass(\"swiper\");\n    swiperEl.css({ width: \"100%\", height: \"100%\" });\n\n    const swiperWrapper = $(\"<div>\");\n    swiperWrapper.addClass(\"swiper-wrapper\");\n\n    const swiperPagination = $(\"<div>\");\n    swiperPagination.addClass(\"swiper-pagination\");\n\n    const swiperBtnPrev = $(\"<div>\");\n    swiperBtnPrev.addClass(\"swiper-button-prev\");\n\n    const swiperBtnNext = $(\"<div>\");\n    swiperBtnNext.addClass(\"swiper-button-next\");\n\n    const swiperScrollbar = $(\"<div>\");\n    swiperScrollbar.addClass(\"swiper-scrollbar\");\n\n    swiperEl.append(\n      swiperWrapper,\n      swiperPagination,\n      swiperBtnPrev,\n      swiperBtnNext,\n      swiperScrollbar,\n    );\n\n    instance.canvas.append(swiperEl);\n\n    // Initialize Swiper with some default properties\n    const swiper = new WonderfulSwiper(swiperEl.get(0), {\n      //cssMode: true,\n      speed: 10000,\n      zoom: true,\n      effect: effect,\n      // Optional parameters\n      freeMode: {\n        enabled: false,\n        sticky: fal
121se,\n      },\n\n      // If we need pagination\n      pagination: {\n        el: \".swiper-pagination\",\n      },\n\n      // Navigation arrows\n      navigation: {\n        nextEl: \".swiper-button-next\",\n        prevEl: \".swiper-button-prev\",\n      },\n\n      // And if we need scrollbar\n      scrollbar: {\n        el: \".swiper-scrollbar\",\n      },\n\n      on: {\n        update: function () {\n          instance.data.cSlides = [...this.slides];\n        },\n      },\n    });\n\n    swiper.el.addEventListener(\"swiperZoomIn\", (event) => {});\n\n    swiper.el.addEventListener(\"swiperZoomOut\", (event) => {});\n\n    swiper.on(\"zoomChange\", (swiper, scale, imageEl, slideEl) => {});\n\n    swiper.on(\"init\", () => {\n      if (cb) cb();\n    });\n\n    swiper.on(\"update\", () => {\n      //instance.publishState('image_list', Object.values(instance.data.slides).map(v => v.originalImage))\n    });\n\n    // Attaching events to created swiper\n    swiper.on(\"slideChange\", function () {\n      instance.publishState(\"active_index\", this.realIndex + 1);\n    });\n\n    swiper.on(\"doubleClick\", function () {\n      if (!this.clickedSlide) return; // guard\n      const idx = instance.data.cSlides.indexOf(this.clickedSlide); //Number($(this.clickedSlide).attr(\"aria-label\").match(/\\d/)[0]);\n      instance.publishState(\"double_clicked_index\", idx + 1);\n      instance.publishState(\n        \"double_clicked_index_image\",\n        instance.data.originalSource[idx],\n      );\n      instance.triggerEvent(\"a_slide_double_clicked\");\n    });\n\n    swiper.on(\"click\", function () {\n      if (!this.clickedSlide) return; // guard\n      const idx = instance.data.cSlides.indexOf(this.clickedSlide); //Number($(this.clickedSlide).attr(\"aria-label\").match(/\\d/)[0]);\n      instance.publishState(\"clicked_index\", idx + 1);\n      instance.publishState(\n        \"clicked_index_image\",\n        instance.data.originalSource[idx],\n      );\n      instance.triggerEvent(\"a_slide_clicked\");\n    });\n\n    swiperEl.on(\"mouseover\", () => {\n      if (instance.data.stoponhover) swiper.autoplay.stop();\n    });\n\n    swiperEl.on(\"mouseleave\", () => {\n      if (\n        instance.data.stoponhover &&\n        instance.data.autoplay &&\n        !instance.data.stoponinteract\n      )\n        swiper.autoplay.start();\n    });\n\n    swiper.on(\"resize\", function () {});\n\n    // Store all stuff in \"data\" object for further operations\n    instance.data.slides = {};\n    instance.data.swiperEl = swiperEl;\n    instance.data.swiperWrapper = swiperWrapper;\n    instance.data.swiperBtnPrev = swiperBtnPrev;\n    instance.data.swiperBtnNext = swiperBtnNext;\n    instance.data.swiperPagination = swiperPagination;\n    instance.data.swiperScrollbar = swiperScrollbar;\n    instance.data.swiper = swiper;\n    instance.data.effect = effect;\n  }\n\n  initSwiper();\n\n  instance.data.initSwiper = initSwiper;\n\n  instance.data.arraysEqual = function (arr1, arr2) {\n    // Check if the arrays have the same length\n    if (arr1.length !== arr2.length) {\n      return false;\n    }\n\n    // Check if all elements in the arrays are equal\n    for (let i = 0; i < arr1.length; i++) {\n      if (arr1[i] !== arr2[i]) {\n        return false;\n      }\n    }\n\n    // If we reach this point, the arrays are equal\n    return true;\n  };\n}\n"},"update":{"fn":"function(instance, properties, context) {\n  // Wonderful Image Slider -> Wonderful Image Slider V2 -> update\n  // Destructuring properties for easy use of variables\n  const {\n    keyboard,\n    mousewheel,\n    disable_autoplay,\n    autoplay,\n    free_mode,\n    centered,\n    scroll_bar,\n    pagination,\n    navigation,\n    ptype,\n    pclickable,\n    slides_per_view,\n    direction,\n    loop,\n    hide_scroll_bar,\n    alt_list,\n    url_list,\n    text_list,\n    alt_img_list,\n    image_list,\n    space_between,\n    object_fit,\n    grab_cursor,\n    defaultImage,\n    text_shadow_color,\n    text_shadow_spec,\n    text_top,\n    text_left,\n    element_width,\n    element_height,\n    element_margin,\n    element_border_radius,\
121n    element_background,\n    element_border_width,\n    element_border_style,\n    element_border_color,\n    arrow_color,\n    arrows_shadow_spec,\n    arrows_shadow_color,\n    dots_color,\n    dots_color_inactive,\n    dots_shadow_spec,\n    dots_shadow_color,\n    redeye,\n    format,\n    enhance,\n    compress,\n    quality,\n    manualquality,\n    fit,\n    dpr,\n    imgixh,\n    imgixw,\n    useimgix,\n    arrows_size,\n    arrow_wrapper_size,\n    swipe_speed,\n    disable_autoplay_on_hover,\n    lazy,\n    effect,\n    zoom,\n    arrows_border_radius,\n    arrows_background,\n    text_background,\n  } = properties;\n\n  instance.data.properties = properties;\n\n  // Destructuring \"data\" object that contain all initialized stuff from the \"initialize\" function\n  let {\n    swiper,\n    swiperBtnPrev,\n    swiperBtnNext,\n    swiperPagination,\n    swiperScrollbar,\n    slides,\n    resizeTimer,\n    initSwiper,\n    arraysEqual,\n  } = instance.data;\n\n  instance.canvas.css(\"--slider-img-bg\", element_background);\n\n  function initCallback() {\n    // Load resources for slider\n    const sImages = (\n      image_list ? image_list.get(0, image_list.length()) : []\n    ).filter((link) => !!link);\n    const sAltImages = alt_img_list\n      ? alt_img_list.get(0, alt_img_list.length())\n      : [];\n    const sTextes = text_list ? text_list.get(0, text_list.length()) : [];\n    const sUrls = url_list ? url_list.get(0, url_list.length()) : [];\n    const sAlts = alt_list ? alt_list.get(0, alt_list.length()) : [];\n\n    // Slider options\n    swiper.params.slidesPerView = slides_per_view;\n    swiper.params.centeredSlides = centered;\n    swiper.params.freeMode.enabled = free_mode;\n    // swiper.params.loop = loop\n\n    //swiper.params.zoom = zoom\n    if (zoom) swiper.zoom.enable();\n    else swiper.zoom.disable();\n\n    swiper.params.speed = swipe_speed;\n    instance.data.autoplay = autoplay;\n    instance.data.stoponhover = disable_autoplay_on_hover;\n    instance.data.stoponinteract = disable_autoplay;\n    swiper.params.autoplay = {\n      delay: autoplay,\n      disableOnInteraction: disable_autoplay,\n    };\n    instance.data.lazy = lazy;\n    instance.data.zoom = zoom;\n\n    if (!!autoplay) {\n      swiper.autoplay.start();\n    } else {\n      swiper.autoplay.stop();\n    }\n\n    if (!!keyboard) swiper.keyboard.enable();\n    else swiper.keyboard.disable();\n\n    if (!!mousewheel) swiper.mousewheel.enable();\n    else swiper.mousewheel.disable();\n\n    swiper.params.spaceBetween = +space_between;\n    swiper.params.grabCursor = grab_cursor;\n    swiper.params.scrollbar.hide = hide_scroll_bar;\n    swiper.changeDirection(direction.toLowerCase());\n    swiper.params.initialSlide = 2;\n\n    // Make swiper additional elements invisible by default\n    swiperPagination.css(\"visibility\", \"hidden\");\n    swiperBtnPrev.css({\n      visibility: \"hidden\",\n      background: arrows_background || \"transparent\",\n      borderRadius: arrows_border_radius + \"px\",\n      width: (arrow_wrapper_size || 50) + \"px\",\n      height: (arrow_wrapper_size || 50) + \"px\",\n    });\n    swiperBtnNext.css({\n      visibility: \"hidden\",\n      background: arrows_background || \"transparent\",\n      borderRadius: arrows_border_radius + \"px\",\n      width: (arrow_wrapper_size || 50) + \"px\",\n      height: (arrow_wrapper_size || 50) + \"px\",\n    });\n    swiperScrollbar.css(\"visibility\", \"hidden\");\n\n    var navBtnsCss = document.createElement(\"style\");\n    navBtnsCss.innerHTML = `[aria-controls=\"${swiper.wrapperEl.id}\"]:after { font-size: ${arrows_size || 44}px; }`;\n    document.head.appendChild(navBtnsCss);\n\n    swiper.pagination.destroy();\n\n    // Navigation options\n    if (navigation) {\n      swiperBtnPrev.add(swiperBtnNext).css({\n        visibility: \"visible\",\n        color: arrow_color,\n        textShadow: `${arrows_shadow_spec} ${arrows_shadow_color}`,\n      });\n    }\n\n    if (scroll_bar) swiperScrollbar.css(\"visibility\", \"visible\");\n\n    if (pagination) {\n      swiperPagination.css(\"visibility\", \"visible\");
121\n      swiperPagination.css(\"--swiper-pagination-color\", dots_color);\n      swiperPagination.css(\n        \"--swiper-pagination-bullet-inactive-color\",\n        dots_color_inactive,\n      );\n      swiperPagination.find(\".swiper-pagination-bullet\").css({\n        boxShadow: `${dots_shadow_spec} ${dots_shadow_color}`,\n      });\n      swiper.params.pagination.type = ptype.toLowerCase();\n      swiper.params.pagination.clickable = pclickable;\n      swiper.pagination.init();\n      swiper.pagination.update();\n    }\n\n    if (\n      arraysEqual(instance.data.originalSource, sImages) &&\n      arraysEqual(instance.data.originalAltImages, sAltImages) &&\n      arraysEqual(instance.data.originalTextes, sTextes) &&\n      arraysEqual(instance.data.originalUrls, sUrls) &&\n      arraysEqual(instance.data.originalAlts, sAlts)\n    ) {\n      return;\n    }\n\n    instance.data.originalSource = sImages;\n    instance.data.originalAltImages = sAltImages;\n    instance.data.originalTextes = sTextes;\n    instance.data.originalUrls = sUrls;\n    instance.data.originalAlts = sAlts;\n\n    // Remove previous unused slides (keeping current slide active if possible without performance issues)\n    //const toRemoveKeys = Object.keys(slides).filter(key => !sImages.includes(key.split('*+')[0]))\n    //const toRemove = toRemoveKeys.map(key => +key.split('*+')[1])\n    //\n    //if (toRemove.length) {\n    //    toRemoveKeys.forEach(key => delete slides[key])\n    //    swiper.removeSlide(toRemove)\n    //}\n\n    if (Object.keys(slides).length) {\n      swiper.removeAllSlides();\n      slides = {};\n    }\n\n    // Here we build an object that will contain all our added slides\n    sImages.forEach((img, i) => {\n      if (!slides[img + i])\n        slides[img + i] = {\n          originalImage: img,\n          image: useimgix\n            ? swiper.applyImgix(img, {\n                redeye,\n                format,\n                enhance,\n                compress,\n                quality,\n                manualquality,\n                fit,\n                dpr,\n                imgixh,\n                imgixw,\n              })\n            : img,\n          altImage: useimgix\n            ? swiper.applyImgix(sAltImages[i], {\n                redeye,\n                format,\n                enhance,\n                compress,\n                quality,\n                manualquality,\n                fit,\n                dpr,\n                imgixh,\n                imgixw,\n              })\n            : sAltImages[i],\n          text: sTextes[i],\n          url: sUrls[i],\n          alt: sAlts[i],\n        };\n    });\n\n    // Here slides are added to slider\n    async function render
121Slides() {\n      instance.publishState(\"loading\", true);\n      const promises = Object.values(slides)\n        .map((slide, i) => {\n          if (!slide.rendered) {\n            const promise = swiper.appendGenericSlide({\n              open: true,\n              defaultImage,\n              text_top,\n              text_left,\n              text_shadow_spec,\n              text_shadow_color,\n              element_width,\n              element_height,\n              element_margin,\n              element_border_radius,\n              element_background,\n              object_fit,\n              element_border_width,\n              element_border_style,\n              element_border_color,\n              text_background,\n              ...slide,\n            });\n            slide.rendered = true;\n            return promise;\n          }\n          return null;\n        })\n        .filter((promise) => promise !== null);\n\n      await Promise.all(promises);\n\n      // ✅ Only enable loop AFTER slides are loaded and count is verified\n      const minSlidesForLoop = Math.ceil(swiper.params.slidesPerView) * 2;\n      swiper.params.loop =\n        loop && Object.keys(slides).length >= minSlidesForLoop;\n\n      swiper.update(); // ✅ Move update here, after slides exist\n\n      instance.publishState(\"loading\", false);\n      instance.triggerEvent(\"slides_loaded\");\n\n      instance.publishState(\"loading\", false);\n      instance.triggerEvent(\"slides_loaded\");\n    }\n\n    renderSlides();\n\n    instance.publishState(\"image_list\", sImages);\n\n    // We need to update params and update the slider each time an update recieved\n\n    // swiper.update();\n\n    instance.data.initedUpdate = true;\n  }\n\n  if (effect !== instance.data.effect) {\n    swiper.destroy(true, true);\n    initSwiper(effect, initCallback);\n    return;\n  }\n\n  initCallback();\n\n  const height = instance.canvas[0].offsetHeight;\n  if (height > 0 && instance.data.swiper) {\n    instance.data.swiperEl.find(\".swiper-slide\").css(\"height\", height + \"px\");\n    instance.data.swiper.update();\n  }\n}\n"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
122window._bubble_page_load_data.plugins_size['1599995578736x177952455708377100_current'] = 34815;
123window.preloaded['plugin/third_party:1599995578736x177952455708377100_current:current'] = true;
124window.plugins["1647939592912x874934349878526000_current"] = {"human":"Quick Custom Share Buttons","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAl":{"display":"Wonderful Share Buttons","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":false,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAU":{"caption":"Button Text","name":"displayText","rank":1,"editor":"DynamicValue","value":"text","default_val":"Share on %s","optional":true},"AAW":{"caption":"URL To Share","name":"shareUrl","rank":2,"editor":"DynamicValue","value":"text","default_val":"https://bubble.io/","optional":true},"AAX":{"caption":"Description","name":"description","rank":3,"editor":"DynamicValue","value":"text","default_val":"Wonderful Share Buttons is light-weight, super fast and easy!","optional":true},"AAm":{"caption":"Target","name":"pageTarget","rank":4,"editor":"Dropdown","default_val":"Popup","in_style":true},"AAn":{"caption":"Slot 1","name":"slot1","rank":6,"editor":"Dropdown","default_val":"Facebook"},"AAo":{"caption":"Slot 2","name":"slot2","rank":7,"editor":"Dropdown","default_val":"Twitter"},"AAp":{"caption":"Slot 3","name":"slot3","rank":8,"editor":"Dropdown","default_val":"LinkedIn"},"AAq":{"caption":"Slot 4","name":"slot4","rank":9,"editor":"Dropdown","default_val":"Email"},"AAr":{"caption":"Slot 5","name":"slot5","rank":10,"editor":"Dropdown","default_val":"Null"},"AAs":{"caption":"Slot 6","name":"slot6","rank":11,"editor":"Dropdown","default_val":"Null"},"AAt":{"caption":"Slot 7","name":"slot7","rank":12,"editor":"Dropdown","default_val":"Null"},"AAu":{"caption":"Slot 8","name":"slot8","rank":13,"editor":"Dropdown","default_val":"Null"},"AAv":{"caption":"Slot 9","name":"slot9","rank":14,"editor":"Dropdown","default_val":"Null"},"AAw":{"caption":"Slot 10","name":"slot10","rank":15,"editor":"Dropdown","default_val":"Null"}
124,"AAx":{"caption":"Slot 11","name":"slot11","rank":16,"editor":"Dropdown","default_val":"Null"},"AAy":{"caption":"Slot 12","name":"slot12","rank":17,"editor":"Dropdown","default_val":"Null"},"AAz":{"caption":"*** ABOUT BUTTON TEXT: When you enter \"%s\", the name of the social media app will be written according to which social media app the button belongs to. ***","name":"info","rank":0,"editor":"Label"},"ABA":{"caption":"*** With slots, you can show the buttons in the order you want. We do not recommend showing the same social media app in more than one slot. ***","name":"info2","rank":5,"editor":"Label"},"ABB":{"caption":"Slot 13","name":"slot13","rank":18,"editor":"Dropdown","default_val":"Null"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n  var d = document.createElement(\"div\")\n  d.id = \"loaderr preview\"\n  d.style.display = \"flex\"\n  d.style.width = properties.bubble.width-0 + \"px\"\n  d.style.height = properties.bubble.height-0 + \"px\"\n  d.style.overflow = \"hidden\"\n  d.style.justifyContent = \"center\"\n  d.style.background = \"none\"\n  var x = document.createElement(\"IMG\");\n  x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1648210251773x808269200674233600/icons8-share-100%20%283%29.png\")\n  var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n  x.style.width = \"100px\"\n    x.style.height = \"100px\"\n  x.style.verticalAlign = \"middle\"\n    x.setAttribute(\"transform\", \"translateX(50%) translateY(50%)\")\n  d.appendChild(x)\n  var e = []\n  \n  \n  instance.canvas[0].appendChild(d)\n  var iconScale = x.offsetWidth / 100\n  e.forEach(element => element.style.fontSize = iconScale * 100 + \"%\") \n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\tinstance.data.randomId = Math.floor(Math.random() * 1000);\n\n}"},"update":{"fn":"function(instance, properties, context) {\n\t\n  let randomId = instance.data.randomId;\n  \n  \n  \n  var displayText = \"\";\n  \n  var buttonSize = \"small\";\n  \n  \n  if(properties.displayText){\n    displayText = properties.displayText;  \n  buttonSize = \"large\";\n  }\n  \n  \n  \n  \n  var shareUrl = \"\";\n  \n  if(properties.shareUrl){\n    shareUrl = properties.shareUrl;  \n  }\n  \n  var description = \"\";\n  \n  if(properties.description){\n    description = properties.description;  \n  }\n  /*\n  description = description.replace(\" \",\"%20\");\n  description = description.replace(\"!\",\"%21\");\n  description = description.replace('\"',\"%22\");\n  description = description.replace(\"#\",\"%23\");\n  description = description.replace(\"$\",\"%24\");\n  description = description.replace(\"&\",\"%26\");\n  description = description.replace(\"'\",\"%27\");\n  description = description.replace(\"(\",\"%28\");\n  description = description.replace(\")\",\"%29\");\n  description = description.replace(\"*\",\"%2A\");\n  description = description.replace(\"+\",\"%2B\");\n  */\n  description = encodeURIComponent(description);\n  \n  function openPopup(url){\n      window.open(url,'name','width=600,height=400');\n                  \n  }\n  \n  var samePage = true;\n  if(properties.pageTarget == 'New Tab'){\n      samePage = false;\n  }\n  \n  \n  // Array for ordering\n  \n  \n  const orderArray = [properties.slot1, properties.slot2, properties.slot3, properties.slot4, properties.slot5, properties.slot6, properties.slot7, properties.slot8, properties.slot9, properties.slot10, properties.slot11, properties.slot12, properties.slot13];\n  \n  \n  // Array for ordering\n  \n  \n  \n  \n  // LARGE SOLID BUTTONS\n  \n  \n     \n     \n  \n  var largeSolidFacebook = '<a class=\"resp-sharing-button__link\" id=\"wonderfulFacebook'+randomId+'\" href=\"https://facebook.com/sharer/sharer.php?u='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Facebook\")+'\"><div class=\"resp-sharing-button resp-sharing-button--facebook resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solidcircle\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z\"/></svg></div>'+displayText.replace(\"%s\",\"Facebook\")+'</div></a>';\n  \n  const largeSolidTwitter = '<a class=\"resp-sharing-button__link\" id=\"wonderfulTwitter'+randomId+'\" href=\"https://twitter.com/intent/tweet/?text='+description.replace(\" \",\"%20\")+'&amp;
124url='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Twitter\")+'\"><div class=\"resp-sharing-button resp-sharing-button--twitter resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\" class=\"r-4qtqp9 r-yyyyoo r-dnmrzs r-bnwqim r-lrvibr r-m6rgpd r-k200y r-1nao33i r-5sfk15 r-kzbkwu\"><g><path d=\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\"></path></g></svg></div>'+displayText.replace(\"%s\",\"X\")+'</div></a>';\n     \n  var largeSolidTumblr = '<a class=\"resp-sharing-button__link\" id=\"wonderfulTumblr'+randomId+'\" href=\"https://www.tumblr.com/widgets/share/tool?posttype=link&amp;title='+description.replace(\" \",\"%20\")+'&amp;caption='+description.replace(\" \",\"%20\")+'&amp;content='+shareUrl+'&amp;canonicalUrl='+shareUrl+'&amp;shareSource=tumblr_share_button\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Tumblr\")+'\"><div class=\"resp-sharing-button resp-sharing-button--tumblr resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13.5.5v5h5v4h-5V15c0 5 3.5 4.4 6 2.8v4.4c-6.7 3.2-12 0-12-4.2V9.5h-3V6.7c1-.3 2.2-.7 3-1.3.5-.5 1-1.2 1.4-2 .3-.7.6-1.7.7-3h3.8z\"/></svg></div>'+displayText.replace(\"%s\",\"Tumblr\")+'</div></a>';\n  \n  var largeSolidEmail = '<a class=\"resp-sharing-button__link\" href=\"mailto:?subject='+description.replace(\" \",\"%20\")+'&amp;body='+shareUrl+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"E-Mail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--email resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z\"/></svg></div>'+displayText.replace(\"%s\",\"E-Mail\")+'</div></a>';\n      \nvar largeSolidPinterest = '<a class=\"resp-sharing-button__link\" id=\"wonderfulPinterest'+randomId+'\" href=\"https://pinterest.com/pin/create/button/?url='+shareUrl+'&amp;media='+shareUrl+'&amp;description='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Pinterest\")+'\"><div class=\"resp-sharing-button resp-sharing-button--pinterest resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z\"/></svg></div>'+displayText.replace(\"%s\",\"Pinterest\")+'</div></a>';\n      \n  var largeSolidLinkedin = '<a class=\"resp-sharing-button__link\" id=\"wonderfulLinkedin'+randomId+'\" href=\"https://www.linkedin.com/shareArticle?mini=true&amp;url='+shareUrl+'&amp;title='+description.replace(\" \",\"%20\")+'&amp;summary='+description.replace(\" \",\"%20\")+'&amp;
124source='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"LinkedIn\")+'\"><div class=\"resp-sharing-button resp-sharing-button--linkedin resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z\"/></svg></div>'+displayText.replace(\"%s\",\"LinkedIn\")+'</div></a>';\n  \n  var largeSolidReddit = '<a class=\"resp-sharing-button__link\" id=\"wonderfulReddit'+randomId+'\" href=\"https://reddit.com/submit/?url='+shareUrl+'&amp;resubmit=true&amp;title='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Reddit\")+'\"><div class=\"resp-sharing-button resp-sharing-button--reddit resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z\"/></svg></div>'+displayText.replace(\"%s\",\"Reddit\")+'</div></a>';\n      \n  var largeSolidXing = '<a class=\"resp-sharing-button__link\" id=\"wonderfulXing'+randomId+'\" href=\"https://www.xing.com/app/user?op=share;url='+shareUrl+';title='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"XING\")+'\"><div class=\"resp-sharing-button resp-sharing-button--xing resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z\"/></svg></div>'+displayText.replace(\"%s\",\"XING\")+'</div></a>';\n      \n  var largeSolidWhatsapp = '<a class=\"resp-sharing-button__link\" href=\"whatsapp://send?text='+description.replace(\" \",\"%20\")+'%20'+shareUrl+'\" target=\"_self\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"WhatsApp\")+'\"><div class=\"resp-sharing-button resp-sharing-button--whatsapp resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z\"/></svg></div>
124'+displayText.replace(\"%s\",\"WhatsApp\")+'</div></a>';\n  \n  var largeSolidHackernews = '<a class=\"resp-sharing-button__link\" id=\"wonderfulHackernews'+randomId+'\" href=\"https://news.ycombinator.com/submitlink?u='+shareUrl+'&amp;t='+description.replace(\" \",\"%20\")+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Hacker News\")+'\"><div class=\"resp-sharing-button resp-sharing-button--hackernews resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\"><path fill-rule=\"evenodd\" d=\"M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z\"></path></svg></div>'+displayText.replace(\"%s\",\"Hacker News\")+'</div></a>';\n      \n  var largeSolidVk = '<a class=\"resp-sharing-button__link\" id=\"wonderfulVk'+randomId+'\" href=\"http://vk.com/share.php?title='+description.replace(\" \",\"%20\")+'&amp;url='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"VK\")+'\"><div class=\"resp-sharing-button resp-sharing-button--vk resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z\"/></svg></div>'+displayText.replace(\"%s\",\"VK\")+'</div></a>';\n      \n  var largeSolidTelegram = '<a class=\"resp-sharing-button__link\" id=\"wonderfulTelegram'+randomId+'\" href=\"https://telegram.me/share/url?text='+description.replace(\" \",\"%20\")+'&amp;url='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Telegram\")+'\"><div class=\"resp-sharing-button resp-sharing-button--telegram resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z\"/></svg></div>'+displayText.replace(\"%s\",\"Telegram\")+'</div></a>';\n    \n    var largeSolidGmail = '<a class=\"resp-sharing-button__link\" id=\"wonderfulGmail'+randomId+'\" href=\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su='+description.replace(\" \",\"%20\")+'&body='+shareUrl+'\" target=\"popup\" rel=\"noopener\" aria-label=\"'+displayText.replace(\"%s\",\"Gmail\")+'\"><div class=\"resp-sharing-button resp-sharing-button--gmail resp-sharing-button--'+buttonSize+'\"><div aria-hidden=\"true\" class=\"resp-sharing-button__icon resp-sharing-button__icon--solid\"><svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"48\"  height=\"48\" viewBox=\"0 0 48 48\" style=\" fill:#000000;\"><path fill=\"#4caf50\" d=\"M45,16.2l-5,2.75l-5,4.75L35,40h7c1.657,0,3-1.343,3-3V16.2z\"></path><path fill=\"#1e88e5\" d=\"M3,16.2l3.614,1.71L13,23.7V40H6c-1.657,0-3-1.343-3-3V16.2z\"></path><polygon fill=\"#e53935\" points=\"35,11.2 24,19.45 13,11.2 12,17 13,23.7 24,31.95 35,23.7 36,17\"></polygon><path fill=\"#c62828\" d=\"M3,12.298V16.2l10,7.5V11.2L9.876,8.859C9.132,8.301,8.228,8,7.298,8h0C4.924,8,3,9.924,3,12.298z\"></path><path fill=\"#fbc02d\" d=\"M45,12.298V16.2l-10,7.5V11.2l3.124-2.341C38.868,8.301,39.772,8,40.702,8h0 C43.076,8,45,9.924,45,12.298z\"></path></svg></div>'+displayText.replace(\"%s\",\"Gmail\")+'</div></a>';\n      \n  \n  \n  // LARGE SOLID BUTTONS\n  \n  // Add buttons\n  \n  var htmlContent = \"\";\n  var i;\n  \n  for(i=0 ; i < orderArray.length; i++){\n      \n      if(orderArray[i].toLowerCase() == \"facebook\"){\n          htmlContent+= largeSolidFacebook;\n      }
124\n      \n      if(orderArray[i].toLowerCase() == \"twitter\"){\n        htmlContent+= largeSolidTwitter;\n      }\n\n      if(orderArray[i].toLowerCase() == \"tumblr\"){\n          htmlContent+= largeSolidTumblr;\n      }\n\n      if(orderArray[i].toLowerCase() == \"email\"){\n          htmlContent+= largeSolidEmail;\n      }\n\n      if(orderArray[i].toLowerCase() == \"pinterest\"){\n          htmlContent+= largeSolidPinterest;\n      }\n\n      if(orderArray[i].toLowerCase() == \"linkedin\"){\n          htmlContent+= largeSolidLinkedin;\n      }\n\n      if(orderArray[i].toLowerCase() == \"reddit\"){\n          htmlContent+= largeSolidReddit;\n      }\n\n      if(orderArray[i].toLowerCase() == \"xing\"){\n          htmlContent+= largeSolidXing;\n      }\n\n      if(orderArray[i].toLowerCase() == \"whatsapp\"){\n          htmlContent+= largeSolidWhatsapp;\n      }\n\n      if(orderArray[i].toLowerCase() == \"hackernews\"){\n          htmlContent+= largeSolidHackernews;\n      }\n\n      if(orderArray[i].toLowerCase() == \"vk\"){\n          htmlContent+= largeSolidVk;\n      }\n\n      if(orderArray[i].toLowerCase() == \"telegram\"){\n          htmlContent+= largeSolidTelegram;\n      }\n      \n      if(orderArray[i].toLowerCase() == \"gmail\"){\n          htmlContent += largeSolidGmail;\n      }\n      \n      \n  }\n  \n  \n \n  \n  \n  \n  \n  // Add buttons\n  \n  \n  \n  var elem = document.getElementById(\"wonderfulShare\"+randomId);\n  if (elem){\n   elem.remove();\n  }\n  \n  \ninstance.canvas.append('<div id=\"wonderfulShare'+randomId+'\">'+htmlContent+'</div>');\n \n    \n    \n   //instance.setHeight(document.getElementById(\"wonderfulShare\"+randomId).offsetHeight);\n  \n  if(samePage){\n      \n      if(document.getElementById(\"wonderfulTwitter\"+randomId)){\n          document.getElementById(\"wonderfulTwitter\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://twitter.com/intent/tweet/?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl);\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulFacebook\"+randomId)){\n          document.getElementById(\"wonderfulFacebook\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://facebook.com/sharer/sharer.php?u=\"+shareUrl);\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulTumblr\"+randomId)){\n          document.getElementById(\"wonderfulTumblr\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://www.tumblr.com/widgets/share/tool?posttype=link&title=\"+description.replace(\" \",\"%20\")+\"&caption=\"+description.replace(\" \",\"%20\")+\"&content=\"+shareUrl+\"&canonicalUrl=\"+shareUrl+\"&shareSource=tumblr_share_button\");\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulPinterest\"+randomId)){\n          document.getElementById(\"wonderfulPinterest\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://pinterest.com/pin/create/button/?url=\"+shareUrl+\"&media=\"+shareUrl+\"&description=\"+description.replace(\" \",\"%20\"));\n          });\n      }\n          \n  if(document.getElementById(\"wonderfulLinkedin\"+randomId)){\n          document.getElementById(\"wonderfulLinkedin\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://www.linkedin.com/shareArticle?mini=true&url=\"+shareUrl+\"&title=\"+description.replace(\" \",\"%20\")+\"&summary=\"+description.replace(\" \",\"%20\")+\"&source=\"+shareUrl);\n          });\n      }\n      \n  if(document.getElementById(\"wonderfulReddit\"+randomId)){\n          document.getElementById(\"wonderfulReddit\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://reddit.com/submit/?url=\"+shareUrl+\"&resubmit=true&title=\"+description.replace(\" \",\"%20\"));\n          });\n      }\n      \n      if(document.getElementById(\"wonderfulXing\"+randomId)){\n          document.getElementById(\"wonderfulXing\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://www.xing.com/app/user?op=share;
124url=\"+shareUrl+\";title=\"+description.replace(\" \",\"%20\"));\n          });\n  }\n      \n      if(document.getElementById(\"wonderfulHackernews\"+randomId)){\n          document.getElementById(\"wonderfulHackernews\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://news.ycombinator.com/submitlink?u=\"+shareUrl+\"&t=\"+description.replace(\" \",\"%20\"));\n          });\n      }\n      \n  if(document.getElementById(\"wonderfulVk\"+randomId)){\n          document.getElementById(\"wonderfulVk\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"http://vk.com/share.php?title=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl);\n          });\n      }\n      \n  if(document.getElementById(\"wonderfulTelegram\"+randomId)){\n          document.getElementById(\"wonderfulTelegram\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://telegram.me/share/url?text=\"+description.replace(\" \",\"%20\")+\"&url=\"+shareUrl);\n          });\n      }   \n      \n  if(document.getElementById(\"wonderfulGmail\"+randomId)){\n          document.getElementById(\"wonderfulGmail\"+randomId).addEventListener(\"click\", function(){\n             openPopup(\"https://mail.google.com/mail/u/0/?ui=2&fs=1&tf=cm&su=\"+description.replace(\" \",\"%20\")+\"&body=\"+shareUrl);\n          });\n      }\n      \n \n      \n      \n }\n  \n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
125window._bubble_page_load_data.plugins_size['1647939592912x874934349878526000_current'] = 25379;
126window.preloaded['plugin/third_party:1647939592912x874934349878526000_current:current'] = true;
127window.plugins["1653850538201x758770568752529400_current"] = {"human":"Wonderful Tooltip on Hover","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_elements":{"AAC":{"display":"Balloon CSS","add_is_visible":true,"actions":{"AAD":{"caption":"Run","code":{"fn":"function(instance, properties, context) {\n    \t\n    \tvar elementId = properties.elementId;\n    \t\n    \tvar elms = document.querySelectorAll(\"[id='\"+elementId+\"']\");\n    \t\n    \tvar i=0;\n    \n    \tfor(i=0;i<elms.length;i++){\n            \n            elms[i].setAttribute(\"aria-label\", properties.label);\n            elms[i].setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            elms[i].setAttribute(\"data-balloon-pos\", properties.position);\n            if(properties.disableAnimation){\n                elms[i].setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n        }\n    \n    \n        \n}"},"fields":{"AAE":{"caption":"Label","name":"label","rank":2,"editor":"DynamicValue","value":"text","is_list":false},"AAF":{"caption":"Length","name":"length","rank":3,"editor":"Dropdown"},"AAG":{"caption":"Disable Animation","name":"disableAnimation","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AAH":{"caption":"Always Visible","name":"alwaysVisible","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"AAP":{"caption":"Position","name":"position","rank":1,"editor":"Dropdown"},"AAQ":{"caption":"Element ID","name":"elementId","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\t\n    \n\n}"},"update":{"fn":"function(instance, properties, context) {\n\n    \n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"},"AAO":{"display":"Balloon CSS (copy)","add_is_visible":true,"actions":{"AAJ":{"caption":"Run","code":{"fn":"function(instance, properties, context) {\n    \n    \t\n    \t$(':root').css('--balloon-color', 'red');\n    \n\t\twhile(typeof document.getElementById(\"wonderfulUp\") !== 'undefined' && document.getElementById(\"wonderfulUp\") !== null){\n            var element = document.getElementById(\"wonderfulUp\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"up\");\n            element.setAttribute(\"id\", \"wonderfulUpEnabled\"); \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n        }\n         \n        \n        while(typeof document.getElementById(\"wonderfulLeft\") !== 'undefined' && document.getElementById(\"wonderfulLeft\") !== null){\n            var element = document.getElementById(\"wonderfulLeft\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"left\");\n            element.setAttribute(\"id\", \"wonderfulLeftEnabled\"); \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n        }\n        \n        while(typeof document.getElementById(\"wonderfulRight\") !== 'undefined' && document.getElementById(\"wonderfulRight\") !== null){\n            var element = document.getElementById(\"wonderfulRight\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"right\");\n            element.setAttribute(\"id\", \"wonderfulRightEnabled\");  \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n        }\n        \n        while(typeof document.getElementById(\"wonderfulDown\") !== 'undefined' && document.getElementById(\"wonderfulDown\") !== null){\n            var element = document.getElementById(\"wonderfulDown\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"down\");\n            element.setAttribute(\"id\", \"wonderfulDownEnabled\"); \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n            \n        }\n       \n        while(typeof document.getElementById(\"wonderfulUpLeft\") !== 'undefined' && document.getElementById(\"wonderfulUpLeft\") !== null){\n            var element = document.getElementById(\"wonderfulUpLeft\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"up-left\");\n            element.setAttribute(\"id\", \"wonderfulUpLeftEnabled\"); \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n        }\n        \n        while(typeof document.getElementById(\"wonderfulUpRight\") !== 'undefined' && document.getElementById(\"wonderfulUpRight\") !== null){\n            var element = document.getElementById(\"wonderfulUpRight\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"up-right\");\n            element.setAttribute(\"id\", \"wonderfulUpRightEnabled\"); \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n        }\n        \n        while(typeof document.getElementById(\"wonderfulDownLeft\") !== 'undefined' && document.getElementById(\"wonderfulDownLeft\") !== null){\n            var element = document.getElementById(\"wonderfulDownLeft\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"down-left\");\n            element.setAttribute(\"id\", \"wonderfulDownLeftEnabled\"); \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n        }\n        \n        while(typeof document.getElementById(\"wonderfulDownRight\") !== 'undefined' && document.getElementById(\"wonderfulDownRight\") !== null){\n            var element = document.getElementById(\"wonderfulDownRight\");\n            element.setAttribute(\"aria-label\", properties.label);\n            element.setAttribute(\"data-balloon-length\", properties.length.toLowerCase());\n            element.setAttribute(\"data-balloon-pos\", \"down-right \");\n            element.setAttribute(\"id\", \"wonderfulDownRightEnabled\"); \n            if(properties.disableAnimation){\n                element.setAttribute(\"data-balloon-blunt\", \"\");\n            }\n            if(properties.alwaysVisible){\n                element.setAttribute(\"data-balloon-visible\", \"\");\n            }\n        }\n        \n}"},"fields":{"AAK":{"caption":"Label","name":"label","rank":0,"editor":"DynamicValue","value":"text","is_list":false},"AAL":{"caption":"Length","name":"length","rank":1,"editor":"Dropdown"},"AAM":{"caption":"Disable Animation","name":"disableAnimation","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AAN":{"caption":"Always Visible","name":"alwaysVisible","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\t\n    \n\n}"},"update":{"fn":"function(instance, properties, context) {\n\n    while(typeof document.getElementById(\"wonderfulUpEnabled\") !== 'undefined' && document.getElementById(\"wonderfulUpEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulUpEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulUp\"); \n       \n        }\n        \n        while(typeof document.getElementById(\"wonderfulLeftEnabled\") !== 'undefined' && document.getElementById(\"wonderfulLeftEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulLeftEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulLeft\");\n        }\n        \n        while(typeof document.getElementById(\"wonderfulRightEnabled\") !== 'undefined' && document.getElementById(\"wonderfulRightEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulRightEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulRight\"); \n        }\n        \n        while(typeof document.getElementById(\"wonderfulDownEnabled\") !== 'undefined' && document.getElementById(\"wonderfulDownEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulDownEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulDown\");\n        }\n        \n        \n        while(typeof document.getElementById(\"wonderfulUpLeftEnabled\") !== 'undefined' && document.getElementById(\"wonderfulUpLeftEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulUpLeftEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulUpLeft\");\n        }\n        \n        while(typeof document.getElementById(\"wonderfulUpRightEnabled\") !== 'undefined' && document.getElementById(\"wonderfulUpRightEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulUpRightEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulUpRight\");\n        }\n        \n        while(typeof document.getElementById(\"wonderfulDownLeftEnabled\") !== 'undefined' && document.getElementById(\"wonderfulDownLeftEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulDownLeftEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulDownLeft\");\n        }\n        \n        while(typeof document.getElementById(\"wonderfulDownRightEnabled\") !== 'undefined' && document.getElementById(\"wonderfulDownRightEnabled\") !== null){\n       \tvar element = document.getElementById(\"wonderfulDownRightEnabled\");\n\t\telement.setAttribute(\"id\", \"wonderfulDownRight\");\n        }\n    \n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
128window._bubble_page_load_data.plugins_size['1653850538201x758770568752529400_current'] = 11634;
129window.preloaded['plugin/third_party:1653850538201x758770568752529400_current:current'] = true;
130window.plugins["1654166317409x682138925640974300_current"] = {"human":"Tooltip Simple Lightweight","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAz":{"display":"Wonderful Tooltip","property_applications":{"resizable":true,"MinWidth":true,"Backgroun
130d":false},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"actions":{"AAl":{"caption":"Run","code":{"fn":"function(instance, properties, context) {\n\n    $(document).ready(() => {\n        setInterval(() => {\n            var elementId = properties.elementId;\n\n            var elms = document.querySelectorAll(\"[id='\"+elementId+\"']\");\n\n            var i=0;\n\n            var color = properties.color;\n            var textColor = properties.textColor;\n            var fontSize = properties.fontSize + \"px\";\n            var moveSize = properties.moveSize + \"px\";\n            var label = properties.label;\n            var length = properties.length.toLowerCase();\n            var position = properties.position;\n            var alignment = properties.textAlignment;\n            var textboxSize = properties.textBoxWidth + \"px\";\n            var horizontalPadding = properties.horizontalPadding + \"px\";\n            var verticalPadding = properties.verticalPadding + \"px\";\n\n\n            for(i=0;i<elms.length;i++){\n                elms[i].style.setProperty('--balloon-color', color);\n                elms[i].style.setProperty('--balloon-text-color', textColor);\n                elms[i].style.setProperty('--balloon-font-size', fontSize);\n                elms[i].style.setProperty('--balloon-move', moveSize);\n                elms[i].style.setProperty('--balloon-text-align', alignment);\n                elms[i].style.setProperty('--balloon-horizontal-padding', horizontalPadding);\n                elms[i].style.setProperty('--balloon-vertical-padding', verticalPadding);\n                elms[i].setAttribute(\"aria-label\", label);\n                elms[i].setAttribute(\"data-balloon-length\", length);\n                elms[i].setAttribute(\"data-balloon-pos\", position);\n                if(properties.disableAnimation){\n                    elms[i].setAttribute(\"data-balloon-blunt\", \"\");\n                    document.documentElement.style.setProperty(\"--transit-time\", \"0\");\n                } else {\n                \tdocument.documentElement.style.setProperty(\"--transit-time\", \"all 0.18s ease-out 0.18s\");\n                }\n                if(properties.alwaysVisible){\n                    elms[i].setAttribute(\"data-balloon-visible\", \"\");\n                }\n                if(length === 'dynamic'){\n                    elms[i].style.setProperty('--balloon-box-pxsize', textboxSize);\n                }\n            }\n        }, 500);\n\n    });\n\n}"},"fields":{"AAm":{"caption":"Label","name":"label","rank":3,"editor":"DynamicValue","value":"text","is_list":false},"AAn":{"caption":"Length","name":"length","rank":4,"editor":"Dropdown","default_val":"Dynamic"},"AAo":{"caption":"Disable Animation","name":"disableAnimation","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false},"AAp":{"caption":"Always Visible","name":"alwaysVisible","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false},"AAq":{"caption":"Position","name":"position","rank":2,"editor":"Dropdown"},"AAr":{"caption":"Element ID","name":"elementId","rank":1,"editor":"DynamicValue","value":"text","default_val":""},"AAs":{"caption":"Background Color","name":"color","rank":7,"editor":"Color","default_val":"rgba(29, 24, 19, 1)"},"AAt":{"caption":"Font Size (px)","name":"fontSize","rank":9,"editor":"DynamicValue","value":"number","default_val":16},"AAu":{"caption":"Move Size (px)","name":"moveSize","rank":10,"editor":"DynamicValue","value":"number","default_val":4},"AAv":{"caption":"Text Alignment","name":"textAlignment","rank":6,"editor":"Dropdown","default_val":"center"},"AAw":{"caption":"Textbox Width (px)","name":"textBoxWidth","rank":5,"editor":"DynamicValue","value":"number","default_val":60,"optional":true},"AAx":{"caption":"Vertical Padding (px)","name":"verticalPadding","rank":11,"editor":"DynamicValue","value":"number","default_val":8},"AAy":{"caption":"Horizontal Padding (px)","name":"horizontalPadding","rank":12,"editor":"DynamicValue","value":"number","default_val":16},"ABA":{"caption":"Text Color","name":"textColor","rank":8,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","optional":true},"ABC":{"caption":"If you plan to use this functionality on elements inside repeating groups, make sure the repeating group will be not scrollable. Because repeating group has a 'overflow: auto', we change it to 'overflow: visible' to make the tooltips visible on repeating group edges.","name":"info","rank":0,"editor":"Label"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\t\n    // Define properties\n    var width = properties.bubble.width;\n    var height = properties.bubble.height;\n    \n    // Create div + add to canvas\n    \n    var div = document.createElement(\"div\");\n    div['style'] = 'width:100%;height:100%;overflow:hidden;';\n    //document.appendChild(div);\n    instance.canvas.append(div);\n    \n    // Set the attributes / customization for our icon \n    \n    attributes = {}\n    attributes['height'] = height;\n    attributes['width'] = width;\n    \n    var previewImg = document.createElement(\"img\");\n    \n    previewImg['src'] = '//s3.amazonaws.com/appforest_uf/f1654171038320x982503609941316000/icons8-comments-96.png';\n    previewImg['style'] = 'width:100%;height:100%;opacity:0.4;';\n    \n    div.appendChild(previewImg);\n    \n}"},"initialize":{"fn":"function(instance, context) {\n    \n}"},"update":{"fn":"function(instance, properties, context) {\n\t\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
131window._bubble_page_load_data.plugins_size['1654166317409x682138925640974300_current'] = 5842;
132window.preloaded['plugin/third_party:1654166317409x682138925640974300_current:current'] = true;
133window.plugins["1655028663780x792326587812413400_current"] = {"human":"Cropper by Efe","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_elements":{"ABe":{"display":"Cropper by Efe","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"ABM":{"caption":"Saved Image","name":"databubble","value":"image","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABN":{"caption":"Offset Left Cropped Area","name":"x-offset","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABO":{"caption":"Offset Top Cropped Area","name":"y-offset","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABP":{"caption":"Width Cropped Area","name":"width","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABQ":{"caption":"Height Cropped Area","name":"height","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABR":{"caption":"Rotate","name":"rotate","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABS":{"caption":"Flip Horizontal","name":"scalex","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABT":{"caption":"Flip Vertical","name":"scaley","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABU":{"caption":"Rounded","name":"rounded","value":"boolean","initialization_code":{"fn":"function(properties, context) {\n\nreturn false;\n\n}"}},"ABV":{"caption":"Show/Hide Elements","name":"showresult","value":"text","initialization_code":{"fn":"function(properties, context) {\n    return \"none\";\n\n\n}"}},"ABW":{"caption":"Original File Size","name":"originalsize","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABX":{"caption":"Original File Type","name":"originaltype","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABY":{"caption":"Original File Name","name":"originalname","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABZ":{"caption":"Compressed File Type","name":"resulttype","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABa":{"caption":"Compressed File Size","name":"resultsize","value":"number","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABb":{"caption":"Compressed File Name","name":"resultname","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABc":{"caption":"Blob URL","name":"blob","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABd":{"caption":"Status Events","name":"status","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"ABK":{"caption":"Cropped","name":"cropped"},"ABL":{"caption":"Saved","name":"saved"}},"actions":{"AAT":{"caption":"Crop","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){\n    if (instance.data.actions == true){\n     instance.publishState('status',\"Crop Clicked\");   \n     let cropper = instance.data.crop;\n     if (instance.data.rounded == true){\n function getRoundedCanvas(sourceCanvas) {\n      var canvas = document.createElement('canvas');\n      var context = canvas.getContext('2d');\n      var width = sourceCanvas.width;\n      var height = sourceCanvas.height;\n\n      canvas.width = width;\n      canvas.height = height;
133\n      context.imageSmoothingEnabled = true;\n      context.drawImage(sourceCanvas, 0, 0, width, height);\n      context.globalCompositeOperation = 'destination-in';\n      context.beginPath();\n      context.arc(width / 2, height / 2, Math.min(width, height) / 2, 0, 2 * Math.PI, true);\n      context.fill();\n      return canvas;\n    }    \n     }; \n       \n var croppedCanvas;\n var roundedCanvas;\n       \n\n    croppedCanvas = cropper.getCroppedCanvas({\n\twidth: properties.width,\n    height: properties.height,\n    maxWidth: properties.width,\n    maxHeight: properties.height,\n    minWidth: properties.width,\n    minHeight: properties.height,\n\t});\n\n        if (instance.data.rounded == true){\n        roundedCanvas = getRoundedCanvas(croppedCanvas);\n        var roundedImage = roundedCanvas.toDataURL();\n    } else {\n        var roundedImage = croppedCanvas.toDataURL();\n        }\n\t\t\n\t\t\n        if (roundedImage) {\n           fetch(roundedImage)\n  .then(function(response) {\n    return response.blob()\n  })\n  .then(function(blob) {\n  var compress =  new Compressor(blob, {\n    quality: properties.quality,\n    convertSize : 10000,\n    beforeDraw(context, canvas) {\n    context.fillStyle = '#fff';\n    context.fillRect(0, 0, canvas.width, canvas.height);\n  },\n    drew(context, canvas) {\n    context.fillStyle = '#fff';\n  },    \nsuccess(result){             \n   var obj = URL.createObjectURL(result);\n    instance.publishState('blob',obj);\n    instance.publishState('showresult','result'); \n    instance.publishState('status',\"Image Cropped\");\n    instance.publishState('resultsize',Math.round(result.size / 1024));\n    instance.publishState('resulttype',result.type);\n    instance.triggerEvent('cropped');\n               \n    var reader = new FileReader();\n    \n   reader.onload = function () { \n    instance.data.urltosave = reader.result;   \n       \n if (properties.savetodb === true){\n      console.log(\"save\")\n   function uploadContentCallback(err, url) {\n        if (url) {\n            instance.publishState('databubble', url);\n            instance.triggerEvent('saved', function (err){}); \n        }  else {\n          console.log(\"Image is Not Saved\",\"Url Empty\",err);\n      }  \n       \n   }\n      instance.data.uploadContentCallback= uploadContentCallback;\n\n  var dataImg = reader.result.substring(reader.result.indexOf(',')+1);\n       context.uploadContent(properties.filename+\".jpeg\",dataImg, instance.data.uploadContentCallback); \n } \n   if (properties.download === true){\n       console.log(\"download\")\n    var link = document.createElement('a');\n\n    if (typeof link.download === 'string') {\n\n        link.href = reader.result;\n        link.download = properties.filename+'.jpeg';\n\n        document.body.appendChild(link);\n        link.click();document.body.removeChild(link);\n        }    \n       \n   }\n   \n   \n\t  \n}   \n    reader.readAsDataURL(result);\n\n}\n           }) \n\t }); \n\t} \n\t} \n    }); \n      \n\n}"},"fields":{"AAU":{"caption":"Width","name":"width","rank":0,"editor":"DynamicValue","value":"number"},"AAV":{"caption":"Height","name":"height","rank":1,"editor":"DynamicValue","value":"number"},"AAW":{"caption":"Filename","name":"filename","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AAX":{"caption":"Quality Compress","name":"quality","rank":3,"editor":"DynamicValue","value":"number","default_val":0.6},"AAY":{"caption":"Save to Bubble","name":"savetodb","rank":4,"editor":"Checkbox","default_val":false},"AAZ":{"caption":"Download","name":"download","rank":5,"editor":"Checkbox","default_val":false}}},"AAa":{"caption":"Reset","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){\n    if (instance.data.actions == true){\nlet cropper = instance.data.crop;\n    cropper.reset();\n  instance.publishState('showresult','cropper');\n  instance.publishState('blob');\n      \n}\n});\n    \n    \n}"}},"AAb":{"caption":"Download","code":{"fn":"function(instance, properties, context) {\n if (instance.data.urltosave){\n    var link = document.createElement('a');\n\n    if (typeof link.download === 'string') {\n\n        link.href = instance.data.urltosave;\n        link.download = properties.filename+'.jpeg';\n\n        document.body.appendChild(link);\n        link.click();document.body.removeChild(link);\n        instance.publishState('status', \"Downloaded File\")\n        }    \n       \n   }\n\n}"},"fields":{"AAc":{"caption":"File Name","name":"filename","rank":0,"editor":"DynamicValue","value":"text"}}},"AAd":{"caption":"Save","code":{"fn":"function(instance, properties, context) {\n      \n if (instance.data.urltosave){\n   function uploadContentCallback(err, url) {\n        if (url) {\n            instance.publishState('databubble', url);\n            instance.publishState('status', \"Saved to Bubble\");\n            instance.triggerEvent('saved', function (err){}); \n        }  else {\n          console.log(\"Image is Not Saved\",\"Url Empty\",err);\n      }  \n       \n   }\n      instance.data.uploadContentCallback= uploadContentCallback;\n\n  var dataImg = instance.data.urltosave.substring(instance.data.urltosave.indexOf(',')+1);\n       context.uploadContent(properties.filename+\".jpeg\",dataImg, instance.data.uploadContentCallback); \n } \n}"},"fields":{"AAe":{"caption":"File Name","name":"filename","rank":0,"editor":"DynamicValue","value":"text","optional":false}}},"AAf":{"caption":"Rotate","code":{"fn":"function(instance, properties, context) {\n\n\n  $(document).ready(function(){\n      if (instance.data.actions == true){\nlet cropper = instance.data.crop;\n    cropper.rotate(properties.degrees);\n      }\n\n});\n\n\n\n}"},"fields":{"AAg":{"caption":"Degrees","name":"degrees","rank":0,"editor":"DynamicValue","value":"number"}}},"AAh":{"caption":"Flip Horizontal","code":{"fn":"function(instance, properties, context) {\n  $(document).ready(function(){\n      if (instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n      if (instance.data.scaleX == false){  \n    cropper.scaleX(-1);\n    instance.data.scaleX = true;
133\n   \n      }else {\n          cropper.scaleX(1);\n          instance.data.scaleX = false;\n      }\n      \n      }   \n});\n\n\n\n}"}},"AAi":{"caption":"Move Horizontal","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){\n    if (instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n    cropper.move(properties.value,0)\n    }     \n});\n\n  \n\n\n}"},"fields":{"AAj":{"caption":"Value","name":"value","rank":0,"editor":"DynamicValue","value":"number","default_val":10}}},"AAk":{"caption":"Move Vertical","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){\n    if (instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n    cropper.move(0,properties.value)\n    }  \n});\n\n\n}"},"fields":{"AAl":{"caption":"Value","name":"value","rank":0,"editor":"DynamicValue","value":"number","default_val":10}}},"AAm":{"caption":"Zoom","code":{"fn":"function(instance, properties, context) {\n\n$(document).ready(function(){\n    if (instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n    cropper.zoom(properties.value);\n    }   \n});\n\n\n}"},"fields":{"AAn":{"caption":"Value","name":"value","rank":0,"editor":"DynamicValue","value":"number","default_val":0}}},"AAo":{"caption":"Enable","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){\n    if(instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n    cropper.enable();\n    cropper.crop();\n    }   \n});\n\n\n\n\n}"}},"AAp":{"caption":"Disable","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){\n    if(instance.data.actions == true){\nlet cropper = instance.data.crop;\n\tcropper.clear();\n    cropper.disable();\n    }     \n});\n\n\n\n}"}},"AAq":{"caption":"Clear","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){\n    if(instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n    cropper.clear();\n         instance.data.elimgbubble.src = \"\";\n         instance.publishState('showresult','none');\n         \n    }\n});\n\n\n\n\n}"}},"AAr":{"caption":"Flip Vertical","code":{"fn":"function(instance, properties, context) {\n $(document).ready(function(){\n     if(instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n      if (instance.data.scaleY == false){  \n    cropper.scaleY(-1);\n    instance.data.scaleY = true;\n   \n      }else {\n          cropper.scaleY(1);\n          instance.data.scaleY = false;\n      }\n      \n     }   \n});\n}"}},"AAs":{"caption":"Drag Mode","code":{"fn":"function(instance, properties, context) {\n\n $(document).ready(function(){\n     if(instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n     cropper.setDragMode(properties.mode);\n     }   \n});\n\n}"},"fields":{"AAt":{"caption":"Mode","name":"mode","rank":0,"editor":"Dropdown","default_val":"crop"}}},"AAu":{"caption":"Rounded Area","code":{"fn":"function(instance, properties, context) {\nif (instance.data.actions == true){\n if (properties.rounded == true){\nconst rounded = $(`<style>\n.cropper-face {\n  border-radius: 50%;\n  border: 1px solid #00897B;\n   opacity: 0.3;\n    }\n</style>`);\n      \n  $(rounded).appendTo('head');\n  instance.data.rounded = true;\n  instance.publishState('rounded',true)\n      } else {\n         const rounded = $(`<style>\n.cropper-face {\n  border-radius: 0%;\n   opacity: 0.3;\n    }\n</style>`); \n    $(rounded).appendTo('head');\n    instance.data.rounded = false;\n    instance.publishState('rounded',false)    \n  \n      };\n};\n}"},"fields":{"AAv":{"caption":"Rounded","name":"rounded","rank":0,"editor":"Checkbox","default_val":false}}},"AAw":{"caption":"Destroy","code":{"fn":"function(instance, properties, context) {\n\n $(document).ready(function(){\n     if(instance.data.actions == true){\nlet cropper = instance.data.crop;\n\n     cropper.destroy();\n         instance.data.elimgbubble.src = \"\";\n         instance.publishState('databubble');\n     instance.publishState('x-offset');\n     instance.publishState('y-offset');\n     instance.publishState('width');\n     instance.publishState('height');\n     instance.publishState('rotate');\n     instance.publishState('scalex');\n     instance.publishState('scaley');\n     instance.publishState('rounded');\n    instance.publishState('originalsize');\n    instance.publishState('originalname');\n    instance.publishState('originaltype');\n    instance.publishState('resultsize');\n    instance.publishState('resulttype');\n    instance.publishState('resultname');  \n    instance.publishState('showresult','none');\n    instance.publishState('status',\"Destroy\");\n    instance.publishState('blob');\n    instance.data.uploader.value = \"\";\n    instance.data.url = \"\";\n    instance.data.actions = false;\n    instance.data.scaleX = false;\n    instance.data.scaleY = false;\n    instance.data.urltosave = \"\";     \n     }   \n});\n\n\n}"}},"AAx":{"caption":"Open File Uploader","code":{"fn":"function(instance, properties, context) {\n$(document).ready(function(){    \nconst uploader = document.getElementById(instance.data.upload);\n instance.data.uploader = uploader;\n     instance.publishState('status',\"Open File Uploader Clicked\");\nlet aspectratio = properties.aspectratio;\nlet ratiovalue;    \n    switch (aspectratio) {\n        case \"16:9\":\n         ratiovalue = 1.7777777777777777;\n          break;\n  \n        case \"4:3\":\n         ratiovalue = 1.3333333333333333;\n          break; \n  \n        case \"1:1\":\n         ratiovalue = 1;\n          break;\n    \n        case \"2:3\":\n         ratiovalue = 0.6666666666666666;\n          break;  \n    \n        case \"Free\":\n         ratiovalue = NaN;\n          break;\n};\n    \n    \n    if(properties.dynamic_ratio){\n        ratiovalue = properties.dynamic_ratio;\n    }\n    \n let croparea = properties.croparea;\n let cropvalue;\n    switch (croparea) {\n        case \"10%\":\n         cropvalue = 0.1;\n            break;\n    \n        case \"20%\":\n         cropvalue = 0.2;\n             break;\n            \n  \t    case \"30%\":\n         cropvalue = 0.3;\n            break;\n       \n        case \"40%\":\n         cropvalue = 0.4;\n           break;\n    \n        case \"50%\":\n         cropvalue = 0.5;\n            break;\n        case \"60%\":\n         cropvalue = 0.6;\n            break;\n  \n        case \"70%\":\n         cropvalue = 0.7;\n             break;\n  \n        case \"80%\":\n         cropvalue = 0.8;\n            break;\n   \n        case \"90%\":\n         cropvalue = 0.9;\n            break;\n            \n        case \"100%\":\n         cropvalue = 1; \n             };\n    \n    const options = {\n  background: false,\n  aspectRatio: ratiovalue,\n  viewMode: properties.viewmode,\n  dragMode: properties.dragmode,\n  autoCropArea: cropvalue,\n  cropBoxResizable: properties.cropboxresizable,\n  minContainerWidth: properties.mincontainerwidth,\n  minContainerHeight : properties.mincontainerheight,\n  minCropBoxWidth: properties.mincropboxwidth,\n  minCropBoxHeight: properties.mincropboxheight,\n  center: true,\n  \n      crop: function (e) {\n      let data = e.detail;\n          instance.publishState('x-offset',Math.round(data.x));\n          instance.publishState('y-offset',Math.round(data.y));\n          instance.publishState('height',Math.round(data.height));\n          instance.publishState('width',Math.round(data.width));\n          instance.publishState('rotate',typeof data.rotate !== 'undefined' ? data.rotate : '');\n          instance.publishState('scalex',typeof data.scaleX !== 'undefined' ? data.scaleX : '');\n          instance.publishState('scaley',typeof data.scaleY !== 'undefined' ? data.scaleY : '');\n   \n    },\n    }; \n    \n   if (properties.rounded === true){\nconst rounded = $(`<style>\n.cropper-face {\n  border-radius: 50%;\n  border: 1px solid #00897B;\n   opacity: 0.3;\n    }\n</style>`);\n  instance.data.rounded = true;\n  instance.publishState('rounded',true)\n  $(rounded).appendTo('head'); \n      } else {\n         const rounded = $(`<style>\n.cropper-face {\n  border-radius: 0%;\n   opacity: 0.3;\n    }\n</style>`); \n    instance.data.rounded = false;\n    instance.publishState('rounded',false)    \n  $(rounded).appendTo('head'); \n      }; \n    \n    if (properties.imagebubble == null){\n     instance.publishState('databubble');\n     instance.publishState('x-offset');\n     instance.publishState('y-offset');\n     instance.publishState('width');\n     instance.publishState('height');\n     instance.publishState('rotate');\n     instance.publishState('scalex');\n     instance.publishState('scaley');\n     instance.publishState('rounded');\n    instance.publishState('originalsize');\n    instance.publishState('originalname');\n    instance.publishState('resultsize');\n    instance.publishState('resulttype');\n    instance.publishState('resultname');  \n    instance.publishState('showresult','none');\n    uploader.value = \"\";\n    instance.data.url = \"\";\n    instance.data.actions = false;\n    instance.data.scaleX = false;\n    instance.data.scaleY = false;\n    \n    \n    if (instance.data.destroy == true){\n       instance.data.crop.destroy();\n       \n    }\n    \n  uploader.click();\n     instance.publishState('status',\"File Uploader Open\");\n    uploader.onchange = e => {\n    instance.publishState('showresult','cropper');\n    instance.publishState('status',\"File Uploaded\");    \n    const file = e.target.files[0];\n    var reader = new FileReader();       \n           instance.publishState('originalsize',Math.round(file.size / 1024));\n           instance.publishState('originalname',file.name.replace(/\\.[^.]*$/,''));\n           instance.publishState('originaltype',file.type);\n  \t\t   \n \n\nreader.onload = function () {\n  instance.data.url = reader.result;\n    \n    setTimeout(function(){\n    let imgclass = document.getElementById(properties.imgresult);\n    let imgbubble = imgclass.querySelector('img');\n    imgbubble.src = reader.result;\n    instance.data.elimgbubble = imgbubble;\n     \n    \n      const cropper = new Cropper(imgbubble,options);\n          instance.data.actions = true;\n          instance.data.crop = cropper;\n          instance.data.scaleX = false;\n          instance.data.scaleY = false;\n          instance.data.destroy = true;\n    \n    \n    \n    },100);\n       \n        }
133\n  reader.readAsDataURL(file);\n   \n};\n\n   \n\t} \n    if (properties.imagebubble != null){\n        instance.publishState('showresult','cropper')\n        fetch(properties.imagebubble)\n  .then(function(response) {\n    return response.blob()\n  })\n  .then(function(blob) {\n\n           var object = URL.createObjectURL(blob);\n           instance.publishState('resultname',blob.name);\n           instance.publishState('resultsize',Math.round(blob.size / 1024));\n           instance.publishState('resulttype',blob.type);\n           \n       var reader = new FileReader();\n\n\nreader.onload = function () {\n  instance.data.url = reader.result;\n     setTimeout(function(){\n    let imgclass = document.getElementById(properties.imgresult);\n    let imgbubble = imgclass.querySelector('img');\n    imgbubble.src = reader.result;\n    instance.data.elimgbubble = imgbubble;\n     \n    \n      const cropper = new Cropper(imgbubble,options);\n          instance.data.actions = true;\n          instance.data.crop = cropper;\n          instance.data.scaleX = false;\n          instance.data.scaleY = false;\n          instance.data.destroy = true;\n    \n    \n    \n    },100);  \n    \n\n};\n\n\nreader.readAsDataURL(blob);     \n            \n            \n        });\n\n}\n\n});\n\n}"},"fields":{"AAy":{"caption":"Aspect Ratio","name":"aspectratio","rank":0,"editor":"Dropdown","default_val":"Free"},"AAz":{"caption":"View Mode","name":"viewmode","rank":2,"editor":"Dropdown","default_val":"2"},"ABA":{"caption":"Crop Area","name":"croparea","rank":3,"editor":"Dropdown","default_val":"80%"},"ABB":{"caption":"Bubble Source","name":"imagebubble","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ABC":{"caption":"Image Cropper","name":"imgresult","rank":5,"editor":"DynamicValue","value":"text"},"ABD":{"caption":"Initial Drag Mode","name":"dragmode","rank":6,"editor":"Dropdown","default_val":"crop"},"ABE":{"caption":"Rounded Area","name":"rounded","rank":7,"editor":"Checkbox","default_val":false},"ABF":{"caption":"cropBoxResizable","name":"cropboxresizable","rank":8,"editor":"Checkbox","default_val":true},"ABG":{"caption":"minContainerWidth","name":"mincontainerwidth","rank":9,"editor":"DynamicValue","value":"number","default_val":200},"ABH":{"caption":"minContainerHeight","name":"mincontainerheight","rank":10,"editor":"DynamicValue","value":"number","default_val":100},"ABI":{"caption":"minCropBoxWidth","name":"mincropboxwidth","rank":11,"editor":"DynamicValue","value":"number","default_val":50},"ABJ":{"caption":"minCropBoxHeight","name":"mincropboxheight","rank":12,"editor":"DynamicValue","value":"number","default_val":50},"ABf":{"caption":"Dynamic Ratio","name":"dynamic_ratio","rank":1,"editor":"DynamicValue","value":"number","default_val":1.63,"optional":true}}}},"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://0b31f8978e3de2e7f696d652af3ccde2.cdn.bubble.io/f1627854824999x627978357196076800/OIP.jpg\");\n    imgElement.style.width = 0.8 * preview + \"px\";\n    imgElement.style.verticalAlign = \"middle\";\n    \n    instance.canvas[0].appendChild(imgElement);\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\nconst uploadID = \"upload\"+Math.random().toString(36).substring(2,7);\n    \nconst div = $(`<div>\n<input type=\"file\" id=\"${uploadID}\" accept=\"image/*\" hidden=\"hidden\"/> \n</div>`);\n            \n $(div).appendTo('body');\n\n   \n    $(instance.canvas[0]).html(div);\n    \n    instance.data.upload = uploadID;\n}"},"update":{"fn":"function(instance, properties, context) {\n\n   \n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
134window._bubble_page_load_data.plugins_size['1655028663780x792326587812413400_current'] = 24073;
135window.preloaded['plugin/third_party:1655028663780x792326587812413400_current:current'] = true;
136window.plugins["1660058472276x594461547686527000_current"] = {"human":" Air Whiteboard","dependencies":{"use_jquery":true,"plugin_api_version":"4"}
136,"plugin_api":{"human":"Wonderful Whiteboard","calls":{"ABT":{"name":"Save File","method":"post","publish_as":"action","should_reinitialize":true,"url":"[Website Home URL]api/1.1/wf/[Endpoint Name]","url_params":{"ABU":{"key":"Website Home URL","value":"","private":true},"ABV":{"key":"Endpoint Name","value":"","private":true,"doc":""}},"headers":{"ABX":{"key":"Content-Type","value":"application/json","private":true,"visibility":"hidden"}},"body":"{\n\t\"file\":{\n        \"filename\": \"<filename>\",\n        \"contents\": \"<content>\"\n    },\n    \"boardCode\": \"<boardCode>\"\n\n}\n            \n","body_params":{"ABZ":{"key":"filename","value":"example.jpg","private":true,"doc":"File name","allow_blank":true},"ABa":{"key":"content","value":"/OAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANCSURBVEiJtZZPbBtFFMZ/M7ubXdtdb1xSFyeilBapySVU8h8OoFaooFSqiihIVIpQBKci6KEg9Q6H9kovIHoCIVQJJCKE1ENFjnAgcaSGC6rEnxBwA04Tx43t2FnvDAfjkNibxgHxnWb2e/u992bee7tCa00YFsffekFY+nUzFtjW0LrvjRXrCDIAaPLlW0nHL0SsZtVoaF98mLrx3pdhOqLtYPHChahZcYYO7KvPFxvRl5XPp1sN3adWiD1ZAqD6XYK1b/dvE5IWryTt2udLFedwc1+9kLp+vbbpoDh+6TklxBeAi9TL0taeWpdmZzQDry0AcO+jQ12RyohqqoYoo8RDwJrU+qXkjWtfi8Xxt58BdQuwQs9qC/afLwCw8tnQbqYAPsgxE1S6F3EAIXux2oQFKm0ihMsOF71dHYx+f3NND68ghCu1YIoePPQN1pGRABkJ6Bus96CutRZMydTl+TvuiRW1m3n0eDl0vRPcEysqdXn+jsQPsrHMquGeXEaY4Yk4wxWcY5V/9scqOMOVUFthatyTy8QyqwZ+kDURKoMWxNKr2EeqVKcTNOajqKoBgOE28U4tdQl5p5bwCw7BWquaZSzAPlwjlithJtp3pTImSqQRrb2Z8PHGigD4RZuNX6JYj6wj7O4TFLbCO/Mn/m8R+h6rYSUb3ekokRY6f/YukArN979jcW+V/S8g0eT/N3VN3kTqWbQ428m9/8k0P/1aIhF36PccEl6EhOcAUCrXKZXXWS3XKd2vc/TRBG9O5ELC17MmWubD2nKhUKZa26Ba2+D3P+4/MNCFwg59oWVeYhkzgN/JDR8deKBoD7Y+ljEjGZ0sosXVTvbc6RHirr2reNy1OXd6pJsQ+gqjk8VWFYmHrwBzW/n+uMPFiRwHB2I7ih8ciHFxIkd/3Omk5tCDV1t+2nNu5sxxpDFNx+huNhVT3/zMDz8usXC3ddaHBj1GHj/As08fwTS7Kt1HBTmyN29vdwAw+/wbwLVOJ3uAD1wi/dUH7Qei66PfyuRj4Ik9is+hglfbkbfR3cnZm7chlUWLdwmprtCohX4HUtlOcQjLYCu+fzGJH2QRKvP3UNz8bWk1qMxjGTOMThZ3kvgLI5AzFfo379UAAAAASUVORK5CYII=","private":true,"doc":"Image in base64 format","allow_blank":true},"ABs":{"key":"boardCode","value":"","private":true,"allow_blank":true}},"initialized":true,"types":"{\"plugin_api.ABT\":{\"caption\":\"Save File\",\"fields\":{\"_p_status\":{\"ret_value\":\"image\",\"caption\":\"status\",\"sample_value\":\"\",\"path\":[\"status\"]}}}}","ret_value":"api.1660058472276x594461547686527000.plugin_api.ABT"},"ACF":{"name":"Get All Boards","url":"https://www.whiteboard.team/api/v1/boards?timestamp=[Random Number]","method":"get","publish_as":"data","should_reinitialize":true,"initialized":true,"types":"{\"plugin_api.ACF\":{\"caption\":\"Get All Board\",\"fields\":{\"_p_data\":{\"ret_value\":\"list.api.1660058472276x594461547686527000.plugin_api.ACF.data\",\"caption\":\"data\",\"path\":[\"data\"]},\"_p_totalCount\":{\"ret_value\":\"number\",\"caption\":\"totalCount\",\"sample_value\":\"\",\"path\":[\"totalCount\"]}}},\"plugin_api.ACF.data\":{\"caption\":\"Get All Boards data\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"path\":[\"id\"]},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"\",\"path\":[\"name\"]},\"_p_code\":{\"ret_value\":\"text\",\"caption\":\"code\",\"sample_value\":\"\",\"path\":[\"code\"]},\"_p_createdDate\":{\"ret_value\":\"date\",\"caption\":\"createdDate\",\"sample_value\":\"\",\"path\":[\"createdDate\"]},\"_p_lastUse\":{\"ret_value\":\"date\",\"caption\":\"lastUse\",\"sample_value\":\"\",\"path\":[\"lastUse\"]},\"_p_lastChange\":{\"ret_value\":\"date\",\"caption\":\"lastChange\",\"sample_value\":\"\",\"path\":[\"lastChange\"]}}}}","ret_value":"api.1660058472276x594461547686527000.plugin_api.ACF","url_params":{"ACN":{"key":"Random Number","value":"15348","private":true,"doc":"To be able to run the API Call repeatedly without refreshing the page, assign a random value here and have this random value change each time the call runs. You can use the expression \"Calculate formula\" for this."}}},"ACG":{"name":"Get Board Details w/ Board ID","url":"https://www.whiteboard.team/api/v1/boards/[Board ID]?timestamp=[Random Number]","method":"get","publish_as":"data","should_reinitialize":true,"url_params":{"ACH":{"key":"Board ID","value":"","private":true,"visibility":"public","doc":"You can use \"Get All Boards\" API Call to get ID of your boards"},"ACO":{"key":"Random Number","value":"15351","private":true,"doc":"To be able to run the API Call repeatedly without refreshing the page, assign a random value here and have this random value change each time the call runs. You can use the expression \"Calculate formula\" for this."}},"initialized":true,"types":"{\"plugin_api.ACG\":{\"caption\":\"Get Board Details w/ Board ID\",\"fields\":{\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"\",\"path\":[\"name\"]},\"_p_code\":{\"ret_value\":\"text\",\"caption\":\"code\",\"sample_value\":\"\",\"path\":[\"code\"]},\"_p_createdDate\":{\"ret_value\":\"date\",\"caption\":\"createdDate\",\"sample_value\":\"\",\"path\":[\"createdDate\"]},\"_p_lastUse\":{\"ret_value\":\"date\",\"caption\":\"lastUse\",\"sample_value\":\"\",\"path\":[\"lastUse\"]},\"_p_lastChange\":{\"ret_value\":\"date\",\"caption\":\"lastChange\",\"sample_value\":\"\",\"path\":[\"lastChange\"]},\"_p_shareType\":{\"ret_value\":\"number\",\"caption\":\"shareType\",\"sample_value\":\"\",\"path\":[\"shareType\"]},\"_p_members\":{\"ret_value\":\"list.api.1660058472276x594461547686527000.plugin_api.ACG.members\",\"caption\":\"members\",\"path\":[\"members\"]}}},\"plugin_api.ACG.members\":{\"caption\":\"Get Board Details w/ Board ID member\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"path\":[\"id\"]},\"_p_joinedDate\":{\"ret_value\":\"text\",\"caption\":\"joinedDate\",\"sample_value\":\"\",\"path\":[\"joinedDate\"]},\"_p_isActive\":{\"ret_value\":\"boolean\",\"caption\":\"isActive\",\"sample_value\":\"\",\"path\":[\"isActive\"]},\"_p_role\":{\"ret_value\":\"text\",\"caption\":\"role\",\"sample_value\":\"\",\"path\":[\"role\"]}}}}","ret_value":"api.1660058472276x594461547686527000.plugin_api.ACG"},"ACI":{"name":"Delete A Board","url":"https://www.whiteboard.team/api/v1/boards/[Board ID]","method":"delete_method","publish_as":"action","should_reinitialize":true,"url_params":{"ACJ":{"key":"Board ID","value":"","private":true,"visibility":"public","doc":"You can use \"Get All Boards\" API Call to get ID of your boards"}},"initialized":true,"data_type":"empty","no_types":true},"ACQ":{"name":"Get Board Details w/ Board Code","url":"https://www.whiteboard.team/api/v2/boards/[Board Code]?timestamp=[Random Number]","method":"get","publish_as":"data","should_reinitialize":true,"url_params":{"ACS":{"key":"Board Code","value":"","private":true},"ACT":{"key":"Random Number","value":"15351","private":true,"doc":"To be able to run the API Call repeatedly without refreshing the page, assign a random value here and have this random value change each time the call runs. You can use the expression \"Calculate formula\" for this."}},"initialized":true,"types":"{\"plugin_api.ACQ\":{\"caption\":\"Get Board Details w/ Board Code\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"path\":[\"id\"]},\"_p_name\":{\"ret_value\":\"text\",\"caption\":\"name\",\"sample_value\":\"\",\"path\":[\"name\"]},\"_p_createdDate\":{\"ret_value\":\"date\",\"caption\":\"createdDate\",\"sample_value\":\"\",\"path\":[\"createdDate\"]},\"_p_lastUse\":{\"ret_value\":\"date\",\"caption\":\"lastUse\",\"sample_value\":\"\",\"path\":[\"lastUse\"]},\"_p_lastChange\":{\"ret_value\":\"date\",\"caption\":\"lastChange\",\"sample_value\":\"\",\"path\":[\"lastChange\"]},\"_p_members\":{\"ret_value\":\"list.api.1660058472276x594461547686527000.plugin_api.ACQ.members\",\"caption\":\"members\",\"path\":[\"members\"]}}},\"plugin_api.ACQ.members\":{\"caption\":\"Get Board Details w/ Board Code member\",\"fields\":{\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"path\":[\"id\"]},\"_p_joinedDate\":{\"ret_value\":\"date\",\"caption\":\"joinedDate\",\"sample_value\":\"\",\"path\":[\"joinedDate\"]},\"_p_isActive\":{\"ret_value\":\"boolean\",\"caption\":\"isActive\",\"sample_value\":\"\",\"path\":[\"isActive\"]},\"_p_role\":{\"ret_value\":\"text\",\"caption\":\"role\",\"sample_value\":\"\",\"path\":[\"role\"]}}}}","ret_value":"api.1660058472276x594461547686527000.plugin_api.ACQ"}},"shared_headers":{"ACU":{"key":"Api-Key","private":true,"visibility":"secret","doc":"Your Client Secret Key"}}},"plugin_elements":{"AAC":{"display":"Wonderful Whiteboard  (deprecated)","property_applications":{"resizable":true,"MinWidth":true,"Backgroun
136d":true,"Border":true,"Padding":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAH":{"caption":"Client ID","name":"clientId","rank":0,"editor":"DynamicValue","value":"text"},"AAS":{"caption":"Board Code","name":"boardCode","rank":1,"editor":"DynamicValue","value":"text"},"AAT":{"caption":"Role","name":"role","rank":2,"editor":"Dropdown","value":"text","default_val":"editor"},"AAU":{"caption":"Display Name","name":"displayName","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AAV":{"caption":"Tool","name":"tool","rank":4,"editor":"Dropdown","default_val":"pen"}},"states":{"AAF":{"caption":"Error message","name":"errorMessage","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AAL":{"caption":"Current User ID","name":"currentUserId","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AAO":{"caption":"Joined User ID","name":"joinedUserID","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AAP":{"caption":"Joined User Display Name","name":"joinedUserDisplayName","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AAQ":{"caption":"Left User ID","name":"leftUserID","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AAR":{"caption":"Left User Display Name","name":"leftUserDisplayName","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AAn":{"caption":"Board Image","name":"boardImage","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ABh":{"caption":"Board Name","name":"boardname","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"AAE":{"caption":"Error","name":"error"},"AAG":{"caption":"Ready","name":"ready"},"AAM":{"caption":"User Joined","name":"userJoined"},"AAN":{"caption":"User Left","name":"userLeft"},"ABv":{"caption":"Mouse Leave from Whiteboard","name":"mouseLeave"},"ABw":{"caption":"Mouse Enter to Whiteboard","name":"mouseEnter"}},"actions":{"AAD":{"caption":"Get Image","code":{"fn":"\nfunction(instance, properties, context) {\n\t \n    \n    //Usage example:\n    \n\n\n  //Load any data \n    \n\twt.getImage().then(img => {\n        instance.publishState('boardImage', img);\n    });\n\n  //Do the operation\n\t\n    \n\n\n}"}},"AAK":{"caption":"Get User Id","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n    \n\n\n\twt.getCurrentUser().then(user => instance.publishState('currentUserId', user.id));\n    \n  //Do the operation\n\n\n\n}"}},"AAd":{"caption":"Zoom In","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\n\twt.zoomIn();\n\n  //Do the operation\n\n\n\n}"}},"AAf":{"caption":"Zoom Out","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\twt.zoomOut();\n\n\n  //Do the operation\n\n\n\n}"}},"AAg":{"caption":"Reset Zoom","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\n\twt.resetZoom();\n\n  //Do the operation\n\n\n\n}"}},"AAh":{"caption":"Undo","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\twt.undo();\n\n\n  //Do the operation\n\n\n\n}"}},"AAi":{"caption":"Fit To Screen","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\n\n\twt.fitToScreen();\n  //Do the operation\n\n\n\n}"}},"AAk":{"caption":"Notification","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\n\twt.notify(properties.message);\n\n  //Do the operation\n\n\n\n}"},"fields":{"AAl":{"caption":"Message","name":"message","rank":0,"editor":"DynamicValue","value":"text"}}},"AAm":{"caption":"Full Screen","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\n\twt.fullscreen()\n\n  //Do the operation\n\n\n\n}"}},"ABt":{"caption":"Reinitialize","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\tvar elem = document.getElementById(instance.data.elementID);\n \telem.remove();\n    \n\tvar elementID = instance.data.elementID;\n    var clientId = instance.data.clientId;\n    var boardCode = instance.data.boardCode;\n    var role = instance.data.role;\n    var displayName = instance.data.displayName;
136\n    var tool = instance.data.tool;\n    \n    \n        instance.canvas.append('<div style=\"width: 100% !important; height: 100% !important;\" id=\"'+elementID+'\"></div>'); \n    \tvar script = document.createElement(\"script\");\n            script.innerHTML = \"var wt = new api.WhiteboardTeam('#\"+elementID+\"', {clientId: '\"+clientId+\"', boardCode: '\"+boardCode+\"',participant: {role : '\"+role+\"', name: '\"+displayName+\"', permissions : ['view_templates']},board: {tool: '\"+tool+\"', features:{activeOnClick: true}, colors: ['#FF5733', '#3498DB', '#5B2C6F', '#212F3C', '#1abc9c', '#2ecc71', '#3498db', '#9b59b6', '#34495e', '#f1c40f', '#e67e22', '#e74c3c', '#ecf0f1', '#95a5a6', '#ff9ff3', '#feca57', '#ff6b6b', '#48dbfb', '#1dd1a1', '#f368e0', '#ff9f43', '#ee5253', '#0abde3', '#10ac84', '#00d2d3', '#54a0ff', '#5f27cd', '#01a3a4', '#2e86de', '#341f97', '#222f3e', '#8395a7'], color: '#000000'}});\";\n            document.body.appendChild(script);\n\n    \n    const mouseTarget = document.getElementById(elementID);\n\n            mouseTarget.addEventListener('mouseenter', e => {\n              instance.triggerEvent('mouseEnter');\n            });\n\n            mouseTarget.addEventListener('mouseleave', e => {\n              instance.triggerEvent('mouseLeave')\n            });\n    \n    \n  //Do the operation\n\n\n\n}"}},"ABy":{"caption":"Draw Image to center","code":{"fn":"function(instance, properties, context) {\n\n\n  wt.drawImage(properties.image).then(image=> { })\n\n\n\n}"},"fields":{"ABz":{"caption":"Image","name":"image","rank":0,"editor":"DynamicValue","value":"image"}}},"ACA":{"caption":"Draw Image w/ Position","code":{"fn":"function(instance, properties, context) {\n\n\n  wt.drawImage(properties.image, properties.x, properties.y).then(image=> { \n     //wt.viewport.zoomTo(image); \n  })\n\n\n\n}"},"fields":{"ACB":{"caption":"image","name":"image","rank":0,"editor":"DynamicValue","value":"image"},"ACC":{"caption":"X Value","name":"x","rank":1,"editor":"DynamicValue","value":"number","default_val":60},"ACD":{"caption":"Y value","name":"y","rank":2,"editor":"DynamicValue","value":"number","default_val":60}}}},"code":{"preview":{"fn":"function(instance, properties) {\n    $('head').css('height', \"0px\");\n    \n    $('html, body').css({\n        \"width\": \"100%\",\n        \"height\": \"100%\",\n        \"position\": \"absolute\",\n        \"top\":\"0px\"\n    });
136\n    \n    let container = $('<div></div>');\n    container.css({\n        \"width\": \"40px\",\n        \"height\": \"40px\",\n        \"position\":\"absolute\",\n        \"top\":\"50%\",\n        \"left\":\"50%\",\n        \"transform\":\"translate(-50%,-50%)\",\n        \"background-image\": \"url(https://s3.amazonaws.com/appforest_uf/f1635087817558x553058910813549950/board_logo.png)\",\n        \"background-size\": \"cover\",\n        \"border-radius\": \"10px\"\n    });\n    \n    $('body').append(container);\n    \n}"},"initialize":{"fn":"function(instance, context) {\n    \n    instance.data.getStarted = false;\n    \n    // Define a random ID\n    \n    var random = Math.floor((Math.random() * 100000) + 1);\n    const elementID = 'wt-container'+random;\n    instance.data.elementID = elementID;\n    \n   \n    \n    instance.data.triggerMe = (properties) => {\n\t\t\n        \n        // Append div\n\n        instance.canvas.append('<div style=\"width: 100% !important; height: 100% !important;\" id=\"'+elementID+'\"></div>');\n\n        $(document).ready(function(){\n         \n            const mouseTarget = document.getElementById(elementID);\n\n            mouseTarget.addEventListener('mouseenter', e => {\n              instance.triggerEvent('mouseEnter');\n            });\n\n            mouseTarget.addEventListener('mouseleave', e => {\n              instance.triggerEvent('mouseLeave');\n            });\n     \n            // Load script\n\n            var script = document.createElement(\"script\");\n            script.innerHTML = \"var wt = new api.WhiteboardTeam('#\"+elementID+\"', {clientId: '\"+properties.clientId+\"', boardCode: '\"+properties.boardCode+\"',participant: {role : '\"+properties.role+\"', name: '\"+properties.displayName+\"', permissions : ['view_templates']},board: {tool: '\"+properties.tool+\"', features:{activeOnClick: true}, colors: ['#FF5733', '#3498DB', '#5B2C6F', '#212F3C', '#1abc9c', '#2ecc71', '#3498db', '#9b59b6', '#34495e', '#f1c40f', '#e67e22', '#e74c3c', '#ecf0f1', '#95a5a6', '#ff9ff3', '#feca57', '#ff6b6b', '#48dbfb', '#1dd1a1', '#f368e0', '#ff9f43', '#ee5253', '#0abde3', '#10ac84', '#00d2d3', '#54a0ff', '#5f27cd', '#01a3a4', '#2e86de', '#341f97', '#222f3e', '#8395a7'], color: '#000000'}});\";\n            document.body.appendChild(script);\n\n\n\n            // When board is ready\n\t\t\twt.addListener('ready', ctx => {\n\n\t\t\tinstance.triggerEvent('ready')\n\t\t\t});\n\n            // When any error occured\n\t\t\twt.addListener('error', error => {\n\t\t\t\tinstance.triggerEvent('error');\n                // instance.publishState('errorMessage', `Error type: $('error.type'), Message: $('error.message')`);\n            });\n\n            // When a user joined\n\n            wt.addListener('user-joined', user => {\n                instance.publishState('joinedUserID', user.uid);\n                instance.publishState('joinedUserDisplayName', user.displayName);\n                instance.triggerEvent('userJoined');\n            });\n\n            // When a user left\n\n            wt.addListener('user-left', user => {\n                instance.publishState('leftUserID', user.uid);\n                instance.publishState('leftUserDisplayName', user.displayName);\n                instance.triggerEvent('userLeft');\n            });\n            \n        });     \n   };\n    \n}"},"update":{"fn":"function(instance, properties, context) {\n\t\n\tif(!instance.data.getStarted){\t\n        instance.data.triggerMe(properties);\n        instance.data.getStarted = true;\n     }\n    \n    instance.data.clientId = properties.clientId\n    instance.data.boardCode = properties.boardCode\n\tinstance.data.role = properties.role;\n    instance.data.displayName = properties.displayName;\n\tinstance.data.tool = properties.tool;\n    \n    /*\n    var elementID = instance.data.elementID;\n    instance.canvas.append('<div style=\"width: 100% !important; height: 100% !important;\" id=\"'+elementID+'\"></div>');\n    \n    var script = document.createElement(\"script\");\n            script.innerHTML = \"var wt = new api.WhiteboardTeam('#\"+elementID+\"', {clientId: '\"+properties.clientId+\"',boardCode: '\"+properties.boardCode+\"',participant: {role : '\"+properties.role+\"', name: '\"+properties.displayName+\"'},board: {tool: '\"+properties.tool+\"'}});\";\n            document.body.appendChild(script);\n*/\n\n   \t    \n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"},"AFC":{"display":"White Board Excalidraw","property_applications":{"resizable":true,"MinWidth":true,"Border":true,"BoxShadow":true},"add_is_visible":true,"add_large_file_upload_properties":true,"can_fit_width":false,"can_fit_height":false,"fields":{"AEZ":{"caption":"Board (App Type)","rank":0,"editor":"custom_type","name":"board"},"AEa":{"caption":"Board Thing","name":"board_thing","rank":1,"editor":"DynamicValue","value":"custom_data_AEZ","is_list":false},"AEb":{"caption":"ID field name","name":"id_field","rank":3,"editor":"custom_field_AEZ"},"AEc":{"caption":"Theme","name":"theme","rank":12,"editor":"Dropdown","default_val":"device"},"AEd":{"caption":"Read Only","name":"read_only","rank":10,"editor":"DynamicValue","value":"boolean","default_val":false},"AEe":{"caption":"Last Change","name":"last_change","rank":2,"editor":"DynamicValue","value":"date"},"AEf":{"caption":"WB Element (App Type)","name":"wb_element","rank":4,"editor":"custom_type"},"AEg":{"caption":"Element ID Field","name":"Element ID field","rank":6,"editor":"custom_field_AEf","field_list":false},"AEh":{"caption":"Image URL field","name":"image_url_field","rank":7,"editor":"custom_field_AEf"},"AEi":{"caption":"Element Data Field","name":"element_data_field","rank":8,"editor":"custom_field_AEf"},"AEj":{"caption":"Is Deleted Field","name":"is_deleted_field","rank":9,"editor":"custom_field_AEf"},"AEk":{"caption":"Elements (List)","name":"element_things","rank":5,"editor":"DynamicValue","value":"custom_data_AEf","is_list":true}
136,"AEm":{"caption":"Show Clear Button","name":"show_clear_button","rank":15,"editor":"DynamicValue","value":"boolean","default_val":true},"AEq":{"caption":"Canvas Name","name":"canvas_name","rank":11,"editor":"DynamicValue","value":"text","optional":true},"AEs":{"caption":"Zen Mode","name":"zen_mode","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false},"AEt":{"caption":"Grid Mode","name":"grid_mode","rank":14,"editor":"DynamicValue","value":"boolean","default_val":false}},"states":{"AEv":{"caption":"Changed Element Data","name":"changed_element_data","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AEx":{"caption":"Error Message","name":"error_message","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AEy":{"caption":"Is Ready","name":"is_ready","value":"boolean","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AEz":{"caption":"Changed Element ID","name":"changed_element_id","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AFA":{"caption":"Changed Element Deleted","name":"changed_element_deleted","value":"boolean","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AFB":{"caption":"Changed Element Image","name":"changed_element_image_url","value":"image","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"AFG":{"caption":"Board Image URL","name":"board_image_url","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"AEU":{"caption":"On Ready","name":"ready"},"AEV":{"caption":"On Change","name":"on_change"},"AEW":{"caption":"On Error","name":"error"},"AEX":{"caption":"On Clear","name":"on_clear"},"AFH":{"caption":"On Export Image","name":"on_export_image"}},"actions":{"AES":{"caption":"Fullscreen","code":{"fn":"function(instance, properties, context) {\n    switch (properties.mode) {\n        case 'on':\n            instance.data.container.requestFullscreen?.();\n            break;\n        case 'off':\n            document.exitFullscreen?.();\n            break;\n        default:\n            if (!document.fullscreenElement) {\n                instance.data.container.requestFullscreen?.();\n            } else {\n                document.exitFullscreen?.();\n            }\n    }\n\n}"},"fields":{"AET":{"caption":"Mode","name":"mode","rank":0,"editor":"Dropdown","default_val":"toggle"}}},"AFD":{"caption":"Export canvas as PNG","code":{"fn":"function(instance, properties, context) {\n  if (!instance.data.api || !instance.data.ExcalidrawLib) return;\n\n  const elements   = instance.data.api.getSceneElements();\n  const appState   = instance.data.api.getAppState();\n  const files      = instance.data.api.getFiles();\n  const background = properties.background || 'white';\n  const filename   = (\n    properties.filename ||\n    (instance.data.properties && instance.data.properties.canvas_name) ||\n    'whiteboard'\n  ).trim();\n\n  const exportBackground   = background !== 'transparent';\n  const exportWithDarkMode = background === 'dark';\n\n  instance.data.ExcalidrawLib.exportToBlob({\n    elements,\n    appState:  Object.assign({}, appState, { exportBackground, exportWithDarkMode }),\n    files,\n    mimeType: 'image/png',\n  })\n  .then(function(blob) {\n    const file = new File([blob], filename + '.png', { type: 'image/png' });\n\n    instance.uploadFile(file, function(err, url) {\n      if (err) {\n        instance.publishState('error_message', 'Upload failed: ' + (err.message || String(err)));\n        instance.triggerEvent('error');\n        return;\n      }\n      instance.publishState('board_image_url', url);\n      instance.triggerEvent('on_export_image');\n    });\n  })\n  .catch(function(err) {\n    instance.publishState('error_message', 'Export failed: ' + err.message);\n    instance.triggerEvent('error');\n  });\n}"},"fields":{"AFE":{"caption":"Background","name":"background","rank":0,"editor":"Dropdown","default_val":"white"},"AFF":{"caption":"Filename","name":"filename","rank":1,"editor":"DynamicValue","value":"text","optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\ninstance.canvas.html(`\n    <div id=\"rrg_canvas_preview\" style=\"\n    position:absolute;\n    width:100%;\n    height:100%;\n    text-align:center;\n    color:white;\n    background-image: url('//0b31f8978e3de2e7f696d652af3ccde2.cdn.bubble.io/f1778243740301x177363822829959420/excalidraw_plugin_icon.svg');\n    background-size:     contain;\n    background-repeat:   no-repeat;\n    background-position: center center;\n    \">\n    </div>\n`)\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n  instance.data.savedVersions  = {};\n  instance.data.localElements  = [];\n  instance.data.pendingChanges = {};\n  instance.data.debounceTimer  = null;\n  instance.data.lastModTime    = 0;\n  instance.data.canvasId       = null;\n  instance.data.api            = null;\n  instance.data.properties     = null;\n  instance.data.syncingFromDB  = false;\n  instance.data.syncDebounceTimer = null;\n\n  // DOM: wrapper > container (React) + overlay (sibling)\n  // Overlay must be a sibling — createRoot() wipes children of its container.\n  const wrapper = document.createElement('div');\n  wrapper.style.cssText = 'width:100%;height:100%;position:relative;';\n  instance.canvas[0].appendChild(wrapper);\n\n  const container = document.createElement('div');\n  container.style.cssText = 'width:100%;height:100%;';\n  wrapper.appendChild(container);\n  instance.data.container = container;\n\n  // ── Loading Overlay ───────────────────────────────────────────────────────\n  if (!document.getElementById('wb-spin-style')) {\n    const s = document.createElement('style');\n    s.id = 'wb-spin-style';\n    s.textContent = '@keyframes wb-spin{to{transform:rotate(360deg)}}';\n    document.head.appendChild(s);\n  }\n\n    if (!document.getElementById('wb-no-library-style')) {\n      const s = document.createElement('style');\n      s.id = 'wb-no-library-style';
136\n      s.textContent = '.excalidraw .sidebar-trigger__label-element[title=\"Library\"] { display: none !important; }';\n      document.head.appendChild(s);\n    }\n\n  const overlay = document.createElement('div');\n  overlay.style.cssText = 'position:absolute;inset:0;z-index:9999;display:none;' +\n    'align-items:center;justify-content:center;' +\n    'background:var(--color-surface-lowest,#f8f9fa);transition:opacity 0.2s ease;';\n  overlay.innerHTML =\n    '<div style=\"display:flex;flex-direction:column;align-items:center;gap:12px;' +\n    'color:var(--color-text-secondary,#999);font-family:sans-serif;font-size:13px;\">' +\n      '<svg width=\"28\" height=\"28\" viewBox=\"0 0 32 32\" style=\"animation:wb-spin 0.9s linear infinite;\">' +\n        '<circle cx=\"16\" cy=\"16\" r=\"12\" fill=\"none\" stroke=\"currentColor\"' +\n                'stroke-width=\"3\" stroke-dasharray=\"56\" stroke-dashoffset=\"18\"/>' +\n      '</svg>' +\n      '<span>Loading canvas\\u2026</span>' +\n    '</div>';\n  wrapper.appendChild(overlay);\n  instance.data.loadingOverlay = overlay;\n\n  instance.data.showOverlay = function() {\n    overlay.style.opacity = '1';\n    overlay.style.display = 'flex';\n  };\n  instance.data.hideOverlay = function() {\n    overlay.style.opacity = '0';\n    setTimeout(function() {\n      overlay.style.display = 'none';\n      overlay.style.opacity = '1';\n    }, 200);\n  };\n\n  // ── loadRemoteElements ────────────────────────────────────────────────────\n  instance.data.loadRemoteElements = function() {\n    const props = instance.data.properties;\n    if (!props || !instance.data.api) return;\n\n    const elementThings    = props.element_things;\n    const elementDataField = props.element_data_field || 'element_data';\n    const imageUrlField    = props.image_url_field    || 'image_url';\n    if (!elementThings) return;\n\n    if (instance.data.loadingElements) return;          // guard\n        instance.data.loadingElements = true;\n    if (!instance.data.historyReady) {                  // overlay тільки при першому завантаженні\n        instance.data.showOverlay();\n    }\n\n    const attempt = function() {\n      const loadCanvasId = instance.data.canvasId;\n      try {\n        const length = elementThings.length();\n        const items  = length > 0 ? elementThings.get(0, length) : [];\n\n        // PASS 1: touch all fields so Bubble batches the fetch.\n        // Without this, Bubble loads one field per retry → N retries for N elements.\n        let needsRetry = false;\n        const cache = items.map(function(item) {\n          const row = { elementData: null, imageUrl: null };\n          try { row.elementData = item.get(elementDataField); }\n          catch(e) { if (e && e.not_ready_key) needsRetry = true; }\n          try { row.imageUrl = item.get(imageUrlField); }\n          catch(e) { if (e && e.not_ready_key) needsRetry = true; }\n          return row;\n        });\n\n        if (needsRetry) {\n          if (instance.data.canvasId !== loadCanvasId) {\n            instance.data.loadingElements = false;\n            instance.data.hideOverlay();\n            return;\n          }\n          setTimeout(attempt, 150);\n          return;\n        }\n\n        // PASS 2: all fields ready — parse & fetch image blobs\n        const normalizeUrl = function(url) {\n          if (!url) return null;\n          return url.startsWith('//') ? 'https:' + url : url;\n        };\n\n        const remote       = [];\n        const filePromises = [];\n        const files        = {};\n\n        cache.forEach(function(row) {\n          if (!row.elementData) return;\n          try {\n            const parsed = JSON.parse(row.elementData);\n            if (!parsed) return;\n            remote.push(parsed);\n\n            if (parsed.type === 'image' && parsed.fileId) {\n              const imageUrl = normalizeUrl(row.imageUrl);\n              if (!imageUrl) return;\n\n              const promise = fetch(imageUrl, { cache: 'no-store' })\n                .then(function(r) {\n                  if (!r.ok) throw new Error('HTTP ' + r.status);\n                  return r.blob();\n                })\n                .then(function(blob) {\n                  return new Promise(function(resolve, reject) {\n                    if (blob.size === 0) return reject(new Error('Empty blob'));\n                    const reader = new FileReader();
136\n                    reader.onloadend = function() {\n                      const dataURL = reader.result;\n                      if (!dataURL || dataURL === 'data:') return reject(new Error('Empty dataURL'));\n                      files[parsed.fileId] = {\n                        id:       parsed.fileId,\n                        dataURL:  dataURL,\n                        mimeType: blob.type || 'image/png',\n                        created:  Date.now(),\n                      };\n                      resolve();\n                    };\n                    reader.onerror = function() { reject(new Error('FileReader error')); };\n                    reader.readAsDataURL(blob);\n                  });\n                })\n                .catch(function() {});\n\n              filePromises.push(promise);\n            }\n          } catch(e) { /* JSON parse error — skip bad row */ }\n        });\n\n        // Merge remote with local (higher version wins)\n        const map = {};\n        instance.data.localElements.forEach(function(el) { map[el.id] = el; });\n        remote.forEach(function(el) {\n          const existing = map[el.id];\n          if (!existing) {\n            map[el.id] = el;\n          } else if (el.version > existing.version) {\n            map[el.id] = el;\n          } else if (el.version === existing.version && el.versionNonce > existing.versionNonce) {\n            map[el.id] = el;\n          }\n        });\n\n        const merged = Object.values(map);\n        instance.data.localElements = merged;\n\n        Promise.all(filePromises).then(function() {\n          if (instance.data.canvasId !== loadCanvasId) {\n            instance.data.loadingElements = false;\n            instance.data.hideOverlay();\n            return;\n          }\n\n          const fileList = Object.values(files);\n\n          const fixedElements = merged.map(function(el) {\n            if (el.type === 'image' && el.fileId && files[el.fileId]) {\n              return Object.assign({}, el, { status: 'saved' });\n            }\n            return el;\n          });\n\n          // Set versions BEFORE touching the canvas so the onChange guard works\n          fixedElements.forEach(function(el) {\n            instance.data.savedVersions[el.id] = el.version;\n          });\n          instance.data.loadingElements = false;\n\n          // syncingFromDB prevents handleChange from firing on_change\n          // for elements that came from the DB (not from the user)\n          instance.data.syncingFromDB = true;\n\n          if (!instance.data.historyReady) {\n            // First load: remount with initialData\n            instance.data.initialElements = fixedElements;\n            instance.data.initialFiles    = files;\n            instance.data.historyReady    = true;\n\n            instance.data.root.unmount();\n            const newRoot = instance.data.createRoot(instance.data.container);\n            newRoot.render(instance.data.React.createElement(instance.data.App));\n            instance.data.root = newRoot;\n            instance.data.api  = null;\n\n            // Two rAFs: first = React commit + onChange fires, second = safely after\n            requestAnimationFrame(function() {\n              requestAnimationFrame(function() {\n                instance.data.syncingFromDB = false;\n                instance.data.hideOverlay();\n              });\n            });\n\n          } else {\n            // Subsequent syncs: updateScene only (no remount)\n            if (fileList.length > 0) instance.data.api.addFiles(fileList);\n            instance.data.api.updateScene({ elements: fixedElements, commitToHistory: false });\n\n            // onChange from updateScene is sync/microtask — setTimeout(0) is enough\n            setTimeout(function() {\n              instance.data.syncingFromDB = false;\n              instance.data.hideOverlay();\n            }, 0);\n          }\n        });\n\n      } catch(e) {\n        if (e && e.not_ready_key) {\n          if (instance.data.canvasId !== loadCanvasId) {\n            instance.data.loadingElements = false;\n            instance.data.hideOverlay();\n            return;\n          }\n          setTimeout(attempt, 100);\n          return;\n        }\n        instance.data.loadingElements = false;\n        instance.data.hideOverlay();\n      }\n    };\n\n    attempt();\n  };\n\n  // ── handleChange ──────────────────────────────────────────────────────────\n  instance.data.handleChange = function(elements) {\n    instance.data.localElements = elements;\n\n    // During DB sync: capture Excalidraw's actual versions (may differ from\n    // what we saved before remount/updateScene) and bail out immediately.\n    if (instance.data.syncingFromDB) {\n      elements.forEac
136h(function(el) {\n        instance.data.savedVersions[el.id] = el.version;\n      });\n      clearTimeout(instance.data.debounceTimer);\n      instance.data.pendingChanges = {};\n      return;\n    }\n\n    elements.forEach(function(el) {\n      const saved = instance.data.savedVersions[el.id];\n      // !== undefined (not falsy) so saved===0 is handled correctly\n      if (saved !== undefined && el.version <= saved) return;\n      instance.data.pendingChanges[el.id] = el;\n    });\n\n    clearTimeout(instance.data.debounceTimer);\n    instance.data.debounceTimer = setTimeout(function() {\n\n      // A DB sync may have started during the 1.5 s wait — discard stale changes\n      if (instance.data.syncingFromDB) {\n        instance.data.pendingChanges = {};\n        return;\n      }\n\n      const changed = Object.values(instance.data.pendingChanges);\n      if (changed.length === 0) return;\n\n      changed.forEach(function(el) { instance.data.savedVersions[el.id] = el.version; });\n      instance.data.pendingChanges = {};\n\n      // Fire one on_change per element with 50 ms spacing\n      changed.forEach(function(el, i) {\n        setTimeout(function() {\n          instance.publishState('changed_element_id',      el.id);\n          instance.publishState('changed_element_data',    JSON.stringify(el));\n          instance.publishState('changed_element_deleted', !!el.isDeleted);\n          instance.triggerEvent('on_change');\n        }, i * 50);\n      });\n\n    }, 1500);\n  };\n\n  // ── Load Excalidraw via ESM CDN ───────────────────────────────────────────\n  const importModules = function() {\n    return Promise.all([\n      import('https://esm.sh/[email protected]'),\n      import('https://esm.sh/[email protected]/client'),\n      import('https://esm.sh/@excalidraw/[email protected]/dist/dev/index.js?external=react,react-dom'),\n    ]);\n  };\n\n  const loadWithRetry = function(attemptsLeft, delayMs) {\n    attemptsLeft = attemptsLeft === undefined ? 3    : attemptsLeft;\n    delayMs      = delayMs      === undefined ? 1000 : delayMs;\n    return importModules().catch(function(err) {\n      if (attemptsLeft <= 1) throw err;\n      console.warn('[wb] module load failed, retrying in ' + delayMs + 'ms... (' +\n        (attemptsLeft - 1) + ' attempts left)', err.message);\n      return new Promise(function(resolve) { setTimeout(resolve, delayMs); })\n        .then(function() { return loadWithRetry(attemptsLeft - 1, delayMs * 2); });\n    });\n  };\n\n  instance.data.loadExcalidraw = function() {\n    loadWithRetry(3, 1000)\n      .then(function(modules) {\n        const React         = modules[0].default;\n        const createRoot    = modules[1].createRoot;\n        const ExcalidrawLib = modules[2];\n\n        instance.data.React         = React;\n        instance.data.createRoot    = createRoot;\n        instance.data.ExcalidrawLib = ExcalidrawLib;\n\n        const Excalidraw = ExcalidrawLib.Excalidraw;\n        const MainMenu   = ExcalidrawLib.MainMenu;\n\n        function App() {\n          const props = instance.data.properties || {};\n\n          const themeProp     = (props.theme || 'device').toLowerCase();\n          const resolvedTheme = themeProp === 'device'\n            ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light')\n            : themeProp;\n\n          return React.createElement(\n            Excalidraw,\n            {\n              initialData: instance.data.initialElements\n                ? { elements: instance.data.initialElements, files: instance.data.initialFiles || {} }\n                : undefined,\n\n              excalidrawAPI: function(api) {\n                instance.data.api = api;\n                instance.publishState('is_ready', true);\n                instance.triggerEvent('ready');\n\n                if (!instance.data.historyReady) {\n                  if (instance.data.properties && instance.data.properties.board_thing) {\n                    instance.data.loadRemoteElements();\n                  }\n                } else {\n                  // Remount after first DB load — fit content, clear undo stack\n                  requestAnimationFrame(function() {\
136n                    api.scrollToContent(api.getSceneElements(), {\n                      fitToViewport: true, viewportZoomFactor: 0.9,\n                    });\n                    requestAnimationFrame(function() { api.history.clear(); });\n                  });\n                }\n              },\n\n              onChange: function(elements) {\n                instance.data.handleChange(elements);\n              },\n\n              name:            props.canvas_name || '',\n              theme:           resolvedTheme,\n              viewModeEnabled: !!props.read_only,\n              zenModeEnabled:  !!props.zen_mode,\n              gridModeEnabled: !!props.grid_mode,\n\n              UIOptions: {\n                canvasActions: {\n                  clearCanvas:               false,\n                  toggleTheme:               true,\n                  saveToActiveFile:          false,\n                  loadScene:                 false,\n                  changeViewBackgroundColor: true,\n                  saveAsImage:               true,\n                  export:                    { saveFileToDisk: true },\n                },\n              },\n            },\n\n            React.createElement(\n              MainMenu, null,\n              React.createElement(MainMenu.DefaultItems.ToggleTheme),\n              React.createElement(MainMenu.DefaultItems.SaveAsImage),\n              React.createElement(MainMenu.DefaultItems.Export),\n              React.createElement(MainMenu.DefaultItems.ChangeCanvasBackground),\n              React.createElement(MainMenu.DefaultItems.Help),\n              props.show_clear_button\n                ? React.createElement(\n                    MainMenu.Item,\n                    { onSelect: function() { instance.triggerEvent('on_clear'); } },\n                    '\\uD83D\\uDDD1\\uFE0F Clear canvas'\n                  )\n                : null,\n              React.createElement(\n                MainMenu.Item,\n                {\n                  onSelect: function() {\n                    if (!document.fullscreenElement) {\n                      instance.data.container.requestFullscreen &&\n                        instance.data.container.requestFullscreen();\n                    } else {\n                      document.exitFullscreen && document.exitFullscreen();\n                    }\n                  },\n                },\n                '\\u26F6 Fullscreen'\n              )\n            )\n          );\n        }\n\n        instance.data.App = App;\n        const root = createRoot(container);\n        root.render(React.createElement(App));\n        instance.data.root = root;\n      })\n      .catch(function(err) {\n        instance.publishState('error_message', 'Excalidraw load failed: ' + err.message);\n        instance.triggerEvent('error');\n      });\n  };\n\n  instance.data.loadExcalidraw();\n}"},"update":{"fn":"function(instance, properties, context) {\n  const prev = instance.data.properties;\n  instance.data.properties = properties;\n\n  const boardThing = properties.board_thing;\n  if (!boardThing) return;\n\n  const idFieldName = properties.id_field || '_id';\n  const canvasId    = boardThing.get(idFieldName);\n\n  // ── 1. Canvas switch — full reinitialize ──────────────────────────────────\n  if (canvasId && canvasId !== instance.data.canvasId) {\n    instance.data.canvasId        = canvasId;\n    instance.data.savedVersions   = {};\n    instance.data.localElements   = [];\n    instance.data.pendingChanges  = {};\n    instance.data.loadingElements = false;\n    instance.data.historyReady    = false;   // ← скинути флаг\n    instance.data.initialElements = null;\n    instance.data.initialFiles    = null;\n    clearTimeout(instance.data.debounceTimer);\n\n    const lc = properties.last_change;\n    instance.data.lastModTime = lc ? lc.getTime() : 0;\n\n    if (instance.data.root && instance.data.createRoot) {\n      instance.data.root.unmount();\n      const newRoot = instance.data.createRoot(instance.data.container);\n      newRoot.render(instance.data.React.createElement(instance.data.App));\n      instance.data.root = newRoot;\n      instance.data.api  = null;\n      // excalidrawAPI спрацює → loadRemoteElements → historyReady=false → remount з даними\n    }\n\n  // ── 2. last_change advanced — remote elements updated ─────────────────────\n  } else {\n    const lastChange     = properties.last_change;
136\n    const lastChangeTime = lastChange ? lastChange.getTime() : 0;\n    if (lastChangeTime > instance.data.lastModTime) {\n      instance.data.lastModTime = lastChangeTime;\n      if (instance.data.api) {\n        clearTimeout(instance.data.syncDebounceTimer);\n        instance.data.syncDebounceTimer = setTimeout(function() {\n          instance.data.loadRemoteElements();\n        }, 300);\n      }\n    }\n  }\n\n  // ── 3. Theme — only when the theme FIELD itself changes ───────────────────\n  // This allows the user's manual toggle (via DefaultItems.ToggleTheme)\n  // to persist between update() calls without being overridden.\n  if (!prev || prev.theme !== properties.theme) {\n    const themeProp = (properties.theme || 'device').toLowerCase();\n    const resolvedTheme = themeProp === 'device'\n      ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light')\n      : themeProp;\n\n    if (instance.data.api) {\n      instance.data.api.updateScene({ appState: { theme: resolvedTheme } });\n    }\n\n    // Attach / detach OS theme listener for 'device' mode\n    if (themeProp === 'device' && !instance.data.themeMediaQuery) {\n      const mq      = window.matchMedia('(prefers-color-scheme: dark)');\n      const handler = () => {\n        instance.data.api?.updateScene({\n          appState: { theme: mq.matches ? 'dark' : 'light' }\n        });\n      };\n      mq.addEventListener('change', handler);\n      instance.data.themeMediaQuery    = mq;\n      instance.data.themeChangeHandler = handler;\n    } else if (themeProp !== 'device' && instance.data.themeMediaQuery) {\n      instance.data.themeMediaQuery.removeEventListener('change', instance.data.themeChangeHandler);\n      instance.data.themeMediaQuery    = null;\n      instance.data.themeChangeHandler = null;\n    }\n  }\n\n  // ── 4. viewModeEnabled — always applied (independent of theme toggle) ─────\n  if (instance.data.api) {\n    instance.data.api.updateScene({ appState: { viewModeEnabled: !!properties.read_only } });\n  }\n\n  // ── 5. CSS injection ───────────────────────────────────────────────────────\n  const css = properties.custom_css;\n  if (css) {\n    if (!instance.data.styleEl) {\n      const styleEl = document.createElement('style');\n      styleEl.setAttribute('data-excalidraw-plugin', instance.data.canvasId || 'default');\n      document.head.appendChild(styleEl);\n      instance.data.styleEl = styleEl;\n    }\n    instance.data.styleEl.textContent = css;\n  } else if (instance.data.styleEl) {\n    instance.data.styleEl.textContent = '';\n  }\n\n  if (\n    instance.data.root &&\n    instance.data.App  &&\n    instance.data.React &&   // ← додати перевірку що React вже завантажений\n    prev && (\n      prev.show_clear_button  !== properties.show_clear_button  ||\n      prev.show_welcome_screen !== properties.show_welcome_screen ||\n      prev.welcome_heading    !== properties.welcome_heading    ||\n      prev.welcome_logo       !== properties.welcome_logo       ||\n      prev.canvas_name        !== properties.canvas_name        ||\n      prev.theme              !== properties.theme              ||\n      prev.zen_mode           !== properties.zen_mode           ||\n      prev.grid_mode          !== properties.grid_mode\n    )\n  ) {\n    instance.data.root.render(\n      instance.data.React.createElement(instance.data.App)\n    );\n  }\n}"}},"platform_type":"web"}}};
137window._bubble_page_load_data.plugins_size['1660058472276x594461547686527000_current'] = 49028;
138window.preloaded['plugin/third_party:1660058472276x594461547686527000_current:current'] = true;
139window.plugins["1663505018409x343309636799561700_current"] = {"human":"Wonderful TikTok Slider","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_elements":{"AAC":{"display":"Wonderful TikTok Slider","property_applications":{"resizable":true,"Background":true,"MinWidth":true,"Border":true,"Padding":false},"add_is_visible":true,"states":{"AAE":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"actions":{"AAD":{"caption":"Start","code":{"fn":"function(instance, properties, context) {\n\n\n  const swiper = new Swiper('.swiper', {\n      autoHeight: true,\n      direction: 'vertical',\n      touchEventsTarget: 'wrapper',\n    });\n\n\t\n  instance.data.swiper = swiper;   \n    \n    swiper.on('touchStart', function () {\n      instance.publishState(\"value\", \"touchStart\")\n      //document.getElementById('ytpVideo').src = document.getElementById('ytpVideo').src\n    });\n    \n    swiper.on('touchMove', function () {\n      instance.publishState(\"value\", \"touchMove\")\n\t\t\n    });\n    \n    swiper.on('touchEnd', function () {\n      instance.publishState(\"value\", \"touchEnd\")\n    });\n    \n    instance.publishState(\"value\", \"nothing\")\n}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n    var ytbVideo = '<iframe id=\"ytpVideo\" width=\"420\" height=\"345\" src=\"https://www.youtube.com/embed/tgbNymZ7vqY?c
139ontrols=0&loop=1&autoplay=1\"></iframe>'\n    \n    instance.canvas.append('<div class=\"swiper\" style=\"width:100%;height:100%\"><div class=\"swiper-wrapper\"><div class=\"swiper-slide\">'+ytbVideo+'</div><div class=\"swiper-slide\">'+ytbVideo+'</div><div class=\"swiper-slide\">Slide 3</div></div><div class=\"swiper-pagination\"></div></div>');\n    \n   \n}"},"update":{"fn":"function(instance, properties, context) {\n\n\n \n    \n    \n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}};
140window._bubble_page_load_data.plugins_size['1663505018409x343309636799561700_current'] = 1974;
141window.preloaded['plugin/third_party:1663505018409x343309636799561700_current:current'] = true;
142window['bubble_run_derived'] = window['bubble_run_derived'] || {}
143window['bubble_run_derived']['{"function_name":"PageByName","args":[]}'] = {"404":{"id":"AAU","_path":"%p3.AAX"},"reset_pw":{"id":"AAL","_path":"%p3.AAW"},"index":{"id":"cmMcr","_path":"%p3.cmMfd"},"length":{"id":"cmMyw","_path":"%p3.cmMyx"},"wonderful-tooltip_old":{"id":"cmMzw","_path":"%p3.cmNEJ"},"jitsi":{"id":"cmNcj","_path":"%p3.cmNck"},"tiktok":{"id":"cmNhL","_path":"%p3.cmNhM"},"wonderfulslider":{"id":"cmNlW","_path":"%p3.cmNlX"},"particles-1":{"id":"cmOPS","_path":"%p3.cmOPx"},"particles-2":{"id":"cmOPy","_path":"%p3.cmOQJ"},"animated-shapes-1_old":{"id":"cmOQK","_path":"%p3.cmOQg"},"animated-shapes-4_old":{"id":"cmOQy","_path":"%p3.cmORR"},"animated-shapes-3_old":{"id":"cmORS","_path":"%p3.cmORo"},"animated-shapes-2_old":{"id":"cmORp","_path":"%p3.cmOSI"},"boggle":{"id":"cmOSm","_path":"%p3.cmOSq"},"video-image-faq":{"id":"cmOWa","_path":"%p3.cmOYg"},"video-image-instructions":{"id":"cmOYk","_path":"%p3.cmOZc"},"video-image-slider":{"id":"cmOZg","_path":"%p3.cmOZn"},"video-image-index":{"id":"cmOZo","_path":"%p3.cmOdF"},"simple-share":{"id":"cmOdo","_path":"%p3.cmOit"},"web_push_notification_screenshots":{"id":"cmPUk","_path":"%p3.cmPUl"},"dynamic_page_title_old":{"id":"cmSzs","_path":"%p3.cmTWg"},"share-text":{"id":"cmTqc","_path":"%p3.cmTrB"},"animated_shapes":{"id":"cmTyg","_path":"%p3.cmUBi"},"ig_test":{"id":"cmVYI","_path":"%p3.cmVaI"},"wonderful-share_old":{"id":"cmNoe0","_path":"%p3.cmNtY0"},"social-sharing_old":{"id":"cmNxO0","_path":"%p3.cmNxY0"},"color-tag":{"id":"cmNyK0","_path":"%p3.cmNyO0"},"web-search":{"id":"cmNzG0","_path":"%p3.cmNzK0"},"mirror-ai":{"id":"cmOAM0","_path":"%p3.cmOCL0"},"dynamic-title":{"id":"cmOCo0","_path":"%p3.cmODH0"},"transform-elements-old":{"id":"cmODk0","_path":"%p3.cmOEE0"},"iso8601":{"id":"cmOEO0","_path":"%p3.cmOFS0"},"share-text_old__outdated_":{"id":"cmOFw0","_path":"%p3.cmOGT0"},"words-api":{"id":"cmOIc0","_path":"%p3.cmOIw0"},"wonderful-slider_old":{"id":"cmONQ1","_path":"%p3.cmOOd1"},"gmaps2":{"id":"cmOte0","_path":"%p3.cmOvR0"},"test-slider-reusable":{"id":"cmPQc3","_path":"%p3.cmPQd3"},"test-slider-reusable_copy":{"id":"cmPQk3","_path":"%p3.cmPQq3"},"wonderful-tooltip":{"id":"cmQqK2","_path":"%p3.cmQqL2"},"cr-slider-test":{"id":"cmREU1","_path":"%p3.cmRFL1"},"wonderful-whiteboard_deprecated_":{"id":"cmRFc4","_path":"%p3.cmRMI4"},"wonderful_mage_video_slider_demo":{"id":"cmReq1","_path":"%p3.cmSBe1"},"es_wonderful_image_video_slider_test":{"id":"cmSOM2","_path":"%p3.cmSQw2"},"mr_slider_test":{"id":"cmSTi0","_path":"%p3.cmSVi0"},"animated_shapes_old":{"id":"cmSWQ0","_path":"%p3.cmSYQ0"},"wonderful-slider":{"id":"cmTcw5","_path":"%p3.cmTew5"},"share-text_old":{"id":"cmTkS3","_path":"%p3.cmTmU3"},"dynamic_page_title":{"id":"cmTnu1","_path":"%p3.cmTpW1"},"transform-elements_old":{"id":"cmUeM0","_path":"%p3.cmVBM0"},"transform-elements":{"id":"cmVJC0","_path":"%p3.cmVMP0"},"social-sharing":{"id":"cmVUA2","_path":"%p3.cmVVC2"},"wonderful-share":{"id":"cmqlN1","_path":"%p3.cmqoU1"},"air_whiteboard":{"id":"cmtOf1","_path":"%p3.cmtXJ1"},"social-sharing_old_old":{"id":"cmUGS10","_path":"%p3.cmUdS10"}}
144window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true;
145window['bubble_run_derived']['{"function_name":"CustomByNameV2","args":[]}'] = {"Signup / Login Popup":{"id":"ACq","_path":"%ed.ACr","custom_element_platform":"web"},"Footer":{"id":"bTGkE","_path":"%ed.bTGkF","custom_element_platform":"web"},"Header (zqbackend) New":{"id":"cmQLz","_path":"%ed.cmQMF","custom_element_platform":"web"},"popup-slider":{"id":"cmPRO3","_path":"%ed.cmPRS3","custom_element_platform":"web"},"Header (Zqbackend) [API]":{"id":"cmPdH0","_path":"%ed.cmPdN0","custom_element_platform":"web"}}
146window.preloaded['app/derived:{"function_name":"CustomByNameV2","args":[]}'] = true;
147window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = []
148window.preloaded['app/derived:{"function_name":"UserCalls","args":[]}'] = true;
149window['bubble_run_derived']['{"function_name":"OAuthProviders","args":[]}'] = []
150window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true;
151window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"boards":[{"name":"code_text","value":"text","display":"Code","deleted":null},{"name":"collaborators_list_text","value":"list.text","display":"Collaborators","deleted":null},{"name":"date_date","value":"date","display":"Date","deleted":null},{"name":"image_image","value":"image","display":"Image","deleted":null}],"cats":[{"name":"age_number","value":"number","display":"Age","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null}],"cats1":[{"name":"age_number","value":"number","display":"Age","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null}],"cats2":[{"name":"age_number","value":"number","display":"Age","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null}],"codes":[{"name":"code_text","value":"text","display":"Code","deleted":null}],"color":[{"name":"c_custom_color","value":"custom.color","display":"C","deleted":null}],"image_list":[{"name":"alt_tag_text","value":"text","display":"ALT Tag","deleted":null},{"name":"image_image","value":"image","display":"Image","deleted":null},{"name":"text_text","value":"text","display":"Text","deleted":null},{"name":"url_text","value":"text","display":"URL","deleted":null}],"images":[{"name":"image_value_image","value":"image","display":"Image Value","deleted":null}],"pets":[{"name":"color_text","value":"text","display":"Color","deleted":null},{"name":"gg_text","value":"text","display":"GG","deleted":null},{"name":"image_image","value":"image","display":"Image","deleted":null}],"pl_wb_board":[{"name":"elements_list_custom_pl_wb_element","value":"list.custom.pl_wb_element","display":"elements","deleted":null},{"name":"is_temp_boolean","value":"boolean","display":"is temp","deleted":null},{"name":"last_change_date","value":"date","display":"last_change","deleted":null},{"name":"preview_custom_image1","value":"custom.image1","display":"preview - deleted","deleted":null},{"name":"preview_image","value":"image","display":"preview","deleted":null},{"name":"title_text","value":"text","display":"title","deleted":null}],"pl_wb_element":[{"name":"canvas_custom_pl_wb_board","value":"custom.pl_wb_board","display":"canvas","deleted":null},{"name":"element_data_text","value":"text","display":"element_data","deleted":null},{"name":"element_id_text","value":"text","display":"element_id","deleted":null},{"name":"image_url_custom_image1","value":"custom.image1","display":"image_url - deleted","deleted":null},{"name":"image_url_image","value":"image","display":"image_url","deleted":null},{"name":"is_deleted_boolean","value":"boolean","display":"is_deleted","deleted":null},{"name":"version_nonce_number","value":"number","display":"version_nonce - deleted","deleted":null},{"name":"version_number","value":"number","display":"version - deleted","deleted":null}],"square_images":[{"name":"images_image","value":"image","display":"Images","deleted":null}],"subscribers":[{"name":"email_text","value":"text","display":"Email","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"waitlist__boolean","value":"boolean","display":"Waitlist?","default_val":false,"deleted":null}],"test_videos":[{"name":"embed_text","value":"text","display":"Embed","deleted":null},{"name":"link_text","value":"text","display":"Link","deleted":null},{"name":"video_file_file","value":"file","display":"video file","deleted":null}],"thoughts":[{"name":"text_text","value":"text","display":"Text","deleted":null}],"tooltip_things":[{"name":"text_text","value":"text","display":"text","deleted":null}],"uploaded_file_registry":[{"name":"uploaded_file_registry_text","value":"text","display":"Uploaded_File_Registry","deleted":null}],"video":[{"name":"video_file","value":"file","display":"Video","deleted":null}],"view":[{"name":"alt_image_image","value":"image","display":"Alt Image","deleted":null},{"name":"alt_text","value":"text","display":"Alt","deleted":null},{"name":"image_image","value":"image","display":"Image","deleted":null},{"name":"text_text","value":"text","display":"Text","deleted":null},{"name":"url_text","value":"text","display":"Url","deleted":null}],"view_counter":[{"name":"count_number","value":"number","display":"Count - deleted","default_val":0,"deleted":true}],"youtube":[{"name":"embed_text","value":"text","display":"Embed","deleted":null},{"name":"link_text","value":"text","display":"Link","deleted":null}],"user":[{"name":"name_text","value":"text","display":"Name","deleted":null}],"device":[{"display":"Type","value":"text","name":"device_type"},{"display":"Push notification token","value":"text","name":"push_notification_token"}
151,{"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"}]}
152window.preloaded['app/derived:{"function_name":"DefaultValues","args":[]}'] = true;
153
154    window._bubble_page_load_data.js_execution_timings.static_js_end_execution = Date.now();
155
156jQuery.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.