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 || {}; 10window.__code__ = window.__code__ || {}; 11if(!window.__code__['2fd8dfaad68be72d262798d67ad4d9f4183c6b3b649471525098eee42d214775']){window.__code__['2fd8dfaad68be72d262798d67ad4d9f4183c6b3b649471525098eee42d214775']=1; 12 13"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>
vendor: 23,595 bytes, line 13
13K_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 13
13)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 13
13if(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)}}}
13var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();(function(e,t){t(e.jQuery)})(typeof self<"u"?self:window,function(e){return function(){"use strict";var t={3046:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,n2(7149),n2(3194),n2(9302),n2(4013),n2(3851),n2(219),n2(207),n2(5296);var i2,a2=(i2=n2(2394))&&i2.__esModule?i2:{default:i2};t2.default=a2.default},3976:function(e2,t2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.default={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(e3,t3){return typeof t3.onBeforeMask=="function"?t3.onBeforeMask.call(this,e3,t3):e3},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3,substitutes:{}}},7392:function(e2,t2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.default={9:{validator:"[0-9\uFF10-\uFF19]",definitionSymbol:"*"},a:{validator:"[A-Za-z\u0410-\u044F\u0401\u0451\xC0-\xFF\xB5]",definitionSymbol:"*"},"*":{validator:"[0-9\uFF10-\uFF19A-Za-z\u0410-\u044F\u0401\u0451\xC0-\xFF\xB5]"}}},3287:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;
13var i2,a2=(i2=n2(7957))&&i2.__esModule?i2:{default:i2};if(a2.default===void 0)throw new Error("jQuery not loaded!");t2.default=a2.default},9845:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.mobile=t2.iphone=t2.ie=void 0;var i2,a2=(i2=n2(9380))&&i2.__esModule?i2:{default:i2},r=a2.default.navigator&&a2.default.navigator.userAgent||"";t2.ie=r.indexOf("MSIE ")>0||r.indexOf("Trident/")>0,t2.mobile=a2.default.navigator&&a2.default.navigator.userAgentData&&a2.default.navigator.userAgentData.mobile||a2.default.navigator&&a2.default.navigator.maxTouchPoints||"ontouchstart"in a2.default,t2.iphone=/iphone/i.test(r)},7184:function(e2,t2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3){return e3.replace(n2,"\\$1")};var n2=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(e2,t2,n2){function i2(e3){return i2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},i2(e3)}Object.defineProperty(t2,"__esModule",{value:!0}),t2.EventHandlers=void 0;var a2,r=n2(9845),o=(a2=n2(9380))&&a2.__esModule?a2:{default:a2},s=n2(7760),l=n2(2839),c=n2(8711),u=n2(7215),f=n2(4713);function p(){p=function(){return t3};var e3,t3={},n3=Object.prototype,a3=n3.hasOwnProperty,r2=Object.defineProperty||function(e4,t4,n4){e4[t4]=n4.value},o2=typeof Symbol=="function"?Symbol:{},s2=o2.iterator||"@@iterator",l2=o2.asyncIterator||"@@asyncIterator",c2=o2.toStringTag||"@@toStringTag";function u2(e4,t4,n4){return Object.defineProperty(e4,t4,{value:n4,enumerable:!0,configurable:!0,writable:!0}),e4[t4]}try{u2({},"")}catch{u2=function(e5,t4,n4){return e5[t4]=n4}}function f2(e4,t4,n4,i3){var a4=t4&&t4.prototype instanceof k?t4:k,o3=Object.create(a4.prototype),s3=new D(i3||[]);return r2(o3,"_invoke",{value:E(e4,n4,s3)}),o3}function d2(e4,t4,n4){try{return{type:"normal",arg:e4.call(t4,n4)}}catch(e5){return{type:"throw",arg:e5}}}t3.wrap=f2;var h2="suspendedStart",m2="suspendedYield",v2="executing",g2="completed",y2={};function k(){}function b(){}function x(){}var w={};u2(w,s2,function(){return this});var P=Object.getPrototypeOf,S=P&&P(P(L([])));S&&S!==n3&&a3.call(S,s2)&&(w=S);var O=x.prototype=k.prototype=Object.create(w);function M(e4){["next","throw","return"].forEach(function(t4){u2(e4,t4,function(e5){return this._invoke(t4,e5)})})}function _(e4,t4){function n4(r3,o4,s3,l3){var c3=d2(e4[r3],e4,o4);if(c3.type!=="throw"){var u3=c3.arg,f3=u3.value;return f3&&i2(f3)=="object"&&a3.call(f3,"__await")?t4.resolve(f3.__await).then(function(e5){n4("next",e5,s3,l3)},function(e5){n4("throw",e5,s3,l3)}):t4.resolve(f3).then(function(e5){u3.value=e5,s3(u3)},function(e5){return n4("throw",e5,s3,l3)})}l3(c3.arg)}var o3;r2(this,"_invoke",{value:function(e5,i3){function a4(){return new t4(function(t5,a5){n4(e5,i3,t5,a5)})}return o3=o3?o3.then(a4,a4):a4()}})}function E(t4,n4,i3){var a4=h2;return function(r3,o3){if(a4===v2)throw new Error("Generator is already running");if(a4===g2){if(r3==="throw")throw o3;return{value:e3,done:!0}}for(i3.method=r3,i3.arg=o3;;){var s3=i3.delegate;if(s3){var l3=j(s3,i3);if(l3){if(l3===y2)continue;return l3}}if(i3.method==="next")i3.sent=i3._sent=i3.arg;else if(i3.method==="throw"){if(a4===h2)throw a4=g2,i3.arg;i3.dispatchException(i3.arg)}else i3.method==="return"&&i3.abrupt("return",i3.arg);a4=v2;var c3=d2(t4,n4,i3);if(c3.type==="normal"){if(a4=i3.done?g2:m2,c3.arg===y2)continue;return{value:c3.arg,done:i3.done}}c3.type==="throw"&&(a4=g2,i3.method="throw",i3.arg=c3.arg)}}}function j(t4,n4){var i3=n4.method,a4=t4.iterator[i3];if(a4===e3)return n4.delegate=null,i3==="throw"&&t4.iterator.return&&(n4.method="return",n4.arg=e3,j(t4,n4),n4.method==="throw")||i3!=="return"&&(n4.method="throw",n4.arg=new TypeError("The iterator does not provide a '"+i3+"' method")),y2;var r3=d2(a4,t4.iterator,n4.arg);if(r3.type==="throw")return n4.method="throw",n4.arg=r3.arg,n4.delegate=null,y2;var o3=r3.arg;return o3?o3.done?(n4[t4.resultName]=o3.value,n4.next=t4.nextLoc,n4.method!=="return"&&(n4.method="next",n4.arg=e3),n4.delegate=null,y2):o3:(n4.method="throw",n4.arg=new TypeError("iterator result is not an object"),n4.delegate=null,y2)}function T(e4){var t4={tryLoc:e4[0]};1 in e4&&(t4.catchLoc=e4[1]),2 in e4&&(t4.finallyLoc=e4[2],t4.afterLoc=e4[3]),this.tryEntries.push(t4)}function A(e4){var t4=e4.completion||{};t4.type="normal",delete t4.arg,e4.completion=t4}function D(e4){this.tryEntries=[{tryLoc:"root"}],e4.forEach(T,this),this.reset(!0)}function L(t4){if(t4||t4===""){var n4=t4[s2];if(n4)return n4.call(t4);if(typeof t4.next=="function")return t4;if(!isNaN(t4.length)){var r3=-1,o3=function n5(){for(;++r3<t4.length;)if(a3.call(t4,r3))return n5.value=t4[r3],n5.done=!1,n5;return n5.value=e3,n5.done=!0,n5};return o3.next=o3}}throw new TypeError(i2(t4)+" is not iterable")}return b.prototype=x,r2(O,"constructor",{value:x,configurable:!0}),r2(x,"constructor",{value:b,configurable:!0}
13),b.displayName=u2(x,c2,"GeneratorFunction"),t3.isGeneratorFunction=function(e4){var t4=typeof e4=="function"&&e4.constructor;return!!t4&&(t4===b||(t4.displayName||t4.name)==="GeneratorFunction")},t3.mark=function(e4){return Object.setPrototypeOf?Object.setPrototypeOf(e4,x):(e4.__proto__=x,u2(e4,c2,"GeneratorFunction")),e4.prototype=Object.create(O),e4},t3.awrap=function(e4){return{__await:e4}},M(_.prototype),u2(_.prototype,l2,function(){return this}),t3.AsyncIterator=_,t3.async=function(e4,n4,i3,a4,r3){r3===void 0&&(r3=Promise);var o3=new _(f2(e4,n4,i3,a4),r3);return t3.isGeneratorFunction(n4)?o3:o3.next().then(function(e5){return e5.done?e5.value:o3.next()})},M(O),u2(O,c2,"Generator"),u2(O,s2,function(){return this}),u2(O,"toString",function(){return"[object Generator]"}),t3.keys=function(e4){var t4=Object(e4),n4=[];for(var i3 in t4)n4.push(i3);return n4.reverse(),function e5(){for(;n4.length;){var i4=n4.pop();if(i4 in t4)return e5.value=i4,e5.done=!1,e5}return e5.done=!0,e5}},t3.values=L,D.prototype={constructor:D,reset:function(t4){if(this.prev=0,this.next=0,this.sent=this._sent=e3,this.done=!1,this.delegate=null,this.method="next",this.arg=e3,this.tryEntries.forEach(A),!t4)for(var n4 in this)n4.charAt(0)==="t"&&a3.call(this,n4)&&!isNaN(+n4.slice(1))&&(this[n4]=e3)},stop:function(){this.done=!0;var e4=this.tryEntries[0].completion;if(e4.type==="throw")throw e4.arg;return this.rval},dispatchException:function(t4){if(this.done)throw t4;var n4=this;function i3(i4,a4){return s3.type="throw",s3.arg=t4,n4.next=i4,a4&&(n4.method="next",n4.arg=e3),!!a4}for(var r3=this.tryEntries.length-1;r3>=0;--r3){var o3=this.tryEntries[r3],s3=o3.completion;if(o3.tryLoc==="root")return i3("end");if(o3.tryLoc<=this.prev){var l3=a3.call(o3,"catchLoc"),c3=a3.call(o3,"finallyLoc");if(l3&&c3){if(this.prev<o3.catchLoc)return i3(o3.catchLoc,!0);if(this.prev<o3.finallyLoc)return i3(o3.finallyLoc)}else if(l3){if(this.prev<o3.catchLoc)return i3(o3.catchLoc,!0)}else{if(!c3)throw new Error("try statement without catch or finally");if(this.prev<o3.finallyLoc)return i3(o3.finallyLoc)}}}},abrupt:function(e4,t4){for(var n4=this.tryEntries.length-1;n4>=0;--n4){var i3=this.tryEntries[n4];if(i3.tryLoc<=this.prev&&a3.call(i3,"finallyLoc")&&this.prev<i3.finallyLoc){var r3=i3;break}}r3&&(e4==="break"||e4==="continue")&&r3.tryLoc<=t4&&t4<=r3.finallyLoc&&(r3=null);var o3=r3?r3.completion:{};return o3.type=e4,o3.arg=t4,r3?(this.method="next",this.next=r3.finallyLoc,y2):this.complete(o3)},complete:function(e4,t4){if(e4.type==="throw")throw e4.arg;return e4.type==="break"||e4.type==="continue"?this.next=e4.arg:e4.type==="return"?(this.rval=this.arg=e4.arg,this.method="return",this.next="end"):e4.type==="normal"&&t4&&(this.next=t4),y2},finish:function(e4){for(var t4=this.tryEntries.length-1;t4>=0;--t4){var n4=this.tryEntries[t4];if(n4.finallyLoc===e4)return this.complete(n4.completion,n4.afterLoc),A(n4),y2}},catch:function(e4){for(var t4=this.tryEntries.length-1;t4>=0;--t4){var n4=this.tryEntries[t4];if(n4.tryLoc===e4){var i3=n4.completion;if(i3.type==="throw"){var a4=i3.arg;A(n4)}return a4}}throw new Error("illegal catch attempt")},delegateYield:function(t4,n4,i3){return this.delegate={iterator:L(t4),resultName:n4,nextLoc:i3},this.method==="next"&&(this.arg=e3),y2}},t3}function d(e3,t3){var n3=typeof Symbol<"u"&&e3[Symbol.iterator]||e3["@@iterator"];if(!n3){if(Array.isArray(e3)||(n3=function(e4,t4){if(e4){if(typeof e4=="string")return h(e4,t4);var n4=Object.prototype.toString.call(e4).slice(8,-1);if(n4==="Object"&&e4.constructor&&(n4=e4.constructor.name),n4==="Map"||n4==="Set")return Array.from(e4);if(n4==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n4))return h(e4,t4)}}(e3))||t3&&e3&&typeof e3.length=="number"){n3&&(e3=n3);var i3=0,a3=function(){};return{s:a3,n:function(){return i3>=e3.length?{done:!0}:{done:!1,value:e3[i3++]}},e:function(e4){throw e4},f:a3}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 14In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r2,o2=!0,s2=!1;return{s:function(){n3=n3.call(e3)},n:function(){var e4=n3.next();return o2=e4.done,e4},e:function(e4){s2=!0,r2=e4},f:function(){try{o2||n3.return==null||n3.return()}finally{if(s2)throw r2}}}}function h(e3,t3){(t3==null||t3>e3.length)&&(t3=e3.length);for(var n3=0,i3=new Array(t3);n3<t3;n3++)i3[n3]=e3[n3];return i3}function m(e3,t3,n3,i3,a3,r2,o2){try{var s2=e3[r2](o2),l2=s2.value}catch(e4){return void n3(e4)}s2.done?t3(l2):Promise.resolve(l2).then(i3,a3)}var v,g,y=t2.EventHandlers={keyEvent:function(e3,t3,n3,i3,a3){var o2=this.inputmask,p2=o2.opts,d2=o2.dependencyLib,h2=o2.maskset,m2=this,v2=d2(m2),g2=e3.key,k=c.caret.call(o2,m2),b=p2.onKeyDown.call(this,e3,c.getBuffer.call(o2),k,p2);if(b!==void 0)return b;if(g2===l.keys.Backspace||g2===l.keys.Delete||r.iphone&&g2===l.keys.BACKSPACE_SAFARI||e3.ctrlKey&&g2===l.keys.x&&!("oncut"in m2))e3.preventDefault(),u.handleRemove.call(o2,m2,g2,k),(0,s.writeBuffer)(m2,c.getBuffer.call(o2,!0),h2.p,e3,m2.inputmask._valueGet()!==c.getBuffer.call(o2).join(""));else if(g2===l.keys.End||g2===l.keys.PageDown){e3.preventDefault();var x=c.seekNext.call(o2,c.getLastValidPosition.call(o2));c.caret.call(o2,m2,e3.shiftKey?k.begin:x,x,!0)}else g2===l.keys.Home&&!e3.shiftKey||g2===l.keys.PageUp?(e3.preventDefault(),c.caret.call(o2,m2,0,e3.shiftKey?k.begin:0,!0)):p2.undoOnEscape&&g2===l.keys.Escape&&e3.altKey!==!0?((0,s.checkVal)(m2,!0,!1,o2.undoValue.split("")),v2.trigger("click")):g2!==l.keys.Insert||e3.shiftKey||e3.ctrlKey||o2.userOptions.insertMode!==void 0?p2.tabThrough===!0&&g2===l.keys.Tab?e3.shiftKey===!0?(k.end=c.seekPrevious.call(o2,k.end,!0),f.getTest.call(o2,k.end-1).match.static===!0&&k.end--,k.begin=c.seekPrevious.call(o2,k.end,!0),k.begin>=0&&k.end>0&&(e3.preventDefault(),c.caret.call(o2,m2,k.begin,k.end))):(k.begin=c.seekNext.call(o2,k.begin,!0),k.end=c.seekNext.call(o2,k.begin,!0),k.end<h2.maskLength&&k.end--,k.begin<=h2.maskLength&&(e3.preventDefault(),c.caret.call(o2,m2,k.begin,k.end))):e3.shiftKey||(p2.insertModeVisual&&p2.insertMode===!1?g2===l.keys.ArrowRight?setTimeout(function(){var e4=c.caret.call(o2,m2);c.caret.call(o2,m2,e4.begin)},0):g2===l.keys.ArrowLeft&&setTimeout(function(){var e4=c.translatePosition.call(o2,m2.inputmask.caretPos.begin);c.translatePosition.call(o2,m2.inputmask.caretPos.end),o2.isRTL?c.caret.call(o2,m2,e4+(e4===h2.maskLength?0:1)):c.caret.call(o2,m2,e4-(e4===0?0:1))},0):o2.keyEventHook===void 0||o2.keyEventHook(e3)):u.isSelection.call(o2,k)?p2.insertMode=!p2.insertMode:(p2.insertMode=!p2.insertMode,c.caret.call(o2,m2,k.begin,k.begin));return o2.isComposing=g2==l.keys.Process||g2==l.keys.Unidentified,o2.ignorable=g2.length>1&&!(m2.tagName.toLowerCase()==="textarea"&&g2==l.keys.Enter),y.keypressEvent.call(this,e3,t3,n3,i3,a3)},keypressEvent:function(e3,t3,n3,i3,a3){var r2=this.inputmask||this,o2=r2.opts,f2=r2.depen
14dencyLib,p2=r2.maskset,d2=r2.el,h2=f2(d2),m2=e3.key;if(t3===!0||e3.ctrlKey&&e3.altKey&&!r2.ignorable||!(e3.ctrlKey||e3.metaKey||r2.ignorable)){if(m2){var v2,g2=t3?{begin:a3,end:a3}:c.caret.call(r2,d2);t3||(m2=o2.substitutes[m2]||m2),p2.writeOutBuffer=!0;var y2=u.isValid.call(r2,g2,m2,i3,void 0,void 0,void 0,t3);if(y2!==!1&&(c.resetMaskSet.call(r2,!0),v2=y2.caret!==void 0?y2.caret:c.seekNext.call(r2,y2.pos.begin?y2.pos.begin:y2.pos),p2.p=v2),v2=o2.numericInput&&y2.caret===void 0?c.seekPrevious.call(r2,v2):v2,n3!==!1&&(setTimeout(function(){o2.onKeyValidation.call(d2,m2,y2)},0),p2.writeOutBuffer&&y2!==!1)){var k=c.getBuffer.call(r2);(0,s.writeBuffer)(d2,k,v2,e3,t3!==!0)}if(e3.preventDefault(),t3)return y2!==!1&&(y2.forwardPosition=v2),y2}}else m2===l.keys.Enter&&r2.undoValue!==r2._valueGet(!0)&&(r2.undoValue=r2._valueGet(!0),setTimeout(function(){h2.trigger("change")},0))},pasteEvent:(v=p().mark(function e3(t3){var n3,i3,a3,r2,l2,u2;return p().wrap(function(e4){for(;;)switch(e4.prev=e4.next){case 0:n3=function(e5,n4,i4,a4,o2){var l3=c.caret.call(e5,n4,void 0,void 0,!0),u3=i4.substr(0,l3.begin),f2=i4.substr(l3.end,i4.length);if(u3==(e5.isRTL?c.getBufferTemplate.call(e5).slice().reverse():c.getBufferTemplate.call(e5)).slice(0,l3.begin).join("")&&(u3=""),f2==(e5.isRTL?c.getBufferTemplate.call(e5).slice().reverse():c.getBufferTemplate.call(e5)).slice(l3.end).join("")&&(f2=""),a4=u3+a4+f2,e5.isRTL&&r2.numericInput!==!0){a4=a4.split("");var p2,h2=d(c.getBufferTemplate.call(e5));try{for(h2.s();!(p2=h2.n()).done;){var m2=p2.value;a4[0]===m2&&a4.shift()}}catch(e6){h2.e(e6)}finally{h2.f()}a4=a4.reverse().join("")}var v2=a4;if(typeof o2=="function"){if((v2=o2.call(e5,v2,r2))===!1)return!1;v2||(v2=i4)}(0,s.checkVal)(n4,!0,!1,v2.toString().split(""),t3)},i3=this,a3=this.inputmask,r2=a3.opts,l2=a3._valueGet(!0),a3.skipInputEvent=!0,t3.clipboardData&&t3.clipboardData.getData?u2=t3.clipboardData.getData("text/plain"):o.default.clipboardData&&o.default.clipboardData.getData&&(u2=o.default.clipboardData.getData("Text")),n3(a3,i3,l2,u2,r2.onBeforePaste),t3.preventDefault();case 7:case"end":return e4.stop()}},e3,this)}),g=function(){var e3=this,t3=arguments;return new Promise(function(n3,i3){var a3=v.apply(e3,t3);function r2(e4){m(a3,n3,i3,r2,o2,"next",e4)}function o2(e4){m(a3,n3,i3,r2,o2,"throw",e4)}r2(void 0)})},function(e3){return g.apply(this,arguments)}),inputFallBackEvent:function(e3){var t3=this.inputmask,n3=t3.opts,i3=t3.dependencyLib,a3,o2=this,u2=o2.inputmask._valueGet(!0),p2=(t3.isRTL?c.getBuffer.call(t3).slice().reverse():c.getBuffer.call(t3)).join(""),d2=c.caret.call(t3,o2,void 0,void 0,!0);if(p2!==u2){if(a3=function(e4,i4,a4){for(var r2,o3,s2,l2=e4.substr(0,a4.begin).split(""),u3=e4.substr(a4.begin).split(""),p3=i4.substr(0,a4.begin).split(""),d3=i4.substr(a4.begin).split(""),h3=l2.length>=p3.length?l2.length:p3.length,m2=u3.length>=d3.length?u3.length:d3.length,v2="",g2=[],y2="~";l2.length<h3;)l2.push(y2);for(;p3.length<h3;)p3.push(y2);for(;u3.length<m2;)u3.unshift(y2);for(;d3.length<m2;)d3.unshift(y2);var k=l2.concat(u3),b=p3.concat(d3);for(o3=0,r2=k.length;o3<r2;o3++)switch(s2=f.getPlaceholder.call(t3,c.translatePosition.call(t3,o3)),v2){case"insertText":b[o3-1]===k[o3]&&a4.begin==k.length-1&&g2.push(k[o3]),o3=r2;break;case"insertReplacementText":case"deleteContentBackward":k[o3]===y2?a4.end++:o3=r2;break;default:k[o3]!==b[o3]&&(k[o3+1]!==y2&&k[o3+1]!==s2&&k[o3+1]!==void 0||(b[o3]!==s2||b[o3+1]!==y2)&&b[o3]!==y2?b[o3+1]===y2&&b[o3]===k[o3+1]?(v2="insertText",g2.push(k[o3]),a4.begin--,a4.end--):k[o3]!==s2&&k[o3]!==y2&&(k[o3+1]===y2||b[o3]!==k[o3]&&b[o3+1]===k[o3+1])?(v2="insertReplacementText",g2.push(k[o3]),a4.begin--):k[o3]===y2?(v2="deleteContentBackward",(c.isMask.call(t3,c.translatePosition.call(t3,o3),!0)||b[o3]===n3.radixPoint)&&a4.end++):o3=r2:(v2="insertText",g2.push(k[o3]),a4.begin--,a4.end--))}return{action:v2,data:g2,caret:a4}}(u2,p2,d2),(o2.inputmask.shadowRoot||o2.ownerDocument).activeElement!==o2&&o2.focus(),(0,s.writeBuffer)(o2,c.getBuffer.call(t3)),c.caret.call(t3,o2,d2.begin,d2.end,!0),!r.mobile&&t3.skipNextInsert&&e3.inputType==="insertText"&&a3.action==="insertText"&&t3.isComposing)return!1;switch(e3.inputType==="insertCompositionText"&&a3.action==="insertText"&&t3.isComposing?t3.skipNextInsert=!0:t3.skipNextInsert=!1,a3.action){case"insertText":case"insertReplacementText":a3.data.forEach(function(e4,n4){var a4=new i3.Event("keypress");a4.key=e4,t3.ignorable=!1,y.keypressEvent.call(o2,a4)}),setTimeout(function(){t3.$el.trigger("keyup")},0);break;case"deleteContentBackward":var h2=new i3.Event("keydown");h2.key=l.keys.Backspace,y.keyEvent.call(o2,h2);break;default:(0,s.applyInputValue)(o2,u2),c.caret.call(t3,o2,d2.begin,d2.end,!0)}e3.preventDefault()}},setValueEvent:function(e3){var t3=this.inputmask,n3=t3.dependencyLib,i3=this,a3=e3&&e3.detail?e3.detail[0]:arguments[1];a3===void 0&&(a3=i3.inputmask._valueGet(!0)),(0,s.applyInputValue)(i3,a3,new n3.Event("input")),(e3.detail&&e3.detail[1]!==void 0||arguments[2]!==void 0)&&c.caret.call(t3,i3,e3.detail?e3.detail[1]:arguments[2])},focusEvent:function(e3){var t3=this.inputmask,n3=t3.opts,i3=t3&&t3._valueGet();n3.showMaskOnFocus&&i3!==c.getBuffer.call(t3).join("")&&(0,s.writeBuffer)(this,c.getBuffer.call(t3),c.seekNext.call(t3,c.getLastValidPosition.call(t3))),n3.positionCaretOnTab!==!0||t3.mouseEnter!==!1||u.isComplete.call(t3,c.getBuffer.call(t3))&&c.getLastValidPosition.call(t3)!==-1||y.clickEvent.apply(this,[e3,!0]),t3.undoValue=t3&&t3._valueGet(!0)},invalidEvent:function(e3){this.inputmask.validationEvent=!0},mouseleaveEvent:function(){var e3=this.inputmask,t3=e3.opts,n3=this;e3.mouseEnter=!1,t3.clearMaskOnLostFocus&&(n3.inputmask.shadowRoot||n3.ownerDocument).activeElement!==n3&&(0,s.HandleNativePlaceholder)(n3,e3.originalPlaceholder)},clickEvent:function(e3,t3){var n3=this.inputmask;n3.clicked++;var i3=this;if((i3.inputmask.shadowRoot||i3.ownerDocument).activeElement===i3){var a3=c.determineNewCaretPosition.call(n3,c.caret.call(n3,i3),t3);a3!==void 0&&c.caret.call(n3,i3,a3)}},cutEvent:function(e3){var t3=this.inputmask,n3=t3.maskset,i3=this,a3=c.caret.call(t3,i3),r2=t3.isRTL?c.getBuffer.call(t3).slice(a3.end,a3.begin):c.getBuffer.call(t3).slice(a3.begin,a3.end),f2=t3.isRTL?r2.reverse().join(""):r2.join("");o.default.navigator&&o.default.navigator.clipboard?o.default.navigator.clipboard.writeText(f2):o.default.clipboardData&&o.default.clipboardData.getData&&o.default.clipboardData.setData("Text",f2),u.handleRemove.call(t3,i3,l.keys.Delete,a3),(0,s.writeBuffer)(i3,c.getBuffer.call(t3),n3.p,e3,t3.undoValue!==t3._valueGet(!0))},blurEvent:function(e3){var t3=this.inputmask,n3=t3.opts,i3=t3.dependencyLib;t3.clicked=0;var a3=i3(this),r2=this;if(r2.inputmask){(0,s.HandleNativePlaceholder)(r2,t3.originalPlaceholder);var o2=r2.inputmask._valueGet(),l2=c.getBuffer.call(t3).slice();o2!==""&&(n3.clearMaskOnLostFocus&&(c.getLastValidPosition.call(t3)===-1&&o2===c.getBufferTemplate.call(t3).join("")?l2=[]:s.clearOptionalTail.call(t3,l2)),u.isComplete.call(t3,l2)===!1&&(setTimeout(function(){a3.trigger("incomplete")},0),n3.clearIncomplete&&(c.resetMaskSet.call(t3,!1),l2=n3.clearMaskOnLostFocus?[]:c.getBufferTemplate.call(t3).slice())),(0,s.writeBuffer)(r2,l2,void 0,e3)),o2=t3._valueGet(!0),t3.undoValue!==o2&&(o2!=""||t3.undoValue!=c.getBufferTemplate.call(t3).join("")||t3.undoValue==c.getBufferTemplate.call(t3).join("")&&t3.maskset.validPositions.length>0)&&(t3.undoValue=o2,a3.trigger("change"))}},mouseenterEvent:function(){var e3=this.inputmask,t3=e3.opts.showMaskOnHover,n3=this;if(e3.mouseEnter=!0,(n3.inputmask.shadowRoot||n3.ownerDocument).activeElement!==n3){var i3=(e3.isRTL?c.getBufferTemplate.call(e3).slice().reverse():c.getBufferTemplate.call(e3)).join("");t3&&(0,s.HandleNativePlaceholder)(n3,i3)}},submitEvent:function(){var e3=this.inputmask,t3=e3.opts;e3.undoValue!==e3._valueGet(!0)&&e3.$el.trigger("change"),c.getLastValidPosition.call(e3)===-1&&e3._valueGet&&e3._valueGet()===c.getBufferTemplate.call(e3).join("")&&e3._valueSet(""),t3.clearIncomplete&&u.isComplete.call(e3,c.getBuffer.call(e3))===!1&&e3._valueSet(""),t3.removeMaskOnSubmit&&(e3._valueSet(e3.unmaskedvalue(),!0),setTimeout(function(){(0,s.writeBuffer)(e3.el,c.getBuffer.call(e3))},0))},resetEvent:function(){var e3=this.inputmask;e3.refreshValue=!0,setTimeout(function(){(0,s.applyInputValue)(e3.el,e3._valueGet(!0))}
14,0)}}},9716:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.EventRuler=void 0;var i2,a2=n2(7760),r=(i2=n2(2394))&&i2.__esModule?i2:{default:i2},o=n2(2839),s=n2(8711);t2.EventRuler={on:function(e3,t3,n3){var i3=e3.inputmask.dependencyLib,l=function(t4){t4.originalEvent&&(t4=t4.originalEvent||t4,arguments[0]=t4);var l2,c=this,u=c.inputmask,f=u?u.opts:void 0;if(u===void 0&&this.nodeName!=="FORM"){var p=i3.data(c,"_inputmask_opts");i3(c).off(),p&&new r.default(p).mask(c)}else{if(["submit","reset","setvalue"].includes(t4.type)||this.nodeName==="FORM"||!(c.disabled||c.readOnly&&!(t4.type==="keydown"&&t4.ctrlKey&&t4.key===o.keys.c||f.tabThrough===!1&&t4.key===o.keys.Tab))){switch(t4.type){case"input":if(u.skipInputEvent===!0)return u.skipInputEvent=!1,t4.preventDefault();break;case"click":case"focus":return u.validationEvent?(u.validationEvent=!1,e3.blur(),(0,a2.HandleNativePlaceholder)(e3,(u.isRTL?s.getBufferTemplate.call(u).slice().reverse():s.getBufferTemplate.call(u)).join("")),setTimeout(function(){e3.focus()},f.validationEventTimeOut),!1):(l2=arguments,void setTimeout(function(){e3.inputmask&&n3.apply(c,l2)},0))}var d=n3.apply(c,arguments);return d===!1&&(t4.preventDefault(),t4.stopPropagation()),d}t4.preventDefault()}};["submit","reset"].includes(t3)?(l=l.bind(e3),e3.form!==null&&i3(e3.form).on(t3,l)):i3(e3).on(t3,l),e3.inputmask.events[t3]=e3.inputmask.events[t3]||[],e3.inputmask.events[t3].push(l)},off:function(e3,t3){if(e3.inputmask&&e3.inputmask.events){var n3=e3.inputmask.dependencyLib,i3=e3.inputmask.events;for(var a3 in t3&&((i3=[])[t3]=e3.inputmask.events[t3]),i3){for(var r2=i3[a3];r2.length>0;){var o2=r2.pop();["submit","reset"].includes(a3)?e3.form!==null&&n3(e3.form).off(a3,o2):n3(e3).off(a3,o2)}delete e3.inputmask.events[a3]}}}}},219:function(e2,t2,n2){var i2=p(n2(7184)),a2=p(n2(2394)),r=n2(2839),o=n2(8711),s=n2(4713);function l(e3,t3){return function(e4){if(Array.isArray(e4))return e4}(e3)||function(e4,t4){var n3=e4==null?null:typeof Symbol<"u"&&e4[Symbol.iterator]||e4["@@iterator"];if(n3!=null){var i3,a3,r2,o2,s2=[],l2=!0,c2=!1;try{if(r2=(n3=n3.call(e4)).next,t4===0){if(Object(n3)!==n3)return;l2=!1}else for(;!(l2=(i3=r2.call(n3)).done)&&(s2.push(i3.value),s2.length!==t4);l2=!0);}catch(e5){c2=!0,a3=e5}finally{try{if(!l2&&n3.return!=null&&(o2=n3.return(),Object(o2)!==o2))return}finally{if(c2)throw a3}}return s2}}(e3,t3)||function(e4,t4){if(e4){if(typeof e4=="string")return c(e4,t4);var n3=Object.prototype.toString.call(e4).slice(8,-1);if(n3==="Object"&&e4.constructor&&(n3=e4.constructor.name),n3==="Map"||n3==="Set")return Array.from(e4);if(n3==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n3))return c(e4,t4)}}(e3,t3)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 15In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function c(e3,t3){(t3==null||t3>e3.length)&&(t3=e3.length);for(var n3=0,i3=new Array(t3);n3<t3;n3++)i3[n3]=e3[n3];return i3}function u(e3){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},u(e3)}function f(e3,t3){for(var n3=0;n3<t3.length;n3++){var i3=t3[n3];i3.enumerable=i3.enumerable||!1,i3.configurable=!0,"value"in i3&&(i3.writable=!0),Object.defineProperty(e3,(a3=i3.key,r2=void 0,r2=function(e4,t4){if(u(e4)!=="object"||e4===null)return e4;var n4=e4[Symbol.toPrimitive];if(n4!==void 0){var i4=n4.call(e4,t4||"default");if(u(i4)!=="object")return i4;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t4==="string"?String:Number)(e4)}(a3,"string"),u(r2)==="symbol"?r2:String(r2)),i3)}var a3,r2}function p(e3){return e3&&e3.__esModule?e3:{default:e3}}n2(1313);var d=a2.default.dependencyLib,h=function(){function e3(t4,n4,i4,a3){(function(e4,t5){if(!(e4 instanceof t5))throw new TypeError("Cannot call a class as a function")})(this,e3),this.mask=t4,this.format=n4,this.opts=i4,this.inputmask=a3,this._date=new Date(1,0,1),this.initDateObject(t4,this.opts,this.inputmask)}var t3,n3,i3;return t3=e3,(n3=[{key:"date",get:function(){return this._date===void 0&&(this._date=new Date(1,0,1),this.initDateObject(void 0,this.opts,this.inputmask)),this._date}},{key:"initDateObject",value:function(e4,t4,n4){var i4;for(P(t4).lastIndex=0;i4=P(t4).exec(this.format);){var a3=/\d+$/.exec(i4[0]),r2=a3?i4[0][0]+"x":i4[0],o2=void 0;if(e4!==void 0){if(a3){var l2=P(t4).lastIndex,c2=j.call(n4,i4.index,t4,n4&&n4.maskset);P(t4).lastIndex=l2,o2=e4.slice(0,e4.indexOf(c2.nextMatch[0]))}else{for(var u2=i4[0][0],f2=i4.index;n4&&(t4.placeholder[s.getTest.call(n4,f2).match.placeholder]||s.getTest.call(n4,f2).match.placeholder)===u2;)f2++;var p2=f2-i4.index;o2=e4.slice(0,p2||y[r2]&&y[r2][4]||r2.length)}e4=e4.slice(o2.length)}Object.prototype.hasOwnProperty.call(y,r2)&&this.setValue(this,o2,r2,y[r2][2],y[r2][1])}}},{key:"setValue",value:function(e4,t4,n4,i4,a3){if(t4!==void 0)switch(i4){case"ampm":e4[i4]=t4,e4["raw"+i4]=t4.replace(/\s/g,"_");break;case"month":if(n4==="mmm"||n4==="mmmm"){e4[i4]=M(n4==="mmm"?v.monthNames.slice(0,12).findIndex(function(e5){return t4.toLowerCase()===e5.toLowerCase()})+1:v.monthNames.slice(12,24).findIndex(function(e5){return t4.toLowerCase()===e5.toLowerCase()})+1,2),e4[i4]=e4[i4]==="00"?"":e4[i4].toString(),e4["raw"+i4]=e4[i4];break}default:e4[i4]=t4.replace(/[^0-9]/g,"0"),e4["raw"+i4]=t4.replace(/\s/g,"_")}if(a3!==void 0){var r2=e4[i4];(i4==="day"&&parseInt(r2)===29||i4==="month"&&parseInt(r2)===2)&&(parseInt(e4.day)!==29||parseInt(e4.month)!==2||e4.year!==""&&e4.year!==void 0||e4._date.setFullYear(2012,1,29)),i4==="day"&&(g=!0,parseInt(r2)===0&&(r2=1)),i4==="month"&&(g=!0),i4==="year"&&(g=!0,r2.length<y[n4][4]&&(r2=M(r2,y[n4][4],!0))),(r2!==""&&!isNaN(r2)||i4==="ampm")&&a3.call(e4._date,r2)}}},{key:"reset",value:function(){this._date=new Date(1,0,1)}},{key:"reInit",value:function(){this._date=void 0,this.date}}])&&f(t3.prototype,n3),i3&&f(t3,i3),Object.defineProperty(t3,"prototype",{writable:!1}),e3}(),m=new Date().getFullYear(),v=a2.default.prototype.i18n,g=!1,y={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return M(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(e3){var t3=e3?parseInt(e3):0;return t3>0&&t3--,Date.prototype.setMonth.call(this,t3)},"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",function(e3){var t3=e3?parseInt(e3):0;return t3>0&&t3--,Date.prototype.setMonth.call(this,t3)},"month",function(){return M(Date.prototype.getMonth.call(this)+1,2)}],mmm:[v.monthNames.slice(0,12).join("|"),function(e3){var t3=v.monthNames.slice(0,12).findIndex(function(t4){return e3.toLowerCase()===t4.toLowerCase()});return t3!==-1&&Date.prototype.setMonth.call(this,t3)},"month",function(){return v.monthNames.slice(0,12)[Date.prototype.getMonth.call(this)]}],mmmm:[v.monthNames.slice(12,24).join("|"),function(e3){var t3=v.monthNames.slice(12,24).findIndex(function(t4){return e3.toLowerCase()===t4.toLowerCase()});return t3!==-1&&Date.prototype.setMonth.call(this,t3)},"month",function(){return v.monthNames.slice(12,24)[Date.prototype.getMonth.call(this)]}],yy:["[0-9]{2}",function(e3){var t3=new Date().getFullYear().toString().slice(0,2);Date.prototype.setFullYear.call(this,"".concat(t3).concat(e3))},"year",function(){return M(Date.prototype.getFullYear.call(this),2)},2],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return M(Date.prototype.getFullYear.call(this),4)},4],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return M(Date.prototype.getHours.call(this),2)}],hx:[function(e3){return"[0-9]{".concat(e3,"}")},Date.prototype.setHours,"hours",function(e3){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return M(Date.prototype.getHours.call(this),2)}],Hx:[function(e3){return"[0-9]{".concat(e3,"}")},Date.prototype.setHours,"hours",function(e3){return function(){return M(Date.prototype.getHours.call(this),e3)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return M(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return M(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return M(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return M(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",b,"ampm",x,1],tt:["[ap]m",b,"ampm",x,2],T:["[AP]",b,"ampm",x,1],TT:["[AP]M",b,"ampm",x,2],Z:[".*",void 0,"Z",function(){var e3=this.toString().match(/\((.+)\)/)[1];return e3.includes(" ")&&(e3=(e3=e3.replace("-"," ").toUpperCase()).split(" ").map(function(e4){return l(e4,1)[0]}).join("")),e3}],o:[""],S:[""]},k={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function b(e3){var t3=this.getHours();e3.toLowerCase().includes("p")?this.setHours(t3+12):e3.toLowerCase().includes("a")&&t3>=12&&this.setHours(t3-12)}function x(){var e3=this.getHours();return(e3=e3||12)>=12?"PM":"AM"}function w(e3){var t3=/\d+$/.exec(e3[0]);if(t3&&t3[0]!==void 0){var n3=y[e3[0][0]+"x"].slice("");return n3[0]=n3[0](t3[0]),n3[3]=n3[3](t3[0]),n3}if(y[e3[0]])return y[e3[0]]}function P(e3){if(!e3.tokenizer){var t3=[],n3=[];for(var i3 in y)if(/\.*x$/.test(i3)){var a3=i3[0]+"\\d+";n3.indexOf(a3)===-1&&n3.push(a3)}else t3.indexOf(i3[0])===-1&&t3.push(i3[0]);
15e3.tokenizer="("+(n3.length>0?n3.join("|")+"|":"")+t3.join("+|")+")+?|.",e3.tokenizer=new RegExp(e3.tokenizer,"g")}return e3.tokenizer}function S(e3,t3,n3){if(!g)return!0;if(e3.rawday===void 0||!isFinite(e3.rawday)&&new Date(e3.date.getFullYear(),isFinite(e3.rawmonth)?e3.month:e3.date.getMonth()+1,0).getDate()>=e3.day||e3.day=="29"&&(!isFinite(e3.rawyear)||e3.rawyear===void 0||e3.rawyear==="")||new Date(e3.date.getFullYear(),isFinite(e3.rawmonth)?e3.month:e3.date.getMonth()+1,0).getDate()>=e3.day)return t3;if(e3.day=="29"){var i3=j.call(this,t3.pos,n3,this.maskset);if(i3.targetMatch&&i3.targetMatch[0]==="yyyy"&&t3.pos-i3.targetMatchIndex==2)return t3.remove=t3.pos+1,t3}else if(e3.date.getMonth()==2&&e3.day=="30"&&t3.c!==void 0)return e3.day="03",e3.date.setDate(3),e3.date.setMonth(1),t3.insert=[{pos:t3.pos,c:"0"},{pos:t3.pos+1,c:t3.c}],t3.caret=o.seekNext.call(this,t3.pos+1),t3;return!1}function O(e3,t3,n3,a3){var r2,o2,s2="",l2=0,c2={};for(P(n3).lastIndex=0;r2=P(n3).exec(e3);){if(t3===void 0)if(o2=w(r2))s2+="("+o2[0]+")",n3.placeholder&&n3.placeholder!==""?(c2[l2]=n3.placeholder[r2.index%n3.placeholder.length],c2[n3.placeholder[r2.index%n3.placeholder.length]]=r2[0].charAt(0)):c2[l2]=r2[0].charAt(0);else switch(r2[0]){case"[":s2+="(";break;case"]":s2+=")?";break;default:s2+=(0,i2.default)(r2[0]),c2[l2]=r2[0].charAt(0)}else(o2=w(r2))?a3!==!0&&o2[3]?s2+=o2[3].call(t3.date):o2[2]?s2+=t3["raw"+o2[2]]:s2+=r2[0]:s2+=r2[0];l2++}return t3===void 0&&(n3.placeholder=c2),s2}function M(e3,t3,n3){for(e3=String(e3),t3=t3||2;e3.length<t3;)e3=n3?e3+"0":"0"+e3;return e3}function _(e3,t3,n3){return typeof e3=="string"?new h(e3,t3,n3,this):e3&&u(e3)==="object"&&Object.prototype.hasOwnProperty.call(e3,"date")?e3:void 0}function E(e3,t3){return O(t3.inputFormat,{date:e3},t3)}function j(e3,t3,n3){var i3,a3,r2=this,o2=n3&&n3.tests[e3]?t3.placeholder[n3.tests[e3][0].match.placeholder]||n3.tests[e3][0].match.placeholder:"",l2=0,c2=0;for(P(t3).lastIndex=0;a3=P(t3).exec(t3.inputFormat);){var u2=/\d+$/.exec(a3[0]);if(u2)c2=parseInt(u2[0]);else{for(var f2=a3[0][0],p2=l2;r2&&(t3.placeholder[s.getTest.call(r2,p2).match.placeholder]||s.getTest.call(r2,p2).match.placeholder)===f2;)p2++;(c2=p2-l2)===0&&(c2=a3[0].length)}if(l2+=c2,a3[0].indexOf(o2)!=-1||l2>=e3+1){i3=a3,a3=P(t3).exec(t3.inputFormat);break}}return{targetMatchIndex:l2-c2,nextMatch:a3,targetMatch:i3}}a2.default.extendAliases({datetime:{mask:function(e3){return e3.numericInput=!1,y.S=v.ordinalSuffix.join("|"),e3.inputFormat=k[e3.inputFormat]||e3.inputFormat,e3.displayFormat=k[e3.displayFormat]||e3.displayFormat||e3.inputFormat,e3.outputFormat=k[e3.outputFormat]||e3.outputFormat||e3.inputFormat,e3.regex=O(e3.inputFormat,void 0,e3),e3.min=_(e3.min,e3.inputFormat,e3),e3.max=_(e3.max,e3.inputFormat,e3),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:null,outputFormat:null,min:null,max:null,skipOptionalPartCharacter:"",preValidation:function(e3,t3,n3,i3,a3,r2,o2,s2){if(s2)return!0;if(isNaN(n3)&&e3[t3]!==n3){var l2=j.call(this,t3,a3,r2);if(l2.nextMatch&&l2.nextMatch[0]===n3&&l2.targetMatch[0].length>1){var c2=w(l2.targetMatch)[0];if(new RegExp(c2).test("0"+e3[t3-1]))return e3[t3]=e3[t3-1],e3[t3-1]="0",{fuzzy:!0,buffer:e3,refreshFromBuffer:{start:t3-1,end:t3+1},pos:t3+1}}}return!0},postValidation:function(e3,t3,n3,i3,a3,r2,o2,l2){var c2,u2,f2=this;if(o2)return!0;if(i3===!1&&(((c2=j.call(f2,t3+1,a3,r2)).targetMatch&&c2.targetMatchIndex===t3&&c2.targetMatch[0].length>1&&y[c2.targetMatch[0]]!==void 0||(c2=j.call(f2,t3+2,a3,r2)).targetMatch&&c2.targetMatchIndex===t3+1&&c2.targetMatch[0].length>1&&y[c2.targetMatch[0]]!==void 0)&&(u2=w(c2.targetMatch)[0]),u2!==void 0&&(r2.validPositions[t3+1]!==void 0&&new RegExp(u2).test(n3+"0")?(e3[t3]=n3,e3[t3+1]="0",i3={pos:t3+2,caret:t3}):new RegExp(u2).test("0"+n3)&&(e3[t3]="0",e3[t3+1]=n3,i3={pos:t3+2})),i3===!1))return i3;if(i3.fuzzy&&(e3=i3.buffer,t3=i3.pos),(c2=j.call(f2,t3,a3,r2)).targetMatch&&c2.targetMatch[0]&&y[c2.targetMatch[0]]!==void 0){var p2=w(c2.targetMatch);u2=p2[0];var d2=e3.slice(c2.targetMatchIndex,c2.targetMatchIndex+c2.targetMatch[0].length);if(new RegExp(u2).test(d2.join(""))===!1&&c2.targetMatch[0].length===2&&r2.validPositions[c2.targetMatchIndex]&&r2.validPositions[c2.targetMatchIndex+1]&&(r2.validPositions[c2.targetMatchIndex+1].input="0"),p2[2]=="year")for(var h2=s.getMaskTemplate.call(f2,!1,1,void 0,!0),v2=t3+1;v2<e3.length;v2++)e3[v2]=h2[v2],r2.validPositions.splice(t3+1,1)}var g2=i3,k2=_.call(f2,e3.join(""),a3.inputFormat,a3);return g2&&!isNaN(k2.date.getTime())&&(a3.prefillYear&&(g2=function(e4,t4,n4){if(e4.year!==e4.rawyear){var i4=m.toString(),a4=e4.rawyear.replace(/[^0-9]/g,""),r3=i4.slice(0,a4.length),o3=i4.slice(a4.length);
15if(a4.length===2&&a4===r3){var s2=new Date(m,e4.month-1,e4.day);e4.day==s2.getDate()&&(!n4.max||n4.max.date.getTime()>=s2.getTime())&&(e4.date.setFullYear(m),e4.year=i4,t4.insert=[{pos:t4.pos+1,c:o3[0]},{pos:t4.pos+2,c:o3[1]}])}}return t4}(k2,g2,a3)),g2=function(e4,t4,n4,i4,a4){if(!t4)return t4;if(t4&&n4.min&&!isNaN(n4.min.date.getTime())){var r3;for(e4.reset(),P(n4).lastIndex=0;r3=P(n4).exec(n4.inputFormat);){var o3;if((o3=w(r3))&&o3[3]){for(var s2=o3[1],l3=e4[o3[2]],c3=n4.min[o3[2]],u3=n4.max?n4.max[o3[2]]:c3+1,f3=[],p3=!1,d3=0;d3<c3.length;d3++)i4.validPositions[d3+r3.index]!==void 0||p3?(f3[d3]=l3[d3],p3=p3||l3[d3]>c3[d3]):(d3+r3.index==0&&l3[d3]<c3[d3]?(f3[d3]=l3[d3],p3=!0):f3[d3]=c3[d3],o3[2]==="year"&&l3.length-1==d3&&c3!=u3&&(f3=(parseInt(f3.join(""))+1).toString().split("")),o3[2]==="ampm"&&c3!=u3&&n4.min.date.getTime()>e4.date.getTime()&&(f3[d3]=u3[d3]));s2.call(e4._date,f3.join(""))}}t4=n4.min.date.getTime()<=e4.date.getTime(),e4.reInit()}return t4&&n4.max&&(isNaN(n4.max.date.getTime())||(t4=n4.max.date.getTime()>=e4.date.getTime())),t4}(k2,g2=S.call(f2,k2,g2,a3),a3,r2)),t3!==void 0&&g2&&i3.pos!==t3?{buffer:O(a3.inputFormat,k2,a3).split(""),refreshFromBuffer:{start:t3,end:i3.pos},pos:i3.caret||i3.pos}:g2},onKeyDown:function(e3,t3,n3,i3){e3.ctrlKey&&e3.key===r.keys.ArrowRight&&(this.inputmask._valueSet(E(new Date,i3)),d(this).trigger("setvalue"))},onUnMask:function(e3,t3,n3){return t3&&O(n3.outputFormat,_.call(this,e3,n3.inputFormat,n3),n3,!0)},casing:function(e3,t3,n3,i3){if(t3.nativeDef.indexOf("[ap]")==0)return e3.toLowerCase();if(t3.nativeDef.indexOf("[AP]")==0)return e3.toUpperCase();var a3=s.getTest.call(this,[n3-1]);return a3.match.def.indexOf("[AP]")==0||n3===0||a3&&a3.input===String.fromCharCode(r.keyCode.Space)||a3&&a3.match.def===String.fromCharCode(r.keyCode.Space)?e3.toUpperCase():e3.toLowerCase()},onBeforeMask:function(e3,t3){return Object.prototype.toString.call(e3)==="[object Date]"&&(e3=E(e3,t3)),e3},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},1313:function(e2,t2,n2){var i2,a2=(i2=n2(2394))&&i2.__esModule?i2:{default:i2};a2.default.dependencyLib.extend(!0,a2.default.prototype.i18n,{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]})},3851:function(e2,t2,n2){var i2,a2=(i2=n2(2394))&&i2.__esModule?i2:{default:i2},r=n2(8711),o=n2(4713);function s(e3){return function(e4){if(Array.isArray(e4))return l(e4)}(e3)||function(e4){if(typeof Symbol<"u"&&e4[Symbol.iterator]!=null||e4["@@iterator"]!=null)return Array.from(e4)}(e3)||function(e4,t3){if(e4){if(typeof e4=="string")return l(e4,t3);var n3=Object.prototype.toString.call(e4).slice(8,-1);if(n3==="Object"&&e4.constructor&&(n3=e4.constructor.name),n3==="Map"||n3==="Set")return Array.from(e4);if(n3==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n3))return l(e4,t3)}}(e3)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 16In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function l(e3,t3){(t3==null||t3>e3.length)&&(t3=e3.length);for(var n3=0,i3=new Array(t3);n3<t3;n3++)i3[n3]=e3[n3];return i3}a2.default.extendDefinitions({A:{validator:"[A-Za-z\u0410-\u044F\u0401\u0451\xC0-\xFF\xB5]",casing:"upper"},"&":{validator:"[0-9A-Za-z\u0410-\u044F\u0401\u0451\xC0-\xFF\xB5]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var c=/25[0-5]|2[0-4][0-9]|[01][0-9][0-9]/;function u(e3,t3,n3,i3,a3){if(n3-1>-1&&t3.buffer[n3-1]!=="."?(e3=t3.buffer[n3-1]+e3,e3=n3-2>-1&&t3.buffer[n3-2]!=="."?t3.buffer[n3-2]+e3:"0"+e3):e3="00"+e3,a3.greedy&&parseInt(e3)>255&&c.test("00"+e3.charAt(2))){var r2=[].concat(s(t3.buffer.slice(0,n3)),[".",e3.charAt(2)]);if(r2.join("").match(/\./g).length<4)return{refreshFromBuffer:!0,buffer:r2,caret:n3+2}}return c.test(e3)}a2.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i{1,3}.j{1,3}.k{1,3}.l{1,3}",definitions:{i:{validator:u},j:{validator:u},k:{validator:u},l:{validator:u}},onUnMask:function(e3,t3,n3){return e3},inputmode:"decimal",substitutes:{",":"."}},email:{mask:function(e3){var t3=e3.separator,n3=e3.quantifier,i3="*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",a3=i3;if(t3)for(var r2=0;r2<n3;r2++)a3+="[".concat(t3).concat(i3,"]");return a3},greedy:!1,casing:"lower",separator:null,quantifier:5,skipOptionalPartCharacter:"",onBeforePaste:function(e3,t3){return(e3=e3.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-9\uFF11-\uFF19A-Za-z\u0410-\u044F\u0401\u0451\xC0-\xFF\xB5!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e3,t3,n3){return e3},inputmode:"email"}
16,mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(e3,t3,n3,i3,a3,s2,l2){var c2=o.getMaskTemplate.call(this,!0,r.getLastValidPosition.call(this),!0,!0);return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(c2.join(""))}}})},207:function(e2,t2,n2){var i2=s(n2(7184)),a2=s(n2(2394)),r=n2(2839),o=n2(8711);function s(e3){return e3&&e3.__esModule?e3:{default:e3}}var l=a2.default.dependencyLib;function c(e3,t3){for(var n3="",i3=0;i3<e3.length;i3++)a2.default.prototype.definitions[e3.charAt(i3)]||t3.definitions[e3.charAt(i3)]||t3.optionalmarker[0]===e3.charAt(i3)||t3.optionalmarker[1]===e3.charAt(i3)||t3.quantifiermarker[0]===e3.charAt(i3)||t3.quantifiermarker[1]===e3.charAt(i3)||t3.groupmarker[0]===e3.charAt(i3)||t3.groupmarker[1]===e3.charAt(i3)||t3.alternatormarker===e3.charAt(i3)?n3+="\\"+e3.charAt(i3):n3+=e3.charAt(i3);return n3}function u(e3,t3,n3,i3){if(e3.length>0&&t3>0&&(!n3.digitsOptional||i3)){var a3=e3.indexOf(n3.radixPoint),r2=!1;n3.negationSymbol.back===e3[e3.length-1]&&(r2=!0,e3.length--),a3===-1&&(e3.push(n3.radixPoint),a3=e3.length-1);for(var o2=1;o2<=t3;o2++)isFinite(e3[a3+o2])||(e3[a3+o2]="0")}return r2&&e3.push(n3.negationSymbol.back),e3}function f(e3,t3){var n3=0;for(var i3 in e3==="+"&&(n3=o.seekNext.call(this,t3.validPositions.length-1)),t3.tests)if((i3=parseInt(i3))>=n3){for(var a3=0,r2=t3.tests[i3].length;a3<r2;a3++)if((t3.validPositions[i3]===void 0||e3==="-")&&t3.tests[i3][a3].match.def===e3)return i3+(t3.validPositions[i3]!==void 0&&e3!=="-"?1:0)}return n3}function p(e3,t3){for(var n3=-1,i3=0,a3=t3.validPositions.length;i3<a3;i3++){var r2=t3.validPositions[i3];if(r2&&r2.match.def===e3){n3=i3;break}}return n3}function d(e3,t3,n3,i3,a3){var r2=t3.buffer?t3.buffer.indexOf(a3.radixPoint):-1,o2=(r2!==-1||i3&&a3.jitMasking)&&new RegExp(a3.definitions[9].validator).test(e3);return!i3&&a3._radixDance&&r2!==-1&&o2&&t3.validPositions[r2]==null?{insert:{pos:r2===n3?r2+1:r2,c:a3.radixPoint},pos:n3}:o2}a2.default.extendAliases({numeric:{mask:function(e3){e3.repeat=0,e3.groupSeparator===e3.radixPoint&&e3.digits&&e3.digits!=="0"&&(e3.radixPoint==="."?e3.groupSeparator=",":e3.radixPoint===","?e3.groupSeparator=".":e3.groupSeparator=""),e3.groupSeparator===" "&&(e3.skipOptionalPartCharacter=void 0),e3.placeholder.length>1&&(e3.placeholder=e3.placeholder.charAt(0)),e3.positionCaretOnClick==="radixFocus"&&e3.placeholder===""&&(e3.positionCaretOnClick="lvp");var t3="0",n3=e3.radixPoint;e3.numericInput===!0&&e3.__financeInput===void 0?(t3="1",e3.positionCaretOnClick=e3.positionCaretOnClick==="radixFocus"?"lvp":e3.positionCaretOnClick,e3.digitsOptional=!1,isNaN(e3.digits)&&(e3.digits=2),e3._radixDance=!1,n3=e3.radixPoint===","?"?":"!",e3.radixPoint!==""&&e3.definitions[n3]===void 0&&(e3.definitions[n3]={},e3.definitions[n3].validator="["+e3.radixPoint+"]",e3.definitions[n3].placeholder=e3.radixPoint,e3.definitions[n3].static=!0,e3.definitions[n3].generated=!0)):(e3.__financeInput=!1,e3.numericInput=!0);var a3,r2="[+]";if(r2+=c(e3.prefix,e3),e3.groupSeparator!==""?(e3.definitions[e3.groupSeparator]===void 0&&(e3.definitions[e3.groupSeparator]={},e3.definitions[e3.groupSeparator].validator="["+e3.groupSeparator+"]",e3.definitions[e3.groupSeparator].placeholder=e3.groupSeparator,e3.definitions[e3.groupSeparator].static=!0,e3.definitions[e3.groupSeparator].generated=!0),r2+=e3._mask(e3)):r2+="9{+}",e3.digits!==void 0&&e3.digits!==0){var o2=e3.digits.toString().split(",");isFinite(o2[0])&&o2[1]&&isFinite(o2[1])?r2+=n3+t3+"{"+e3.digits+"}":(isNaN(e3.digits)||parseInt(e3.digits)>0)&&(e3.digitsOptional||e3.jitMasking?(a3=r2+n3+t3+"{0,"+e3.digits+"}",e3.keepStatic=!0):r2+=n3+t3+"{"+e3.digits+"}")}else e3.inputmode="numeric";return r2+=c(e3.suffix,e3),r2+="[-]",a3&&(r2=[a3+c(e3.suffix,e3)+"[-]",r2]),e3.greedy=!1,function(e4){e4.parseMinMaxOptions===void 0&&(e4.min!==null&&(e4.min=e4.min.toString().replace(new RegExp((0,i2.default)(e4.groupSeparator),"g"),""),e4.radixPoint===","&&(e4.min=e4.min.replace(e4.radixPoint,".")),e4.min=isFinite(e4.min)?parseFloat(e4.min):NaN,isNaN(e4.min)&&(e4.min=Number.MIN_VALUE)),e4.max!==null&&(e4.max=e4.max.toString().replace(new RegExp((0,i2.default)(e4.groupSeparator),"g"),""),e4.radixPoint===","&&(e4.max=e4.max.replace(e4.radixPoint,".")),e4.max=isFinite(e4.max)?parseFloat(e4.max):NaN,isNaN(e4.max)&&(e4.max=Number.MAX_VALUE)),e4.parseMinMaxOptions="done")}(e3),e3.radixPoint!==""&&e3.substituteRadixPoint&&(e3.substitutes[e3.radixPoint=="."?",":"."]=e3.radixPoint),r2},_mask:function(e3){return"("+e3.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"1000",m:"1000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,stripLeadingZeroes:!0,substituteRadixPoint:!0,definitions:{0:{validator:d},1:{validator:d,definitionSymbol:"9"},9:{validator:"[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]",definitionSymbol:"*"}
16,"+":{validator:function(e3,t3,n3,i3,a3){return a3.allowMinus&&(e3==="-"||e3===a3.negationSymbol.front)}},"-":{validator:function(e3,t3,n3,i3,a3){return a3.allowMinus&&e3===a3.negationSymbol.back}}},preValidation:function(e3,t3,n3,i3,a3,r2,o2,s2){var l2=this;if(a3.__financeInput!==!1&&n3===a3.radixPoint)return!1;var c2=e3.indexOf(a3.radixPoint),u2=t3;if(t3=function(e4,t4,n4,i4,a4){return a4._radixDance&&a4.numericInput&&t4!==a4.negationSymbol.back&&e4<=n4&&(n4>0||t4==a4.radixPoint)&&(i4.validPositions[e4-1]===void 0||i4.validPositions[e4-1].input!==a4.negationSymbol.back)&&(e4-=1),e4}(t3,n3,c2,r2,a3),n3==="-"||n3===a3.negationSymbol.front){if(a3.allowMinus!==!0)return!1;var d2=!1,h=p("+",r2),m=p("-",r2);return h!==-1&&(d2=[h],m!==-1&&d2.push(m)),d2!==!1?{remove:d2,caret:u2-a3.negationSymbol.back.length}:{insert:[{pos:f.call(l2,"+",r2),c:a3.negationSymbol.front,fromIsValid:!0},{pos:f.call(l2,"-",r2),c:a3.negationSymbol.back,fromIsValid:void 0}],caret:u2+a3.negationSymbol.back.length}}if(n3===a3.groupSeparator)return{caret:u2};if(s2)return!0;if(c2!==-1&&a3._radixDance===!0&&i3===!1&&n3===a3.radixPoint&&a3.digits!==void 0&&(isNaN(a3.digits)||parseInt(a3.digits)>0)&&c2!==t3){var v=f.call(l2,a3.radixPoint,r2);return r2.validPositions[v]&&(r2.validPositions[v].generatedInput=r2.validPositions[v].generated||!1),{caret:a3._radixDance&&t3===c2-1?c2+1:c2}}if(a3.__financeInput===!1){if(i3){if(a3.digitsOptional)return{rewritePosition:o2.end};if(!a3.digitsOptional){if(o2.begin>c2&&o2.end<=c2)return n3===a3.radixPoint?{insert:{pos:c2+1,c:"0",fromIsValid:!0},rewritePosition:c2}:{rewritePosition:c2+1};if(o2.begin<c2)return{rewritePosition:o2.begin-1}}}else if(!a3.showMaskOnHover&&!a3.showMaskOnFocus&&!a3.digitsOptional&&a3.digits>0&&this.__valueGet.call(this.el)==="")return{rewritePosition:c2}}return{rewritePosition:t3}},postValidation:function(e3,t3,n3,i3,a3,r2,o2){if(i3===!1)return i3;if(o2)return!0;if(a3.min!==null||a3.max!==null){var s2=a3.onUnMask(e3.slice().reverse().join(""),void 0,l.extend({},a3,{unmaskAsNumber:!0}));if(a3.min!==null&&s2<a3.min&&(s2.toString().length>a3.min.toString().length||s2<0))return!1;if(a3.max!==null&&s2>a3.max)return!!a3.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:u(a3.max.toString().replace(".",a3.radixPoint).split(""),a3.digits,a3).reverse()}}return i3},onUnMask:function(e3,t3,n3){if(t3===""&&n3.nullable===!0)return t3;var a3=e3.replace(n3.prefix,"");return a3=(a3=a3.replace(n3.suffix,"")).replace(new RegExp((0,i2.default)(n3.groupSeparator),"g"),""),n3.placeholder.charAt(0)!==""&&(a3=a3.replace(new RegExp(n3.placeholder.charAt(0),"g"),"0")),n3.unmaskAsNumber?(n3.radixPoint!==""&&a3.indexOf(n3.radixPoint)!==-1&&(a3=a3.replace(i2.default.call(this,n3.radixPoint),".")),a3=(a3=a3.replace(new RegExp("^"+(0,i2.default)(n3.negationSymbol.front)),"-")).replace(new RegExp((0,i2.default)(n3.negationSymbol.back)+"$"),""),Number(a3)):a3},isComplete:function(e3,t3){var n3=(t3.numericInput?e3.slice().reverse():e3).join("");return n3=(n3=(n3=(n3=(n3=n3.replace(new RegExp("^"+(0,i2.default)(t3.negationSymbol.front)),"-")).replace(new RegExp((0,i2.default)(t3.negationSymbol.back)+"$"),"")).replace(t3.prefix,"")).replace(t3.suffix,"")).replace(new RegExp((0,i2.default)(t3.groupSeparator)+"([0-9]{3})","g"),"$1"),t3.radixPoint===","&&(n3=n3.replace((0,i2.default)(t3.radixPoint),".")),isFinite(n3)},onBeforeMask:function(e3,t3){var n3;e3=(n3=e3)!==null&&n3!==void 0?n3:"";var a3=t3.radixPoint||",";isFinite(t3.digits)&&(t3.digits=parseInt(t3.digits)),typeof e3!="number"&&t3.inputType!=="number"||a3===""||(e3=e3.toString().replace(".",a3));var r2=e3.charAt(0)==="-"||e3.charAt(0)===t3.negationSymbol.front,o2=e3.split(a3),s2=o2[0].replace(/[^\-0-9]/g,""),l2=o2.length>1?o2[1].replace(/[^0-9]/g,""):"",c2=o2.length>1;e3=s2+(l2!==""?a3+l2:l2);var f2=0;if(a3!==""&&(f2=t3.digitsOptional?t3.digits<l2.length?t3.digits:l2.length:t3.digits,l2!==""||!t3.digitsOptional)){var p2=Math.pow(10,f2||1);e3=e3.replace((0,i2.default)(a3),"."),isNaN(parseFloat(e3))||(e3=(t3.roundingFN(parseFloat(e3)*p2)/p2).toFixed(f2)),e3=e3.toString().replace(".",a3)}if(t3.digits===0&&e3.indexOf(a3)!==-1&&(e3=e3.substring(0,e3.indexOf(a3))),t3.min!==null||t3.max!==null){var d2=e3.toString().replace(a3,".");t3.min!==null&&d2<t3.min?e3=t3.min.toString().replace(".",a3):t3.max!==null&&d2>t3.max&&(e3=t3.max.toString().replace(".",a3))}return r2&&e3.charAt(0)!=="-"&&(e3="-"+e3),u(e3.toString().split(""),f2,t3,c2).join("")},onBeforeWrite:function(e3,t3,n3,a3){function r2(e4,t4){if(a3.__financeInput!==!1||t4){var n4=e4.indexOf(a3.radixPoint);n4!==-1&&e4.splice(n4,1)}if(a3.groupSeparator!=="")for(;(n4=e4.indexOf(a3.groupSeparator))!==-1;)e4.splice(n4,1);return e4}var o2,s2;if(a3.stripLeadingZeroes&&(s2=function(e4,t4){var n4=new RegExp("(^"+(t4.negationSymbol.front!==""?(0,i2.default)(t4.negationSymbol.front)+"?":"")+(0,i2.default)(t4.prefix)+")(.*)("+(0,i2.default)(t4.suffix)+(t4.negationSymbol.back!=""?(0,i2.default)(t4.negationSymbol.back)+"?":"")+"$)").exec(e4.slice().reverse().join("")),a4=n4?n4[2]:"",r3=!1;return a4&&(a4=a4.split(t4.radixPoint.charAt(0))[0],r3=new RegExp("^[0"+t4.groupSeparator+"]*").exec(a4)),!(!r3||!(r3[0].length>1||r3[0].length>0&&r3[0].length<a4.length))&&r3}(t3,a3)))for(var c2=t3.join("").lastIndexOf(s2[0].split("").reverse().join(""))-(s2[0]==s2.input?0:1),f2=s2[0]==s2.input?1:0,p2=s2[0].length-f2;p2>0;p2--)this.maskset.validPositions.splice(c2+p2,1),delete t3[c2+p2];if(e3)switch(e3.type){case"blur":case"checkval":if(a3.min!==null){var d2=a3.onUnMask(t3.slice().reverse().join(""),void 0,l.extend({},a3,{unmaskAsNumber:!0}));if(a3.min!==null&&d2<a3.min)return{refreshFromBuffer:!0,buffer:u(a3.min.toString().replace(".",a3.radixPoint).split(""),a3.digits,a3).reverse()}}if(t3[t3.length-1]===a3.negationSymbol.front){var h=new RegExp("(^"+(a3.negationSymbol.front!=""?(0,i2.default)(a3.negationSymbol.front)+"?":"")+(0,i2.default)(a3.prefix)+")(.*)("+(0,i2.default)(a3.suffix)+(a3.negationSymbol.back!=""?(0,i2.default)(a3.negationSymbol.back)+"?":"")+"$)").exec(r2(t3.slice(),!0).reverse().join(""));(h?h[2]:"")==0&&(o2={refreshFromBuffer:!0,buffer:[0]})}else a3.radixPoint!==""&&t3.indexOf(a3.radixPoint)===a3.suffix.length&&(o2&&o2.buffer?o2.buffer.splice(0,1+a3.suffix.length):(t3.splice(0,1+a3.suffix.length),o2={refreshFromBuffer:!0,buffer:r2(t3)}));if(a3.enforceDigitsOnBlur){var m=(o2=o2||{})&&o2.buffer||t3.slice().reverse();o2.refreshFromBuffer=!0,o2.buffer=u(m,a3.digits,a3,!0).reverse()}}return o2},onKeyDown:function(e3,t3,n3,i3){var a3,o2=l(this);if(e3.location!=3){var s2,c2=e3.key;if((s2=i3.shortcuts&&i3.shortcuts[c2])&&s2.length>1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(s2)),o2.trigger("setvalue"),!1}if(e3.ctrlKey)switch(e3.key){case r.keys.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(i3.step)),o2.trigger("setvalue"),!1;case r.keys.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(i3.step)),o2.trigger("setvalue"),!1}if(!e3.shiftKey&&(e3.key===r.keys.Delete||e3.key===r.keys.Backspace||e3.key===r.keys.BACKSPACE_SAFARI)&&n3.begin!==t3.length){if(t3[e3.key===r.keys.Delete?n3.begin-1:n3.end]===i3.negationSymbol.front)return a3=t3.slice().reverse(),i3.negationSymbol.front!==""&&a3.shift(),i3.negationSymbol.back!==""&&a3.pop(),o2.trigger("setvalue",[a3.join(""),n3.begin]),!1;if(i3._radixDance===!0){var f2,p2=t3.indexOf(i3.radixPoint);if(i3.digitsOptional){if(p2===0)return(a3=t3.slice().reverse()).pop(),o2.trigger("setvalue",[a3.join(""),n3.begin>=a3.length?a3.length:n3.begin]),!1}else if(p2!==-1&&(n3.begin<p2||n3.end<p2||e3.key===r.keys.Delete&&(n3.begin===p2||n3.begin-1===p2)))return n3.begin===n3.end&&(e3.key===r.keys.Backspace||e3.key===r.keys.BACKSPACE_SAFARI?n3.begin++:e3.key===r.keys.Delete&&n3.begin-1===p2&&(f2=l.extend({},n3),n3.begin--,n3.end--)),(a3=t3.slice().reverse()).splice(a3.length-n3.begin,n3.begin-n3.end+1),a3=u(a3,i3.digits,i3).join(""),f2&&(n3=f2),o2.trigger("setvalue",[a3,n3.begin>=a3.length?p2+1:n3.begin]),!1}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1}
16,decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(e3){return"("+e3.groupSeparator+"99){*|1}("+e3.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},9380:function(e2,t2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var n2=!(typeof window>"u"||!window.document||!window.document.createElement);t2.default=n2?window:{}},7760:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.HandleNativePlaceholder=function(e3,t3){var n3=e3?e3.inputmask:this;if(i2.ie){if(e3.inputmask._valueGet()!==t3&&(e3.placeholder!==t3||e3.placeholder==="")){var a3=o.getBuffer.call(n3).slice(),r2=e3.inputmask._valueGet();if(r2!==t3){var s2=o.getLastValidPosition.call(n3);s2===-1&&r2===o.getBufferTemplate.call(n3).join("")?a3=[]:s2!==-1&&u.call(n3,a3),p(e3,a3)}}}else e3.placeholder!==t3&&(e3.placeholder=t3,e3.placeholder===""&&e3.removeAttribute("placeholder"))},t2.applyInputValue=c,t2.checkVal=f,t2.clearOptionalTail=u,t2.unmaskedvalue=function(e3){var t3=e3?e3.inputmask:this,n3=t3.opts,i3=t3.maskset;if(e3){if(e3.inputmask===void 0)return e3.value;e3.inputmask&&e3.inputmask.refreshValue&&c(e3,e3.inputmask._valueGet(!0))}for(var a3=[],r2=i3.validPositions,s2=0,l2=r2.length;s2<l2;s2++)r2[s2]&&r2[s2].match&&(r2[s2].match.static!=1||Array.isArray(i3.metadata)&&r2[s2].generatedInput!==!0)&&a3.push(r2[s2].input);var u2=a3.length===0?"":(t3.isRTL?a3.reverse():a3).join("");if(typeof n3.onUnMask=="function"){var f2=(t3.isRTL?o.getBuffer.call(t3).slice().reverse():o.getBuffer.call(t3)).join("");u2=n3.onUnMask.call(t3,f2,u2,n3)}return u2},t2.writeBuffer=p;var i2=n2(9845),a2=n2(6030),r=n2(2839),o=n2(8711),s=n2(7215),l=n2(4713);function c(e3,t3,n3){var i3=e3?e3.inputmask:this,a3=i3.opts;e3.inputmask.refreshValue=!1,typeof a3.onBeforeMask=="function"&&(t3=a3.onBeforeMask.call(i3,t3,a3)||t3),f(e3,!0,!1,t3=(t3||"").toString().split(""),n3),i3.undoValue=i3._valueGet(!0),(a3.clearMaskOnLostFocus||a3.clearIncomplete)&&e3.inputmask._valueGet()===o.getBufferTemplate.call(i3).join("")&&o.getLastValidPosition.call(i3)===-1&&e3.inputmask._valueSet("")}function u(e3){e3.length=0;for(var t3,n3=l.getMaskTemplate.call(this,!0,0,!0,void 0,!0);(t3=n3.shift())!==void 0;)e3.push(t3);return e3}function f(e3,t3,n3,i3,r2){var c2,u2=e3?e3.inputmask:this,f2=u2.maskset,d=u2.opts,h=u2.dependencyLib,m=i3.slice(),v="",g=-1,y=d.skipOptionalPartCharacter;d.skipOptionalPartCharacter="",o.resetMaskSet.call(u2,!1),u2.clicked=0,g=d.radixPoint?o.determineNewCaretPosition.call(u2,{begin:0,end:0},!1,d.__financeInput===!1?"radixFocus":void 0).begin:0,f2.p=g,u2.caretPos={begin:g};var k=[],b=u2.caretPos;if(m.forEach(function(e4,t4){if(e4!==void 0){var i4=new h.Event("_checkval");i4.key=e4,v+=e4;var r3=o.getLastValidPosition.call(u2,void 0,!0);(function(e5,t5){for(var n4=l.getMaskTemplate.call(u2,!0,0).slice(e5,o.seekNext.call(u2,e5,!1,!1)).join("").replace(/'/g,""),i5=n4.indexOf(t5);i5>0&&n4[i5-1]===" ";)i5--;var a3=i5===0&&!o.isMask.call(u2,e5)&&(l.getTest.call(u2,e5).match.nativeDef===t5.charAt(0)||l.getTest.call(u2,e5).match.static===!0&&l.getTest.call(u2,e5).match.nativeDef==="'"+t5.charAt(0)||l.getTest.call(u2,e5).match.nativeDef===" "&&(l.getTest.call(u2,e5+1).match.nativeDef===t5.charAt(0)||l.getTest.call(u2,e5+1).match.static===!0&&l.getTest.call(u2,e5+1).match.nativeDef==="'"+t5.charAt(0)));if(!a3&&i5>0&&!o.isMask.call(u2,e5,!1,!0)){var r4=o.seekNext.call(u2,e5);u2.caretPos.begin<r4&&(u2.caretPos={begin:r4})}return a3})(g,v)?c2=a2.EventHandlers.keypressEvent.call(u2,i4,!0,!1,n3,r3+1):(c2=a2.EventHandlers.keypressEvent.call(u2,i4,!0,!1,n3,u2.caretPos.begin))&&(g=u2.caretPos.begin+1,v=""),c2?(c2.pos!==void 0&&f2.validPositions[c2.pos]&&f2.validPositions[c2.pos].match.static===!0&&f2.validPositions[c2.pos].alternation===void 0&&(k.push(c2.pos),u2.isRTL||(c2.forwardPosition=c2.pos+1)),p.call(u2,void 0,o.getBuffer.call(u2),c2.forwardPosition,i4,!1),u2.caretPos={begin:c2.forwardPosition,end:c2.forwardPosition},b=u2.caretPos):f2.validPositions[t4]===void 0&&m[t4]===l.getPlaceholder.call(u2,t4)&&o.isMask.call(u2,t4,!0)?u2.caretPos.begin++:u2.caretPos=b}}),k.length>0){var x,w,P=o.seekNext.call(u2,-1,void 0,!1);if(!s.isComplete.call(u2,o.getBuffer.call(u2))&&k.length<=P||s.isComplete.call(u2,o.getBuffer.call(u2))&&k.length>0&&k.length!==P&&k[0]===0){for(var S=P;(x=k.shift())!==void 0;)if(x<S){var O=new h.Event("_checkval");if((w=f2.validPositions[x]).generatedInput=!0,O.key=w.input,(c2=a2.EventHandlers.keypressEvent.call(u2,O,!0,!1,n3,S))&&c2.pos!==void 0&&c2.pos!==x&&f2.validPositions[c2.pos]&&f2.validPositions[c2.pos].match.static===!0)k.push(c2.pos);else if(!c2)break;S++}}}t3&&p.call(u2,e3,o.getBuffer.call(u2),c2?c2.forwardPosition:u2.caretPos.begin,r2||new h.Event("checkval"),r2&&(r2.type==="input"&&u2.undoValue!==o.getBuffer.call(u2).join("")||r2.type==="paste")),d.skipOptionalPartCharacter=y}function p(e3,t3,n3,i3,a3){var l2=e3?e3.inputmask:this,c2=l2.opts,u2=l2.dependencyLib;if(i3&&typeof c2.onBeforeWrite=="function"){var f2=c2.onBeforeWrite.call(l2,i3,t3,n3,c2);if(f2){if(f2.refreshFromBuffer){var p2=f2.refreshFromBuffer;s.refreshFromBuffer.call(l2,p2===!0?p2:p2.start,p2.end,f2.buffer||t3),t3=o.getBuffer.call(l2,!0)}n3!==void 0&&(n3=f2.caret!==void 0?f2.caret:n3)}}if(e3!==void 0&&(e3.inputmask._valueSet(t3.join("")),n3===void 0||i3!==void 0&&i3.type==="blur"||o.caret.call(l2,e3,n3,void 0,void 0,i3!==void 0&&i3.type==="
16keydown"&&(i3.key===r.keys.Delete||i3.key===r.keys.Backspace)),e3.inputmask.writeBufferHook===void 0||e3.inputmask.writeBufferHook(n3),a3===!0)){var d=u2(e3),h=e3.inputmask._valueGet();e3.inputmask.skipInputEvent=!0,d.trigger("input"),setTimeout(function(){h===o.getBufferTemplate.call(l2).join("")?d.trigger("cleared"):s.isComplete.call(l2,t3)===!0&&d.trigger("complete")},0)}}},2394:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var i2=m(n2(3976)),a2=m(n2(7392)),r=m(n2(3287)),o=n2(9716),s=m(n2(9380)),l=n2(7760),c=n2(157),u=n2(2391),f=n2(8711),p=n2(7215),d=n2(4713);function h(e3){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},h(e3)}function m(e3){return e3&&e3.__esModule?e3:{default:e3}}var v=s.default.document,g="_inputmask_opts";function y(e3,t3,n3){if(!(this instanceof y))return new y(e3,t3,n3);this.dependencyLib=r.default,this.el=void 0,this.events={},this.maskset=void 0,n3!==!0&&(Object.prototype.toString.call(e3)==="[object Object]"?t3=e3:(t3=t3||{},e3&&(t3.alias=e3)),this.opts=r.default.extend(!0,{},this.defaults,t3),this.noMasksCache=t3&&t3.definitions!==void 0,this.userOptions=t3||{},k(this.opts.alias,t3,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.maxLength,this.mouseEnter=!1,this.clicked=0,this.originalPlaceholder=void 0,this.isComposing=!1,this.hasAlternator=!1}function k(e3,t3,n3){var i3=y.prototype.aliases[e3];return i3?(i3.alias&&k(i3.alias,void 0,n3),r.default.extend(!0,n3,i3),r.default.extend(!0,n3,t3),!0):(n3.mask===null&&(n3.mask=e3),!1)}y.prototype={dataAttribute:"data-inputmask",defaults:i2.default,definitions:a2.default,aliases:{},masksCache:{},i18n:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(e3){var t3=this;return typeof e3=="string"&&(e3=v.getElementById(e3)||v.querySelectorAll(e3)),(e3=e3.nodeName?[e3]:Array.isArray(e3)?e3:[].slice.call(e3)).forEach(function(e4,n3){var i3=r.default.extend(!0,{},t3.opts);if(function(e5,t4,n4,i4){function a4(t5,a5){var r2=i4===""?t5:i4+"-"+t5;(a5=a5!==void 0?a5:e5.getAttribute(r2))!==null&&(typeof a5=="string"&&(t5.indexOf("on")===0?a5=s.default[a5]:a5==="false"?a5=!1:a5==="true"&&(a5=!0)),n4[t5]=a5)}if(t4.importDataAttributes===!0){var o2,l2,c2,u2,f2=e5.getAttribute(i4);if(f2&&f2!==""&&(f2=f2.replace(/'/g,'"'),l2=JSON.parse("{"+f2+"}")),l2){for(u2 in c2=void 0,l2)if(u2.toLowerCase()==="alias"){c2=l2[u2];break}}for(o2 in a4("alias",c2),n4.alias&&k(n4.alias,n4,t4),t4){if(l2){for(u2 in c2=void 0,l2)if(u2.toLowerCase()===o2.toLowerCase()){c2=l2[u2];break}}a4(o2,c2)}}return r.default.extend(!0,t4,n4),(e5.dir==="rtl"||t4.rightAlign)&&(e5.style.textAlign="right"),(e5.dir==="rtl"||t4.numericInput)&&(e5.dir="ltr",e5.removeAttribute("dir"),t4.isRTL=!0),Object.keys(n4).length}(e4,i3,r.default.extend(!0,{},t3.userOptions),t3.dataAttribute)){var a3=(0,u.generateMaskSet)(i3,t3.noMasksCache);a3!==void 0&&(e4.inputmask!==void 0&&(e4.inputmask.opts.autoUnmask=!0,e4.inputmask.remove()),e4.inputmask=new y(void 0,void 0,!0),e4.inputmask.opts=i3,e4.inputmask.noMasksCache=t3.noMasksCache,e4.inputmask.userOptions=r.default.extend(!0,{},t3.userOptions),e4.inputmask.el=e4,e4.inputmask.$el=(0,r.default)(e4),e4.inputmask.maskset=a3,r.default.data(e4,g,t3.userOptions),c.mask.call(e4.inputmask))}}),e3&&e3[0]&&e3[0].inputmask||this},option:function(e3,t3){return typeof e3=="string"?this.opts[e3]:h(e3)==="object"?(r.default.extend(this.userOptions,e3),this.el&&t3!==!0&&this.mask(this.el),this):void 0},unmaskedvalue:function(e3){if(this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),this.el===void 0||e3!==void 0){var t3=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,e3,this.opts)||e3).split("");l.checkVal.call(this,void 0,!1,!1,t3),typeof this.opts.onBeforeWrite=="function"&&this.opts.onBeforeWrite.call(this,void 0,f.getBuffer.call(this),0,this.opts)}return l.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){r.default.data(this.el,g,null);var e3=this.opts.autoUnmask?(0,l.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);e3!==f.getBufferTemplate.call(this).join("")?this._valueSet(e3,this.opts.autoUnmask):this._valueSet(""),o.EventRuler.off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):v.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),(this.isRTL?f.getBufferTemplate.call(this).reverse():f.getBufferTemplate.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),p.isComplete.call(this,f.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var e3=d.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach(function(t3){return t3.mask!==e3||(e3=t3,!1)}),e3}return this.maskset.metadata},isValid:function(e3){if(this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),e3){var t3=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,e3,this.opts)||e3).split("");l.checkVal.call(this,void 0,!0,!1,t3)}else e3=this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join("");for(var n3=f.getBuffer.call(this),i3=f.determineLastRequiredPosition.call(this),a3=n3.length-1;a3>i3&&!f.isMask.call(this,a3);a3--);return n3.splice(i3,a3+1-i3),p.isComplete.call(this,n3)&&e3===(this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join(""))},format:function(e3,t3){this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache);var n3=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,e3,this.opts)||e3).split("");l.checkVal.call(this,void 0,!0,!1,n3);var i3=this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join("");return t3?{value:i3,metadata:this.getmetadata()}:i3},setValue:function(e3){this.el&&(0,r.default)(this.el).trigger("setvalue",[e3])},analyseMask:u.analyseMask},y.extendDefaults=function(e3){r.default.extend(!0,y.prototype.defaults,e3)},y.extendDefinitions=function(e3){r.default.extend(!0,y.prototype.definitions,e3)},y.extendAliases=function(e3){r.default.extend(!0,y.prototype.aliases,e3)},y.format=function(e3,t3,n3){return y(t3).format(e3,n3)},y.unmask=function(e3,t3){return y(t3).unmaskedvalue(e3)},y.isValid=function(e3,t3){return y(t3).isValid(e3)},y.remove=function(e3){typeof e3=="string"&&(e3=v.getElementById(e3)||v.querySelectorAll(e3)),(e3=e3.nodeName?[e3]:e3).forEach(function(e4){e4.inputmask&&e4.inputmask.remove()})},y.setValue=function(e3,t3){typeof e3=="string"&&(e3=v.getElementById(e3)||v.querySelectorAll(e3)),(e3=e3.nodeName?[e3]:e3).forEach(function(e4){e4.inputmask?e4.inputmask.setValue(t3):(0,r.default)(e4).trigger("setvalue",[t3])})},y.dependencyLib=r.default,s.default.Inputmask=y,t2.default=y},5296:function(e2,t2,n2){function i2(e3){return i2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},i2(e3)}var a2=d(n2(9380)),r=d(n2(2394));function o(e3,t3){for(var n3=0;n3<t3.length;n3++){var a3=t3[n3];a3.enumerable=a3.enumerable||!1,a3.configurable=!0,"value"in a3&&(a3.writable=!0),Object.defineProperty(e3,(r2=a3.key,o2=void 0,o2=function(e4,t4){if(i2(e4)!=="object"||e4===null)return e4;var n4=e4[Symbol.toPrimitive];if(n4!==void 0){var a4=n4.call(e4,t4||"default");if(i2(a4)!=="object")return a4;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t4==="string"?String:Number)(e4)}(r2,"string"),i2(o2)==="symbol"?o2:String(o2)),a3)}var r2,o2}function s(e3){var t3=u();return function(){var n3,a3=p(e3);if(t3){var r2=p(this).constructor;n3=Reflect.construct(a3,arguments,r2)}else n3=a3.apply(this,arguments);return function(e4,t4){if(t4&&(i2(t4)==="object"||typeof t4=="function"))return t4;if(t4!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(e5){if(e5===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e5}(e4)}(this,n3)}}function l(e3){var t3=typeof Map=="function"?new Map:void 0;return l=function(e4){if(e4===null||!function(e5){try{return Function.toString.call(e5).indexOf("[native code]")!==-1}catch{return typeof e5=="function"}}(e4))return e4;if(typeof e4!="function")throw new TypeError("Super expression must either be null or a function");if(t3!==void 0){if(t3.has(e4))return t3.get(e4);t3.set(e4,n3)}function n3(){return c(e4,arguments,p(this).constructor)}return n3.prototype=Object.create(e4.prototype,{constructor:{value:n3,enumerable:!1,writable:!0,configurable:!0}}),f(n3,e4)},l(e3)}function c(e3,t3,n3){return c=u()?Reflect.construct.bind():function(e4,t4,n4){var i3=[null];i3.push.apply(i3,t4);var a3=new(Function.bind.apply(e4,i3));return n4&&f(a3,n4.prototype),a3},c.apply(null,arguments)}function u(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f(e3,t3){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e4,t4){return e4.__proto__=t4,e4},f(e3,t3)}
16function p(e3){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e4){return e4.__proto__||Object.getPrototypeOf(e4)},p(e3)}function d(e3){return e3&&e3.__esModule?e3:{default:e3}}var h=a2.default.document;if(h&&h.head&&h.head.attachShadow&&a2.default.customElements&&a2.default.customElements.get("input-mask")===void 0){var m=function(e3){(function(e4,t4){if(typeof t4!="function"&&t4!==null)throw new TypeError("Super expression must either be null or a function");e4.prototype=Object.create(t4&&t4.prototype,{constructor:{value:e4,writable:!0,configurable:!0}}),Object.defineProperty(e4,"prototype",{writable:!1}),t4&&f(e4,t4)})(l2,e3);var t3,n3,i3,a3=s(l2);function l2(){var e4;(function(e5,t5){if(!(e5 instanceof t5))throw new TypeError("Cannot call a class as a function")})(this,l2);var t4=(e4=a3.call(this)).getAttributeNames(),n4=e4.attachShadow({mode:"closed"});for(var i4 in e4.input=h.createElement("input"),e4.input.type="text",n4.appendChild(e4.input),t4)Object.prototype.hasOwnProperty.call(t4,i4)&&e4.input.setAttribute(t4[i4],e4.getAttribute(t4[i4]));var o2=new r.default;return o2.dataAttribute="",o2.mask(e4.input),e4.input.inputmask.shadowRoot=n4,e4}return t3=l2,(n3=[{key:"attributeChangedCallback",value:function(e4,t4,n4){this.input.setAttribute(e4,n4)}},{key:"value",get:function(){return this.input.value},set:function(e4){this.input.value=e4}}])&&o(t3.prototype,n3),i3&&o(t3,i3),Object.defineProperty(t3,"prototype",{writable:!1}),l2}(l(HTMLElement));a2.default.customElements.define("input-mask",m)}},443:function(e2,t2,n2){var i2=o(n2(7957)),a2=o(n2(2394));function r(e3){return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},r(e3)}function o(e3){return e3&&e3.__esModule?e3:{default:e3}}i2.default.fn.inputmask===void 0&&(i2.default.fn.inputmask=function(e3,t3){var n3,o2=this[0];if(t3===void 0&&(t3={}),typeof e3=="string")switch(e3){case"unmaskedvalue":return o2&&o2.inputmask?o2.inputmask.unmaskedvalue():(0,i2.default)(o2).val();case"remove":return this.each(function(){this.inputmask&&this.inputmask.remove()});case"getemptymask":return o2&&o2.inputmask?o2.inputmask.getemptymask():"";case"hasMaskedValue":return!(!o2||!o2.inputmask)&&o2.inputmask.hasMaskedValue();case"isComplete":return!o2||!o2.inputmask||o2.inputmask.isComplete();case"getmetadata":return o2&&o2.inputmask?o2.inputmask.getmetadata():void 0;case"setvalue":a2.default.setValue(o2,t3);break;case"option":if(typeof t3!="string")return this.each(function(){if(this.inputmask!==void 0)return this.inputmask.option(t3)});if(o2&&o2.inputmask!==void 0)return o2.inputmask.option(t3);break;default:return t3.alias=e3,n3=new a2.default(t3),this.each(function(){n3.mask(this)})}else{if(Array.isArray(e3))return t3.alias=e3,n3=new a2.default(t3),this.each(function(){n3.mask(this)});if(r(e3)==="object")return n3=new a2.default(e3),e3.mask===void 0&&e3.alias===void 0?this.each(function(){if(this.inputmask!==void 0)return this.inputmask.option(e3);n3.mask(this)}):this.each(function(){n3.mask(this)});if(e3===void 0)return this.each(function(){(n3=new a2.default(t3)).mask(this)})}})},2839:function(e2,t2){function n2(e3){return n2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},n2(e3)}function i2(e3,t3){return function(e4){if(Array.isArray(e4))return e4}(e3)||function(e4,t4){var n3=e4==null?null:typeof Symbol<"u"&&e4[Symbol.iterator]||e4["@@iterator"];if(n3!=null){var i3,a3,r2,o2,s2=[],l2=!0,c=!1;try{if(r2=(n3=n3.call(e4)).next,t4===0){if(Object(n3)!==n3)return;l2=!1}else for(;!(l2=(i3=r2.call(n3)).done)&&(s2.push(i3.value),s2.length!==t4);l2=!0);}catch(e5){c=!0,a3=e5}finally{try{if(!l2&&n3.return!=null&&(o2=n3.return(),Object(o2)!==o2))return}finally{if(c)throw a3}}return s2}}(e3,t3)||function(e4,t4){if(e4){if(typeof e4=="string")return a2(e4,t4);var n3=Object.prototype.toString.call(e4).slice(8,-1);if(n3==="Object"&&e4.constructor&&(n3=e4.constructor.name),n3==="Map"||n3==="Set")return Array.from(e4);
16if(n3==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n3))return a2(e4,t4)}}(e3,t3)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 17In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function a2(e3,t3){(t3==null||t3>e3.length)&&(t3=e3.length);for(var n3=0,i3=new Array(t3);n3<t3;n3++)i3[n3]=e3[n3];return i3}function r(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var i3=Object.getOwnPropertySymbols(e3);t3&&(i3=i3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,i3)}return n3}function o(e3,t3,i3){return(t3=function(e4){var t4=function(e5,t5){if(n2(e5)!=="object"||e5===null)return e5;var i4=e5[Symbol.toPrimitive];if(i4!==void 0){var a3=i4.call(e5,t5||"default");if(n2(a3)!=="object")return a3;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t5==="string"?String:Number)(e5)}(e4,"string");return n2(t4)==="symbol"?t4:String(t4)}(t3))in e3?Object.defineProperty(e3,t3,{value:i3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=i3,e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.keys=t2.keyCode=void 0,t2.toKey=function(e3,t3){return l[e3]||(t3?String.fromCharCode(e3):String.fromCharCode(e3).toLowerCase())},t2.toKeyCode=function(e3){return s[e3]};var s=t2.keyCode=function(e3){for(var t3=1;t3<arguments.length;t3++){var n3=arguments[t3]!=null?arguments[t3]:{};t3%2?r(Object(n3),!0).forEach(function(t4){o(e3,t4,n3[t4])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e3,Object.getOwnPropertyDescriptors(n3)):r(Object(n3)).forEach(function(t4){Object.defineProperty(e3,t4,Object.getOwnPropertyDescriptor(n3,t4))})}return e3}({c:67,x:88,z:90,BACKSPACE_SAFARI:127,Enter:13,Meta_LEFT:91,Meta_RIGHT:92,Space:32},{Alt:18,AltGraph:18,ArrowDown:40,ArrowLeft:37,ArrowRight:39,ArrowUp:38,Backspace:8,CapsLock:20,Control:17,ContextMenu:93,Dead:221,Delete:46,End:35,Escape:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,Home:36,Insert:45,NumLock:144,PageDown:34,PageUp:33,Pause:19,PrintScreen:44,Process:229,Shift:16,ScrollLock:145,Tab:9,Unidentified:229}),l=Object.entries(s).reduce(function(e3,t3){var n3=i2(t3,2),a3=n3[0],r2=n3[1];return e3[r2]=e3[r2]===void 0?a3:e3[r2],e3},{});t2.keys=Object.entries(s).reduce(function(e3,t3){var n3=i2(t3,2),a3=n3[0];return n3[1],e3[a3]=a3==="Space"?" ":a3,e3},{})},2391:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.analyseMask=function(e3,t3,n3){var i3,a3,l2,c2,u,f,p=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,d=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,h=!1,m=new o.default,v=[],g=[],y=!1;function k(e4,i4,a4){a4=a4!==void 0?a4:e4.matches.length;var o2=e4.matches[a4-1];if(t3){if(i4.indexOf("[")===0||h&&/\\d|\\s|\\w|\\p/i.test(i4)||i4==="."){var l3=n3.casing?"i":"";/\\p\{.*}/i.test(i4)&&(l3+="u"),e4.matches.splice(a4++,0,{fn:new RegExp(i4,l3),static:!1,optionality:!1,newBlockMarker:o2===void 0?"master":o2.def!==i4,casing:null,def:i4,placeholder:s(n3.placeholder)==="object"?n3.placeholder[m.matches.length]:void 0,nativeDef:i4})}else h&&(i4=i4[i4.length-1]),i4.split("").forEach(function(t4,i5){o2=e4.matches[a4-1],e4.matches.splice(a4++,0,{fn:/[a-z]/i.test(n3.staticDefinitionSymbol||t4)?new RegExp("["+(n3.staticDefinitionSymbol||t4)+"]",n3.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:o2===void 0?"master":o2.def!==t4&&o2.static!==!0,casing:null,def:n3.staticDefinitionSymbol||t4,placeholder:n3.staticDefinitionSymbol!==void 0?t4:s(n3.placeholder)==="object"?n3.placeholder[m.matches.length]:void 0,nativeDef:(h?"'":"")+t4})});h=!1}else{var c3=n3.definitions&&n3.definitions[i4]||n3.usePrototypeDefinitions&&r.default.prototype.definitions[i4];c3&&!h?e4.matches.splice(a4++,0,{fn:c3.validator?typeof c3.validator=="string"?new RegExp(c3.validator,n3.casing?"i":""):new function(){this.test=c3.validator}:/./,static:c3.static||!1,optionality:c3.optional||!1,defOptionality:c3.optional||!1,newBlockMarker:o2===void 0||c3.optional?"master":o2.def!==(c3.definitionSymbol||i4),casing:c3.casing,def:c3.definitionSymbol||i4,placeholder:c3.placeholder,nativeDef:i4,generated:c3.generated}):(e4.matches.splice(a4++,0,{fn:/[a-z]/i.test(n3.staticDefinitionSymbol||i4)?new RegExp("["+(n3.staticDefinitionSymbol||i4)+"]",n3.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:o2===void 0?"master":o2.def!==i4&&o2.static!==!0,casing:null,def:n3.staticDefinitionSymbol||i4,placeholder:n3.staticDefinitionSymbol!==void 0?i4:void 0,nativeDef:(h?"'":"")+i4}),h=!1)}}function b(){if(v.length>0){if(k(c2=v[v.length-1],a3),c2.isAlternator){u=v.pop();for(var e4=0;e4<u.matches.length;e4++)u.matches[e4].isGroup&&(u.matches[e4].isGroup=!1);v.length>0?(c2=v[v.length-1]).matches.push(u):m.matches.push(u)}}else k(m,a3)}function x(e4){var t4=new o.default(!0);return t4.openGroup=!1,t4.matches=e4,t4}function w(){if((l2=v.pop()).openGroup=!1,l2!==void 0)if(v.length>0){if((c2=v[v.length-1]).matches.push(l2),c2.isAlternator){u=v.pop();for(var e4=0;e4<u.matches.length;e4++)u.matches[e4].isGroup=!1,u.matches[e4].alternatorGroup=!1;v.length>0?(c2=v[v.length-1]).matches.push(u):m.matches.push(u)}}else m.matches.push(l2);else b()}function P(e4){var t4=e4.pop();return t4.isQuantifier&&(t4=x([e4.pop(),t4])),t4}for(t3&&(n3.optionalmarker[0]=void 0,n3.optionalmarker[1]=void 0);i3=t3?d.exec(e3):p.exec(e3);){if(a3=i3[0],t3){switch(a3.charAt(0)){case"?":a3="{0,1}";break;case"+":case"*":a3="{"+a3+"}";break;case"|":if(v.length===0){var S=x(m.matches);S.openGroup=!0,v.push(S),m.matches=[],y=!0}}switch(a3){case"\\d":a3="[0-9]";break;case"\\p":a3+=d.exec(e3)[0],a3+=d.exec(e3)[0]}}if(h)b();else switch(a3.charAt(0)){case"$":case"^":t3||b();break;case n3.escapeChar:h=!0,t3&&b();break;case n3.optionalmarker[1]:case n3.groupmarker[1]:w();break;case n3.optionalmarker[0]:v.push(new o.default(!1,!0));break;case n3.groupmarker[0]:v.push(new o.default(!0));break;case n3.quantifiermarker[0]:var O=new o.default(!1,!1,!0),M=(a3=a3.replace(/[{}?]/g,"")).split("|"),_=M[0].split(","),E=isNaN(_[0])?_[0]:parseInt(_[0]),j=_.length===1?E:isNaN(_[1])?_[1]:parseInt(_[1]),T=isNaN(M[1])?M[1]:parseInt(M[1]);E!=="*"&&E!=="+"||(E=j==="*"?0:1),O.quantifier={min:E,max:j,jit:T};var A=v.length>0?v[v.length-1].matches:m.matches;(i3=A.pop()).isGroup||(i3=x([i3])),A.push(i3),A.push(O);break;case n3.alternatormarker:if(v.length>0){var D=(c2=v[v.length-1]).matches[c2.matches.length-1];f=c2.openGroup&&(D.matches===void 0||D.isGroup===!1&&D.isAlternator===!1)?v.pop():P(c2.matches)}else f=P(m.matches);if(f.isAlternator)v.push(f);else if(f.alternatorGroup?(u=v.pop(),f.alternatorGroup=!1):u=new o.default(!1,!1,!1,!0),u.matches.push(f),v.push(u),f.openGroup){f.openGroup=!1;var L=new o.default(!0);L.alternatorGroup=!0,v.push(L)}break;default:b()}}for(y&&w();v.length>0;)l2=v.pop(),m.matches.push(l2);return m.matches.length>
170&&(function e4(i4){i4&&i4.matches&&i4.matches.forEach(function(a4,r2){var o2=i4.matches[r2+1];(o2===void 0||o2.matches===void 0||o2.isQuantifier===!1)&&a4&&a4.isGroup&&(a4.isGroup=!1,t3||(k(a4,n3.groupmarker[0],0),a4.openGroup!==!0&&k(a4,n3.groupmarker[1]))),e4(a4)})}(m),g.push(m)),(n3.numericInput||n3.isRTL)&&function e4(t4){for(var i4 in t4.matches=t4.matches.reverse(),t4.matches)if(Object.prototype.hasOwnProperty.call(t4.matches,i4)){var a4=parseInt(i4);if(t4.matches[i4].isQuantifier&&t4.matches[a4+1]&&t4.matches[a4+1].isGroup){var r2=t4.matches[i4];t4.matches.splice(i4,1),t4.matches.splice(a4+1,0,r2)}t4.matches[i4].matches!==void 0?t4.matches[i4]=e4(t4.matches[i4]):t4.matches[i4]=((o2=t4.matches[i4])===n3.optionalmarker[0]?o2=n3.optionalmarker[1]:o2===n3.optionalmarker[1]?o2=n3.optionalmarker[0]:o2===n3.groupmarker[0]?o2=n3.groupmarker[1]:o2===n3.groupmarker[1]&&(o2=n3.groupmarker[0]),o2)}var o2;return t4}(g[0]),g},t2.generateMaskSet=function(e3,t3){var n3;function o2(e4,t4){var n4=t4.repeat,i3=t4.groupmarker,r2=t4.quantifiermarker,o3=t4.keepStatic;if(n4>0||n4==="*"||n4==="+"){var s2=n4==="*"?0:n4==="+"?1:n4;if(s2!=n4)e4=i3[0]+e4+i3[1]+r2[0]+s2+","+n4+r2[1];else for(var c3=e4,u2=1;u2<s2;u2++)e4+=c3}if(o3===!0){var f=e4.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));f&&f.forEach(function(t5,n5){var i4=function(e5,t6){return function(e6){if(Array.isArray(e6))return e6}(e5)||function(e6,t7){var n6=e6==null?null:typeof Symbol<"u"&&e6[Symbol.iterator]||e6["@@iterator"];if(n6!=null){var i5,a3,r4,o5,s3=[],l2=!0,c4=!1;try{if(r4=(n6=n6.call(e6)).next,t7===0){if(Object(n6)!==n6)return;l2=!1}else for(;!(l2=(i5=r4.call(n6)).done)&&(s3.push(i5.value),s3.length!==t7);l2=!0);}catch(e7){c4=!0,a3=e7}finally{try{if(!l2&&n6.return!=null&&(o5=n6.return(),Object(o5)!==o5))return}finally{if(c4)throw a3}}return s3}}(e5,t6)||function(e6,t7){if(e6){if(typeof e6=="string")return l(e6,t7);var n6=Object.prototype.toString.call(e6).slice(8,-1);if(n6==="Object"&&e6.constructor&&(n6=e6.constructor.name),n6==="Map"||n6==="Set")return Array.from(e6);if(n6==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n6))return l(e6,t7)}}(e5,t6)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 18In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}(t5.split("["),2),r3=i4[0],o4=i4[1];o4=o4.replace("]",""),e4=e4.replace(new RegExp("".concat((0,a2.default)(r3),"\\[").concat((0,a2.default)(o4),"\\]")),r3.charAt(0)===o4.charAt(0)?"(".concat(r3,"|").concat(r3).concat(o4,")"):"".concat(r3,"[").concat(o4,"]"))})}return e4}function c2(e4,n4,a3){var l2,c3,u2=!1;return e4!==null&&e4!==""||((u2=a3.regex!==null)?e4=(e4=a3.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(u2=!0,e4=".*")),e4.length===1&&a3.greedy===!1&&a3.repeat!==0&&(a3.placeholder=""),e4=o2(e4,a3),c3=u2?"regex_"+a3.regex:a3.numericInput?e4.split("").reverse().join(""):e4,a3.keepStatic!==null&&(c3="ks_"+a3.keepStatic+c3),s(a3.placeholder)==="object"&&(c3="ph_"+JSON.stringify(a3.placeholder)+c3),r.default.prototype.masksCache[c3]===void 0||t3===!0?(l2={mask:e4,maskToken:r.default.prototype.analyseMask(e4,u2,a3),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:n4,maskLength:void 0,jitOffset:{}},t3!==!0&&(r.default.prototype.masksCache[c3]=l2,l2=i2.default.extend(!0,{},r.default.prototype.masksCache[c3]))):l2=i2.default.extend(!0,{},r.default.prototype.masksCache[c3]),l2}if(typeof e3.mask=="function"&&(e3.mask=e3.mask(e3)),Array.isArray(e3.mask)){if(e3.mask.length>1){e3.keepStatic===null&&(e3.keepStatic=!0);var u=e3.groupmarker[0];return(e3.isRTL?e3.mask.reverse():e3.mask).forEach(function(t4){u.length>1&&(u+=e3.alternatormarker),t4.mask!==void 0&&typeof t4.mask!="function"?u+=t4.mask:u+=t4}),c2(u+=e3.groupmarker[1],e3.mask,e3)}e3.mask=e3.mask.pop()}return n3=e3.mask&&e3.mask.mask!==void 0&&typeof e3.mask.mask!="function"?c2(e3.mask.mask,e3.mask,e3):c2(e3.mask,e3.mask,e3),e3.keepStatic===null&&(e3.keepStatic=!1),n3};var i2=c(n2(3287)),a2=c(n2(7184)),r=c(n2(2394)),o=c(n2(9695));function s(e3){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},s(e3)}function l(e3,t3){(t3==null||t3>e3.length)&&(t3=e3.length);for(var n3=0,i3=new Array(t3);n3<t3;n3++)i3[n3]=e3[n3];return i3}
18function c(e3){return e3&&e3.__esModule?e3:{default:e3}}},157:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.mask=function(){var e3=this,t3=this.opts,n3=this.el,c=this.dependencyLib;r.EventRuler.off(n3);var u=function(t4,n4){var i3=t4.getAttribute("type"),a3=t4.tagName.toLowerCase()==="input"&&n4.supportsInputType.includes(i3)||t4.isContentEditable||t4.tagName.toLowerCase()==="textarea";if(!a3)if(t4.tagName.toLowerCase()==="input"){var l2=document.createElement("input");l2.setAttribute("type",i3),a3=l2.type==="text",l2=null}else a3="partial";return a3!==!1?function(t5){var i4,a4;function l3(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():s.getLastValidPosition.call(e3)!==-1||n4.nullable!==!0?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&n4.clearMaskOnLostFocus?(e3.isRTL?o.clearOptionalTail.call(e3,s.getBuffer.call(e3).slice()).reverse():o.clearOptionalTail.call(e3,s.getBuffer.call(e3).slice())).join(""):i4.call(this):"":i4.call(this)}function u2(e4){a4.call(this,e4),this.inputmask&&(0,o.applyInputValue)(this,e4)}if(!t5.inputmask.__valueGet){if(n4.noValuePatching!==!0){if(Object.getOwnPropertyDescriptor){var f2=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t5),"value"):void 0;f2&&f2.get&&f2.set?(i4=f2.get,a4=f2.set,Object.defineProperty(t5,"value",{get:l3,set:u2,configurable:!0})):t5.tagName.toLowerCase()!=="input"&&(i4=function(){return this.textContent},a4=function(e4){this.textContent=e4},Object.defineProperty(t5,"value",{get:l3,set:u2,configurable:!0}))}else document.__lookupGetter__&&t5.__lookupGetter__("value")&&(i4=t5.__lookupGetter__("value"),a4=t5.__lookupSetter__("value"),t5.__defineGetter__("value",l3),t5.__defineSetter__("value",u2));t5.inputmask.__valueGet=i4,t5.inputmask.__valueSet=a4}t5.inputmask._valueGet=function(t6){return e3.isRTL&&t6!==!0?i4.call(this.el).split("").reverse().join(""):i4.call(this.el)},t5.inputmask._valueSet=function(t6,n5){a4.call(this.el,t6==null?"":n5!==!0&&e3.isRTL?t6.split("").reverse().join(""):t6)},i4===void 0&&(i4=function(){return this.value},a4=function(e4){this.value=e4},function(t6){if(c.valHooks&&(c.valHooks[t6]===void 0||c.valHooks[t6].inputmaskpatch!==!0)){var i5=c.valHooks[t6]&&c.valHooks[t6].get?c.valHooks[t6].get:function(e4){return e4.value},a5=c.valHooks[t6]&&c.valHooks[t6].set?c.valHooks[t6].set:function(e4,t7){return e4.value=t7,e4};c.valHooks[t6]={get:function(t7){if(t7.inputmask){if(t7.inputmask.opts.autoUnmask)return t7.inputmask.unmaskedvalue();var a6=i5(t7);return s.getLastValidPosition.call(e3,void 0,void 0,t7.inputmask.maskset.validPositions)!==-1||n4.nullable!==!0?a6:""}return i5(t7)},set:function(e4,t7){var n5=a5(e4,t7);return e4.inputmask&&(0,o.applyInputValue)(e4,t7),n5},inputmaskpatch:!0}}}(t5.type),function(e4){r.EventRuler.on(e4,"mouseenter",function(){var e5=this,t6=e5.inputmask._valueGet(!0);t6!=(e5.inputmask.isRTL?s.getBuffer.call(e5.inputmask).slice().reverse():s.getBuffer.call(e5.inputmask)).join("")&&(0,o.applyInputValue)(e5,t6)})}(t5))}}(t4):t4.inputmask=void 0,a3}(n3,t3);if(u!==!1){e3.originalPlaceholder=n3.placeholder,e3.maxLength=n3!==void 0?n3.maxLength:void 0,e3.maxLength===-1&&(e3.maxLength=void 0),"inputMode"in n3&&n3.getAttribute("inputmode")===null&&(n3.inputMode=t3.inputmode,n3.setAttribute("inputmode",t3.inputmode)),u===!0&&(t3.showMaskOnFocus=t3.showMaskOnFocus&&["cc-number","cc-exp"].indexOf(n3.autocomplete)===-1,i2.iphone&&(t3.insertModeVisual=!1,n3.setAttribute("autocorrect","off")),r.EventRuler.on(n3,"submit",a2.EventHandlers.submitEvent),r.EventRuler.on(n3,"reset",a2.EventHandlers.resetEvent),r.EventRuler.on(n3,"blur",a2.EventHandlers.blurEvent),r.EventRuler.on(n3,"focus",a2.EventHandlers.focusEvent),r.EventRuler.on(n3,"invalid",a2.EventHandlers.invalidEvent),r.EventRuler.on(n3,"click",a2.EventHandlers.clickEvent),r.EventRuler.on(n3,"mouseleave",a2.EventHandlers.mouseleaveEvent),r.EventRuler.on(n3,"mouseenter",a2.EventHandlers.mouseenterEvent),r.EventRuler.on(n3,"paste",a2.EventHandlers.pasteEvent),r.EventRuler.on(n3,"cut",a2.EventHandlers.cutEvent),r.EventRuler.on(n3,"complete",t3.oncomplete),r.EventRuler.on(n3,"incomplete",t3.onincomplete),r.EventRuler.on(n3,"cleared",t3.oncleared),t3.inputEventOnly!==!0&&r.EventRuler.on(n3,"keydown",a2.EventHandlers.keyEvent),(i2.mobile||t3.inputEventOnly)&&n3.removeAttribute("maxLength"),r.EventRuler.on(n3,"input",a2.EventHandlers.inputFallBackEvent)),r.EventRuler.on(n3,"setvalue",a2.EventHandlers.setValueEvent),e3.applyMaskHook===void 0||e3.applyMaskHook(),s.getBufferTemplate.call(e3).join(""),e3.undoValue=e3._valueGet(!0);var f=(n3.inputmask.shadowRoot||n3.ownerDocument).activeElement;if(n3.inputmask._valueGet(!0)!==""||t3.clearMaskOnLostFocus===!1||f===n3){(0,o.applyInputValue)(n3,n3.inputmask._valueGet(!0),t3);var p=s.getBuffer.call(e3).slice();l.isComplete.call(e3,p)===!1&&t3.clearIncomplete&&s.resetMaskSet.call(e3,!1),t3.clearMaskOnLostFocus&&f!==n3&&(s.getLastValidPosition.call(e3)===-1?p=[]:o.clearOptionalTail.call(e3,p)),(t3.clearMaskOnLostFocus===!1||t3.showMaskOnFocus&&f===n3||n3.inputmask._valueGet(!0)!=="")&&(0,o.writeBuffer)(n3,p),f===n3&&s.caret.call(e3,n3,s.seekNext.call(e3,s.getLastValidPosition.call(e3)))}}};var i2=n2(9845),a2=n2(6030),r=n2(9716),o=n2(7760),s=n2(8711),l=n2(7215)}
18,9695:function(e2,t2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3,t3,n2,i2){this.matches=[],this.openGroup=e3||!1,this.alternatorGroup=!1,this.isGroup=e3||!1,this.isOptional=t3||!1,this.isQuantifier=n2||!1,this.isAlternator=i2||!1,this.quantifier={min:1,max:1}}},3194:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e2,t2){if(this==null)throw new TypeError('"this" is null or not defined');var n2=Object(this),i2=n2.length>>>0;if(i2===0)return!1;for(var a2=0|t2,r=Math.max(a2>=0?a2:i2-Math.abs(a2),0);r<i2;){if(n2[r]===e2)return!0;r++}return!1}})},9302:function(){var e2=Function.bind.call(Function.call,Array.prototype.reduce),t2=Function.bind.call(Function.call,Object.prototype.propertyIsEnumerable),n2=Function.bind.call(Function.call,Array.prototype.concat),i2=Object.keys;Object.entries||(Object.entries=function(a2){return e2(i2(a2),function(e3,i3){return n2(e3,typeof i3=="string"&&t2(a2,i3)?[[i3,a2[i3]]]:[])},[])})},7149:function(){function e2(t2){return e2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e3){return typeof e3}:function(e3){return e3&&typeof Symbol=="function"&&e3.constructor===Symbol&&e3!==Symbol.prototype?"symbol":typeof e3},e2(t2)}typeof Object.getPrototypeOf!="function"&&(Object.getPrototypeOf=e2("test".__proto__)==="object"?function(e3){return e3.__proto__}:function(e3){return e3.constructor.prototype})},4013:function(){String.prototype.includes||(String.prototype.includes=function(e2,t2){return typeof t2!="number"&&(t2=0),!(t2+e2.length>this.length)&&this.indexOf(e2,t2)!==-1})},8711:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.caret=function(e3,t3,n3,i3,r2){var o2,s2=this,l2=this.opts;if(t3===void 0)return"selectionStart"in e3&&"selectionEnd"in e3?(t3=e3.selectionStart,n3=e3.selectionEnd):a2.default.getSelection?(o2=a2.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==e3&&o2.commonAncestorContainer!==e3||(t3=o2.startOffset,n3=o2.endOffset):document.selection&&document.selection.createRange&&(n3=(t3=0-(o2=document.selection.createRange()).duplicate().moveStart("character",-e3.inputmask._valueGet().length))+o2.text.length),{begin:i3?t3:f.call(s2,t3),end:i3?n3:f.call(s2,n3)};if(Array.isArray(t3)&&(n3=s2.isRTL?t3[0]:t3[1],t3=s2.isRTL?t3[1]:t3[0]),t3.begin!==void 0&&(n3=s2.isRTL?t3.begin:t3.end,t3=s2.isRTL?t3.end:t3.begin),typeof t3=="number"){t3=i3?t3:f.call(s2,t3),n3=typeof(n3=i3?n3:f.call(s2,n3))=="number"?n3:t3;var c2=parseInt(((e3.ownerDocument.defaultView||a2.default).getComputedStyle?(e3.ownerDocument.defaultView||a2.default).getComputedStyle(e3,null):e3.currentStyle).fontSize)*n3;if(e3.scrollLeft=c2>e3.scrollWidth?c2:0,e3.inputmask.caretPos={begin:t3,end:n3},l2.insertModeVisual&&l2.insertMode===!1&&t3===n3&&(r2||n3++),e3===(e3.inputmask.shadowRoot||e3.ownerDocument).activeElement){if("setSelectionRange"in e3)e3.setSelectionRange(t3,n3);else if(a2.default.getSelection){if(o2=document.createRange(),e3.firstChild===void 0||e3.firstChild===null){var u2=document.createTextNode("");e3.appendChild(u2)}o2.setStart(e3.firstChild,t3<e3.inputmask._valueGet().length?t3:e3.inputmask._valueGet().length),o2.setEnd(e3.firstChild,n3<e3.inputmask._valueGet().length?n3:e3.inputmask._valueGet().length),o2.collapse(!0);var p=a2.default.getSelection();p.removeAllRanges(),p.addRange(o2)}else e3.createTextRange&&((o2=e3.createTextRange()).collapse(!0),o2.moveEnd("character",n3),o2.moveStart("character",t3),o2.select());e3.inputmask.caretHook===void 0||e3.inputmask.caretHook.call(s2,{begin:t3,end:n3})}}},t2.determineLastRequiredPosition=function(e3){var t3,n3,i3=this,a3=i3.maskset,s2=i3.dependencyLib,c2=l.call(i3),u2={},f2=a3.validPositions[c2],p=o.getMaskTemplate.call(i3,!0,l.call(i3),!0,!0),d=p.length,h=f2!==void 0?f2.locator.slice():void 0;for(t3=c2+1;t3<p.length;t3++)h=(n3=o.getTestTemplate.call(i3,t3,h,t3-1)).locator.slice(),u2[t3]=s2.extend(!0,{},n3);var m=f2&&f2.alternation!==void 0?f2.locator[f2.alternation]:void 0;for(t3=d-1;t3>c2&&((n3=u2[t3]).match.optionality||n3.match.optionalQuantifier&&n3.match.newBlockMarker||m&&(m!==u2[t3].locator[f2.alternation]&&n3.match.static!==!0||n3.match.static===!0&&n3.locator[f2.alternation]&&r.checkAlternationMatch.call(i3,n3.locator[f2.alternation].toString().split(","),m.toString().split(","))&&o.getTests.call(i3,t3)[0].def!==""))&&p[t3]===o.getPlaceholder.call(i3,t3,n3.match);t3--)d--;return e3?{l:d,def:u2[d]?u2[d].match:void 0}:d},t2.determineNewCaretPosition=function(e3,t3,n3){var i3,a3,r2,f2=this,p=f2.maskset,d=f2.opts;
18if(t3&&(f2.isRTL?e3.end=e3.begin:e3.begin=e3.end),e3.begin===e3.end){switch(n3=n3||d.positionCaretOnClick){case"none":break;case"select":e3={begin:0,end:s.call(f2).length};break;case"ignore":e3.end=e3.begin=u.call(f2,l.call(f2));break;case"radixFocus":if(f2.clicked>1&&p.validPositions.length===0)break;if(function(e4){if(d.radixPoint!==""&&d.digits!==0){var t4=p.validPositions;if(t4[e4]===void 0||t4[e4].input===void 0){if(e4<u.call(f2,-1))return!0;var n4=s.call(f2).indexOf(d.radixPoint);if(n4!==-1){for(var i4=0,a4=t4.length;i4<a4;i4++)if(t4[i4]&&n4<i4&&t4[i4].input!==o.getPlaceholder.call(f2,i4))return!1;return!0}}}return!1}(e3.begin)){var h=s.call(f2).join("").indexOf(d.radixPoint);e3.end=e3.begin=d.numericInput?u.call(f2,h):h;break}default:if(i3=e3.begin,a3=l.call(f2,i3,!0),i3<=(r2=u.call(f2,a3!==-1||c.call(f2,0)?a3:-1)))e3.end=e3.begin=c.call(f2,i3,!1,!0)?i3:u.call(f2,i3);else{var m=p.validPositions[a3],v=o.getTestTemplate.call(f2,r2,m?m.match.locator:void 0,m),g=o.getPlaceholder.call(f2,r2,v.match);if(g!==""&&s.call(f2)[r2]!==g&&v.match.optionalQuantifier!==!0&&v.match.newBlockMarker!==!0||!c.call(f2,r2,d.keepStatic,!0)&&v.match.def===g){var y=u.call(f2,r2);(i3>=y||i3===r2)&&(r2=y)}e3.end=e3.begin=r2}}return e3}},t2.getBuffer=s,t2.getBufferTemplate=function(){var e3=this.maskset;return e3._buffer===void 0&&(e3._buffer=o.getMaskTemplate.call(this,!1,1),e3.buffer===void 0&&(e3.buffer=e3._buffer.slice())),e3._buffer},t2.getLastValidPosition=l,t2.isMask=c,t2.resetMaskSet=function(e3){var t3=this.maskset;t3.buffer=void 0,e3!==!0&&(t3.validPositions=[],t3.p=0),e3===!1&&(t3.tests={},t3.jitOffset={})},t2.seekNext=u,t2.seekPrevious=function(e3,t3){var n3=this,i3=e3-1;if(e3<=0)return 0;for(;i3>0&&(t3===!0&&(o.getTest.call(n3,i3).match.newBlockMarker!==!0||!c.call(n3,i3,void 0,!0))||t3!==!0&&!c.call(n3,i3,void 0,!0));)i3--;return i3},t2.translatePosition=f;var i2,a2=(i2=n2(9380))&&i2.__esModule?i2:{default:i2},r=n2(7215),o=n2(4713);function s(e3){var t3=this,n3=t3.maskset;return n3.buffer!==void 0&&e3!==!0||(n3.buffer=o.getMaskTemplate.call(t3,!0,l.call(t3),!0),n3._buffer===void 0&&(n3._buffer=n3.buffer.slice())),n3.buffer}function l(e3,t3,n3){var i3=this.maskset,a3=-1,r2=-1,o2=n3||i3.validPositions;e3===void 0&&(e3=-1);for(var s2=0,l2=o2.length;s2<l2;s2++)o2[s2]&&(t3||o2[s2].generatedInput!==!0)&&(s2<=e3&&(a3=s2),s2>=e3&&(r2=s2));return a3===-1||a3===e3?r2:r2===-1||e3-a3<r2-e3?a3:r2}function c(e3,t3,n3){var i3=this,a3=this.maskset,r2=o.getTestTemplate.call(i3,e3).match;if(r2.def===""&&(r2=o.getTest.call(i3,e3).match),r2.static!==!0)return r2.fn;if(n3===!0&&a3.validPositions[e3]!==void 0&&a3.validPositions[e3].generatedInput!==!0)return!0;if(t3!==!0&&e3>-1){if(n3){var s2=o.getTests.call(i3,e3);return s2.length>1+(s2[s2.length-1].match.def===""?1:0)}var l2=o.determineTestTemplate.call(i3,e3,o.getTests.call(i3,e3)),c2=o.getPlaceholder.call(i3,e3,l2.match);return l2.match.def!==c2}return!1}function u(e3,t3,n3){var i3=this;n3===void 0&&(n3=!0);for(var a3=e3+1;o.getTest.call(i3,a3).match.def!==""&&(t3===!0&&(o.getTest.call(i3,a3).match.newBlockMarker!==!0||!c.call(i3,a3,void 0,!0))||t3!==!0&&!c.call(i3,a3,void 0,n3));)a3++;return a3}function f(e3){var t3=this.opts,n3=this.el;return!this.isRTL||typeof e3!="number"||t3.greedy&&t3.placeholder===""||!n3||(e3=this._valueGet().length-e3)<0&&(e3=0),e3}},4713:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.determineTestTemplate=f,t2.getDecisionTaker=l,t2.getMaskTemplate=function(e3,t3,n3,i3,a3){var r2=this,o2=this.opts,s2=this.maskset,l2=o2.greedy;a3&&o2.greedy&&(o2.greedy=!1,r2.maskset.tests={}),t3=t3||0;var p2,d2,m,v,g=[],y=0;do{if(e3===!0&&s2.validPositions[y])d2=(m=a3&&s2.validPositions[y].match.optionality&&s2.validPositions[y+1]===void 0&&(s2.validPositions[y].generatedInput===!0||s2.validPositions[y].input==o2.skipOptionalPartCharacter&&y>0)?f.call(r2,y,h.call(r2,y,p2,y-1)):s2.validPositions[y]).match,p2=m.locator.slice(),g.push(n3===!0?m.input:n3===!1?d2.nativeDef:c.call(r2,y,d2));else{d2=(m=u.call(r2,y,p2,y-1)).match,p2=m.locator.slice();var k=i3!==!0&&(o2.jitMasking!==!1?o2.jitMasking:d2.jit);(v=(v||s2.validPositions[y-1])&&d2.static&&d2.def!==o2.groupSeparator&&d2.fn===null)||k===!1||k===void 0||typeof k=="number"&&isFinite(k)&&k>y?g.push(n3===!1?d2.nativeDef:c.call(r2,g.length,d2)):v=!1}y++}while(d2.static!==!0||d2.def!==""||t3>y);return g[g.length-1]===""&&g.pop(),n3===!1&&s2.maskLength!==void 0||(s2.maskLength=y-1),o2.greedy=l2,g},t2.getPlaceholder=c,t2.getTest=p,t2.getTestTemplate=u,t2.getTests=h,t2.isSubsetOf=d;
18var i2,a2=(i2=n2(2394))&&i2.__esModule?i2:{default:i2},r=n2(8711);function o(e3){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},o(e3)}function s(e3,t3){var n3=(e3.alternation!=null?e3.mloc[l(e3)]:e3.locator).join("");if(n3!=="")for(n3=n3.split(":")[0];n3.length<t3;)n3+="0";return n3}function l(e3){var t3=e3.locator[e3.alternation];return typeof t3=="string"&&t3.length>0&&(t3=t3.split(",")[0]),t3!==void 0?t3.toString():""}function c(e3,t3,n3){var i3=this,a3=this.opts,s2=this.maskset;if((t3=t3||p.call(i3,e3).match).placeholder!==void 0||n3===!0){if(t3.placeholder!==""&&t3.static===!0&&t3.generated!==!0){var l2=r.getLastValidPosition.call(i3,e3),c2=r.seekNext.call(i3,l2);return(n3?e3<=c2:e3<c2)?a3.staticDefinitionSymbol&&t3.static?t3.nativeDef:t3.def:typeof t3.placeholder=="function"?t3.placeholder(a3):t3.placeholder}return typeof t3.placeholder=="function"?t3.placeholder(a3):t3.placeholder}if(t3.static===!0){if(e3>-1&&s2.validPositions[e3]===void 0){var u2,f2=h.call(i3,e3),d2=[];if(typeof a3.placeholder=="string"&&f2.length>1+(f2[f2.length-1].match.def===""?1:0)){for(var m=0;m<f2.length;m++)if(f2[m].match.def!==""&&f2[m].match.optionality!==!0&&f2[m].match.optionalQuantifier!==!0&&(f2[m].match.static===!0||u2===void 0||f2[m].match.fn.test(u2.match.def,s2,e3,!0,a3)!==!1)&&(d2.push(f2[m]),f2[m].match.static===!0&&(u2=f2[m]),d2.length>1&&/[0-9a-bA-Z]/.test(d2[0].match.def)))return a3.placeholder.charAt(e3%a3.placeholder.length)}}return t3.def}return o(a3.placeholder)==="object"?t3.def:a3.placeholder.charAt(e3%a3.placeholder.length)}function u(e3,t3,n3){return this.maskset.validPositions[e3]||f.call(this,e3,h.call(this,e3,t3&&t3.slice(),n3))}function f(e3,t3){var n3=this.opts,i3=0,a3=function(e4,t4){var n4=0,i4=!1;return t4.forEach(function(e5){e5.match.optionality&&(n4!==0&&n4!==e5.match.optionality&&(i4=!0),(n4===0||n4>e5.match.optionality)&&(n4=e5.match.optionality))}),n4&&(e4==0||t4.length==1?n4=0:i4||(n4=0)),n4}(e3,t3);e3=e3>0?e3-1:0;var r2,o2,l2,c2=s(p.call(this,e3));n3.greedy&&t3.length>1&&t3[t3.length-1].match.def===""&&(i3=1);for(var u2=0;u2<t3.length-i3;u2++){var f2=t3[u2];r2=s(f2,c2.length);var d2=Math.abs(r2-c2);(f2.unMatchedAlternationStopped!==!0||t3.filter(function(e4){return e4.unMatchedAlternationStopped!==!0}).length<=1)&&(o2===void 0||r2!==""&&d2<o2||l2&&!n3.greedy&&l2.match.optionality&&l2.match.optionality-a3>0&&l2.match.newBlockMarker==="master"&&(!f2.match.optionality||f2.match.optionality-a3<1||!f2.match.newBlockMarker)||l2&&!n3.greedy&&l2.match.optionalQuantifier&&!f2.match.optionalQuantifier)&&(o2=d2,l2=f2)}return l2}function p(e3,t3){var n3=this.maskset;return n3.validPositions[e3]?n3.validPositions[e3]:(t3||h.call(this,e3))[0]}function d(e3,t3,n3){function i3(e4){for(var t4,n4=[],i4=-1,a3=0,r2=e4.length;a3<r2;a3++)if(e4.charAt(a3)==="-")for(t4=e4.charCodeAt(a3+1);++i4<t4;)n4.push(String.fromCharCode(i4));else i4=e4.charCodeAt(a3),n4.push(e4.charAt(a3));return n4.join("")}return e3.match.def===t3.match.nativeDef||!(!(n3.regex||e3.match.fn instanceof RegExp&&t3.match.fn instanceof RegExp)||e3.match.static===!0||t3.match.static===!0)&&(t3.match.fn.source==="."||i3(t3.match.fn.source.replace(/[[\]/]/g,"")).indexOf(i3(e3.match.fn.source.replace(/[[\]/]/g,"")))!==-1)}function h(e3,t3,n3){var i3,r2,o2=this,s2=this.dependencyLib,l2=this.maskset,c2=this.opts,u2=this.el,p2=l2.maskToken,h2=t3?n3:0,m=t3?t3.slice():[0],v=[],g=!1,y=t3?t3.join(""):"",k=!1;function b(t4,n4,r3,s3){function f2(r4,s4,p4){function m3(e4,t5){var n5=t5.matches.indexOf(e4)===0;return n5||t5.matches.every(function(i4,a3){return i4.isQuantifier===!0?n5=m3(e4,t5.matches[a3-1]):Object.prototype.hasOwnProperty.call(i4,"matches")&&(n5=m3(e4,i4)),!n5}),n5}function w2(e4,t5,n5){var i4,a3;if((l2.tests[e4]||l2.validPositions[e4])&&(l2.validPositions[e4]?[l2.validPositions[e4]]:l2.tests[e4]).every(function(e5,r6){if(e5.mloc[t5])return i4=e5,!1;var o4=n5!==void 0?n5:e5.alternation,s5=e5.locator[o4]!==void 0?e5.locator[o4].toString().indexOf(t5):-1;return(a3===void 0||s5<a3)&&s5!==-1&&(i4=e5,a3=s5),!0}),i4){var r5=i4.locator[i4.alternation],o3=i4.mloc[t5]||i4.mloc[r5]||i4.locator;return o3[o3.length-1].toString().indexOf(":")!==-1&&o3.pop(),o3.slice((n5!==void 0?n5:i4.alternation)+1)}return n5!==void 0?w2(e4,t5):void 0}function P2(t5,n5){return t5.match.static===!0&&n5.match.static!==!0&&n5.match.fn.test(t5.match.def,l2,e3,!1,c2,!1)}function S2(e4,t5){var n5=e4.alternation,i4=t5===void 0||n5<=t5.alternation&&e4.locator[n5].toString().indexOf(t5.locator[n5])===-1;if(!i4&&n5>t5.alternation){for(var a3=0;a3<n5;a3++)if(e4.locator[a3]!==t5.locator[a3]){n5=a3,i4=!0;break}}return!!i4&&function(n6){e4.mloc=e4.mloc||{};var i5=e4.locator[n6];if(i5!==void 0){if(typeof i5=="string"&&(i5=i5.split(",")[0]),e4.mloc[i5]===void 0&&(e4.mloc[i5]=e4.locator.slice(),e4.mloc[i5].push(":".concat(e4.alternation))),t5!==void 0){for(var a4 in t5.mloc)typeof a4=="string"&&(a4=parseInt(a4.split(",")[0])),e4.mloc[a4+0]=t5.mloc[a4];e4.locator[n6]=Object.keys(e4.mloc).join(",")}return e4.alternation>n6&&(e4.alternation=n6),!0}return e4.alternation=void 0,!1}(n5)}function O(e4,t5){if(e4.locator.length!==t5.locator.length)return!1;for(var n5=e4.alternation+1;n5<e4.locator.length;n5++)if(e4.locator[n5]!==t5.locator[n5])return!1;return!0}if(h2>e3+c2._maxTestPos)throw new Error("Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. ".concat(l2.mask));if(h2===e3&&r4.matches===void 0){if(v.push({match:r4,locator:s4.reverse(),cd:y,mloc:{}}),!r4.optionality||p4!==void 0||!(c2.definitions&&c2.definitions[r4.n
18ativeDef]&&c2.definitions[r4.nativeDef].optional||a2.default.prototype.definitions[r4.nativeDef]&&a2.default.prototype.definitions[r4.nativeDef].optional))return!0;g=!0,h2=e3}else if(r4.matches!==void 0){if(r4.isGroup&&p4!==r4)return function(){if(r4=f2(t4.matches[t4.matches.indexOf(r4)+1],s4,p4))return!0}();if(r4.isOptional)return function(){var t5=r4,a3=v.length;if(r4=b(r4,n4,s4,p4),v.length>0){if(v.forEach(function(e4,t6){t6>=a3&&(e4.match.optionality=e4.match.optionality?e4.match.optionality+1:1)}),i3=v[v.length-1].match,p4!==void 0||!m3(i3,t5))return r4;g=!0,h2=e3}}();if(r4.isAlternator)return function(){function i4(e4){for(var t5,n5=e4.matches[0].matches?e4.matches[0].matches.length:1,i5=0;i5<e4.matches.length&&n5===(t5=e4.matches[i5].matches?e4.matches[i5].matches.length:1);i5++);return n5!==t5}o2.hasAlternator=!0;var a3,m4=r4,y2=[],b2=v.slice(),x2=s4.length,M=n4.length>0?n4.shift():-1;if(M===-1||typeof M=="string"){var _,E=h2,j=n4.slice(),T=[];if(typeof M=="string")T=M.split(",");else for(_=0;_<m4.matches.length;_++)T.push(_.toString());if(l2.excludes[e3]!==void 0){for(var A=T.slice(),D=0,L=l2.excludes[e3].length;D<L;D++){var C=l2.excludes[e3][D].toString().split(":");s4.length==C[1]&&T.splice(T.indexOf(C[0]),1)}T.length===0&&(delete l2.excludes[e3],T=A)}(c2.keepStatic===!0||isFinite(parseInt(c2.keepStatic))&&E>=c2.keepStatic)&&(T=T.slice(0,1));for(var B=0;B<T.length;B++){_=parseInt(T[B]),v=[],n4=typeof M=="string"&&w2(h2,_,x2)||j.slice();var I=m4.matches[_];if(I&&f2(I,[_].concat(s4),p4))r4=!0;else if(B===0&&(k=i4(m4)),I&&I.matches&&I.matches.length>m4.matches[0].matches.length)break;a3=v.slice(),h2=E,v=[];for(var R=0;R<a3.length;R++){var F=a3[R],N=!1;F.alternation=F.alternation||x2,S2(F);for(var V=0;V<y2.length;V++){var G=y2[V];if(typeof M!="string"||F.alternation!==void 0&&T.includes(F.locator[F.alternation].toString())){if(F.match.nativeDef===G.match.nativeDef){N=!0,S2(G,F);break}if(d(F,G,c2)){S2(F,G)&&(N=!0,y2.splice(y2.indexOf(G),0,F));break}if(d(G,F,c2)){S2(G,F);break}if(P2(F,G)){O(F,G)||u2.inputmask.userOptions.keepStatic!==void 0?S2(F,G)&&(N=!0,y2.splice(y2.indexOf(G),0,F)):c2.keepStatic=!0;break}if(P2(G,F)){S2(G,F);break}}}N||y2.push(F)}}v=b2.concat(y2),h2=e3,g=v.length>0&&k,r4=y2.length>0&&!k,k&&g&&!r4&&v.forEach(function(e4,t5){e4.unMatchedAlternationStopped=!0}),n4=j.slice()}else r4=f2(m4.matches[M]||t4.matches[M],[M].concat(s4),p4);if(r4)return!0}();if(r4.isQuantifier&&p4!==t4.matches[t4.matches.indexOf(r4)-1])return function(){for(var a3=r4,o3=!1,u3=n4.length>0?n4.shift():0;u3<(isNaN(a3.quantifier.max)?u3+1:a3.quantifier.max)&&h2<=e3;u3++){var p5=t4.matches[t4.matches.indexOf(a3)-1];if(r4=f2(p5,[u3].concat(s4),p5)){if(v.forEach(function(t5,n5){(i3=x(p5,t5.match)?t5.match:v[v.length-1].match).optionalQuantifier=u3>=a3.quantifier.min,i3.jit=(u3+1)*(p5.matches.indexOf(i3)+1)>a3.quantifier.jit,i3.optionalQuantifier&&m3(i3,p5)&&(g=!0,h2=e3,c2.greedy&&l2.validPositions[e3-1]==null&&u3>a3.quantifier.min&&["*","+"].indexOf(a3.quantifier.max)!=-1&&(v.pop(),y=void 0),o3=!0,r4=!1),!o3&&i3.jit&&(l2.jitOffset[e3]=p5.matches.length-p5.matches.indexOf(i3))}),o3)break;return!0}}}();if(r4=b(r4,n4,s4,p4))return!0}else h2++}for(var p3=n4.length>0?n4.shift():0;p3<t4.matches.length;p3++)if(t4.matches[p3].isQuantifier!==!0){var m2=f2(t4.matches[p3],[p3].concat(r3),s3);if(m2&&h2===e3)return m2;if(h2>e3)break}}function x(e4,t4){var n4=e4.matches.indexOf(t4)!=-1;return n4||e4.matches.forEach(function(e5,i4){e5.matches===void 0||n4||(n4=x(e5,t4))}),n4}if(e3>-1){if(t3===void 0){for(var w,P=e3-1;(w=l2.validPositions[P]||l2.tests[P])===void 0&&P>-1;)P--;w!==void 0&&P>-1&&(m=function(e4,t4){var n4,i4=[];return Array.isArray(t4)||(t4=[t4]),t4.length>0&&(t4[0].alternation===void 0||c2.keepStatic===!0?(i4=f.call(o2,e4,t4.slice()).locator.slice()).length===0&&(i4=t4[0].locator.slice()):t4.forEach(function(e5){e5.def!==""&&(i4.length===0?(n4=e5.alternation,i4=e5.locator.slice()):e5.locator[n4]&&i4[n4].toString().indexOf(e5.locator[n4])===-1&&(i4[n4]+=","+e5.locator[n4]))})),i4}(P,w),y=m.join(""),h2=P)}if(l2.tests[e3]&&l2.tests[e3][0].cd===y)return l2.tests[e3];for(var S=m.shift();S<p2.length&&!(b(p2[S],m,[S])&&h2===e3||h2>e3);S++);}
18return(v.length===0||g)&&v.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:k&&v.filter(function(e4){return e4.unMatchedAlternationStopped!==!0}).length===0?[0]:[],mloc:{},cd:y}),t3!==void 0&&l2.tests[e3]?r2=s2.extend(!0,[],v):(l2.tests[e3]=s2.extend(!0,[],v),r2=l2.tests[e3]),v.forEach(function(e4){e4.match.optionality=e4.match.defOptionality||!1}),r2}},7215:function(e2,t2,n2){Object.defineProperty(t2,"__esModule",{value:!0}),t2.alternate=s,t2.checkAlternationMatch=function(e3,t3,n3){for(var i3,a3=this.opts.greedy?t3:t3.slice(0,1),r2=!1,o2=n3!==void 0?n3.split(","):[],s2=0;s2<o2.length;s2++)(i3=e3.indexOf(o2[s2]))!==-1&&e3.splice(i3,1);for(var l2=0;l2<e3.length;l2++)if(a3.includes(e3[l2])){r2=!0;break}return r2},t2.handleRemove=function(e3,t3,n3,i3,l2){var c2=this,u2=this.maskset,f2=this.opts;if((f2.numericInput||c2.isRTL)&&(t3===a2.keys.Backspace?t3=a2.keys.Delete:t3===a2.keys.Delete&&(t3=a2.keys.Backspace),c2.isRTL)){var p2=n3.end;n3.end=n3.begin,n3.begin=p2}var d2,h2=r.getLastValidPosition.call(c2,void 0,!0);n3.end>=r.getBuffer.call(c2).length&&h2>=n3.end&&(n3.end=h2+1),t3===a2.keys.Backspace?n3.end-n3.begin<1&&(n3.begin=r.seekPrevious.call(c2,n3.begin)):t3===a2.keys.Delete&&n3.begin===n3.end&&(n3.end=r.isMask.call(c2,n3.end,!0,!0)?n3.end+1:r.seekNext.call(c2,n3.end)+1),(d2=m.call(c2,n3))!==!1&&((i3!==!0&&f2.keepStatic!==!1||f2.regex!==null&&o.getTest.call(c2,n3.begin).match.def.indexOf("|")!==-1)&&s.call(c2,!0),i3!==!0&&(u2.p=t3===a2.keys.Delete?n3.begin+d2:n3.begin,u2.p=r.determineNewCaretPosition.call(c2,{begin:u2.p,end:u2.p},!1,f2.insertMode===!1&&t3===a2.keys.Backspace?"none":void 0).begin))},t2.isComplete=c,t2.isSelection=u,t2.isValid=f,t2.refreshFromBuffer=d,t2.revalidateMask=m;var i2=n2(6030),a2=n2(2839),r=n2(8711),o=n2(4713);function s(e3,t3,n3,i3,a3,l2){var c2=this,u2=this.dependencyLib,p2=this.opts,d2=c2.maskset;if(!c2.hasAlternator)return!1;var h2,m2,v,g,y,k,b,x,w,P,S,O=u2.extend(!0,[],d2.validPositions),M=u2.extend(!0,{},d2.tests),_=!1,E=!1,j=a3!==void 0?a3:r.getLastValidPosition.call(c2);if(l2&&(P=l2.begin,S=l2.end,l2.begin>l2.end&&(P=l2.end,S=l2.begin)),j===-1&&a3===void 0)h2=0,m2=(g=o.getTest.call(c2,h2)).alternation;else for(;j>=0;j--)if((v=d2.validPositions[j])&&v.alternation!==void 0){if(j<=(e3||0)&&g&&g.locator[v.alternation]!==v.locator[v.alternation])break;h2=j,m2=d2.validPositions[h2].alternation,g=v}if(m2!==void 0){b=parseInt(h2),d2.excludes[b]=d2.excludes[b]||[],e3!==!0&&d2.excludes[b].push((0,o.getDecisionTaker)(g)+":"+g.alternation);var T=[],A=-1;for(y=b;b<r.getLastValidPosition.call(c2,void 0,!0)+1;y++)A===-1&&e3<=y&&t3!==void 0&&(T.push(t3),A=T.length-1),(k=d2.validPositions[b])&&k.generatedInput!==!0&&(l2===void 0||y<P||y>=S)&&T.push(k.input),d2.validPositions.splice(b,1);for(A===-1&&t3!==void 0&&(T.push(t3),A=T.length-1);d2.excludes[b]!==void 0&&d2.excludes[b].length<10;){for(d2.tests={},r.resetMaskSet.call(c2,!0),_=!0,y=0;y<T.length&&(x=_.caret||p2.insertMode==0&&x!=null?r.seekNext.call(c2,x):r.getLastValidPosition.call(c2,void 0,!0)+1,w=T[y],_=f.call(c2,x,w,!1,i3,!0));y++)y===A&&(E=_),e3==1&&_&&(E={caretPos:y});if(_)break;if(r.resetMaskSet.call(c2),g=o.getTest.call(c2,b),d2.validPositions=u2.extend(!0,[],O),d2.tests=u2.extend(!0,{}
18,M),!d2.excludes[b]){E=s.call(c2,e3,t3,n3,i3,b-1,l2);break}if(g.alternation!=null){var D=(0,o.getDecisionTaker)(g);if(d2.excludes[b].indexOf(D+":"+g.alternation)!==-1){E=s.call(c2,e3,t3,n3,i3,b-1,l2);break}for(d2.excludes[b].push(D+":"+g.alternation),y=b;y<r.getLastValidPosition.call(c2,void 0,!0)+1;y++)d2.validPositions.splice(b)}else delete d2.excludes[b]}}return E&&p2.keepStatic===!1||delete d2.excludes[b],E}function l(e3,t3,n3){var i3=this.opts,r2=this.maskset;switch(i3.casing||t3.casing){case"upper":e3=e3.toUpperCase();break;case"lower":e3=e3.toLowerCase();break;case"title":var o2=r2.validPositions[n3-1];e3=n3===0||o2&&o2.input===String.fromCharCode(a2.keyCode.Space)?e3.toUpperCase():e3.toLowerCase();break;default:if(typeof i3.casing=="function"){var s2=Array.prototype.slice.call(arguments);s2.push(r2.validPositions),e3=i3.casing.apply(this,s2)}}return e3}function c(e3){var t3=this,n3=this.opts,i3=this.maskset;if(typeof n3.isComplete=="function")return n3.isComplete(e3,n3);if(n3.repeat!=="*"){var a3=!1,s2=r.determineLastRequiredPosition.call(t3,!0),l2=s2.l;if(s2.def===void 0||s2.def.newBlockMarker||s2.def.optionality||s2.def.optionalQuantifier){a3=!0;for(var c2=0;c2<=l2;c2++){var u2=o.getTestTemplate.call(t3,c2).match;if(u2.static!==!0&&i3.validPositions[c2]===void 0&&(u2.optionality===!1||u2.optionality===void 0||u2.optionality&&u2.newBlockMarker==0)&&(u2.optionalQuantifier===!1||u2.optionalQuantifier===void 0)||u2.static===!0&&u2.def!=""&&e3[c2]!==o.getPlaceholder.call(t3,c2,u2)){a3=!1;break}}}return a3}}function u(e3){var t3=this.opts.insertMode?0:1;return this.isRTL?e3.begin-e3.end>t3:e3.end-e3.begin>t3}function f(e3,t3,n3,i3,a3,p2,v){var g=this,y=this.dependencyLib,k=this.opts,b=g.maskset;n3=n3===!0;var x=e3;function w(e4){if(e4!==void 0){if(e4.remove!==void 0&&(Array.isArray(e4.remove)||(e4.remove=[e4.remove]),e4.remove.sort(function(e5,t5){return g.isRTL?e5.pos-t5.pos:t5.pos-e5.pos}).forEach(function(e5){m.call(g,{begin:e5,end:e5+1})}),e4.remove=void 0),e4.insert!==void 0&&(Array.isArray(e4.insert)||(e4.insert=[e4.insert]),e4.insert.sort(function(e5,t5){return g.isRTL?t5.pos-e5.pos:e5.pos-t5.pos}).forEach(function(e5){e5.c!==""&&f.call(g,e5.pos,e5.c,e5.strict===void 0||e5.strict,e5.fromIsValid!==void 0?e5.fromIsValid:i3)}),e4.insert=void 0),e4.refreshFromBuffer&&e4.buffer){var t4=e4.refreshFromBuffer;d.call(g,t4===!0?t4:t4.start,t4.end,e4.buffer),e4.refreshFromBuffer=void 0}e4.rewritePosition!==void 0&&(x=e4.rewritePosition,e4=!0)}return e4}function P(t4,n4,a4){var s2=!1;return o.getTests.call(g,t4).every(function(c2,f2){var p3=c2.match;if(r.getBuffer.call(g,!0),(s2=(!p3.jit||b.validPositions[r.seekPrevious.call(g,t4)]!==void 0)&&(p3.fn!=null?p3.fn.test(n4,b,t4,a4,k,u.call(g,e3)):(n4===p3.def||n4===k.skipOptionalPartCharacter)&&p3.def!==""&&{c:o.getPlaceholder.call(g,t4,p3,!0)||p3.def,pos:t4}))!==!1){var d2=s2.c!==void 0?s2.c:n4,h2=t4;return d2=d2===k.skipOptionalPartCharacter&&p3.static===!0?o.getPlaceholder.call(g,t4,p3,!0)||p3.def:d2,(s2=w(s2))!==!0&&s2.pos!==void 0&&s2.pos!==t4&&(h2=s2.pos),s2!==!0&&s2.pos===void 0&&s2.c===void 0||m.call(g,e3,y.extend({},c2,{input:l.call(g,d2,p3,h2)}),i3,h2)===!1&&(s2=!1),!1}return!0}),s2}e3.begin!==void 0&&(x=g.isRTL?e3.end:e3.begin);var S=!0,O=y.extend(!0,[],b.validPositions);if(k.keepStatic===!1&&b.excludes[x]!==void 0&&a3!==!0&&i3!==!0)for(var M=x;M<(g.isRTL?e3.begin:e3.end);M++)b.excludes[M]!==void 0&&(b.excludes[M]=void 0,delete b.tests[M]);if(typeof k.preValidation=="function"&&i3!==!0&&p2!==!0&&(S=w(S=k.preValidation.call(g,r.getBuffer.call(g),x,t3,u.call(g,e3),k,b,e3,n3||a3))),S===!0){if(S=P(x,t3,n3),(!n3||i3===!0)&&S===!1&&p2!==!0){var _=b.validPositions[x];if(!_||_.match.static!==!0||_.match.def!==t3&&t3!==k.skipOptionalPartCharacter){if(k.insertMode||b.validPositions[r.seekNext.call(g,x)]===void 0||e3.end>x){var E=!1;if(b.jitOffset[x]&&b.validPositions[r.seekNext.call(g,x)]===void 0&&(S=f.call(g,x+b.jitOffset[x],t3,!0,!0))!==!1&&(a3!==!0&&(S.caret=x),E=!0),e3.end>x&&(b.validPositions[x]=void 0),!E&&!r.isMask.call(g,x,k.keepStatic&&x===0)){for(var j=x+1,T=r.seekNext.call(g,x,!1,x!==0);j<=T;j++)if((S=P(j,t3,n3))!==!1){S=h.call(g,x,S.pos!==void 0?S.pos:j)||S,x=j;break}}}}else S={caret:r.seekNext.call(g,x)}}g.hasAlternator&&a3!==!0&&!n3&&(a3=!0,S===!1&&k.keepStatic&&(c.call(g,r.getBuffer.call(g))||x===0)?S=s.call(g,x,t3,n3,i3,void 0,e3):(u.call(g,e3)&&b.tests[x]&&b.tests[x].length>1&&k.keepStatic||S==1&&k.numericInput!==!0&&b.tests[x]&&b.tests[x].length>1&&r.getLastValidPosition.call(g,void 0,!0)>
18x)&&(S=s.call(g,!0))),S===!0&&(S={pos:x})}if(typeof k.postValidation=="function"&&i3!==!0&&p2!==!0){var A=k.postValidation.call(g,r.getBuffer.call(g,!0),e3.begin!==void 0?g.isRTL?e3.end:e3.begin:e3,t3,S,k,b,n3,v);A!==void 0&&(S=A===!0?S:A)}S&&S.pos===void 0&&(S.pos=x),S===!1||p2===!0?(r.resetMaskSet.call(g,!0),b.validPositions=y.extend(!0,[],O)):h.call(g,void 0,x,!0);var D=w(S);return g.maxLength!==void 0&&r.getBuffer.call(g).length>g.maxLength&&!i3&&(r.resetMaskSet.call(g,!0),b.validPositions=y.extend(!0,[],O),D=!1),D}function p(e3,t3,n3){for(var i3=this.maskset,a3=!1,r2=o.getTests.call(this,e3),s2=0;s2<r2.length;s2++){if(r2[s2].match&&(r2[s2].match.nativeDef===t3.match[n3.shiftPositions?"def":"nativeDef"]&&(!n3.shiftPositions||!t3.match.static)||r2[s2].match.nativeDef===t3.match.nativeDef||n3.regex&&!r2[s2].match.static&&r2[s2].match.fn.test(t3.input,i3,e3,!1,n3))){a3=!0;break}if(r2[s2].match&&r2[s2].match.def===t3.match.nativeDef){a3=void 0;break}}return a3===!1&&i3.jitOffset[e3]!==void 0&&(a3=p.call(this,e3+i3.jitOffset[e3],t3,n3)),a3}function d(e3,t3,n3){var a3,o2,s2=this,l2=this.maskset,c2=this.opts,u2=this.dependencyLib,f2=c2.skipOptionalPartCharacter,p2=s2.isRTL?n3.slice().reverse():n3;if(c2.skipOptionalPartCharacter="",e3===!0)r.resetMaskSet.call(s2,!1),e3=0,t3=n3.length,o2=r.determineNewCaretPosition.call(s2,{begin:0,end:0},!1).begin;else{for(a3=e3;a3<t3;a3++)l2.validPositions.splice(e3,0);o2=e3}var d2=new u2.Event("keypress");for(a3=e3;a3<t3;a3++){d2.key=p2[a3].toString(),s2.ignorable=!1;var h2=i2.EventHandlers.keypressEvent.call(s2,d2,!0,!1,!1,o2);h2!==!1&&h2!==void 0&&(o2=h2.forwardPosition)}c2.skipOptionalPartCharacter=f2}function h(e3,t3,n3){var i3=this,a3=this.maskset,s2=this.dependencyLib;if(e3===void 0)for(e3=t3-1;e3>0&&!a3.validPositions[e3];e3--);for(var l2=e3;l2<t3;l2++)if(a3.validPositions[l2]===void 0&&!r.isMask.call(i3,l2,!1)&&(l2==0?o.getTest.call(i3,l2):a3.validPositions[l2-1])){var c2=o.getTests.call(i3,l2).slice();c2[c2.length-1].match.def===""&&c2.pop();var u2,p2=o.determineTestTemplate.call(i3,l2,c2);if(p2&&(p2.match.jit!==!0||p2.match.newBlockMarker==="master"&&(u2=a3.validPositions[l2+1])&&u2.match.optionalQuantifier===!0)&&((p2=s2.extend({},p2,{input:o.getPlaceholder.call(i3,l2,p2.match,!0)||p2.match.def})).generatedInput=!0,m.call(i3,l2,p2,!0),n3!==!0)){var d2=a3.validPositions[t3].input;return a3.validPositions[t3]=void 0,f.call(i3,t3,d2,!0,!0)}}}function m(e3,t3,n3,i3){var a3=this,s2=this.maskset,l2=this.opts,c2=this.dependencyLib;function d2(e4,t4,n4){var i4=t4[e4];if(i4!==void 0&&i4.match.static===!0&&i4.match.optionality!==!0&&(t4[0]===void 0||t4[0].alternation===void 0)){var a4=n4.begin<=e4-1?t4[e4-1]&&t4[e4-1].match.static===!0&&t4[e4-1]:t4[e4-1],r2=n4.end>e4+1?t4[e4+1]&&t4[e4+1].match.static===!0&&t4[e4+1]:t4[e4+1];return a4&&r2}return!1}var h2=0,m2=e3.begin!==void 0?e3.begin:e3,v=e3.end!==void 0?e3.end:e3,g=!0;if(e3.begin>e3.end&&(m2=e3.end,v=e3.begin),i3=i3!==void 0?i3:m2,n3===void 0&&(m2!==v||l2.insertMode&&s2.validPositions[i3]!==void 0||t3===void 0||t3.match.optionalQuantifier||t3.match.optionality)){var y,k=c2.extend(!0,[],s2.validPositions),b=r.getLastValidPosition.call(a3,void 0,!0);s2.p=m2;var x=u.call(a3,e3)?m2:i3;for(y=b;y>=x;y--)s2.validPositions.splice(y,1),t3===void 0&&delete s2.tests[y+1];var w,P,S=i3,O=S;for(t3&&(s2.validPositions[i3]=c2.extend(!0,{},t3),O++,S++),k[v]==null&&s2.jitOffset[v]&&(v+=s2.jitOffset[v]+1),y=t3?v:v-1;y<=b;y++){if((w=k[y])!==void 0&&w.generatedInput!==!0&&(y>=v||y>=m2&&d2(y,k,{begin:m2,end:v}))){for(;o.getTest.call(a3,O).match.def!=="";){if((P=p.call(a3,O,w,l2))!==!1||w.match.def==="+"){w.match.def==="+"&&r.getBuffer.call(a3,!0);var M=f.call(a3,O,w.input,w.match.def!=="+",!0);if(g=M!==!1,S=(M.pos||O)+1,!g&&P)break}else g=!1;if(g){t3===void 0&&w.match.static&&y===e3.begin&&h2++;break}if(!g&&r.getBuffer.call(a3),O>s2.maskLength)break;O++}o.getTest.call(a3,O).match.def==""&&(g=!1),O=S}if(!g)break}if(!g)return s2.validPositions=c2.extend(!0,[],k),r.resetMaskSet.call(a3,!0),!1}else t3&&o.getTest.call(a3,i3).match.cd===t3.match.cd&&(s2.validPositions[i3]=c2.extend(!0,{},t3));return r.resetMaskSet.call(a3,!0),h2}},7957:function(t2){t2.exports=e}},n={};function i(e2){var a2=n[e2];if(a2!==void 0)return a2.exports;var r=n[e2]={exports:{}};return t[e2](r,r.exports,i),r.exports}var a={};return function(){var e2=a;
18Object.defineProperty(e2,"__esModule",{value:!0}),e2.default=void 0;var t2,n2=(t2=i(3046))&&t2.__esModule?t2:{default:t2};i(443),e2.default=n2.default}(),a}()});})(); 19/*! 20 * dist/jquery.inputmask 21 * https://github.com/RobinHerbots/Inputmask 22 * Copyright (c) 2010 - 2024 Robin Herbots 23 * Licensed under the MIT license 24 * Version: 5.0.9 25 */ 26/*! 27* patch notes: 28* - The factory implementation code must be cleaned up when updating, both 29* because it tries to do dynamic detection of the module system (broken for us 30* in some of our contexts) and because it ends up writing to window.default 31* (which breaks some third-party plugins that do their own broken module 32* detection). 33* 34* - The initial function is called with `this` as the root (e) variable - which 35* is null in our case, when we call this client-side. it should be replaced 36* with `window` instead 37*/ 38/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ 39/*! Bundled license information: 40 41buffer/index.js: 42 (*! 43 * The buffer module from node.js, for the browser. 44 * 45 * @author Feross Aboukhadijeh <https://feross.org> 46 * @license MIT 47 *) 48*/ 49 50} 51 52 53window.preloaded['js/extra:jquery_plugins/jquery.inputmask'] = true; 54 55window.preloaded['app/page_metadata:index'] = true; 56/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 57// BUBBLE PATCH NOTES - offset() changed below, see comment 58"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
58deName&&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={}
58,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(){ 59 var e=this[0]; 60 // BUBBLE PATCH NOTES - offset() changed below, see comment in non-minified 61 if (!e) return {left:0, top:0}; 62 return(!e||e.nodeType&&e.getBoundingClientRect) 63 ?I.apply(this,arguments) 64 :(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length 65 ?this 66 :({left:0,top:0}))},"offset-valid-elem" 67),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}); 68 69window.preloaded['js/vendor:jquery-migrate-3.4.1.min.js'] = true; 70 71window.bubble_version = 33; 72window.preloaded['app/metadata:bubble_version'] = true; 73window._bubble_page_load_data.hardcoded_plugins = window._bubble_page_load_data.hardcoded_plugins || {}; 74window._bubble_page_load_data.hardcoded_plugins['select2'] = true; 75window.__code__ = window.__code__ || {}; 76if(!window.__code__['72cfda4646fc75796175600b74cb4f4b4a2df064438392d2a6ac4f61e51d8d36']){window.__code__['72cfda4646fc75796175600b74cb4f4b4a2df064438392d2a6ac4f61e51d8d36']=1; 77 78"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 78
78orts:{}}).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 78
78K_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 78
78)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 78
78if(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)}}}
78var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
78y-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
78:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
78HARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol
78=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&¤t[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
78:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});
78var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
78yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
78ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
78(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports,module){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(value,done){return{value,done}}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_esnext_iterator_filter=__commonJS({"node_modules/core-js/modules/esnext.iterator.filter.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IS_PURE=require_is_pure(),IteratorProxy=createIteratorProxy(function(){for(var iterator=this.iterator,predicate=this.predicate,next=this.next,result,done,value;;){if(result=anObject(call(next,iterator)),done=this.done=!!result.done,done)return;if(value=result.value,callWithSafeIterationClosing(iterator,predicate,[value,this.counter++],!0))return value}});$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{filter:function(predicate){return anObject(this),aCallable(predicate),new IteratorProxy(getIteratorDirect(this),{predicate})}})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
78y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
78){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});var require_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IteratorProxy=createIteratorProxy(function(){var iterator=this.iterator,result=anObject(call(this.next,iterator)),done=this.done=!!result.done;if(!done)return callWithSafeIterationClosing(iterator,this.mapper,[result.value,this.counter++],!0)});module.exports=function(mapper){return anObject(this),aCallable(mapper),new IteratorProxy(getIteratorDirect(this),{mapper})}}});var require_esnext_iterator_map=__commonJS({"node_modules/core-js/modules/esnext.iterator.map.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$2({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var u,base_safe_require,legacy_keys,safe_require,init_window_register=__esm({"lib-browser/window_register.js"(){"use strict";init_define_process_env();init_shim();u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register}}});var require_function_apply=__commonJS({"node_modules/core-js/internals/function-apply.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports=typeof Reflect=="object"&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})}});var require_array_slice=__commonJS({"node_modules/core-js/internals/array-slice.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis([].slice)}});var require_validate_arguments_length=__commonJS({"node_modules/core-js/internals/validate-arguments-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var $TypeError=TypeError;module.exports=function(passed,required){if(passed<required)throw new $TypeError("Not enough arguments");return passed}}});var require_engine_is_ios=__commonJS({"node_modules/core-js/internals/engine-is-ios.js"(exports,module){"use strict";init_define_process_env();init_shim();var userAgent=require_engine_user_agent();
78module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)}});var require_engine_is_node=__commonJS({"node_modules/core-js/internals/engine-is-node.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),classof=require_classof_raw();module.exports=classof(global.process)==="process"}});var require_task=__commonJS({"node_modules/core-js/internals/task.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),apply=require_function_apply(),bind=require_function_bind_context(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),fails=require_fails(),html=require_html(),arraySlice=require_array_slice(),createElement=require_document_create_element(),validateArgumentsLength=require_validate_arguments_length(),IS_IOS=require_engine_is_ios(),IS_NODE=require_engine_is_node(),set=global.setImmediate,clear=global.clearImmediate,process2=global.process,Dispatch=global.Dispatch,Function2=global.Function,MessageChannel=global.Me
78ssageChannel,String2=global.String,counter=0,queue={},ONREADYSTATECHANGE="onreadystatechange",$location,defer,channel,port;fails(function(){$location=global.location});var run=function(id){if(hasOwn(queue,id)){var fn=queue[id];delete queue[id],fn()}},runner=function(id){return function(){run(id)}},eventListener=function(event){run(event.data)},globalPostMessageDefer=function(id){global.postMessage(String2(id),$location.protocol+"//"+$location.host)};(!set||!clear)&&(set=function(handler){validateArgumentsLength(arguments.length,1);var fn=isCallable(handler)?handler:Function2(handler),args=arraySlice(arguments,1);return queue[++counter]=function(){apply(fn,void 0,args)},defer(counter),counter},clear=function(id){delete queue[id]},IS_NODE?defer=function(id){process2.nextTick(runner(id))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(runner(id))}:MessageChannel&&!IS_IOS?(channel=new MessageChannel,port=channel.port2,channel.port1.onmessage=eventListener,defer=bind(port.postMessage,port)):global.addEventListener&&isCallable(global.postMessage)&&!global.importScripts&&$location&&$location.protocol!=="file:"&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global.addEventListener("message",eventListener,!1)):ONREADYSTATECHANGE in createElement("script")?defer=function(id){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(id)}}:defer=function(id){setTimeout(runner(id),0)});module.exports={set,clear}}});var require_web_clear_immediate=__commonJS({"node_modules/core-js/modules/web.clear-immediate.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),clearImmediate=require_task().clear;$2({global:!0,bind:!0,enumerable:!0,forced:global.clearImmediate!==clearImmediate},{clearImmediate})}});var require_engine_is_bun=__commonJS({"node_modules/core-js/internals/engine-is-bun.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"}});var require_schedulers_fix=__commonJS({"node_modules/core-js/internals/schedulers-fix.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),apply=require_function_apply(),isCallable=require_is_callable(),ENGINE_IS_BUN=require_engine_is_bun(),USER_AGENT=require_engine_user_agent(),arraySlice=require_array_slice(),validateArgumentsLength=require_validate_arguments_length(),Function2=global.Function,WRAP=/MSIE .\./.test(USER_AGENT)||ENGINE_IS_BUN&&function(){var version=global.Bun.version.split(".");return version.length<3||version[0]==="0"&&(version[1]<3||version[1]==="3"&&version[2]==="0")}();module.exports=function(scheduler,hasTimeArg){var firstParamIndex=hasTimeArg?2:1;return WRAP?function(handler,timeout){var boundArgs=validateArgumentsLength(arguments.length,1)>firstParamIndex,fn=isCallable(handler)?handler:Function2(handler),params=boundArgs?arraySlice(arguments,firstParamIndex):[],callback=boundArgs?function(){apply(fn,this,params)}:fn;return hasTimeArg?scheduler(callback,timeout):scheduler(callback)}:scheduler}}});var require_web_set_immediate=__commonJS({"node_modules/core-js/modules/web.set-immediate.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),setTask=require_task().set,schedulersFix=require_schedulers_fix(),setImmediate2=global.setImmediate?schedulersFix(setTask,!1):setTask;$2({global:!0,bind:!0,enumerable:!0,forced:global.setImmediate!==setImmediate2},{setImmediate:setImmediate2})}});var require_web_immediate=__commonJS({"node_modules/core-js/modules/web.immediate.js"(){"use strict";init_define_process_env();init_shim();require_web_clear_immediate();require_web_set_immediate()}});var select2_MultiDropdown_exports={};__export(select2_MultiDropdown_exports,{additional_data:()=>additional_data,initialize:()=>initialize,property_applications:()=>property_applications_internal});function get_translation(key){return Lib().get_text("select2",key)}function initialize(instance){let canvas=instance.get_canvas(),div=$('<select class="inner-dropdown select2-hidden-accessible"></select>');canvas.append(div),div.attr("multiple","multiple"),div.css({width:"100%",height:"100%"});let current_displayed_value=null;function select_value(val){let select_raw_values=[];for(let v of val?.all?.()??val??[])select_raw_values.push(hydrate.dehydrate_tree_to_string_safe(v));div.val(select_raw_values).trigger("change",{source:"triggered_js"})}function restyle_tags(data){property_applications.apply_css_style(canvas.find(".select2-selection__choice"),{color:data.tag_font_color,"background-color":data.tag_bgcolor,"border-radius":`${data.tag_border_roundness}px`,"border-color":data.tag_border_color,"border-width":`${data.tag_border_width}px`,"border-style":"solid",padding:"3px 5px 3px 5px"}),property_applications.apply_css_style(canvas.find(".select2-selection__choice__remove"),{color:data.tag_delete_color})}let list_defined=b_async.MakeSwitch(void 0,"select2_list"),get_choice_list;if(instance.run_mode()){let recalculate_height2=function(){let items=canvas.find(".select2-selection__rendered");if(items.length){let inner_height=parseInt(items.css("height").replace("px",""))+5,padding_top=parseInt(canvas[0].style["padding-top"]);isNaN(padding_top)||(inner_height+=padding_top*2);let min_height=instance.element.get_height();instance.set_height(Math.max(min_height,inner_height)),instance.state("should_recalc",!1)}};var recalculate_height=recalculate_height2;canvas.css("overflow","visible"),element_eval.on_property_change(instance,"disabled",value=>div.prop("disabled",value??!1)),get_choice_list=()=>{let raw_choices=this._get_raw_choice_list(instance),get_display=v=>this._get_display_option(instance)(v)?.trim(),already_listed_captions=[],raw_choice_list=raw_choices.get_children(0,MAX_DROPDOWN);autorun.run_once(30,()=>raw_choice_list.map(raw_choice=>get_display(raw_choice)));let choice_list=[];for(let v of raw_choice_list)choice_list.push({text:get_display(v),id:hydrate.dehydrate_tree_to_string_safe(v)}
78),already_listed_captions.push(get_display(v));if((instance.get_static_property("dynamic_type")==="text"||instance.get_static_property("choices_style")!=="dynamic")&&instance.get_static_property("enable_tagging"))for(let a of current_displayed_value??[])already_listed_captions.includes(a.trim())||choice_list.push({text:a,id:a});return choice_list};let bad_value_watcher=autorun.Watcher(()=>{if(!instance.state("has_been_changed"))return!1;let val=instance.state("value"),items=val?.all?.()??val;if(!items?.length||this._tagging_enabled(instance))return!1;for(let v of items)if(!this._choice_list_contains(instance,v))return!0;return!1});instance.on_destroy(()=>{bad_value_watcher.destroy()}),bad_value_watcher.on_value(is_bad=>{is_bad&&instance.message("reset_input")});let run_mode_tag_styling=()=>autorun.run_once(30,()=>{let props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color"])props[prop]=element_eval.evaluate_property(instance,prop);return props},(err,data)=>{if(err){logger.log(err);return}instance.setTimeout(()=>{restyle_tags(data)},1)});autorun.autorun(()=>{instance.is_visible()&&(instance.state("notify_width"),instance.state("value"),instance.state("should_recalc"),setImmediate(recalculate_height2))}),element_utils.register_tab_index_listener(instance,num=>{div.attr("tabindex",num)});let retrieve_properties=instance2=>({font_face:element_props.get_font_face(instance2),font_size:element_eval.evaluate_property(instance2,"font_size"),border_radius:element_eval.evaluate_property(instance2,"border_roundness"),border_width:element_eval.evaluate_property(instance2,"border_width"),border_color:element_eval.evaluate_property(instance2,"border_color"),background_style:element_eval.evaluate_property(instance2,"background_style"),background_color:element_eval.evaluate_property(instance2,"bgcolor")}),set_property_styles=data=>{property_applications.apply_css_style($(".select2-dropdown"),{"font-family":webfonts.get_face_and_variant(data.font_face).font_family,"font-size":data.font_size+"px","border-radius":data.border_radius+"px","border-width":data.border_width+"px","border-color":"#aaa","background-color":data.background_style==="bgcolor"?data.background_color??"white":"transparent"}),property_applications.apply_css_style($(".select2-container.select2-container--open .select2-dropdown--below"),{left:"-"+data.border_width+"px",top:"-"+data.border_width+"px"})};instance.wait_for_visible_lite(()=>{div.change((e,data)=>{let new_val=div.val();if(current_displayed_value=new_val,run_mode_tag_styling(),instance.state("should_recalc",!0),data?.source==="triggered_js")return;let res=[];for(let v of new_val??[])res.push(dropdowns.rehydrate_dropdown_value(v));instance.message("user_submit",res)});let _last_val=null;inputs.input_change_autorun(instance,val=>{_last_val=val,b_async.WaitFor(list_defined,()=>select_value(_last_val))}),instance.on_message("set_focus",()=>canvas.find("input").focus());let interval=null;div.on("select2:open",()=>{instance.state("is_focused",!0),instance.run_mode()?instance.setTimeout(()=>{autorun.run_once(30,()=>retrieve_properties(instance),(err,data)=>{if(err){logger.log(err);return}run_mode_tag_styling();let search_input=canvas.find(".select2-search__field");search_input.off("keydown.styling keyup.styling keypress.styling"),search_input.on("keydown.styling keyup.styling keypress.styling",()=>run_mode_tag_styling()),interval=instance.setInterval(()=>run_mode_tag_styling(),5),set_property_styles(data)})},1):autorun.run_once(30,()=>{retrieve_properties(instance)},(err,data)=>{if(err){logger.log(err);return}set_property_styles(data)})}),div.on("select2:close",()=>{run_mode_tag_styling(),instance.clearInterval(interval),canvas.find("input").is(":focus")||instance.state("is_focused",!1)}),$(document).on("click",evt=>{$.contains(canvas[0],evt.target)||instance.state("is_focused",!1)})})}else current_displayed_value=["tag1"];let is_dropdown_focused=autorun.Box(!1);div.on("focus",()=>is_dropdown_focused(!0)),div.on("blur",()=>is_dropdown_focused(!1));let succesfully_updated_once=autorun.Box(!1);element_eval.pre_cache(instance,["height","placeholder"]),instance.autorun(()=>
78{if(instance.is_visible()&&(!succesfully_updated_once()||!is_dropdown_focused())){list_defined.turn_off(),succesfully_updated_once(!0);let props={};for(let prop of["height","placeholder"])props[prop]=element_eval.evaluate_property(instance,prop);let choices=instance.run_mode()?get_choice_list():[{id:"tag1",text:"Tag 1"}],options={placeholder:props.placeholder,data:choices,maximumSelectionLength:instance.get_static_property("limit_selection"),dir:languages.is_rtl(Lib().app_language())&&"rtl",language:{errorLoading(){return get_translation("ERROR_LOADING")},inputTooLong(){return get_translation("INPUT_TOO_LONG")},inputTooShort(){return get_translation("INPUT_TOO_SHORT")},loadingMore(){return get_translation("LOADING_MORE")},maximumSelected(){return get_translation("MAXIMUM_SELECTED")},noResults(){return get_translation("NO_RESULTS")},searching(){return get_translation("SEARCHING")},removeAllItems(){return get_translation("REMOVE_ALL_ITEMS")}}};this._tagging_enabled(instance)&&(options.tags=!0,options.tokenSeparators=[","],instance.get_static_property("tags_with_spaces")||options.tokenSeparators.push(" ")),div.data("select2")!=null&&div.select2("destroy").empty(),div.select2(options),canvas.find(".select2-selection, .select2-container--default").height(props.height),canvas.find("input").is(":focus")&&instance.message("set_focus"),instance.run_mode()&&inputs.register_focus(instance,canvas.find(".select2-selection, input")),select_value(current_displayed_value),instance.state("has_been_changed")||select_value(instance.state("value")),list_defined.turn_on(),element_eval.pre_cache(instance,["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_face","font_family","font_weight","font_size","font_color","placeholder_color"]),instance.autorun(()=>{props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_size","font_color","placeholder_color"])props[prop]=element_eval.evaluate_property(instance,prop);props.font_face=element_props.get_font_face(instance),restyle_tags(props);let font_data=webfonts.get_quoted_face_and_variant(props.font_face),search_field=canvas.find(".select2-search__field");property_applications.apply_css_style(search_field,{"font-family":font_data.font_family,"font-weight":font_data.variant,"font-size":`${props.font_size}px`,color:props.font_color,width:"100%"}),new property_applications.PlaceholderColor().apply(props,search_field,instance),property_applications.apply_css_style(canvas.find(".select2-search--inline"),{width:instance.run_mode()&¤t_displayed_value.length>0?"":"100%"})})}})}var import_esnext_iterator_constructor,import_esnext_iterator_find,import_esnext_iterator_map,import_web_immediate,b_async,autorun,Lib,property_applications,inputs,dropdowns,element_utils,hydrate,languages,webfonts,logger,element_eval,element_props,MAX_DROPDOWN,property_applications_internal,additional_data,init_select2_MultiDropdown=__esm({"lib-browser/optional/services/legacy/responsive_v0/select2_MultiDropdown.js"(){"use strict";init_define_process_env();init_shim();import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find()),import_esnext_iterator_map=__toESM(require_esnext_iterator_map()),import_web_immediate=__toESM(require_web_immediate());init_window_register();b_async=safe_require.safe_require("./u/shared/async/b_async"),autorun=safe_require.safe_require("./u/shared/async/autorun"),Lib=safe_require.safe_require("./lib"),property_applications=safe_require.safe_require("./core/property_applications"),inputs=safe_require.safe_require("./core/core_elements/shared/inputs"),dropdowns=safe_require.safe_require("./core/core_elements/shared/dropdowns"),element_utils=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_utils"),hydrate=safe_require.safe_require("@bubblegroup/db/hydrate"),languages=safe_require.safe_require("./languages"),webfonts=safe_require.safe_require("./webfonts"),logger=safe_require.safe_require("./logger"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),element_props=safe_require.safe_require("./lang/evaluation/element_props");MAX_DROPDOWN=5e3,property_applications_internal=[new property_applications.MinWidth];additional_data={notify_width(instance,width){instance.state("notify_width",width)}}}});init_define_process_env();init_shim();var import_esnext_iterator_constructor2=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_filter=__toESM(require_esnext_iterator_filter()),import_esnext_iterator_find2=__toESM(require_esnext_iterator_find()),import_esnext_iterator_map2=__toESM(require_esnext_iterator_map());init_window_register();var external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),Lib2=safe_require.safe_require("./lib"),property_applications2=safe_require.safe_require("./core/property_applications"),shared_fields=safe_require.safe_require("./core/shared_fields"),inputs2=safe_require.safe_require("./core/core_elements/shared/inputs"),dropdowns2=safe_require.safe_require("./core/core_elements/shared/dropdowns"),hydrate2=safe_require.safe_require("@bubblegroup/db/hydrate"),btypes=safe_require.safe_require("./lang/btypes"),lang=safe_require.safe_require("./lang/lang"),languages2=safe_require.safe_require("./languages"),webfonts2=safe_require.safe_require("./webfonts"),logger2=safe_require.safe_require("./logger"),element_eval2=safe_require.safe_require("./lang/evaluation/element_eval"),element_props2=safe_require.safe_require("./lang/evaluation/element_props"),element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications"),shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));var btype_ids=safe_require.safe_require("./lang/btype_ids"),PLUGIN_FILE="select2";element_modifications.set_legacy_element_modifications("select2-MultiDropdown",(init_select2_MultiDropdown(),__toCommonJS(select2_MultiDropdown_exports)));var MAX_DROPDOWN2=5e3,cls=class extends external.Service{constructor(){super(),this.elements=this._get_initial_elements(),this.authenticator=new external.NoAuth}_get_initial_elements(){return{MultiDropdown:{category:"input forms",display:"Multi dropdown",icon:"ion-pricetags",condition(root){return!root?.is_mobile?.()},defaults:{font_size:14,background_style:"bgcolor",bgcolor:"#FFFFFF",border_style:"solid",border_width:1,border_color:"#858585",border_roundness:3,width:250,height:45,placeholder:"Choose some options...",use_max_width:!0,max_width:150},default_states:[{condition:{type:"ThisElement",next:{type:"Message",name:"is_focused"}},properties:{border_color:"#52A8EC",boxshadow_color:"#52A8EC",boxshadow_style:"outset",boxshadow_horizontal:0,boxshadow_vertical:0,boxshadow_blur:6}}],field_names:u.extend({choices_style:{default:"static",no_states:!0},choices:{no_states:!0,default:`Choice 1 79Choice 2 80Choice 3`},dynamic_type:{no_states:!0},data_source:{},option_display_expression:{no_states:!0},default:{},enable_tagging:{no_states:!0},tags_with_spaces:{no_states:!0},placeholder:{},tag_font_color:{default:"#252525"},tag_bgcolor:{default:"#e4e4e4"},tag_delete_color:{default:"#999"},tag_border_roundness:{default:2},tag_border_width:{default:1},tag_border_color:{default:"#C9C9C9"},limit_selection:{no_states:!0,optional:!0}},inputs2.get_disabled_field_name,inputs2.get_auto_binding_field_names),property_applications:[new property_applications2.Dimensions,new property_applications2.Font,new property_applications2.Backgroun
80d,new property_applications2.ResponsiveElement,new property_applications2.Border(void 0,void 0,{only_main_border:!0}),new property_applications2.PaddingText,new property_applications2.BoxShadow,new property_applications2.PlaceholderColor("input.select2-search__field")],get_html(instance){return"<div></div>"},get_min_width(element){return 0},_get_display_option:dropdowns2._get_display_option,uses_css_responsive:!0,can_fit_height:!0,initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas(),div=$('<select class="inner-dropdown select2-hidden-accessible"></select>');canvas.append(div),div.attr("multiple","multiple"),div.css({width:"100%",height:"100%"});let current_displayed_value=null;function select_value(val){let select_raw_values=(val?.all?.()??val??[]).map(v=>hydrate2.dehydrate_tree_to_string_safe(v));div.val(select_raw_values).trigger("change",{source:"triggered_js"})}function restyle_tags(data){property_applications2.apply_css_style(canvas.find(".select2-selection__choice"),{color:data.tag_font_color,"background-color":data.tag_bgcolor,"border-radius":data.tag_border_roundness+"px","border-color":data.tag_border_color,"border-width":data.tag_border_width+"px","border-style":"solid",padding:"3px 5px 3px 5px"}),property_applications2.apply_css_style(canvas.find(".select2-selection__choice__remove"),{color:data.tag_delete_color})}let list_defined=u.MakeSwitch(void 0,"select2_list"),get_choice_list;if(instance.run_mode()){canvas.css({"overflow-x":"visible","overflow-y":"auto"}),element_eval2.on_property_change(instance,"disabled",value=>{div.prop("disabled",value??!1),div.prop("disabled")?canvas.css("pointer-events","none"):canvas.css("pointer-events","")}),get_choice_list=()=>{let raw_choices=this._get_raw_choice_list(instance),get_display=v=>this._get_display_option(instance)(v)?.trim(),already_listed_captions=[],raw_choice_list=raw_choices.get_children(0,MAX_DROPDOWN2);u.run_once(30,()=>{for(let raw_choice in raw_choice_list)get_display(raw_choice)});let choice_list=[];for(let v of raw_choice_list)choice_list.push({text:get_display(v),id:hydrate2.dehydrate_tree_to_string_safe(v)}),already_listed_captions.push(get_display(v));if((instance.get_static_property("dynamic_type")==="text"||instance.get_static_property("choices_style")!=="dynamic")&&instance.get_static_property("enable_tagging"))for(let a of current_displayed_value??[])already_listed_captions.includes(a.trim())||choice_list.push({text:a,id:a});return choice_list};let bad_value_watcher=u.Watcher(()=>{if(!instance.state("has_been_changed"))return!1;let val=instance.state("value"),items=val?.all?.()??val;if(!items?.length||this._tagging_enabled(instance))return!1;for(let v of items)if(!this._choice_list_contains(instance,v))return!0;return!1});instance.on_destroy(()=>{bad_value_watcher.destroy()}),bad_value_watcher.on_value(is_bad=>{is_bad&&instance.message("reset_input")});let run_mode_tag_styling=()=>u.run_once(30,()=>{let props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color"])props[prop]=element_eval2.evaluate_property(instance,prop);return props},(err,data)=>{if(err){logger2.log(err);return}instance.setTimeout(()=>restyle_tags(data),1)}),retrieve_properties=instance2=>({font_face:element_props2.get_font_face(instance2),font_size:element_eval2.evaluate_property(instance2,"font_size"),border_radius:element_eval2.evaluate_property(instance2,"border_roundness"),border_width:element_eval2.evaluate_property(instance2,"border_width"),border_color:element_eval2.evaluate_property(instance2,"border_color"),background_style:element_eval2.evaluate_property(instance2,"background_style"),background_color:element_eval2.evaluate_property(instance2,"bgcolor")}),set_property_styles=data=>{property_applications2.apply_css_style($(".select2-dropdown"),{"font-family":webfonts2.get_face_and_variant(data.font_face).font_family,"font-size":data.font_size+"px","border-radius":data.border_radius+"px","border-width":data.border_width+"px","border-color":"#aaa","background-color":data.background_style==="bgcolor"?data.background_color??"white":"transparent"}),property_applications2.apply_css_style($(".select2-container.select2-container--open .select2-dropdown--below"),{left:"-"+data.border_width+"px",top:"-"+data.border_width+"px"})};instance.on_message("add_tab_index",num=>{div.attr("tabindex",num)}),instance.wait_for_visible_lite(()=>{div.change((e,data)=>{let new_val=div.val();if(current_displayed_value=new_val,run_mode_tag_styling(),instance.state("should_recalc",!0),data?.source==="triggered_js")return;let res=(new_val??[]).map(v=>dropdowns2.rehydrate_dropdown_value(v));instance.message("user_submit",res)});let _last_val=null;inputs2.input_change_autorun(instance,val=>{_last_val=val,u.WaitFor(list_defined,()=>{select_value(_last_val)})}),instance.on_message("set_focus",()=>{canvas.find("input").focus()});let interval=null;div.on("select2:open",()=>{instance.state("is_focused",!0),instance.run_mode()?instance.setTimeout(()=>{u.run_once(30,()=>retrieve_properties(instance),(err,data)=>
80{if(err){logger2.log(err);return}run_mode_tag_styling();let search_input=canvas.find(".select2-search__field");search_input.off("keydown.styling keyup.styling keypress.styling"),search_input.on("keydown.styling keyup.styling keypress.styling",()=>{run_mode_tag_styling()}),interval=instance.setInterval(()=>{run_mode_tag_styling()},5),set_property_styles(data)})},1):u.run_once(30,()=>{retrieve_properties(instance)},(err,data)=>{if(err){logger2.log(err);return}set_property_styles(data)})}),div.on("select2:close",()=>{run_mode_tag_styling(),instance.clearInterval(interval),canvas.find("input").is(":focus")||instance.state("is_focused",!1)}),$(document).on("click",evt=>{$.contains(canvas[0],evt.target)||instance.state("is_focused",!1)})})}else current_displayed_value=["tag1"];let is_dropdown_focused=u.Box(!1);div.on("focus",()=>is_dropdown_focused(!0)),div.on("blur",()=>is_dropdown_focused(!1));let succesfully_updated_once=u.Box(!1);element_eval2.pre_cache(instance,["placeholder"]),instance.autorun(()=>{if(instance.is_visible()&&(!succesfully_updated_once()||!is_dropdown_focused())){list_defined.turn_off(),succesfully_updated_once(!0);let props={};for(let prop of["placeholder"])props[prop]=element_eval2.evaluate_property(instance,prop);let choices=instance.run_mode()?get_choice_list():[{id:"tag1",text:"Tag 1"}
80],options={placeholder:props.placeholder,data:choices,maximumSelectionLength:instance.get_static_property("limit_selection"),dir:languages2.is_rtl(Lib2().app_language())&&"rtl",language:{errorLoading(){return get_translation2("ERROR_LOADING")},inputTooLong(){return get_translation2("INPUT_TOO_LONG")},inputTooShort(){return get_translation2("INPUT_TOO_SHORT")},loadingMore(){return get_translation2("LOADING_MORE")},maximumSelected(){return get_translation2("MAXIMUM_SELECTED")},noResults(){return get_translation2("NO_RESULTS")},searching(){return get_translation2("SEARCHING")},removeAllItems(){return get_translation2("REMOVE_ALL_ITEMS")}}};this._tagging_enabled(instance)&&(options.tags=!0,options.tokenSeparators=[","],instance.get_static_property("tags_with_spaces")||options.tokenSeparators.push(" "));let is_focused=canvas.find("input").is(":focus");div.data("select2")!=null&&div.select2("destroy").empty(),div.select2(options),canvas.find(".select2-selection, .select2-container--default").css("height","100%"),is_focused&&instance.message("set_focus"),instance.run_mode()&&inputs2.register_focus(instance,canvas.find(".select2-selection, input")),select_value(current_displayed_value),instance.state("has_been_changed")||select_value(instance.state("value")),list_defined.turn_on(),element_eval2.pre_cache(instance,["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_face","font_family","font_weight","font_size","font_color","placeholder_color"]),instance.autorun(()=>{props={};for(let prop of["tag_font_color","tag_bgcolor","tag_border_roundness","tag_border_width","tag_border_color","tag_delete_color","font_size","font_color","placeholder_color"])props[prop]=element_eval2.evaluate_property(instance,prop);props.font_face=element_props2.get_font_face(instance),restyle_tags(props);let font_data=webfonts2.get_quoted_face_and_variant(props.font_face),search_field=canvas.find(".select2-search__field");property_applications2.apply_css_style(search_field,{"font-family":font_data.font_family,"font-weight":font_data.variant,"font-size":props.font_size+"px",color:props.font_color}),new property_applications2.PlaceholderColor().apply(props,search_field,instance),property_applications2.apply_css_style(canvas.find(".select2-search--inline"),{width:instance.run_mode()&¤t_displayed_value.length>0?"":"100%"})})}})},_tagging_enabled(instance){return this._supports_tagging(instance)&&instance.get_static_property("enable_tagging")},_supports_tagging(instance){return!(instance.get_static_property("choices_style")==="dynamic"&&instance.get_static_property("dynamic_type")!=="text")},_get_raw_btype(element){return element.get_static_property("choices_style")==="dynamic"?element.get_static_property("dynamic_type"):"text"},_get_raw_choice_list(instance){return dropdowns2._get_raw_choice_list_dropdown(instance,this)},_choice_list_contains(instance,val){let V=btypes.get(this._get_raw_btype(instance.element));return this._get_raw_choice_list(instance).contains(val,V)},get_starting_content(instance){let starting_content;return instance.run_mode()&&instance.get_static_property("auto_binding")?starting_content=inputs2.get_input_autobind_thing_field(instance):(starting_content=element_eval2.evaluate_property(instance,"default"),instance.get_static_property("choices_style")!=="dynamic"&&(starting_content=starting_content?.split?.(","),starting_content=(starting_content??[]).map(a=>a.trim()))),starting_content=starting_content?.all?.()??starting_content??[],this._tagging_enabled(instance)?starting_content:starting_content.filter(val=>this._choice_list_contains(instance,val))},get_state_value(element,name){if(name==="value")return btype_ids.list_type(this._get_raw_btype(element))},get_injected_btype(element){return element.get_static_property("dynamic_type")},get_injected_display(){return"Current option"},use_injected_datasource(node,element){return node.path().indexOf(element.property("option_display_expression").path())===0},change_cursor_style_if_clickable:!1,add_an_invisible_div_on_the_top:!0,is_input:!0,contains_group_data:!1,jquery_plugins(){return["jquery_plugins/select2.min"]},css_files:["css/optional/select2.min.css"],actions:["ResetInputs"]}}}};function get_translation2(key){return Lib2().get_text("select2",key)}var select2={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.select2=select2);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("select2",select2);})(); 81/*! Bundled license information: 82 83buffer/index.js: 84 (*! 85 * The buffer module from node.js, for the browser. 86 * 87 * @author Feross Aboukhadijeh <https://feross.org> 88 * @license MIT 89 *) 90*/ 91 92} 93 94 95window.preloaded['plugin/first_party:select2'] = true; 96window._bubble_page_load_data.hardcoded_plugins['progressbar'] = true; 97window.__code__ = window.__code__ || {}; 98if(!window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']){window.__code__['3715b72e6109c185c3496bb9665da7f9f968deab9034763a31a4bcf5416ad40e']=1; 99 100"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 100
100orts:{}}).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 100
100K_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 100
100)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 100
100if(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)}}}
100var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var Lib=safe_require.safe_require("./lib"),external=safe_require.safe_require("./external"),services=safe_require.safe_require("./services"),property_applications=safe_require.safe_require("./core/property_applications"),appquery=safe_require.safe_require("./lang/appquery"),element_eval=safe_require.safe_require("./lang/evaluation/element_eval"),PLUGIN_FILE="progressbar",element_modifications=safe_require.safe_require("./core/core_elements/legacy/responsive_v0/element_modifications");element_modifications.set_legacy_element_modifications("progressbar-ProgressBar");var shared_field_metadata;u.uses_field_metadata()&&(shared_field_metadata=safe_require.safe_require("./core/shared_field_metadata"));function get_bar_label_styles(_ref){let{animation_delay="0s",bar_element,instance,percentage}=_ref,element_width=instance.current_width(),padding_left=0,padding_right=0;
100bar_element?.[0]&&(padding_left=parseInt(bar_element[0]?.style?.["padding-left"]||padding_left,10),padding_right=parseInt(bar_element[0]?.style?.["padding-right"]||padding_right,10));let total_left_right_padding=padding_left+padding_right,bar_width=element_width*percentage/100,transition="width "+animation_delay+", clip-path"+animation_delay,bar_label_styles={"clip-path":`inset(0px 0px 0px ${bar_width-padding_left}px)`,padding:"inherit",transition,width:element_width-total_left_right_padding},bar_label_overlay_styles={"clip-path":`inset(0px ${element_width-bar_width-padding_right}px 0px 0px)`,padding:"inherit",transition,width:element_width-total_left_right_padding};return{bar_label_styles,bar_label_overlay_styles}}function plugin_version(){return Lib()?appquery.get_public_setting("progressbar_installed_version")??0:1}function uses_css_responsive(){return Lib()?plugin_version()>=1||appquery.get_public_setting("progressbar_css_responsive")===!0:!0}var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.elements=this._get_initial_elements()}_get_initial_elements(){return{ProgressBar:{display:"Progress Bar",category:"visual elements",icon:"ion-ios-speedometer",condition(root){return!root?.is_mobile?.()},defaults:{font_alignment:"center",font_color:"#FFFFFF",background_style:"bgcolor",bgcolor:"#FFFFFF",border_roundness:3,border_width:1,border_style:"solid",border_color:"#211A66",width:300,height:25},field_names:{percentage:{},animate:{default:!0,no_states:!0},bar_color:{default:"#7F95EB"}},primary_field(){return"percentage"},get_field_metadata(element){return{percentage:{caption:"Percentage",btype_id:"number"},bar_color:{caption:"Progress bar color",btype_id:"text"},animate:{caption:"Animate progress",btype_id:"boolean"},...new property_applications.Dimensions().get_property_metadata(element,"Dimensions"),...new property_applications.InputPadding(".inner-progressbar").get_property_metadata(element),...new property_applications.Font().get_property_metadata(element),...new property_applications.FontShadow().get_property_metadata(element),...new property_applications.Border().get_property_metadata(element),...new property_applications.BoxShadow().get_property_metadata(element),...new property_applications.Background().get_property_metadata(element),...new property_applications.Rotation().get_property_metadata(element),...new property_applications.ResponsiveElement().get_property_metadata(element),...new property_applications.MinWidth().get_property_metadata(element),...new property_applications.UniqueID().get_property_metadata(element),...shared_field_metadata.get_is_visible_property()}},_fields(element){return[{name:"percentage",caption:"Percentage",editor:"Basic",btype:"number",pretty:{section:"ProgressBarContent"}},{name:"bar_color",caption:"Progress bar color",editor:"Color",dynamic:!0,pretty:{section:"ProgressBarContent"}},{name:"animate",caption:"Animate progress",editor:"Checkbox",pretty:{section:"ProgressBarContent"}}]},property_applications:[new property_applications.Dimensions,new property_applications.InputPadding(".inner-progressbar"),new property_applications.Font,new property_applications.FontShadow,new property_applications.Border,new property_applications.BoxShadow,new property_applications.Background,new property_applications.Rotation,new property_applications.ResponsiveElement],get uses_css_responsive(){return uses_css_responsive()},get_html(instance){return"<div></div>"},get_min_width(){return 0},change_cursor_style_if_clickable:!0,initialize(instance){services.log_plugin_element_init({name:this.plugin_name,plugin:PLUGIN_FILE});let canvas=instance.get_canvas(),bar=u.div("inner-progressbar",canvas),bar_label=u.div("progressbar-label",bar),bar_label_overlay=u.div("progressbar-label-overlay",bar);return instance.autorun(()=>{let percentage=element_eval.evaluate_property(instance,"percentage");instance.run_mode()?percentage??=0:percentage??=60,percentage>100?percentage=100:percentage<0&&(percentage=0);let prop_node=instance.element.property("percentage");instance.run_mode()||prop_node.is_static()?(bar_label.html(Lib().locale().format_decimal(percentage)+"%"),bar_label_overlay.html(Lib().locale().format_decimal(percentage)+"%")):(bar_label.html(prop_node.get_tree_display()+" %"),bar_label_overlay.html(prop_node.get_tree_display()+" %"));let animation_delay=instance.run_mode()&&instance.get_static_property("animate")?".3s":"0s";bar.css({"background-color":element_eval.evaluate_property(instance,"bar_color"),"line-height":instance.current_height()+"px",transition:"width "+animation_delay,width:percentage+"%"});let{bar_label_styles,bar_label_overlay_styles}=get_bar_label_styles({animation_delay,bar_element:bar,instance,percentage});return bar_label.css(bar_label_styles),bar_label_overlay.css(bar_label_overlay_styles),bar})},add_an_invisible_div_on_the_top:!1,css_files:["css/optional/progressbar.css"],events:["ButtonClicked","ElementPressed"],contains_group_data:!1,is_input:!1}}}keys(){return plugin_version()>=1?{}:{css_responsive:{caption:"Use new responsive properties for this plugin's elements",type:"client_safe",editor:"Checkbox"}}}},progressbar={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.progressbar=progressbar);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("progressbar",progressbar);})(); 101/*! Bundled license information: 102 103buffer/index.js: 104 (*! 105 * The buffer module from node.js, for the browser. 106 * 107 * @author Feross Aboukhadijeh <https://feross.org> 108 * @license MIT 109 *) 110*/ 111 112} 113 114 115window.preloaded['plugin/first_party:progressbar'] = true; 116window._bubble_page_load_data.hardcoded_plugins['interactions'] = true; 117window.__code__ = window.__code__ || {}; 118if(!window.__code__['96e042607919ae3c45301981eac47cd4f9b12830003da74be46b7f307423c1b6']){window.__code__['96e042607919ae3c45301981eac47cd4f9b12830003da74be46b7f307423c1b6']=1; 119 120"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 120
120orts:{}}).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 120
120K_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 120
120)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 120
120if(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)}}}
120var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports,module){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports=="object"&&exports)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
120y-this.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
120:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports,module){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports,module){"use strict";init_define_process_env();init_shim();var $String=String;module.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject=require_is_object(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
120HARED,{});module.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports,module){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol2=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2.for||Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol2,name)?Symbol2[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject=require_is_object(),isSymbol
120=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject=require_is_object(),document2=global.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports,module){"use strict";init_define_process_env();init_shim();var isObject=require_is_object(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&¤t[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
120:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports,module){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}}});
120var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(String(WeakMap))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports,module){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports,module){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
120yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports,module){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports,module){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports,module){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports,module){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports,module){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
120ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports){"use strict";init_define_process_env();init_shim();exports.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports,module){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports,module){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails();module.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports,module){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports,module){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports,module){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports,module){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports,module){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports,module){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
vendor: 4,762 bytes, line 120
120(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports,module){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$2({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
120y-this-clause.js"(exports,module){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports,module){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports,module){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports,module){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports,module){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports,module){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports,module){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports,module){"use strict";init_define_process_env();init_shim();module.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_esnext_iterator_for_each=__commonJS({"node_modules/core-js/modules/esnext.iterator.for-each.js"(){"use strict";init_define_process_env();init_shim();var $2=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$2({target:"Iterator",proto:!0,real:!0},{forEach:function(fn){anObject(this),aCallable(fn);var record=getIteratorDirect(this),counter=0;iterate(record,function(value){fn(value,counter++)},{IS_RECORD:!0})}})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_for_each=__toESM(require_esnext_iterator_for_each());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"),lang=safe_require.safe_require("./lang/lang"),core_actions=safe_require.safe_require("./core/core_actions"),core_actions_consts=safe_require.safe_require("./core/core_actions/utilities/core_actions_consts"),core_events=safe_require.safe_require("./core/core_events"),event_element_mapping=safe_require.safe_require("./core/core_events/event_element_mapping"),workflow_consts=safe_require.safe_require("./constants/workflow"),Lib=safe_require.safe_require("./lib"),appquery=safe_require.safe_require("./lang/appquery"),page_state=safe_require.safe_require("@bubblegroup/evaluation/engine/page_state"),element_edit_eval=safe_require.safe_require("./lang/evaluation/element_edit_eval"),btype_ids=safe_require.safe_require("./lang/btype_ids"),element_registry=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_registry"),element_transformer=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_transformer"),element_workflows=safe_require.safe_require("./core/core_elements/core_elements_utilities/element_workflows"),property_applications=safe_require.safe_require("./core/property_applications"),logger=safe_require.safe_require("./logger"),workflow_utils=safe_require.safe_require("./lang/workflow/workflow_utils"),prevent_default_right_click=u.Box(!1),prevent_scroll=u.Box(!1),mouse_x_position=u.Box(0),mouse_y_position=u.Box(0),left_mouse_click_released=u.Box(!1),left_mouse_clicked_down=u.Box(!1),right_mouse_clicked_down=u.Box(!1),right_mouse_click_released=u.Box(!1),MOUSE_SCROLL_DIRECTION={mouse_scroll_down:"Scroll Down",mouse_scroll_up:"Scroll Up",mouse_scroll_vertical:"Either"},MOUSE_SCROLL_TRIGGER={begin_scroll:"On start of scroll",end_scroll:"On end of scroll"},MOUSE_CLICK_SIDES={left_mouse_click:"Left Click",right_mouse_click:"Right Click",middle_mouse_click:"Middle Click"};core_actions_consts.action_element_mapping??={};core_actions_consts.action_element_mapping["interactions-RepositionElement"]=[];var page;typeof window<"u"&&window!==null&&!u.on_react_native()&&(page=$.parseHTML(element_registry.registered_elements.Page.get_html()),$(window).on("contextmenu",page,e=>{if(Lib()?.element?.get_page()?.run_mode()&&prevent_default_right_click())return e.preventDefault()}),$(window).on("mouseup",page,e=>{if(Lib()?.element?.get_page()?.run_mode()){if(e.which===1)return left_mouse_clicked_down(!1),left_mouse_click_released(!0);if(e.which===3)return right_mouse_clicked_down(!1),right_mouse_click_released(!0)}}),$(window).on("mousedown",page,e=>{let instance=Lib()?.element?.get_page();if(instance?.run_mode()){let event;e.which===1?(left_mouse_click_released(!1),left_mouse_clicked_down(!0)):e.which===3&&(left_mouse_click_released(!0),left_mouse_click_released(!1),right_mouse_clicked_down(!0),right_mouse_click_released(!1));let events=[];for(event of lang.filter_array(x=>!x.get_static_property("workflow_disabled")&&x.type()==="interactions-MouseClicked",instance.element.events())){let mou
120se_click_side=event.get_static_property("mouse_click_side");(e.which===1&&mouse_click_side==="left_mouse_click"||e.which===2&&mouse_click_side==="middle_mouse_click"||e.which===3&&mouse_click_side==="right_mouse_click")&&events.push(event)}return element_workflows.run_element_workflow(instance,"interactions-MouseClicked",event,events)}}),$(window).on("wheel",page,evt=>{Lib()?.element?.get_page()?.run_mode()&&prevent_scroll()&&($("html").css("overflow","hidden"),$("body").css("overflow","hidden"),window.scrollTo(0,0))}));core_events["interactions-MouseClicked"]={display(event,generic){let mouse_click_side=event?.get_static_property("mouse_click_side"),prevent_default=event?.get_static_property("prevent_default_click")??!1;return mouse_click_side==="right_mouse_click"&&prevent_default_right_click(prevent_default),event?.id()==null?"Mouse is clicked down":(mouse_click_side=event?.get_static_property("mouse_click_side"),mouse_click_side==="left_mouse_click"?"Left mouse button clicked down":mouse_click_side==="middle_mouse_click"?"Middle mouse button clicked down":mouse_click_side==="right_mouse_click"?"Right mouse button clicked down":"User mouse is clicked")},eventType:"Interaction Event",defaultWorkflowName(event){return"Mouse click"},field_names:{mouse_click_side:{default:"left_mouse_click"},prevent_default_click:{default:!1}},register(workflow){if(workflow.get_static_property("prevent_default_click"))return prevent_default_right_click(!0)},isUserAction:!0};core_events["interactions-PageScrolled"]={display(event,generic){if(event?.id()==null)return"User scrolls on page";let scroll_direction=event?.get_static_property("mouse_scroll_direction"),trigger=event?.get_static_property("workflow_trigger");if(!scroll_direction||!trigger)return"User scrolls on page";let display="User ";
120return display+=trigger==="begin_scroll"?"begins scrolling ":"ends scrolling ",scroll_direction==="mouse_scroll_up"?display+="up":scroll_direction==="mouse_scroll_down"&&(display+="down"),display},eventType:"Interaction Event",defaultWorkflowName(event){return"User scroll"},field_names:{mouse_scroll_direction:{default:"mouse_scroll_vertical"},workflow_trigger:{},prevent_default_scroll:{default:!1},...workflow_utils.getCommonFieldNames()},register(workflow,element_instance){let _is_on=!0,began_scrolling=!1,run_workflow=!1,new_direction=0;workflow.get_static_property("prevent_default_scroll")&&prevent_scroll(!0);function execute_workflow(){if((new_direction===-1&&workflow.get_static_property("mouse_scroll_direction")==="mouse_scroll_down"||new_direction===1&&workflow.get_static_property("mouse_scroll_direction")==="mouse_scroll_up"||workflow.get_static_property("mouse_scroll_direction")==="mouse_scroll_vertical")&&(run_workflow=!0),run_workflow){let context={element:element_instance};return Lib().workflow.run_workflows(context,[workflow]).callback(err=>core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.GENERAL_WORKFLOW,cb(){}}))}}function run_workflow_after_scroll(){if(began_scrolling=!1,run_workflow=!1,_is_on&&workflow.get_static_property("workflow_trigger")==="end_scroll")return execute_workflow()}return $(window).bind("wheel",evt=>(run_workflow=!1,element_instance.clearTimeout($.data(this,"wheel_timer"+workflow.json._unique_id)),_is_on&&(evt.originalEvent.wheelDelta<0?new_direction=-1:new_direction=1,!began_scrolling&&workflow.get_static_property("workflow_trigger")==="begin_scroll"&&(began_scrolling=!0,execute_workflow())),$.data(this,"wheel_timer"+workflow.json._unique_id,element_instance.setTimeout(run_workflow_after_scroll,150)))),()=>_is_on=!1},isUserAction:!0};core_events["interactions-KeyPressed"]={display(event,generic){let keyboard_shortcut=event?.get_static_property("key_combination");return keyboard_shortcut?"User presses "+keyboard_shortcut:"User presses a key or combination of keys"},eventType:"Interaction Event",defaultWorkflowName(event){return"User key press"},field_names:{key_combination:{},disable_on_text_input:{}},register(workflow,element_instance,properties){function keydown_handler(evt){let skip_workflow=page_state.input_focused()===!0&&workflow.get_static_property("disable_on_text_input")===!0;if(u.build_key_combo_string(evt)===workflow.get_static_property("key_combination")&&!skip_workflow){evt.stopPropagation(),evt.preventDefault();let context={element:element_instance};Lib().workflow.run_workflows(context,[workflow]).callback(err=>core_events.handle_uncaught_error({original_error:err,caught_from:workflow_consts.ERROR_SOURCES.GENERAL_WORKFLOW,cb(){}}))}function deregister(){}return deregister}window.addEventListener("keydown",keydown_handler)},isUserAction:!0};typeof window<"u"&&window!==null&&!u.on_react_native()&&(page=$.parseHTML(element_registry.registered_elements.Page.get_html()),$(window).on("mousemove",page,event=>{Lib()?.element?.get_page()?.run_mode()&&(mouse_x_position(event.pageX),mouse_y_position(event.pageY))}));event_element_mapping.add_event("interactions-EnterHover");event_element_mapping.add_event("interactions-ExitHover");element_transformer.register_hook_transformer("enter_hover_listener",instance=>{u.is_on_mobile_or_tablet()||instance.element.get_related_workflows("interactions-EnterHover").length===0||instance.get_canvas().mouseenter(e=>element_workflows.run_element_workflow(instance,"interactions-EnterHover",e))});element_transformer.register_hook_transformer("exit_hover_listener",instance=>{u.is_on_mobile_or_tablet()||instance.element.get_related_workflows("interactions-ExitHover").length===0||instance.get_canvas().mouseleave(e=>element_workflows.run_element_workflow(instance,"interactions-ExitHover",e))});var cls=class extends external.Service{constructor(){super(),this.authenticator=new external.NoAuth,this.values=this._get_initial_values(),this.calls=this._get_initial_calls(),this.events=this._get_initial_events(),this.actions=this._get_initial_actions()}get skip_property_security(){return!0}get public_calls(){return["get_mouse_data"]}get public_values(){return["mouse_data"]}_get_initial_values(){return{mouse_data:new external.StructValue("Mouse Data",{x_position:{caption:"X position",ret_btype:"number"},y_position:{caption:"Y position",ret_btype:"number"},right_mouse_clicked_down:{caption:"right mouse clicked down",ret_btype:"boolean"},right_mouse_click_released:{caption:"right mouse click released",ret_btype:"boolean"}
120,left_mouse_clicked_down:{caption:"left mouse clicked down",ret_btype:"boolean"},left_mouse_click_released:{caption:"left mouse click released",ret_btype:"boolean"}},{no_special_messages:!0})}}_get_initial_calls(){return{get_mouse_data:class extends external.Call{get human(){return"Get mouse"}get btype_id(){return btype_ids.api_type("interactions.mouse_data")}get _must_proxy(){return!0}get parameters(){return{}}execute(prev,properties,authentication,_raw,context){return{right_mouse_clicked_down:right_mouse_clicked_down(),right_mouse_click_released:right_mouse_click_released(),left_mouse_click_released:left_mouse_click_released(),left_mouse_clicked_down:left_mouse_clicked_down(),x_position:mouse_x_position(),y_position:mouse_y_position()}}}}}get plugin_general_events(){return{Interactions:[{type:"interactions-MouseClicked"},{type:"interactions-PageScrolled"},{type:"interactions-KeyPressed"}]}}_get_initial_events(){return{MouseClicked:{display(){return"Mouse is clicked down"}},PageScrolled:{display(){return"User scrolls on page"}},KeyPressed:{display(){return"User presses a key or combination of keys"}},EnterHover:{_display(){return" is hovered"},element_name:"An element"},ExitHover:{_display(){return" stops being hovered"},element_name:"An element"}}}_get_initial_actions(){return{RepositionElement:{field_names:{element_id:{},X:{},Y:{}},run(action,properties,context,cb){u.run_once(30,()=>context.element.find_instance_by_id(properties.element_id),(err,instance)=>{if(err){logger.log(err);return}instance.ensure_drawn();let type=instance.element.type(),canvas=instance.get_canvas(),position=canvas.css("position"),style=`top:${canvas.position().top}px; left:${canvas.position().left}px; width:${canvas.width()}px; height:${canvas.height()}px;`;position&&(style+=`position: ${position};`);let margins=[canvas.css("margin-left"),canvas.css("margin-right"),canvas.css("margin-bottom"),canvas.css("margin-top")],margin_names=["margin-left","margin-right","margin-bottom","margin-top"];for(let i=0;i<margins.length;i++){let margin=margins[i];margin&&(style+=margin_names[i]+": "+margin+";")}if(canvas.parent().append(`<div style="${style}"></div>`),type==="Popup")property_applications.apply_css_style(canvas,{top:properties.Y+"px",left:properties.X+instance.element.get_width()/2+"px"}),instance.message("position_element",{Y:properties.Y,X:properties.X,position});else if(type==="FloatingGroup"){let margin_ratio;if(instance.element.get_static_property("floating_reference_horizontal_resp")==="left"){let{element}=instance,parent=element.parent(),initial_width=element.get_width(),min_width=element.get_min_width(),left_margin=element.get_left(),initial_container_width=element_edit_eval.get_container_width(parent),container_width;instance.container?container_width=instance.container.container_width:container_width=initial_container_width;let right_margin=initial_container_width-(left_margin+initial_width),total_margin=left_margin+right_margin,fat=initial_width-min_width,shrink=initial_container_width-container_width;fat===0||(fat>=shrink?shrink=0:shrink-=fat),total_margin===0||shrink===0?margin_ratio=1:total_margin>=shrink?margin_ratio=(total_margin-shrink)/total_margin:margin_ratio=0}let left=margin_ratio?margin_ratio*properties.X:properties.X;canvas.css({top:properties.Y+"px",left}),instance.message("position_element",{Y:properties.Y,X:properties.X,position})}else type==="GroupFocus"?instance.message("position_element",{Y:properties.Y,X:properties.X,position:"absolute"}):type==="Alert"&&(canvas.css({top:properties.Y,left:properties.X}),instance.message("position_element",{Y:properties.Y,X:properties.X,position}),canvas.appendTo("body"));cb()})},data_to_refresh:null,display(action,verb_only){let name;if(verb_only)return"Reposition";
120let target=appquery.element(action?.element_id());return target?name=target.get_name():name="an element","Reposition "+name},_fields(action){return core_actions.get_element_id_field(action,!1).concat([{name:"X",caption:"X position",editor:"Basic",btype:"number"},{name:"Y",caption:"Y position",editor:"Basic",btype:"number"}])},get_field_metadata(action){return{...core_actions.get_element_id_field_metadata(action,!1),X:{caption:"X Position",btype_id:"number"},Y:{caption:"Y Position",btype_id:"number"},...workflow_utils.getCommonFieldsMetadata(action)}}}}}map_plugin_actions(){core_actions_consts.action_element_mapping["interactions-RepositionElement"]=["Popup","GroupFocus","FloatingGroup","GroupWithFocus","Alert"]}map_plugin_events(){event_element_mapping.relevant_elements("interactions-EnterHover").length===0&&Object.entries(element_registry.elements_list).forEach(_ref=>{let[element,val]=_ref;val&&(event_element_mapping.add_event("interactions-EnterHover",element),event_element_mapping.add_event("interactions-ExitHover",element))})}unmap_plugin_events(){event_element_mapping.clear_event("interactions-EnterHover"),event_element_mapping.clear_event("interactions-ExitHover")}},interactions={cls,prevent_default_right_click,prevent_scroll,mouse_x_position,mouse_y_position,left_mouse_click_released,left_mouse_clicked_down,right_mouse_clicked_down,right_mouse_click_released,MOUSE_SCROLL_DIRECTION,MOUSE_SCROLL_TRIGGER,MOUSE_CLICK_SIDES};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.interactions=interactions);var plugin_registry=safe_require.safe_require("./services/shared/plugin_registry");plugin_registry.register_plugin("interactions",interactions);})(); 121/*! Bundled license information: 122 123buffer/index.js: 124 (*! 125 * The buffer module from node.js, for the browser. 126 * 127 * @author Feross Aboukhadijeh <https://feross.org> 128 * @license MIT 129 *) 130*/ 131 132} 133 134 135window.preloaded['plugin/first_party:interactions'] = true; 136window._bubble_page_load_data.hardcoded_plugins['apiconnector2'] = true; 137window.__code__ = window.__code__ || {}; 138if(!window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']){window.__code__['0fc81b8accbb3692a1df256f595e17e71bad75c37d3c1438233633dccd2fa45e']=1; 139 140"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.byteLength=byteLength;exports2.toByteArray=toByteArray;exports2.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;
vendor: 26,598 bytes, line 140
140i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports2){init_define_process_env();init_shim();exports2.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports2.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports2){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports2.Buffer=Buffer4;exports2.SlowBuffer=SlowBuffer;exports2.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports2.kMaxLength=K_MAX_LENGTH;Buffer4.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer4.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer4.prototype,"parent",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer4.prototype,"offset",{enumerable:!0,get:function(){if(Buffer4.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer4.prototype),buf}function Buffer4(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer4.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer4.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer4.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer4.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer4.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer4,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer4.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer4.allocUnsafe=function(size){return allocUnsafe(size)};Buffer4.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer4.prototype),buf}function fromObject(obj){if(Buffer4.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer4.alloc(+length)}Buffer4.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer4.prototype};Buffer4.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer4.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer4.from(b,b.offset,b.byteLength)),!Buffer4.isBuffer(a)||!Buffer4.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer4.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer4.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer4.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer4.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer4.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer4.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer4.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer4.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer4.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer4.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer4.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer4.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer4.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer4.prototype.toLocaleString=Buffer4.prototype.toString;Buffer4.prototype.equals=function(b){if(!Buffer4.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer4.compare(this,b)===0};Buffer4.prototype.inspect=function(){var str="",max=exports2.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer4.prototype[customInspectSymbol]=Buffer4.prototype.inspect);Buffer4.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer4.from(target,target.offset,target.byteLength)),!Buffer4.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer4.from(val,encoding)),Buffer4.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer4.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer4.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer4.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer4.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer4.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer4.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer4.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer4.prototype.readUintLE=Buffer4.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer4.prototype.readUintBE=Buffer4.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer4.prototype.readUint8=Buffer4.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer4.prototype.readUint16LE=Buffer4.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer4.prototype.readUint16BE=Buffer4.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer4.prototype.readUint32LE=Buffer4.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer4.prototype.readUint32BE=Buffer4.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer4.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer4.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer4.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer4.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer4.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer4.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer4.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer4.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer4.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer4.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer4.prototype.writeUintLE=Buffer4.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUintBE=Buffer4.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer4.prototype.writeUint8=Buffer4.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer4.prototype.writeUint16LE=Buffer4.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeUint16BE=Buffer4.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeUint32LE=Buffer4.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer4.prototype.writeUint32BE=Buffer4.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer4.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 140
140)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer4.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer4.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer4.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer4.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer4.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer4.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer4.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer4.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer4.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer4.prototype.copy=function(target,targetStart,start,end){if(!Buffer4.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,183 bytes, line 140
140if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer4.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer4.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer4.isBuffer(val)?val:Buffer4.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports2,module2){init_define_process_env();init_shim();var process2=module2.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
140var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});var require_global=__commonJS({"node_modules/core-js/internals/global.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var check=function(it){return it&&it.Math===Math&&it};module2.exports=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof window=="object"&&window)||check(typeof exports2=="object"&&exports2)||function(){return this}()||Function("return this")()}});var require_fails=__commonJS({"node_modules/core-js/internals/fails.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(exec){try{return!!exec()}catch{return!0}}}});var require_descriptors=__commonJS({"node_modules/core-js/internals/descriptors.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}});var require_function_bind_native=__commonJS({"node_modules/core-js/internals/function-bind-native.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){var test=(function(){}).bind();return typeof test!="function"||test.hasOwnProperty("prototype")})}});var require_function_call=__commonJS({"node_modules/core-js/internals/function-call.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module2.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}}});var require_object_property_is_enumerable=__commonJS({"node_modules/core-js/internals/object-property-is-enumerable.js"(exports2){"use strict";init_define_process_env();init_shim();var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports2.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable}});var require_create_property_descriptor=__commonJS({"node_modules/core-js/internals/create-property-descriptor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value}}}});var require_function_uncurry_this=__commonJS({"node_modules/core-js/internals/function-uncurr
140y-this.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module2.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}}});var require_classof_raw=__commonJS({"node_modules/core-js/internals/classof-raw.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module2.exports=function(it){return stringSlice(toString(it),8,-1)}}});var require_indexed_object=__commonJS({"node_modules/core-js/internals/indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module2.exports=fails(function(){return!$Object("z").propertyIsEnumerable(0)})?function(it){return classof(it)==="String"?split(it,""):$Object(it)}
140:$Object}});var require_is_null_or_undefined=__commonJS({"node_modules/core-js/internals/is-null-or-undefined.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(it){return it==null}}});var require_require_object_coercible=__commonJS({"node_modules/core-js/internals/require-object-coercible.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module2.exports=function(it){if(isNullOrUndefined(it))throw new $TypeError("Can't call method on "+it);return it}}});var require_to_indexed_object=__commonJS({"node_modules/core-js/internals/to-indexed-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module2.exports=function(it){return IndexedObject(requireObjectCoercible(it))}}});var require_is_callable=__commonJS({"node_modules/core-js/internals/is-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var documentAll=typeof document=="object"&&document.all;module2.exports=typeof documentAll>"u"&&documentAll!==void 0?function(argument){return typeof argument=="function"||argument===documentAll}:function(argument){return typeof argument=="function"}}});var require_is_object=__commonJS({"node_modules/core-js/internals/is-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable();module2.exports=function(it){return typeof it=="object"?it!==null:isCallable(it)}}});var require_get_built_in=__commonJS({"node_modules/core-js/internals/get-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),aFunction=function(argument){return isCallable(argument)?argument:void 0};module2.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}}});var require_object_is_prototype_of=__commonJS({"node_modules/core-js/internals/object-is-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this();module2.exports=uncurryThis({}.isPrototypeOf)}});var require_engine_user_agent=__commonJS({"node_modules/core-js/internals/engine-user-agent.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}});var require_engine_v8_version=__commonJS({"node_modules/core-js/internals/engine-v8-version.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),userAgent=require_engine_user_agent(),process2=global.process,Deno=global.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));module2.exports=version}});var require_symbol_constructor_detection=__commonJS({"node_modules/core-js/internals/symbol-constructor-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var V8_VERSION=require_engine_v8_version(),fails=require_fails(),global=require_global(),$String=global.String;module2.exports=!!Object.getOwnPropertySymbols&&!fails(function(){var symbol=Symbol("symbol detection");return!$String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41})}});var require_use_symbol_as_uid=__commonJS({"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_SYMBOL=require_symbol_constructor_detection();module2.exports=NATIVE_SYMBOL&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}});var require_is_symbol=__commonJS({"node_modules/core-js/internals/is-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),isCallable=require_is_callable(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module2.exports=USE_SYMBOL_AS_UID?function(it){return typeof it=="symbol"}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}}});var require_try_to_string=__commonJS({"node_modules/core-js/internals/try-to-string.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var $String=String;module2.exports=function(argument){try{return $String(argument)}catch{return"Object"}}}});var require_a_callable=__commonJS({"node_modules/core-js/internals/a-callable.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),tryToString=require_try_to_string(),$TypeError=TypeError;module2.exports=function(argument){if(isCallable(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a function")}}});var require_get_method=__commonJS({"node_modules/core-js/internals/get-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module2.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}}});var require_ordinary_to_primitive=__commonJS({"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isCallable=require_is_callable(),isObject2=require_is_object(),$TypeError=TypeError;module2.exports=function(input,pref){var fn,val;if(pref==="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input))||isCallable(fn=input.valueOf)&&!isObject2(val=call(fn,input))||pref!=="string"&&isCallable(fn=input.toString)&&!isObject2(val=call(fn,input)))return val;throw new $TypeError("Can't convert object to primitive value")}}});var require_is_pure=__commonJS({"node_modules/core-js/internals/is-pure.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=!1}});var require_define_global_property=__commonJS({"node_modules/core-js/internals/define-global-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineProperty=Object.defineProperty;module2.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch{global[key]=value}return value}}});var require_shared_store=__commonJS({"node_modules/core-js/internals/shared-store.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),defineGlobalProperty=require_define_global_property(),SHARED="__core-js_shared__",store=global[SHARED]||defineGlobalProperty(S
140HARED,{});module2.exports=store}});var require_shared=__commonJS({"node_modules/core-js/internals/shared.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var IS_PURE=require_is_pure(),store=require_shared_store();(module2.exports=function(key,value){return store[key]||(store[key]=value!==void 0?value:{})})("versions",[]).push({version:"3.35.1",mode:IS_PURE?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}});var require_to_object=__commonJS({"node_modules/core-js/internals/to-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module2.exports=function(argument){return $Object(requireObjectCoercible(argument))}}});var require_has_own_property=__commonJS({"node_modules/core-js/internals/has-own-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty10=uncurryThis({}.hasOwnProperty);module2.exports=Object.hasOwn||function(it,key){return hasOwnProperty10(toObject(it),key)}}});var require_uid=__commonJS({"node_modules/core-js/internals/uid.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1 .toString);module2.exports=function(key){return"Symbol("+(key===void 0?"":key)+")_"+toString(++id+postfix,36)}}});var require_well_known_symbol=__commonJS({"node_modules/core-js/internals/well-known-symbol.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),shared=require_shared(),hasOwn=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),Symbol3=global.Symbol,WellKnownSymbolsStore=shared("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol3.for||Symbol3:Symbol3&&Symbol3.withoutSetter||uid;module2.exports=function(name){return hasOwn(WellKnownSymbolsStore,name)||(WellKnownSymbolsStore[name]=NATIVE_SYMBOL&&hasOwn(Symbol3,name)?Symbol3[name]:createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}}});var require_to_primitive=__commonJS({"node_modules/core-js/internals/to-primitive.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),isObject2=require_is_object(),isSymbol
140=require_is_symbol(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module2.exports=function(input,pref){if(!isObject2(input)||isSymbol(input))return input;var exoticToPrim=getMethod(input,TO_PRIMITIVE),result;if(exoticToPrim){if(pref===void 0&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject2(result)||isSymbol(result))return result;throw new $TypeError("Can't convert object to primitive value")}return pref===void 0&&(pref="number"),ordinaryToPrimitive(input,pref)}}});var require_to_property_key=__commonJS({"node_modules/core-js/internals/to-property-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol();module2.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}}});var require_document_create_element=__commonJS({"node_modules/core-js/internals/document-create-element.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isObject2=require_is_object(),document2=global.document,EXISTS=isObject2(document2)&&isObject2(document2.createElement);module2.exports=function(it){return EXISTS?document2.createElement(it):{}}}});var require_ie8_dom_define=__commonJS({"node_modules/core-js/internals/ie8-dom-define.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module2.exports=!DESCRIPTORS&&!fails(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7})}});var require_object_get_own_property_descriptor=__commonJS({"node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports2.f=DESCRIPTORS?$getOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch{}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}}});var require_v8_prototype_define_bug=__commonJS({"node_modules/core-js/internals/v8-prototype-define-bug.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),fails=require_fails();module2.exports=DESCRIPTORS&&fails(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}});var require_an_object=__commonJS({"node_modules/core-js/internals/an-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isObject2=require_is_object(),$String=String,$TypeError=TypeError;module2.exports=function(argument){if(isObject2(argument))return argument;throw new $TypeError($String(argument)+" is not an object")}}});var require_object_define_property=__commonJS({"node_modules/core-js/internals/object-define-property.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE="configurable",WRITABLE="writable";exports2.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),typeof O=="function"&&P==="prototype"&&"value"in Attributes&&WRITABLE in Attributes&&!Attributes[WRITABLE]){var current=$getOwnPropertyDescriptor(O,P);current&¤t[WRITABLE]&&(O[P]=Attributes.value,Attributes={configurable:CONFIGURABLE in Attributes?Attributes[CONFIGURABLE]:current[CONFIGURABLE],enumerable:ENUMERABLE in Attributes?Attributes[ENUMERABLE]:current[ENUMERABLE],writable:!1})}return $defineProperty(O,P,Attributes)}
140:$defineProperty:function(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch{}if("get"in Attributes||"set"in Attributes)throw new $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}}});var require_create_non_enumerable_property=__commonJS({"node_modules/core-js/internals/create-non-enumerable-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}}});var require_function_name=__commonJS({"node_modules/core-js/internals/function-name.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),hasOwn=require_has_own_property(),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&(function(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module2.exports={EXISTS,PROPER,CONFIGURABLE}}});
140var require_inspect_source=__commonJS({"node_modules/core-js/internals/inspect-source.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),isCallable=require_is_callable(),store=require_shared_store(),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)});module2.exports=store.inspectSource}});var require_weak_map_basic_detection=__commonJS({"node_modules/core-js/internals/weak-map-basic-detection.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),isCallable=require_is_callable(),WeakMap2=global.WeakMap;module2.exports=isCallable(WeakMap2)&&/native code/.test(String(WeakMap2))}});var require_shared_key=__commonJS({"node_modules/core-js/internals/shared-key.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var shared=require_shared(),uid=require_uid(),keys2=shared("keys");module2.exports=function(key){return keys2[key]||(keys2[key]=uid(key))}}});var require_hidden_keys=__commonJS({"node_modules/core-js/internals/hidden-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_internal_state=__commonJS({"node_modules/core-js/internals/internal-state.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var NATIVE_WEAK_MAP=require_weak_map_basic_detection(),global=require_global(),isObject2=require_is_object(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn=require_has_own_property(),shared=require_shared_store(),sharedKey=require_shared_key(),hiddenKeys=require_hidden_keys(),OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError2=global.TypeError,WeakMap2=global.WeakMap,set,get,has,enforce=function(it){return has(it)?get(it):set(it,{})},getterFor=function(TYPE){return function(it){var state;if(!isObject2(it)||(state=get(it)).type!==TYPE)throw new TypeError2("Incompatible receiver, "+TYPE+" required");return state}};NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap2),store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}):(STATE=sharedKey("state"),hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError2(OBJECT_ALREADY_INITIALIZED);return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)});var store,STATE;module2.exports={set,get,has,enforce,getterFor}}});var require_make_built_in=__commonJS({"node_modules/core-js/internals/make-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),fails=require_fails(),isCallable=require_is_callable(),hasOwn=require_has_own_property(),DESCRIPTORS=require_descriptors(),CONFIGURABLE_FUNCTION_NAME=require_function_name().CONFIGURABLE,inspectSource=require_inspect_source(),InternalStateModule=require_internal_state(),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurr
140yThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn=module2.exports=function(value,name,options){stringSlice($String(name),0,7)==="Symbol("&&(name="["+replace($String(name),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch{}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,typeof name=="string"?name:"")),value};Function.prototype.toString=makeBuiltIn(function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)},"toString")}});var require_define_built_in=__commonJS({"node_modules/core-js/internals/define-built-in.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isCallable=require_is_callable(),definePropertyModule=require_object_define_property(),makeBuiltIn=require_make_built_in(),defineGlobalProperty=require_define_global_property();module2.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=options.name!==void 0?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch{}simple?O[key]=value:definePropertyModule.f(O,key,{value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}}});var require_math_trunc=__commonJS({"node_modules/core-js/internals/math-trunc.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var ceil=Math.ceil,floor=Math.floor;module2.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}}});var require_to_integer_or_infinity=__commonJS({"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var trunc=require_math_trunc();module2.exports=function(argument){var number=+argument;return number!==number||number===0?0:trunc(number)}}});var require_to_absolute_index=__commonJS({"node_modules/core-js/internals/to-absolute-index.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),max=Math.max,min=Math.min;module2.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}}});var require_to_length=__commonJS({"node_modules/core-js/internals/to-length.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module2.exports=function(argument){var len=toIntegerOrInfinity(argument);return len>0?min(len,9007199254740991):0}}});var require_length_of_array_like=__commonJS({"node_modules/core-js/internals/length-of-array-like.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toLength=require_to_length();module2.exports=function(obj){return toLength(obj.length)}}});var require_array_includes=__commonJS({"node_modules/core-js/internals/array-includes.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length),value;if(IS_INCLUDES&&el!==el){for(;length>index;)if(value=O[index++],value!==value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module2.exports={includes:createMethod(!0),indexOf:createMethod(!1)}}});var require_object_keys_internal=__commonJS({"node_modules/core-js/internals/object-keys-internal.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this(),hasOwn=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module2.exports=function(object,names){var O=toIndexedObject(object),i=0,result=[],key;for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}}});var require_enum_bug_keys=__commonJS({"node_modules/core-js/internals/enum-bug-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
140ing","toString","valueOf"]}});var require_object_get_own_property_names=__commonJS({"node_modules/core-js/internals/object-get-own-property-names.js"(exports2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=enumBugKeys.concat("length","prototype");exports2.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}}});var require_object_get_own_property_symbols=__commonJS({"node_modules/core-js/internals/object-get-own-property-symbols.js"(exports2){"use strict";init_define_process_env();init_shim();exports2.f=Object.getOwnPropertySymbols}});var require_own_keys=__commonJS({"node_modules/core-js/internals/own-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in(),uncurryThis=require_function_uncurry_this(),getOwnPropertyNamesModule=require_object_get_own_property_names(),getOwnPropertySymbolsModule=require_object_get_own_property_symbols(),anObject=require_an_object(),concat=uncurryThis([].concat);module2.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys2=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys2,getOwnPropertySymbols(it)):keys2}}});var require_copy_constructor_properties=__commonJS({"node_modules/core-js/internals/copy-constructor-properties.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),ownKeys=require_own_keys(),getOwnPropertyDescriptorModule=require_object_get_own_property_descriptor(),definePropertyModule=require_object_define_property();module2.exports=function(target,source,exceptions){for(var keys2=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys2.length;i++){var key=keys2[i];!hasOwn(target,key)&&!(exceptions&&hasOwn(exceptions,key))&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}}});var require_is_forced=__commonJS({"node_modules/core-js/internals/is-forced.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL?!0:value===NATIVE?!1:isCallable(detection)?fails(detection):!!detection},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module2.exports=isForced}});var require_export=__commonJS({"node_modules/core-js/internals/export.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var global=require_global(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIn=require_define_built_in(),defineGlobalProperty=require_define_global_property(),copyConstructorProperties=require_copy_constructor_properties(),isForced=require_is_forced();module2.exports=function(options,source){var TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,FORCED,target,key,targetProperty,sourceProperty,descriptor;if(GLOBAL?target=global:STATIC?target=global[TARGET]||defineGlobalProperty(TARGET,{}):target=global[TARGET]&&global[TARGET].prototype,target)for(key in source){if(sourceProperty=source[key],options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key),targetProperty=descriptor&&descriptor.value):targetProperty=target[key],FORCED=isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced),!FORCED&&targetProperty!==void 0){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}}});var require_an_instance=__commonJS({"node_modules/core-js/internals/an-instance.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var isPrototypeOf=require_object_is_prototype_of(),$TypeError=TypeError;module2.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}}});var require_correct_prototype_getter=__commonJS({"node_modules/core-js/internals/correct-prototype-getter.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails();module2.exports=!fails(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})}});var require_object_get_prototype_of=__commonJS({"node_modules/core-js/internals/object-get-prototype-of.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var hasOwn=require_has_own_property(),isCallable=require_is_callable(),toObject=require_to_object(),sharedKey=require_shared_key(),CORRECT_PROTOTYPE_GETTER=require_correct_prototype_getter(),IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype;module2.exports=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof $Object?ObjectPrototype:null}}});var require_define_built_in_accessor=__commonJS({"node_modules/core-js/internals/define-built-in-accessor.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var makeBuiltIn=require_make_built_in(),defineProperty=require_object_define_property();module2.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}}});var require_create_property=__commonJS({"node_modules/core-js/internals/create-property.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var toPropertyKey=require_to_property_key(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module2.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}}});var require_object_keys=__commonJS({"node_modules/core-js/internals/object-keys.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module2.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}}});var require_object_define_properties=__commonJS({"node_modules/core-js/internals/object-define-properties.js"(exports2){"use strict";init_define_process_env();init_shim();var DESCRIPTORS=require_descriptors(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),definePropertyModule=require_object_define_property(),anObject=require_an_object(),toIndexedObject=require_to_indexed_object(),objectKeys=require_object_keys();exports2.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(O,Properties){anObject(O);for(var props=toIndexedObject(Properties),keys2=objectKeys(Properties),length=keys2.length,index=0,key;length>index;)definePropertyModule.f(O,key=keys2[index++],props[key]);return O}}});var require_html=__commonJS({"node_modules/core-js/internals/html.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var getBuiltIn=require_get_built_in();module2.exports=getBuiltIn("document","documentElement")}});var require_object_create=__commonJS({"node_modules/core-js/internals/object-create.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),definePropertiesModule=require_object_define_properties(),enumBugKeys=require_enum_bug_keys(),hiddenKeys=require_hidden_keys(),html=require_html(),documentCreateElement=require_document_create_element
vendor: 4,766 bytes, line 140
140(),sharedKey=require_shared_key(),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return LT+SCRIPT+GT+content+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(activeXDocument2){activeXDocument2.write(scriptTag("")),activeXDocument2.close();var temp=activeXDocument2.parentWindow.Object;return activeXDocument2=null,temp},NullProtoObjectViaIFrame=function(){var iframe=documentCreateElement("iframe"),JS="java"+SCRIPT+":",iframeDocument;return iframe.style.display="none",html.appendChild(iframe),iframe.src=String(JS),iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;module2.exports=Object.create||function(O,Properties){var result;return O!==null?(EmptyConstructor[PROTOTYPE]=anObject(O),result=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,result[IE_PROTO]=O):result=NullProtoObject(),Properties===void 0?result:definePropertiesModule.f(result,Properties)}}});var require_iterators_core=__commonJS({"node_modules/core-js/internals/iterators-core.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var fails=require_fails(),isCallable=require_is_callable(),isObject2=require_is_object(),create=require_object_create(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltIn=require_define_built_in(),wellKnownSymbol=require_well_known_symbol(),IS_PURE=require_is_pure(),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1,IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator;[].keys&&(arrayIterator=[].keys(),"next"in arrayIterator?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)),PrototypeOfArrayIteratorPrototype!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype)):BUGGY_SAFARI_ITERATORS=!0);var NEW_ITERATOR_PROTOTYPE=!isObject2(IteratorPrototype)||fails(function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test});NEW_ITERATOR_PROTOTYPE?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype));isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,function(){return this});module2.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}}});var require_esnext_iterator_constructor=__commonJS({"node_modules/core-js/modules/esnext.iterator.constructor.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),global=require_global(),anInstance=require_an_instance(),anObject=require_an_object(),isCallable=require_is_callable(),getPrototypeOf=require_object_get_prototype_of(),defineBuiltInAccessor=require_define_built_in_accessor(),createProperty=require_create_property(),fails=require_fails(),hasOwn=require_has_own_property(),wellKnownSymbol=require_well_known_symbol(),IteratorPrototype=require_iterators_core().IteratorPrototype,DESCRIPTORS=require_descriptors(),IS_PURE=require_is_pure(),CONSTRUCTOR="constructor",ITERATOR="Iterator",TO_STRING_TAG=wellKnownSymbol("toStringTag"),$TypeError=TypeError,NativeIterator=global[ITERATOR],FORCED=IS_PURE||!isCallable(NativeIterator)||NativeIterator.prototype!==IteratorPrototype||!fails(function(){NativeIterator({})}),IteratorConstructor=function(){if(anInstance(this,IteratorPrototype),getPrototypeOf(this)===IteratorPrototype)throw new $TypeError("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(key,value){DESCRIPTORS?defineBuiltInAccessor(IteratorPrototype,key,{configurable:!0,get:function(){return value},set:function(replacement){if(anObject(this),this===IteratorPrototype)throw new $TypeError("You can't redefine this property");hasOwn(this,key)?this[key]=replacement:createProperty(this,key,replacement)}}):IteratorPrototype[key]=value};hasOwn(IteratorPrototype,TO_STRING_TAG)||defineIteratorPrototypeAccessor(TO_STRING_TAG,ITERATOR);(FORCED||!hasOwn(IteratorPrototype,CONSTRUCTOR)||IteratorPrototype[CONSTRUCTOR]===Object)&&defineIteratorPrototypeAccessor(CONSTRUCTOR,IteratorConstructor);IteratorConstructor.prototype=IteratorPrototype;$({global:!0,constructor:!0,forced:FORCED},{Iterator:IteratorConstructor})}});var require_function_uncurry_this_clause=__commonJS({"node_modules/core-js/internals/function-uncurr
140y-this-clause.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module2.exports=function(fn){if(classofRaw(fn)==="Function")return uncurryThis(fn)}}});var require_function_bind_context=__commonJS({"node_modules/core-js/internals/function-bind-context.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module2.exports=function(fn,that){return aCallable(fn),that===void 0?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}}});var require_iterators=__commonJS({"node_modules/core-js/internals/iterators.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports={}}});var require_is_array_iterator_method=__commonJS({"node_modules/core-js/internals/is-array-iterator-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),Iterators=require_iterators(),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module2.exports=function(it){return it!==void 0&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}}});var require_to_string_tag_support=__commonJS({"node_modules/core-js/internals/to-string-tag-support.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),test={};test[TO_STRING_TAG]="z";module2.exports=String(test)==="[object z]"}});var require_classof=__commonJS({"node_modules/core-js/internals/classof.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var TO_STRING_TAG_SUPPORT=require_to_string_tag_support(),isCallable=require_is_callable(),classofRaw=require_classof_raw(),wellKnownSymbol=require_well_known_symbol(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw(function(){return arguments}())==="Arguments",tryGet=function(it,key){try{return it[key]}catch{}};module2.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return it===void 0?"Undefined":it===null?"Null":typeof(tag=tryGet(O=$Object(it),TO_STRING_TAG))=="string"?tag:CORRECT_ARGUMENTS?classofRaw(O):(result=classofRaw(O))==="Object"&&isCallable(O.callee)?"Arguments":result}}});var require_get_iterator_method=__commonJS({"node_modules/core-js/internals/get-iterator-method.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var classof=require_classof(),getMethod=require_get_method(),isNullOrUndefined=require_is_null_or_undefined(),Iterators=require_iterators(),wellKnownSymbol=require_well_known_symbol(),ITERATOR=wellKnownSymbol("iterator");module2.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}}});var require_get_iterator=__commonJS({"node_modules/core-js/internals/get-iterator.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),tryToString=require_try_to_string(),getIteratorMethod=require_get_iterator_method(),$TypeError=TypeError;module2.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}}});var require_iterator_close=__commonJS({"node_modules/core-js/internals/iterator-close.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),anObject=require_an_object(),getMethod=require_get_method();module2.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(innerResult=getMethod(iterator,"return"),!innerResult){if(kind==="throw")throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if(kind==="throw")throw value;if(innerError)throw innerResult;return anObject(innerResult),value}}});var require_iterate=__commonJS({"node_modules/core-js/internals/iterate.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var bind=require_function_bind_context(),call=require_function_call(),anObject=require_an_object(),tryToString=require_try_to_string(),isArrayIteratorMethod=require_is_array_iterator_method(),lengthOfArrayLike=require_length_of_array_like(),isPrototypeOf=require_object_is_prototype_of(),getIterator=require_get_iterator(),getIteratorMethod=require_get_iterator_method(),iteratorClose=require_iterator_close(),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module2.exports=function(iterable,unboundFunction,options){var that=options&&options.that,AS_ENTRIES=!!(options&&options.AS_ENTRIES),IS_RECORD=!!(options&&options.IS_RECORD),IS_ITERATOR=!!(options&&options.IS_ITERATOR),INTERRUPTED=!!(options&&options.INTERRUPTED),fn=bind(unboundFunction,that),iterator,iterFn,index,length,result,next,step,stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(iterFn=getIteratorMethod(iterable),!iterFn)throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if(result=callFn(iterable[index]),result&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if(typeof result=="object"&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}}});var require_get_iterator_direct=__commonJS({"node_modules/core-js/internals/get-iterator-direct.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(obj){return{iterator:obj,next:obj.next,done:!1}}}});var require_esnext_iterator_find=__commonJS({"node_modules/core-js/modules/esnext.iterator.find.js"(
140){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$({target:"Iterator",proto:!0,real:!0},{find:function(predicate){anObject(this),aCallable(predicate);var record=getIteratorDirect(this),counter=0;return iterate(record,function(value,stop){if(predicate(value,counter++))return stop(value)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}});var require_esnext_iterator_for_each=__commonJS({"node_modules/core-js/modules/esnext.iterator.for-each.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct();$({target:"Iterator",proto:!0,real:!0},{forEach:function(fn){anObject(this),aCallable(fn);var record=getIteratorDirect(this),counter=0;iterate(record,function(value){fn(value,counter++)},{IS_RECORD:!0})}})}});var require_define_built_ins=__commonJS({"node_modules/core-js/internals/define-built-ins.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var defineBuiltIn=require_define_built_in();module2.exports=function(target,src,options){for(var key in src)defineBuiltIn(target,key,src[key],options);return target}}});var require_create_iter_result_object=__commonJS({"node_modules/core-js/internals/create-iter-result-object.js"(exports2,module2){"use strict";init_define_process_env();init_shim();module2.exports=function(value,done){return{value,done}}}});var require_iterator_create_proxy=__commonJS({"node_modules/core-js/internals/iterator-create-proxy.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),create=require_object_create(),createNonEnumerableProperty=require_create_non_enumerable_property(),defineBuiltIns=require_define_built_ins(),wellKnownSymbol=require_well_known_symbol(),InternalStateModule=require_internal_state(),getMethod=require_get_method(),IteratorPrototype=require_iterators_core().IteratorPrototype,createIterResultObject=require_create_iter_result_object(),iteratorClose=require_iterator_close(),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ITERATOR_HELPER="IteratorHelper",WRAP_FOR_VALID_ITERATOR="WrapForValidIterator",setInternalState=InternalStateModule.set,createIteratorProxyPrototype=function(IS_ITERATOR){var getInternalState=InternalStateModule.getterFor(IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER);return defineBuiltIns(create(IteratorPrototype),{next:function(){var state=getInternalState(this);if(IS_ITERATOR)return state.nextHandler();try{var result=state.done?void 0:state.nextHandler();return createIterResultObject(result,state.done)}catch(error){throw state.done=!0,error}},return:function(){var state=getInternalState(this),iterator=state.iterator;if(state.done=!0,IS_ITERATOR){var returnMethod=getMethod(iterator,"return");return returnMethod?call(returnMethod,iterator):createIterResultObject(void 0,!0)}if(state.inner)try{iteratorClose(state.inner.iterator,"normal")}catch(error){return iteratorClose(iterator,"throw",error)}return iteratorClose(iterator,"normal"),createIterResultObject(void 0,!0)}})},WrapForValidIteratorPrototype=createIteratorProxyPrototype(!0),IteratorHelperPrototype=createIteratorProxyPrototype(!1);createNonEnumerableProperty(IteratorHelperPrototype,TO_STRING_TAG,"Iterator Helper");module2.exports=function(nextHandler,IS_ITERATOR){var IteratorProxy=function(record,state){state?(state.iterator=record.iterator,state.next=record.next):state=record,state.type=IS_ITERATOR?WRAP_FOR_VALID_ITERATOR:ITERATOR_HELPER,state.nextHandler=nextHandler,state.counter=0,state.done=!1,setInternalState(this,state)};return IteratorProxy.prototype=IS_ITERATOR?WrapForValidIteratorPrototype:IteratorHelperPrototype,IteratorProxy}}});var require_call_with_safe_iteration_closing=__commonJS({"node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var anObject=require_an_object(),iteratorClose=require_iterator_close();module2.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}}});var require_iterator_map=__commonJS({"node_modules/core-js/internals/iterator-map.js"(exports2,module2){"use strict";init_define_process_env();init_shim();var call=require_function_call(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),createIteratorProxy=require_iterator_create_proxy(),callWithSafeIterationClosing=require_call_with_safe_iteration_closing(),IteratorProxy=createIteratorProxy(function(){var iterator=this.iterator,result=anObject(call(this.next,iterator)),done=this.done=!!result.done;if(!done)return callWithSafeIterationClosing(iterator,this.mapper,[result.value,this.counter++],!0)});module2.exports=function(mapper){return anObject(this),aCallable(mapper),new IteratorProxy(getIteratorDirect(this),{mapper})}}});var require_esnext_iterator_map=__commonJS({"node_modules/core-js/modules/esnext.iterator.map.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),map=require_iterator_map(),IS_PURE=require_is_pure();$({target:"Iterator",proto:!0,real:!0,forced:IS_PURE},{map})}});var require_esnext_iterator_reduce=__commonJS({"node_modules/core-js/modules/esnext.iterator.reduce.js"(){"use strict";init_define_process_env();init_shim();var $=require_export(),iterate=require_iterate(),aCallable=require_a_callable(),anObject=require_an_object(),getIteratorDirect=require_get_iterator_direct(),$TypeError=TypeError;$({target:"Iterator",proto:!0,real:!0},{reduce:function(reducer){anObject(this),aCallable(reducer);var record=getIteratorDirect(this),noInitial=arguments.length<2,accumulator=noInitial?void 0:arguments[1],counter=0;if(iterate(record,function(value){noInitial?(noInitial=!1,accumulator=value):accumulator=reducer(accumulator,value,counter),counter++},{IS_RECORD:!0}),noInitial)throw new $TypeError("Reduce of empty iterator with no initial value");return accumulator}})}});init_define_process_env();init_shim();var import_esnext_iterator_constructor=__toESM(require_esnext_iterator_constructor()),import_esnext_iterator_find=__toESM(require_esnext_iterator_find()),import_esnext_iterator_for_each=__toESM(require_esnext_iterator_for_each()),import_esnext_iterator_map=__toESM(require_esnext_iterator_map()),import_esnext_iterator_reduce=__toESM(require_esnext_iterator_reduce());init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var freeGlobal=typeof window=="object"&&window&&window.Object===Object&&window,freeGlobal_default=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal_default||freeSelf||Function("return this")(),root_default=root;var Symbol2=root_default.Symbol,Symbol_default=Symbol2;init_define_process_env();init_shim();var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch{}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}var getRawTag_default=getRawTag;init_define_process_env();init_shim();var objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value){return nativeObjectToString2.call(value)}var objectToString_default=objectToString;
140var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value){return value==null?value===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value)?getRawTag_default(value):objectToString_default(value)}var baseGetTag_default=baseGetTag;init_define_process_env();init_shim();function isObjectLike(value){return value!=null&&typeof value=="object"}var isObjectLike_default=isObjectLike;init_define_process_env();init_shim();var isArray=Array.isArray,isArray_default=isArray;init_define_process_env();init_shim();function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}var isObject_default=isObject;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject_default(value))return!1;var tag=baseGetTag_default(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}var isFunction_default=isFunction;init_define_process_env();init_shim();init_define_process_env();init_shim();var coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData;var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var isMasked_default=isMasked;init_define_process_env();init_shim();var funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}var toSource_default=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject_default(value)||isMasked_default(value))return!1;var pattern=isFunction_default(value)?reIsNative:reIsHostCtor;return pattern.test(toSource_default(value))}var baseIsNative_default=baseIsNative;init_define_process_env();init_shim();function getValue(object,key){return object?.[key]}var getValue_default=getValue;function getNative(object,key){var value=getValue_default(object,key);return baseIsNative_default(value)?value:void 0}var getNative_default=getNative;var WeakMap=getNative_default(root_default,"WeakMap"),WeakMap_default=WeakMap;init_define_process_env();init_shim();var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;return length=length??MAX_SAFE_INTEGER,!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}var isIndex_default=isIndex;init_define_process_env();init_shim();function eq(value,other){return value===other||value!==value&&other!==other}var eq_default=eq;init_define_process_env();init_shim();init_define_process_env();init_shim();var MAX_SAFE_INTEGER2=9007199254740991;function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER2}var isLength_default=isLength;function isArrayLike(value){return value!=null&&isLength_default(value.length)&&!isFunction_default(value)}var isArrayLike_default=isArrayLike;init_define_process_env();init_shim();var objectProto4=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto4;return value===proto}var isPrototype_default=isPrototype;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}var baseTimes_default=baseTimes;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike_default(value)&&baseGetTag_default(value)==argsTag}var baseIsArguments_default=baseIsArguments;var objectProto5=Object.prototype,hasOwnProperty3=objectProto5.hasOwnProperty,propertyIsEnumerable=objectProto5.propertyIsEnumerable,isArguments=baseIsArguments_default(function(){return arguments}())?baseIsArguments_default:function(value){return isObjectLike_default(value)&&hasOwnProperty3.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArguments_default=isArguments;init_define_process_env();init_shim();init_define_process_env();init_shim();function stubFalse(){return!1}var stubFalse_default=stubFalse;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer3=moduleExports?root_default.Buffer:void 0,nativeIsBuffer=Buffer3?Buffer3.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse_default,isBuffer_default=isBuffer;init_define_process_env();init_shim();init_define_process_env();init_shim();var argsTag2="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag2="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array
140]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag2]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag2]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike_default(value)&&isLength_default(value.length)&&!!typedArrayTags[baseGetTag_default(value)]}var baseIsTypedArray_default=baseIsTypedArray;init_define_process_env();init_shim();function baseUnary(func){return function(value){return func(value)}}var baseUnary_default=baseUnary;init_define_process_env();init_shim();var freeExports2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule2=freeExports2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports2=freeModule2&&freeModule2.exports===freeExports2,freeProcess=moduleExports2&&freeGlobal_default.process,nodeUtil=function(){try{var types=freeModule2&&freeModule2.require&&freeModule2.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeUtil_default=nodeUtil;var nodeIsTypedArray=nodeUtil_default&&nodeUtil_default.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary_default(nodeIsTypedArray):baseIsTypedArray_default,isTypedArray_default=isTypedArray;var objectProto6=Object.prototype,hasOwnProperty4=objectProto6.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray_default(value),isArg=!isArr&&isArguments_default(value),isBuff=!isArr&&!isArg&&isBuffer_default(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray_default(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes_default(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty4.call(value,key))&&!(skipIndexes&&(key=="length"||isBuff&&(key=="offset"||key=="parent")||isType&&(key=="buffer"||key=="byteLength"||key=="byteOffset")||isIndex_default(key,length)))&&result.push(key);return result}var arrayLikeKeys_default=arrayLikeKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function overArg(func,transform){return function(arg){return func(transform(arg))}}var overArg_default=overArg;var nativeKeys=overArg_default(Object.keys,Object),nativeKeys_default=nativeKeys;var objectProto7=Object.prototype,hasOwnProperty5=objectProto7.hasOwnProperty;function baseKeys(object){if(!isPrototype_default(object))return nativeKeys_default(object);var result=[];for(var key in Object(object))hasOwnProperty5.call(object,key)&&key!="constructor"&&result.push(key);return result}var baseKeys_default=baseKeys;function keys(object){return isArrayLike_default(object)?arrayLikeKeys_default(object):baseKeys_default(object)}var keys_default=keys;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}var hashClear_default=hashClear;init_define_process_env();init_shim();function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}var hashDelete_default=hashDelete;init_define_process_env();init_shim();var HASH_UNDEFINED="__lodash_hash_undefined__",objectProto8=Object.prototype,hasOwnProperty6=objectProto8.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate_default){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty6.call(data,key)?data[key]:void 0}var hashGet_default=hashGet;init_define_process_env();init_shim();var objectProto9=Object.prototype,hasOwnProperty7=objectProto9.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate_default?data[key]!==void 0:hasOwnProperty7.call(data,key)}var hashHas_default=hashHas;init_define_process_env();init_shim();var HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate_default&&value===void 0?HASH_UNDEFINED2:value,this}var hashSet_default=hashSet;function Hash(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear_default;Hash.prototype.delete=hashDelete_default;Hash.prototype.get=hashGet_default;Hash.prototype.has=hashHas_default;Hash.prototype.set=hashSet_default;var Hash_default=Hash;init_define_process_env();init_shim();init_define_process_env();init_shim();function listCacheClear(){this.__data__=[],this.size=0}var listCacheClear_default=listCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq_default(array[length][0],key))return length;return-1}var assocIndexOf_default=assocIndexOf;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf_default(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}var listCacheDelete_default=listCacheDelete;init_define_process_env();init_shim();function listCacheGet(key){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?void 0:data[index][1]}var listCacheGet_default=listCacheGet;init_define_process_env();init_shim();function listCacheHas(key){return assocIndexOf_default(this.__data__,key)>-1}var listCacheHas_default=listCacheHas;init_define_process_env();init_shim();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf_default(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear_default;ListCache.prototype.delete=listCacheDelete_default;ListCache.prototype.get=listCacheGet_default;ListCache.prototype.has=listCacheHas_default;ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache;init_define_process_env();init_shim();var Map=getNative_default(root_default,"Map"),Map_default=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}var mapCacheClear_default=mapCacheClear;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}
140var isKeyable_default=isKeyable;function getMapData(map,key){var data=map.__data__;return isKeyable_default(key)?data[typeof key=="string"?"string":"hash"]:data.map}var getMapData_default=getMapData;function mapCacheDelete(key){var result=getMapData_default(this,key).delete(key);return this.size-=result?1:0,result}var mapCacheDelete_default=mapCacheDelete;init_define_process_env();init_shim();function mapCacheGet(key){return getMapData_default(this,key).get(key)}var mapCacheGet_default=mapCacheGet;init_define_process_env();init_shim();function mapCacheHas(key){return getMapData_default(this,key).has(key)}var mapCacheHas_default=mapCacheHas;init_define_process_env();init_shim();function mapCacheSet(key,value){var data=getMapData_default(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}var mapCacheSet_default=mapCacheSet;function MapCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear_default;MapCache.prototype.delete=mapCacheDelete_default;MapCache.prototype.get=mapCacheGet_default;MapCache.prototype.has=mapCacheHas_default;MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache;init_define_process_env();init_shim();function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}var arrayPush_default=arrayPush;init_define_process_env();init_shim();init_define_process_env();init_shim();function stackClear(){this.__data__=new ListCache_default,this.size=0}var stackClear_default=stackClear;init_define_process_env();init_shim();function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}var stackDelete_default=stackDelete;init_define_process_env();init_shim();function stackGet(key){return this.__data__.get(key)}var stackGet_default=stackGet;init_define_process_env();init_shim();function stackHas(key){return this.__data__.has(key)}var stackHas_default=stackHas;init_define_process_env();init_shim();var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache_default){var pairs=data.__data__;if(!Map_default||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache_default(pairs)}return data.set(key,value),this.size=data.size,this}var stackSet_default=stackSet;function Stack(entries){var data=this.__data__=new ListCache_default(entries);this.size=data.size}Stack.prototype.clear=stackClear_default;Stack.prototype.delete=stackDelete_default;Stack.prototype.get=stackGet_default;Stack.prototype.has=stackHas_default;Stack.prototype.set=stackSet_default;var Stack_default=Stack;init_define_process_env();init_shim();init_define_process_env();init_shim();function arrayFilter(array,predicate){for(var index=-1,length=array==null?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}var arrayFilter_default=arrayFilter;init_define_process_env();init_shim();function stubArray(){return[]}var stubArray_default=stubArray;var objectProto10=Object.prototype,propertyIsEnumerable2=objectProto10.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return object==null?[]:(object=Object(object),arrayFilter_default(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable2.call(object,symbol)}))}:stubArray_default,getSymbols_default=getSymbols;init_define_process_env();init_shim();init_define_process_env();init_shim();function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray_default(object)?result:arrayPush_default(result,symbolsFunc(object))}var baseGetAllKeys_default=baseGetAllKeys;function getAllKeys(object){return baseGetAllKeys_default(object,keys_default,getSymbols_default)}var getAllKeys_default=getAllKeys;init_define_process_env();init_shim();init_define_process_env();init_shim();var DataView=getNative_default(root_default,"DataView"),DataView_default=DataView;init_define_process_env();init_shim();var Promise2=getNative_default(root_default,"Promise"),Promise_default=Promise2;init_define_process_env();init_shim();var Set=getNative_default(root_default,"Set"),Set_default=Set;var mapTag2="[object Map]",objectTag2="[object Object]",promiseTag="[object Promise]",
140setTag2="[object Set]",weakMapTag2="[object WeakMap]",dataViewTag2="[object DataView]",dataViewCtorString=toSource_default(DataView_default),mapCtorString=toSource_default(Map_default),promiseCtorString=toSource_default(Promise_default),setCtorString=toSource_default(Set_default),weakMapCtorString=toSource_default(WeakMap_default),getTag=baseGetTag_default;(DataView_default&&getTag(new DataView_default(new ArrayBuffer(1)))!=dataViewTag2||Map_default&&getTag(new Map_default)!=mapTag2||Promise_default&&getTag(Promise_default.resolve())!=promiseTag||Set_default&&getTag(new Set_default)!=setTag2||WeakMap_default&&getTag(new WeakMap_default)!=weakMapTag2)&&(getTag=function(value){var result=baseGetTag_default(value),Ctor=result==objectTag2?value.constructor:void 0,ctorString=Ctor?toSource_default(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag2;case mapCtorString:return mapTag2;case promiseCtorString:return promiseTag;case setCtorString:return setTag2;case weakMapCtorString:return weakMapTag2}return result});var getTag_default=getTag;init_define_process_env();init_shim();var Uint8Array2=root_default.Uint8Array,Uint8Array_default=Uint8Array2;init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();init_define_process_env();init_shim();var HASH_UNDEFINED3="__lodash_hash_undefined__";function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED3),this}var setCacheAdd_default=setCacheAdd;init_define_process_env();init_shim();function setCacheHas(value){return this.__data__.has(value)}var setCacheHas_default=setCacheHas;function SetCache(values){var index=-1,length=values==null?0:values.length;for(this.__data__=new MapCache_default;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd_default;SetCache.prototype.has=setCacheHas_default;var SetCache_default=SetCache;init_define_process_env();init_shim();function arraySome(array,predicate){for(var index=-1,length=array==null?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}var arraySome_default=arraySome;init_define_process_env();init_shim();function cacheHas(cache,key){return cache.has(key)}var cacheHas_default=cacheHas;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache_default:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome_default(other,function(othValue2,othIndex){if(!cacheHas_default(seen,othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,bitmask,customizer,stack)))return seen.push(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}var equalArrays_default=equalArrays;init_define_process_env();init_shim();init_define_process_env();init_shim();function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}var mapToArray_default=mapToArray;init_define_process_env();init_shim();function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var setToArray_default=setToArray;var COMPARE_PARTIAL_FLAG2=1,COMPARE_UNORDERED_FLAG2=2,boolTag2="[object Boolean]",dateTag2="[object Date]",errorTag2="[object Error]",mapTag3="[object Map]",numberTag2="[object Number]",regexpTag2="[object RegExp]",setTag3="[object Set]",stringTag2="[object String]",symbolTag="[object Symbol]",arrayBufferTag2="[object ArrayBuffer]",dataViewTag3="[object DataView]",symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf
vendor: 3,813 bytes, line 140
140:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag3:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag2:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array_default(object),new Uint8Array_default(other)));case boolTag2:case dateTag2:case numberTag2:return eq_default(+object,+other);case errorTag2:return object.name==other.name&&object.message==other.message;case regexpTag2:case stringTag2:return object==other+"";case mapTag3:var convert=mapToArray_default;case setTag3:var isPartial=bitmask&COMPARE_PARTIAL_FLAG2;if(convert||(convert=setToArray_default),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG2,stack.set(object,other);var result=equalArrays_default(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}var equalByTag_default=equalByTag;init_define_process_env();init_shim();var COMPARE_PARTIAL_FLAG3=1,objectProto11=Object.prototype,hasOwnProperty8=objectProto11.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG3,objProps=getAllKeys_default(object),objLength=objProps.length,othProps=getAllKeys_default(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty8.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}var equalObjects_default=equalObjects;var COMPARE_PARTIAL_FLAG4=1,argsTag3="[object Arguments]",arrayTag2="[object Array]",objectTag3="[object Object]",objectProto12=Object.prototype,hasOwnProperty9=objectProto12.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray_default(object),othIsArr=isArray_default(other),objTag=objIsArr?arrayTag2:getTag_default(object),othTag=othIsArr?arrayTag2:getTag_default(other);objTag=objTag==argsTag3?objectTag3:objTag,othTag=othTag==argsTag3?objectTag3:othTag;var objIsObj=objTag==objectTag3,othIsObj=othTag==objectTag3,isSameTag=objTag==othTag;if(isSameTag&&isBuffer_default(object)){if(!isBuffer_default(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack_default),objIsArr||isTypedArray_default(object)?equalArrays_default(object,other,bitmask,customizer,equalFunc,stack):equalByTag_default(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(bitmask&COMPARE_PARTIAL_FLAG4)){var objIsWrapped=objIsObj&&hasOwnProperty9.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty9.call(other,"__wrapped__");
140if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack_default),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return isSameTag?(stack||(stack=new Stack_default),equalObjects_default(object,other,bitmask,customizer,equalFunc,stack)):!1}var baseIsEqualDeep_default=baseIsEqualDeep;function baseIsEqual(value,other,bitmask,customizer,stack){return value===other?!0:value==null||other==null||!isObjectLike_default(value)&&!isObjectLike_default(other)?value!==value&&other!==other:baseIsEqualDeep_default(value,other,bitmask,customizer,baseIsEqual,stack)}var baseIsEqual_default=baseIsEqual;init_define_process_env();init_shim();function isEqual(value,other){return baseIsEqual_default(value,other)}var isEqual_default=isEqual;init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var incremental=safe_require.safe_require("./u/shared/incremental"),external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),plugin_consts=safe_require.safe_require("./constants/plugin"),local_storage=safe_require.safe_require("./constants/local_storage_keys"),{PUBLIC_ONLY}=safe_require.safe_require("./constants/apiconnectorbase"),known_plugins_consts=safe_require.safe_require("./constants/known_plugins"),{WORKOS_AUTH_URL}=safe_require.safe_require("./constants/auth"),logger=safe_require.safe_require("./logger"),Lib=safe_require.safe_require("./lib"),apiconnectorbase=safe_require.safe_require("./apiconnectorbase"),apiconnector_editor,ContextMenu;u.is_edit_mode()&&(apiconnector_editor=safe_require.safe_require("./editor_plugin/apiconnector_editor"),ContextMenu=safe_require.safe_require("./editor/contextmenu"));var API_CONNECTOR_BASE="apiconnector2";function get_path(api_id,call_id,field_name,field_id,key_name){if(api_id==null){logger.error("API connector issue, calling apiconnector2 with an empty call_id");return}let path=API_CONNECTOR_BASE+"."+api_id;return call_id&&(path+=".calls."+call_id),field_name&&(path+="."+field_name,field_id&&(path+="."+field_id,key_name&&(path+="."+key_name))),path}var get_all_apis_editor=u.autorun_cache({fn:()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis},compare_fn:isEqual_default}),get_all_apis_runmode=function(){return u.autorun_cache(()=>{let apis={},object=appquery.get_public_setting(API_CONNECTOR_BASE);for(let id in object)apis[id]=get_api(id);return apis})("apiconnector2")},get_all_apis=Lib()?.is_edit_mode()?get_all_apis_editor:get_all_apis_runmode,API_CONNECTOR_FIELD_PREFIX="_api_c2_",BASE_SETTING_NAMES=["human","auth","shared_params","shared_headers","token_param_name","add_to_header","header_key","username","password","private_key","private_key_test","iss","scope","generate_token_from_code_uri","cert_file","key_file","token_endpoint","scope","authentication_url","generate_token_from_code_uri","auth_url_params","add_basic_authentication","token_data_type","add_offline","server_redirect","oauth_user_data_call","id_path","email_path"];function get_settings_json_for_api(api_id){let public_settings=read_json_keys_at_path(`settings.client_safe.apiconnector2.${api_id}`,BASE_SETTING_NAMES),private_settings=read_json_keys_at_path(`settings.secure.apiconnector2.${api_id}`,BASE_SETTING_NAMES);return u.deep_copy({},private_settings,public_settings)}function get_api(api_id){let pub=appquery.get_public_setting(get_path(api_id))??{},pvt=appquery.get_private_setting(get_path(api_id))??{},api=u.deep_copy({},pvt,pub);for(let call_id in api.calls){let call=api.calls[call_id];for(let thing of["types","data_container"])call[thing]&&(call[thing]=u.json_parse(call[thing]))}return api}
140function multi_read_json(paths){return paths.forEach(path=>appquery.app().json.pre_cache(path)),paths.map(path=>appquery.app().json.child_by_path(path).raw())}function read_json_keys_at_path(path,keys2){keys2.forEach(key=>appquery.app().json.pre_cache(`${path}.${key}`));let values=keys2.map(key=>appquery.app().json.child_by_path(`${path}.${key}`).raw());return keys2.reduce((obj,key,index)=>(obj[key]=values[index],obj),{})}function get_single_call_raw(api_id,call_id){let[pub,pvt,api_human]=multi_read_json([`settings.client_safe.${get_path(api_id,call_id)}`,`settings.secure.${get_path(api_id,call_id)}`,`settings.client_safe.${get_path(api_id)}.human`]);return pub=pub??{},pvt=pvt??{},{...u.deep_copy({},pub,pvt),types:incremental.incremental_json_parse(pub.types??null),data_container:incremental.incremental_json_parse(pub.types??null),api_id,api_human}}function get_oauth_call_data_raw(api_id){let[oauth_user_data_call,email_path,id_path,human]=multi_read_json([`settings.client_safe.${get_path(api_id)}.oauth_user_data_call`,`settings.client_safe.${get_path(api_id)}.email_path`,`settings.client_safe.${get_path(api_id)}.id_path`,`settings.client_safe.${get_path(api_id)}.human`]);return{human,email_path,id_path,oauth_user_data_call}}var APIConnectorPrivateKey=class extends apiconnectorbase.APIConnectorBasePrivateKey{_get_api(){return get_api(this.params.call_id)}},APIConnectorBasicAuth=class extends apiconnectorbase.APIConnectorBasicAuth{_get_api(){return get_api(this.params.call_id)}},APIConnectorJWT=class extends apiconnectorbase.APIConnectorBaseJWT{_get_api(){return get_api(this.params.call_id)}},APIConnectorSSLProtocol=class extends apiconnectorbase.APIConnectorBaseSSLProtocol{_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2PWFlow=class extends apiconnectorbase.APIConnectorBaseOauth2PWFlow{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2Custom=class extends apiconnectorbase.APIConnectorBaseOauth2Custom{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.call_id}_get_api(){return get_api(this.params.call_id)}},APIConnectorOauth2=class extends apiconnectorbase.APIConnectorBaseOauth2{service_name(){return API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+this.params.api_id}human_name(){return get_api(this.params.api_id).human}_get_api(){return get_api(this.params.api_id)}get_key(name){return name==="server_redirect"?this.get_property("server_redirect"):super.get_key(name)}login(context,action,oauth_token,cb){return!this.tested()&&Lib().workflow.debugger==null&&cb(new u.OwnerError("Oauth2 API not tested",{display:"API Connector error: the Oauth2 API "+this.human_name()+" is not tested yet. Please run in with the debugger to validate your settings."})),(this.get_property("authentication_url")==null||this.get_property("generate_token_from_code_uri")==null)&&cb(new u.OwnerError("Oauth2 API missing information",{display:"API Connector error: the Oauth2 API "+this.human_name()+" has some missing informations. please check"})),super.login(context,action,oauth_token)}get_oauth_user_data(login_data){try{return super.get_oauth_user_data(login_data)}catch(e){delete e.stack;let inner_message=`${e.message?.replace(this.service().plugin_name+" error:","")??JSON.stringify(e??{})} ${e.display?.()??""}`;throw new u.OwnerError("Oauth2 not configured properly",{display:`${this.service().plugin_name} error: the Oauth2 API ${this.human_name()} is not configured properly - ${inner_message}`})}}},WORKOS_SESSION_LENGTH=60*60*4,WorkOSAuth=class extends APIConnectorOauth2{generate_validity_object(user_info){return{access_token:user_info.access_token,refresh_token:user_info.refresh_token,access_token_expires_in:WORKOS_SESSION_LENGTH}}},cls=class extends apiconnectorbase.BaseAPIConnector{constructor(params){super(),this.params=params,this.plugin_name="API Connector",this.BASE=API_CONNECTOR_BASE,this.key_prefix=API_CONNECTOR_FIELD_PREFIX}get_all_apis(){return get_all_apis()}
140get_single_call_raw(api_id,call_id){return get_single_call_raw(api_id,call_id)}get_oauth_call_data_raw(api_id){return get_oauth_call_data_raw(api_id)}user_calls(){let res=[];for(let api_id of get_api_list())appquery.get_public_setting(`${get_path(api_id)}.auth`)==="oauth2_user"&&res.push(`${api_id}_oauth_user_data_call`);return res}authenticator(id){if(!id)return new external.NoAuth;let api_data=get_settings_json_for_api(id),auth,auth_params;return[null,void 0,"none"].includes(api_data.auth)&&(auth=new external.NoAuth),["private_key_url","private_key_header"].includes(api_data.auth)&&(auth_params=apiconnectorbase.get_private_key_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorPrivateKey(auth_params)),api_data.auth==="cert_key"&&(auth=new APIConnectorSSLProtocol({call_id:id})),api_data.auth==="basic_auth"&&(auth=new APIConnectorBasicAuth({call_id:id,username:api_data.username,password:api_data.password})),api_data.auth==="oauth2_pw"&&(auth_params=apiconnectorbase.get_oauth2_pw_auth_params(api_data),u.extend(auth_params,{call_id:id,username:api_data.username,password:api_data.password}),auth=new APIConnectorOauth2PWFlow(auth_params)),api_data.auth==="oauth2_custom"&&(auth=new APIConnectorOauth2Custom({call_id:id})),api_data.auth==="oauth2_user"&&(auth_params=apiconnectorbase.get_oauth2_user_auth_params(api_data),u.extend(auth_params,{api_id:id,_id:API_CONNECTOR_BASE+plugin_consts.PLUGIN_SEPARATOR+id}),auth_params.authentication_url?.startsWith(WORKOS_AUTH_URL)?auth=new WorkOSAuth(auth_params):auth=new APIConnectorOauth2(auth_params)),api_data.auth==="jwt"&&(auth_params=apiconnectorbase.get_jwt_auth_params(api_data),auth_params.call_id=id,auth=new APIConnectorJWT(auth_params)),auth._service=this,auth._display="API - "+api_data.human,auth.add_shared_params_and_headers=req=>apiconnectorbase.add_shared_params_and_headers(api_data,req,this.plugin_name,(header_id,header)=>header.value,(param_id,param)=>param.value),auth}},plugin_registry=safe_require.safe_require("./services/shared/plugin_registry"),apiconnector2={cls};typeof window<"u"&&window!==null&&(window.optional_modules??={},window.optional_modules.apiconnector2=apiconnector2);plugin_registry.register_plugin(known_plugins_consts.API_CONNECTOR,apiconnector2);})(); 141/*! Bundled license information: 142 143buffer/index.js: 144 (*! 145 * The buffer module from node.js, for the browser. 146 * 147 * @author Feross Aboukhadijeh <https://feross.org> 148 * @license MIT 149 *) 150 151lodash-es/lodash.js: 152 (** 153 * @license 154 * Lodash (Custom Build) <https://lodash.com/> 155 * Build: `lodash modularize exports="es" -o ./` 156 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> 157 * Released under MIT license <https://lodash.com/license> 158 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> 159 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 160 *) 161*/ 162 163} 164 165 166window.preloaded['plugin/first_party:apiconnector2'] = true; 167window._bubble_page_load_data.hardcoded_plugins['apple'] = true; 168window.__code__ = window.__code__ || {}; 169if(!window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']){window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']=1; 170 171"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var init_define_process_env=__esm({"<define:process.env>"(){}});var require_base64_js=__commonJS({"node_modules/base64-js/index.js"(exports){"use strict";init_define_process_env();init_shim();exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 28,466 bytes, line 171
171+/";for(i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;var i,len;revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len2=b64.length;if(len2%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");validLen===-1&&(validLen=len2);var placeHoldersLen=validLen===len2?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(_byteLength(b64,validLen,placeHoldersLen)),curByte=0,len2=placeHoldersLen>0?validLen-4:validLen,i2;for(i2=0;i2<len2;i2+=4)tmp=revLookup[b64.charCodeAt(i2)]<<18|revLookup[b64.charCodeAt(i2+1)]<<12|revLookup[b64.charCodeAt(i2+2)]<<6|revLookup[b64.charCodeAt(i2+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255;return placeHoldersLen===2&&(tmp=revLookup[b64.charCodeAt(i2)]<<2|revLookup[b64.charCodeAt(i2+1)]>>4,arr[curByte++]=tmp&255),placeHoldersLen===1&&(tmp=revLookup[b64.charCodeAt(i2)]<<10|revLookup[b64.charCodeAt(i2+1)]<<4|revLookup[b64.charCodeAt(i2+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=tmp&255),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i2=start;i2<end;i2+=3)tmp=(uint8[i2]<<16&16711680)+(uint8[i2+1]<<8&65280)+(uint8[i2+2]&255),output.push(tripletToBase64(tmp));return output.join("")}function fromByteArray(uint8){for(var tmp,len2=uint8.length,extraBytes=len2%3,parts=[],maxChunkLength=16383,i2=0,len22=len2-extraBytes;i2<len22;i2+=maxChunkLength)parts.push(encodeChunk(uint8,i2,i2+maxChunkLength>len22?len22:i2+maxChunkLength));return extraBytes===1?(tmp=uint8[len2-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):extraBytes===2&&(tmp=(uint8[len2-2]<<8)+uint8[len2-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")),parts.join("")}}});var require_ieee754=__commonJS({"node_modules/ieee754/index.js"(exports){init_define_process_env();init_shim();exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}}});var require_buffer=__commonJS({"node_modules/node-stdlib-browser/node_modules/buffer/index.js"(exports){"use strict";init_define_process_env();init_shim();var base64=require_base64_js(),ieee754=require_ieee754(),customInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer3;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer3.TYPED_ARRAY_SUPPORT=typedArraySupport();!Buffer3.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function typedArraySupport(){try{var arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),arr.foo()===42}catch{return!1}}Object.defineProperty(Buffer3.prototype,"parent",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.buffer}});Object.defineProperty(Buffer3.prototype,"offset",{enumerable:!0,get:function(){if(Buffer3.isBuffer(this))return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 171
171)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 171
171if(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)}}}
171var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});init_define_process_env();init_shim();init_define_process_env();init_shim();var u=window?.u??_u,base_safe_require=window?.safe_require??_safe_require,legacy_keys={"@bubblegroup/db":["./db/runtime/db","./db/db"],"@bubblegroup/db/hydrate":["./db/runtime/hydrate","./db/hydrate"],"@bubblegroup/db/values/db_values":["./db/runtime/values/db_values","./db/values/db_values"],"@bubblegroup/db/values/StaticObject":["./db/runtime/values/StaticObject","./db/values/StaticObject"],"@bubblegroup/evaluation/engine/context":["@bubblegroup/evaluation/context","./lang/evaluation/context"],"@bubblegroup/evaluation/engine/eval_node_state":["@bubblegroup/evaluation/eval_node_state","./lang/evaluation/eval_node_state"],"@bubblegroup/evaluation/engine/node_eval":["@bubblegroup/evaluation/node_eval","./lang/evaluation/node_eval"],"@bubblegroup/evaluation/engine/page_state":["@bubblegroup/evaluation/page_state","./lang/evaluation/page_state"],"@bubblegroup/evaluation/engine/state_keys":["@bubblegroup/evaluation/state_keys","./lang/evaluation/state_keys"]};function safe_require_with_legacy_keys(path){try{return base_safe_require.safe_require(path)}catch(err){for(let legacy_key of legacy_keys[path]??[])try{return base_safe_require.safe_require(legacy_key)}catch{}throw err}}var safe_require={safe_require:safe_require_with_legacy_keys,safe_register:base_safe_require.safe_register};var external=safe_require.safe_require("./external"),appquery=safe_require.safe_require("./lang/appquery"),AUTH_URL="https://appleid.apple.com/auth/authorize",AppleAuthenticator=class extends external.Oauth2{native_login(native_bridge,authentication_url,api_data,options){return typeof native_bridge?.appleNativeLogin!="function"?Promise.resolve(null):native_bridge.appleNativeLogin(authentication_url,api_data,options)}get_oauth_user_data(login_data){}get_public_key(){return appquery.get_private_setting("mobile.apple.service_id")}get_secret_key(){return null}use_server_side_redirect(){return!0}get_data_for_login(data){let login_data=super.get_data_for_login(data);return data?.user!=null&&(login_data.user=data.user),login_data}
171is_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);})(); 172/*! Bundled license information: 173 174buffer/index.js: 175 (*! 176 * The buffer module from node.js, for the browser. 177 * 178 * @author Feross Aboukhadijeh <https://feross.org> 179 * @license MIT 180 *) 181*/ 182 183} 184 185 186window.preloaded['plugin/first_party:apple'] = true; 187window.plugins = window.plugins || {}; 188window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {}; 189window.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
189) + \"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
189) + \"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
189) + \"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_btype":{"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}},"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
189puts","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}}}}}; 190window._bubble_page_load_data.plugins_size['1488796042609x768734193128308700'] = 23097; 191window.preloaded['plugin/third_party:1488796042609x768734193128308700:2.1.4'] = true; 192window.plugins["1492117803371x414476256717570050"] = {"human":"Relative Time with Moment.js","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Relative Time","property_applications":{"Font":false,"Padding":false,"Border":false,"Background":false,"resizable":true,"MinWidth":true,"BoxShadow":false},"add_hover_pressed":false,"add_is_visible":true,"fields":{"AAK":{"caption":"Date","name":"date_from","editor":"DynamicValue","value":"date","optional":false,"rank":0},"AAZ":{"caption":"Refresh Interval (milliseconds)","name":"interval","editor":"StaticNumber","rank":1,"optional":true},"AAc":{"caption":"Baseline Date (optional)","name":"base_date","rank":2,"editor":"DynamicValue","value":"date","optional":true},"AAd":{"caption":"Hide Suffix","name":"hide_suffix","rank":3,"editor":"Checkbox","default_val":false}},"states":{"AAJ":{"caption":"current value","name":"current_value","value":"text"}},"code":{"initialize":{"fn":"function(instance,context){instance.data.date_from=null,instance.data.base_date=null,instance.data.interval=null,instance.publishState(\"current_value\",null),instance.data.get_relative_time=null,instance.data.update_me=null,instance.data.hide_suffix=null,instance.data.get_relative_time=function getRelativeTime(dt,bdt,suffix){if(null!==dt){var t=dt;if(null==bdt)t=moment.utc(t,\"YYYY-MM-DD HH:mm:ss\").subtract(1,\"s\").fromNow(suffix);else{var b=moment.utc(bdt,\"YYYY-MM-DD HH:mm:ss\");t=moment.utc(t,\"YYYY-MM-DD HH:mm:ss\").subtract(1,\"s\").to(b,suffix)}return instance.publishState(\"current_value\",t)}return instance.publishState(\"current_value\",\"loading ...\")},instance.data.update_me=function refreshRelativeTime(rt,bdt2,suffix2){if(null!==rt){var r=rt;if(null==bdt2)r=moment.utc(r,\"YYYY-MM-DD HH:mm:ss\").subtract(1,\"s\").fromNow(suffix2);else{var b2=moment.utc(bdt2,\"YYYY-MM-DD HH:mm:ss\");r=moment.utc(r,\"YYYY-MM-DD HH:mm:ss\").subtract(1,\"s\").to(b2,suffix2)}return instance.publishState(\"current_value\",r)}}}"},"update":{"fn":"function(instance,properties,context){var dt=properties.date_from,bdt=properties.base_date,int=properties.interval,vSuffix=properties.hide_suffix,upt=instance.data.update_me;instance.data.get_relative_time(dt,bdt,vSuffix),null!==int&&(null!=instance.data.timer&&(clearInterval(instance.data.timer),instance.data.timer=null),instance.data.timer=setInterval((function(){upt(dt,bdt,vSuffix)}),int))}"}},"platform_type":"web"}}}; 193window._bubble_page_load_data.plugins_size['1492117803371x414476256717570050'] = 2398; 194window.preloaded['plugin/third_party:1492117803371x414476256717570050:2.3.0'] = true; 195window.plugins["1498171554228x105618760361836540"] = {"human":"Air Tooltip","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Air tooltip","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Target element's ID","name":"target_id","editor":"DynamicValue","rank":1,"value":"text","optional":true},"AAE":{"caption":"Content","name":"content","editor":"DynamicValue","rank":3,"value":"text"},"AAF":{"caption":"Show event","name":"show_event","editor":"Dropdown","rank":9,"default_val":"mouseenter","optional":false},"AAG":{"caption":"Tool tip corner","name":"position_my","editor":"Dropdown","rank":4,"default_val":"top left"},"AAH":{"caption":"Target element corner","name":"position_at","editor":"Dropdown","rank":5,"default_val":"bottom right"},"AAI":{"caption":"Theme","name":"theme","editor":"Dropdown","rank":6,"default_val":"cream"},"AAJ":{"caption":"Shadow","name":"shadow","editor":"Checkbox","rank":7,"default_val":true},"AAK":{"caption":"Rounded corner","name":"rounded","editor":"Checkbox","rank":8,"default_val":false},"AAN":{"caption":"Trigger element's ID ","name":"trigger_id","editor":"DynamicValue","rank":0,"value":"text","optional":false},"AAX":{"caption":"Title","name":"title","editor":"DynamicValue","rank":2,"value":"text","optional":true},"AAZ":{"caption":"Show effect","name":"show_effect","editor":"Dropdown","rank":10,"default_val":"no effect"},"AAa":{"caption":"Hide effect","name":"hide_effect","editor":"Dropdown","rank":12,"default_val":" no effect"},"AAc":{"caption":"Delay (in seconds)","name":"delay","editor":"StaticNumber","rank":11,"optional":true,"default_val":0.1},"AAe":{"caption":"Show small tip","name":"show_tip","editor":"Checkbox","rank":14,"default_val":true},"AAf":{"caption":"Hide event","name":"hide_event","editor":"Dropdown","rank":13,"default_val":"mouseleave"},"AAp":{"caption":"Use mouse as target","name":"mouse_target","editor":"Checkbox","rank":15,"default_val":false},"AAq":{"caption":"Move with mouse","name":"move_mouse","editor":"Checkbox","rank":16,"default_val":false},"AAr":{"caption":"Text direction","name":"text_direction","editor":"Dropdown","rank":18,"default_val":"left to right","o
195ptional":false},"ABS":{"caption":"Use Custom Style","name":"custom_style","rank":20,"editor":"Checkbox","default_val":false},"ABT":{"caption":"Background Color","name":"background_color","rank":21,"editor":"Color","optional":true,"default_val":"rgba(0,0,0,1)"},"ABU":{"caption":"Border Color","name":"border_color","rank":22,"editor":"Color","optional":true,"default_val":"rgba(0,0,0,1)"},"ABV":{"caption":"Font Color","name":"font_color","rank":27,"editor":"Color","optional":true,"default_val":"rgba(255,255,255,1)"},"ABW":{"caption":"Title Background Color","name":"title_bg_color","rank":31,"editor":"Color","optional":true,"default_val":"rgba(0,0,0,1)"},"ABX":{"caption":"Title Font Color","name":"title_font_color","rank":32,"editor":"Color","optional":true,"default_val":"rgba(255,255,255,1)"},"ABY":{"caption":"Hide all other tooltips","name":"hide_all_other_tooltips","rank":17,"editor":"DynamicValue","value":"boolean","default_val":false},"ABZ":{"caption":"Font size","name":"font_size","rank":26,"editor":"DynamicValue","value":"text","optional":true},"ABa":{"caption":"Font Family","name":"font_family","rank":25,"editor":"DynamicValue","value":"text","default_val":""},"ABc":{"caption":"Max width","name":"max_width","rank":34,"editor":"DynamicValue","value":"number","default_val":280,"optional":true},"ABd":{"caption":"Min width","name":"min_width","rank":35,"editor":"DynamicValue","value":"number","default_val":64,"optional":true},"ABe":{"caption":"Bold font","name":"bold_font","rank":28,"editor":"Checkbox","default_val":false},"ABf":{"caption":"Italic font","name":"italics_font","rank":29,"editor":"Checkbox","default_val":false},"ABg":{"caption":"Text decoration","name":"text_decoration","rank":30,"editor":"Dropdown","optional":true},"ABh":{"caption":"â¢â¤ Width","name":"width_information","rank":33,"editor":"Label"},"ABi":{"caption":"â¢â¤ Style","name":"styles_information","rank":19,"editor":"Label"},"ABj":{"caption":"Disable","name":"should_block","rank":36,"editor":"DynamicValue","value":"boolean","default_val":false},"ABk":{"caption":"Padding Left","name":"padding_left","rank":38,"editor":"DynamicValue","value":"text","optional":true},"ABl":{"caption":"Padding Right","name":"padding_right","rank":39,"editor":"DynamicValue","value":"text","optional":true},"ABm":{"caption":"Padding Bottom","name":"padding_bottom","rank":40,"editor":"DynamicValue","value":"text","optional":true},"ABn":{"caption":"Padding Top","name":"padding_top","rank":41,"editor":"DynamicValue","value":"text","optional":true},"ABo":{"caption":"Border Radius","name":"border_radius","rank":24,"editor":"DynamicValue","value":"text","optional":true},"ABp":{"caption":"Border Width","name":"border_width","rank":23,"editor":"DynamicValue","value":"text","optional":true},"ABq":{"caption":"Padding","name":"padding","rank":37,"editor":"Label"},"ABu":{"caption":"â¢â¤ Alt Content","name":"alt_content_label","rank":42,"editor":"Label"},"ABv":{"caption":"Alt trigger key","name":"alt_key","rank":43,"editor":"Dropdown","default_val":"None"},"ABw":{"caption":"Alt Content","name":"alt_content","rank":45,"editor":"DynamicValue","value":"text","optional":true},"ABx":{"caption":"Alt Key Mode","name":"alt_key_mode","rank":46,"editor":"Dropdown","default_val":"hold"},"ABy":{"caption":"Alt Title","name":"alt_title","rank":44,"editor":"DynamicValue","value":"text","optional":true}},"code":{"initialize":{"fn":"function(instance,context){const uniqID=\"timeAir\"+(Math.random()*Math.pow(2,54)).toString(18);instance.data.uniqID=uniqID;const style_name=`c-style-${Math.random().toString(36).substr(2,9)}`;instance.data.style_name=style_name,instance.data.isAltActive=!1}"},"update":{"fn":"function(instance,properties,context){const{trigger_id:trigger_id,target_id:target_id,content:content,title:title,alt_content:alt_content,alt_title:alt_title,alt_key:alt_key,alt_key_mode:alt_key_mode,should_block:should_block,custom_style:custom_style,theme:theme,shadow:shadow,rounded:rounded,show_tip:show_tip,position_my:position_my,position_at:position_at,mouse_target:mouse_target,move_mouse:move_mouse,show_event:show_event,show_effect:show_effect,hide_event:hide_event,hide_effect:hide_effect,hide_all_other_tooltips:hide_all_other_tooltips,text_direction:text_direction,delay:delay,background_color:background_color,border_color:border_color,border_width:border_width,border_radius:border_radius,font_color:font_color,font_size:font_size,font_family:font_family,bold_font:bold_font,italics_font:italics_font,text_decoration:text_decoration,title_bg_color:title_bg_color,title_font_color:title_font_color,padding_top:padding_top,padding_bottom:padding_bottom,padding_left:padding_left,padding_right:padding_right,max_width:max_width,min_width:min_width}=properties,{style_name:style_name,uniqID:uniqID}=instance.data,styleSizeName=`${style_name}-size`;instance.data.should_block=should_block,instance.data.mainContent=content,instance.data.altContent=alt_content||\"\",instance.data.mainTitle=title,instance.data.altTitle=alt_title||\"\",instance.data.altKey=alt_key||\"None\",instance.data.altKeyMode=alt_key_mode||\"hold\";const shadowClass=shadow?\" qtip-shadow\":\"\",roundedClass=rounded?\" qtip-rounded\":\"\";applySize(),custom_style&&applyStyles();const styleClass=custom_style?`${style_name}${shadowClass}${roundedClass} ${styleSizeName}`:`qtip-${theme}${shadowClass}${roundedClass} ${styleSizeName}`;instance.data.trigger_id&&($(`#${instance.data.trigger_id}`).qtip(\"destroy\",!0),removeListeners(instance.data.trigger_id));const isiOS=/iPad|iPhone OS/.test(navigator.userAgent),isMobile=\"ontouchstart\"in window||isiOS,activeContent=resolveContent(instance.data.isAltActive);function initQtip(){instance.data.trigger_id=trigger_id,$((()=>{$(`#${trigger_id}`).qtip({content:{title:activeContent.title,text:activeContent.text,button:\"close\"===hide_event&&\"Close\"}
195,position:{my:position_my,at:position_at,target:resolveTarget(),adjust:{x:mouse_target?5:0,y:mouse_target?5:0,mouse:move_mouse,resize:!0,method:\"flip invert\"},effect(api,pos){$(this).animate(pos,{duration:200,queue:!1})}},style:{classes:styleClass,tip:!!show_tip&&{corner:!0}},show:{event:show_event,ready:!1,delay:isiOS&&null==delay?{}:1e3*delay,solo:hide_all_other_tooltips,effect:buildEffect(\"show\")},hide:{event:\"close\"!==hide_event&&hide_event,effect:buildEffect(\"hide\"),fixed:!0},events:{render(event,api){$(this).attr(\"dir\",\"right to left\"===text_direction?\"rtl\":\"ltr\"),instance.data.qtipApi=api},show(event,api){if(instance.data.should_block)return void event.preventDefault();const c=resolveContent(instance.data.isAltActive);api.set(\"content.text\",c.text),api.set(\"content.title\",c.title)},hide(event,api){instance.data.isAltActive=!1,api.set(\"content.text\",instance.data.mainContent),api.set(\"content.title\",instance.data.mainTitle)}}})})),attachAltListeners(trigger_id,isMobile)}function resolveContent(useAlt){const altActive=useAlt&&!!instance.data.altContent;return{text:altActive?instance.data.altContent:instance.data.mainContent,title:altActive?instance.data.altTitle:instance.data.mainTitle}}function resolveTarget(){return mouse_target?\"mouse\":null!=target_id&&$(`#${target_id}`)}function buildEffect(direction){const effectName=\"show\"===direction?show_effect:hide_effect;if(\"no effect\"===effectName)return!1;const effectMap={fadeIn:()=>$(this).fadeIn(),fadeOut:()=>$(this).fadeOut(),slideDown:()=>$(this).slideDown(),slideUp:()=>$(this).slideUp(),slide:()=>$(this)[\"show\"===direction?\"show\":\"hide\"](\"slide\",500)};return function(){effectMap[effectName]?.call(this)}}function getNamespace(){return`.airtooltip-${uniqID}`}function removeListeners(tid){const ns=getNamespace();$(document).off(`keydown${ns} keyup${ns}`),tid&&$(`#${tid}`).off(`touchstart${ns} touchend${ns} touchmove${ns}`)}function switchContent(toAlt){const api=instance.data.qtipApi;if(!api)return;instance.data.isAltActive=toAlt&&!!instance.data.altContent;const c=resolveContent(instance.data.isAltActive);api.set(\"content.text\",c.text),api.set(\"content.title\",c.title)}function attachAltListeners(tid,mobile){const{altKey:altKey,altKeyMode:altKeyMode}=instance.data;if(\"None\"===altKey||!instance.data.altContent)return;removeListeners(tid);const ns=getNamespace();mobile?attachMobileListeners(tid,ns,altKeyMode):attachDesktopListeners(ns,altKey,altKeyMode)}function attachMobileListeners(tid,ns,mode){const LONG_PRESS_DELAY=500;let longPressTimer=null;$(`#${tid}`).on(`touchstart${ns}`,(()=>{longPressTimer=setTimeout((()=>{longPressTimer=null,switchContent(\"switch\"!==mode||!instance.data.isAltActive)}),500)})),$(`#${tid}`).on(`touchend${ns} touchmove${ns}`,(()=>{longPressTimer&&(clearTimeout(longPressTimer),longPressTimer=null),\"hold\"===mode&&instance.data.isAltActive&&switchContent(!1)}))}function attachDesktopListeners(ns,altKey,mode){const KEY_MAP=undefined,targetKey={Shift:\"Shift\",Ctrl:\"Control\",Alt:\"Alt\",Meta:\"Meta\"}[altKey]??altKey;\"hold\"===mode?$(document).on(`keydown${ns}`,(e=>{e.key!==targetKey||instance.data.isAltActive||switchContent(!0)})).on(`keyup${ns}`,(e=>{e.key===targetKey&&instance.data.isAltActive&&switchContent(!1)})):$(document).on(`keydown${ns}`,(e=>{e.key===targetKey&&switchContent(!instance.data.isAltActive)}))}function upsertStyleTag(id,css){const $el=$(`#${id}`);$el.length&&$el.text()===css||($el.length?$el.html(css):$(\"head\").append(`<style id=\"${id}\">${css}</style>`))}function applyStyles(){const textDecorationLine=undefined,css=undefined;upsertStyleTag(`${uniqID}-style-head`,`\\n .${style_name} {\\n background-color: ${background_color};\\n border: ${border_width}px solid ${border_color} !important;\\n border-radius: ${border_radius}px !important;\\n padding: ${padding_top}px ${padding_right}px ${padding_bottom}px ${padding_left}px !important;\\n color: ${font_color};\\n font-size: ${font_size}px;\\n font-family: ${font_family};\\n font-weight: ${bold_font?\"bold\":\"normal\"};\\n font-style: ${italics_font?\"italic\":\"normal\"};\\n text-decoration: ${\"underline\"===text_decoration?\"underline\":\"strikethrough\"===text_decoration?\"line-through\":\"\"};\\n line-height: 1;\\n }\\n .${style_name} .qtip-titlebar {\\n background-color: ${title_bg_color} !important;\\n color: ${title_font_color} !important;\\n }\\n `)}function applySize(){const css=undefined;upsertStyleTag(`${uniqID}-style-head-size`,`\\n .${styleSizeName} {\\n max-width: ${max_width}px !important;\\n min-width: ${min_width}px !important;\\n }\\n .${styleSizeName} .qtip-content {\\n white-space: break-spaces;\\n overflow: hidden;\\n }\\n .${styleSizeName}.qtip {\\n transition: width 220ms ease, height 220ms ease, max-height 220ms ease;\\n }\\n ${show_tip?\"\":`.${styleSizeName} .qtip-tip { display: none !important; }`}\\n `)}trigger_id&&!should_block&&initQtip()}","add_debugger":false},"preview":{"fn":""}},"platform_type":"web"}}}; 196window._bubble_page_load_data.plugins_size['1498171554228x105618760361836540'] = 13572; 197window.preloaded['plugin/third_party:1498171554228x105618760361836540:2.4.0'] = true; 198window.plugins["1511317157580x426888521791832060"] = {"human":"Math.js Local Lite ","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAE":{"display":"Math.js","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AAH":{"caption":"Expression","name":"expression","editor":"DynamicValue","rank":0,"value":"text"}}
198,"states":{"AAG":{"caption":"Result (Number)","name":"result_number","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AAI":{"caption":"Result (Text)","name":"result_text","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAO":{"caption":"Error string","name":"error_string","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAN":{"caption":"error occurred","name":"error"}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){try{var result=math.eval(properties.expression)}catch(err){console.log(err.toString()),instance.triggerEvent(\"error\",(function(err){})),instance.publishState(\"error_string\",err.toString())}if(result)var resultString=result.toString(),resultFloat=parseFloat(result);instance.publishState(\"result_text\",resultString),instance.publishState(\"result_number\",resultFloat)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 199window._bubble_page_load_data.plugins_size['1511317157580x426888521791832060'] = 1363; 200window.preloaded['plugin/third_party:1511317157580x426888521791832060:2.0.0'] = true; 201window.plugins["1515542335452x628730204959539200"] = {"human":"Search & Autocorrect","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAJ":{"display":"Search & Autocorrect","property_applications":{"MinWidth":false,"resizable":true},"add_is_visible":true,"has_reset_fn":false,"can_fit_width":true,"can_fit_height":true,"fields":{"AAL":{"caption":"Data Type","editor":"custom_type","name":"app_data","rank":0},"AAM":{"caption":"Field To Search 1","editor":"custom_field_AAL","name":"search_field","rank":2},"AAN":{"caption":"Data Source","editor":"DynamicValue","is_list":true,"name":"data_source","rank":1,"value":"custom_data_AAL"},"AAP":{"caption":"Text To Match","editor":"DynamicValue","name":"string_to_match","optional":true,"rank":7,"value":"text"},"AAS":{"caption":"___ Options ___","editor":"Label","name":"options","rank":11},"AAT":{"caption":"Threshold","default_val":0.6,"editor":"StaticNumber","name":"threshold","rank":12},"AAU":{"caption":"A threshold of 0.0 requires a perfect match (of both letters and location), a threshold of 1.0 would match anything.","editor":"Label","name":"threshold_info","rank":13},"AAV":{"caption":"Case Sensitive","default_val":false,"editor":"Checkbox","name":"case_sensitive","rank":14},"ABM":{"caption":"___ Advanced Options ___","editor":"Label","name":"advanced_options","rank":15},"ABN":{"caption":"Tokenize","default_val":false,"editor":"Checkbox","name":"tokenize","rank":16},"ABP":{"caption":"Match All Tokens","default_val":false,"editor":"Checkbox","name":"match_all_tokens","rank":17},"ABR":{"caption":"Find All Matches","default_val":true,"editor":"Checkbox","name":"find_all_matches","rank":18},"ABS":{"caption":"Location","default_val":0,"editor":"StaticNumber","name":"location","rank":19},"ABT":{"caption":"Distance","default_val":100,"editor":"StaticNumber","name":"distance","rank":20},"ABU":{"caption":"Max Pattern Length","default_val":32,"editor":"StaticNumber","name":"match_pattern_length","rank":21},"ABW":{"caption":"Field To Search 2","editor":"custom_field_AAL","name":"search_field_2","optional":true,"rank":3},"ABY":{"caption":"Field To Search 3","editor":"custom_field_AAL","name":"search_field_3","optional":true,"rank":4},"ABZ":{"caption":"Field To Search 4","editor":"custom_field_AAL","name":"search_field_4","optional":true,"rank":5},"ABa":{"caption":"OR Set Text to Match from an Input Box","default_val":false,"editor":"Checkbox","name":"search_type","rank":8},"ABb":{"caption":"Check for fast updates from an Input Box value. Make sure you set the Input Box ID value below. See documentation for more info.","editor":"Label","name":"search_type_info","rank":9},"ABc":{"caption":"Field To Search 5","editor":"custom_field_AAL","name":"search_field_5","optional":true,"rank":6},"ABd":{"caption":"Input Box ID","editor":"DynamicValue","name":"input_box_id","optional":false,"rank":10,"value":"text","default_val":""},"ABf":{"caption":"Exclude Terms Shorter Than","name":"exclude_under","rank":22,"editor":"StaticNumber","default_val":2},"ABk":{"caption":"Ignore Accents / Diacritics","name":"ignore_diacritics","rank":23,"editor":"Checkbox","default_val":true}},"states":{"ABK":{"caption":"Matches","is_list":true,"name":"match_array","value":"custom_data_AAL"},"ABL":{"caption":"Match Scores","is_list":true,"name":"match_scores_array","value":"number"},"ABi":{"caption":"Input Box's Value","name":"input_box_value","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"ABg":{"caption":"Reset input","code":{"fn":"function(instance,properties,context){function _0x6e9d(_0xc830d6,_0x4e90a5){var _0x22f255=_0x22f2();return(_0x6e9d=function(_0x6e9db7,_0x488234){var _0x5c8a94;return _0x22f255[_0x6e9db7-=375]})(_0xc830d6,_0x4e90a5)}
201function _0x22f2(){var _0x282e6c=[\"61521guDDNt\",\"10263hJFygL\",\"4918390GDFOAo\",\"7wswTnl\",\"20809728lisTJQ\",\"510VzBFHo\",\"val\",\"56LtEjuu\",\"60uVCsyp\",\"input_box_id\",\"73422UMkCQf\",\"match_scores_array\",\"8722TIGIVh\",\"180724dimVlq\",\"data\",\"input_box_value\",\"7330CGezMg\",\"publishState\"];return(_0x22f2=function(){return _0x282e6c})()}function run(_0x1bca52,_0x56246b,_0x387542){var _0x1a2d12=_0x6e9d;_0x1bca52.data[_0x1a2d12(379)]&&($(\"#\"+_0x1bca52[_0x1a2d12(384)][_0x1a2d12(379)])[_0x1a2d12(376)](\"\"),_0x1bca52[_0x1a2d12(387)](\"match_array\",null),_0x1bca52.publishState(_0x1a2d12(381),null),_0x1bca52[_0x1a2d12(387)](_0x1a2d12(385),null))}!function(_0x1105e4,_0x151cc5){for(var _0x1b2dd8=_0x6e9d,_0x38d1b4=_0x1105e4();;)try{var _0x95a459;if(543020===parseInt(_0x1b2dd8(391))/1*(-parseInt(_0x1b2dd8(383))/2)+parseInt(_0x1b2dd8(388))/3*(-parseInt(_0x1b2dd8(378))/4)+-parseInt(_0x1b2dd8(390))/5+-parseInt(_0x1b2dd8(375))/6*(-parseInt(_0x1b2dd8(382))/7)+-parseInt(_0x1b2dd8(377))/8*(parseInt(_0x1b2dd8(380))/9)+-parseInt(_0x1b2dd8(386))/10*(-parseInt(_0x1b2dd8(389))/11)+parseInt(_0x1b2dd8(392))/12)break;_0x38d1b4.push(_0x38d1b4.shift())}catch(_0x1bd5ea){_0x38d1b4.push(_0x38d1b4.shift())}}(_0x22f2,543020),run(instance,properties,context)}"},"fields":{"ABh":{"caption":"Note: Input box ID must be set in plugin properties for this to work, even if you're not using \"Set Text to Match from an Input Box\" feature.","name":"info","rank":0,"editor":"Label"}}}},"code":{"initialize":{"fn":"function(instance,context){var result;function getResults(){var resultsArray,scoresArray,resultThing;instance.publishState(\"match_array\",null),instance.publishState(\"match_scores_array\",null)}instance.data.removeSpecialCharacters=str=>str&&\"string\"==typeof str?str.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g,\"\"):\"\"}","add_debugger":false},"update":{"fn":"function(instance,properties,context){if(instance.data.data_source=properties.data_source,instance.data.string_to_match=properties.string_to_match,instance.data.dictionary=[],instance.data.input_box_id=properties.input_box_id,instance.data.exclude_under=properties.exclude_under,instance.data.search_type=properties.search_type,instance.data.ignore_diacritics=properties.ignore_diacritics,properties.data_source){var len=properties.data_source.length();instance.data.len=len}else console.log(\"Search & Autocorrect: Data source not defined\");var keys=[],result;function makearray(){for(i=0;i<len;i++){var current_object=properties.data_source.get(0,len)[i],value_pairs={id:i,word1:properties.ignore_diacritics?instance.data.removeSpecialCharacters(current_object.get(properties.search_field)):current_object.get(properties.search_field),word2:properties.search_field_2?current_object.get(properties.search_field_2):\"Empty\",word3:properties.search_field_3?current_object.get(properties.search_field_3):\"Empty\",word4:properties.search_field_4?current_object.get(properties.search_field_4):\"Empty\",word5:properties.search_field_5?current_object.get(properties.search_field_5):\"Empty\"};instance.data.dictionary.push(value_pairs)}}function getResults(){if(result&&result.length){var resultsArray=[],scoresArray=[];for(i=0;i<result.length;i++){var resultThing=instance.data.data_source.get(0,instance.data.len+1)[result[i].item.id];resultsArray.push(resultThing),scoresArray.push(result[i].score)}instance.publishState(\"match_array\",resultsArray),instance.publishState(\"match_scores_array\",scoresArray)}else instance.publishState(\"match_array\",null),instance.publishState(\"match_scores_array\",null)}if(properties.search_field&&keys.push(\"word1\"),properties.search_field_2&&keys.push(\"word2\"),properties.search_field_3&&keys.push(\"word3\"),properties.search_field_4&&keys.push(\"word4\"),properties.search_field_5&&keys.push(\"word5\"),properties.data_source&&makearray(),instance.data.options={shouldSort:!0,includeScore:!0,threshold:properties.threshold,caseSensitive:properties.case_sensitive,location:properties.location,distance:properties.distance,maxPatternLength:properties.match_pattern_length,tokenize:properties.tokenize,matchAllTokens:properties.match_all_tokens,findAllMatches:properties.find_all_matches,keys:keys},!properties.search_type&&properties.string_to_match){var searchTerm=properties.ignore_diacritics?instance.data.removeSpecialCharacters(properties.string_to_match.trim()):properties.string_to_match.trim();searchTerm=searchTerm.split(\" \").filter((function(str){var word=str.match(/(\\w+)/);return word&&word[0].length>=instance.data.exclude_under})).join(\" \");var fuse=new Fuse(instance.data.dictionary,instance.data.options);result=fuse.search(searchTerm),getResults()}else properties.search_type||properties.string_to_match||(instance.publishState(\"match_array\",null),instance.publishState(\"match_scores_array\",null));$(document).ready((function(){instance.data.input_box_id&&instance.data.search_type&&$(\"#\"+instance.data.input_box_id).on(\"input\",(function(){let inputValue=$(this).val();if(instance.publishState(\"input_box_value\",inputValue),instance.data.dictionary&&instance.data.options){let searchTerm=inputValue?inputValue.trim():\"\";if(instance.data.ignore_diacritics&&(searchTerm=instance.data.removeSpecialCharacters(searchTerm)),searchTerm){let words=searchTerm.split(\" \");if(words=words.filter((function(str){return str.length>=instance.data.exclude_under})),searchTerm=words.join(\" \"),searchTerm){var fuse=new Fuse(instance.data.dictionary,instance.data.options);result=fuse.search(searchTerm)}else result=[]}else result=[];getResults()}else console.log(\"Search & Autocorrect: Instance variables not declared\")}))}))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":""}},"platform_type":"web"}}}; 202window._bubble_page_load_data.plugins_size['1515542335452x628730204959539200'] = 9503; 203window.preloaded['plugin/third_party:1515542335452x628730204959539200:2.3.0'] = true;
204window.plugins["1527871417291x467091680897007600"] = {"human":"Instant text","dependencies":{"use_jquery":true},"plugin_elements":{"AAC":{"display":"livetext","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Element ID","name":"elementid","rank":0,"editor":"DynamicValue","value":"text"},"AAG":{"caption":"Initial Content","name":"initial_content","rank":1,"editor":"Checkbox","default_val":false}},"states":{"AAE":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAF":{"caption":"clear","code":{"fn":"function(instance,properties,context){instance.publishState(\"value\",null)}"}}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var selector=\"#\"+properties.elementid,waitForEl=function(ELselector,callback){jQuery(ELselector).length?callback():setTimeout((function(){waitForEl(ELselector,callback)}),1e3)};waitForEl(selector,(function(){function setValue(x){instance.publishState(\"value\",x)}if($(selector).on(\"input\",null,null,(function(){let value=$(selector).val();value&&\"\"!==value||(value=document.querySelector(selector).innerText),instance.data.value=value,setValue(value)})),properties.initial_content){var waitForIC=function(ICselector,count,callback){void 0!==instance.data.value||\"\"===$(ICselector).val()&&\"\"===document.querySelector(ICselector).innerText?setTimeout((function(){waitForIC(ICselector,count,callback)}),1e3):callback()};waitForIC(selector,0,(function(){let value=$(selector).val();value&&\"\"!==value||(value=document.querySelector(selector).innerText),setValue(value)}))}}))}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":""}},"platform_type":"web"}}}; 205window._bubble_page_load_data.plugins_size['1527871417291x467091680897007600'] = 1757; 206window.preloaded['plugin/third_party:1527871417291x467091680897007600:2.1.0'] = true; 207window.plugins["1551900316693x963780318009229300"] = {"human":"Sudsy Page","dependencies":{"use_jquery":false,"plugin_api_version":"4"},"plugin_api":{"calls":{"AAN":{"initialized":true,"is_list":true,"method":"get","name":"QS Param","publish_as":"data","ret_value":"api.1551900316693x963780318009229300.plugin_api.AAN","should_reinitialize":false,"types":"{\"plugin_api.AAN\":{\"caption\":\"QS Param\",\"fields\":{\"_p_Name\":{\"ret_value\":\"text\",\"caption\":\"Name\",\"sample_value\":\"\"},\"_p_Value\":{\"ret_value\":\"text\",\"caption\":\"Value\",\"sample_value\":\"\"}}}}","url":""}},"human":"Sudsy Custom Type"},"plugin_elements":{"AAC":{"display":"Sudsy Page","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"AAO":{"caption":"QS Param","editor":"custom_type","name":"qs_param_type","rank":1},"AAY":{"caption":"â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯ CUSTOM TYPES â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯","editor":"Label","name":"info_custom_types","rank":0},"AAZ":{"caption":"â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯ CONFIG â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯","editor":"Label","name":"info_config","rank":2},"AAa":{"caption":"Link Selector","editor":"DynamicValue","name":"link_selector","optional":true,"rank":3,"value":"text"},"AAb":{"caption":"â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯â¯","editor":"Label","name":"info_separator","rank":4}},"states":{"AAD":{"caption":"Path Params","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"path_params","value":"text"},"AAK":{"caption":"URL Hash Token","initialization_code":{"fn":"function(properties,context){}"},"name":"url_hash_token","value":"text"},"AAP":{"caption":"QS Params","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"qs_params","value":"custom_data_AAO"},"AAQ":{"caption":"URL Changed By","initialization_code":{"fn":"function(properties,context){}"},"name":"context","value":"text"},"AAc":{"caption":"Full Path","initialization_code":{"fn":"function(properties,context){}"},"name":"full_path","value":"text"},"AAe":{"caption":"Full URL","initialization_code":{"fn":"function(properties,context){}"},"name":"full_url","value":"text"},"AAf":{"caption":"Domain","initialization_code":{"fn":"function(properties,context){}"},"name":"domain","value":"text"},"AAg":{"caption":"Bubble Date","initialization_code":{"fn":"function(properties,context){}"},"name":"converted_date","value":"date"}},"events":{"AAE":{"caption":"URL has changed","name":"url_changed"},"AAh":{"caption":"Text to Bubble Date Conversion Occurs","name":"date_converted"}},"actions":{"AAG":{"caption":"Set page title via","fields":{"AAI":{"caption":"Page Title","editor":"DynamicValue","name":"page_title","rank":0,"value":"text"}},"code":{"fn":"function(t,e,n){\n/* @preserve Copyright Tech-Tonic LLC */\nconst c=e.page_title;c&&(document.title=c)}"}},"AAR":{"caption":"Go to URL via","fields":{"AAS":{"caption":"New URL","editor":"DynamicValue","name":"new_url","rank":0,"value":"text"},"AAT":{"caption":"Preserve History","default_val":true,"editor":"Checkbox","name":"preserve","rank":1}},"code":{"fn":"function(o,n,a){\n/* @preserve Copyright Tech-Tonic LLC */\no.data.ctrl.nto(n.new_url,n.preserve,\"workflow\")}"}},"AAU":{"caption":"Go Forward via","fields":{"AAV":{"caption":"How Many","default_val":1,"editor":"DynamicValue","name":"how_many","rank":0,"value":"number"}},"code":{"fn":"function(a,n,o){\n/* @preserve Copyright Tech-Tonic LLC */\nvar r=Math,t=r.abs(r.round(n.how_many));a.data.ctrl.nto(t,null,\"history_nav\")}"}},"AAW":{"caption":"Go Back via","fields":{"AAX":{"caption":"How Many","default_val":1,"editor":"DynamicValue","name":"how_many","rank":0,"value":"number"}},"code":{"fn":"function(a,n,o){\n/* @preserve Copyright Tech-Tonic LLC */\nvar t=Math,c=t.abs(t.round(n.how_many));a.data.ctrl.nto(-c,null,\"history_nav\")}"}},"AAi":{"caption":"Convert Text to Bubble Date via","fields":{"AAj":{"caption":"Date Text","editor":"DynamicValue","name":"date_text","rank":0,"value":"text"}},"code":{"fn":"function(t,e,n){\n/* @preserve Copyright Tech-Tonic LLC */\nt.data.ctrl.pdt(e.date_text,n)}"}},"AAk":{"caption":"Clear Bubble Date via","code":{"fn":"function(e,l,t){\n/* @preserve Copyright Tech-Tonic LLC */\ne.data.ctrl.pdt(null,t)}"}}},"code":{"initialize":{"fn":"function(t,e){\n/* @preserve Copyright Tech-Tonic LLC */\nconst n=window,a=n.location,i=n.addEventListener,s=n.dispatchEvent,o=n.history.pushState,r=n.history.replaceState,c=\"locchg\",l=!0,u=\"tt_w4t0OYj\",d=\"version-\",h=\"live\",_=d+h,m=\"context\",w=\"url_hash_token\",f=\"path_params\",p=\"qs_params\",v=\"full_path\",g=\"full_url\",k=\"domain\",b=\"converted_date\",D=\"url_changed\",C=\"date_converted\",y=\"link_click\",L=\"history_nav\",S=\"init\",E=\"w
207orkflow\",N=\"Workflow target URL invalid.\",P=(t,e,n,a)=>{t.addEventListener(e,n,a)};if(!n[u]){class t{#t=!1;static i=[];static t=\"\";static o=[];static l=\".bubble-element.Link\";static u=null;constructor(t){t.data.ctrl=this}#e(e,n){this.#t=!0,t.i.push(e),n.link_selector&&(t.l+=\",\"+n.link_selector),setTimeout((()=>{t.t=S,t.h(e,a),t._(e,t.u)}),0)}upd(t,e){!this.#t&&this.#e(t,e)}nto(e,n,a){t.n(e,n,a)}pdt(e,n){try{t.u=e?t.m(e):e,t.i.forEach((e=>{t._(e,t.u)}))}catch(e){t.p(e,n)}}static v(){const e=document;history.pushState=function(){const t=o.apply(this,arguments);return s(new Event(\"pushState\")),s(new Event(c)),t},history.replaceState=function(){const t=r.apply(this,arguments);return s(new Event(\"replaceState\")),s(new Event(c)),t},i(\"popstate\",(()=>{t.t=L,s(new Event(c))})),i(c,(()=>{t.i.forEach((e=>{t.h(e,a)}))})),\"loading\"===e.readyState?P(e,\"DOMContentLoaded\",t.g):t.g()}static n(i,s,o){const r=history;try{switch(o){case L:return void r.go(i);case E:try{var c=new URL(i)}catch(t){throw{message:N+\" [\"+i+\"]\"}}if(!t.k(c))return n.onbeforeunload=null,n.addEventListener(\"beforeunload\",(t=>{t.stopPropagation()}),!0),void(s?a.assign(i):a.replace(i));break;case y:break;default:throw{message:\"Unknown navigation context.\"}}t.t=o;const e={},l=\"\";s?r.pushState(e,l,i):r.replaceState(e,l,i)}catch(n){t.p(n,e)}}static h(e,n){const a=e.publishState,i=e.triggerEvent;t.o=t.D(n),a(f,t.o),a(v,t.o.join(\"/\")),a(g,n.href),a(k,n.hostname),a(p,t.C(n)),a(w,t.L(n)),a(m,t.t),i(D,t.S)}static _(e,n){e.publishState(b,n),n&&e.triggerEvent(C,t.N)}static C(t){return t.search?t.search.substring(1).split(\"&\").map((t=>{const e=t.split(\"=\");return{_p_Name:e[0],_p_Value:decodeURIComponent(e[1])}})):[]}static P(){return n.app.app_version===h}static L(t){return(t.hash?t.hash.substring(1):\"\")||\"\"}static D(e){let n=e.pathname.replaceAll(/(?:\\/+){2,}/g,\"/\").split(\"/\");return n[0]||n.shift(),(!t.P()&&0===n[0].indexOf(d)||n[0]===_)&&n.shift(),n[n.length-1]||n.pop(),n.forEac
207h(((t,e,n)=>{n[e]=decodeURIComponent(t)})),n}static U(t){return t.hostname===a.hostname}static k(e){if(!t.U(e))return!1;const n=t.D(e);return(t.o[0]||\"\")===(n[0]||\"\")}static g(){P(document.body,\"click\",t.T,!0)}static S(n){n&&t.p(n,e)}static N(n){n&&t.p(n,e)}static p(t,e){t.message&&e.reportDebugger(t.message)}static T(e){const n=e.target.closest(t.l);if(!n)return!0;const a=n.href,i=n;t.k(i)&&(e.preventDefault(),t.n(a,l,y))}static m(t){if(null==t||\"string\"!=typeof t&&\"number\"!=typeof t)throw{message:\"Invalid date string input\"};const e=String(t).trim();if(/^-?\\d+$/.test(e)){const t=Number(e);let n;if(n=Math.abs(t)>=1e12?new Date(t):Math.abs(t)>=1e9?new Date(1e3*t):new Date(t),isNaN(n.getTime()))throw{message:\"Timestamp resulted in invalid date\"};return n}const n=new Date(e);if(isNaN(n.getTime()))throw{message:\"Invalid date string format\"};return n}}n[u]=t,t.v()}new n[u](t)}"},"update":{"fn":"function(n,t,u){\n/* @preserve Copyright Tech-Tonic LLC */\nn.data.ctrl.upd(n,t)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(e,t){\n/* @preserve Copyright Tech-Tonic LLC */\nconst n=document.createElement(\"img\");n.src=\"//7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1569798535499x201566813718671460/icon-sudsy-page.png\",n.style.cssText=\"position:absolute;width:100%;height:100%;\",e.canvas.appendChild(n)}"}},"platform_type":"web"}},"plugin_actions":{"AAl":{"display":"ð Go to URL (Sudsy Page)","type":"client_side","fields":{"AAm":{"caption":"New URL","editor":"DynamicValue","name":"new_url","rank":0,"value":"text"},"AAn":{"caption":"Preserve History","default_val":true,"editor":"Checkbox","name":"preserve","rank":1}},"code":{"client":{"fn":"function(o,n){\n/* @preserve Copyright Tech-Tonic LLC */\nconst e=window.tt_w4t0OYj;e?e.n(o.new_url,o.preserve,\"workflow\"):n.reportDebugger(\"No instances of Sudsy Page found on the page\")}"}}},"AAo":{"display":"ð Go Forward (Sudsy Page)","type":"client_side","fields":{"AAp":{"caption":"How Many","default_val":1,"editor":"DynamicValue","name":"how_many","rank":0,"value":"number"}},"code":{"client":{"fn":"function(n,o){\n/* @preserve Copyright Tech-Tonic LLC */\nconst a=window.tt_w4t0OYj;a?a.n(Math.round(n.how_many),null,\"history_nav\"):o.reportDebugger(\"No instances of Sudsy Page found on the page\")}"}}},"AAq":{"display":"ð Go Back (Sudsy Page)","type":"client_side","fields":{"AAr":{"caption":"How Many","default_val":1,"editor":"DynamicValue","name":"how_many","rank":0,"value":"number"}},"code":{"client":{"fn":"function(n,o){\n/* @preserve Copyright Tech-Tonic LLC */\nconst a=window.tt_w4t0OYj;a?a.n(-Math.round(n.how_many),null,\"history_nav\"):o.reportDebugger(\"No instances of Sudsy Page found on the page\")}"}}}}}; 208window._bubble_page_load_data.plugins_size['1551900316693x963780318009229300'] = 9687; 209window.preloaded['plugin/third_party:1551900316693x963780318009229300:3.1.1'] = true; 210window.plugins["1553798969094x282191533018710000"] = {"human":"Air Calendar (Full Calendar 6.1.15)","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"shared_keys":{"AJV":{"caption":"Google Calendar API","type":"client_safe"}},"plugin_elements":{"AAC":{"display":"AirCalendar ","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":false,"autobinding_value":"date","autobinding_is_list":false,"fields":{"AAE":{"caption":"Type of events","name":"event_apptype","editor":"custom_type","rank":1,"optional":false},"AAF":{"caption":"Event's data source","name":"data_source","editor":"DynamicValue","rank":2,"optional":false,"value":"custom_data_AAE","is_list":true},"AAG":{"caption":"Start time field","name":"start_time","editor":"custom_field_AAE","rank":4},"AAH":{"caption":"End time field","name":"end_time","editor":"custom_field_AAE","rank":5,"optional":true},"AAI":{"caption":"All day field (yes/no)","name":"all_day","editor":"custom_field_AAE","rank":6,"optional":true},"AAJ":{"caption":"Event title field","name":"event_caption","editor":"custom_field_AAE","rank":7,"value":"custom_data_AAE","optional":true},"AAK":{"caption":"Event draggable?","name":"dragging","editor":"DynamicValue","rank":36,"value":"boolean","default_val":true,"optional":true},"AAL":{"caption":"Event resizable?","name":"resizing","editor":"DynamicValue","rank":37,"value":"boolean","default_val":true,"optional":true},"AAM":{"caption":"Date to display at first","name":"first_date","editor":"DynamicValue","rank":34,"value":"date","optional":true},"AAQ":{"caption":"Include Saturday column","name":"saturday","editor":"Checkbox","rank":38,"default_val":true},"AAR":{"caption":"Starting day","name":"firstday","editor":"Dropdown","rank":35,"default_val":"Sunday","optional":false},"AAS":{"caption":"Events and days are selectable","name":"selectable","editor":"Checkbox","rank":40,"default_val":true},"AAV":{"caption":"Event's Individual BG","name":"event_backgroundcolor_field","editor":"custom_field_AAE","rank":10,"optional":true},"ABp":{"caption":"ðï¸ VIEWS SETTINGS","name":"INFO_view_heading","editor":"Label","rank":21},"ABq":{"caption":"CustomView1 view","name":"custom_view_1_view","editor":"Dropdown","rank":26,"default_val":"timeGrid","optional":true},"ABr":{"caption":"CustomView1 duration","name":"custom_view_1_duration","editor":"StaticNumber","rank":28,"default_val":3,"optional":false},"ABs":{"caption":"Custom View 2","name":"custom_view_seperator","editor":"Label","rank":29},"ABt":{"caption":"CustomView2 view","name":"custom_view_2_view","editor":"Dropdown","rank":30,"optional":true},"ABu":{"caption":"CustomView2 duration","name":"custom_view_2_duration","editor":"StaticNumber","rank":32,"optional":false,"default_val":2},"ABx":{"caption":"CustomView1 type","name":"custom_view_1_type","editor":"Dropdown","rank":27,"default_val":"days","optional":true},"ABy":{"caption":"CustomView2 type","name":"custom_view_2_type","editor":"Dropdown","rank":31,"optional":true},"ABz":{"caption":"Default view","name":"default_view","editor":"Dropdown","rank":23,"default_val":"timeGridWeek","optional":false},"ACA":{"caption":"Enable navigation links","name":"navlinks","editor":"Checkbox","rank":41,"default_val":true},"ACE":{"caption":"Remember view","name":"remember_view","rank":24,"editor":"Checkbox","default_val":false},"ADD":{"caption":"Show week numbers","name":"show_week_numbers","rank":42,"editor":"Checkbox","default_val":false},"AEl":{"caption":"Default Event BG","name":"eventbackgroundcolor","rank":79,"editor":"Color","optional":true,"default_val":"rgba(230, 165, 25, 1)"},"AEm":{"caption":"Event border color","name":"eventbordercolor","rank":80,"editor":"Color","optional":true,"default_val":"rgba(37, 19, 240, 1)"},"AEn":{"caption":"Event text color","name":"eventtextcolor","rank":81,"editor":"Color","optional":true,"default_val":"rgba(5,0,0,1)"},"AEo":{"caption":"Event bordercolor field","name":"event_bordercolor_field","rank":11,"editor":"custom_field_AAE","optional":true},"AEp":{"caption":"Event textcolor field","name":"event_textcolor_field","rank":12,"editor":"custom_field_AAE","optional":true},"AFA":{"caption":"Locale","name":"locale","rank":74,"editor":"DynamicValue","value":"text","optional":false,"default_val":"en"},"AFB":{"caption":"Display event time","name":"displaytime","rank":63,"editor":"Checkbox","default_val":true},"AFC":{"caption":"Show current time indicator","name":"nowindicator","rank":66,"editor":"Checkbox","default_val":true},"AFD":{"caption":"Minimum date","name":"mindate","rank":54,"editor":"DynamicValue","value":"date","optional":true},"AFE":{"caption":"Maximum date","name":"maxdate","rank":55,"editor":"DynamicValue","value":"date","optional":true},"AFF":{"caption":"Minimum time","name":"mintime","rank":56,"editor":"DynamicValue","value":"text","default_val":"00:00","optional":true},"AFG":{"caption":"Maximum time","name":"maxtime","rank":57,"editor":"DynamicValue","value":"text","default_val":"24:00","optional":true},"AFH":{"caption":"Scroll time","name":"scroll_time","rank":58,"editor":"DynamicValue","value":"text","default_val":"06:00","optional":true},"AFJ":{"caption":"Allow drag/resize overlap","name":"overlap","rank":43,"editor":"Checkbox","default_val":true},"AFP":{"caption":"Event limit clicked","name":"eventimitclick","rank":72,"editor":"Dropdown","optional":true},"AFV":{"caption":"Show All Day slot","name":"alldayslot","rank":65,"editor":"DynamicValue","value":"boolean","default_val":true,"optional":true},"AFW":{"caption":"Slot duration","name":"slotduration","rank":59,"editor":"Dropdown","value":"text","optional":true,"default_val":"1h"},"AFZ":{"caption":"Slot Label interval","name":"slotlabelinterval","rank":60,"editor":"Dropdown","default_val":"30","optional":true},"AFa":{"caption":"Slot label 12 hour (e.g. 9:30pm)","name":"slotlable12hour","rank":61,"editor":"Checkbox","default_val":true},"AFb":{"caption":"Event time 12 hour","name":"eventtime12hour","rank":62,"editor":"Checkbox","default_val":true},"AFd":{"caption":"Event limit (month view)","name":"eventlimit","rank":69,"editor":"DynamicValue","value":"number","default_val":3},"AFf":{"caption":"Ignore unselect ID","name":"unselect_container","rank":48,"editor":"DynamicValue","value":"text","optional":true},"AFt":{"caption":"Timezone ( Attention: Deprecated )","name":"timezone","rank":77,"editor":"DynamicValue","value":"text","default_val":"","optional":true},"AGE":{"caption":"Disable context menu on right-click of event","name":"disable_contextmenu","rank":50,"editor":"Checkbox","default_val":false},"AGI":{"caption":"Blocked event field","name":"blocked_field","rank":16,"editor":"custom_field_AAE","optional":true},"AGJ":{"caption":"Blocked Event BG","name":"blocked_bgcolor","rank":84,"editor":"Color","optional":true,"default_val":"rgba(255,255,255,1)"},"AGL":{"caption":"Calendar background color","name":"cal_bgcolor","rank":86,"editor":"Color","optional":true,"default_val":"rgba(255,255,255,1)"},"AGM":{"caption":"Calendar text color","name":"cal_textcolor","rank":87,"editor":"Color","optional":true,"in_style":false,"default_val":"rgba(255,255,255,1)"},"AGN":{"caption":"Calendar lines color","name":"cal_linescolor","rank":88,"editor":"Color","optional":true,"default_val":"rgba(204, 114, 114, 1)"},"AGO":{"caption":"Current day color","name":"today_color","rank":89,"editor":"Color","optional":true,"default_val":"rgba(39, 242, 201, 1)"},"AGP":{"caption":"Selected day(s) color","name":"selected_daycolor","rank":91,"editor":"Color","optional":true,"default_val":"rgba(204,255,255,0.3)"},"AGS":{"caption":"Nextday threshold","name":"nextday_threshold","rank":51,"editor":"DynamicValue","value":"text","optional":true,"default_val":"00:00"},"AGU":{"caption":"Select min distance","name":"selectmindistance","rank":47,"editor":"StaticNumber","optional":false,"default_val":0},"AGn":{"caption":"Custom Views: Allowed combinations for custom views are: timeGrid(days|weeks), dayGrid(days|weeks|months), list(days|weeks|months|years), resourceTimeline(days|weeks|months|years). Wrong combinations will result in error, e.g. timeGrid(month).","name":"view_options_info","rank":25,"editor":"Label"},"AGo":{"caption":"Allow editing blocked events","name":"blocked_editable","rank":85,"editor":"DynamicValue","value":"boolean","default_val":true,"optional":false},"AHd":{"caption":"Event border width","name":"event_borderwidth","rank":82,"editor":"Dropdown","optional":false,"default_val":"1px"},"AHe":{"caption":"Event border radius","name":"event_borderradiu
210s","rank":83,"editor":"Dropdown","optional":false,"default_val":"2px"},"AHm":{"caption":"Event draggable field","name":"event_draggable_field","rank":13,"editor":"custom_field_AAE","optional":true},"AHn":{"caption":"Event resizable field","name":"event_resizable_field","rank":14,"editor":"custom_field_AAE","optional":true},"AHo":{"caption":"Event overlap field","name":"event_overlap_field","rank":15,"editor":"custom_field_AAE","optional":true},"AHp":{"caption":"ð
EVENT SETTINGS","name":"info_event_header","rank":0,"editor":"Label"},"AHq":{"caption":"âï¸ CALENDAR SETTINGS","name":"INFO_calendar_settings","rank":33,"editor":"Label"},"AHr":{"caption":"Default duration","name":"default_duration","rank":49,"editor":"DynamicValue","value":"text","default_val":"01:00"},"AIE":{"caption":"ð¥ RESOURCE / SCHEDULER","name":"RESOURCE_title","rank":105,"editor":"Label"},"AIO":{"caption":"Enable Resource/Scheduler view","name":"enable_scheduler","rank":106,"editor":"Checkbox","default_val":false},"AIQ":{"caption":"Resource type","name":"resource_type","rank":107,"editor":"custom_type","optional":true},"AIR":{"caption":"Resource data source","name":"resource_data_source","rank":109,"editor":"DynamicValue","value":"custom_data_AIQ","optional":true,"is_list":true},"AIS":{"caption":"Event resource field","name":"event_resource_field","rank":108,"editor":"custom_field_AAE","optional":true},"AIT":{"caption":"Resource title field","name":"resource_title_field","rank":111,"editor":"custom_field_AIQ","optional":true},"AIX":{"caption":"Res. order field","name":"res_order_field","rank":114,"editor":"custom_field_AIQ","optional":true},"AIY":{"caption":"Order Res. ascending","name":"res_order_ascending","rank":115,"editor":"DynamicValue","value":"boolean","default_val":true},"AIc":{"caption":"Allow select overlap","name":"select_overlap","rank":44,"editor":"Checkbox","default_val":true},"AId":{"caption":"Title has HTML content","name":"html_title","rank":52,"editor":"Checkbox","default_val":false},"AIh":{"caption":"Event classNames field","name":"event_classnamesfield","rank":18,"editor":"custom_field_AAE","field_list":true,"optional":true},"AIi":{"caption":"Event content field","name":"event_content","rank":8,"editor":"custom_field_AAE","optional":true},"AIv":{"caption":"Hide resources with no events","name":"filterresourceswithevents","rank":120,"editor":"Checkbox","default_val":false},"AIw":{"caption":"Resource label","name":"resource_label","rank":112,"editor":"DynamicValue","value":"text","optional":false,"default_val":"Resource"},"AIx":{"caption":"Allow dragging between resources","name":"eventresourceeditable","rank":118,"editor":"Checkbox","default_val":false},"AJA":{"caption":"Pause after drag/resize","name":"modification_pause","rank":46,"editor":"Dropdown","default_val":"1"},"AJE":{"caption":"Dates above(before) resource","name":"datesaboveresource","rank":119,"editor":"Checkbox","default_val":false},"AJG":{"caption":"IMPORTANT: The timeline and resource views (see list below) and custom views based on them require enabling the Scheduler component (see section below for info on scheler) : timelineDay,timelineWeek,resourceTimeGridDay,resourceTimeGridWeek,resourceDayGridMonth,resourceDayGridDay,resourceDayGridWeek,resourceTimelineDay,resourceTimelineWeek","name":"resourceview_info","rank":22,"editor":"Label"},"AJI":{"caption":"Event Id field","name":"event_id_field","rank":3,"editor":"custom_field_AAE"},"AJJ":{"caption":"Res. Id field","name":"res_id_field","rank":110,"editor":"custom_field_AIQ"},"AJM":{"caption":"Timezone field will be deprecated! Use action \"Set Timezone\" And \"Owner's timezone\" field","name":"dev_timezone","rank":76,"editor":"Label"},"AJR":{"caption":"Enable Import Events From Google Calendar","name":"gcalendar","rank":102,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true},"AJS":{"caption":"Google Calendar ID","name":"gcalendar_id","rank":103,"editor":"DynamicValue","optional":true,"value":"text"},"AJW":{"caption":"ð Google Calendar Settings","name":"google_calendar","rank":101,"editor":"Label"},"AJX":{"caption":"View type for Google Events","name":"default_view_gcalendar","rank":104,"editor":"Dropdown","default_val":"auto","optional":true},"AJY":{"caption":"Delay for Mobile Devices","name":"delay_for_mobile_devices","rank":122,"editor":"Label"},"AJZ":{"caption":"Event Press Delay","name":"eventPress","rank":124,"editor":"DynamicValue","value":"number","default_val":1000},"AJa":{"caption":"ð± For touch devices, the amount of time the user must hold down before an event becomes draggable or a date becomes selectable.","name":"aboutdelay","rank":123,"editor":"Label"},"AJb":{"caption":"Select Press Delay ","name":"selectPress","rank":125,"editor":"DynamicValue","value":"number","default_val":1000},"AJk":{"caption":"Owner's timezone","name":"owners_timezone","rank":75,"editor":"Dropdown","value":"text"},"AKE":{"caption":"Resource Area Width","name":"resourceareawidth","rank":116,"editor":"StaticNumber","default_val":30},"AOB":{"caption":"Include Sunday column","name":"sunday","rank":39,"editor":"Checkbox","default_val":true},"AOG":{"caption":"Enable Header Borders","name":"enable_header_borders","rank":93,"editor":"Checkbox","default_val":false},"AOJ":{"caption":"Content Display Type","name":"content_display_type","rank":9,"editor":"Dropdown","default_val":"Event"},"AOK":{"caption":"Day Header Custom Format","name":"day_header_Ñustom_format","rank":95,"editor":"Checkbox","default_val":false},"AOL":{"caption":"Weekday format","name":"weekday_format","rank":96,"editor":"Dropdown","default_val":"short","optional":true},"AOM":{"caption":"Day format","name":"day_format","rank":97,"editor":"Dropdown","default_val":"2-digit","optional":true},"AON":{"caption":"Month format","name":"month_format","rank":98,"editor":"Dropdown","default_val":"long","optional":true},"AOO":{"caption":"Year format","name":"year_format","rank":99,"editor":"Dropdown","default_val":"numeric","optional":true},"AOZ":{"caption":"Dragging external events","name":"dragging_external_events","rank":100,"editor":"Checkbox","default_val":false},"AOa":{"caption":"Current time","name":"current_time","rank":68,"editor":"Dropdown","default_val":"Timezone","optional":true},"AOc":{"caption":"Disable adding events","name":"disable_adding_events","rank":45,"editor":"Checkbox","default_val":false},"AOh":{"caption":"Clickable resource","name":"clickable_resource","rank":117,"editor":"Checkbox","default_val":false},"AOk":{"caption":"Color time indicator","name":"color_time_indicator","rank":67,"editor":"Color","optional":true,"default_val":"rgba(255,0,0,1)"},"AOw":{"caption":"Recurring","name":"recurring","rank":19,"editor":"custom_field_AAE","optional":true},"AOz":{"caption":"Days of week","name":"days_of_week","rank":20,"editor":"custom_field_AAE","optional":true,"field_list":true},"APJ":{"caption":"Resource group name","name":"name_of_resource_group","rank":113,"editor":"custom_field_AIQ","optional":true},"APL":{"caption":"Show events end time","name":"show_end_time_of_events","rank":64,"editor":"Dropdown","default_val":"Default"},"APZ":{"caption":"OR","name":"or","rank":70,"editor":"Label"},"APa":{"caption":"Event limit fit","name":"event_limit_fit","rank":71,"editor":"Checkbox","default_val":false},"APd":{"caption":"Current day cells color","name":"current_day_cells_color","rank":90,"editor":"Color","default_val":"rgba(168,252,246,1)"},"APe":{"caption":"Event display type","name":"event_display_type","rank":17,"editor":"custom_field_AAE","optional":true}
210,"APi":{"caption":"Multi-Month Year Background Color","name":"multimonthyear_background_color","rank":92,"editor":"Color","optional":true,"default_val":"rgba(255,255,255,1)"},"AYz":{"caption":"â±ï¸ Time & Slot Settings","name":"info_time_&_slot_settings","rank":53,"editor":"Label"},"AZA":{"caption":"ð¨ Appearance Settings","name":"appearance_settings","rank":78,"editor":"Label"},"AZB":{"caption":"ð Timezone & Locale Settings","name":"info_timezone_&_locale_settings","rank":73,"editor":"Label"},"AZC":{"caption":"Touch / Mobile Settings","name":"info_touch_/_mobile_settings","rank":121,"editor":"Label"},"AZD":{"caption":"ð Day Header Custom Format","name":"info_day_header_custom_format","rank":94,"editor":"Label"}},"states":{"AAZ":{"caption":"current event","name":"current_event","value":"custom_data_AAE","initialization_code":{"invalid":true,"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AAb":{"caption":"clicked date","name":"clicked_date","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AAv":{"caption":"current view's name","name":"current_view","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"ABG":{"caption":"current view's title","name":"current_view_title","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"ABJ":{"caption":"modified event","name":"modified_event","value":"custom_data_AAE","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"ABL":{"caption":"modified event start","name":"modified_event_start","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"ABM":{"caption":"modified event end","name":"modified_event_end","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"ABQ":{"caption":"modified event allday","name":"modified_event_allday","value":"boolean","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"ACD":{"initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"},"name":"current_date","caption":"current view's date","value":"date"},"ADJ":{"initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{return null;}}"},"name":"view_activestart","caption":"view's activeStart date","value":"date"},"ADW":{"caption":"view's activeEnd date","name":"view_activeend","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{return null;}}"}},"AEj":{"caption":"selected start date","name":"select_start","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AEk":{"caption":"selected end date","name":"select_end","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AEz":{"caption":"locales","name":"locales","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"},"is_list":true},"AFc":{"caption":"more link clicked date","name":"more_link_date","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AFm":{"caption":"current event's rightclick pageX","name":"rightclick_x","value":"number","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AFn":{"caption":"current event's rightclick pageY","name":"rightclick_y","value":"number","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AFx":{"caption":"timezones","name":"timezones","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"},"is_list":true},"AFy":{"caption":"browser timezone","name":"browsertimezone","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x5cac(_0x239bf6,_0x2b6928){var _0x49c085=_0x49c0();return _0x5cac=function(_0x5cac16,_0x17546b){_0x5cac16=_0x5cac16-0x13e;var _0x526dff=_0x49c085[_0x5cac16];if(_0x5cac['OffjLf']===undefined){var _0x4886e2=function(_0x27dfa9){var _0x3013dc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xf580c1='',_0x20f2b4='';for(var _0x3c875f=0x0,_0x45355b,_0x594302,_0x3a984e=0x0;_0x594302=_0x27dfa9['charAt'](_0x3a984e++);~_0x594302&&(_0x45355b=_0x3c875f%0x4?_0x45355b*0x40+_0x594302:_0x594302,_0x3c875f++%0x4)?_0xf580c1+=String['fromCharCode'](0xff&_0x45355b>>(-0x2*_0x3c875f&0x6)):0x0){_0x594302=_0x3013dc['indexOf'](_0x594302);}for(var _0x4ebd94=0x0,_0x3c26fb=_0xf580c1['length'];_0x4ebd94<_0x3c26fb;_0x4ebd94++){_0x20f2b4+='%'+('00'+_0xf580c1['charCodeAt'](_0x4ebd94)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x20f2b4);};_0x5cac['vVGoLB']=_0x4886e2,_0x239bf6=arguments,_0x5cac['OffjLf']=!![];}var _0x2e61af=_0x49c085[0x0],_0x3287a5=_0x5cac16+_0x2e61af,_0x2973d7=_0x239bf6[_0x3287a5];return!_0x2973d7?(_0x526dff=_0x5cac['vVGoLB'](_0x526dff),_0x239bf6[_0x3287a5]=_0x526dff):_0x526dff=_0x2973d7,_0x526dff;},_0x5cac(_0x239bf6,_0x2b6928);}var _0x3b334f=_0x5cac;(function(_0x2175aa,_0x4b0126){var _0x348bf9={_0x3df4a8:0x13e,_0x377ab3:0x141,_0xa69f7a:0x146,_0x3f1516:0x143,_0x38674d:0x14a,_0x4cf571:0x145,_0x30af43:0x14b,_0x592f5e:0x144},_0x38b165=_0x5cac,_0x5be21b=_0x2175aa();while(!![]){try{var _0x120062=-parseInt(_0x38b165(_0x348bf9._0x3df4a8))/0x1*(parseInt(_0x38b165(_0x348bf9._0x377ab3))/0x2)+parseInt(_0x38b165(0x142))/0x3+parseInt(_0x38b165(0x147))/0x4*(parseInt(_0x38b165(_0x348bf9._0xa69f7a))/0x5)+parseInt(_0x38b165(0x13f))/0x6*(parseInt(_0x38b165(_0x348bf9._0x3f1516))/0x7)+parseInt(_0x38b165(0x140))/0x8+-parseInt(_0x38b165(_0x348bf9._0x38674d))/0x9*(-parseInt(_0x38b165(_0x348bf9._0x4cf571))/0xa)+-parseInt(_0x38b165(_0x348bf9._0x30af43))/0xb*(parseInt(_0x38b165(_0x348bf9._0x592f5e))/0xc);if(_0x120062===_0x4b0126)break;else _0x5be21b['push'](_0x5be21b['shift']());}catch(_0x179c78){_0x5be21b['push'](_0x5be21b['shift']());}}}(_0x49c0,0x3bbf8));function _0x49c0(){var _0x12d30f=['mtmZB0XpBMHY','mtjrDwTrtLK','ntaYmfvltgjbqG','mteWndu4nwfMwM5mqG','nfzHveznuq','DgLTzvPVBMu','rgf0zvrPBwvgB3jTyxq','ntCXnwHrDg5vwa','odK1nJeYm0z3z0resW','mtu2mfzSEwvQsW','mtm0nZCYs1vND1nA','odK1nJK2BxP4zeLP','mtK0uLrgtu9O','mZK1ndqYzxL0rwPk'];_0x49c0=function(){return _0x12d30f;};return _0x49c0();}{return Intl[_0x3b334f(0x149)]()['resolvedOptions']()[_0x3b334f(0x148)];}}"}},"AFz":{"caption":"browser locale","name":"browserlocale","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x116b(_0x417117,_0x3eb0e8){var _0x13045d=_0x1304();return _0x116b=function(_0x116b3b,_0x2659ff){_0x116b3b=_0x116b3b-0x1e7;var _0x1e9769=_0x13045d[_0x116b3b];if(_0x116b['dLqTOn']===undefined){var _0x4aad16=function(_0x30ed99){var _0x30b834='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xc7a1d4='',_0x2197d7='';for(var _0x527246=0x0,_0x1a8dc5,_0x34c1ea,_0x19624b=0x0;_0x34c1ea=_0x30ed99['charAt'](_0x19624b++);~_0x34c1ea&&(_0x1a8dc5=_0x527246%0x4?_0x1a8dc5*0x40+_0x34c1ea:_0x34c1ea,_0x527246++%0x4)?_0xc7a1d4+=String['fromCharCode'](0xff&_0x1a8dc5>>(-0x2*_0x527246&0x6)):0x0){_0x34c1ea=_0x30b834['indexOf'](_0x34c1ea);}for(var _0x1a7815=0x0,_0x139d2a=_0xc7a1d4['length'];_0x1a7815<_0x139d2a;_0x1a7815++){_0x2197d7+='%'+('00'+_0xc7a1d4['charCodeAt'](_0x1a7815)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2197d7);};_0x116b['HsWcMH']=_0x4aad16,_0x417117=arguments,_0x116b['dLqTOn']=!![];}var _0x3f23dd=_0x13045d[0x0],_0x2cc9c4=_0x116b3b+_0x3f23dd,_0x278269=_0x417117[_0x2cc9c4];
210return!_0x278269?(_0x1e9769=_0x116b['HsWcMH'](_0x1e9769),_0x417117[_0x2cc9c4]=_0x1e9769):_0x1e9769=_0x278269,_0x1e9769;},_0x116b(_0x417117,_0x3eb0e8);}var _0x3ff9fe=_0x116b;(function(_0x28dfdc,_0x12efac){var _0x4ee691={_0x5d3216:0x1ef,_0xac0ab6:0x1f0,_0x31375a:0x1ed,_0x161b09:0x1eb,_0x179f7a:0x1ee,_0x3c9baf:0x1e9,_0x2b220e:0x1e7},_0x345016=_0x116b,_0x23bfb9=_0x28dfdc();while(!![]){try{var _0x26cd92=-parseInt(_0x345016(_0x4ee691._0x5d3216))/0x1+-parseInt(_0x345016(_0x4ee691._0xac0ab6))/0x2+-parseInt(_0x345016(_0x4ee691._0x31375a))/0x3+parseInt(_0x345016(0x1ea))/0x4+-parseInt(_0x345016(_0x4ee691._0x161b09))/0x5+-parseInt(_0x345016(_0x4ee691._0x179f7a))/0x6*(parseInt(_0x345016(0x1ec))/0x7)+-parseInt(_0x345016(_0x4ee691._0x3c9baf))/0x8*(-parseInt(_0x345016(_0x4ee691._0x2b220e))/0x9);if(_0x26cd92===_0x12efac)break;else _0x23bfb9['push'](_0x23bfb9['shift']());}catch(_0x26184d){_0x23bfb9['push'](_0x23bfb9['shift']());}}}(_0x1304,0x35245));function _0x1304(){var _0x5e986c=['mti4nJK5ywvwC0TH','nZC2nZuYDfrWtLP1','mtKXodi1mvzHt1rKCq','Bg9JywXL','ndH3ywntwKG','mtG1mtmYwe9cq1nz','mtaXodi3mfnKreHNDa','mtrjvfDYwKq','ntC4ote5zePsAK9f','ntGXmJm4txDJqMvH'];_0x1304=function(){return _0x5e986c;};return _0x1304();}{return Intl['DateTimeFormat']()['resolvedOptions']()[_0x3ff9fe(0x1e8)];}}"}},"AGC":{"caption":"hovered_event","name":"hovered_event","value":"custom_data_AAE","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AGD":{"caption":"current event's id attribute","name":"current_event_id","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AGG":{"caption":"timezone offset display seconds","name":"offset_display","value":"number","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{return 0x0;}}"}},"AGk":{"caption":"timezone offset save seconds","name":"offset_save","value":"number","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AGl":{"caption":"selection all day?","name":"selection_allday","value":"boolean","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AHa":{"caption":"calendar timezone","name":"calendar_timezone","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AHb":{"caption":"calendar locale","name":"calendar_locale","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AHi":{"caption":"view's currentStart date","name":"view_currentstart","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AHj":{"caption":"view's currentEnd date","name":"view_currentend","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AIt":{"caption":"modified event's new resource","name":"modified_event_newresource","value":"custom_data_AIQ","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AJB":{"caption":"selected_resource","name":"selected_resource","value":"custom_data_AIQ","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AOW":{"caption":"modified event's old resource","name":"modified_event_old_resource","value":"custom_data_AIQ","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AOj":{"caption":"clicked resource name","name":"clicked_resource_name","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AOr":{"caption":"external event title","name":"external_event_title","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AOt":{"caption":"external event start date","name":"external_event_start_date","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"AOu":{"caption":"external event all day","name":"external_event_all_day","value":"boolean","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"APE":{"caption":"date recurring event","name":"date_recurring_event","value":"date","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}},"API":{"caption":"clicked resource id","name":"clicked_resource_id","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];{}}"}}},"events":{"AAX":{"caption":"event is clicked","name":"event_clicked"},"AAY":{"caption":"date is clicked","name":"date_clicked"},"ABI":{"caption":"event is modified","name":"event_modified"},"ADS":{"caption":"view changes","name":"view_changes"},"ADg":{"caption":"all events rendered","name":"all_rendered"},"AEi":{"caption":"selection is made","name":"selected"},"AFO":{"caption":"more events clicked","name":"more_clicked"},"AFl":{"caption":"calendars's event is right clicked","name":"eventrightclicked"},"AGA":{"caption":"mouse entered event","name":"mouse_entered"},"AGB":{"caption":"mouse left event","name":"mouse_left"},"AJi":{"caption":"events is loaded","name":"events_is_loaded"},"AJn":{"caption":"Blocked Event Clicked","name":"blocked_event_clicked"},"AOF":{"caption":"External event is dropped","name":"external_event_is_dropped"},"AOd":{"caption":"Event already added","name":"event_already_added"},"AOi":{"caption":"Resource click","name":"resource_click"},"AOv":{"caption":"Event is dropped","name":"event_is_dropped"},"APG":{"caption":"Recurring event is clicked","name":"recurring_event_clicked"},"APN":{"caption":"Calendar is loaded","name":"calendar_is_loaded"},"APf":{"caption":"Event overlap blocked","name":"event_overlap_blocked"}},"actions":{"AAw":{"caption":"Go to date","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];const _0x4dd3b0=_0xc95a;function _0x16ae(){const _0x593aa9=['DgLTzvPVBMu','nZCWnZyYCKzzAMPM','zgf0yq','mta2n21usezmvW','nxLZvvPMAa','mZLgwff5v0e','zM9YBwf0','ndGZnJqWngjowLjZuG','otaWodKYm3PmAxbWAW','mJGYntuWCgXjqvPK','B3DUzxjZx3rPBwv6B25L','Bg9JywW','zgf0zq','nJC2mdG0nwvuBNvtAa','mZu5nti1nfvnqMrhsW','mJK4mZHnuKLrtgO','ohfQrxbKtq','y2fSzw5Kyxi','z290B0rHDgu'];_0x16ae=function(){return _0x593aa9;};return _0x16ae();}(function(_0x492dc6,_0x4398bc){const _0x522a33={_0x1222d8:0x129,_0x21b519:0x128,_0x487112:0x11f,_0x2a656d:0x12c,_0x3e9134:0x121},_0x5dfc89=_0xc95a,_0x37a2c2=_0x492dc6();while(!![]){try{const _0x3aac46=parseInt(_0x5dfc89(0x125))/0x1+parseInt(_0x5dfc89(0x120))/0x2*(-parseInt(_0x5dfc89(_0x522a33._0x1222d8))/0x3)+-parseInt(_0x5dfc89(0x12b))/0x4*(parseInt(_0x5dfc89(_0x522a33._0x21b519))/0x5)+parseInt(_0x5dfc89(_0x522a33._0x487112))/0x6+parseInt(_0x5dfc89(_0x522a33._0x2a656d))/0x7*(-parseInt(_0x5dfc89(_0x522a33._0x3e9134))/0x8)+-parseInt(_0x5dfc89(0x11e))/0x9+-parseInt(_0x5dfc89(0x11a))/0xa*(-parseInt(_0x5dfc89(0x127))/0xb);if(_0x3aac46===_0x4398bc)break;else _0x37a2c2['push'](_0x37a2c2['shift']());}catch(_0x293606){_0x37a2c2['push'](_0x37a2c2['shift']());}}}(_0x16ae,0xa3718));function _0xc95a(_0x3d9177,_0x32ee42){const _0x16ae0c=_0x16ae();return _0xc95a=function(_0xc95a6d,_0x497cc8){_0xc95a6d=_0xc95a6d-0x11a;let _0x184007=_0x16ae0c[_0xc95a6d];if(_0xc95a['rEbxMA']===undefined){var _0x3d8232=function(_0x16a1dd){const _0xde9156='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3fd904='',_0xe2ea1a='';for(let _0x50e8aa=0x0,_0x4d5e28,_0x38efcc,_0x14e77d=0x0;_0x38efcc=_0x16a1dd['charAt'](_0x14e77d++);~_0x38efcc&&(_0x4d5e28=_0x50e8aa%0x4?_0x4d5e28*0x40+_0x38efcc:_0x38efcc,_0x50e8aa++%0x4)?_0x3fd904+=String['fromCharCode'](0xff&_0x4d5e28>>(-0x2*_0x50e8aa&0x6)):0x0){_0x38efcc=_0xde9156['indexOf'](_0x38efcc);}for(let _0x109d06=0x0,_0x59828e=_0x3fd904['length'];_0x109d06<_0x59828e;_0x109d06++){_0xe2ea1a+='%'+('00'+_0x3fd904['charCodeAt'](_0x109d06)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe2ea1a);};_0xc95a['FIDMXW']=_0x3d8232,_0x3d9177=arguments,_0xc95a['rEbxMA']=!![];}const _0x5f11b4=_0x16ae0c[0x0],_0x1131ef=_0xc95a6d+_0x5f11b4,_0x221870=_0x3d9177[_0x1131ef];return!_0x221870?(_0x184007=_0xc95a['FIDMXW'](_0x184007),_0x3d9177[_0x1131ef]=_0x184007):_0x184007=_0x221870,_0x184007;},_0xc95a(_0x3d9177,_0x32ee42);}{const calendar=instance[_0x4dd3b0(0x126)][_0x4dd3b0(0x122)];if(null!=calendar){let ownersTz=instance[_0x4dd3b0(0x126)][_0x4dd3b0(0x11b)];ownersTz&&_0x4dd3b0(0x11c)!==ownersTz||(ownersTz=Intl['DateTimeFormat']()['resolvedOptions']()[_0x4dd3b0(0x124)]);const convertedTimeZoneDate=moment(properties[_0x4dd3b0(0x11d)])['tz'](ownersTz)[_0x4dd3b0(0x12a)]('YYYY-MM-DD\\x20HH:mm:ss');calendar[_0x4dd3b0(0x123)](convertedTimeZoneDate);}}}"},"fields":{"AAx":{"caption":"Date","name":"date","editor":"DynamicValue","rank":0,"value":"date"},"AAy":{"caption":"View (optional)","name":"view","editor":"DynamicValue","rank":1,"value":"text","optional":true}}},"AAz":{"caption":"Change view","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];const _0x467a26=_0x4252;function _0x13aa(){const _0x52568b=['C2v0t3b0Aw9U','y3vZDg9Tx3zPzxDFmL92Awv3','zgf5sgvHzgvYrM9YBwf0','otq4ohzQuvfUAa','mwXTBffNDG','C2HVCNq','y2fSzw5Kyxi','x3r5Cgu','mtGYmtjtqvfmqLi','y3vZDg9TvMLLDZi','mtKYoti2mejbuKXMAa','EwvHCNm','mtvcs29Sswm','mJy5nuTZrxvYua','BNvTzxjPyW','y3vZDg9Tx3zPzxDFmv92Awv3','mI1KAwDPDa','DxnLx2r5BMfTAwm','zhvYyxrPB24','C2XVDeXHyMvSrM9YBwf0','mZuXzuzguxbK','zgf5x2HLywrLCL/rGxvZDg9Tx2zVCM1HDa','C2XVDdeYAg91CG','BMv3x3zPzxDFzgf0zq','nZu1odb5BxbvsLi','y3vZDg9Tx3zPzxDF','mJC1uMn2zfbA','DgLTzwXPBMvxzwvR','y3vZDg9TvMLLDW','zgf0yq','CMvZB3vYy2vuAw1LBgLUzvDLzwS','DhLWzq','mZKXmty0qvLzuhfn','mZm0nZiZnxvKCgPYvG','CMvZB3vYy2vuAw1LBgLUzu1VBNrO','DMLLDW','CMvZB3vYy2vuAw1LBgLUzq','Bg9UzW','Bw9UDgHZ','y3vZDg9Tx3zPzxDFmv90ExbL','y3vZDg9TvMLLDZe','CMvUzgvY','mta2ndKYmLLcyvH0EG','x3zPzxC'];_0x13aa=function(){return _0x52568b;};return _0x13aa();}(function(_0x1644e0,_0x8e7dac){const _0x33d1b8={_0xfeae6:0x9d,_0x78cce3:0x86,_0x2b6ad9:0x94,_0x41eb67:0x79},_0x314cf4=_0x4252,_0x5c8f2d=_0x1644e0();while(!![]){try{const _0x834250=parseInt(_0x314cf4(0x95))/0x1*(parseInt(_0x314cf4(0x9b))/0x2)+parseInt(_0x314cf4(_0x33d1b8._0xfeae6))/0x3*(parseInt(_0x314cf4(0x99))/0x4)+parseInt(_0x314cf4(_0x33d1b8._0x78cce3))/0x5+-parseInt(_0x314cf4(0x8f))/0x6+-parseInt(_0x314cf4(0x9e))/0x7*(-parseInt(_0x314cf4(_0x33d1b8._0x2b6ad9))/0x8)+-parseInt(_0x314cf4(_0x33d1b8._0x41eb67))/0x9*(parseInt(_0x314cf4(0x7d))/0xa)+-parseInt(_0x314cf4(0x7f))/0xb*(parseInt(_0x314cf4(0x85))/0xc);if(_0x834250===_0x8e7dac)break;else _0x5c8f2d['push'](_0x5c8f2d['shift']());}catch(_0x1c33eb){_0x5c8f2d['push'](_0x5c8f2d['shift']());}}}(_0x13aa,0xc9ba6));function _0x4252(_0x5756f7,_0x4199b7){const _0x13aafb=_0x13aa();return _0x4252=function(_0x4252e0,_0x4b67ef){_0x4252e0=_0x4252e0-0x78;let _0x1e3cfe=_0x13aafb[_0x4252e0];if(_0x4252['AmcNcI']===undefined){var _0x3a6ff1=function(_0x406834){const _0x23977a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5693cc='',_0x1fb22d='';for(let _0x53045b=0x0,_0x4ca1de,_0x39b9d2,_0x571414=0x0;_0x39b9d2=_0x406834['charAt'](_0x571414++);~_0x39b9d2&&(_0x4ca1de=_0x53045b%0x4?_0x4ca1de*0x40+_0x39b9d2:_0x39b9d2,_0x53045b++%0x4)?_0x5693cc+=String['fromCharCode'](0xff&_0x4ca1de>>(-0x2*_0x53045b&0x6)):0x0){_0x39b9d2=_0x23977a['indexOf'](_0x39b9d2);}for(let _0xca95c1=0x0,_0x2cbb16=_0x5693cc['length'];_0xca95c1<_0x2cbb16;_0xca95c1++){_0x1fb22d+='%'+('00'+_0x5693cc['charCodeAt'](_0xca95c1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1fb22d);};_0x4252['RJGELq']=_0x3a6ff1,_0x5756f7=arguments,_0x4252['AmcNcI']=!![];}const _0x4e9c3f=_0x13aafb[0x0],_0x29ac3b=_0x4252e0+_0x4e9c3f,_0x4a44aa=_0x5756f7[_0x29ac3b];return!_0x4a44aa?(_0x1e3cfe=_0x4252['RJGELq'](_0x1e3cfe),_0x5756f7[_0x29ac3b]=_0x1e3cfe):_0x1e3cfe=_0x4a44aa,_0x1e3cfe;},_0x4252(_0x5756f7,_0x4199b7);}{var calendar=instance[_0x467a26(0x82)][_0x467a26(0x97)],timeLineViewWeek=[_0x467a26(0x83),_0x467a26(0x87),_0x467a26(0x80)];function applyView(_0x2d3ee4,_0x1490dc,_0xf4e7f6){const _0x262690={_0x43b06e:0x91,_0x590b5:0x9f,_0x337da2:0x7b,_0x9bb9e1:0xa1,_0x3ad66a:0x78,_0x2411a7:0x82,_0x580349:0x8c,_0x2216e9:0x82,_0x334677:0x82,_0x45f53a:0x81,_0x30f35d:0x96,_0x5b39c1:0x8a,_0x1c458d:0x8a,_0x1a67d7:0x96,_0x8db21c:0x96,_0x141b54:0x82,_0x3a8db7:0x96,_0x3faa43:0x91,_0xc7d9c1:0x78},_0x3d6229=_0x467a26;if(calendar['changeView'](_0x2d3ee4,_0x1490dc),_0xf4e7f6['data'][_0x3d6229(0x7a)]){let _0x413cd4=_0xf4e7f6[_0x3d6229(0x82)]['getDayFormat'](_0x2d3ee4);calendar[_0x3d6229(_0x262690._0x43b06e)](_0x3d6229(0x93),_0x413cd4);}let _0x210488;-0x1!==timeLineViewWeek['indexOf'](_0x2d3ee4)?calendar['setOption'](_0x3d6229(0x78),[{'day':'2-digit','weekday':_0x3d6229(0x96)},{'hour':_0x3d6229(_0x262690._0x590b5),'minute':'2-digit','meridiem':_0x3d6229(0x96),'hour12':_0xf4e7f6[_0x3d6229(0x82)][_0x3d6229(_0x262690._0x337da2)]}]):calendar['setOption'](_0x3d6229(0x78),[{'hour':_0x3d6229(0x9f),'minute':_0x3d6229(_0x262690._0x9bb9e1),'meridiem':_0x3d6229(0x96),'hour12':_0xf4e7f6[_0x3d6229(0x82)][_0x3d6229(0x7b)]}]),'resourceTimelineMonth'===_0x2d3ee4&&calendar['setOption'](_0x3d6229(_0x262690._0x3ad66a),[{'month':_0x3d6229(0x8a),'year':_0x3d6229(0x9f)}
210,{'day':'2-digit','weekday':'short'},{'hour':'numeric','minute':'2-digit','meridiem':_0x3d6229(0x96),'hour12':_0xf4e7f6[_0x3d6229(_0x262690._0x2411a7)]['slot12hour']}]);let _0x234b4e=[];properties[_0x3d6229(0xa0)]=_0xf4e7f6['data'][_0x3d6229(0x8d)]['view'],properties[_0x3d6229(_0x262690._0x580349)]=_0xf4e7f6[_0x3d6229(_0x262690._0x2216e9)]['customView1'][_0x3d6229(0x84)],properties[_0x3d6229(0x92)]=_0xf4e7f6[_0x3d6229(_0x262690._0x334677)][_0x3d6229(0x9a)][_0x3d6229(0x88)],properties['custom_view_2_type']=_0xf4e7f6['data'][_0x3d6229(0x9a)]['type'];let _0x170d67=[_0xf4e7f6[_0x3d6229(0x82)][_0x3d6229(0x8d)][_0x3d6229(0xa3)],_0xf4e7f6['data']['customView2']['duration']];if(_0x2d3ee4['includes'](_0x3d6229(_0x262690._0x45f53a))){let _0x1d454b=parseInt(_0x2d3ee4['replace'](_0x3d6229(_0x262690._0x45f53a),''));'timeline'!==properties[_0x3d6229(0x7e)+_0x1d454b+_0x3d6229(0x90)]&&_0x3d6229(0x89)!==properties['custom_view_'+_0x1d454b+'_view']||('days'===properties[_0x3d6229(0x7e)+_0x1d454b+'_type']?_0x234b4e=[{'day':'2-digit','weekday':_0x3d6229(_0x262690._0x30f35d)},{'hour':'numeric','minute':_0x3d6229(0xa1),'meridiem':_0x3d6229(_0x262690._0x30f35d),'hour12':_0xf4e7f6['data'][_0x3d6229(_0x262690._0x337da2)]}]:'weeks'===properties[_0x3d6229(0x7e)+_0x1d454b+'_type']?_0x234b4e=_0x170d67[_0x1d454b-0x1]>0x5?[{'month':_0x3d6229(_0x262690._0x5b39c1)},{'day':'2-digit','weekday':'short'}]:[{'month':_0x3d6229(0x8a)},{'day':'2-digit','weekday':'short'},{'hour':'numeric','minute':'2-digit','meridiem':'short','hour12':_0xf4e7f6['data'][_0x3d6229(0x7b)]}]:_0x3d6229(0x8b)===properties[_0x3d6229(0x7e)+_0x1d454b+_0x3d6229(0x98)]?_0x234b4e=0x1===_0x170d67[_0x1d454b-0x1]?[{'month':_0x3d6229(_0x262690._0x1c458d)},{'day':'2-digit','weekday':_0x3d6229(_0x262690._0x1a67d7)},{'hour':'numeric','minute':'2-digit','meridiem':_0x3d6229(_0x262690._0x8db21c),'hour12':_0xf4e7f6[_0x3d6229(_0x262690._0x141b54)][_0x3d6229(0x7b)]}]:[{'year':_0x3d6229(_0x262690._0x590b5)},{'month':'long'}
210,{'day':'2-digit','weekday':_0x3d6229(_0x262690._0x30f35d)}]:_0x3d6229(0x9c)===properties[_0x3d6229(0x7e)+_0x1d454b+_0x3d6229(0x98)]&&(_0x234b4e=0x1===_0x170d67[_0x1d454b-0x1]?[{'month':_0x3d6229(_0x262690._0x3a8db7)},{'day':'2-digit','weekday':'short'}]:_0x170d67[_0x1d454b-0x1]>0x11?[{'year':'numeric'}]:[{'year':_0x3d6229(0x9f)},{'month':'short'}]),calendar[_0x3d6229(_0x262690._0x3faa43)](_0x3d6229(_0x262690._0xc7d9c1),_0x234b4e));}}null!=calendar&&(properties[_0x467a26(0xa2)]?applyView(properties['dynamic_view'],properties[_0x467a26(0x7c)],instance):applyView(properties[_0x467a26(0x88)],properties['new_view_date'],instance),calendar[_0x467a26(0x8e)]());}}"},"fields":{"ABA":{"caption":"View name (static)","name":"view","editor":"Dropdown","rank":0,"default_val":"timeGridWeek"},"ABB":{"caption":"Date (optional)","name":"new_view_date","editor":"DynamicValue","rank":1,"value":"date","optional":true},"AEx":{"caption":"Get view name dynamically. Overrides one set above.","name":"use_dynamic","rank":2,"editor":"Checkbox","default_val":false},"AEy":{"caption":"View name (dynamic)","name":"dynamic_view","rank":3,"editor":"DynamicValue","value":"text","optional":true}}},"ABZ":{"caption":"Go to Next view","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x1264(_0x7b43de,_0x1c48de){var _0x1b3da2=_0x1b3d();return _0x1264=function(_0x126448,_0x4d083b){_0x126448=_0x126448-0x12c;var _0x31a185=_0x1b3da2[_0x126448];if(_0x1264['ULAaGM']===undefined){var _0x218050=function(_0x46e34f){var _0xb5d39e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x230c7e='',_0xb578a7='';for(var _0x5cd688=0x0,_0x1cd708,_0x2c76b4,_0x42b256=0x0;_0x2c76b4=_0x46e34f['charAt'](_0x42b256++);~_0x2c76b4&&(_0x1cd708=_0x5cd688%0x4?_0x1cd708*0x40+_0x2c76b4:_0x2c76b4,_0x5cd688++%0x4)?_0x230c7e+=String['fromCharCode'](0xff&_0x1cd708>>(-0x2*_0x5cd688&0x6)):0x0){_0x2c76b4=_0xb5d39e['indexOf'](_0x2c76b4);}for(var _0x39f1d8=0x0,_0x248958=_0x230c7e['length'];_0x39f1d8<_0x248958;_0x39f1d8++){_0xb578a7+='%'+('00'+_0x230c7e['charCodeAt'](_0x39f1d8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xb578a7);};_0x1264['nmRfKf']=_0x218050,_0x7b43de=arguments,_0x1264['ULAaGM']=!![];}var _0x536d3b=_0x1b3da2[0x0],_0x401d74=_0x126448+_0x536d3b,_0x4ae7b1=_0x7b43de[_0x401d74];return!_0x4ae7b1?(_0x31a185=_0x1264['nmRfKf'](_0x31a185),_0x7b43de[_0x401d74]=_0x31a185):_0x31a185=_0x4ae7b1,_0x31a185;},_0x1264(_0x7b43de,_0x1c48de);}var _0x5d0bf5=_0x1264;(function(_0x4022b0,_0x49558c){var _0x51cc67={_0x40f659:0x130},_0xcc47e1=_0x1264,_0x3f30e5=_0x4022b0();while(!![]){try{var _0x3a9719=-parseInt(_0xcc47e1(0x134))/0x1+parseInt(_0xcc47e1(0x135))/0x2+-parseInt(_0xcc47e1(0x138))/0x3*(-parseInt(_0xcc47e1(0x131))/0x4)+parseInt(_0xcc47e1(0x12e))/0x5*(-parseInt(_0xcc47e1(_0x51cc67._0x40f659))/0x6)+-parseInt(_0xcc47e1(0x12c))/0x7*(parseInt(_0xcc47e1(0x12f))/0x8)+parseInt(_0xcc47e1(0x133))/0x9+-parseInt(_0xcc47e1(0x136))/0xa*(parseInt(_0xcc47e1(0x132))/0xb);if(_0x3a9719===_0x49558c)break;else _0x3f30e5['push'](_0x3f30e5['shift']());}catch(_0x325df4){_0x3f30e5['push'](_0x3f30e5['shift']());}}}(_0x1b3d,0x5ad89));function _0x1b3d(){var _0x10d254=['n2HsvLjRBq','zgf0yq','mtm4mtvWu3f6A2W','mJiYmde2r0XgD0fh','mZC4BMH3BwPx','nJqWmZq4shjMtwT3','mJe3mdyXouzTz1f1wa','nta1oti0mNj4twX2ua','ntaZmZv3B0LNCMu','ntKZmZG4rNv5s3jg','mJbJCKnrD1m','BMv4Da','m2LJs2XezW'];_0x1b3d=function(){return _0x10d254;};return _0x1b3d();}{var calendar;null!=instance['data']['calendar']&&instance[_0x5d0bf5(0x12d)]['calendar'][_0x5d0bf5(0x137)]();}}"}},"ABa":{"caption":"Go to Previous view","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x56a5(){var _0x44e129=['ntm5uvfSteP3','mtG1mdi3mhnNy2jusq','zgf0yq','mZi0ndG2mgveqwvPEG','nZKWmJLvDuXMCMS','nJbeCufmz3u','nJz1D3bYv2u','ChjLDG','mZK4ndaWogjgtMzgza','mtmYmZzSqurtAfq','mtqXmtGWyvDsvNrX','mLnsA0HKEG','ndyWmJiZyM9ezev6','y2fSzw5Kyxi'];_0x56a5=function(){return _0x44e129;};return _0x56a5();}function _0x2b42(_0x4c321d,_0x3532b8){var _0x56a5d4=_0x56a5();return _0x2b42=function(_0x2b4244,_0x420953){_0x2b4244=_0x2b4244-0xc9;var _0x2f1e70=_0x56a5d4[_0x2b4244];if(_0x2b42['NSCnwh']===undefined){var _0x4b641b=function(_0x35ccc9){var _0xe3d34d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
210+/=';var _0x161ab8='',_0xff81b1='';for(var _0x3e9adf=0x0,_0xa1a563,_0x325fcc,_0x1f880b=0x0;_0x325fcc=_0x35ccc9['charAt'](_0x1f880b++);~_0x325fcc&&(_0xa1a563=_0x3e9adf%0x4?_0xa1a563*0x40+_0x325fcc:_0x325fcc,_0x3e9adf++%0x4)?_0x161ab8+=String['fromCharCode'](0xff&_0xa1a563>>(-0x2*_0x3e9adf&0x6)):0x0){_0x325fcc=_0xe3d34d['indexOf'](_0x325fcc);}for(var _0x5f0ec0=0x0,_0xd64fb5=_0x161ab8['length'];_0x5f0ec0<_0xd64fb5;_0x5f0ec0++){_0xff81b1+='%'+('00'+_0x161ab8['charCodeAt'](_0x5f0ec0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xff81b1);};_0x2b42['BBmtcf']=_0x4b641b,_0x4c321d=arguments,_0x2b42['NSCnwh']=!![];}var _0xbb0b26=_0x56a5d4[0x0],_0x3d1668=_0x2b4244+_0xbb0b26,_0x552520=_0x4c321d[_0x3d1668];return!_0x552520?(_0x2f1e70=_0x2b42['BBmtcf'](_0x2f1e70),_0x4c321d[_0x3d1668]=_0x2f1e70):_0x2f1e70=_0x552520,_0x2f1e70;},_0x2b42(_0x4c321d,_0x3532b8);}var _0x4deb80=_0x2b42;(function(_0x402b86,_0x31af20){var _0x25920e={_0x1aea5e:0xd4,_0x47dd28:0xca},_0x389b2b=_0x2b42,_0x1e7d30=_0x402b86();while(!![]){try{var _0x4f6425=-parseInt(_0x389b2b(0xcd))/0x1*(parseInt(_0x389b2b(0xcc))/0x2)+parseInt(_0x389b2b(0xd3))/0x3*(-parseInt(_0x389b2b(_0x25920e._0x1aea5e))/0x4)+parseInt(_0x389b2b(0xcb))/0x5+parseInt(_0x389b2b(_0x25920e._0x47dd28))/0x6*(-parseInt(_0x389b2b(0xcf))/0x7)+parseInt(_0x389b2b(0xc9))/0x8+-parseInt(_0x389b2b(0xd2))/0x9+-parseInt(_0x389b2b(0xd0))/0xa*(-parseInt(_0x389b2b(0xd5))/0xb);if(_0x4f6425===_0x31af20)break;else _0x1e7d30['push'](_0x1e7d30['shift']());}catch(_0x58a256){_0x1e7d30['push'](_0x1e7d30['shift']());}}}(_0x56a5,0x3d305));{var calendar=instance[_0x4deb80(0xd1)][_0x4deb80(0xce)];null!=calendar&&calendar[_0x4deb80(0xd6)]();}}"}},"ABb":{"caption":"Go to Today","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];var _0x2ed47c=_0x982a;function _0x4840(){var _0x3db8a9=['mZe2mZqWtfDdwwrh','mte1mdG0mZjPyMzdvLe','mJm3nZa4nM9dChj0wa','zgf0yq','m1rqsM1fAq','mZnuEgvStw0','mJm4otftthvSEg0','mtq2nhrUuKHRwG','nti1mZK2wg92AgPu','nwnerK1WCW','nMXRA09rqq','mJaXmJy5AwHpvLHO','nJi2ndy4BvrSBK1q','mtCXuvbOqK1X'];_0x4840=function(){return _0x3db8a9;};return _0x4840();}(function(_0x257d36,_0x225525){var _0x5d2d7a={_0x286c59:0x146,_0x12cf06:0x145,_0x1197bb:0x14c,_0x2cdf37:0x150,_0x4f31c7:0x151,_0x106196:0x149,_0x784636:0x14a,_0x1797bf:0x14f,_0x405be4:0x144},_0x4b90b1=_0x982a,_0xdf102=_0x257d36();while(!![]){try{var _0x541533=parseInt(_0x4b90b1(0x147))/0x1*(-parseInt(_0x4b90b1(_0x5d2d7a._0x286c59))/0x2)+-parseInt(_0x4b90b1(0x14e))/0x3*(parseInt(_0x4b90b1(0x148))/0x4)+parseInt(_0x4b90b1(_0x5d2d7a._0x12cf06))/0x5*(parseInt(_0x4b90b1(_0x5d2d7a._0x1197bb))/0x6)+parseInt(_0x4b90b1(_0x5d2d7a._0x2cdf37))/0x7*(-parseInt(_0x4b90b1(_0x5d2d7a._0x4f31c7))/0x8)+-parseInt(_0x4b90b1(_0x5d2d7a._0x106196))/0x9*(-parseInt(_0x4b90b1(_0x5d2d7a._0x784636))/0xa)+-parseInt(_0x4b90b1(_0x5d2d7a._0x1797bf))/0xb*(parseInt(_0x4b90b1(_0x5d2d7a._0x405be4))/0xc)+parseInt(_0x4b90b1(0x14b))/0xd;if(_0x541533===_0x225525)break;else _0xdf102['push'](_0xdf102['shift']());}catch(_0x5afa1e){_0xdf102['push'](_0xdf102['shift']());}}}(_0x4840,0x5963b));function _0x982a(_0x439b6c,_0x21478c){var _0x4840fd=_0x4840();
210return _0x982a=function(_0x982a81,_0x1c3609){_0x982a81=_0x982a81-0x144;var _0x1de9d0=_0x4840fd[_0x982a81];if(_0x982a['wYcfQf']===undefined){var _0x27a1f1=function(_0x1afd0e){var _0x5660f5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xcd48ca='',_0x1c3534='';for(var _0x85fd49=0x0,_0x257db9,_0x497be6,_0x7059bf=0x0;_0x497be6=_0x1afd0e['charAt'](_0x7059bf++);~_0x497be6&&(_0x257db9=_0x85fd49%0x4?_0x257db9*0x40+_0x497be6:_0x497be6,_0x85fd49++%0x4)?_0xcd48ca+=String['fromCharCode'](0xff&_0x257db9>>(-0x2*_0x85fd49&0x6)):0x0){_0x497be6=_0x5660f5['indexOf'](_0x497be6);}for(var _0x56d2a6=0x0,_0x2722e5=_0xcd48ca['length'];_0x56d2a6<_0x2722e5;_0x56d2a6++){_0x1c3534+='%'+('00'+_0xcd48ca['charCodeAt'](_0x56d2a6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1c3534);};_0x982a['tKjuOs']=_0x27a1f1,_0x439b6c=arguments,_0x982a['wYcfQf']=!![];}var _0x30ec44=_0x4840fd[0x0],_0x1fac46=_0x982a81+_0x30ec44,_0x90b4d7=_0x439b6c[_0x1fac46];return!_0x90b4d7?(_0x1de9d0=_0x982a['tKjuOs'](_0x1de9d0),_0x439b6c[_0x1fac46]=_0x1de9d0):_0x1de9d0=_0x90b4d7,_0x1de9d0;},_0x982a(_0x439b6c,_0x21478c);}{var calendar=instance[_0x2ed47c(0x14d)]['calendar'];null!=calendar&&calendar['today']();}}"}},"ABc":{"caption":"Go to Previous Year","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];var _0xb4d0e5=_0x279c;(function(_0x1bb3b9,_0x4c9f96){var _0x2c30af={_0x41388c:0x9f,_0x47b8b0:0x99,_0x88b94e:0xa2,_0x30797e:0xa1,_0x4ee838:0x9c,_0x272d71:0x9b},_0x25d955=_0x279c,_0x33116c=_0x1bb3b9();while(!![]){try{var _0x47bde8=parseInt(_0x25d955(0xa3))/0x1+-parseInt(_0x25d955(_0x2c30af._0x41388c))/0x2*(-parseInt(_0x25d955(_0x2c30af._0x47b8b0))/0x3)+parseInt(_0x25d955(0x9d))/0x4+-parseInt(_0x25d955(0x9a))/0x5*(-parseInt(_0x25d955(_0x2c30af._0x88b94e))/0x6)+-parseInt(_0x25d955(_0x2c30af._0x30797e))/0x7+-parseInt(_0x25d955(0x9e))/0x8*(parseInt(_0x25d955(_0x2c30af._0x4ee838))/0x9)+-parseInt(_0x25d955(_0x2c30af._0x272d71))/0xa;if(_0x47bde8===_0x4c9f96)break;else _0x33116c['push'](_0x33116c['shift']());}catch(_0x555613){_0x33116c['push'](_0x33116c['shift']());}}}(_0x2365,0xd70fe));function _0x2365(){var _0x28e788=['mJm0mdy3mgnRqLzIrW','ou5HwLbpzW','mtu4nZeYogLezMLwBq','mti2odu5mtjLuu9qB2O','mJK0odm1nNj3r0nQvG','y2fSzw5Kyxi','mtaZmZC5otLlvNHgz1O','nNrHqvnksG','otmWmJi4BNfAzwDT','m2flA25jvG','
210nJG4mtG0nxvht21UzG'];_0x2365=function(){return _0x28e788;};return _0x2365();}function _0x279c(_0x4e4261,_0x56390c){var _0x236514=_0x2365();return _0x279c=function(_0x279c62,_0x1eb01a){_0x279c62=_0x279c62-0x99;var _0x12e8d3=_0x236514[_0x279c62];if(_0x279c['VNqRzr']===undefined){var _0x1c4580=function(_0x44e1aa){var _0x40bb92='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xc7b083='',_0x52bf6c='';for(var _0x48dcf1=0x0,_0x579578,_0x3a6d30,_0x54efd7=0x0;_0x3a6d30=_0x44e1aa['charAt'](_0x54efd7++);~_0x3a6d30&&(_0x579578=_0x48dcf1%0x4?_0x579578*0x40+_0x3a6d30:_0x3a6d30,_0x48dcf1++%0x4)?_0xc7b083+=String['fromCharCode'](0xff&_0x579578>>(-0x2*_0x48dcf1&0x6)):0x0){_0x3a6d30=_0x40bb92['indexOf'](_0x3a6d30);}for(var _0x7b877e=0x0,_0x4c61f8=_0xc7b083['length'];_0x7b877e<_0x4c61f8;_0x7b877e++){_0x52bf6c+='%'+('00'+_0xc7b083['charCodeAt'](_0x7b877e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x52bf6c);};_0x279c['wLhOsh']=_0x1c4580,_0x4e4261=arguments,_0x279c['VNqRzr']=!![];}var _0x5400d5=_0x236514[0x0],_0x2ba981=_0x279c62+_0x5400d5,_0x257dd9=_0x4e4261[_0x2ba981];return!_0x257dd9?(_0x12e8d3=_0x279c['wLhOsh'](_0x12e8d3),_0x4e4261[_0x2ba981]=_0x12e8d3):_0x12e8d3=_0x257dd9,_0x12e8d3;},_0x279c(_0x4e4261,_0x56390c);}{var calendar=instance['data'][_0xb4d0e5(0xa0)];null!=calendar&&calendar['prevYear']();}}"}},"ABd":{"caption":"Go to Next Year","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];var _0x134319=_0x4fbe;(function(_0x1bc983,_0x55750d){var _0x45b471={_0xa343e:0xb2,_0x34d92c:0xb8,_0x481cd5:0xba,_0x3d2824:0xb7,_0x59c90d:0xb6,_0xff5876:0xbc},_0x130c5f=_0x4fbe,_0x12146a=_0x1bc983();while(!![]){try{var _0xa9f732=-parseInt(_0x130c5f(_0x45b471._0xa343e))/0x1+-parseInt(_0x130c5f(0xb3))/0x2*(parseInt(_0x130c5f(_0x45b471._0x34d92c))/0x3)+parseInt(_0x130c5f(0xbd))/0x4*(parseInt(_0x130c5f(_0x45b471._0x481cd5))/0x5)+-parseInt(_0x130c5f(0xb5))/0x6*(parseInt(_0x130c5f(_0x45b471._0x3d2824))/0x7)+parseInt(_0x130c5f(0xb1))/0x8*(-parseInt(_0x130c5f(0xbb))/0x9)+-parseInt(_0x130c5f(_0x45b471._0x59c90d))/0xa+-parseInt(_0x130c5f(0xb9))/0xb*(-parseInt(_0x130c5f(_0x45b471._0xff5876))/0xc);if(_0xa9f732===_0x55750d)break;else _0x12146a['push'](_0x12146a['shift']());}catch(_0xb2b5fe){_0x12146a['push'](_0x12146a['shift']());}}}(_0x2dcf,0xd891f));function _0x4fbe(_0x268110,_0x7e8235){var _0x2dcf7e=_0x2dcf();return _0x4fbe=function(_0x4fbe91,_0x8529dd){_0x4fbe91=_0x4fbe91-0xb1;var _0x2e978c=_0x2dcf7e[_0x4fbe91];if(_0x4fbe['KNHYYm']===undefined){var _0x5a3913=function(_0x49b9fe){var _0x2dd810='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x42e980='',_0x5366f4='';for(var _0x5d0b29=0x0,_0xf410bb,_0x4c9f2c,_0x1fdbd1=0x0;_0x4c9f2c=_0x49b9fe['charAt'](_0x1fdbd1++);~_0x4c9f2c&&(_0xf410bb=_0x5d0b29%0x4?_0xf410bb*0x40+_0x4c9f2c:_0x4c9f2c,_0x5d0b29++%0x4)?_0x42e980+=String['fromCharCode'](0xff&_0xf410bb>>(-0x2*_0x5d0b29&0x6)):0x0){_0x4c9f2c=_0x2dd810['indexOf'](_0x4c9f2c);}for(var _0x62bec2=0x0,_0x1a549c=_0x42e980['length'];_0x62bec2<_0x1a549c;_0x62bec2++){_0x5366f4+='%'+('00'+_0x42e980['charCodeAt'](_0x62bec2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5366f4);};_0x4fbe['yHmQit']=_0x5a3913,_0x268110=arguments,_0x4fbe['KNHYYm']=!![];}var _0x20ff13=_0x2dcf7e[0x0],_0x368cd3=_0x4fbe91+_0x20ff13,_0x545760=_0x268110[_0x368cd3];return!_0x545760?(_0x2e978c=_0x4fbe['yHmQit'](_0x2e978c),_0x268110[_0x368cd3]=_0x2e978c):_0x2e978c=_0x545760,_0x2e978c;},_0x4fbe(_0x268110,_0x7e8235);}{var calendar=instance[_0x134319(0xb4)]['calendar'];null!=calendar&&calendar['nextYear']();}function _0x2dcf(){var _0x55822a=['mZb6uvvPr08','ode0vKvpvMfW','ntC0nufyuu5Rzq','mZy1odG2v3b4yxz2','mta3mJC3nMnmBxH5ra','mZC0ofDItgDIAq','mZa0DfPnuKvY','mtu1odeXmKPUEM1HrG','mJqXmZC4B1HUr3f1','zgf0yq','mZi0ywLssKPN','nZK0nZm0mfDuvuj1zq','mJiWndiZDgHPvKDd'];_0x2dcf=function(){return _0x55822a;};return _0x2dcf();}}","add_debugger":false}},"ADH":{"caption":"Set locale","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];var _0x4ba884=_0x3cd2;function _0x2489(){var _0x2ab066=['Bg9JywXL','y2fSzw5KyxjFBg9JywXL','otm2ndHQzxHRz3u','ody3mdi1nLzWqunesW','ChvIBgLZAfn0yxrL','ntqXotuXrKTIs2fh','mJGZnJbMsvDfs0O','ovbruLzSqG','ndmYrMTbv1H4','C2v0t3b0Aw9U','mZq0nJu3mZbjvKjnwLm','mtbVrwPkB2W','ndK5odeXmMrMv2rtBG','y2fSzw5Kyxi','mte0nJq1BerhqvL1'];_0x2489=function(){return _0x2ab066;};return _0x2489();}(function(_0x4404fb,_0x8f11be){var _0x50888e={_0x565c04:0x114,_0x227e8a:0x111,_0x3f3159:0x116},_0x443ca3=_0x3cd2,_0x4592a4=_0x4404fb();while(!![]){try{var _0x156052=-parseInt(_0x443ca3(_0x50888e._0x565c04))/0x1+parseInt(_0x443ca3(0x10b))/0x2*(parseInt(_0x443ca3(0x10e))/0x3)+p
210arseInt(_0x443ca3(0x117))/0x4*(-parseInt(_0x443ca3(0x115))/0x5)+parseInt(_0x443ca3(_0x50888e._0x227e8a))/0x6+-parseInt(_0x443ca3(0x112))/0x7+-parseInt(_0x443ca3(0x10c))/0x8+parseInt(_0x443ca3(_0x50888e._0x3f3159))/0x9*(parseInt(_0x443ca3(0x119))/0xa);if(_0x156052===_0x8f11be)break;else _0x4592a4['push'](_0x4592a4['shift']());}catch(_0x3ea225){_0x4592a4['push'](_0x4592a4['shift']());}}}(_0x2489,0x9b1dd));function _0x3cd2(_0x56654b,_0x1eeb88){var _0x248942=_0x2489();return _0x3cd2=function(_0x3cd221,_0x105b06){_0x3cd221=_0x3cd221-0x10b;var _0x2b1737=_0x248942[_0x3cd221];if(_0x3cd2['KHwtPG']===undefined){var _0x47911f=function(_0x40d9b5){var _0x531004='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1f3fc5='',_0x324414='';for(var _0x1f1ff7=0x0,_0x16c917,_0x43234f,_0x38bb7b=0x0;_0x43234f=_0x40d9b5['charAt'](_0x38bb7b++);~_0x43234f&&(_0x16c917=_0x1f1ff7%0x4?_0x16c917*0x40+_0x43234f:_0x43234f,_0x1f1ff7++%0x4)?_0x1f3fc5+=String['fromCharCode'](0xff&_0x16c917>>(-0x2*_0x1f1ff7&0x6)):0x0){_0x43234f=_0x531004['indexOf'](_0x43234f);}for(var _0x1b5a8f=0x0,_0x36db9d=_0x1f3fc5['length'];_0x1b5a8f<_0x36db9d;_0x1b5a8f++){_0x324414+='%'+('00'+_0x1f3fc5['charCodeAt'](_0x1b5a8f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x324414);};_0x3cd2['PPIPRi']=_0x47911f,_0x56654b=arguments,_0x3cd2['KHwtPG']=!![];}var _0x5aa502=_0x248942[0x0],_0x23b965=_0x3cd221+_0x5aa502,_0x27e422=_0x56654b[_0x23b965];return!_0x27e422?(_0x2b1737=_0x3cd2['PPIPRi'](_0x2b1737),_0x56654b[_0x23b965]=_0x2b1737):_0x2b1737=_0x27e422,_0x2b1737;},_0x3cd2(_0x56654b,_0x1eeb88);}{var calendar=instance['data'][_0x4ba884(0x10d)];null!=calendar&&(calendar[_0x4ba884(0x118)]('locale',properties[_0x4ba884(0x10f)]),instance[_0x4ba884(0x113)](_0x4ba884(0x110),calendar['getOption'](_0x4ba884(0x10f))));}}"},"fields":{"ADI":{"caption":"Locale","name":"locale","rank":0,"editor":"DynamicValue","value":"text","default_val":"en"}}},"AFg":{"caption":"Select","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x2074(_0xa0b864,_0x430385){var _0x3ab595=_0x3ab5();return _0x2074=function(_0x2074fa,_0x105f1b){_0x2074fa=_0x2074fa-0x130;var _0x267e4d=_0x3ab595[_0x2074fa];if(_0x2074['HWCqtR']===undefined){var _0x223476=function(_0x5ec7c8){var _0x5e77b6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1e4f47='',_0x1a46af='';for(var _0x28de87=0x0,_0x25cd20,_0x1f9375,_0x50cb7a=0x0;_0x1f9375=_0x5ec7c8['charAt'](_0x50cb7a++);~_0x1f9375&&(_0x25cd20=_0x28de87%0x4?_0x25cd20*0x40+_0x1f9375:_0x1f9375,_0x28de87++%0x4)?_0x1e4f47+=String['fromCharCode'](0xff&_0x25cd20>>(-0x2*_0x28de87&0x6)):0x0){_0x1f9375=_0x5e77b6['indexOf'](_0x1f9375);}for(var _0x20a003=0x0,_0x5410fe=_0x1e4f47['length'];_0x20a003<_0x5410fe;_0x20a003++){_0x1a46af+='%'+('00'+_0x1e4f47['charCodeAt'](_0x20a003)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a46af);};_0x2074['TJFzXi']=_0x223476,_0xa0b864=arguments,_0x2074['HWCqtR']=!![];}var _0x2e3fc2=_0x3ab595[0x0],_0x50100a=_0x2074fa+_0x2e3fc2,_0x4d1674=_0xa0b864[_0x50100a];return!_0x4d1674?(_0x267e4d=_0x2074['TJFzXi'](_0x267e4d),_0xa0b864[_0x50100a]=_0x267e4d):_0x267e4d=_0x4d1674,_0x267e4d;},_0x2074(_0xa0b864,_0x430385);}var _0x389c6e=_0x2074;(function(_0x5b59db,_0x56521c){var _0x5326cf={_0x389836:0x13a,_0x2ccd61:0x13f,_0x4d1e2e:0x135,_0x1c2a34:0x137},_0xaff932=_0x2074,_0x113358=_0x5b59db();while(!![]){try{var _0x588db2=parseInt(_0xaff932(_0x5326cf._0x389836))/0x1*(-parseInt(_0xaff932(0x136))/0x2)+-parseInt(_0xaff932(_0x5326cf._0x2ccd61))/0x3*(-parseInt(_0xaff932(0x139))/0x4)+-parseInt(_0xaff932(0x138))/0x5+-parseInt(_0xaff932(0x13b))/0x6*(parseInt(_0xaff932(0x13e))/0x7)+-parseInt(_0xaff932(0x133))/0x8*(parseInt(_0xaff932(_0x5326cf._0x4d1e2e))/0x9)+parseInt(_0xaff932(0x13c))/0xa*(-parseInt(_0xaff932(0x131))/0xb)+parseInt(_0xaff932(_0x5326cf._0x1c2a34))/0xc*(parseInt(_0xaff932(0x130))/0xd);if(_0x588db2===_0x56521c)break;else _0x113358['push'](_0x113358['shift']());}catch(_0x7b4570){_0x113358['push'](_0x113358['shift']());}}}(_0x3ab5,0xd28fe));function _0x3ab5(){var _0x4c696a=['ndCYAMH1seLn','zw5Kx2rHDgu','mJiWnte4t3n1C0rP','mM1WBNDrAa','mZaYmZGWmdH0suTAzgK','odqYnJq2nuvVBuT4BG','ngrQuwzlrG','ntq0otyZvMf3txDX','mZbZB3bisxK','mti3me5LzvPPCW','C2vSzwn0','nJuWotC5tfzvD3rH','mZK0odiYohLvALH4ra','mJzWqvz4yKe','mte3mtm5zKjJC3ze','zgf0yq'];_0x3ab5=function(){return _0x4c696a;};return _0x3ab5();}{var calendar=instance[_0x389c6e(0x132)]['calendar'];null!=calendar&&calendar[_0x389c6e(0x13d)](properties['start_date'],properties[_0x389c6e(0x134)]);}}"},"fields":{"AFh":{"caption":"start date","name":"start_date","rank":0,"editor":"DynamicValue","value":"date"},"AFi":{"caption":"end date","name":"end_date","rank":1,"editor":"DynamicValue","value":"date","optional":true},"AFj":{"caption":"All day","name":"all_day","rank":2,"editor":"DynamicValue","value":"boolean","optional":true}}},"AFk":{"caption":"Unselect","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];var _0x9534dd=_0x5aee;function _0x59a7(){var _0x338002=['mtfxvKXNELC','ndC5odbPs3nkqKO','mJqYmty5mKfbzgPuwa','zgf0yq','ntKZodyWohjysMfNvW','nJe0mdqYmwHYrgHRrG','y2fSzw5Kyxi','nda0ntyYm0nlrvLpCW','mJa3mZaYugnqrgXA','mtC1ode3mJbkuefjzw0'];_0x59a7=function(){return _0x338002;};return _0x59a7();}(function(_0x8edbb2,_0x3fcc0b){var _0x447490={_0x43b20b:0x125,_0x13100d:0x122,_0x3bf24c:0x123},_0x3493ca=_0x5aee,_0x11ef27=_0x8edbb2();while(!![]){try{var _0x13267d=parseInt(_0x3493ca(0x128))/0x1*(parseInt(_0x3493ca(0x126))/0x2)+-parseInt(_0x3493ca(_0x447490._0x43b20b))/0x3+parseInt(_0x3493ca(0x120))/0x4+-parseInt(_0x3493ca(0x129))/0x5+-parseInt(_0x3493ca(_0x447490._0x13100d))/0x6+-parseInt(_0x3493ca(_0x447490._0x3bf24c))/0x7+parseInt(_0x3493ca(0x127))/0x8;if(_0x13267d===_0x3fcc0b)break;else _0x11ef27['push'](_0x11ef27['shift']());}catch(_0x49b0c){_0x11ef27['push'](_0x11ef27['shift']());}}}(_0x59a7,0xaf56f));function _0x5aee(_0x38c3fc,_0x587f1f){var _0x59a78e=_0x59a7();return _0x5aee=function(_0x5aeec4,_0x504e23){_0x5aeec4=_0x5aeec4-0x120;var _0x3b28d1=_0x59a78e[_0x5aeec4];if(_0x5aee['AXjpvn']===undefined){var _0x503351=function(_0x354973){var _0x48e0b3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3cf1b5='',_0x2aa806='';for(var _0x585e35=0x0,_0x1b7714,_0x267580,_0x418246=0x0;_0x267580=_0x354973['charAt'](_0x418246++);~_0x267580&&(_0x1b7714=_0x585e35%0x4?_0x1b7714*0x40+_0x267580:_0x267580,_0x585e35++%0x4)?_0x3cf1b5+=String['fromCharCode'](0xff&_0x1b7714>>(-0x2*_0x585e35&0x6)):0x0){_0x267580=_0x48e0b3['indexOf'](_0x267580);}for(var _0x5588e4=0x0,_0x2ece15=_0x3cf1b5['length'];_0x5588e4<_0x2ece15;_0x5588e4++){_0x2aa806+='%'+('00'+_0x3cf1b5['charCodeAt'](_0x5588e4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2aa806);};_0x5aee['XcQeCe']=_0x503351,_0x38c3fc=arguments,_0x5aee['AXjpvn']=!![];}var _0x145b2d=_0x59a78e[0x0],_0x10d6db=_0x5aeec4+_0x145b2d,_0x5854ea=_0x38c3fc[_0x10d6db];return!_0x5854ea?(_0x3b28d1=_0x5aee['XcQeCe'](_0x3b28d1),_0x38c3fc[_0x10d6db]=_0x3b28d1):_0x3b28d1=_0x5854ea,_0x3b28d1;},_0x5aee(_0x38c3fc,_0x587f1f);}{var calendar=instance[_0x9534dd(0x121)][_0x9534dd(0x124)];null!=calendar&&(calendar['unselect'](),instance['publishState']('select_start',null),instance['publishState']('select_end',null));}}"}},"AFo":{"caption":"Re-render events","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x2854(){var _0x47b895=['mtG5CwDnwLfK','mJa3mdmWmNbRs2rwDW','mJi3mtzIvfvqsMq','ntK2nJy1D1rMBK5m','y2fSzw5Kyxi','zgf0yq','n2jRD3PsCa','mtq0mJG3mNjQy1L1zG','mJi1ntmWmuT5svPRuG','mZbNA0Lnzwu','mtm1ndK1ndDMtgntqwW','nZC2nJCXmLzLAMLtzq','mZbKrgfhsKy','Bg9N'];_0x2854=function(){return _0x47b895;};return _0x2854();}var _0x174f8d=_0x5d79;(function(_0x2f8eb3,_0x32ed93){var _0x36f2a8={_0x55bcea:0xdf,_0x5bc989:0xe6,_0x141ff5:0xe8,_0x40ed9c:0xe0,_0x4a44c4:0xe1},_0xd4526f=_0x5d79,_0x476a02=_0x2f8eb3();while(!![]){try{var _0x163f8b=-parseInt(_0xd4526f(_0x36f2a8._0x55bcea))/0x1+-parseInt(_0xd4526f(0xe7))/0x2+parseInt(_0xd4526f(_0x36f2a8._0x5bc989))/0x3*(-parseInt(_0xd4526f(_0x36f2a8._0x141ff5))/0x4)+-parseInt(_0xd4526f(0xdb))/0x5*(-parseInt(_0xd4526f(0xe4))/0x6)+parseInt(_0xd4526f(0xde))/0x7*(-parseInt(_0xd4526f(0xe3))/0x8)+parseInt(_0xd4526f(_0x36f2a8._0x40ed9c))/0x9+parseInt(_0xd4526f(_0x36f2a8._0x4a44c4))/0xa*(parseInt(_0xd4526f(0xe2))/0xb);if(_0x163f8b===_0x32ed93)break;else _0x476a02['push'](_0x476a02['shift']());}catch(_0x57aca3){_0x476a02['push'](_0x476a02['shift']());}}}(_0x2854,0xb3aca));function _0x5d79(_0x5a16d7,_0x552c32){var _0x285407=_0x2854();return _0x5d79=function(_0x5d7937,_0x454d92){_0x5d7937=_0x5d7937-0xdb;var _0x41ee7a=_0x285407[_0x5d7937];if(_0x5d79['Gdifhg']===undefined){var _0x3b06e9=function(_0x279d4a){var _0x37a01f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4800cd='',_0x4a9a0d='';for(var _0x3f1e9e=0x0,_0x4363d6,_0xf3190,_0xe2828f=0x0;_0xf3190=_0x279d4a['charAt'](_0xe2828f++);~_0xf3190&&(_0x4363d6=_0x3f1e9e%0x4?_0x4363d6*0x40+_0xf3190:_0xf3190,_0x3f1e9e++%0x4)?_0x4800cd+=String['fromCharCode'](0xff&_0x4363d6>>(-0x2*_0x3f1e9e&0x6)):0x0){_0xf3190=_0x37a01f['indexOf'](_0xf3190);}for(var _0x24195a=0x0,_0x430426=_0x4800cd['length'];_0x24195a<_0x430426;_0x24195a++){_0x4a9a0d+='%'+('00'+_0x4800cd['charCodeAt'](_0x24195a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4a9a0d);};_0x5d79['CnYGfe']=_0x3b06e9,_0x5a16d7=arguments,_0x5d79['Gdifhg']=!![];}var _0x2eb1df=_0x285407[0x0],_0x3da4c7=_0x5d7937+_0x2eb1df,_0x60a854=_0x5a16d7[_0x3da4c7];return!_0x60a854?(_0x41ee7a=_0x5d79['CnYGfe'](_0x41ee7a),_0x5a16d7[_0x3da4c7]=_0x41ee7a):_0x41ee7a=_0x60a854,_0x41ee7a;},_0x5d79(_0x5a16d7,_0x552c32);}{var calendar=instance[_0x174f8d(0xdd)][_0x174f8d(0xdc)];null!=calendar&&(console[_0x174f8d(0xe5)]('render_events'),calendar['refetchEvents']());}}"}},"AFu":{"caption":"Set timezone","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0xcc8d(_0x1763ff,_0x210723){const _0x3a6fad=_0x3a6f();return _0xcc8d=function(_0xcc8d24,_0x2e2c44){_0xcc8d24=_0xcc8d24-0x189;let _0x11de1c=_0x3a6fad[_0xcc8d24];if(_0xcc8d['qpoceM']===undefined){var _0x4cfa57=function(_0x13d2b1){const _0x39ae10='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x12224c='',_0x254d2e='';for(let _0x3b69db=0x0,_0x196fc0,_0x5edc5d,_0x170e62=0x0;_0x5edc5d=_0x13d2b1['charAt'](_0x170e62++);~_0x5edc5d&&(_0x196fc0=_0x3b69db%0x4?_0x196fc0*0x40+_0x5edc5d:_0x5edc5d,_0x3b69db++%0x4)?_0x12224c+=String['fromCharCode'](0xff&_0x196fc0>>(-0x2*_0x3b69db&0x6)):0x0){_0x5edc5d=_0x39ae10['indexOf'](_0x5edc5d);}for(let _0x2a6d39=0x0,_0x352729=_0x12224c['length'];_0x2a6d39<_0x352729;_0x2a6d39++){_0x254d2e+='%'+('00'+_0x12224c['charCodeAt'](_0x2a6d39)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x254d2e);};_0xcc8d['ycASAE']=_0x4cfa57,_0x1763ff=arguments,_0xcc8d['qpoceM']=!![];}const _0xe71c09=_0x3a6fad[0x0],_0x4f7aaa=_0xcc8d24+_0xe71c09,_0x18eb3a=_0x1763ff[_0x4f7aaa];return!_0x18eb3a?(_0x11de1c=_0xcc8d['ycASAE'](_0x11de1c),_0x1763ff[_0x4f7aaa]=_0x11de1c):_0x11de1c=_0x18eb3a,_0x11de1c;},_0xcc8d(_0x1763ff,_0x210723);}const _0xb103da=_0xcc8d;(function(_0x5e7ed7,_0x139c3b){const _0x496ce2={_0x1ec728:0x18e,_0x5a8016:0x18a,_0x3fc6d6:0x198},_0x3adfd8=_0xcc8d,_0x155b25=_0x5e7ed7();while(!![]){try{const _0x2b6cd7=parseInt(_0x3adfd8(0x199))/0x1+parseInt(_0x3adfd8(_0x496ce2._0x1ec728))/0x2+-parseInt(_0x3adfd8(0x190))/0x3+-parseInt(_0x3adfd8(0x19d))/0x4+-parseInt(_0x3adfd8(0x18f))/0x5+parseInt(_0x3adfd8(_0x496ce2._0x5a8016))/0x6*(parseInt(_0x3adfd8(0x19a))/0x7)+parseInt(_0x3adfd8(0x18d))/0x8*(-parseInt(_0x3adfd8(_0x496ce2._0x3fc6d6))/0x9);if(_0x2b6cd7===_0x139c3b)break;else _0x155b25['push'](_0x155b25['shift']());}catch(_0x52f80a){_0x155b25['push'](_0x155b25['shift']());}}}(_0x3a6f,0x882d7));function _0x3a6f(){const _0xec424=['CMvUzgvY','B3DUzxjZx3rPBwv6B25L','mJe4nJm1mMTvvuzPrW','rgf0zvrPBwvgB3jTyxq','mZqZmZHZr3HKqvy','ChvIBgLZAfn0yxrL','DgLTzxPVBMvFAwq','ohnwqLrkzG','mJaZotKZmfDJq1rywG','oda2nZaWr1rezhDs','mZmWmti5mgPYtvHuta','zgf0yq','BM93','zM9YBwf0','B2zMC2v0x2rPC3bSyxK','DxrJt2zMC2v0','y2fSzw5KyxjFDgLTzxPVBMu','DgLTzvPVBMu','mZi5otmXoujtEeTNqW','mteWnJeYow52rM5zCG','nZqYDgvABenN'];_0x3a6f=function(){return _0xec424;};return _0x3a6f();}{var calendar=instance['data']['calendar'];let actionTimeZone;if(null!=calendar){instance['data']['newTimeZone']=properties[_0xb103da(0x18c)],instance[_0xb103da(0x191)]['newNow']=moment['tz'](properties[_0xb103da(0x18c)])[_0xb103da(0x193)](),calendar['setOption'](_0xb103da(0x192),moment['tz'](properties[_0xb103da(0x18c)])['format']()),calendar['setOption']('timeZone',properties['timezone_id']),calendar[_0xb103da(0x19b)](),calendar['refetchEvents'](),instance[_0xb103da(0x18b)](_0xb103da(0x196),calendar['getOption'](_0xb103da(0x197))),actionTimeZone='local'===instance[_0xb103da(0x191)][_0xb103da(0x19c)]?Intl[_0xb103da(0x189)]()['resolvedOptions']()['timeZone']:instance[_0xb103da(0x191)]['owners_timezone'];let def_tz=moment()['tz'](actionTimeZone)[_0xb103da(0x195)](),cur_tz=moment()['tz'](properties[_0xb103da(0x18c)])['utcOffset']();instance['publishState']('offset_save',0x3c*(def_tz-cur_tz)),instance[_0xb103da(0x18b)](_0xb103da(0x194),0x3c*(cur_tz-def_tz));}}}"},"fields":{"AFv":{"caption":"Timezone ID","name":"timezone_id","rank":0,"editor":"DynamicValue","value":"text","default_val":"local"},"AFw":{"caption":"Example of Timezone ID is America/New_York, Africa/Accra. Enter local to use the browser's timezone","name":"info","rank":1,"editor":"Label"}}},"AIy":{"caption":"Disable temporary","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x5dc8(){var _0x16a64a=['mJG0mdi4mePZvKjLvW','AgLKzq','nZuYmZeZnK5frMH4tW','mtGZnZKWyM92Cgzh','zgLZywjSzwrfBgvTzw50','mti1nJq2BgPXr1fe','mtjRD3zMEhm','ntjmB3vsq2q','nujqwfHysq','C2HVDW','mta0mJyWzhzgtMjm','ndi2otq0n2r3A1PqDG','zgf0yq','CMvTB3zLq2XHC3m','y2fSAwq','lMXKCY1ZCgLUBMvY','ywrKq2XHC3m','mJy3nJC0nwrIt3Dfra','ndCZDvfvy1Hg'];_0x5dc8=function(){return _0x16a64a;};return _0x5dc8();}var _0x470fc7=_0xdb8c;
210function _0xdb8c(_0x48d0de,_0x140cc7){var _0x5dc8d7=_0x5dc8();return _0xdb8c=function(_0x1b649d,_0x16eab6){_0x1b649d=_0x1b649d-0x72;var _0x42cab2=_0x5dc8d7[_0x1b649d];if(_0xdb8c['Jvznxu']===undefined){var _0x7d5342=function(_0x521dda){var _0x295c40='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1dfd18='',_0x299791='';for(var _0x235ea6=0x0,_0x4ea912,_0x12f49a,_0x54870a=0x0;_0x12f49a=_0x521dda['charAt'](_0x54870a++);~_0x12f49a&&(_0x4ea912=_0x235ea6%0x4?_0x4ea912*0x40+_0x12f49a:_0x12f49a,_0x235ea6++%0x4)?_0x1dfd18+=String['fromCharCode'](0xff&_0x4ea912>>(-0x2*_0x235ea6&0x6)):0x0){_0x12f49a=_0x295c40['indexOf'](_0x12f49a);}for(var _0x2784ae=0x0,_0x55d286=_0x1dfd18['length'];_0x2784ae<_0x55d286;_0x2784ae++){_0x299791+='%'+('00'+_0x1dfd18['charCodeAt'](_0x2784ae)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x299791);};_0xdb8c['itYwrH']=_0x7d5342,_0x48d0de=arguments,_0xdb8c['Jvznxu']=!![];}var _0x11d503=_0x5dc8d7[0x0],_0x1c33f7=_0x1b649d+_0x11d503,_0x558c10=_0x48d0de[_0x1c33f7];return!_0x558c10?(_0x42cab2=_0xdb8c['itYwrH'](_0x42cab2),_0x48d0de[_0x1c33f7]=_0x42cab2):_0x42cab2=_0x558c10,_0x42cab2;},_0xdb8c(_0x48d0de,_0x140cc7);}(function(_0xc0118c,_0x963b1){var _0x15d8db={_0xea8774:0x73,_0x4e0839:0x80,_0x3aae45:0x78},_0x591109=_0xdb8c,_0x49f891=_0xc0118c();while(!![]){try{var _0x5f3d3d=parseInt(_0x591109(0x7d))/0x1*(-parseInt(_0x591109(0x7f))/0x2)+-parseInt(_0x591109(0x7a))/0x3*(parseInt(_0x591109(0x7c))/0x4)+-parseInt(_0x591109(_0x15d8db._0xea8774))/0x5*(-parseInt(_0x591109(0x7b))/0x6)+parseInt(_0x591109(_0x15d8db._0x4e0839))/0x7+-parseInt(_0x591109(0x75))/0x8+parseInt(_0x591109(0x77))/0x9+parseInt(_0x591109(_0x15d8db._0x3aae45))/0xa*(-parseInt(_0x591109(0x74))/0xb);if(_0x5f3d3d===_0x963b1)break;else _0x49f891['push'](_0x49f891['shift']());}catch(_0x98efa9){_0x49f891['push'](_0x49f891['shift']());}}}(_0x5dc8,0x8a33b));{var calendar;null!=instance['data']['calendar']&&($('.lds-spinner')[_0x470fc7(0x7e)](),$('#'+instance[_0x470fc7(0x81)][_0x470fc7(0x83)])[_0x470fc7(0x72)](_0x470fc7(0x79)),setTimeout(function(){var _0x40dd55={_0x21b623:0x81,_0x3c8f95:0x82,_0x4ec261:0x79},_0x1d6c77=_0x470fc7;$('#'+instance[_0x1d6c77(_0x40dd55._0x21b623)]['calid'])[_0x1d6c77(_0x40dd55._0x3c8f95)](_0x1d6c77(_0x40dd55._0x4ec261)),$(_0x1d6c77(0x84))[_0x1d6c77(0x76)]();},0x3e8*parseInt(properties['seconds'])));}}"},"fields":{"AIz":{"caption":"Seconds","name":"seconds","rank":0,"editor":"Dropdown","default_val":"1"}}},"AJK":{"caption":"Render","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];var _0x149bc5=_0x55fa;(function(_0x391ed7,_0x8a671b){var _0x4efd0d={_0x5aa53a:0xa2,_0x36e6ce:0xa8,_0xff6fa9:0xa6,_0x1eb153:0xae},_0x41e40c=_0x55fa,_0x93bc72=_0x391ed7();while(!![]){try{var _0x31b4dd=parseInt(_0x41e40c(_0x4efd0d._0x5aa53a))/0x1*(parseInt(_0x41e40c(0xac))/0x2)+parseInt(_0x41e40c(0xa4))/0x3*(parseInt(_0x41e40c(0xa9))/0x4)+parseInt(_0x41e40c(0xad))/0x5+parseInt(_0x41e40c(0xa7))/0x6*(parseInt(_0x41e40c(_0x4efd0d._0x36e6ce))/0x7)+-parseInt(_0x41e40c(0xaa))/0x8*(parseInt(_0x41e40c(_0x4efd0d._0xff6fa9))/0x9)+parseInt(_0x41e40c(0xb0))/0xa*(-parseInt(_0x41e40c(_0x4efd0d._0x1eb153))/0xb)+-parseInt(_0x41e40c(0xaf))/0xc;if(_0x31b4dd===_0x8a671b)break;else _0x93bc72['push'](_0x93bc72['shift']());}catch(_0x326c03){_0x93bc72['push'](_0x93bc72['shift']());}}}(_0x4ec0,0x81c5b));function _0x4ec0(){var _0x4bb430=['ndy3mZKYoe11u0jQDW','y2fSzw5Kyxi','nJm0mtHfAgLjEfq','mZyYnJa4nxfiv0vNqq','mte0nZeWmdLjwwLuzM0','mtiYnZG5ntjIyMDfweC','mtbsu1z1txi','mZbysxLYEgq','zgf0yq','mtu2ntmXA1bewvH4','D2fPDf90Aw1L','ouzuD3jAra','mJaXmtyWmKTLz3vYDG','mtrmtK1jzNC','nJrxqK9wvNi'];_0x4ec0=function(){return _0x4bb430;};return _0x4ec0();}function _0x55fa(_0x2c67d0,_0x1a4b35){var _0x4ec085=_0x4ec0();return _0x55fa=function(_0x55fa7e,_0x502560){_0x55fa7e=_0x55fa7e-0xa2;var _0xaf14ed=_0x4ec085[_0x55fa7e];if(_0x55fa['EsnAgK']===undefined){var _0x2c2bd5=function(_0x61692a){var _0x21fb0f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4acf65='',_0x3f0b45='';for(var _0x2cb057=0x0,_0x5361dd,_0xc20320,_0x3c99a4=0x0;_0xc20320=_0x61692a['charAt'](_0x3c99a4++);~_0xc20320&&(_0x5361dd=_0x2cb057%0x4?_0x5361dd*0x40+_0xc20320:_0xc20320,_0x2cb057++%0x4)?_0x4acf65+=String['fromCharCode'](0xff&_0x5361dd>>(-0x2*_0x2cb057&0x6)):0x0){_0xc20320=_0x21fb0f['indexOf'](_0xc20320);}for(var _0x7aeabb=0x0,_0x2dbbbd=_0x4acf65['length'];_0x7aeabb<_0x2dbbbd;_0x7aeabb++){_0x3f0b45+='%'+('00'+_0x4acf65['charCodeAt'](_0x7aeabb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3f0b45);};_0x55fa['JosVHX']=_0x2c2bd5,_0x2c67d0=arguments,_0x55fa['EsnAgK']=!![];}var _0x212dc4=_0x4ec085[0x0],_0x3ef1fe=_0x55fa7e+_0x212dc4,_0x2f971a=_0x2c67d0[_0x3ef1fe];return!_0x2f971a?(_0xaf14ed=_0x55fa['JosVHX'](_0xaf14ed),_0x2c67d0[_0x3ef1fe]=_0xaf14ed):_0xaf14ed=_0x2f971a,_0xaf14ed;},_0x55fa(_0x2c67d0,_0x1a4b35);}{var calendar=instance[_0x149bc5(0xa3)][_0x149bc5(0xab)];null!=calendar&&setTimeout(function(){calendar['render']();},properties[_0x149bc5(0xa5)]);}}"},"fields":{"AJL":{"caption":"Wait time (ms)","name":"wait_time","rank":0,"editor":"StaticNumber","default_val":500}}},"AJg":{"caption":"Reload Events","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];const _0x3d837d=_0x3c3b;(function(_0x461893,_0x1a3b6d){const _0x4be473={_0x5b48a7:0x1b2,_0x7adf74:0x182,_0x3d142d:0x1ac},_0x7b0766=_0x3c3b,_0x5db0bd=_0x461893();while(!![]){try{const _0x4ca7e8=-parseInt(_0x7b0766(_0x4be473._0x5b48a7))/0x1*(-parseInt(_0x7b0766(0x1a9))/0x2)+-parseInt(_0x7b0766(0x1b4))/0x3+parseInt(_0x7b0766(_0x4be473._0x7adf74))/0x4+-parseInt(_0x7b0766(0x1ab))/0x5+-parseInt(_0x7b0766(0x192))/0x6*(-parseInt(_0x7b0766(0x1b9))/0x7)+parseInt(_0x7b0766(_0x4be473._0x3d142d))/0x8+-parseInt(_0x7b0766(0x187))/0x9*(parseInt(_0x7b0766(0x186))/0xa);if(_0x4ca7e8===_0x1a3b6d)break;else _0x5db0bd['push'](_0x5db0bd['shift']());}catch(_0x468a2f){_0x5db0bd['push'](_0x5db0bd['shift']());}}}(_0x59ea,0xf0107));function _0x59ea(){const _0x5e503a=['zNjPzgf5','zxzLBNrFAwrFzMLLBgq','zhvYyxrPB25fzgL0ywjSzq','C3rHCNrszwn1CG','BgvUz3rO','zxH0zw5KzwrqCM9WCW','zgf5C19VzL93zwvR','zw5Kx3rPBwu','zw5KuMvJDxi','y2XHC3noyw1LCW','zxzLBNrFDhLWzq','zxzLBNrFCMvZB3vYy2vFzMLLBgq','zgLZCgXHEq','B3zLCMXHCa','y2fSzw5Kyxi','zxzLBNrFzhjHz2DHyMXLx2zPzwXK','ChvZAa','mte3otuYENrvzgjx','zxzLBNrFDgv4DgnVBg9Yx2zPzwXK','odu2odaXmePHwNz2yG','mtmYodG2odbsCM1NyLK','DgLTzvPVBMu','C3rHCNq','zxzLBNrFy29UDgvUDa','wvLzws1nts1era','zw5K','mZnXuhf3Exy','DgL0Bgu','mZyZoty2ovD6DuT4BG','ywXSrgf5','ywXSx2rHEq','zxzLBNrFy2fWDgLVBG','DhvLC2rHEq','mtuYmtfJz25PENO','CMvZB2X2zwrpChrPB25Z','CMvTB3zL','zxzLBNrZ','zxzLBNrFyMfJA2DYB3vUzgnVBg9Yx2zPzwXK','zw5KvgLTzq','zgf0yq','ywrKrxzLBNrtB3vYy2u','mtGXmZG5nMXxuwLAsW','zM9YBwf0','seG6Bw0','rgf0zvrPBwvgB3jTyxq','nJm1mJe4mhrSDNPhBG','ovjZz0HuEa','C3rHCNrFDgLTzq','zxzLBNrFCMvZAxPHyMXLx2zPzwXK','CMvZB3vYy2vjza','D2vKBMvZzgf5','CMvJDxjYAw5N','zxzLBNrFy2XHC3nUyw1LC2zPzwXK','yMXVy2TLzf9MAwvSza','zxzLBNrFB3zLCMXHCf9MAwvSza','C2f0DxjKyxK','CMvTB3zLqwXSrxzLBNrtB3vYy2vZ','mtmZoevoqNHbCa','zw5HyMXLx3nJAgvKDwXLCG','yM9YzgvYq29SB3i','Bg9JywW','yMfJA2DYB3vUza','z2v0'];_0x59ea=function(){return _0x5e503a;};return _0x59ea();}function _0x3c3b(_0x46004e,_0x4465f2){const _0x59ea48=_0x59ea();return _0x3c3b=function(_0x3c3b67,_0x5a85a0){_0x3c3b67=_0x3c3b67-0x17e;let _0x434444=_0x59ea48[_0x3c3b67];if(_0x3c3b['KmKdUT']===undefined){var _0x49b3ee=function(_0x3d01bc){const _0x533f48='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xd53d6='',_0x2de237='';for(let _0x256cae=0x0,_0x25a003,_0xf51c58,_0x19c16c=0x0;_0xf51c58=_0x3d01bc['charAt'](_0x19c16c++);~_0xf51c58&&(_0x25a003=_0x256cae%0x4?_0x25a003*0x40+_0xf51c58:_0xf51c58,_0x256cae++%0x4)?_0xd53d6+=String['fromCharCode'](0xff&_0x25a003>>(-0x2*_0x256cae&0x6)):0x0){_0xf51c58=_0x533f48['indexOf'](_0xf51c58);}for(let _0x1dcd59=0x0,_0xafbf15=_0xd53d6['length'];_0x1dcd59<_0xafbf15;_0x1dcd59++){_0x2de237+='%'+('00'+_0xd53d6['charCodeAt'](_0x1dcd59)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2de237);};_0x3c3b['vsXZMG']=_0x49b3ee,_0x46004e=arguments,_0x3c3b['KmKdUT']=!![];}const _0x2458fb=_0x59ea48[0x0],_0x3019d4=_0x3c3b67+_0x2458fb,_0x2e7446=_0x46004e[_0x3019d4];return!_0x2e7446?(_0x434444=_0x3c3b['vsXZMG'](_0x434444),_0x46004e[_0x3019d4]=_0x434444):_0x434444=_0x2e7446,_0x434444;},_0x3c3b(_0x46004e,_0x4465f2);}{let calendar=instance['data'][_0x3d837d(0x1a6)];if(null!=calendar){let events=()=>{const _0x3bef67={_0xd19cf6:0x195,_0x163dd6:0x185,_0x2d6f23:0x1ba,_0x16a281:0x180},_0x5d2bd6={_0x3adbaa:0x197,_0x31aaa1:0x1b7,_0x1572f0:0x1b8,_0x40d03c:0x18b,_0x2d7d8a:0x198,_0x1b139a:0x19e,_0x1e63f0:0x188,_0xb0df81:0x1b0,_0x4d7269:0x19f,_0x178670:0x183,_0x15be62:0x197,_0x556728:0x184,_0x8a16c2:0x197,_0xda077:0x1b5,_0x33f2e7:0x197,_0x34de03:0x17e,_0x305e95:0x17e,_0x1d7efc:0x17e,_0x4e4a38:0x1a7,_0x2eb15b:0x189,_0x2cbf12:0x19a,_0x1f6d5b:0x197,_0x1fc5ed:0x1a1,_0x91677c:0x1af,_0x56ff9b:0x1a2,_0x4fb1e0:0x19d,_0xc75709:0x193,_0x28764a:0x1a3,_0x4e3033:0x19c},_0x2a66c9={_0x19cf25:0x197},_0x1cd34a=_0x3d837d;let _0x5bb7c3=instance['data']['calendar']['getOption'](_0x1cd34a(0x1ad));_0x1cd34a(_0x3bef67._0xd19cf6)===_0x5bb7c3&&(_0x5bb7c3=Intl[_0x1cd34a(_0x3bef67._0x163dd6)]()[_0x1cd34a(_0x3bef67._0x2d6f23)]()[_0x1cd34a(0x1ad)]);var _0xde4dc=[];return properties=instance[_0x1cd34a(0x180)]['properties'],instance[_0x1cd34a(_0x3bef67._0x16a281)]['bubbleEvents']['forEach'](function(_0x5142f3){const _0x37790f=_0x1cd34a;var _0x962757={};let _0x51fb3d;if(_0x962757['extendedProps']={},_0x962757['id']=_0x5142f3[_0x37790f(_0x5d2bd6._0x3adbaa)](properties[_0x37790f(0x199)]),properties[_0x37790f(_0x5d2bd6._0x31aaa1)]&&(_0x962757[_0x37790f(0x1b3)]=_0x5142f3['get'](properties['event_caption'])||''),_0x51fb3d=!!properties[_0x37790f(0x18c)]&&_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(0x18c)]),_0x51fb3d){const _0x2cd4e1=['sunday','monday',_0x37790f(_0x5d2bd6._0x1572f0),_0x37790f(_0x5d2bd6._0x40d03c),'thursday',_0x37790f(_0x5d2bd6._0x2d7d8a),_0x37790f(0x190)];if(properties[_0x37790f(0x19e)]&&null!==_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(_0x5d2bd6._0x1b139a)])){let _0x26504d=_0x5142f3[_0x37790f(0x197)](properties['days_of_week']),_0x253618,_0x1a2023=_0x26504d['get'](0x0,_0x26504d['length']())['map'](_0x4ccc2f=>_0x2cd4e1['indexOf'](_0x4ccc2f['toLowerCase']()));_0x962757['daysOfWeek']=_0x1a2023;}properties['start_time']&&(_0x962757[_0x37790f(0x19b)]=moment['tz'](moment(_0x5142f3[_0x37790f(_0x5d2bd6._0x3adbaa)](properties[_0x37790f(_0x5d2bd6._0x1e63f0)]))[_0x37790f(0x183)](),_0x5bb7c3)['format'](_0x37790f(_0x5d2bd6._0xb0df81)),_0x962757['startTime']=moment['tz'](moment(_0x5142f3['get'](properties[_0x37790f(_0x5d2bd6._0x1e63f0)]))[_0x37790f(0x183)](),_0x5bb7c3)[_0x37790f(0x183)]('HH:mm'),_0x962757[_0x37790f(0x1ae)]=null),properties[_0x37790f(0x19f)]&&(_0x962757[_0x37790f(0x1a0)]=moment['tz'](moment(_0x5142f3[_0x37790f(_0x5d2bd6._0x3adbaa)](properties[_0x37790f(_0x5d2bd6._0x4d7269)]))['format'](),_0x5bb7c3)[_0x37790f(_0x5d2bd6._0x178670)]('YYYY-MM-DD'),_0x962757[_0x37790f(0x17f)]=moment['tz'](moment(_0x5142f3[_0x37790f(_0x5d2bd6._0x15be62)](properties['end_time']))[_0x37790f(0x183)](),_0x5bb7c3)[_0x37790f(_0x5d2bd6._0x178670)](_0x37790f(_0x5d2bd6._0x556728)),_0x962757['end']=null);}else properties[_0x37790f(0x188)]&&(_0x962757[_0x37790f(0x1ae)]=moment['tz'](moment(_0x5142f3[_0x37790f(_0x5d2bd6._0x8a16c2)](properties['start_time']))['format'](),_0x5bb7c3)[_0x37790f(_0x5d2bd6._0x178670)]()),properties['end_time']&&_0x5142f3['get'](properties[_0x37790f(0x19f)])&&(_0x962757[_0x37790f(0x1b1)]=moment['tz'](moment(_0x5142f3[_0x37790f(_0x5d2bd6._0x3adbaa)](properties[_0x37790f(0x19f)]))['format'](),_0x5bb7c3)['format']());if(properties[_0x37790f(0x1b6)]&&(_0x962757[_0x37790f(_0x5d2bd6._0xda077)]=_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(0x1b6)])),properties[_0x37790f(0x1aa
210)]&&null!==_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(0x1aa)])&&(_0x962757['textColor']=_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(0x1aa)])),properties['event_bordercolor_field']&&null!==_0x5142f3[_0x37790f(_0x5d2bd6._0x33f2e7)](properties['event_bordercolor_field'])?_0x962757[_0x37790f(0x194)]=_0x5142f3[_0x37790f(0x197)](properties['event_bordercolor_field']):properties[_0x37790f(_0x5d2bd6._0x34de03)]&&null!==_0x5142f3[_0x37790f(_0x5d2bd6._0x3adbaa)](properties[_0x37790f(_0x5d2bd6._0x34de03)])&&(_0x962757['borderColor']=_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(_0x5d2bd6._0x305e95)])),properties[_0x37790f(_0x5d2bd6._0x1d7efc)]&&null!==_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(0x17e)])&&(_0x962757['backgroundColor']=_0x5142f3[_0x37790f(0x197)](properties['event_backgroundcolor_field'])),properties['event_draggable_field']&&null!=_0x5142f3['get'](properties[_0x37790f(_0x5d2bd6._0x4e4a38)])&&(_0x962757['startEditable']=_0x5142f3[_0x37790f(0x197)](properties['event_draggable_field'])),properties['event_resizable_field']&&null!==_0x5142f3['get'](properties[_0x37790f(_0x5d2bd6._0x2eb15b)])&&(_0x962757[_0x37790f(_0x5d2bd6._0x2cbf12)]=_0x5142f3['get'](properties[_0x37790f(_0x5d2bd6._0x2eb15b)])),properties[_0x37790f(0x18f)]&&null!==_0x5142f3[_0x37790f(_0x5d2bd6._0x3adbaa)](properties['event_overlap_field'])&&(_0x962757[_0x37790f(0x1a5)]=_0x5142f3[_0x37790f(_0x5d2bd6._0x1f6d5b)](properties['event_overlap_field'])),properties[_0x37790f(0x18d)]&&null!==_0x5142f3[_0x37790f(0x197)](properties['event_classnamesfield'])&&(_0x962757[_0x37790f(_0x5d2bd6._0x1fc5ed)]=_0x5142f3[_0x37790f(_0x5d2bd6._0x33f2e7)](properties['event_classnamesfield'])[_0x37790f(_0x5d2bd6._0x8a16c2)](0x0,0xa)),properties['event_content']&&null!==_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(_0x5d2bd6._0x91677c)])&&(_0x962757['extendedProps']['eventContent']=_0x5142f3['get'](properties[_0x37790f(0x1af)])),_0x962757['display']=properties[_0x37790f(_0x5d2bd6._0x56ff9b)]&&_0x5142f3['get'](properties['event_type'])?_0x5142f3['get'](properties['event_type']):'block',properties[_0x37790f(0x18e)]&&_0x5142f3[_0x37790f(0x197)](properties['blocked_field'])&&(_0x962757[_0x37790f(_0x5d2bd6._0x4fb1e0)]['blockedEvent']=_0x5142f3[_0x37790f(0x197)](properties[_0x37790f(0x18e)]),properties['blocked_editable']||(_0x962757[_0x37790f(0x1a4)]=_0x37790f(0x196),_0x962757[_0x37790f(0x1a5)]=!0x1)),properties[_0x37790f(_0x5d2bd6._0xc75709)]&&null!=properties[_0x37790f(0x1a3)]){var _0x4b960b=_0x5142f3['get'](properties[_0x37790f(0x1a3)]);if(null!=_0x4b960b){if('string'==typeof _0x4b960b||_0x4b960b instanceof String)_0x962757['resourceId']=properties[_0x37790f(_0x5d2bd6._0x28764a)];else{if(_0x37790f(_0x5d2bd6._0x4e3033)in _0x4b960b){let _0x1d09ab=_0x4b960b['get'](0x0,_0x4b960b['length']()),_0x444263=[];_0x1d09ab['forEach'](function(_0x2bc95a){const _0x33bc94=_0x37790f;let _0x127721=_0x2bc95a[_0x33bc94(_0x2a66c9._0x19cf25)](properties['res_id_field']);_0x444263['push'](_0x127721);}),_0x962757['resourceIds']=_0x444263;}else _0x962757[_0x37790f(0x18a)]=_0x4b960b['get'](properties['res_id_field']);}}}_0xde4dc[_0x37790f(0x1a8)](_0x962757);}),_0xde4dc;},actualTZ=calendar['getOption'](_0x3d837d(0x1ad)),eventSource;calendar[_0x3d837d(0x191)](),eventSource=calendar['getEventSourceById']('eventSrc1'),null!==eventSource&&eventSource[_0x3d837d(0x1bb)]();let source={'id':'eventSrc1'};source[_0x3d837d(0x1bc)]=events(),calendar[_0x3d837d(0x181)](source);}}}","add_debugger":false}},"AJy":{"caption":"Set Max Number of displayed events","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x26c0(_0x334ab1,_0x371647){var _0x59e7b7=_0x59e7();return _0x26c0=function(_0x26c044,_0x2bf368){_0x26c044=_0x26c044-0x141;var _0x24400f=_0x59e7b7[_0x26c044];if(_0x26c0['QNzXuT']===undefined){var _0x33232a=function(_0x2c1278){var _0x508d26='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1a5518='',_0x11a799='';for(var _0x111f52=0x0,_0x747438,_0x5250cb,_0x505f2a=0x0;_0x5250cb=_0x2c1278['charAt'](_0x505f2a++);~_0x5250cb&&(_0x747438=_0x111f52%0x4?_0x747438*0x40+_0x5250cb:_0x5250cb,_0x111f52++%0x4)?_0x1a5518+=String['fromCharCode'](0xff&_0x747438>>(-0x2*_0x111f52&0x6)):0x0){_0x5250cb=_0x508d26['indexOf'](_0x5250cb);}for(var _0x3bb1f0=0x0,_0x56cc09=_0x1a5518['length'];_0x3bb1f0<_0x56cc09;_0x3bb1f0++){_0x11a799+='%'+('00'+_0x1a5518['charCodeAt'](_0x3bb1f0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x11a799);};_0x26c0['ZJPvBJ']=_0x33232a,_0x334ab1=arguments,_0x26c0['QNzXuT']=!![];}var _0xaca148=_0x59e7b7[0x0],_0x47bb6d=_0x26c044+_0xaca148,_0x1b88e9=_0x334ab1[_0x47bb6d];return!_0x1b88e9?(_0x24400f=_0x26c0['ZJPvBJ'](_0x24400f),_0x334ab1[_0x47bb6d]=_0x24400f):_0x24400f=_0x1b88e9,_0x24400f;},_0x26c0(_0x334ab1,_0x371647);}
210var _0x52753c=_0x26c0;function _0x59e7(){var _0x32073f=['mJqZmJi4AMjYCwTb','zgf0yq','ntaXmtntwvjiqMi','y2fSzw5Kyxi','mta0u01QALjx','mw9OALbvvG','mtHwugXeB1C','BNvTyMvYx29Mx2v2zw50CW','ntq1BfPlwhzY','mZy4tenxz2T4','mZmYmtu2yKvtsef6','nde2ntq4ogHis1PVzG','zgf5twf4rxzLBNrsB3DZ','mtq0mdKWC3f2qLzw','C2v0t3b0Aw9U','mtG3Bfbxyxf4','zgLZCgXHEv9HBgW','otuXmJu0AxPMCKTS','mtm4vurtCKH5'];_0x59e7=function(){return _0x32073f;};return _0x59e7();}(function(_0x10a165,_0x409ec0){var _0x3f2a51={_0x178e0b:0x148,_0x4c69d1:0x141,_0x1b6fea:0x149,_0x2df012:0x14d,_0x5b6616:0x14b,_0x51ae74:0x142,_0x5523a9:0x14c,_0x3561cd:0x152},_0x3f2a4c=_0x26c0,_0x638e75=_0x10a165();while(!![]){try{var _0x5b69e3=-parseInt(_0x3f2a4c(_0x3f2a51._0x178e0b))/0x1*(-parseInt(_0x3f2a4c(_0x3f2a51._0x4c69d1))/0x2)+parseInt(_0x3f2a4c(_0x3f2a51._0x1b6fea))/0x3*(-parseInt(_0x3f2a4c(_0x3f2a51._0x2df012))/0x4)+parseInt(_0x3f2a4c(_0x3f2a51._0x5b6616))/0x5*(parseInt(_0x3f2a4c(_0x3f2a51._0x51ae74))/0x6)+-parseInt(_0x3f2a4c(0x145))/0x7*(-parseInt(_0x3f2a4c(_0x3f2a51._0x5523a9))/0x8)+parseInt(_0x3f2a4c(0x14e))/0x9+-parseInt(_0x3f2a4c(0x150))/0xa*(parseInt(_0x3f2a4c(_0x3f2a51._0x3561cd))/0xb)+parseInt(_0x3f2a4c(0x143))/0xc*(-parseInt(_0x3f2a4c(0x147))/0xd);if(_0x5b69e3===_0x409ec0)break;else _0x638e75['push'](_0x638e75['shift']());}catch(_0x1e4e36){_0x638e75['push'](_0x638e75['shift']());}}}(_0x59e7,0x5918d));{null!==instance['data']['calendar']&&void 0x0!==instance['data']['calendar']&&(properties[_0x52753c(0x153)]?instance[_0x52753c(0x144)][_0x52753c(0x146)][_0x52753c(0x151)](_0x52753c(0x14f),!0x0):null===properties[_0x52753c(0x14a)]||void 0x0===properties['number_of_events']||properties['display_all']||(instance[_0x52753c(0x144)][_0x52753c(0x146)][_0x52753c(0x151)]('dayMaxEvents',!0x1),instance['data']['calendar']['setOption']('dayMaxEventRows',properties[_0x52753c(0x14a)]+0x1)));}}"},"fields":{"AJz":{"caption":"Display all","name":"display_all","rank":0,"editor":"DynamicValue","value":"boolean","default_val":false},"AKA":{"caption":"Number of events","name":"number_of_events","rank":1,"editor":"DynamicValue","value":"number","optional":true}}},"AKB":{"caption":"Set first day","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];const _0x3a5dfa=_0x1763;(function(_0xa4e4c,_0x43e594){const _0x2f664e={_0x18be19:0x1f6,_0x2ce1b6:0x1fa,_0x3ff5d1:0x1f5,_0x579f39:0x1ef,_0x377de4:0x1f7,_0x4dd41e:0x1f4},_0x3f5314=_0x1763,_0x38437c=_0xa4e4c();while(!![]){try{const _0x44dee6=parseInt(_0x3f5314(_0x2f664e._0x18be19))/0x1*(parseInt(_0x3f5314(0x1f1))/0x2)+-parseInt(_0x3f5314(0x1f0))/0x3*(-parseInt(_0x3f5314(_0x2f664e._0x2ce1b6))/0x4)+-parseInt(_0x3f5314(0x1f9))/0x5*(parseInt(_0x3f5314(_0x2f664e._0x3ff5d1))/0x6)+parseInt(_0x3f5314(0x1fb))/0x7+parseInt(_0x3f5314(_0x2f664e._0x579f39))/0x8*(parseInt(_0x3f5314(_0x2f664e._0x377de4))/0x9)+-parseInt(_0x3f5314(0x1f3))/0xa+parseInt(_0x3f5314(_0x2f664e._0x4dd41e))/0xb;if(_0x44dee6===_0x43e594)break;else _0x38437c['push'](_0x38437c['shift']());}catch(_0x1e1455){_0x38437c['push'](_0x38437c['shift']());}}}(_0x54e7,0x8b2cc));function _0x54e7(){const _0x209274=['mZu0mJb0ywrABMe','nde1nda4qKT4rfbp','oeryChnHAa','mZq1rvfQwg5z','mKrHC0L5zq','y2fSzw5Kyxi','mta3ndq4ntbbBgjgtNG','mtm5mJi5mMrnrwfjta','nKLiuK9cvW','odeZntu5qwvysNfK','ntq4odK3ngnfrNHNwq','C2v0t3b0Aw9U','ndKXntCWnvztuwLLvq'];_0x54e7=function(){return _0x209274;};return _0x54e7();}function _0x1763(_0x2b4afc,_0x447cca){const _0x54e758=_0x54e7();return _0x1763=function(_0x1763fc,_0x275df6){_0x1763fc=_0x1763fc-0x1ef;let _0x3966f6=_0x54e758[_0x1763fc];if(_0x1763['qrGroi']===undefined){var _0x5d190a=function(_0x545bfa){const _0x19fce1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e8c44='',_0x5195ed='';for(let _0x290bc1=0x0,_0x28b21d,_0x11a0d4,_0x2e2ee0=0x0;_0x11a0d4=_0x545bfa['charAt'](_0x2e2ee0++);~_0x11a0d4&&(_0x28b21d=_0x290bc1%0x4?_0x28b21d*0x40+_0x11a0d4:_0x11a0d4,_0x290bc1++%0x4)?_0x2e8c44+=String['fromCharCode'](0xff&_0x28b21d>>(-0x2*_0x290bc1&0x6)):0x0){_0x11a0d4=_0x19fce1['indexOf'](_0x11a0d4);}for(let _0x46e685=0x0,_0x53f680=_0x2e8c44['length'];_0x46e685<_0x53f680;
210_0x46e685++){_0x5195ed+='%'+('00'+_0x2e8c44['charCodeAt'](_0x46e685)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5195ed);};_0x1763['wxYJvK']=_0x5d190a,_0x2b4afc=arguments,_0x1763['qrGroi']=!![];}const _0x1affb7=_0x54e758[0x0],_0x5e115d=_0x1763fc+_0x1affb7,_0x457425=_0x2b4afc[_0x5e115d];return!_0x457425?(_0x3966f6=_0x1763['wxYJvK'](_0x3966f6),_0x2b4afc[_0x5e115d]=_0x3966f6):_0x3966f6=_0x457425,_0x3966f6;},_0x1763(_0x2b4afc,_0x447cca);}{let {getDayNumber:getDayNumber}=instance['data'],{first_day_of_week:first_day_of_week,or_set_as_text:or_set_as_text}=properties,day=first_day_of_week;null!=first_day_of_week&&void 0x0!==first_day_of_week||(day=or_set_as_text),instance['data'][_0x3a5dfa(0x1f2)][_0x3a5dfa(0x1f8)]('firstDay',getDayNumber(day));}}"},"fields":{"AKC":{"caption":"First day of week","name":"first_day_of_week","rank":0,"editor":"Dropdown","optional":true},"AKD":{"caption":"Or set as text","name":"or_set_as_text","rank":1,"editor":"DynamicValue","value":"text","optional":true}}},"AOg":{"caption":"Toggle Weekends","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x4562(){const _0x5c2bc8=['zgf0yq','ndvYturHAwS','mta5ntC0nfnkAMXqEG','AgLKzgvUrgf5CW','qMvMB3jLihrVz2DSztO','Bg9N','y2fSzw5Kyxi','ntzUuKLOuvG','mtK0mdmXmfzkEgTZzq','odeYmdbsywfYCMK','mtu4odGYofzQCw1HvW','mJuYntq2ENHvuuvP','z2v0t3b0Aw9U','odyWmta4Aw9JChb2','zhLUyw1Py09WDgLVBK92zxjYAwrLCW','mJyWnJyXmgftr1DKAG','D2vLA2vUzhm','nJvYBevAEuq','C2v0t3b0Aw9U'];_0x4562=function(){return _0x5c2bc8;};return _0x4562();}const _0x1e1b1b=_0x19b3;function _0x19b3(_0x97752e,_0xfe4bcb){const _0x4562aa=_0x4562();return _0x19b3=function(_0x19b3b6,_0x290da9){_0x19b3b6=_0x19b3b6-0x1b3;let _0x311c5a=_0x4562aa[_0x19b3b6];if(_0x19b3['nglwwq']===undefined){var _0x5355cc=function(_0x10895a){const _0x55a7cf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x360fe4='',_0x26c9fd='';for(let _0x4fc540=0x0,_0xd58231,_0x2e8a73,_0x4d7fe1=0x0;_0x2e8a73=_0x10895a['charAt'](_0x4d7fe1++);~_0x2e8a73&&(_0xd58231=_0x4fc540%0x4?_0xd58231*0x40+_0x2e8a73:_0x2e8a73,_0x4fc540++%0x4)?_0x360fe4+=String['fromCharCode'](0xff&_0xd58231>>(-0x2*_0x4fc540&0x6)):0x0){_0x2e8a73=_0x55a7cf['indexOf'](_0x2e8a73);}for(let _0x38c849=0x0,_0x13bbb4=_0x360fe4['length'];_0x38c849<_0x13bbb4;_0x38c849++){_0x26c9fd+='%'+('00'+_0x360fe4['charCodeAt'](_0x38c849)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26c9fd);};_0x19b3['GdTYzD']=_0x5355cc,_0x97752e=arguments,_0x19b3['nglwwq']=!![];}const _0xad268=_0x4562aa[0x0],_0x32e41f=_0x19b3b6+_0xad268,_0x4b1a5f=_0x97752e[_0x32e41f];return!_0x4b1a5f?(_0x311c5a=_0x19b3['GdTYzD'](_0x311c5a),_0x97752e[_0x32e41f]=_0x311c5a):_0x311c5a=_0x4b1a5f,_0x311c5a;},_0x19b3(_0x97752e,_0xfe4bcb);}(function(_0x3103be,_0x19b34d){const _0x171cb1={_0x23dc4f:0x1c4,_0xff7a7c:0x1bf,_0x47c380:0x1b5,_0x40c879:0x1c2,_0x3d4df0:0x1c0,_0x2880d2:0x1be},_0x2b6f46=_0x19b3,_0x1d5fde=_0x3103be();while(!![]){try{const _0x56679a=-parseInt(_0x2b6f46(_0x171cb1._0x23dc4f))/0x1+-parseInt(_0x2b6f46(0x1b9))/0x2+parseInt(_0x2b6f46(_0x171cb1._0xff7a7c))/0x3+parseInt(_0x2b6f46(0x1c1))/0x4+parseInt(_0x2b6f46(_0x171cb1._0x47c380))/0x5*(-parseInt(_0x2b6f46(_0x171cb1._0x40c879))/0x6)+parseInt(_0x2b6f46(_0x171cb1._0x3d4df0))/0x7*(parseInt(_0x2b6f46(_0x171cb1._0x2880d2))/0x8)+parseInt(_0x2b6f46(0x1b8))/0x9*(parseInt(_0x2b6f46(0x1b3))/0xa);if(_0x56679a===_0x19b34d)break;else _0x1d5fde['push'](_0x1d5fde['shift']());}catch(_0x1cde08){_0x1d5fde['push'](_0x1d5fde['shift']());}}}(_0x4562,0x738e7));{if(null!==instance[_0x1e1b1b(0x1b7)][_0x1e1b1b(0x1bd)]&&void 0x0!==instance['data'][_0x1e1b1b(0x1bd)]){const calendar=instance[_0x1e1b1b(0x1b7)]['calendar'];console[_0x1e1b1b(0x1bc)](_0x1e1b1b(0x1bb),calendar[_0x1e1b1b(0x1c3)]('weekends'));const isWeekendsEnabled=undefined,willEnableWeekends=!calendar[_0x1e1b1b(0x1c3)]('weekends');willEnableWeekends&&(calendar['currentData'][_0x1e1b1b(0x1c5)][_0x1e1b1b(0x1ba)]=[]),calendar[_0x1e1b1b(0x1b6)](_0x1e1b1b(0x1b4),willEnableWeekends),console[_0x1e1b1b(0x1bc)]('After\\x20toggle:',calendar[_0x1e1b1b(0x1c3)]('weekends'));}}}"}},"AOl":{"caption":"Use external events","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];const _0x35f709=_0x2dfa;(function(_0x560d62,_0x4a643e){const _0x10ef31={_0x56c76e:0x18d,_0x2695fc:0x18c,_0x5913cc:0x187,_0x224fbe:0x17b,_0x1f3eb6:0x188},_0xe660ac=_0x2dfa,_0x40e15b=_0x560d62();while(!![]){try{const _0x1cdf07=-parseInt(_0xe660ac(_0x10ef31._0x56c76e))/0x1*(parseInt(_0xe660ac(0x183))/0x2)+parseInt(_0xe660ac(_0x10ef31._0x2695fc))/0x3+parseInt(_0xe660ac(0x180))/0x4*(-parseInt(_0xe660ac(0x181))/0x5)+-parseInt(_0xe660ac(_0x10ef31._0x5913cc))/0x6+parseInt(_0xe660ac(_0x10ef31._0x224fbe))/0x7+-parseInt(_0xe660ac(0x17a))/0x8*(-parseInt(_0xe660ac(_0x10ef31._0x1f3eb6))/0x9)+parseInt(_0xe660ac(0x17c))/0xa;if(_0x1cdf07===_0x4a643e)break;else _0x40e15b['push'](_0x40e15b['shift']());}catch(_0x2279c3){_0x40e15b['push'](_0x40e15b['shift']());}}}(_0x4da8,0x504b9));{if(null==instance[_0x35f709(0x178)][_0x35f709(0x17f)]||0x0==instance[_0x35f709(0x178)][_0x35f709(0x17f)]['length']){instance[_0x35f709(0x178)]['draggableElements']=[];let externalElements=document[_0x35f709(0x185)]('#'+properties[_0x35f709(0x190)]+'\\x20.GroupItem');0x0===externalElements[_0x35f709(0x184)]&&(externalElements=document[_0x35f709(0x185)]('#'+properties[_0x35f709(0x190)]+'\\x20.group-item'));
210let bubbleExternalEvents=[],externalEvents=[];function getExternalEvents(){const _0xb9e53={_0x347036:0x182,_0x4c1cd0:0x186};return bubbleExternalEvents['forEach'](function(_0x55c24a){const _0x581d55=_0x2dfa;var _0x66ee69={};_0x66ee69['id']=_0x55c24a[_0x581d55(_0xb9e53._0x347036)](properties[_0x581d55(0x17e)]),properties[_0x581d55(0x186)]&&(_0x66ee69[_0x581d55(0x18b)]=_0x55c24a['get'](properties[_0x581d55(_0xb9e53._0x4c1cd0)])||'\\x20'),externalEvents[_0x581d55(0x18e)](_0x66ee69);}),externalEvents;}null!=properties['external_events_data']&&(bubbleExternalEvents=properties['external_events_data']['get'](0x0,properties[_0x35f709(0x18f)]['length']())),getExternalEvents(),externalElements['forEach'](function(_0x53660d){const _0xfbc46e={_0x472f0f:0x178,_0x5b4882:0x189,_0x203eb7:0x17f},_0x1866b1=_0x35f709;let _0x2898fc,_0x41bad3=_0x53660d[_0x1866b1(0x179)](_0x1866b1(0x18a))['id'],_0x43cf6e=externalEvents['find'](_0x4f9ea5=>_0x4f9ea5['id']===_0x41bad3);instance[_0x1866b1(_0xfbc46e._0x472f0f)]['draggableElement']=new window[(_0x1866b1(_0xfbc46e._0x5b4882))]['Draggable'](_0x53660d,{'eventData':_0x43cf6e}),instance[_0x1866b1(0x178)][_0x1866b1(_0xfbc46e._0x203eb7)]['push'](instance['data']['draggableElement']);});}else instance[_0x35f709(0x178)][_0x35f709(0x17f)][_0x35f709(0x17d)](function(_0x3b50d4){_0x3b50d4['destroy']();}),instance[_0x35f709(0x178)]['draggableElements']=[];}function _0x2dfa(_0x1911df,_0x38a3ea){const _0x4da86d=_0x4da8();return _0x2dfa=function(_0x2dfa1c,_0x25dd28){_0x2dfa1c=_0x2dfa1c-0x178;let _0x16d355=_0x4da86d[_0x2dfa1c];if(_0x2dfa['CSgtXm']===undefined){var _0x1587ad=function(_0x212b6b){const _0x1d32d3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x302553='',_0xc3854f='';for(let _0x11741a=0x0,_0x7c7266,_0x40f0ce,_0x59bc3c=0x0;_0x40f0ce=_0x212b6b['charAt'](_0x59bc3c++);~_0x40f0ce&&(_0x7c7266=_0x11741a%0x4?_0x7c7266*0x40+_0x40f0ce:_0x40f0ce,_0x11741a++%0x4)?_0x302553+=String['fromCharCode'](0xff&_0x7c7266>>(-0x2*_0x11741a&0x6)):0x0){_0x40f0ce=_0x1d32d3['indexOf'](_0x40f0ce);}for(let _0x5b6879=0x0,_0x5dce89=_0x302553['length'];_0x5b6879<_0x5dce89;_0x5b6879++){_0xc3854f+='%'+('00'+_0x302553['charCodeAt'](_0x5b6879)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc3854f);};_0x2dfa['NLCOHR']=_0x1587ad,_0x1911df=arguments,_0x2dfa['CSgtXm']=!![];}const _0xaf6c5=_0x4da86d[0x0],_0xb6cfb4=_0x2dfa1c+_0xaf6c5,_0x528b43=_0x1911df[_0xb6cfb4];return!_0x528b43?(_0x16d355=_0x2dfa['NLCOHR'](_0x16d355),_0x1911df[_0xb6cfb4]=_0x16d355):_0x16d355=_0x528b43,_0x16d355;},_0x2dfa(_0x1911df,_0x38a3ea);}function _0x4da8(){const _0x2156a2=['zhjHz2DHyMXLrwXLBwvUDhm','mJyWotqYoePTvwjHCq','nw94uNr6CG','z2v0','mti5otG0ohPIz2H1uq','BgvUz3rO','CxvLCNLtzwXLy3rVCKfSBa','zxH0zxjUywXFzxzLBNrFDgL0Bgu','odm2nJeWtLDfyMrf','ovHuAMThsq','rNvSBenHBgvUzgfYvMvYC2LVBJyUms4Xnq','lKDYB3vW','DgL0Bgu','mZGZmZKXueXOuuDq','mu1jvMXOAq','ChvZAa','zxH0zxjUywXFzxzLBNrZx2rHDge','AwrFCMDFzxH0zxjUywXFzxzLBNrZ','zgf0yq','CxvLCNLtzwXLy3rVCG','mtuWnZe4ngvHwKPAEq','ndy2ntiYAxf0CM9y','mtm4nZC2ndb4CMT1ufe','zM9YrwfJAa','zxH0zxjUywXFzxzLBNrFAwq'];_0x4da8=function(){return _0x2156a2;};return _0x4da8();}}"},"fields":{"AOm":{"caption":"ID RG external events","name":"id_rg_external_events","rank":0,"editor":"DynamicValue","value":"text"},"AOn":{"caption":"Type of external events","name":"type_of_external_events","rank":1,"editor":"custom_type"},"AOo":{"caption":"External events data","name":"external_events_data","rank":2,"editor":"DynamicValue","value":"custom_data_AOn","is_list":true},"AOp":{"caption":"External event title","name":"external_event_title","rank":4,"editor":"custom_field_AOn"},"AOq":{"caption":"External event ID","name":"external_event_id","rank":3,"editor":"custom_field_AOn"}}},"APK":{"caption":"Remove All Events","code":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x1603(){var _0x3c1dbc=['ohLMrhHerG','y2fSzw5Kyxi','mJiZmJKXnLPVs256zG','CMvTB3zLqwXSrxzLBNrtB3vYy2vZ','ndqWndqYoeDpzNPbEG','m2D4uhD4Aa','odK3nJCYnLjusK1nva','CMvTB3zLqwXSrxzLBNrZ','nty0mZmWnwjrBevlsa','mta4mZG2ofvZwLDwwG','mteYmtm2nevdEhPrDG','zgf0yq','mtq4odi3nM9pruXprG'];_0x1603=function(){return _0x3c1dbc;};return _0x1603();}var _0x212bf5=_0x87a6;(function(_0x526d0d,_0x26f723){var _0x2a32aa={_0x11ce2f:0x1d3,_0x2d4f4c:0x1db,_0x2280d2:0x1d6,_0xe7fd3c:0x1dc},_0x476f5b=_0x87a6,_0x2719ee=_0x526d0d();while(!![]){try{var _0x30e1d8=parseInt(_0x476f5b(_0x2a32aa._0x11ce2f))/0x1+parseInt(_0x476f5b(0x1d2))/0x2*(parseInt(_0x476f5b(_0x2a32aa._0x2d4f4c))/0x3)+-parseInt(_0x476f5b(0x1da))/0x4+parseInt(_0x476f5b(0x1de))/0x5+parseInt(_0x476f5b(0x1d5))/0x6+-parseInt(_0x476f5b(0x1d8))/0x7*(parseInt(_0x476f5b(_0x2a32aa._0x2280d2))/0x8)+-parseInt(_0x476f5b(_0x2a32aa._0xe7fd3c)
210)/0x9;if(_0x30e1d8===_0x26f723)break;else _0x2719ee['push'](_0x2719ee['shift']());}catch(_0x279188){_0x2719ee['push'](_0x2719ee['shift']());}}}(_0x1603,0x97fa0));function _0x87a6(_0x445c7b,_0x343f05){var _0x160330=_0x1603();return _0x87a6=function(_0x87a62c,_0x3bdeff){_0x87a62c=_0x87a62c-0x1d2;var _0x1ada2d=_0x160330[_0x87a62c];if(_0x87a6['qwKfdr']===undefined){var _0x217b0f=function(_0x44ff18){var _0x275a9f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x599af6='',_0x237358='';for(var _0x39d007=0x0,_0x2cb0c3,_0x53e790,_0x219db5=0x0;_0x53e790=_0x44ff18['charAt'](_0x219db5++);~_0x53e790&&(_0x2cb0c3=_0x39d007%0x4?_0x2cb0c3*0x40+_0x53e790:_0x53e790,_0x39d007++%0x4)?_0x599af6+=String['fromCharCode'](0xff&_0x2cb0c3>>(-0x2*_0x39d007&0x6)):0x0){_0x53e790=_0x275a9f['indexOf'](_0x53e790);}for(var _0x375ea4=0x0,_0x5aa204=_0x599af6['length'];_0x375ea4<_0x5aa204;_0x375ea4++){_0x237358+='%'+('00'+_0x599af6['charCodeAt'](_0x375ea4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x237358);};_0x87a6['tUsEoX']=_0x217b0f,_0x445c7b=arguments,_0x87a6['qwKfdr']=!![];}var _0x132e53=_0x160330[0x0],_0x4b93bf=_0x87a62c+_0x132e53,_0x1626e5=_0x445c7b[_0x4b93bf];return!_0x1626e5?(_0x1ada2d=_0x87a6['tUsEoX'](_0x1ada2d),_0x445c7b[_0x4b93bf]=_0x1ada2d):_0x1ada2d=_0x1626e5,_0x1ada2d;},_0x87a6(_0x445c7b,_0x343f05);}{instance[_0x212bf5(0x1d4)]['calendar'][_0x212bf5(0x1d9)](),instance[_0x212bf5(0x1d4)][_0x212bf5(0x1d7)][_0x212bf5(0x1dd)](),window['gc']&&window['gc']();}}"}}},"code":{"initialize":{"fn":"function(instance,context){const _0x474242=['MTU1Mzc5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];var _0x2adf9e=_0x452c;(function(_0x599ee4,_0x1faa2b){var _0x49c085={_0x361540:0x1b3,_0x21ac86:0x1a9,_0x111b26:0x1ac,_0x19481f:0x181,_0x185f15:0x1b6},_0x313294=_0x452c,_0x2b6e11=_0x599ee4();while(!![]){try{var _0x28b334=parseInt(_0x313294(0x1a2))/0x1+parseInt(_0x313294(_0x49c085._0x361540))/0x2+parseInt(_0x313294(0x1b5))/0x3*(-parseInt(_0x313294(_0x49c085._0x21ac86))/0x4)+-parseInt(_0x313294(0x178))/0x5*(parseInt(_0x313294(0x18b))/0x6)+-parseInt(_0x313294(0x19b))/0x7*(-parseInt(_0x313294(_0x49c085._0x111b26))/0x8)+-parseInt(_0x313294(_0x49c085._0x19481f))/0x9+parseInt(_0x313294(_0x49c085._0x185f15))/0xa;if(_0x28b334===_0x1faa2b)break;else _0x2b6e11['push'](_0x2b6e11['shift']());}catch(_0x408140){_0x2b6e11['push'](_0x2b6e11['shift']());}}}(_0x4755,0x2a565));function _0x452c(_0x20f520,_0x156b5){var _0x4755de=_0x4755();return _0x452c=function(_0x452c1a,_0x4bbcaf){_0x452c1a=_0x452c1a-0x178;var _0x2568bf=_0x4755de[_0x452c1a];if(_0x452c['UdFLLc']===undefined){var _0x46dd0b=function(_0x38a8fb){var _0x286b09='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x209beb='',_0x783d80='';for(var _0x11e508=0x0,_0x152a00,_0x237dde,_0x294469=0x0;_0x237dde=_0x38a8fb['charAt'](_0x294469++);~_0x237dde&&(_0x152a00=_0x11e508%0x4?_0x152a00*0x40+_0x237dde:_0x237dde,_0x11e508++%0x4)?_0x209beb+=String['fromCharCode'](0xff&_0x152a00>>(-0x2*_0x11e508&0x6)):0x0){_0x237dde=_0x286b09['indexOf'](_0x237dde);}for(var _0x537fe6=0x0,_0x44938e=_0x209beb['length'];_0x537fe6<_0x44938e;_0x537fe6++){_0x783d80+='%'+('00'+_0x209beb['charCodeAt'](_0x537fe6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x783d80);};_0x452c['GuNhSq']=_0x46dd0b,_0x20f520=arguments,_0x452c['UdFLLc']=!![];}var _0x387192=_0x4755de[0x0],_0x264e31=_0x452c1a+_0x387192,_0x4a188c=_0x20f520[_0x264e31];return!_0x4a188c?(_0x2568bf=_0x452c['GuNhSq'](_0x2568bf),_0x20f520[_0x264e31]=_0x2568bf):_0x2568bf=_0x4a188c,_0x2568bf;},_0x452c(_0x20f520,_0x156b5);}function _0x4755(){var _0x56efbe=['mtaWjq','ote3mJbUquHzyxa','y2fSCMvHzhK','DMLLD19JDxjYzw50C3rHCNq','CMvUzgvY','y3vYCMvUDf92Awv3','DhjPBq','D2LKDgG','nJGZmZyYDw5yDxjO','rNvSBenHBgvUzgfYvMvYC2LVBJyUms4Xnq','mJG2mdu2DgHXBMPc','nZqYmZeWyLLRugHk','DMLLD19Hy3rPDMvZDgfYDa','y3nZ','DMLZAwjSzq','nxDJBLr2zG','y3vYCMvUDf9LDMvUDf9Pza','C2v0t3b0Aw9U','DgLTzvPVBMu','yNjVD3nLCNrPBwv6B25L','zNvUy3rPB24','y3vYCMvUDev2zw50swq','A2v5CW','ywLYy2fSxW','mJe0nti4nxfRwwLJvW','ChvIBgLZAfn0yxrL','B3zLCMzSB3C','Bg9JywXL','r29Vz2XLienHBgvUzgfYiefqsq','zMLYC3ruAw1L','y2fSzw5Kyxi','ChvZAa','zM9YrwfJAa','AgvPz2H0','mtu4ndu0nKD3CwPxqG','DgHLBG','zM5FAw5PDgLHBgL6zunHBgvUzgfY','Dg9mB3DLCKnHC2u','C2nOzwr1BgvYtgLJzw5ZzuTLEq','z2v0t3b0Aw9U','rgf0zvrPBwvgB3jTyxq','uMXfvgq','zgf0yq','zxjYB3i','DgLTzxPVBMvZ','DgLTzxPVBMvZtgLZDa','zgvTBW','DMLLD19JDxjYzw50zw5K','yxbWzw5K','zgvTBZy','mti2r0jvzwfL','rxjYB3iGzMv0y2HPBMCGzgvTBYbKyxrHoG','y2fSzw5KyxjmB2nHBgu','yNjVD3nLCMXVy2fSzq','y2fUDMfZ','Cg93','y2HLy2TdB2XVCG','mJq0mJKXCM5wsLrx','A2XAAhC','C3rHCNrZv2L0Aa','z2v0qxzHAwXHyMXLtg9JywXLq29Kzxm','y2fSAwq','rMfPBgvKihrVigXVywqGzgvTBYbKyxrH','yNvIyMXLrxzLBNrZ','oe9gBMTwBG','DMLLD19Hy3rPDMvLBMq'];_0x4755=function(){return _0x56efbe;};return _0x4755();}{try{window['qwerty']=instance;}catch(_0x1b9187){}instance[_0x2adf9e(0x193)]['googleKey']=context[_0x2adf9e(0x17f)][_0x2adf9e(0x185)],instance[_0x2adf9e(0x193)]['getDayNumber']=function(_0x362208){var _0x49d515={_0x3701cf:0x18e},_0x33bc18=_0x2adf9e;if(null==_0x362208)return 0x0;let _0x5ac90f={'sunday':0x0,'monday':0x1,'tuesday':0x2,'wednesday':0x3,'thursday':0x4,'friday':0x5,'s
210aturday':0x6};return void 0x0!==_0x5ac90f[_0x362208['toLowerCase']()[_0x33bc18(0x1b1)]()]?_0x5ac90f[_0x362208[_0x33bc18(_0x49d515._0x3701cf)]()[_0x33bc18(0x1b1)]()]:0x0;},instance['data'][_0x2adf9e(0x1a1)]=function(_0x2b7b20){var _0xc820ac={_0x407031:0x17d},_0x2f5eb0=_0x2adf9e;return null==_0x2b7b20?'':_0x2b7b20[_0x2f5eb0(0x1a4)]('#')?_0x2b7b20:_0x2f5eb0(_0xc820ac._0x407031)!=typeof rgbHex?'':rgbHex(_0x2b7b20);};var loader='<div\\x20class=\\x22lds-spinner\\x22\\x20style=\\x22display:none\\x22><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>',calid=_0x2adf9e(0x180)+(Math['random']()*Math[_0x2adf9e(0x1a0)](0x2,0x36))['toString'](0x12),div=$('<div\\x20id=\\x22'+calid+'\\x22></div>');div[_0x2adf9e(0x1b8)](_0x2adf9e(0x1b2),_0x2adf9e(0x1ab)),div[_0x2adf9e(0x1b8)](_0x2adf9e(0x18a),_0x2adf9e(0x1ab)),instance['canvas']['css'](_0x2adf9e(0x183),_0x2adf9e(0x1b9)),instance[_0x2adf9e(0x19f)][_0x2adf9e(0x199)](div),instance[_0x2adf9e(0x19f)][_0x2adf9e(0x199)](loader),instance[_0x2adf9e(0x193)]['div']=div,instance[_0x2adf9e(0x193)][_0x2adf9e(0x186)]=!0x0,instance[_0x2adf9e(0x193)][_0x2adf9e(0x1a6)]=calid,instance[_0x2adf9e(0x193)][_0x2adf9e(0x1ad)]=!0x1,instance['data'][_0x2adf9e(0x1a8)]=[],instance[_0x2adf9e(0x182)](_0x2adf9e(0x1ae),new Date()),instance['publishState'](_0x2adf9e(0x198),new Date()),instance['publishState'](_0x2adf9e(0x1b7),new Date()),instance['publishState'](_0x2adf9e(0x1aa),new Date()),instance[_0x2adf9e(0x182)](_0x2adf9e(0x1b0),''),instance[_0x2adf9e(0x182)](_0x2adf9e(0x195),window[_0x2adf9e(0x196)]),instance['publishState'](_0x2adf9e(0x17c),Intl[_0x2adf9e(0x191)]()['resolvedOptions']()[_0x2adf9e(0x17b)]),instance[_0x2adf9e(0x182)](_0x2adf9e(0x19e),Intl['DateTimeFormat']()['resolvedOptions']()[_0x2adf9e(0x184)]);var currentEventId=calid+'_current_event',calendar;instance['data'][_0x2adf9e(0x17e)]=currentEventId,instance['publishState'](_0x2adf9e(0x179),currentEventId),instance[_0x2adf9e(0x182)]('calendar_timezone',''),instance['publishState']('calendar_locale',''),instance[_0x2adf9e(0x193)][_0x2adf9e(0x18d)]=function(){var _0x1a1dc6={_0x2133b3:0x193,_0x5f224d:0x193,_0x5695a2:0x1af,_0x103c99:0x19d,_0x1fc3cc:0x182},_0x244c89={_0x1cb5b2:0x1a3},_0x14fcc8={_0x107a90:0x192},_0x5b7b0a=_0x2adf9e,_0x41e593=instance['canvas']['children']('#'+instance[_0x5b7b0a(_0x1a1dc6._0x2133b3)]['calid'])[0x0];(calendar=new window[(_0x5b7b0a(0x1b4))]['Calendar'](_0x41e593,instance[_0x5b7b0a(_0x1a1dc6._0x5f224d)]['options']))[_0x5b7b0a(_0x1a1dc6._0x5695a2)](),instance['triggerEvent']('all_rendered'),instance[_0x5b7b0a(_0x1a1dc6._0x5f224d)]['calendarTimezone']=calendar[_0x5b7b0a(0x190)](_0x5b7b0a(0x17b)),instance['data'][_0x5b7b0a(_0x1a1dc6._0x103c99)]=calendar[_0x5b7b0a(0x190)](_0x5b7b0a(0x184)),instance[_0x5b7b0a(_0x1a1dc6._0x5f224d)]['calendar']=calendar,fetch('//7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1736183541565x267329293092784200/demo.json')[_0x5b7b0a(0x18c)](_0x220322=>{var _0x2fdc02={_0x3080b6:0x19a,_0x161f11:0x193},_0x41d3e7=_0x5b7b0a;'RlETd'!==_0x41d3e7(_0x14fcc8._0x107a90)?_0xee08d[_0x41d3e7(0x188)](_0x576fdd):_0x220322['ok']?_0x220322['json']()[_0x41d3e7(0x18c)](_0x5ea2eb=>{var _0x4a388f=_0x41d3e7;instance['data'][_0x4a388f(0x197)]=_0x5ea2eb[_0x4a388f(_0x2fdc02._0x3080b6)],instance[_0x4a388f(0x193)][_0x4a388f(0x187)]['setOption'](_0x4a388f(0x18f),instance[_0x4a388f(_0x2fdc02._0x161f11)][_0x4a388f(0x197)]);}):console[_0x41d3e7(0x194)]('Failed\\x20to\\x20load\\x20demo\\x20data');})['catch'](_0x55b9b5=>{var _0x5898ad=_0x5b7b0a;console[_0x5898ad(0x194)](_0x5898ad(0x19c),_0x55b9b5);});var _0x5375e4=[];calendar[_0x5b7b0a(0x1a5)]()[_0x5b7b0a(0x189)](function(_0x27ff63){var _0x38f317=_0x5b7b0a;if(_0x38f317(_0x244c89._0x1cb5b2)===_0x38f317(_0x244c89._0x1cb5b2))_0x5375e4['push'](_0x27ff63);else{var _0x35a418={_0xf45de0:0x197};_0x3168c1['ok']?_0x45ece6['json']()[_0x38f317(0x18c)](_0xd8f06f=>{var _0x29dccd=_0x38f317;_0x1ffb98[_0x29dccd(0x193)]['demo']=_0xd8f06f[_0x29dccd(0x19a)],_0x414c74[_0x29dccd(0x193)][_0x29dccd(0x187)][_0x29dccd(0x17a)](_0x29dccd(0x18f),_0x30d650['data'][_0x29dccd(_0x35a418._0xf45de0)]);}):_0xe6e846[_0x38f317(0x194)](_0x38f317(0x1a7));}}),instance[_0x5b7b0a(_0x1a1dc6._0x1fc3cc)]('locales',_0x5375e4);};}}","add_debugger":false},"update":{"fn":"function(instance,properties,context){const _0x474242=['MTU1Mz
210c5ODk2OTA5NHgyODIxOTE1MzMwMTg3MTAwMDA='];function _0x1d3f(_0x1a50eb,_0x5e8a99){const _0x5c77a7=_0x5c77();return _0x1d3f=function(_0x1d3f73,_0x4b66d8){_0x1d3f73=_0x1d3f73-0x18e;let _0x3d0310=_0x5c77a7[_0x1d3f73];if(_0x1d3f['ZKHjaX']===undefined){var _0x513da0=function(_0xa0013a){const _0xa0f676='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1448c2='',_0x49b068='';for(let _0x5d3352=0x0,_0x170ac1,_0x4501dc,_0x5a241d=0x0;_0x4501dc=_0xa0013a['charAt'](_0x5a241d++);~_0x4501dc&&(_0x170ac1=_0x5d3352%0x4?_0x170ac1*0x40+_0x4501dc:_0x4501dc,_0x5d3352++%0x4)?_0x1448c2+=String['fromCharCode'](0xff&_0x170ac1>>(-0x2*_0x5d3352&0x6)):0x0){_0x4501dc=_0xa0f676['indexOf'](_0x4501dc);}for(let _0x53e754=0x0,_0x40dda9=_0x1448c2['length'];_0x53e754<_0x40dda9;_0x53e754++){_0x49b068+='%'+('00'+_0x1448c2['charCodeAt'](_0x53e754)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x49b068);};_0x1d3f['daKkRV']=_0x513da0,_0x1a50eb=arguments,_0x1d3f['ZKHjaX']=!![];}const _0x8ba15e=_0x5c77a7[0x0],_0x4f16e9=_0x1d3f73+_0x8ba15e,_0x41f221=_0x1a50eb[_0x4f16e9];return!_0x41f221?(_0x3d0310=_0x1d3f['daKkRV'](_0x3d0310),_0x1a50eb[_0x4f16e9]=_0x3d0310):_0x3d0310=_0x41f221,_0x3d0310;},_0x1d3f(_0x1a50eb,_0x5e8a99);}const _0x7c2738=_0x1d3f;(function(_0x1f4336,_0x200309){const _0x1d3cc6={_0x35a849:0x2d6,_0x34dc9c:0x296,_0x14c2f0:0x216,_0x51f304:0x1f6},_0x567e8b=_0x1d3f,_0x4bc66b=_0x1f4336();while(!![]){try{const _0x947362=-parseInt(_0x567e8b(0x1b0))/0x1+parseInt(_0x567e8b(0x20a))/0x2+-parseInt(_0x567e8b(_0x1d3cc6._0x35a849))/0x3+parseInt(_0x567e8b(0x259))/0x4*(-parseInt(_0x567e8b(0x2f8))/0x5)+-parseInt(_0x567e8b(_0x1d3cc6._0x34dc9c))/0x6*(-parseInt(_0x567e8b(0x2e1))/0x7)+-parseInt(_0x567e8b(_0x1d3cc6._0x14c2f0))/0x8*(-parseInt(_0x567e8b(0x236))/0x9)+parseInt(_0x567e8b(0x1f7))/0xa*(parseInt(_0x567e8b(_0x1d3cc6._0x51f304))/0xb);if(_0x947362===_0x200309)break;else _0x4bc66b['push'](_0x4bc66b['shift']());}catch(_0xbc9b72){_0x4bc66b['push'](_0x4bc66b['shift']());}}}(_0x5c77,0xd7df2));{instance[_0x7c2738(0x2ed)][_0x7c2738(0x1fc)]=properties,instance['data'][_0x7c2738(0x1e5)]=properties[_0x7c2738(0x1e5)],instance[_0x7c2738(0x2ed)][_0x7c2738(0x232)]=properties[_0x7c2738(0x202)],instance[_0x7c2738(0x2ed)][_0x7c2738(0x2cf)]=properties[_0x7c2738(0x2cf)],instance['data']['blockedEditable']=properties[_0x7c2738(0x2b6)],instance[_0x7c2738(0x2ed)][_0x7c2738(0x1fc)]['disable_contextmenu']=properties['disable_contextmenu'];let GoogleKEY=instance[_0x7c2738(0x2ed)][_0x7c2738(0x1ac)];var bubbleEvents=[];null!=properties[_0x7c2738(0x233)]&&(bubbleEvents=properties[_0x7c2738(0x233)][_0x7c2738(0x1d2)](0x0,properties[_0x7c2738(0x233)]['length']())),instance['data'][_0x7c2738(0x18e)]=bubbleEvents;var resources=[];properties['enable_scheduler']&&null!=properties['resource_data_source']&&(resources=properties['resource_data_source'][_0x7c2738(0x1d2)](0x0,properties[_0x7c2738(0x2e6)][_0x7c2738(0x1ab)]()),instance['data'][_0x7c2738(0x1b3)]=resources);var defaultView=properties['default_view'],defaultDate=properties['first_date'];properties['remember_view']?(defaultView=null!==localStorage['getItem'](_0x7c2738(0x1f0))?localStorage['getItem']('airfcDefaultView'):defaultView,defaultDate=null!==localStorage[_0x7c2738(0x247)](_0x7c2738(0x2dd))?new Date(localStorage['getItem'](_0x7c2738(0x2dd))):defaultDate):(localStorage['removeItem'](_0x7c2738(0x1f0)),localStorage['removeItem'](_0x7c2738(0x2dd)));var firstDay=instance['data'][_0x7c2738(0x211)](properties[_0x7c2738(0x257)]);let time;setStyle(),instance['data']['getDayFormat']=function(_0x51dd22){const _0xee706b=_0x7c2738,{'day_header_Ñustom_format':_0x3a37f2,weekday_format:_0x5c6f4a,day_format:_0x405572,month_format:_0x3f51b1,year_format:_0x45f4ab}=properties;let _0x237f95={};return _0x3a37f2&&!_0x51dd22['toLowerCase']()['includes'](_0xee706b(0x195)['toLowerCase']())?('\\x20'!==_0x5c6f4a&&(_0x237f95[_0xee706b(0x2eb)]=_0x5c6f4a),'\\x20'!==_0x405572&&(_0x237f95['day']=_0x405572),'\\x20'!==_0x3f51b1&&(_0x237f95['month']=_0x3f51b1),'\\x20'!==_0x45f4ab&&(_0x237f95[_0xee706b(0x2d0)]=_0x45f4ab)):_0x3a37f2&&_0x51dd22[_0xee706b(0x23f)]()[_0xee706b(0x27d)](_0xee706b(0x195)[_0xee706b(0x23f)]())&&'\\x20'!==_0x5c6f4a&&(_0x237f95['weekday']=_0x5c6f4a),_0x237f95;},instance[_0x7c2738(0x2ed)][_0x7c2738(0x1da)]=instance[_0x7c2738(0x2ed)][_0x7c2738(0x2d2)](defaultView),_0x7c2738(0x2b9)===properties['current_time']?time='local'===properties[_0x7c2738(0x1e5)]?moment['tz'](Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'])['format']():moment['tz'](properties[_0x7c2738(0x1e5)])[_0x7c2738(0x1f9)]():_0x7c2738(0x1e0)===properties[_0x7c2738(0x2e9)]&&(time=moment['tz'](Intl['DateTimeFormat']()[_0x7c2738(0x1dd)]()[_0x7c2738(0x2c0)])['_d']);let slotLable=[{'hour':_0x7c2738(0x203),'minute':'2-digit','meridiem':_0x7c2738(0x2b5),'hour12':instance[_0x7c2738(0x2ed)]['slot12hour']}];function applyView(_0x4dc38b,_0xf6df37,_0x10e3f1){const _0x522179={_0x192079:0x1a8,_0x35494d:0x2aa,_0x11755a:0x2ed,_0x1f3321:0x208,_0x3aec65:0x2aa,_0x37acb6:0x284,_0x491f3e:0x284,_0x29f691:0x2aa,_0x22e864:0x2b5,_0x4edf63:0x2aa,_0x432e5f:0x239,_0x15f2b5:0x2a5,_0x1f4e30:0x2b5,_0x469726:0x2b5},_0x4258d6=_0x7c2738;let _0x112b75=[],_0x486209,_0x16ebc7;_0x112b75=-0x1!==['resourceTimelineWeek',_0x4258d6(0x20e),_0x4258d6(0x28f)][_0x4258d6(_0x522179._0x192079)](_0x4dc38b)?[{'day':_0x4258d6(_0x522179._0x35494d),'weekday':_0x4258d6(0x2b5)},{'hour':'numeric','minute':'2-digit','meridiem':'short','hour12':_0xf6df37[_0x4258d6(_0x522179._0x11755a)]['slot12hour']}]:[{'hour':'numeric','minute':'2-digit','meridiem':_0x4258d6(0x2b5),'hour12':_0xf6df37[_0x4258d6(_0x522179._0x11755a)][_0x4258d6(0x232)]}],_0x4258d6(0x20e)===_0x4dc38b&&(_0x112b75=[{'month':_0x4258d6(_0x522179._0x1f3321),'year':'numeric'},{'day':_0x4258d6(0x2aa),'weekday':'short'},{'hour':_0x4258d6(0x203),'minute':_0x4258d6(_0x522179._0x3aec65),'meridiem':_0x4258d6(0x2b5),'hour12':_0xf6df37[_0x4258d6(_0x522179._0x11755a)][_0x4258d6(0x232)]}]);let _0xe59168=[_0x10e3f1[_0x4258d6(0x2a1)],_0x10e3f1['custom_view_2_duration']];if(_0x4dc38b['includes']('customView')){let _0x4020d1=parseInt(_0x4dc38b[_0x4258d6(0x1cc)](_0x4258d6(0x1ca),''));'timeline'!==_0x10e3f1[_0x4258d6(_0x522179._0x37acb6)+_0x4020d1+_0x4258d6(0x2e8)]&&_0x4258d6(0x29e)!==_0x10e3f1['custom_view_'+_0x4020d1+_0x4258d6(0x2e8)]&&'resourceTimeGrid'!==_0x10e3f1[_0x4258d6(0x284)+_0x4020d1+'_view']||(_0x4258d6(0x265)===_0x10e3f1[_0x4258d6(_0x522179._0x491f3e)+_0x4020d1+_0x4258d6(0x225)]?_0x112b75=[{'day':_0x4258d6(_0x522179._0x29f691),'weekday':_0x4258d6(0x2b5)},{'hour':_0x4258d6(0x203),'minute':'2-digit','meridiem':_0x4258d6(_0x522179._0x22e864),'hour12':_0xf6df37[_0x4258d6(0x2ed)]['slot12hour']}]:'weeks'===_0x10e3f1['custom_view_'+_0x4020d1+_0x4258d6(0x225)]?_0x112b75=_0xe59168[_0x4020d1-0x1]>0x5?[{'month':_0x4258d6(0x208)}
210,{'day':'2-digit','weekday':_0x4258d6(_0x522179._0x22e864)}]:[{'month':_0x4258d6(0x208)},{'day':_0x4258d6(_0x522179._0x4edf63),'weekday':'short'},{'hour':_0x4258d6(0x203),'minute':'2-digit','meridiem':'short','hour12':_0xf6df37['data']['slot12hour']}]:_0x4258d6(_0x522179._0x432e5f)===_0x10e3f1[_0x4258d6(0x284)+_0x4020d1+_0x4258d6(0x225)]?_0x112b75=0x1===_0xe59168[_0x4020d1-0x1]?[{'month':_0x4258d6(_0x522179._0x1f3321)},{'day':_0x4258d6(0x2aa),'weekday':_0x4258d6(0x2b5)},{'hour':_0x4258d6(0x203),'minute':_0x4258d6(0x2aa),'meridiem':'short','hour12':_0xf6df37[_0x4258d6(0x2ed)]['slot12hour']}]:[{'year':_0x4258d6(0x203)},{'month':_0x4258d6(0x208)},{'day':'2-digit','weekday':'short'}]:_0x4258d6(_0x522179._0x15f2b5)===_0x10e3f1[_0x4258d6(0x284)+_0x4020d1+_0x4258d6(0x225)]&&(_0x112b75=0x1===_0xe59168[_0x4020d1-0x1]?[{'month':_0x4258d6(0x2b5)},{'day':_0x4258d6(0x2aa),'weekday':_0x4258d6(_0x522179._0x1f4e30)}]:_0xe59168[_0x4020d1-0x1]>0x11?[{'year':'numeric'}]:[{'year':'numeric'},{'month':_0x4258d6(_0x522179._0x469726)}]));}return _0x112b75;}slotLable=applyView(defaultView,instance,properties);let hiddenDays=[];function getDuration(_0x2b10b8){const _0x4737cd={_0x117805:0x1ed,_0x37005b:0x1a4,_0x2d1e0d:0x2ed,_0x37c9ea:0x1e6,_0x5eb269:0x26f,_0x34d7fc:0x27d,_0x24add8:0x23f,_0x387e2a:0x1c1,_0x5d2c2c:0x1c8,_0x1905d7:0x1c8,_0x42860b:0x27b,_0x1a91ca:0x1d4,_0x55fa99:0x1af,_0x32b77e:0x23f,_0x1998c1:0x1e6,_0x277503:0x2e3,_0x3c90f2:0x196},_0x39b5b8=_0x7c2738,_0x11fd81=_0x2b10b8['match'](/^(\\d+)h$/);if(_0x11fd81){if(_0x39b5b8(_0x4737cd._0x117805)!=='oXTJj'){_0x34ab44[_0x39b5b8(0x235)](_0x39b5b8(_0x4737cd._0x37005b),_0x38aeba(_0x57d66f['event']['id'])),_0x11ca1c(_0x469b8a['el']),_0x5ad790['triggerEvent'](_0x39b5b8(0x21a)),_0x1fd1da[_0x39b5b8(_0x4737cd._0x2d1e0d)][_0x39b5b8(0x21a)]=!0x0;var _0x56fe7e=_0x149292[_0x39b5b8(0x1c8)][_0x39b5b8(_0x4737cd._0x37c9ea)]['eventContent'],_0x236026=_0x28b729[_0x39b5b8(_0x4737cd._0x5eb269)]['type']['toLowerCase']()[_0x39b5b8(_0x4737cd._0x34d7fc)](_0x39b5b8(0x1e2)[_0x39b5b8(_0x4737cd._0x24add8)]());const _0x54cc67='tippy-theme-style-'+_0x2bb213[_0x39b5b8(0x2ed)][_0x39b5b8(_0x4737cd._0x387e2a)];let _0x32e685=_0x235bc7[_0x39b5b8(0x1f8)](_0x54cc67);if(_0x32e685||(_0x32e685=_0x31debd[_0x39b5b8(0x1ec)]('style'),_0x32e685['id']=_0x54cc67,_0x35a970['head']['appendChild'](_0x32e685)),_0x32e685[_0x39b5b8(0x294)]=_0x39b5b8(0x255)+_0x192000[_0x39b5b8(_0x4737cd._0x5d2c2c)]['backgroundColor']+_0x39b5b8(0x24c)+_0x7402c5[_0x39b5b8(0x1c8)][_0x39b5b8(0x27b)]+_0x39b5b8(0x2bc)+_0x57ac29[_0x39b5b8(_0x4737cd._0x1905d7)][_0x39b5b8(_0x4737cd._0x42860b)]+';\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20}\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20.tippy-box[data-theme~=\\x27myCustomTheme\\x27][data-placement^=\\x27left\\x27]\\x20>\\x20.tippy-arrow::before\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20border-left-color:\\x20'+_0x2cd44f[_0x39b5b8(0x1c8)][_0x39b5b8(0x27b)]+_0x39b5b8(0x23e)+_0x54a420['event'][_0x39b5b8(0x27b)]+_0x39b5b8(0x2ac),_0x1a4a6c['head'][_0x39b5b8(0x250)](_0x32e685),_0x56fe7e&&_0x39b5b8(0x21f)===_0x48b2cb[_0x39b5b8(_0x4737cd._0x1a91ca)]){let _0x31e981,_0x2a140c;_0x3aaec1[_0x39b5b8(0x1ee)]('[data-tippy-root]')['forEach'](_0x535b99=>_0x535b99[_0x39b5b8(0x221)]()),_0x31e981=!!_0x435cfa['view'][_0x39b5b8(_0x4737cd._0x55fa99)][_0x39b5b8(_0x4737cd._0x32b77e)]()[_0x39b5b8(_0x4737cd._0x34d7fc)](_0x39b5b8(0x1e2)[_0x39b5b8(0x23f)]())&&_0x39b5b8(0x2fa),_0x15a1e7(_0x1fb100['el'],{'content':_0x3bd091[_0x39b5b8(0x1c8)][_0x39b5b8(_0x4737cd._0x1998c1)]['eventContent'],'allowHTML':_0x3fa030[_0x39b5b8(_0x4737cd._0x277503)],'theme':'myCustomTheme','arrow':!0x0,'followCursor':_0x31e981});}}else{const _0x3c9319=parseInt(_0x11fd81[0x1],0xa);if(_0x3c9319>=0x0&&_0x3c9319<=0x18)return(_0x3c9319<0xa?'0'+_0x3c9319:_0x3c9319)+_0x39b5b8(0x299);}}const _0x533124=undefined;if(_0x2b10b8[_0x39b5b8(0x228)](/^\\d+$/)){const _0x215bfa=parseInt(_0x2b10b8,0xa);if(_0x215bfa>=0x0&&_0x215bfa<0x3c)return _0x39b5b8(_0x4737cd._0x3c90f2)+(_0x215bfa<0xa?'0'+_0x215bfa:_0x215bfa);}}function replaceZeroHour(_0x2795c5){const _0x3b3461=/(^|\\s|[^:\\d])0:(\\d{1,2})(\\s|$|[^:\\d])/g;return _0x2795c5['replace'](_0x3b3461,function(_0x4ee0a7,_0x349cb5,_0x333560,_0x5a0a1c){return _0x349cb5+'12:'+_0x333560+_0x5a0a1c;});}function updateEventTimeContent(_0x33d732){const _0x12dc90={_0x24ef9d:0x2ed,_0x2984d5:0x1af,_0x175ca4:0x27d,_0x157a94:0x288,_0x155e8d:0x25a,_0x367184:0x1d6},_0x1758e5={_0x583dac:0x1f2},_0x5a28ac=_0x7c2738,_0x5466fc='fc-short-event-fix-'+instance[_0x5a28ac(_0x12dc90._0x24ef9d)][_0x5a28ac(0x1c1)];if(document[_0x5a28ac(0x1f8)](_0x5466fc))return;const _0x3c7a89=undefined;if(_0x33d732[_0x5a28ac(0x26f)][_0x5a28ac(_0x12dc90._0x2984d5)][_0x5a28ac(_0x12dc90._0x175ca4)]('timeGrid')){const _0x50e582=_0x33d732['getEvents'](),_0x1d9163=moment['duration'](_0x33d732[_0x5a28ac(_0x12dc90._0x157a94)](_0x5a28ac(0x2c9))),_0x9c5112=undefined;if(_0x50e582[_0x5a28ac(_0x12dc90._0x155e8d)](_0x2b6bc5=>{const _0x383835=_0x5a28ac,_0x42d065=undefined;return moment['duration'](_0x2b6bc5[_0x383835(_0x1758e5._0x583dac)]-_0x2b6bc5['start'])<=_0x1d9163;})){const _0x54a38c=document['createElement']('style');_0x54a38c['id']=_0x5466fc,_0x54a38c[_0x5a28ac(0x294)]=_0x5a28ac(_0x12dc90._0x367184),document['head'][_0x5a28ac(0x250)](_0x54a38c);}}}
210function changeAllMonthsBackgroundColor(_0x3a3f0d){const _0x18b1ad={_0x519954:0x2ed,_0x5237f6:0x1ec,_0x59fcfc:0x250,_0x2db3a4:0x2ed},_0xd60f8b=_0x7c2738;if(!_0x3a3f0d)return;const _0x38df75=_0xd60f8b(0x2da)+instance[_0xd60f8b(_0x18b1ad._0x519954)]['calid'];let _0x1b695a=document['getElementById'](_0x38df75);_0x1b695a||(_0x1b695a=document[_0xd60f8b(_0x18b1ad._0x5237f6)](_0xd60f8b(0x2d7)),_0x1b695a['id']=_0x38df75,document['head'][_0xd60f8b(_0x18b1ad._0x59fcfc)](_0x1b695a)),_0x1b695a[_0xd60f8b(0x294)]=_0xd60f8b(0x1ef)+instance[_0xd60f8b(_0x18b1ad._0x2db3a4)]['calid']+_0xd60f8b(0x234)+_0x3a3f0d+_0xd60f8b(0x2fb);}!0x1===properties['sunday']&&hiddenDays[_0x7c2738(0x2be)](0x0),!0x1===properties[_0x7c2738(0x251)]&&hiddenDays['push'](0x6);var options={'scrollTimeReset':!0x1,'resourceAreaWidth':properties[_0x7c2738(0x26c)]+'%','headerToolbar':!0x1,'initialDate':defaultDate,'initialView':defaultView,'dayHeaderFormat':properties[_0x7c2738(0x2cf)]?instance[_0x7c2738(0x2ed)][_0x7c2738(0x1da)]:null,'selectable':properties[_0x7c2738(0x2ea)],'dayMaxEvents':!!properties[_0x7c2738(0x26d)]||properties[_0x7c2738(0x1de)],'dayHeaders':!0x0,'eventBackgroundColor':instance['data'][_0x7c2738(0x2d4)](properties[_0x7c2738(0x269)]),'eventBorderColor':instance[_0x7c2738(0x2ed)][_0x7c2738(0x2d4)](properties[_0x7c2738(0x295)]),'eventTextColor':instance['data'][_0x7c2738(0x2d4)](properties['eventtextcolor']),'nowIndicator':properties[_0x7c2738(0x272)],'now':time,'firstDay':firstDay,'timeZone':properties['owners_timezone']?properties[_0x7c2738(0x1e5)]:_0x7c2738(0x2c8),'locale':properties[_0x7c2738(0x1c0)],'droppable':properties[_0x7c2738(0x1a0)],'editable':properties['dragging'],'allDaySlot':properties['alldayslot'],'slotDuration':getDuration(properties[_0x7c2738(0x1a1)]),'slotLabelInterval':getDuration(properties['slotlabelinterval']),'unselectCancel':'#'+properties['unselect_container'],'nextDayThreshold':properties[_0x7c2738(0x240)],'eventDurationEditable':properties[_0x7c2738(0x21d)],'hiddenDays':hiddenDays,'weekends':properties[_0x7c2738(0x223)],'selectMirror':!0x0,'defaultAllDay':!0x1,'navLinks':properties[_0x7c2738(0x2b4)],'navLinkDayClick':function(_0x47f5cd,_0x539b06){const _0x5af69d={_0x41a01f:0x29e},_0x449c11=_0x7c2738,_0x233850=undefined;calendar['view']['type']['includes'](_0x449c11(_0x5af69d._0x41a01f))?calendar['changeView'](_0x449c11(0x1bc),_0x47f5cd):calendar[_0x449c11(0x2ab)](_0x449c11(0x215),_0x47f5cd);},'navLinkWeekClick':'timeGridWeek','weekNumbers':properties[_0x7c2738(0x2f2)],'dis
210playEventTime':properties[_0x7c2738(0x2ce)],'handleWindowResize':properties[_0x7c2738(0x1fe)],'eventResizableFromStart':!0x0,'height':'100%','selectMinDistance':parseInt(properties[_0x7c2738(0x2c2)]),'defaultTimedEventDuration':properties[_0x7c2738(0x27c)],'slotLabelFormat':slotLable,'eventLongPressDelay':properties[_0x7c2738(0x23b)],'selectLongPressDelay':properties[_0x7c2738(0x267)],'progressiveEventRendering':!0x0,'titleRangeSeparator':_0x7c2738(0x1e8),'eventOverlap':function(_0x56cf98,_0x437645){const _0xde7249=_0x7c2738;return!!(properties[_0xde7249(0x1eb)]||!_0x437645[_0xde7249(0x2d1)]&&_0x56cf98['allDay']);},'eventTimeFormat':{'hour':_0x7c2738(0x203),'minute':_0x7c2738(0x2aa),'hour12':properties['eventtime12hour']},'validRange':{'start':properties['mindate'],'end':properties['maxdate']},'eventDidMount':function(_0x5c7b36){const _0x42a277={_0x332634:0x220,_0x77307a:0x1f3,_0xe631fa:0x1d1,_0x2a6760:0x1cf,_0x1209fc:0x267,_0x264b0f:0x258},_0x4a33dc={_0x39793b:0x1db},_0x575d0c={_0x10b161:0x235},_0x2c469b={_0x244375:0x235,_0x40d04f:0x2f6,_0x323e0c:0x1c8,_0x24ccf7:0x205,_0xca134e:0x227},_0x21020e={_0x964bc4:0x1af,_0x358fee:0x1a5},_0x217447=_0x7c2738;if(_0x217447(_0x42a277._0x332634)!==_0x5c7b36['event'][_0x217447(_0x42a277._0x77307a)]){let _0xea3f5b;_0x5c7b36['el'][_0x217447(_0x42a277._0xe631fa)](_0x217447(_0x42a277._0x2a6760),function(_0x1eb4a9){const _0x9f7f28=_0x217447;instance['publishState'](_0x9f7f28(0x1bd),_0x1eb4a9[_0x9f7f28(0x2f6)]),instance['publishState']('rightclick_y',_0x1eb4a9['clientY']),instance[_0x9f7f28(0x235)](_0x9f7f28(0x279),getBubbleEventById(_0x5c7b36[_0x9f7f28(0x1c8)]['id'])),instance[_0x9f7f28(0x235)](_0x9f7f28(0x19d),_0x5c7b36[_0x9f7f28(0x26f)][_0x9f7f28(_0x21020e._0x964bc4)]),instance[_0x9f7f28(_0x21020e._0x358fee)]('eventrightclicked'),instance[_0x9f7f28(0x2ed)]['properties']['disable_contextmenu']&&_0x1eb4a9['preventDefault']();});let _0x38bcf5=properties[_0x217447(_0x42a277._0x1209fc)]||0x320,_0x48b830=!0x1;_0x5c7b36['el']['addEventListener']('touchstart',function(_0x5d2e8a){const _0x397728=_0x217447;if(_0x397728(0x226)==='lzadQ')_0x48b830=!0x0,_0xea3f5b=setTimeout(function(){const _0x272360={_0x29a023:0x235,_0x1c5ea1:0x2f3,_0x924f74:0x2bf,_0x8d1bff:0x190},_0x3cb92f=_0x397728;_0x3cb92f(0x2e7)!==_0x3cb92f(0x192)?_0x48b830&&(instance[_0x3cb92f(_0x2c469b._0x244375)]('rightclick_x',_0x5d2e8a[_0x3cb92f(0x2a6)][0x0][_0x3cb92f(_0x2c469b._0x40d04f)]),instance['publishState']('rightclick_y',_0x5d2e8a[_0x3cb92f(0x2a6)][0x0][_0x3cb92f(0x209)]),instance[_0x3cb92f(_0x2c469b._0x244375)]('current_event',getBubbleEventById(_0x5c7b36[_0x3cb92f(_0x2c469b._0x323e0c)]['id'])),instance[_0x3cb92f(0x235)]('current_view',_0x5c7b36[_0x3cb92f(0x26f)][_0x3cb92f(0x1af)]),instance['triggerEvent']('eventrightclicked'),window[_0x3cb92f(0x1fb)]['vibrate']&&window[_0x3cb92f(0x1fb)][_0x3cb92f(0x2fc)](0x64),_0x5d2e8a['preventDefault']()):(_0x20b47d['el']['style'][_0x3cb92f(_0x2c469b._0x24ccf7)]='pointer',_0x5099d9['el']['addEventListener'](_0x3cb92f(_0x2c469b._0xca134e),function(){const _0x5a5782=_0x3cb92f;_0x3975c6[_0x5a5782(_0x272360._0x29a023)](_0x5a5782(_0x272360._0x1c5ea1),_0x55cd69[_0x5a5782(_0x272360._0x924f74)][_0x5a5782(0x1c6)]['id']),_0x174c94['publishState'](_0x5a5782(_0x272360._0x8d1bff),_0x304859['fieldValue']),_0x5eb4c9['triggerEvent'](_0x5a5782(0x244));}));},_0x38bcf5);else{var _0x55c9de=_0x22d918(_0x1d3497['data']['resources'],_0x712bf3['resource']['id']);_0x4eda39[_0x397728(_0x575d0c._0x10b161)]('selected_resource',_0x55c9de);}}),_0x5c7b36['el'][_0x217447(0x1d1)](_0x217447(_0x42a277._0x264b0f),function(_0x212c06){_0x48b830=!0x1,clearTimeout(_0xea3f5b);}),_0x5c7b36['el'][_0x217447(0x1d1)](_0x217447(0x2a0),function(_0x21a832){const _0x1ad2b0=_0x217447;if('llUfE'==='JasZX'){if(_0x5629e4[_0x1ad2b0(_0x4a33dc._0x39793b)])return['ac-today-number'];}else _0x48b830=!0x1,clearTimeout(_0xea3f5b);}),_0x5c7b36['el'][_0x217447(0x1d1)]('touchcancel',function(_0xe623d4){_0x48b830=!0x1,clearTimeout(_0xea3f5b);});}updateEventTimeContent(instance['data']['calendar']);},'eventContent':function(_0x5a997f){const _0x1ec7c9={_0x289ab0:0x1c0,_0x5c097f:0x1ab,_0x3757a2:0x213,_0x36c056:0x1c8,_0x1183ca:0x1be,_0x30674b:0x1f2,_0x2fc2e0:0x1c7,_0x43e8eb:0x2b1,_0x163e9c:0x2cd,_0x59fdb7:0x213,_0x330d6f:0x1be,_0x5c9959:0x24b,_0x402862:0x1ec,_0xa07105:0x29d,_0x3b7e21:0x294,_0x13454f:0x2bd,_0x1a5cb9:0x29d,_0x53f6f2:0x2b1,_0x36b408:0x2cd,_0x50711c:0x1d4,_0x18a89f:0x1ec},_0x2ea842=_0x7c2738;if(instance[_0x2ea842(0x2ed)][_0x2ea842(0x232)]&&'en'!==properties[_0x2ea842(_0x1ec7c9._0x289ab0)]&&_0x2ea842(0x220)!=_0x5a997f[_0x2ea842(0x1c8)][_0x2ea842(0x291)]['ui']['display']){let _0x5f14a9,_0x24682e=_0x5a997f[_0x2ea842(0x2ef)][_0x2ea842(0x1dc)](_0x2ea842(0x24f))['map'](_0x8a7a63=>replaceZeroHour(_0x8a7a63));_0x24682e[_0x2ea842(_0x1ec7c9._0x5c097f)]>0x1?_0x5a997f[_0x2ea842(0x2ef)]=_0x24682e[0x0]+_0x2ea842(0x24f)+_0x24682e[0x1]:_0x5a997f['timeText']=''+_0x24682e[0x0];}if(properties['html_title']){let _0x5925bb=_0x5a997f['event'][_0x2ea842(0x1e6)][_0x2ea842(0x27a)],_0x2852d3;if(new Date(_0x5a997f[_0x2ea842(0x1c8)][_0x2ea842(0x1f2)])[_0x2ea842(_0x1ec7c9._0x3757a2)]()-new Date(_0x5a997f[_0x2ea842(_0x1ec7c9._0x36c056)][_0x2ea842(_0x1ec7c9._0x1183ca)])[_0x2ea842(_0x1ec7c9._0x3757a2)]()>0x1e||null===_0x5a997f['event'][_0x2ea842(_0x1ec7c9._0x30674b)]||null!==_0x5a997f[_0x2ea842(0x1c8)][_0x2ea842(0x24b)]){let _0x2596c2;return{'html':_0x2ea842(0x2c7)+_0x5a997f['timeText']+_0x2ea842(_0x1ec7c9._0x2fc2e0)+_0x5a997f[_0x2ea842(0x1c8)][_0x2ea842(_0x1ec7c9._0x43e8eb)]+(_0x5925bb&&_0x2ea842(_0x1ec7c9._0x163e9c)===properties[_0x2ea842(0x1d4)]?_0x5925bb:'')+'</
210div></div></div>'};}}else{let _0x34da9b=_0x5a997f[_0x2ea842(0x1c8)]['extendedProps']['eventContent'],_0x9966be;if(new Date(_0x5a997f[_0x2ea842(0x1c8)]['end'])[_0x2ea842(_0x1ec7c9._0x59fdb7)]()-new Date(_0x5a997f['event'][_0x2ea842(_0x1ec7c9._0x330d6f)])[_0x2ea842(0x213)]()>0x1e||null===_0x5a997f[_0x2ea842(0x1c8)]['end']||null!==_0x5a997f['event'][_0x2ea842(_0x1ec7c9._0x5c9959)]){let _0x55f8ca=document[_0x2ea842(_0x1ec7c9._0x402862)](_0x2ea842(_0x1ec7c9._0xa07105));_0x55f8ca[_0x2ea842(0x194)]['add'](_0x2ea842(0x22f)),_0x55f8ca[_0x2ea842(_0x1ec7c9._0x3b7e21)]='<div\\x20class=\\x22fc-event-time\\x22>'+_0x5a997f[_0x2ea842(0x2ef)]+_0x2ea842(_0x1ec7c9._0x13454f);let _0x127c62=document['createElement'](_0x2ea842(_0x1ec7c9._0x1a5cb9));_0x127c62['innerHTML']='<div\\x20class=\\x22fc-event-title\\x20fc-sticky\\x22>'+_0x5a997f[_0x2ea842(0x1c8)][_0x2ea842(_0x1ec7c9._0x53f6f2)]+'<br>'+(_0x34da9b&&_0x2ea842(_0x1ec7c9._0x36b408)===properties[_0x2ea842(_0x1ec7c9._0x50711c)]?_0x34da9b:'')+'</div>';let _0x30d7bd=document[_0x2ea842(_0x1ec7c9._0x18a89f)]('div'),_0x12d856;return _0x30d7bd['classList']['add'](_0x2ea842(0x1c5)),_0x55f8ca['appendChild'](_0x30d7bd),_0x30d7bd['appendChild'](_0x127c62),{'domNodes':[_0x55f8ca]};}}},'datesSet':function(_0x17ba8c){const _0x3c51bb={_0x3447cc:0x26f,_0x27125d:0x1af,_0x3b7ddf:0x276,_0x2c4c0f:0x2dd,_0x147c6b:0x246,_0x1d5275:0x25b,_0x35b252:0x235,_0x256241:0x2ba},_0x5376e3=_0x7c2738;var _0x586cfe=_0x17ba8c[_0x5376e3(_0x3c51bb._0x3447cc)];localStorage['setItem']('airfcDefaultView',_0x586cfe[_0x5376e3(_0x3c51bb._0x27125d)]),localStorage[_0x5376e3(_0x3c51bb._0x3b7ddf)](_0x5376e3(_0x3c51bb._0x2c4c0f),new Date()),instance[_0x5376e3(0x235)]('view_activestart',_0x586cfe['activeStart']),instance[_0x5376e3(0x235)](_0x5376e3(0x2cc),_0x586cfe[_0x5376e3(0x21c)]),instance[_0x5376e3(0x235)](_0x5376e3(_0x3c51bb._0x147c6b),_0x17ba8c[_0x5376e3(_0x3c51bb._0x1d5275)]),instance['publishState']('view_currentend',_0x17ba8c[_0x5376e3(0x1b5)]),instance[_0x5376e3(_0x3c51bb._0x35b252)](_0x5376e3(0x280),this[_0x5376e3(0x275)]()),instance['publishState'](_0x5376e3(0x19d),_0x586cfe[_0x5376e3(0x1af)]),instance['publishState']('current_view_title',_0x586cfe[_0x5376e3(0x2b1)]),instance['triggerEvent'](_0x5376e3(_0x3c51bb._0x256241));},'eventsSet':function(_0x226fc0){const _0x29b842={_0x21559f:0x2ed,_0x3e0494:0x201},_0x27cdac=_0x7c2738;instance[_0x27cdac(_0x29b842._0x21559f)][_0x27cdac(_0x29b842._0x3e0494)]||instance[_0x27cdac(0x1a5)]('calendar_is_loaded');},'dayCellClassNames':function(_0x13eaea){const _0x3d78a6=_0x7c2738;if(_0x13eaea['isToday'])return[_0x3d78a6(0x289)];},'loading':function(_0x25cc12){},'moreLinkClick':function(_0x3f174d){const _0x1293bf={_0x4aea29:0x24a,_0x5ea442:0x235,_0x2bc453:0x26e},_0x10411b={_0x4bf662:0x25f,_0x2f6716:0x1a3,_0x4f3550:0x25c},_0x4c70f3={_0x3e3e24:0x25f},_0x63f088=_0x7c2738;function _0x219c3a(){const _0x2102f4={_0x2fe144:0x2c5,_0x38a825:0x2ed,_0x37b386:0x25f,_0x29e86c:0x25f,_0x507f26:0x2ed,_0x2c5725:0x235,_0x45ca65:0x2f3,_0x4b57bc:0x1a5,_0x46034a:0x244},_0x49f629=_0x1d3f;instance[_0x49f629(0x2ed)]['body']||(instance['data'][_0x49f629(0x25f)]={});const _0xecd8f1=document[_0x49f629(_0x10411b._0x4bf662)]['style'];if(/(auto|scroll)/[_0x49f629(_0x10411b._0x2f6716)](_0xecd8f1['overflow']+_0xecd8f1['overflowY']+_0xecd8f1['overflowX'])){const _0x265008=[_0x49f629(0x274),'overflowY','overflowX'];_0x265008[_0x49f629(_0x10411b._0x4f3550)](_0x586e61=>{const _0x5e43e7=_0x49f629;document[_0x5e43e7(_0x4c70f3._0x3e3e24)]['style'][_0x586e61]&&(instance[_0x5e43e7(0x2ed)][_0x5e43e7(0x25f)][_0x586e61]=document[_0x5e43e7(0x25f)]['style'][_0x586e61],document[_0x5e43e7(0x25f)][_0x5e43e7(0x2d7)][_0x586e61]='unset');}),setTimeout(()=>{_0x265008['forEach'](_0x5ca423=>{const _0x292dc8=_0x1d3f;_0x292dc8(_0x2102f4._0x2fe144)===_0x292dc8(_0x2102f4._0x2fe144)?instance[_0x292dc8(_0x2102f4._0x38a825)][_0x292dc8(0x25f)][_0x5ca423]&&(document[_0x292dc8(_0x2102f4._0x37b386)]['style'][_0x5ca423]=instance['data'][_0x292dc8(_0x2102f4._0x29e86c)][_0x5ca423],document[_0x292dc8(_0x2102f4._0x37b386)][_0x292dc8(0x2d7)][_0x5ca423]='auto',instance[_0x292dc8(_0x2102f4._0x507f26)][_0x292dc8(0x25f)][_0x5ca423]=void 0x0):(_0x347d67[_0x292dc8(_0x2102f4._0x2c5725)](_0x292dc8(_0x2102f4._0x45ca65),_0x47da90[_0x292dc8(0x2bf)][_0x292dc8(0x1c6)]['id']),_0x1b2c12[_0x292dc8(_0x2102f4._0x2c5725)](_0x292dc8(0x190),_0x19f069[_0x292dc8(0x2d3)]),_0x1c1b6f[_0x292dc8(_0x2102f4._0x4b57bc)](_0x292dc8(_0x2102f4._0x46034a)));});},0x1f4);}}return _0x219c3a(),null==properties['eventimitclick']&&_0x63f088(0x1c3)==properties[_0x63f088(_0x1293bf._
2100x4aea29)]||instance[_0x63f088(_0x1293bf._0x5ea442)]('current_view',properties['eventimitclick']),instance[_0x63f088(0x235)]('more_link_date',_0x3f174d[_0x63f088(0x248)]),instance[_0x63f088(0x1a5)](_0x63f088(_0x1293bf._0x2bc453)),properties['eventimitclick'];},'eventResize':function(_0x69f76a){const _0x523283={_0x11806a:0x2a4},_0x542f91=_0x7c2738;eventModified(_0x69f76a),calendar[_0x542f91(_0x523283._0x11806a)]();},'eventDragStart':function(_0x41efbf){},'eventDrop':function(_0x13dfbb){const _0x334212={_0x502275:0x24e},_0xd5ce0c={_0x53696d:0x24e},_0xfef955=_0x7c2738;_0x13dfbb['oldEvent'][_0xfef955(0x2d1)]!=_0x13dfbb[_0xfef955(0x1c8)][_0xfef955(0x2d1)]?_0x13dfbb[_0xfef955(0x217)]():(calendar['setOption'](_0xfef955(_0x334212._0x502275),!0x1),eventModified(_0x13dfbb),setTimeout(function(){const _0xb1307b=_0xfef955;calendar['setOption'](_0xb1307b(_0xd5ce0c._0x53696d),!0x0);},0x5dc),calendar[_0xfef955(0x2a4)]());},'dateClick':function(_0x5de410){const _0xbb0cec={_0x40c2a8:0x264,_0x20be46:0x248,_0x2cdcd9:0x2e4},_0x27c0ae=_0x7c2738;var _0x4bf6b6,_0x4ff2fb;if(instance['data'][_0x27c0ae(0x201)][_0x27c0ae(_0xbb0cec._0x40c2a8)]()['some'](_0x902893=>_0x902893[_0x27c0ae(0x1e6)][_0x27c0ae(0x23c)]&&_0x5de410[_0x27c0ae(0x248)]>=_0x902893['start']&&_0x5de410[_0x27c0ae(0x248)]<=_0x902893['end']))return instance[_0x27c0ae(0x1a5)](_0x27c0ae(0x224)),void calendar[_0x27c0ae(0x230)]();instance[_0x27c0ae(0x235)](_0x27c0ae(0x20c),_0x5de410[_0x27c0ae(_0xbb0cec._0x20be46)]),instance[_0x27c0ae(0x1a5)](_0x27c0ae(_0xbb0cec._0x2cdcd9));},'select':function(_0x26edbe){const _0x406ad2={_0x3f2fcd:0x2ed,_0x2b59e1:0x1b3,_0x42d1ad:0x235,_0x378d6a:0x290,_0xfd2dda:0x2d1,_0x35a989:0x1a5},_0xf70eaa={_0x144903:0x1f2,_0x3cb247:0x1be},_0x531c11={_0x3c276b:0x1be,_0x13d592:0x1f2},_0x5701ea=_0x7c2738;var _0x740a9e=calendar[_0x5701ea(0x264)](),_0xd08b3a=!0x1,_0xba84e2=!0x1,_0xca8d34=_0x26edbe['resource']?_0x26edbe[_0x5701ea(0x2bf)]['id']:null;if(_0x740a9e[_0x5701ea(0x25c)](_0x4a36ce=>{const _0x3b96fa=_0x5701ea;if(_0x4a36ce['extendedProps']['blockedEvent']){const _0x2089eb=_0x4a36ce['_def'][_0x3b96fa(0x243)]||(_0x4a36ce[_0x3b96fa(0x1a7)]?[_0x4a36ce[_0x3b96fa(0x1a7)]]:[]),_0x3c87ae=undefined;(!_0xca8d34||0x0===_0x2089eb['length']||_0x2089eb[_0x3b96fa(0x27d)](_0xca8d34))&&_0x26edbe['start']<_0x4a36ce[_0x3b96fa(0x1f2)]&&_0x26edbe[_0x3b96fa(0x1f2)]>_0x4a36ce[_0x3b96fa(_0x531c11._0x3c276b)]&&(_0x26edbe[_0x3b96fa(0x1be)]>=_0x4a36ce[_0x3b96fa(0x1be)]&&_0x26edbe[_0x3b96fa(_0x531c11._0x13d592)]<=_0x4a36ce['end']?_0xd08b3a=!0x0:_0xba84e2=!0x0);}}),_0xd08b3a)calendar[_0x5701ea(0x230)]();else{if(_0xba84e2)return instance[_0x5701ea(0x1a5)]('event_overlap_blocked'),void calendar['unselect']();var _0x2953f9;if(properties['disable_adding_events'])_0x740a9e[_0x5701ea(0x25a)](_0x42e0cd=>{const _0x8534ec=_0x5701ea;var _0x311f93=_0x42e0cd[_0x8534ec(_0xf70eaa._0x144903)];return!(_0x26edbe['start']>=_0x311f93||_0x26edbe[_0x8534ec(0x1f2)]<=_0x42e0cd[_0x8534ec(_0xf70eaa._0x3cb247)]);})&&(instance[_0x5701ea(0x1a5)]('event_already_added'),calendar[_0x5701ea(0x230)]());var _0x59fc51=document['querySelector']('#'+instance['data'][_0x5701ea(0x242)]);if(null!=_0x59fc51&&_0x59fc51['removeAttribute']('id'),_0x26edbe['resource']){var _0x542490=getBubbleResourceById(instance[_0x5701ea(_0x406ad2._0x3f2fcd)][_0x5701ea(_0x406ad2._0x2b59e1)],_0x26edbe['resource']['id']);instance['publishState']('selected_resource',_0x542490);}else instance[_0x5701ea(_0x406ad2._0x42d1ad)](_0x5701ea(_0x406ad2._0x378d6a),null);instance['publishState'](_0x5701ea(0x2d5),_0x26edbe['startStr']),instance[_0x5701ea(_0x406ad2._0x42d1ad)](_0x5701ea(0x1b1),_0x26edbe['endStr']),instance['publishState']('current_view',_0x26edbe[_0x5701ea(0x26f)]['type']),instance[_0x5701ea(0x235)]('selection_allday',_0x26edbe[_0x5701ea(_0x406ad2._0xfd2dda)]),instance[_0x5701ea(_0x406ad2._0x35a989)]('selected');}},'eventAdd':function(_0xb3683d){},'eventMouseEnter':function(_0x1f13ab){const _0x34ef0d={_0x4dd1e4:0x235,_0xdf349e:0x21a,_0x2488d0:0x26f,_0x17548d:0x1af,_0x232021:0x23f,_0x416267:0x294,_0x4318f5:0x1c8,_0x31af98:0x27b,_0x2d489e:0x1c8,_0x1a7477:0x191,_0x5f57a8:0x21f,_0x10dd59:0x1d4,_0x19709e:0x1e2},_0x121818=_0x7c2738;instance[_0x121818(_0x34ef0d._0x4dd1e4)]('hovered_event',getBubbleEventById(_0x1f13ab[_0x121818(0x1c8)]['id'])),publishCurrentEventId(_0x1f13ab['el']),instance[_0x121818(0x1a5)](_0x121818(_0x34ef0d._0xdf349e)),instance['data'][_0x121818(0x21a)]=!0x0;var _0x484387=_0x1f13ab[_0x121818(0x1c8)][_0x121818(0x1e6)]['eventContent'],_0xf62163=_0x1f13ab[_0x121818(_0x34ef0d._0x2488d0)][_0x121818(_0x34ef0d._0x17548d)][_0x121818(0x23f)]()['includes'](_0x121818(0x1e2)[_0x121818(_0x34ef0d._0x232021)]());const _0x4556dc=_0x121818(0x2ae)+instance[_0x121818(0x2ed)][_0x121818(0x1c1)];let _0x1c73e9=document['getElementById'](_0x4556dc);if(_0x1c73e9||(_0x1c73e9=document['createElement'](_0x121818(0x2d7)),_0x1c73e9['id']=_0x4556dc,document['head']['appendChild'](_0x1c73e9)),_0x1c73e9[_0x121818(_0x34ef0d._0x416267)]='\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20.tippy-box[data-theme~=\\x27myCustomTheme\\x27]\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20background-color:\\x20'+_0x1f13ab[_0x121818(_0x34ef0d._0x4318f5)][_0x121818(0x27b)]+_0x121818(0x24c)+_0x1f13ab['event'][_0x121818(_0x34ef0d._0x31af98)]+';\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20}\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20.tippy-box[data-theme~=\\x27myCustomTheme\\x27][data-placement^=\\x27bottom\\x27]\\x20>\\x20.tippy-arrow::before\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20border-bottom-color:\\x20'+_0x1f13ab[_0x121818(_0x34ef0d._0x2d489e)]['backgroundColor']+';\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20}\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20.tippy-box[data-theme~=\\x27myCustomTheme\\x27][data-placement^=\\x27left\\x27]\\x20>\\x20.tippy-arrow::before\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20border-left-color:\\x20'+_0x1f13ab['event'][_0x121818(0x27b)]+';\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20}\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20.tippy-box[data-theme~=\\x27myCustomTheme\\x27][data-placement^=\\x27right\\x27]\\x20>\\x20.tippy-arrow::before\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20border-right-color:\\x20'+_0x1f13ab['event']['backgroundColor']+';\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20}\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20',document[_0x121818(_0x34ef0d._0x1a7477)]['appendChild'](_0x1c73e9),_0x484387&&_0x121818(_0x34ef0d._0x5f57a8)===properties[_0x121818(_0x34ef0d._0x10dd59)]){let _0x390ef9,_0x2b4c96;document[_0x121818(0x1ee)]('[data-tippy-root]')['forEach'](_0x4b5e42=>_0x4b5e42[_0x121818(0x221)]()),_0x390ef9=!!_0x1f13ab['view']['type'][_0x121818(0x23f)]()['includes'](_0x121818(_0x34ef0d._0x19709e)[_0x121818(_0x34ef0d._0x232021)]())&&_0x121818(0x2fa),tippy(_0x1f13ab['el'],{'content':_0x1f13ab[_0x121818(0x1c8)]['extendedProps'][_0x121818(0x27a)],'allowHTML':properties[_0x121818(0x2e3)],'theme':_0x121818(0x229),'arrow':!0x0,'followCursor':_0x390ef9});}},'eventMouseLeave':function(_0x2d4c29){const _0x4e7257={_0x252007:0x1b2},_0x129c62=_0x7c2738;instance[_0x129c62(0x1a5)](_0x129c62(_0x4e7257._0x252007)),instance[_0x129c62(0x2ed)]['mouse_entered']=!0x1;},'eventClick':function(_0x53fca9){const _0x293b56={_0x314af1:0x254,_0x1f5032:0x1e6,_0x518647:0x220,_0x69f060:0x224,_0x414098:0x1a5,_0x5504a1:0x1c8,_0x381a1d:0x243,_0xfd7eb0:0x291,_0x35f141:0x1c8,_0x51c7f2:0x200,_0x508939:0x1be},_0x18f625={_0x3c6774:0x2ed},_0xfc6229=_0x7c2738;_0x53fca9[_0xfc6229(0x1b9)][_0xfc6229(_0x293b56._0x314af1)]();const _0x3a5299=undefined;if(_0x53fca9['event'][_0xfc6229(_0x293b56._0x1f5032)][_0xfc6229(0x23c)]||_0xfc6229(_0x293b56._0x518647)===_0x53fca9[_0xfc6229(0x1c8)]['display']&&!instance['data'][_0xfc6229(0x1f1)])return instance['publishState'](_0xfc6229(0x279),getBubbleEventById(_0x53fca9['event']['id'])),void instance['triggerEvent'](_0xfc6229(_0x293b56._0x69f060));if(instance['publishState'](_0xfc6229(0x279),getBubbleEventById(_0x53fca9[_0xfc6229(0x1c8)]['id'])),instance['publishState']('current_view',_0x53fca9[_0xfc6229(0x26f)][_0xfc6229(0x1af)]),publishCurrentEventId(_0x53fca9['el']),instance[_0xfc6229(_0x293b56._0x414098)](_0xfc6229(0x237)),properties['enable_scheduler']){if(_0xfc6229(0x207)!=='YDXaU'){var _0x382448=_0x16ec37['getEventById'](_0x2925f8['event']['id']);_0x382448['remove'](),_0x40a8c7(function(){const _0xc0d674=_0xfc6229;_0x5e071b('#'+_0x396b5e[_0xc0d674(_0x18f625._0x3c6774)]['calid'])[_0xc0d674(0x29b)](_0xc0d674(0x2ec)),_0x2aa3a2['refetchEvents']();},0x3e8*_0x28d125(_0x448e6d['modification_pause'])),_0x87aa2d(function(){const _0x47b7f6=_0xfc6229;_0x382448[_0x47b7f6(0x221)]();},0x5dc);}else{let _0x8f647b=[];_0x8f647b=_0x53fca9[_0xfc6229(_0x293b56._0x5504a1)][_0xfc6229(0x291)][_0xfc6229(_0x293b56._0x381a1d)];}}null!==_0x53fca9[_0xfc6229(0x1c8)][_0xfc6229(_0x293b56._0xfd7eb0)][_0xfc6229(0x218)]&&(instance[_0xfc6229(0x235)]('date_recurring_event',_0x53fca9[_0xfc6229(_0x293b56._0x35f141)][_0xfc6229(_0x293b56._0x51c7f2)]['range'][_0xfc6229(_0x293b56._0x508939)]),instance[_0xfc6229(0x1a5)](_0xfc6229(0x24d)));},'selectOverlap':function(_0x417fcc){return'background'!=_0x417fcc['rendering']&&properties['select_overlap'];},'drop':function(_0x1c94df){const _0x3f8ebd={_0x50e137:0x248},_0x2be3ac=_0x7c2738;instance['triggerEvent'](_0x2be3ac(0x287)),instance[_0x2be3ac(0x235)]('external_event_start_date',_0x1c94df[_0x2be3ac(_0x3f8ebd._0x50e137)]);}
210,'eventReceive':function(_0x3cb19e){const _0x413997={_0x3d4b37:0x1c8,_0x3e6611:0x291,_0x57d4c4:0x2d1,_0x21ca20:0x1a5},_0x46582b=_0x7c2738;instance['publishState']('external_event_title',_0x3cb19e['event'][_0x46582b(0x291)][_0x46582b(0x2b1)]),instance['publishState']('external_event_all_day',_0x3cb19e[_0x46582b(_0x413997._0x3d4b37)][_0x46582b(_0x413997._0x3e6611)][_0x46582b(_0x413997._0x57d4c4)]),properties[_0x46582b(0x1a0)]&&instance[_0x46582b(_0x413997._0x21ca20)](_0x46582b(0x2b3)),_0x3cb19e[_0x46582b(0x1c8)]['remove']();},'views':{'dayGridMonth':{},'timeGridDay':{},'timeGridWeek':{}},'dayHeaderContent':function(_0x249bf3){const _0x9384ce={_0x28a748:0x256,_0x8e5093:0x1ba},_0x34523f=_0x7c2738;return _0x249bf3['isToday']?{'html':'<div\\x20style=\\x22display:inline-flex\\x22><div\\x20style=\\x22min-width:\\x20'+properties[_0x34523f(_0x9384ce._0x28a748)]['font_size']()+_0x34523f(0x20f)+properties['bubble']['font_size']()+'px;border-radius:\\x2050%;border:none;background-color:'+properties['today_color']+';margin-right:5px\\x22></div>\\x20'+_0x249bf3[_0x34523f(0x1ba)]+'\\x20</div>'}:_0x249bf3[_0x34523f(_0x9384ce._0x8e5093)];},'dayCellClassNames':function(_0x435792){const _0x2e46c8=_0x7c2738;if(_0x435792[_0x2e46c8(0x1db)])return[_0x2e46c8(0x289)];},'dayCellContent':function(_0x678161){const _0xa589d9={_0x5c0fe8:0x293,_0x1984a7:0x1af,_0x58c8c8:0x1ce,_0x3252bb:0x27d,_0x569d3f:0x1df,_0x4eab1d:0x27d,_0x46f4a5:0x2f7,_0x1b60e1:0x2dc,_0xd43df3:0x26f,_0x14444a:0x1d0,_0x156667:0x20d,_0x25af51:0x2dc,_0x546020:0x27d,_0x1fa25c:0x27d,_0x34ffa5:0x27d,_0x16675b:0x20d,_0x45fbee:0x1ad,_0x55f132:0x1a9},_0x7d6a5a=_0x7c2738,_0xdf728e=_0x7d6a5a(_0xa589d9._0x5c0fe8)===_0x678161[_0x7d6a5a(0x26f)][_0x7d6a5a(_0xa589d9._0x1984a7)],_0x880945=_0x7d6a5a(_0xa589d9._0x58c8c8)===_0x678161['view'][_0x7d6a5a(0x1af)],_0x2e0a91=_0x678161[_0x7d6a5a(0x26f)][_0x7d6a5a(0x1af)][_0x7d6a5a(_0xa589d9._0x3252bb)]('customView1')&&properties[_0x7d6a5a(0x28a)][_0x7d6a5a(0x27d)](_0x7d6a5a(_0xa589d9._0x569d3f)),_0x1ae75b=_0x678161[_0x7d6a5a(0x26f)]['type'][_0x7d6a5a(_0xa589d9._0x4eab1d)](_0x7d6a5a(0x1e4))&&properties[_0x7d6a5a(0x1d0)][_0x7d6a5a(0x27d)]('multiMonth'),_0x2b05e1=_0x678161[_0x7d6a5a(0x26f)][_0x7d6a5a(_0xa589d9._0x1984a7)][_0x7d6a5a(_0xa589d9._0x4eab1d)](_0x7d6a5a(0x222))&&properties[_0x7d6a5a(0x28a)]['includes'](_0x7d6a5a(_0xa589d9._0x46f4a5))&&properties['custom_view_1_type'][_0x7d6a5a(0x27d)](_0x7d6a5a(_0xa589d9._0x1b60e1)),_0x277dbd=_0x678161[_0x7d6a5a(_0xa589d9._0xd43df3)][_0x7d6a5a(0x1af)][_0x7d6a5a(0x27d)]('customView2')&&properties[_0x7d6a5a(_0xa589d9._0x14444a)]['includes']('dayGrid')&&properties[_0x7d6a5a(_0xa589d9._0x156667)]['includes'](_0x7d6a5a(_0xa589d9._0x25af51)),_0x109bf8=_0x678161['view']['type']['includes'](_0x7d6a5a(0x222))&&properties['custom_view_1_view']['includes']('dayGrid')&&properties['custom_view_1_type'][_0x7d6a5a(_0xa589d9._0x546020)](_0x7d6a5a(0x239)),_0x5c6999=_0x678161['view'][_0x7d6a5a(0x1af)][_0x7d6a5a(0x27d)]('customView2')&&properties[_0x7d6a5a(0x1d0)][_0x7d6a5a(_0xa589d9._0x1fa25c)]('dayGrid')&&properties[_0x7d6a5a(0x20d)]['includes'](_0x7d6a5a(0x239)),_0x5e164f=_0x678161['view']['type']['includes'](_0x7d6a5a(0x222))&&properties[_0x7d6a5a(0x28a)][_0x7d6a5a(0x27d)]('dayGrid')&&properties['custom_view_1_type'][_0x7d6a5a(0x27d)](_0x7d6a5a(0x2a5)),_0x48ed6b=_0x678161[_0x7d6a5a(_0xa589d9._0xd43df3)][_0x7d6a5a(0x1af)][_0x7d6a5a(_0xa589d9._0x34ffa5)]('customView2')&&properties[_0x7d6a5a(0x1d0)][_0x7d6a5a(0x27d)]('dayGrid')&&properties[_0x7d6a5a(_0xa589d9._0x16675b)][_0x7d6a5a(0x27d)]('years');return _0xdf728e||_0x880945||_0x2e0a91||_0x1ae75b||_0x2b05e1||_0x277dbd||_0x109bf8||_0x5c6999||_0x5c6999||_0x48ed6b?{'html':_0x7d6a5a(_0xa589d9._0x45fbee)+_0x678161[_0x7d6a5a(_0xa589d9._0x55f132)]+_0x7d6a5a(0x2bd)}:{'html':''};}};if(null!=properties[_0x7c2738(0x2ad)]&&(options['slotMinTime']=properties['mintime']),null!=properties['maxtime']&&(options['slotMaxTime']=properties['maxtime']),null!=properties['scroll_time']&&(options['scrollTime']=properties[_0x7c2738(0x210)]),_0x7c2738(0x28e)===properties[_0x7c2738(0x204)]?options[_0x7c2738(0x19b)]=!0x0:'Disable'===properties['show_end_time_of_events']&&(options['displayEventEnd']=!0x1),properties['mindate']){let minDateMoment=moment(properties['mindate']);if(minDateMoment[_0x7c2738(0x21e)]()){let currentYear=minDateMoment[_0x7c2738(0x2d0)](),endOfYearMoment,monthsLeft=moment({'year':currentYear})['endOf'](_0x7c2738(0x2d0))['month']()-minDateMoment['month']()+0x1;options[_0x7c2738(0x2f9)][_0x7c2738(0x1ce)]={'type':_0x7c2738(0x1df),'duration':{'months':monthsLeft},'multiMonthMaxColumns':0x3};let defaultDateMoment=moment(defaultDate);defaultDateMoment['isValid']()&&defaultDateMoment[_0x7c2738(0x2b7)](minDateMoment)&&(options[_0x7c2738(0x2a9)]=minDateMoment['toDate']());}}if(addCustomViews(options[_0x7c2738(0x2f9)]),properties[_0x7c2738(0x1b7)]){options['resources']=getResources(resources),options[_0x7c2738(0x214)]=properties[_0x7c2738(0x212)],options['resourceAreaHeaderContent']={'html':properties['resource_label']},options['datesAboveResources']=properties[_0x7c2738(0x2b8)];var resourceorder=properties[_0x7c2738(0x28c)]||_0x7c2738(0x2b1);properties[_0x7c2738(0x26a)]||(resourceorder='-'+resourceorder),properties['name_of_resource_group']&&(options[_0x7c2738(0x2db)]='groupId'),options[_0x7c2738(0x2a3)]=resourceorder,properties['clickable_resource']&&(options[_0x7c2738(0x2e2)]=function(_0x5db5bb){const _0x2a0ccd={_0x56d7aa:0x205,_0x685506:0x263,_0x1a966b:0x1d1},_0x59664b={_0xdd99e6:0x2bf},_0x5ce938=_0x7c2738;_0x5db5bb['el']['style'][_0x5ce938(_0x2a0ccd._0x56d7aa)]=_0x5ce938(_0x2a0ccd._0x685506),_0x5db5bb['el'][_0x5ce938(_0x2a0ccd._0x1a966b)]('click',function(){const _0x187421=_0x5ce938;instance['publishState']('clicked_resource_id',_0x5db5bb[_0x187421(_0x59664b._0xdd99e6)]['_resource']['id']),instance[_0x187421(0x235)]('clicked_resource_name',_0x5db5bb['fieldValue']),instance[_0x187421(0x1a5)](_0x187421(0x244));});});}if(void 0x0!==GoogleKEY&&(options[_0x7c2738(0x2f4)]=GoogleKEY),instance['data']['options']){for(element in o
210ptions)'function'!=typeof options[element]&&JSON['stringify'](options[element])!==JSON['stringify'](instance[_0x7c2738(0x2ed)][_0x7c2738(0x1cd)][element])&&instance['data']['calendar'][_0x7c2738(0x193)](element,options[element]);}let eventSource;instance['data'][_0x7c2738(0x1cd)]=options,instance['data'][_0x7c2738(0x201)]?instance['data']['calendar'][_0x7c2738(0x193)](_0x7c2738(0x2ea),!properties['disable_adding_events']):instance['data'][_0x7c2738(0x1c4)]();let calendar=instance[_0x7c2738(0x2ed)]['calendar'];if(null!==calendar){eventSource=calendar['getEventSourceById'](_0x7c2738(0x2ca)),null!==eventSource&&eventSource['remove']();let source={'id':'eventSrc1'};if(source[_0x7c2738(0x22c)]=getEvents(),calendar['addEventSource'](source),properties['gcalendar']&&void 0x0!==GoogleKEY&&properties[_0x7c2738(0x297)]&&instance[_0x7c2738(0x2ed)][_0x7c2738(0x297)]!==properties[_0x7c2738(0x297)]){instance[_0x7c2738(0x2ed)][_0x7c2738(0x297)]=properties['gcalendar_id'];const calendarsIDs=undefined;properties[_0x7c2738(0x297)]['split'](',')[_0x7c2738(0x25c)](_0x240d5f=>{const _0x56dbbe=_0x7c2738;let _0x1ca82c={'googleCalendarId':_0x240d5f['trim'](),'display':''+properties['default_view_gcalendar']};calendar[_0x56dbbe(0x197)](_0x1ca82c);});}instance['publishState'](_0x7c2738(0x2d8),calendar[_0x7c2738(0x288)](_0x7c2738(0x2c0))),instance['publishState'](_0x7c2738(0x2af),calendar[_0x7c2738(0x288)]('locale')),properties[_0x7c2738(0x2ad)]&&calendar[_0x7c2738(0x193)]('slotMinTime',properties[_0x7c2738(0x2ad)]),properties[_0x7c2738(0x2c6)]&&calendar[_0x7c2738(0x193)](_0x7c2738(0x266),properties['maxtime']);}if(window[_0x7c2738(0x1e9)]){let now=moment();null!=calendar&&(properties['timezone']=calendar[_0x7c2738(0x288)](_0x7c2738(0x2c0))),'local'===properties['timezone']&&(properties['timezone']=Intl['DateTimeFormat']()[_0x7c2738(0x1dd)]()[_0x7c2738(0x2c0)]),_0x7c2738(0x2c8)===properties['owners_timezone']&&(properties[_0x7c2738(0x1e5)]=Intl[_0x7c2738(0x1b8)]()[_0x7c2738(0x1dd)]()['timeZone']);let def_tz=moment()['tz'](properties['owners_timezone'])[_0x7c2738(0x28b)](),cur_tz=moment()['tz'](properties[_0x7c2738(0x260)])['utcOffset']();instance['publishState'](_0x7c2738(0x261),0x3c*(def_tz-cur_tz)),instance['publishState'](_0x7c2738(0x1bf),0x3c*(cur_tz-def_tz));}function getEvents(){const _0x4cb24e={_0x45465b:0x1d2,_0x3d98b7:0x2b1,_0x2b7035:0x22a,_0x281fa8:0x251,_0x1ee5d7:0x1ea,_0x5ccbb1:0x23f,_0x18970e:0x2eb,_0x3b5d28:0x283,_0x54cd09:0x1ab,_0x37bb7d:0x21b,_0x449c52:0x1f9,_0x3759f7:0x1e7,_0x329073:0x1f9,_0x408cb5:0x2a8,_0x1281e5:0x20b,_0x1c5ac2:0x1b6,_0x22d8f0:0x2b2,_0x3e956f:0x219,_0x3a238a:0x1d2,_0x3eed45:0x231,_0x5efed1:0x2e0,_0x237494:0x1d2,_0x5bdeac:0x238,_0x156e19:0x1d2,_0xd9da54:0x1d2,_0x6c2c27:0x262,_0x20d83b:0x18f,_0xadb7be:0x1fd,_0x54d6a4:0x27a,_0x3dbcac:0x1e6,_0x3e3a5e:0x298,_0x28b628:0x29a,_0x1b281e:0x2fd,_0x330d0c:0x2fd,_0x3ba2d7:0x1e6,_0x194e1a:0x1d2,_0x23a117:0x2df,_0x8b657:0x273,_0x303b25:0x238,_0x46ad9a:0x27b,_0x16c0b1:0x22b,_0x4c3ce9:0x25c},_0x3054bc={_0x3cd18a:0x25e},_0x1a1de1=_0x7c2738;let _0x28ef54=calendar['getOption']('timeZone');'local'===_0x28ef54&&(_0x28ef54=Intl[_0x1a1de1(0x1b8)]()['resolvedOptions']()[_0x1a1de1(0x2c0)]);var _0x2890b2=[],_0x32c5e9=[];return bubbleEvents[_0x1a1de1(0x25c)](function(_0x18c95c){const _0x5df87c=_0x1a1de1;var _0x5990b4={};let _0x12001e;if(_0x5990b4['id']=_0x18c95c['get'](properties['event_id_field']),properties['event_caption']&&_0x18c95c[_0x5df87c(_0x4cb24e._0x45465b)](properties[_0x5df87c(0x2f5)])?_0x5990b4[_0x5df87c(_0x4cb24e._0x3d98b7)]=_0x18c95c[_0x5df87c(_0x4cb24e._0x45465b)](properties[_0x5df87c(0x2f5)]):_0x5990b4['title']='\\x20',_0x12001e=!!properties[_0x5df87c(0x1d7)]&&_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(0x1d7)]),_0x12001e){const _0x4c8731=[_0x5df87c(0x1f5),_0x5df87c(0x29c),_0x5df87c(0x1e3),'wednesday',_0x5df87c(0x2b0),_0x5df87c(_0x4cb24e._0x2b7035),_0x5df87c(_0x4cb24e._0x281fa8)];if(properties['days_of_week']&&null!==_0x18c95c['get'](properties['days_of_week'])){if(_0x5df87c(0x277)===_0x5df87c(_0x4cb24e._0x1ee5d7)){const {'day_header_Ñustom_format':_0x46c2b0,weekday_format:_0x5b617d,day_format:_0x5d9b26,month_format:_0x5e24a0,year_format:_0x6edf62}=_0x49b068;let _0x31da1c={};return _0x46c2b0&&!_0x5d3352[_0x5df87c(0x23f)]()[_0x5df87c(0x27d)]('Month'[_0x5df87c(_0x4cb24e._0x5ccbb1)]())?('\\x20'!==_0x5b617d&&(_0x31da1c[_0x5df87c(_0x4cb24e._0x18970e)]=_0x5b617d),'\\x20'!==_0x5d9b26&&(_0x31da1c['day']=_0x5d9b26),'\\x20'!==_0x5e24a0&&(_0x31da1c[_0x5df87c(_0x4cb24e._0x3b5d28)]=_0x5e24a0),'\\x20'!==_0x6edf62&&(_0x31da1c[_0x5df87c(0x2d0)]=_0x6edf62)):_0x46c2b0&&_0x170ac1['toLowerCase']()['includes'](_0x5df87c(0x195)[_0x5df87c(0x23f)]())&&'\\x20'!==_0x5b617d&&(_0x31da1c[_0x5df87c(0x2eb)]=_0x5b617d),_0x31da1c;}else{let _0x4f755a=_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(0x2c3)]),_0x362d32,_0x11ec30=_0x4f755a[_0x5df87c(0x1d2)](0x0,_0x4f755a[_0x5df87c(_0x4cb24e._0x54cd09)]())[_0x5df87c(0x1a6)](_0x8a05c1=>_0x4c8731['indexOf'](_0x8a05c1[_0x5df87c(0x23f)]()));_0x5990b4[_0x5df87c(0x1d9)]=_0x11ec30[_0x5df87c(_0x4cb24e._0x37bb7d)]();}}if(properties['start_time']&&(_0x5990b4['startRecur']=moment['tz'](moment(_0x18c95c['get'](properties[_0x5df87c(0x28d)]))[_0x5df87c(_0x4cb24e._0x449c52)](),_0x28ef54)[_0x5df87c(0x1f9)](_0x5df87c(0x2d9)),_0x5990b4[_0x5df87c(_0x4cb24e._0x3759f7)]=moment['tz'](moment(_0x18c95c[_0x5df87c(0x1d2)](properties['start_time']))[_0x5df87c(_0x4cb24e._0x329073)](),_0x28ef54)[_0x5df87c(0x1f9)](_0x5df87c(0x2a8)),_0x5990b4['start']=null),properties[_0x5df87c(0x1ff)]&&(_0x5990b4['endRecur']=moment['tz'](moment(_0x18c95c['get'](properties[_0x5df87c(0x1ff)]))['format'](),_0x28ef54)[_0x5df87c(_0x4cb24e._0x449c52)]('YYYY-MM-DD'),_0x5990b4['endTime']=moment['tz'](moment(_0x18c95c[_0x5df87c(0x1d2)](properties['end_time']))[_0x5df87c(0x1f9)](),_0x28ef54)['format']('HH:mm'),_0x5990b4['end']=null),_0x5990b4['endTime']&&_0x5990b4[_0x5df87c(0x1e7)]){const _0x5c5a9a=moment(_0x5990b4[_0x5df87c(0x1e7)],_0x5df87c(_0x4cb24e._0x408cb5));let _0x23b70f=moment(_0x5990b4['endTime'],_0x5df87c(0x2a8));_0x23b70f['isBefore'](_0x5c5a9a)&&_0x23b70f[_0x5df87c(0x278)](0x1,_0x5df87c(0x1ae));const _0x110b9e=moment[_0x5df87c(_0x4cb24e._0x1281e5)](_0x23b70f['diff'](_0x5c5a9a)),_0x1a9aa2=String(_0x110b9e[_0x5df87c(_0x4cb24e._0x1c5ac2)]())[_0x5df87c(_0x4cb24e._0x22d8f0)](0x2,'0'),_0x4a651d=String(_0x110b9e['minutes']())[_0x5df87c(0x2b2)](0x2,'0');_0x5990b4['duration']=_0x1a9aa2+':'+_0x4a651d;}else _0x5990b4['duration']='02:00';}else properties['start_time']&&(_0x5990b4[_0x5df87c(0x1be)]=moment['tz'](moment(_0x18c95c[_0x5df87c(0x1d2)](properties['start_time']))[_0x5df87c(_0x4cb24e._0x449c52)](),_0x28ef54)['format']()),properties[_0x5df87c(0x1ff)]&&_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(0x1ff)])&&(_0x5990b4[_0x5df87c(0x1f2)]=moment['tz'](moment(_0x18c95c[_0x5df87c(_0x4cb24e._0x45465b)](properties['end_time']))[_0x5df87c(0x1f9)](),_0x28ef54)[_0x5df87c(0x1f9)]());if(properties['all_day']&&(_0x5990b4[_0x5df87c(0x2d1)]=_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(_0x4cb24e._0x3e956f)])),properties['all_day']&&null!==_0x18c95c[_0x5df87c(0x1d2)](properties['all_day'])&&(_0x5990b4[_0x5df87c(0x2d1)]=_0x18c95c[_0x5df87c(_0x4cb24e._0x3a238a)](properties[_0x5df87c(0x219)])),properties['event_textcolor_field']&&null!==_0x18c95c[_0x5df87c(0x1d2)](properties['event_textcolor_field'])&&(_0x5990b4['textColor']=_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(0x206)])),properties['event_bordercolor_field']&&null!==_0x18c95c['get'](properties[_0x5df87c(0x231)])?_0x5990b4[_0x5df87c(0x2e0)]=_0
210x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(_0x4cb24e._0x3eed45)]):properties['event_backgroundcolor_field']&&null!==_0x18c95c['get'](properties['event_backgroundcolor_field'])&&(_0x5990b4[_0x5df87c(_0x4cb24e._0x5efed1)]=_0x18c95c[_0x5df87c(_0x4cb24e._0x237494)](properties['event_backgroundcolor_field'])),properties[_0x5df87c(_0x4cb24e._0x5bdeac)]&&null!==_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(_0x4cb24e._0x5bdeac)])&&(_0x5990b4[_0x5df87c(0x27b)]=_0x18c95c[_0x5df87c(_0x4cb24e._0x156e19)](properties[_0x5df87c(0x238)])),properties['event_resizable_field']&&null!==_0x18c95c[_0x5df87c(_0x4cb24e._0xd9da54)](properties[_0x5df87c(_0x4cb24e._0x6c2c27)])&&(_0x5990b4['durationEditable']=_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(0x262)])),properties['event_overlap_field']&&null!==_0x18c95c['get'](properties[_0x5df87c(_0x4cb24e._0x20d83b)])&&(_0x5990b4[_0x5df87c(0x1eb)]=_0x18c95c['get'](properties[_0x5df87c(_0x4cb24e._0x20d83b)])),properties[_0x5df87c(0x1fd)]&&null!==_0x18c95c['get'](properties[_0x5df87c(0x1fd)])){var _0x42eef2=_0x18c95c['get'](properties[_0x5df87c(_0x4cb24e._0xadb7be)]);_0x5df87c(0x19c)==typeof _0x42eef2['get']?_0x5990b4['classNames']=_0x42eef2['get'](0x0,_0x42eef2[_0x5df87c(0x1ab)]()):_0x5990b4[_0x5df87c(0x2df)]=_0x5df87c(0x22b)==typeof _0x42eef2?[_0x42eef2]:[];}if(_0x5990b4['extendedProps']={},properties['event_content']&&null!==_0x18c95c['get'](properties['event_content'])&&(_0x5990b4[_0x5df87c(0x1e6)][_0x5df87c(_0x4cb24e._0x54d6a4)]=_0x18c95c['get'](properties[_0x5df87c(0x2bb)])),properties[_0x5df87c(0x2c1)]?_0x5990b4['extendedProps'][_0x5df87c(0x298)]=_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(0x2c1)]):_0x5990b4[_0x5df87c(_0x4cb24e._0x3dbcac)][_0x5df87c(_0x4cb24e._0x3e3a5e)]=!0x1,properties[_0x5df87c(0x29a)]&&_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(_0x4cb24e._0x28b628)]),_0x5990b4[_0x5df87c(0x1f3)]=properties[_0x5df87c(0x2fd)]&&_0x18c95c[_0x5df87c(_0x4cb24e._0x45465b)](properties[_0x5df87c(_0x4cb24e._0x1b281e)])?_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(_0x4cb24e._0x330d0c)]):_0x5df87c(0x19f),properties[_0x5df87c(0x29a)]&&_0x18c95c[_0x5df87c(0x1d2)](properties[_0x5df87c(0x29a)])?(_0x5990b4[_0x5df87c(_0x4cb24e._0x3ba2d7)]['blockedEvent']=_0x18c95c[_0x5df87c(_0x4cb24e._0x194e1a)](properties[_0x5df87c(0x29a)]),_0x5990b4['classNames']||(_0x5990b4[_0x5df87c(0x2df)]=[]),Array[_0x5df87c(0x22d)](_0x5990b4['classNames'])||(_0x5990b4[_0x5df87c(_0x4cb24e._0x23a117)]=[_0x5990b4[_0x5df87c(0x2df)]]),_0x5990b4['classNames']['push'](_0x5df87c(_0x4cb24e._0x8b657)),properties['blocked_editable']||(_0x5990b4[_0x5df87c(0x1f3)]=_0x5df87c(0x220),_0x5990b4[_0x5df87c(0x1eb)]=!0x1),_0x5990b4[_0x5df87c(0x27b)]=properties[_0x5df87c(0x26b)]):properties[_0x5df87c(0x238)]&&null!==_0x18c95c['get'](properties[_0x5df87c(0x238)])?_0x5990b4['backgroundColor']=_0x18c95c[_0x5df87c(_0x4cb24e._0xd9da54)](properties[_0x5df87c(_0x4cb24e._0x303b25)]):_0x5990b4[_0x5df87c(_0x4cb24e._0x46ad9a)]=properties[_0x5df87c(0x269)],properties['enable_scheduler']&&null!=properties['event_resource_field']){var _0x2052f8=_0x18c95c['get'](properties[_0x5df87c(0x253)]);if(null!=_0x2052f8){if(_0x5df87c(_0x4cb24e._0x16c0b1)==typeof _0x2052f8||_0x2052f8 instanceof String)_0x5990b4[_0x5df87c(0x1a7)]=_0x2052f8;else{if(_0x5df87c(0x1ab)in _0x2052f8){let _0x3a93f0=_0x2052f8[_0x5df87c(_0x4cb24e._0x45465b)](0x0,_0x2052f8[_0x5df87c(0x1ab)]()),_0x2a7c40=[];_0x3a93f0[_0x5df87c(_0x4cb24e._0x4c3ce9)](function(_0x29cef6){const _0x404df4=_0x5df87c;if('QcQII'===_0x404df4(_0x3054bc._0x3cd18a))_0x381ecd=!0x1,_0x3927dc(_0
210x2f1ed3);else{let _0x1acae5=_0x29cef6['get'](properties[_0x404df4(0x270)]);_0x2a7c40['push'](_0x1acae5);}}),_0x5990b4['resourceIds']=_0x2a7c40;}else _0x5990b4['resourceId']=_0x2052f8['get'](properties['res_id_field']);}}}_0x2890b2['push'](_0x5990b4);}),_0x2890b2;}function getBubbleEventById(_0x169ea3){const _0x858b86={_0x5dc683:0x2ee},_0x404e6f={_0x278cbf:0x198},_0x3a2b7b=_0x7c2738;var _0x43da4d=instance[_0x3a2b7b(0x2ed)][_0x3a2b7b(0x18e)];try{var _0x220811=_0x43da4d[_0x3a2b7b(0x1c9)](function(_0x51f3f0,_0x40f91b){const _0x2373f7=_0x3a2b7b;return _0x51f3f0['get'](properties[_0x2373f7(_0x404e6f._0x278cbf)])==_0x169ea3;});return!_0x220811&&_0x169ea3?(console[_0x3a2b7b(0x2ee)]('Event\\x20not\\x20found\\x20in\\x20bubbleEvents,\\x20creating\\x20minimal\\x20object'),{'get':function(_0x6c0b51){return _0x6c0b51===properties['event_id_field']?_0x169ea3:null;}}):_0x220811;}catch(_0xef4d0f){return console[_0x3a2b7b(_0x858b86._0x5dc683)]('Warning:\\x20Error\\x20finding\\x20event:\\x20'+_0xef4d0f['message']),null;}}function getResources(_0x1a39fc){const _0x12c6bf={_0x1c2c01:0x1ab,_0x557c2c:0x1d2,_0xb61cbc:0x249,_0x495e78:0x1d2,_0x540b73:0x28c,_0x5517f7:0x2be},_0xa0360b=_0x7c2738;var _0x553a8d=[];for(i=0x0;i<_0x1a39fc[_0xa0360b(_0x12c6bf._0x1c2c01)];i++){var _0x5eda9c=new Object();_0x5eda9c['id']=_0x1a39fc[i]['get'](properties['res_id_field']),_0x5eda9c[_0xa0360b(0x2b1)]=_0x1a39fc[i][_0xa0360b(_0x12c6bf._0x557c2c)](properties[_0xa0360b(_0x12c6bf._0xb61cbc)]),properties[_0xa0360b(0x282)]&&(null!==_0x1a39fc[i]['get'](properties['name_of_resource_group'])?_0x5eda9c[_0xa0360b(0x199)]=_0x1a39fc[i][_0xa0360b(0x1d2)](properties['name_of_resource_group']):_0x5eda9c[_0xa0360b(0x199)]='Ungrouped'),properties[_0xa0360b(0x28c)]&&(_0x5eda9c[properties['res_order_field']]=_0x1a39fc[i][_0xa0360b(_0x12c6bf._0x495e78)](properties[_0xa0360b(_0x12c6bf._0x540b73)])),_0x553a8d[_0xa0360b(_0x12c6bf._0x5517f7)](_0x5eda9c);}return _0x553a8d;}function getBubbleResourceById(_0x491e37,_0x23f64e){return _0x491e37&&_0x23f64e?_0x491e37['find'](function(_0x410f90,_0x4d93c4){const _0x492753=_0x1d3f;return _0x410f90[_0x492753(0x1d2)](properties['res_id_field'])==_0x23f64e;}):null;}function eventModified(_0x3bb5a7){const _0x175ab0={_0x19c5bf:0x235,_0x2b23e3:0x1f9,_0x410174:0x1c8,_0xf26782:0x1f2,_0xd69e70:0x1b3,_0x146c38:0x235,_0x4467da:0x1b3,_0x43395f:0x2c4,_0x4d296b:0x1c8,_0x5289a4:0x2f0,_0x27e32b:0x221,_0x558e5a:0x19a,_0x5b5326:0x2c3},_0x224a6f=_0x7c2738;var _0x7e566e=getBubbleEventById(_0x3bb5a7['event']['id']);if(instance[_0x224a6f(_0x175ab0._0x19c5bf)](_0x224a6f(0x2f1),_0x7e566e),instance['publishState']('modified_event_start',moment(_0x3bb5a7[_0x224a6f(0x1c8)]['startStr'])[_0x224a6f(_0x175ab0._0x2b23e3)]()),_0x3bb5a7[_0x224a6f(_0x175ab0._0x410174)][_0x224a6f(_0x175ab0._0xf26782)]&&instance['publishState']('modified_event_end',moment(_0x3bb5a7['event']['endStr'])[_0x224a6f(0x1f9)]()),instance['publishState']('modified_event_allday',_0x3bb5a7[_0x224a6f(0x1c8)][_0x224a6f(0x2d1)]),properties['enable_scheduler']&&(null!=_0x3bb5a7[_0x224a6f(0x2c4)]?(instance[_0x224a6f(0x235)]('modified_event_old_resource',getBubbleResourceById(instance['data'][_0x224a6f(_0x175ab0._0xd69e70)],_0x3bb5a7[_0x224a6f(0x2cb)]['id'])),instance[_0x224a6f(_0x175ab0._0x146c38)](_0x224a6f(0x268),getBubbleResourceById(instance['data'][_0x224a6f(_0x175ab0._0x4467da)],_0x3bb5a7[_0x224a6f(_0x175ab0._0x43395f)]['id']))):_0x3bb5a7['event']['getResources']()&&_0x3bb5a7['event']['getResources']()[_0x224a6f(0x1ab)]>0x0?instance['publishState']('modified_event_newresource',getBubbleResourceById(instance['data'][_0x224a6f(0x1b3)],_0x3bb5a7[_0x224a6f(_0x175ab0._0x4d296b)][_0x224a6f(0x292)]()[0x0]['id'])):instance['publishState']('modified_event_newresource',null)),null!==calendar){if(_0x224a6f(0x29f)!==_0x224a6f(_0x175ab0._0x5289a4)){var _0x516b7d=calendar[_0x224a6f(0x1aa)](_0x3bb5a7[_0x224a6f(0x1c8)]['id']);_0x516b7d[_0x224a6f(_0x175ab0._0x27e32b)](),setTimeout(function(){const _0x356259=_0x224a6f;$('#'+instance['data'][_0x356259(0x1c1)])['removeClass']('disabledElement'),calendar['refetchEvents']();},0x3e8*parseInt(properties[_0x224a6f(_0x175ab0._0x558e5a)])),setTimeout(function(){_0x516b7d['remove']();},0x5dc);}else{let _0x609ddc=_0x309ea0['get'](_0x245b58[_0x224a6f(_0x175ab0._0x5b5326)]),_0x332528,_0x52929f=_0x609ddc[_0x224a6f(0x1d2)](0x0,_0x609ddc[_0x224a6f(0x1ab)]())['map'](_0x26e121=>_0x3e919f['indexOf'](_0x26e121['toLowerCase']()));_0x23eeb7[_0x224a6f(0x1d9)]=_0x52929f['reverse']();}}instance[_0x224a6f(0x1a5)]('event_modified',function(_0x189d41){});}function addCustomViews(_0x4664d5){const _0xbdeb2e={_0x32c6fc:0x222,_0x1a9059:0x23a,_0x5ec76c:0x2ed,_0x322f10:0x1e4,_
2100x5c1ed2:0x20d,_0x3f8b49:0x2de},_0x411432=_0x7c2738;let _0x18e880=_0x411432(0x222),_0x1e3ae0={};instance[_0x411432(0x2ed)][_0x411432(_0xbdeb2e._0x32c6fc)]={'view':properties['custom_view_1_view'],'type':properties[_0x411432(_0xbdeb2e._0x1a9059)],'duration':properties[_0x411432(0x2a1)]},instance[_0x411432(_0xbdeb2e._0x5ec76c)][_0x411432(_0xbdeb2e._0x322f10)]={'view':properties['custom_view_2_view'],'type':properties[_0x411432(0x20d)],'duration':properties['custom_view_2_duration']},_0x1e3ae0[properties[_0x411432(0x23a)]]=properties[_0x411432(0x2a1)],_0x4664d5[_0x18e880]={'type':properties[_0x411432(0x28a)],'duration':_0x1e3ae0};let _0x9e3197=_0x411432(0x1e4),_0x3e802d={};_0x3e802d[properties[_0x411432(_0xbdeb2e._0x5c1ed2)]]=properties[_0x411432(_0xbdeb2e._0x3f8b49)],_0x4664d5[_0x9e3197]={'type':properties['custom_view_2_view'],'duration':_0x3e802d};}function publishCurrentEventId(_0x49fdf5){const _0x466e70={_0x573615:0x2e5},_0x3860e2=_0x7c2738;let _0x5eff0a=document[_0x3860e2(0x1e1)]('#'+instance['data']['currentEventId']);null!=_0x5eff0a&&_0x5eff0a['removeAttribute']('id'),_0x49fdf5['setAttribute']('id',instance['data']['currentEventId']),instance['publishState'](_0x3860e2(_0x466e70._0x573615),instance[_0x3860e2(0x2ed)]['currentEventId']);}function setStyle(){const _0x57aa49={_0x421a2f:0x2a7,_0x31c420:0x2ed,_0x1ae2e7:0x2d4,_0xbdd044:0x27e,_0x466b7a:0x25d,_0x58dead:0x2ed,_0x57a977:0x1c1,_0x68f8f8:0x2a2,_0x507322:0x1b4,_0x6470bc:0x1c1,_0x36ce1a:0x1a2,_0x3f2ff8:0x1d3,_0x5582e1:0x27f,_0x592211:0x256,_0x3ed9f4:0x1c2,_0x3b7aba:0x19e,_0x2d0b05:0x285,_0xfba070:0x245,_0x585fca:0x1f8,_0x49f249:0x1cb},_0x4276a0=_0x7c2738;properties[_0x4276a0(0x26b)]=instance['data'][_0x4276a0(0x2d4)](properties['blocked_bgcolor']),properties[_0x4276a0(0x2a7)]=instance[_0x4276a0(0x2ed)][_0x4276a0(0x2d4)](properties[_0x4276a0(_0x57aa49._0x421a2f)]),properties['cal_linescolor']=instance[_0x4276a0(_0x57aa49._0x31c420)][_0x4276a0(_0x57aa49._0x1ae2e7)](properties[_0x4276a0(0x2a2)]),properties[_0x4276a0(_0x57aa49._0xbdd044)]=instance['data'][_0x4276a0(0x2d4)](properties[_0x4276a0(_0x57aa49._0xbdd044)]),properties[_0x4276a0(0x1cb)]=instance[_0x4276a0(0x2ed)]['checkColor'](properties[_0x4276a0(0x1cb)]);const _0x4582b2=_0x4276a0(0x22e)+instance[_0x4276a0(0x2ed)]['calid'];let _0x46f9d0=_0x4276a0(_0x57aa49._0x466b7a)+instance['data']['calid']+_0x4276a0(0x1d8)+instance[_0x4276a0(_0x57aa49._0x58dead)][_0x4276a0(0x1c1)]+_0x4276a0(0x1fa)+properties[_0x4276a0(0x2a7)]+_0x4276a0(0x281)+properties['cal_textcolor']+'\\x20!important;\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x09}\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x09#'+instance['data'][_0x4276a0(_0x57aa49._0x57a977)]+'\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x09background-color:\\x20'+properties[_0x4276a0(0x2a7)]+_0x4276a0(0x281)+properties[_0x4276a0(0x286)]+'\\x20!important;\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x09}\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x09#'+instance[_0x4276a0(0x2ed)]['calid']+'\\x20td\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x09border-color:\\x20'+properties[_0x4276a0(_0x57aa49._0x68f8f8)]+_0x4276a0(_0x57aa49._0x507322)+instance['data'][_0x4276a0(_0x57aa49._0x6470bc)]+_0x4276a0(_0x57aa49._0x36ce1a)+properties['today_color']+_0x4276a0(_0x57aa49._0x507322)+instance['data']['calid']+_0x4276a0(_0x57aa49._0x3f2ff8)+properties[_0x4276a0(0x27e)]+_0x4276a0(0x1bb)+(properties['bubble'][_0x4276a0(0x1c2)]()+0x8)+_0x4276a0(_0x57aa49._0x5582e1)+(properties[_0x4276a0(0x256)][_0x4276a0(0x1c2)]()+0x8)+'px;\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x09height:\\x20'+(properties[_0x4276a0(_0x57aa49._0x592211)][_0x4276a0(_0x57aa49._0x3ed9f4)]()+0x8)+_0x4276a0(0x271)+instance[_0x4276a0(_0x57aa49._0x31c420)]['calid']+_0x4276a0(0x252)+properties[_0x4276a0(_0x57aa49._0x3b7aba)]+_0x4276a0(_0x57aa49._0x2d0b05)+instance['data']['calid']+_0x4276a0(_0x57aa49._0xfba070)+properties['selected_daycolor']+_0x4276a0(0x241)+instance[_0x4276a0(0x2ed)][_0x4276a0(0x1c1)]+_0x4276a0(0x1d5)+properties[_0x4276a0(0x23d)]+_0x4276a0(0x1f4)+instance['data'][_0x4276a0(_0x57aa49._0x6470bc)]+'\\x20.fc-multiMonthYear-view\\x20.blocked-event-bottom-title\\x20.fc-event-title\\x20{\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20white-space:\\x20normal\\x20!important;\\x20\\x20\\x20\\x20\\x20\\x20\\x20/*\\x20РазÑеÑаем\\x20пеÑеноÑ\\x20Ñлов\\x20*/\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20display:\\x20-webkit-box\\x20!important;\\x20\\x20\\x20\\x20\\x20\\x20/*\\x20ÐклÑÑаем\\x20ÑÑаÑÑй\\x20flex-box\\x20длÑ\\x20ÑабоÑÑ\\x20clamp\\x20*/\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20-webkit-line-clamp:\\x202\\x20!important;\\x20\\x20\\x20\\x20\\x20/*\\x20ÐгÑаниÑиваем\\x202\\x20ÑÑÑоками\\x20*/\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20-webkit-box-orient:\\x20vertical\\x20!important;\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20overflow:\\x20hidden\\x20!important;\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20/*\\x20СкÑÑваем\\x20вÑÑ,\\x20ÑÑо\\x20не\\x20влезло\\x20*/\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20text-overflow:\\x20ellipsis\\x20!important;\\x20\\x20\\x20/*\\x20ÐобавлÑем\\x20ÑÑоеÑоÑие\\x20(...)\\x20*/\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20line-height:\\x201.1\\x20!important;\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20/*\\x20ЧÑÑÑ\\x20Ñжимаем\\x20вÑÑоÑÑ\\x20ÑÑÑок,\\x20ÑÑобÑ\\x20влаÐ
210·Ð¸Ð»Ð¾\\x20кÑаÑиво\\x20*/\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20max-height:\\x202.4em\\x20!important;\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20/*\\x20СÑÑаÑ
овка\\x20вÑÑоÑÑ\\x20(2\\x20ÑÑÑоки\\x20*\\x201.2em)\\x20*/\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20}\\x0a\\x0a\\x0a\\x20\\x20\\x20\\x20\\x09',_0xc861cf=document[_0x4276a0(_0x57aa49._0x585fca)](_0x4582b2);_0xc861cf||(_0xc861cf=document['createElement'](_0x4276a0(0x2d7)),_0xc861cf['id']=_0x4582b2,document['head']['appendChild'](_0xc861cf)),_0xc861cf[_0x4276a0(0x294)]=_0x46f9d0,changeAllMonthsBackgroundColor(properties[_0x4276a0(_0x57aa49._0x49f249)]);}instance[_0x7c2738(0x2ed)]['slot12hour']=properties['slotlable12hour'];}function _0x5c77(){const _0x33ccd5=['CMvZx29YzgvYx2zPzwXK','C3rHCNrFDgLTzq','sw4GywXSihzPzxDZ','DgLTzwXPBMvxzwvR','C2vSzwn0zwrFCMvZB3vYy2u','x2rLzG','z2v0uMvZB3vYy2vZ','zgf5r3jPze1VBNrO','Aw5Uzxjive1m','zxzLBNrIB3jKzxjJB2XVCG','mZu0mdmZmhrhEKfXDa','z2nHBgvUzgfYx2LK','zxzLBNrfEhrLCM5HBa','oJaW','yMXVy2TLzf9MAwvSza','CMvTB3zLq2XHC3m','Bw9Uzgf5','zgL2','CMvZB3vYy2vuAw1LBgLUzq','CNbWBwu','Dg91y2HTB3zL','y3vZDg9Tx3zPzxDFmv9KDxjHDgLVBG','y2fSx2XPBMvZy29SB3i','CMvZB3vYy2vpCMrLCG','CMvUzgvY','EwvHCNm','Dg91y2HLCW','y2fSx2jNy29SB3i','seG6Bw0','Aw5PDgLHBerHDgu','mI1KAwDPDa','y2HHBMDLvMLLDW','oWOGicaGicaGicaGicaGicaGFqOGicaGicaGicaGica','BwLUDgLTzq','DgLWChKTDgHLBwuTC3r5BguT','y2fSzw5KyxjFBg9JywXL','DgH1CNnKyxK','DgL0Bgu','CgfKu3rHCNq','zxH0zxjUywXFzxzLBNrFAxnFzhjVChbLza','BMf2BgLUA3m','C2HVCNq','yMXVy2TLzf9LzgL0ywjSzq','AxnczwzVCMu','zgf0zxnHyM92zxjLC291CMnL','vgLTzxPVBMu','DMLLD19JAgfUz2vZ','zxzLBNrFy29UDgvUDa','oWOGicaGicaGicaGicaGicaGFqOGicaGicaGicaGicaGicaGlNrPChb5lwjVEfTKyxrHlxrOzw1LFJ0NBxLdDxn0B21uAgvTzsDDw2rHDgeTCgXHy2vTzw50xJ0NyM90Dg9Tj10GpIaUDgLWChKTyxjYB3C6oMjLzM9Yzsb7cIaGicaGicaGicaGicaGicaGicaGyM9YzgvYlwjVDhrVBs1JB2XVCJOG','pc9KAxy+','ChvZAa','CMvZB3vYy2u','DgLTzvPVBMu','zxH0zxjUywXFzxzLBNrFzMLLBgq','C2vSzwn0BwLUzgLZDgfUy2u','zgf5C19VzL93zwvR','BMv3uMvZB3vYy2u','AgjdseG','Bwf4DgLTzq','pgrPDIbJBgfZCZ0IzMmTzxzLBNqTBwfPBI1MCMfTzsi+pgrPDIbJBgfZCZ0IzMmTzxzLBNqTDgLTzsi+','Bg9JywW','C2XVDer1CMf0Aw9U','zxzLBNrtCMmX','B2XKuMvZB3vYy2u','DMLLD19Hy3rPDMvLBMq','rxzLBNq','zgLZCgXHExrPBwu','zgf5x2HLywrLCL/rGxvZDg9Tx2zVCM1HDa','EwvHCG','ywXSrgf5','z2v0rgf5rM9YBwf0','zMLLBgrwywX1zq','y2HLy2TdB2XVCG','C2vSzwn0x3n0yxj0','mZq2mtq1mwzJyvvzzq','C3r5Bgu','y2fSzw5KyxjFDgLTzxPVBMu','wvLzws1nts1era','ywXSlw1VBNrOCY1ZDhLSzs0','CMvZB3vYy2vhCM91CezPzwXK','D2vLA3m','ywLYzMnmyxn0rgf0zq','y3vZDg9Tx3zPzxDFmL9KDxjHDgLVBG','y2XHC3noyw1LCW','yM9YzgvYq29SB3i','n1v5B2rwCG','CMvZB3vYy2vmywjLBerPze1VDw50','AhrTBf90AxrSzq','zgf0zv9JBgLJA2vK','y3vYCMvUDf9LDMvUDf9Pza','CMvZB3vYy2vFzgf0yv9ZB3vYy2u','rNL6y3u','x3zPzxC','y3vYCMvUDf90Aw1L','C2vSzwn0ywjSzq','D2vLA2rHEq','zgLZywjSzwrfBgvTzw50','zgf0yq','D2fYBG','DgLTzvrLEhq','zhjiwK0','Bw9KAwzPzwrFzxzLBNq','C2HVD193zwvRx251BwjLCNm','y2XPy2TLzf9YzxnVDxjJzv9Pza','z29Vz2XLq2fSzw5KyxjbCgLlzxK','zxzLBNrFy2fWDgLVBG','y2XPzw50wa','zgf5r3jPza','ntbwuMHhtMO','DMLLD3m','Ag9YAxPVBNrHBa','icfPBxbVCNrHBNq7cIaGicaGicaGicaGih0kicaGicaGica','DMLICMf0zq','zxzLBNrFzgLZCgXHEv90ExbL','yNvIyMXLrxzLBNrZ','zxzLBNrFB3zLCMXHCf9MAwvSza','y2XPy2TLzf9YzxnVDxjJzv9Uyw1L','AgvHza','r0zdzK4','C2v0t3b0Aw9U','y2XHC3nmAxn0','tw9UDgG','mda6','ywrKrxzLBNrtB3vYy2u','zxzLBNrFAwrFzMLLBgq','z3jVDxbjza','Bw9KAwzPy2f0Aw9Ux3bHDxnL','zgLZCgXHEuv2zw50rw5K','zNvUy3rPB24','y3vYCMvUDf92Awv3','y29SB3jFDgLTzv9PBMrPy2f0B3i','yMXVy2S','zhjHz2DPBMDFzxH0zxjUywXFzxzLBNrZ','C2XVDgr1CMf0Aw9U','ihrKlMzJlwrHEs10B2rHEsaUzMmTzgf5lw51BwjLCIb7cIaGicaGicaGicaGiaLIywnRz3jVDw5KlwnVBg9YoIa','DgvZDa','Ag92zxjLzf9LDMvUDa','DhjPz2DLCKv2zw50','BwfW','CMvZB3vYy2vjza','Aw5KzxHpzG','zgf5tNvTyMvYvgv4Da','z2v0rxzLBNrcEuLK','BgvUz3rO','z29Vz2XLs2v5','pgrPDIbZDhLSzt0IzgLZCgXHEtOGzMXLEdTMBgv4oMf1Dg87ANvZDgLMEs1JB250zw50oIbZCgfJzs1Izxr3zwvUo2zSzxGTzgLYzwn0Aw9UoNjVDY1YzxzLCNnLiJ48zgL2ihn0EwXLpsjVCMrLCJOXo3bHzgrPBMC6nhb4oYi+pc9KAxy+pgrPDIbJBgfZCZ0IzMmTzgf5z3jPzc1KyxKTBNvTyMvYiIbZDhLSzt0IyM9YzgvYoM5VBMu7yM9YzgvYlxjHzgL1CZO1mcu7iJ4','zgf5','DhLWzq','odi5mduYDejiy0zk','C2vSzwn0x2vUza','Bw91C2vFBgvMDa','CMvZB3vYy2vZ','icfPBxbVCNrHBNq7cIaGicaGicaGcx0kicaGicaGicajiW','zw5Ku3rY','Ag91CNm','zw5HyMXLx3nJAgvKDwXLCG','rgf0zvrPBwvgB3jTyxq','ANnfDMvUDa','Dgv4Da','oWOGicaGicaGicaGicajy29SB3i6ihDOAxrLoWOGicaGicaGicaGicajyM9YzgvYlxjHzgL1CZOGntaLoWOGicaGicaGicaGicajzgLZCgXHEtOGAw5SAw5LlwjSB2nRoWOGicaGicaGicaGicajD2LKDgG6ia','CMvZB3vYy2vuAw1LBgLUzurHEq','CMLNAhrJBgLJA194','C3rHCNq','B2zMC2v0x2rPC3bSyxK','Bg9JywXL','y2fSAwq','zM9UDf9ZAxPL','Cg9WB3zLCG','zM5FAw5PDgLHBgL6zunHBgvUzgfY','zMmTzxzLBNqTDgL0BguTy29UDgfPBMvY','x3jLC291CMnL','pc9KAxy+pgrPDIbJBgfZCZ0IzMmTzxzLBNqTDgL0BguTy29UDgfPBMvYiJ48zgL2ignSyxnZpsjMyY1LDMvUDc10AxrSzsbMyY1ZDgLJA3KIid4','zxzLBNq','zMLUza','y3vZDg9TvMLLDW','BxvSDgLTB250AhLLyxjFyMfJA2DYB3vUzf9JB2XVCG','CMvWBgfJzq','B3b0Aw9UCW','BxvSDgLnB250AfLLyxi','y29UDgv4Dg1LBNu','y3vZDg9Tx3zPzxDFmL92Awv3','ywrKrxzLBNrmAxn0zw5LCG','z2v0','ic5HyY10B2rHEs1UDw1IzxiGzgL2lMzJlwrHEwDYAwqTzgf5lw51BwjLCIb7cIaGicaGicaGicaGiaLIywnRz3jVDw5KlwnVBg9YoIa','y29UDgvUDf9KAxnWBgf5x3r5Cgu','ic5MyY10Aw1Lz3jPzc1JB2WUzMmTzgf5lxr
210Vzgf5EWOGicaGicajcqLIywnRz3jVDw5KlwnVBg9YoIa','cIaGicaGicaGicaGicaGicaGicaGlMzJlxrPBwvNCMLKlwv2zw50lxnOB3j0ic5MyY1LDMvUDc10Aw1LoJPHzNrLCIb7cIaGicaGicaGicaGicaGicaGicaGicaGignVBNrLBNq6icjCmdbHmci7cIaGicaGicaGicaGicaGicaGicaGFqOGicaGicaGicaGicaGicaG','CMvJDxjYAw5N','ic5MyY1IzY1LDMvUDcb7cIaGicaGicaGls1MyY1IzY1LDMvUDc1VCgfJAxr5oIaXicfPBxbVCNrHBNq7cIaGicaGicaGicaGFqOGicaGicaGiaKJ','zgf5C09Mv2vLAW','zgf5rM9YBwf0','AxnuB2rHEq','C3bSAxq','CMvZB2X2zwrpChrPB25Z','zxzLBNrSAw1PDa','BxvSDgLnB250Aa','tg9JywWGDgLTzq','CxvLCNLtzwXLy3rVCG','vgLTzwXPBMu','DhvLC2rHEq','y3vZDg9TvMLLDZi','B3DUzxjZx3rPBwv6B25L','zxH0zw5KzwrqCM9WCW','C3rHCNruAw1L','iokaKYa','Bw9Tzw50','tKHPExK','B3zLCMXHCa','y3jLyxrLrwXLBwvUDa','B1HusMO','CxvLCNLtzwXLy3rVCKfSBa','cIaGicaGicaGicaGicm','ywLYzMnezwzHDwX0vMLLDW','yMXVy2TLzevKAxrHyMXL','zw5K','zgLZCgXHEq','icfPBxbVCNrHBNq7cGKjcx0kcGKjcsm','C3vUzgf5','mZney3PXz1u','ndu2otKZmhrJvNr6Dq','z2v0rwXLBwvUDej5swq','zM9YBwf0','ic5MyY1WB3bVDMvYihSkicaGicaGicaGicaGcwjHy2TNCM91BMqTy29SB3i6ia','BMf2AwDHDg9Y','ChjVCgvYDgLLCW','zxzLBNrFy2XHC3nUyw1LC2zPzwXK','yxv0B19YzxnPEMu','zw5Kx3rPBwu','x2LUC3rHBMnL','y2fSzw5Kyxi','C2XVDgXHyMXLmtjOB3vY','BNvTzxjPyW','C2HVD19LBMrFDgLTzv9VzL9LDMvUDhm','y3vYC29Y','zxzLBNrFDgv4DgnVBg9Yx2zPzwXK','wuryyvu','Bg9UzW','y2XPzw50wq','mZi4mZGZoefrCM5vzq','zhvYyxrPB24','y2XPy2TLzf9KyxrL','y3vZDg9Tx3zPzxDFmL90ExbL','CMvZB3vYy2vuAw1LBgLUzu1VBNrO','ChG7AgvPz2H0oIa','C2nYB2XSx3rPBwu','z2v0rgf5tNvTyMvY','zMLSDgvYCMvZB3vYy2vZD2L0Agv2zw50CW','z2v0vgLTzq','zMLSDgvYuMvZB3vYy2vZv2L0Aev2zw50CW','DgLTzuDYAwreyxK','mtzvuK1gu0S','CMv2zxj0','CMvJDxjYAw5NrgvM','ywXSx2rHEq','Bw91C2vFzw50zxjLza','CMv2zxjZzq','ywn0AxzLrw5K','CMvZAxPPBMC','AxnwywXPza','vg9VBhrPCa','yMfJA2DYB3vUza','CMvTB3zL','y3vZDg9TvMLLDZe','D2vLA2vUzhm','yMXVy2TLzf9LDMvUDf9JBgLJA2vK','x3r5Cgu','BhPHzfe','y2XPy2S','Bwf0y2G','BxLdDxn0B21uAgvTzq','zNjPzgf5','C3rYAw5N','zxzLBNrZ','AxnbCNjHEq','y3vZDg9TlwnHBgvUzgfYlxn0EwXLlq','zMmTzxzLBNqTBwfPBI1MCMfTzq','Dw5ZzwXLy3q','zxzLBNrFyM9YzgvYy29SB3jFzMLLBgq','C2XVDdeYAg91CG','zgf0yv9ZB3vYy2u','ic5MyY1TDwX0Aw1VBNrOlw1VBNrOic5MyY1KyxLNCMLKlwrHEtPUB3qOlMzJlwrHEs1VDgHLCIKGlMzJlwrHEwDYAwqTzgf5lwzYyw1LihSkicaGicaGicaGicaGicaGigjHy2TNCM91BMqTy29SB3i6ia','ChvIBgLZAfn0yxrL','ndKYmZi3zwvLD1nq','zxzLBNrFy2XPy2TLza','zxzLBNrFyMfJA2DYB3vUzgnVBg9Yx2zPzwXK','Bw9UDgHZ','y3vZDg9Tx3zPzxDFmv90ExbL','zxzLBNrqCMvZCW','yMXVy2TLzev2zw50','y3vYCMvUDf9KyxLFy2vSBhnFy29SB3i','oWOGicaGicaGicaGicaGicaGFqOGicaGicaGicaGicaGicaGlNrPChb5lwjVEfTKyxrHlxrOzw1LFJ0NBxLdDxn0B21uAgvTzsDDw2rHDgeTCgXHy2vTzw50xJ0NCMLNAhqNxsa+ic50AxbWEs1HCNjVDZO6yMvMB3jLihSkicaGicaGicaGicaGicaGicaGicbIB3jKzxiTCMLNAhqTy29SB3i6ia','Dg9mB3DLCKnHC2u','BMv4DgrHEv90AhjLC2HVBgq','icfPBxbVCNrHBNq7cIaGicaGicaGcx0kcqKjiW','C2vSzwn0zwrdzwXSC0v2zw50swq','CMvZB3vYy2vjzhm','CMvZB3vYy2vFy2XPy2S','ic5MyY1OAwDOBgLNAhqGEWOGicaGicaGicaGicajyMfJA2DYB3vUzdOG','DMLLD19JDxjYzw50C3rHCNq','z2v0sxrLBq','zgf0zq','CMvZB3vYy2vFDgL0BgvFzMLLBgq','zxzLBNrPBwL0y2XPy2S','C3rHCNrszwn1CG','oWOGicaGicaGicaGicaGicaGFqOGicaGicaGicaGicaGicaGlNrPChb5lwjVEfTKyxrHlxrOzw1LFJ0NBxLdDxn0B21uAgvTzsDDw2rHDgeTCgXHy2vTzw50xJ0NDg9Wj10GpIaUDgLWChKTyxjYB3C6oMjLzM9Yzsb7cIaGicaGicaGicaGicaGicaGicaGyM9YzgvYlxrVCc1JB2XVCJOG','CMvJDxjYAw5Nx2v2zw50x2nSAwnRzwq','zwrPDgfIBgu','ic0G','yxbWzw5Kq2HPBgq','C2f0DxjKyxK','ihSkicaGicaGicaGicaGcs0TzMmTBM93lwLUzgLJyxrVCI1JB2XVCJOG','zxzLBNrFCMvZB3vYy2vFzMLLBgq','ChjLDMvUDerLzMf1Bhq','cIaGicaGicaGicaGicaGicaUDgLWChKTyM94w2rHDgeTDgHLBwv+psDTEun1C3rVBvrOzw1Lj10GEWOGicaGicaGicaGicaGicaGicaGigjHy2TNCM91BMqTy29SB3i6ia','yNvIyMXL','zMLYC3rKyxK','Dg91y2HLBMq','mZm4mteYu2znshPy','C29Tzq','C3rHCNrtDhi','zM9YrwfJAa','cIaGicaGicaGiW','r0rJr24','yM9KEq','DgLTzxPVBMu','B2zMC2v0x3nHDMu','zxzLBNrFCMvZAxPHyMXLx2zPzwXK','Cg9PBNrLCG','z2v0rxzLBNrZ','zgf5CW','C2XVDe1HEfrPBwu','C2vSzwn0uhjLC3m','Bw9KAwzPzwrFzxzLBNrFBMv3CMvZB3vYy2u','zxzLBNrIywnRz3jVDw5Ky29SB3i','CMvZx29YzgvYx2fZy2vUzgLUzW','yMXVy2TLzf9Iz2nVBg9Y','CMvZB3vYy2vHCMvHD2LKDgG','zxzLBNrFBgLTAxrFzML0','Bw9Yzv9JBgLJA2vK','DMLLDW','CMvZx2LKx2zPzwXK','ChG7cIaGicaGicaGicaGiaL0zxH0lwfSAwDUoIbJzw50zxi7cIaGicaGicaGcx0kicaGicaGicajiW','BM93Aw5KAwnHDg9Y','yMXVy2TLzc1LDMvUDc1IB3r0B20TDgL0Bgu','B3zLCMzSB3C','z2v0rgf0zq','C2v0sxrLBq','zLr6Ae0','ywrK','y3vYCMvUDf9L
210DMvUDa','zxzLBNrdB250zw50','yMfJA2DYB3vUzenVBg9Y','zgvMyxvSDf9KDxjHDgLVBG','Aw5JBhvKzxm','Dg9KyxLFy29SB3i','ChG7cIaGicaGicaGicaGiaL3Awr0AdOG','y3vYCMvUDf9KyxrL','icfPBxbVCNrHBNq7cIaGicaGicaGicaGiaLJB2XVCJOG','BMfTzv9VzL9YzxnVDxjJzv9NCM91Ca','Bw9UDgG','y3vZDg9Tx3zPzxDF','oWOGicaGicaGiaL9cIaGicaGicaGcsm','y2fSx3rLEhrJB2XVCG','zxzLBNrFAxnFzhjVChbLza','z2v0t3b0Aw9U','ywmTDg9KyxKTBNvTyMvY','y3vZDg9Tx3zPzxDFmv92Awv3','DxrJt2zMC2v0'];_0x5c77=function(){return _0x33ccd5;};return _0x5c77();}}","add_debugger":false},"preview":{"fn":"function (instance, properties){\n instance.canvas.html(`<div style=\" opacity: 30%; width: ${properties.bubble.width()}px; height:${properties.bubble.height()}px;\">\n <img src=\"//7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1625571724649x465839437365411800/02.png\" style=\"width: 100%; height:${properties.bubble.height()}px;\"/> \n </div>`)\n \n \n \n \n \n \n}\n\n"}},"platform_type":"web"}}}; 211window._bubble_page_load_data.plugins_size['1553798969094x282191533018710000'] = 183182; 212window.preloaded['plugin/third_party:1553798969094x282191533018710000:2.143.0'] = true; 213window.plugins["1568299250417x684448291308175400"] = {"human":"Classify","dependencies":{"use_jquery":false,"plugin_api_version":"4"}}; 214window._bubble_page_load_data.plugins_size['1568299250417x684448291308175400'] = 81; 215window.preloaded['plugin/third_party:1568299250417x684448291308175400:4.1.2'] = true; 216window.plugins["1595792599048x184638965069905920"] = {"human":"Bulk Find & Replace","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Finder & Replacer","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Original text","name":"original_text","rank":0,"editor":"DynamicValue","value":"text"},"AAE":{"caption":"Values to find","name":"values_to_find","rank":1,"editor":"DynamicValue","value":"text","is_list":true},"AAF":{"caption":"Values to replace","name":"values_to_replace","rank":2,"editor":"DynamicValue","value":"text","is_list":true}},"states":{"AAG":{"caption":"Replaced text","name":"replaced_text","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAN":{"caption":"Updated","name":"updated"}},"actions":{"AAO":{"caption":"Update (manual)","code":{"fn":"function(instance,properties,context){var newValue=properties.original_text,listNotEmpty=properties.values_to_find.length()>0,listLengthMatches=properties.values_to_find.length()===properties.values_to_replace.length();if(listNotEmpty&&listLengthMatches)for(var findArrayLength=properties.values_to_find.length(),replaceArrayLength=properties.values_to_replace.length(),findArray=properties.values_to_find.get(0,findArrayLength),replaceArray=properties.values_to_replace.get(0,replaceArrayLength),i=0;i<findArrayLength;i++)newValue=newValue.split(findArray[i]).join(replaceArray[i]);else listNotEmpty&&!listLengthMatches&&console.error(\"Couldn't replace list of values. Values to Find length is \"+properties.values_to_find.length().toString()+\". Values to Replace length is \"+properties.values_to_replace.length().toString());instance.publishState(\"replaced_text\",newValue),instance.triggerEvent(\"updated\",(function(err){console.error(err)}))}"},"fields":{"AAP":{"caption":"Original text","name":"original_text","rank":0,"editor":"DynamicValue","value":"text"},"AAQ":{"caption":"Values to find","name":"values_to_find","rank":1,"editor":"DynamicValue","value":"text","is_list":true},"AAR":{"caption":"Values to replace","name":"values_to_replace","rank":2,"editor":"DynamicValue","value":"text","is_list":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){const{original_text:original_text,values_to_find:values_to_find,values_to_replace:values_to_replace}=properties,[keyCount,valueCount]=[values_to_find.length(),values_to_replace.length()];if(keyCount!==valueCount)throw new Error(`Couldn't replace list of values. Values to Find length is ${keyCount}. Values to Replace length is ${valueCount}`);const[keyList,valueList]=[values_to_find.get(0,keyCount),values_to_replace.get(0,valueCount)],replaced_text=keyList.reduce(((text,key)=>text.replaceAll(key,valueList.shift())),original_text);instance.publishState(\"replaced_text\",replaced_text),instance.triggerEvent(\"updated\",(err=>{console.error(err)}))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"AAS":{"display":"Bulk find and replace - Dynamic","type":"server_side","return_value":{"AAW":{"caption":"Replaced text","name":"replaced_text","rank":0,"value":"text"}},"fields":{"AAT":{"caption":"Original text","name":"original_text","rank":0,"editor":"DynamicValue","value":"text"},"AAU":{"caption":"Values to find","name":"values_to_find","rank":1,"editor":"DynamicValue","value":"text","is_list":true},"AAV":{"caption":"Values to replace","name":"values_to_replace","rank":2,"editor":"DynamicValue","value":"text","is_list":true}}},"AAX":{"display":"Bulk find and replace - Fixed","type":"server_side","return_value":{"AAa":{"caption":"Replaced text","name":"replaced_text","rank":0,"value":"text"}},"fields":{"AAY":{"caption":"Replace map","name":"replace_map","rank":1,"editor":"key_value_list","value":"text"},"AAZ":{"caption":"Original text","name":"original_text","rank":0,"editor":"DynamicValue","value":"text"}}}}}; 217window._bubble_page_load_data.plugins_size['1595792599048x184638965069905920'] = 4006; 218window.preloaded['plugin/third_party:1595792599048x184638965069905920:2.1.1'] = true; 219window.plugins["1614870624312x366623757063684100"] = {"human":"Online / Offline Status Detect","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAK":{"display":"Online/Offline","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAE":{"caption":"Time Max (Seconds)","name":"seconds","rank":0,"editor":"DynamicValue","value":"number","default_val":30},"AAR":{"caption":"Online","name":"online","rank":1,"editor":"DynamicValue","value":"text","default_val":"Online"},"AAS":{"caption":"Offline","name":"offline","rank":2,"editor":"DynamicValue","value":"text","default_val":"Offline"}},"states":{"AAP":{"caption":"User Status","name":"status","value":"text","initialization_code":{"fn":"function(properties,context){return properties.online}"}},"AAT":{"caption":"Date Time Off","name":"date_off","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"AAU":{"caption":"Date Time On","name":"date_on","value":"date","initialization_code":{"fn":"function(properties,context){}"}},"AAb":{"caption":"Internet connected?","name":"internet","value":"boolean","initialization_code":{"fn":"function(properties,context){return!0}"}}},"events":{"AAC":{"caption":"User Offline","name":"inactive"},"AAY":{"caption":"User Online","name":"active"},"AAZ":{"caption":"Closed ","name":"closed"},"AAa":{"caption":"Load","name":"load"}},"code":{"preview":{"fn":"function(instance, properties) {\nvar preview = Math.min(properties.bubble.height, properties.bubble.width);\n \n var imgElement = document.createElement(\"IMG\");\n imgElement.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1614866901713x196347420286953730/online_preview.fw.png\");\n imgElement.style.width = 0.8 * preview + \"px\";\n imgElement.style.verticalAlign = \"middle\";\n \n instance.canvas[0].appendChild(imgElement);\n\n\n}"},"initialize":{"fn":"function(instance,context){instance.publishState(\"date_on\",new Date),instance.triggerEvent(\"active\"),instance.triggerEvent(\"load\")}"},"update":{"fn":"function(instance,properties,context){function activityWatcher(){var status=\"\",secondsSinceLastActivity=0,maxInactivity=properties.seconds,activityEvents;function activity(){secondsSinceLastActivity=0,1==status&&(instance.publishState(\"status\",properties.online),instance.publishState(\"date_on\",new Date),status=!1,instance.triggerEvent(\"active\"))}setInterval((function(){++secondsSinceLastActivity==maxInactivity&&(instance.publishState(\"status\",properties.offline),instance.publishState(\"date_off\",new Date),status=!0,instance.triggerEvent(\"inactive\"))}),1e3),[\"mousedown\",\"mousemove\",\"keydown\",\"scroll\",\"touchstart\"].forEach((function(eventName){document.addEventListener(eventName,activity,!0)}))}function StatusInternet(){navigator.onLine?instance.publishState(\"internet\",!0):instance.publishState(\"internet\",!1)}activityWatcher(),window.onunload=window.onbeforeunload=function(){instance.triggerEvent(\"closed\")},window.addEventListener(\"load\",StatusInternet),window.addEventListener(\"online\",(function(e){
219StatusInternet()})),window.addEventListener(\"offline\",(function(e){StatusInternet()}))}","add_debugger":true},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 220window._bubble_page_load_data.plugins_size['1614870624312x366623757063684100'] = 3245; 221window.preloaded['plugin/third_party:1614870624312x366623757063684100:2.1.0'] = true; 222window.plugins["1634415243271x297265394301009900"] = {"human":"Elements Slider Pro","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_elements":{"AAC":{"display":"Elements Slider Pro","property_applications":{"resizable":true,"MinWidth":true,"Background":true,"Border":true,"Padding":true,"BoxShadow":true,"Font":true},"add_hover_pressed":true,"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Slide 1","name":"slide1","rank":0,"editor":"StaticText","is_list":false,"value":"_any_thing","in_style":true},"AAE":{"caption":"Slide 2","name":"slide2","rank":1,"editor":"StaticText","value":"_any_thing_bindable","is_list":false,"in_style":false,"optional":true},"AAF":{"caption":"slide3","name":"slide3","rank":2,"editor":"StaticText","value":"_any_thing_bindable","is_list":false,"optional":true},"AAG":{"caption":"slide4","name":"slide4","rank":3,"editor":"StaticText","optional":true},"AAH":{"caption":"Next Button","name":"next_btn","rank":5,"editor":"StaticText","optional":true},"AAQ":{"caption":"Prev Button","name":"prev_btn","rank":6,"editor":"StaticText","optional":true},"AAR":{"caption":"Infinite","name":"infinite","rank":7,"editor":"Checkbox","default_val":false},"AAS":{"caption":"Autoplay","name":"autoplay","rank":9,"editor":"Checkbox","default_val":false},"AAT":{"caption":"Autoplay Speed","name":"autoplay_speed","rank":10,"editor":"StaticNumber","value":"number","default_val":3000},"AAU":{"caption":"fade","name":"fade","rank":11,"editor":"Checkbox","default_val":false},"AAV":{"caption":"Speed","name":"speed","rank":8,"editor":"StaticNumber","default_val":300},"AAW":{"caption":"vertical","name":"vertical","rank":12,"editor":"Checkbox","default_val":false},"AAX":{"caption":"dots","name":"dots","rank":4,"editor":"Checkbox","default_val":true}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\nrunMain();\nsetStyles();\n\n\nfunction runMain() {\n instance.canvas.append(getPlaceholder());\n}\n\nfunction getPlaceholder(){\n let $box = $(\"<div class='bleap-slider-placeholder'></div>\");\n $box.append('<div>Elements slider Pro container</div>');\n return $box;\n}\n\n\nfunction setStyles() {\n var style = document.createElement('style');\n style.type = 'text/css';\n style.innerHTML = \".bleap-slider-placeholder{background-color: rgb(113 139 237 / 91%); text-align: center; position: absolute; width: 100%; height: 100%; display: grid; }\" +\n \".bleap-slider-placeholder div{ align-self: center; font-size: 20px; font-family: monospace; }\";\n document.getElementsByTagName('head')[0].appendChild(style);\n}\n}\n\n","add_debugger":false},"initialize":{"fn":"","add_debugger":false},"update":{"fn":"function(instance,properties,context){!function(win){\"use strict\";var listeners=[],doc=win.document,MutationObserver=win.MutationObserver||win.WebKitMutationObserver,observer;function ready(selector,fn){listeners.push({selector:selector,fn:fn}),observer||(observer=new MutationObserver(check)).observe(doc.documentElement,{childList:!0,subtree:!0}),check()}function check(){for(var i=0,len=listeners.length,listener,elements;i<len;i++){listener=listeners[i];for(var j=0,jLen=(elements=doc.querySelectorAll(listener.selector)).length,element;j<jLen;j++)(element=elements[j]).ready||(element.ready=!0,listener.fn.call(element,element))}}win.ready=ready}(this);const INFINITE=properties.infinite,SPEED=properties.speed,AUTOPLAY=properties.autoplay,AUTOPLAY_SPEED=properties.autoplay_speed,FADE=properties.fade,VERTICAL=properties.vertical,DOTS=properties.dots;function saveSlideById(slideId){null!=slideId&&(slidesLength++,slideSelectors.push(\"#\"+slideId))}function createSlides(){slideSelectors.forEach(createSlide)}function createSlide(selector,index){ready(selector,(function(element){let $slide=$(selector);$slide.addClass(\"bleap-slide\"),slides[index]=$slide,index+1===slidesLength&&addSlides()}))}
222function addSlides(){slides.forEach(addSlide),setupSlider()}function addSlide($slide){$slider.append($slide)}function setupSlider(){$slider.slick({infinite:INFINITE,speed:SPEED,autoplay:AUTOPLAY,autoplaySpeed:AUTOPLAY_SPEED,fade:FADE,vertical:VERTICAL,nextArrow:getNextBtn(),prevArrow:getPrevBtn(),dots:DOTS});let boxHeight=$slider.height()-50;$(\".slick-elements-slider .slick-track\").css(\"height\",boxHeight)}function getNextBtn(){let $nextBtn=$(\"#\"+properties.next_btn);return $nextBtn.addClass(\"bleap-slider-next-btn\"),$nextBtn.css({cursor:\"pointer\"}),$nextBtn}function getPrevBtn(){let $nextBtn=$(\"#\"+properties.prev_btn);return $nextBtn.addClass(\"bleap-slider-prev-btn\"),$nextBtn.css({cursor:\"pointer\"}),$nextBtn}let $slider=$(\"<div class='bleap-elements-slider'></div>\"),slidesLength=0,slideSelectors=[],slides=[];function setStyles(){var style=document.createElement(\"style\");style.type=\"text/css\",style.innerHTML=\"ul.slick-dots { padding: 0px;}ul.slick-dots li { display: inline-block; margin: 0px 10px;}ul.slick-dots button {border-radius: 50%; background: #D9E0FB; border: none; font-size: 0; height: 12px; width: 12px; display: inline-block; cursor: pointer;}ul.slick-dots .slick-active button {background: #7f95eb;}.bleap-elements-slider {width: 100%; height: 100%; position: relative; text-align: center; }.bleap-slide {position: relative !important; top: initial !important; left: initial !important;}.bleap-slider-prev-btn,.bleap-slider-next-btn {cursor: pointer !important;}\",document.getElementsByTagName(\"head\")[0].appendChild(style)}saveSlideById(properties.slide1),saveSlideById(properties.slide2),saveSlideById(properties.slide3),saveSlideById(properties.slide4),createSlides(),instance.canvas.append($slider),setStyles()}","add_debugger":false},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 223window._bubble_page_load_data.plugins_size['1634415243271x297265394301009900'] = 5746; 224window.preloaded['plugin/third_party:1634415243271x297265394301009900:1.10.0'] = true; 225window.plugins["1641501497659x706740039734263800"] = {"human":"Floppy: localStorage, List Shifter","dependencies":{"use_jquery":false,"plugin_api_version":"4"},"shared_keys":{"AeG":{"caption":"Data API Key","type":"secure"},"AeH":{"caption":"Data API Key 2","type":"client_safe"}},"plugin_elements":{"AGl":{"display":"Floppy","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AGm":{"caption":"Auto Read Storage","default_val":true,"editor":"DynamicValue","name":"auto_storage","optional":true,"rank":4,"value":"boolean"},"AGn":{"caption":"Scalar Key Name","default_val":"Floppy","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":10,"value":"text"},"AGt":{"caption":"Type of Values","editor":"custom_type","name":"type_of_values","rank":7},"AGu":{"caption":"FLOPPY INFO","editor":"Label","name":"info","rank":0},"AGv":{"caption":"Floppy is a multi-purpose plugin for reading and writing values to localStorage. It also has built-in scalar (single value) and list (array) states that are similar to custom states, but with a more robust set of manipulation features. These can be used to construct, modify, and manipulate lists. Additionally, there is basic support for drag and drop manipulation of certain types of Repeating Groups.","editor":"Label","name":"info2","rank":1},"AHC":{"caption":"Editor Icon Color","default_val":"Classic Blue","editor":"Dropdown","name":"icolor","optional":true,"rank":15},"AHW":{"caption":"TYPE AND KEY NAMES SETUP","editor":"Label","name":"scalar_sep","rank":6},"AHX":{"caption":"Each instance of Floppy allows you to store and retrieve both a single (scalar) value and a List (array) of values, both of which are of the same type. Select the type of items Floppy (and the keys it creates) should store/retrieve. Below that, set the key names that the scalar value and list value will be written to.","editor":"Label","name":"info_keys1","rank":8},"AHb":{"caption":"EDITOR OPTIONS","editor":"Label","name":"editor_sep","rank":14},"AHc":{"caption":"List Key Name","default_val":"Floppy-List","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":11,"value":"text"}
225,"AJP":{"caption":"Automatically Retrieve Keys when Updated in Another Window","editor":"Label","name":"auto_read_info","rank":12},"AJQ":{"caption":"Retrieve Key when Updated","default_val":true,"editor":"DynamicValue","name":"retrieve_on_storage","rank":13,"value":"boolean"},"AJo":{"caption":"ADVANCED: SORTABLE RG OPTIONS","editor":"Label","name":"advanced_info","rank":20},"AJp":{"caption":"ID of Repeating Group to Make Draggable","editor":"DynamicValue","name":"drag_rg","optional":true,"rank":21,"value":"text"},"AJq":{"caption":"Drag Delay (ms)","editor":"DynamicValue","name":"drag_delay","optional":true,"rank":23,"value":"number"},"AJr":{"caption":"Ghost BG Color","default_val":"rgba(255, 255, 255, 1)","editor":"Color","name":"ghost_bg_color","optional":true,"rank":27},"AJs":{"caption":"Ghost Opacity","default_val":1,"editor":"DynamicValue","name":"ghost_opacity","optional":true,"rank":28,"value":"number"},"AJt":{"caption":"Ghost CSS","editor":"DynamicValue","name":"ghost_css","optional":true,"rank":29,"value":"text"},"AJu":{"caption":"Animation Time (ms)","editor":"DynamicValue","name":"animation","optional":true,"rank":26,"value":"number"},"AKR":{"caption":"Drag Handle ID","editor":"DynamicValue","name":"drag_handle","optional":true,"rank":22,"value":"text"},"AKU":{"caption":"Storage Type","default_val":"localStorage","editor":"Dropdown","name":"storage_type","optional":false,"rank":2},"AKw":{"caption":"ADVANCED: STEP/ARRAY FUNCTION/COUNT OUPUT TYPES","editor":"Label","name":"array_fn_info","rank":37},"AKx":{"caption":"Array Method Output Type","editor":"custom_type","name":"array_fn_type","optional":true,"rank":39},"ALi":{"caption":"Step Mode List Type","editor":"custom_type","name":"step_type","optional":true,"rank":38},"AMI":{"caption":"Note that, if you're using an instance of Floppy just for its various data processing/list construction features, you can set the Scalar Key Name and List Key Name fields to empty and this essentially disables the \"automatic storage\" features of the plugin.","editor":"Label","name":"info_keys2","rank":9},"AQA":{"caption":"ADVANCED: IndexedDB/localForage Options","editor":"Label","name":"lf_info","rank":16},"AQB":{"caption":"Database Name","editor":"DynamicValue","name":"lf_name","optional":true,"rank":17,"value":"text"},"AQC":{"caption":"Datastore Name","editor":"DynamicValue","name":"lf_store","optional":true,"rank":18,"value":"text"},"AQD":{"caption":"Retrieve Found Keys","default_val":true,"editor":"DynamicValue","name":"findkeys","optional":true,"rank":19,"value":"boolean"},"AVQ":{"caption":"Auto Set RAM","name":"auto_ram","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true},"AVR":{"caption":"RETRIEVE ON INITIALIZE OPTIONS","name":"roi_info","rank":3,"editor":"Label"},"AdQ":{"caption":"Drag Group Name","name":"drag_group","rank":30,"editor":"DynamicValue","value":"text","optional":true},"AdS":{"caption":"Clone (not Move)","name":"clone","rank":31,"editor":"DynamicValue","value":"boolean","optional":true},"AdT":{"caption":"Prohibit Add","name":"no_put","rank":33,"editor":"DynamicValue","value":"boolean","optional":true},"AdU":{"caption":"Revert Clone","name":"revert_clone","rank":32,"editor":"DynamicValue","value":"boolean","optional":true},"AdY":{"caption":"Prohibit Add Duplicates","name":"no_dupe","rank":34,"editor":"DynamicValue","value":"boolean","optional":true},"AdZ":{"caption":"Add Placeholder","name":"hold","rank":35,"editor":"Dropdown","optional":true},"Adb":{"caption":"Custom Placeholder","name":"placeholder","rank":36,"editor":"DynamicValue","value":"custom_data_AGt","optional":true},"Ade":{"caption":"Delay on Touch Only","name":"drag_delay_touch","rank":24,"editor":"DynamicValue","value":"boolean","optional":true},"Adf":{"caption":"Touch Start Threshold (px)","name":"touch_start_threshold","rank":25,"editor":"DynamicValue","value":"number","optional":true}},"states":{"AGo":{"caption":"Initialized","initialization_code":{"fn":"function(properties,context){}"},"name":"initialized","value":"boolean"},"AGr":{"caption":"Scalar Value (Storage)","initialization_code":{"fn":"function(properties,context){}"},"name":"scalar_value","value":"custom_data_AGt"},"AHE":{"caption":"List Values (Storage)","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_values","value":"custom_data_AGt"},"AHV":{"caption":"Keys Found in Storage","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"keys_found_in_localstorage","value":"text"},"AHn":{"caption":"Scalar Key","initialization_code":{"fn":"function(properties,context){}"},"name":"key_name_scalar","value":"text"},"AHo":{"caption":"List Key","initialization_code":{"fn":"function(properties,context){}"},"name":"key_name_list","value":"text"},"AIN":{"caption":"RAM Scalar Value","initialization_code":{"fn":"function(properties,context){}"},"name":"ram_scalar_value","value":"custom_data_AGt"},"AIO":{"caption":"RAM List Values","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"ram_list_value","value":"custom_data_AGt"},"AIe":{"caption":"Utility: JavaScript Minimum Date","initialization_code":{"fn":"function(properties,context){}"},"name":"min_js_date","value":"date"},"AJM":{"caption":"Utility: List Field Counts 1","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"field_counts_1","value":"number"},"AKV":{"caption":"Utility: List Field Counts 2","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"field_counts_2","value":"number"}
225,"AKW":{"caption":"Utility: List Field Counts 3","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"field_counts_3","value":"number"},"AKf":{"caption":"Stepping","initialization_code":{"fn":"function(properties,context){}"},"name":"stepping","value":"boolean"},"AKg":{"caption":"Step Index (0-based)","initialization_code":{"fn":"function(properties,context){}"},"name":"step_index_0","value":"number"},"AKh":{"caption":"Step Index (1-based)","initialization_code":{"fn":"function(properties,context){}"},"name":"step_index_1","value":"number"},"AKi":{"caption":"Step Item","initialization_code":{"fn":"function(properties,context){}"},"name":"step_item","value":"custom_data_ALi"},"AKj":{"caption":"Step Entire List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"step_list","value":"custom_data_ALi"},"AKy":{"caption":"Code: Array Method Output List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"method_output","value":"custom_data_AKx"},"AMM":{"caption":"Code: Array Method Function Slot","initialization_code":{"fn":"function(properties,context){}"},"name":"method_slot","value":"number"},"AMg":{"caption":"Utility: List Math Result 1","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_1","value":"number"},"AMh":{"caption":"Utility: List Math Result 2","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_2","value":"number"},"AMi":{"caption":"Utility: List Math Result 3","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_3","value":"number"},"AMj":{"caption":"Utility: List Math Result 4","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_4","value":"number"},"AMk":{"caption":"Utility: List Math Result 5","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_math_result_5","value":"number"},"ANB":{"caption":"List Math Result Number","initialization_code":{"fn":"function(properties,context){}"},"is_list":false,"name":"list_math_output","value":"number"},"AOn":{"caption":"Utility: Count/Sort Items List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"count_list_output","value":"custom_data_AGt"},"AOu":{"caption":"Utility: Count Custom Number List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"count_list_custom","value":"number"},"AQH":{"caption":"InDB: Database Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_db_name","value":"text"},"AQI":{"caption":"InDB: Datastore Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_ds_name","value":"text"},"Ada":{"caption":"Utility: RAM List Values + Placeholder","name":"ram_list_value_ph","value":"custom_data_AGt","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Adc":{"caption":"Utility: Placeholder Value","name":"placeholder","value":"custom_data_AGt","initialization_code":{"fn":"function(properties,context){}"}},"Add":{"caption":"Utility: Placeholder Index Adjust","name":"index_adjust","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AGy":{"caption":"Initialized","name":"initialized"},"AGz":{"caption":"Updated","name":"updated"},"AHA":{"caption":"Stored Scalar Key","name":"stored_scalar_key"},"AHh":{"caption":"Stored List Key","name":"stored_list_key"},"AHi":{"caption":"Retrieved Scalar Key","name":"retrieved_scalar_key"},"AHj":{"caption":"Retrieved List Key","name":"retrieved_list_key"},"AHk":{"caption":"Removed Scalar Key","name":"removed_scalar_key"},"AHl":{"caption":"Removed List Key","name":"removed_list_key"},"AHs":{"caption":"Cleared Storage","name":"cleared_storage"},"AIB":{"caption":"Wrote Arbitrary Scalar Key","name":"wrote_arbitrary_scalar_key"},"AIC":{"caption":"Wrote Arbitrary List Key","name":"wrote_arbitrary_list_key"},"AIK":{"caption":"Updated RAM Scalar Value","name":"updated_ram_scalar_value"},"AIL":{"caption":"Updated RAM List Values","name":"updated_ram_list_value"},"AJN":{"caption":"Scalar Key Modified (in Other Window)","name":"scalar_storage_modified"},"AJO":{"caption":"List Key Modified (in Other Window)","name":"list_storage_modified"},"AKM":{"caption":"Updated RAM List Values Via User Drag/Drop (Any Change)","name":"updated_ram_list_user_drop"},"AKd":{"caption":"Count Each Field/Sort Complete","name":"count_each_field_complete"},"AKk":{"caption":"Stepping Started","name":"stepping_started"},"AKl":{"caption":"Step Trigger","name":"step_trigger"},"AKm":{"caption":"Stepping Complete","name":"stepping_complete"},"ALY":{"caption":"Code: Array Method Complete","name":"code_complete"},"ANA":{"caption":"List Math Complete","name":"list_math_complete"},"AND":{"caption":"List Math Outputs Cleared","name":"list_math_outputs_cleared"},"ATr":{"caption":"Make Numeric List Complete","name":"make_numeric_list_complete"},"AVJ":{"caption":"Sync Trigger A","name":"sync_a"},"AVM":{"caption":"Sync Trigger B","name":"sync_b"},"AVN":{"caption":"Sync Trigger C","name":"sync_c"},"AVO":{"caption":"Sync Trigger D","name":"sync_d"},"AWX":{"caption":"Sync Trigger E","name":"sync_e"},"AWY":{"caption":"Sync Trigger F","name":"sync_f"},"AWZ":{"caption":"Sync Trigger G","name":"sync_g"},"AWa":{"caption":"Sync A Workflow Complete","name":"sync_wf_a"},"AWb":{"caption":"Sync B Workflow Complete","name":"sync_wf_b"},"AWc":{"caption":"Sync C Workflow Complete","name":"sync_wf_c"},"AWd":{"caption":"Sync D Workflow Complete","name":"sync_wf_d"},"AWe":{"caption":"Sync E Workflow Complete","name":"sync_wf_e"},"AWf":{"caption":"Sync F Workflow Complete","name":"sync_wf_f"},"AWg":{"caption":"Sync G Workflow Complete","name":"sync_wf_g"},"AdV":{"caption":"Added RAM List Via User Drag/Drop","name":"added_ram_list_user_drop"},"AdW":{"caption":"Removed RAM List Via User Drag/Drop","name":"removed_ram_list_user_drop"},"AdX":{"caption":"Sorted RAM List Via User Drag/Drop","name":"sorted_ram_list_user_drop"}},"actions":{"AHH":{"caption":"Store Keys","fields":{"AHI":{"caption":"Execute this action to store a value in local/sessionStorage at Floppy's Key Names.","editor":"Label","name":"info","rank":0},"AHJ":{"caption":"This action is partly synchronous with respect to other Floppy actions in a workflow. Floppy's Scalar and List Value (Storage) outputs are updated synchronously, but the actual writing to storage is asynchronous. When the action is truly complete, the Stored Scalar Key and/or Stored List Key events are triggered.","editor":"Label","name":"info2","rank":1},"AHK":{"caption":"Scalar Key Name","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":4,"value":"text"},"AHL":{"caption":"Scalar Value","editor":"DynamicValue","name":"value","o
225ptional":true,"rank":5,"value":"custom_data_element_AGt"},"AHM":{"caption":"List Value","editor":"DynamicValue","is_list":true,"name":"list_value","optional":true,"rank":9,"value":"custom_data_element_AGt"},"AHe":{"caption":"List Key Name","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":8,"value":"text"},"AOe":{"caption":"Store Scalar","default_val":true,"editor":"DynamicValue","name":"store_scalar","optional":true,"rank":3,"value":"boolean"},"AOf":{"caption":"Store List","default_val":true,"editor":"DynamicValue","name":"store_list","optional":true,"rank":7,"value":"boolean"},"AOg":{"caption":"SCALAR KEY TO STORE","editor":"Label","name":"scalar_info","rank":2},"AOh":{"caption":"LIST KEY TO STORE","editor":"Label","name":"list_info","rank":6},"AVY":{"caption":"SYNC OPTION","name":"sync_op","rank":10,"editor":"Label"},"AVc":{"caption":"Sync Trigger","name":"sync_trigger","rank":11,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionStoreKeys(instance,properties,context):console.log(\"Floppy is not initialized. Store Keys will not run.\")}"}},"AHN":{"caption":"Retrieve Keys","fields":{"AHO":{"caption":"Execute this action to manually retrieve the values stored in browser storage, at the keys specified in Floppy's main interface (under \"Scalar Key Name\" and \"List Key Name\").","editor":"Label","name":"info","rank":0},"AHP":{"caption":"This action is asynchronous, but when it is complete, the \"Retrieved Scalar Key\" and/or \"Retrieved List Key\" events are triggered.","editor":"Label","name":"info2","rank":2},"AOi":{"caption":"The newly-read values will appear at Floppy's \"Scalar Value (Storage)\" and \"List Values (Storage)\" outputs.","editor":"Label","name":"info3","rank":1},"AOk":{"caption":"NOTE: There's really no reason to ever execute this action unless you've set \"Automatic Retrieval\" to \"no\" in the main Floppy interface.","editor":"Label","name":"info4","rank":3},"AVf":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AVg":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRetrieveKey(instance,properties,context):console.log(\"Floppy is not initialized. Retrieve Key will not run.\")}"}},"AHR":{"caption":"Remove Keys","fields":{"AHS":{"caption":"Execute this action to completely remove the specified Key(s) from local/sessionStorage.","editor":"Label","name":"info","rank":0},"AHT":{"caption":"This action is synchronous and, when it is complete, the Removed Scalar Key and/or Removed List Key events are triggered.","editor":"Label","name":"info2","rank":1},"AHU":{"caption":"Scalar Key Name","default_val":"","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":3,"value":"text"},"AHg":{"caption":"List Key Name","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":5,"value":"text"},"AOl":{"caption":"Remove Scalar Key","default_val":true,"editor":"DynamicValue","name":"remove_scalar","optional":true,"rank":2,"value":"boolean"},"AOm":{"caption":"Remove List Key","default_val":true,"editor":"DynamicValue","name":"remove_list","optional":true,"rank":4,"value":"boolean"},"AVh":{"caption":"SYNC OPTION","name":"sync_option","rank":6,"editor":"Label"},"AVi":{"caption":"Sync Trigger","name":"sync_trigger","rank":7,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRemoveKey(instance,properties,context):console.log(\"Floppy is not initialized. Remove Key will not run.\")}"}},"AHp":{"caption":"Clear All Keys","fields":{"AHq":{"caption":"Execute this action to clear all of session/localStorage.","editor":"Label","name":"info","rank":0},"AHr":{"caption":"Note that this action removes ALL key/value pairs in your app's browser storage managed by this Floppy, even those that you didn't create. To remove a specific key from localStorage, use the Remove Keys action. This action is synchronous and, when it is complete, the Cleared Storage event is triggered.","editor":"Label","name":"info2","rank":1},"AVj":{"caption":"SYNC OPTION","name":"sync_option","rank":2,"editor":"Label"},"AVk":{"caption":"Sync Trigger","name":"sync_trigger","rank":3,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClear(instance,properties,context):console.log(\"Floppy is not initialized. Clear All Keys will not run.\")}"}},"AHu":{"caption":"Write Key Any Type","fields":{"AHv":{"caption":"Type of Values","editor":"custom_type","name":"type_of_values","optional":false,"rank":2},"AHw":{"caption":"Execute this action to store any type of value in browser storage with any arbitrary key name. Note that a single Floppy element can only RETRIEVE one type of data, but a single Floppy element can be used to WRITE (store) any type of keys. This action is provided to enable you to build pages where you want to write various values to storage, but do not necessarily need to retrieve them -- without having to put multiple Floppy elements on the page.","editor":"Label","name":"info","rank":0},"AHx":{"caption":"Scalar Key Name","editor":"DynamicValue","name":"key_name_scalar","optional":true,"rank":3,"value":"text"},"AHy":{"caption":"Scalar Value","editor":"DynamicValue","name":"key_value_scalar","optional":true,"rank":4,"value":"custom_data_AHv"},"AHz":{"caption":"List Key Name","editor":"DynamicValue","name":"key_name_list","optional":true,"rank":5,"value":"text"},"AIA":{"caption":"List Value","editor":"DynamicValue","is_list":true,"name":"key_value_list","optional":true,"rank":6,"value":"custom_data_AHv"},"AIM":{"caption":"This action is asynchronous but, when the action is complete, the Wrote Arbitrary Scalar Key and/or Wrote Arbitrary List Key events are triggered.","editor":"Label","name":"info2","rank":1},"AVl":{"caption":"SYNC OPTION","name":"sync_option","rank":7,"editor":"Label"},"AVm":{"caption":"Sync Trigger","name":"sync_trigger","rank":8,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionWriteAnyKey(instance,properties,context):console.log(\"Floppy is not initialized. Write Key (Any Type) will not run.\")}"}},"AID":{"caption":"Set RAM Scalar Value","fields":{"AIE":{"caption":"Execute this action to update Floppy's Scalar Value, with or without also Storing that value to the default key.","editor":"Label","name":"info","rank":0},"AIF":{"caption":"RAM Scalar Value","editor":"DynamicValue","name":"value","o
225ptional":true,"rank":2,"value":"custom_data_element_AGt"},"AIH":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":3,"value":"boolean"},"AIJ":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AVo":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AVp":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionSetRamScalar(instance,properties,context):console.log(\"Floppy is not initialized. Set RAM Scalar Value will not run.\")}"}},"AIG":{"caption":"Set RAM List Value","fields":{"AIP":{"caption":"Execute this action to update Floppy's RAM List Value, with or without also Storing that value.","editor":"Label","name":"info","rank":0},"AIQ":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIR":{"caption":"RAM List Value","editor":"DynamicValue","is_list":true,"name":"list_value","optional":true,"rank":2,"value":"custom_data_element_AGt"},"AIS":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":3,"value":"boolean"},"AVq":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AVr":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionSetRamList(instance,properties,context):console.log(\"Floppy is not initialized. Set RAM List Value will not run.\")}"}},"AIT":{"caption":"Add RAM List Value(s)","fields":{"AIU":{"caption":"Execute this action to update Floppy's RAM List Values by adding a value or values to the list. The various options allow you to append the new value(s) to the end of the list, prepend the new values to the beginning of the list, or insert the value(s) at some specific point in the list.","editor":"Label","name":"info","rank":0},"AIV":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIW":{"caption":"Add List of Values","editor":"DynamicValue","is_list":true,"name":"list_value","optional":true,"rank":4,"value":"custom_data_element_AGt"},"AIX":{"caption":"Add at","default_val":"End of List","editor":"Dropdown","name":"add_at","rank":8},"AIY":{"caption":"Index Number","editor":"DynamicValue","name":"index","optional":true,"rank":9,"value":"number"},"AId":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":12,"value":"boolean"},"AIt":{"caption":"Prohibit Duplicates","editor":"DynamicValue","name":"dedupe","optional":true,"rank":11,"value":"boolean"},"AIu":{"caption":"Add Single Value","editor":"DynamicValue","name":"scalar_value","optional":true,"rank":3,"value":"custom_data_element_AGt"},"AJT":{"caption":"SPECIFY VALUE TO ADD","editor":"Label","name":"value_info","rank":2},"AJU":{"caption":"ADDITIONAL OPTIONS","editor":"Label","name":"options_info","rank":10},"AJV":{"caption":"POSITION OPTIONS","editor":"Label","name":"position_options","rank":7},"AJW":{"caption":"Add \"Empty\" Value(s)","editor":"DynamicValue","name":"empty_value","optional":true,"rank":5,"value":"boolean"},"AJX":{"caption":"# Empty Values to Add","editor":"DynamicValue","name":"num_empty","optional":true,"rank":6,"value":"number"},"AVs":{"caption":"SYNC OPTION","name":"sync_option","rank":13,"editor":"Label"},"AVt":{"caption":"Sync Trigger","name":"sync_trigger","rank":14,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionAddRamList(instance,properties,context):console.log(\"Floppy is not initialized. Add RAM List Value(s) will not run.\")}"}},"AIf":{"caption":"Remove RAM List Value(s)","fields":{"AIg":{"caption":"Execute this Action to remove an item or items from Floppy's RAM List.","editor":"Label","name":"info","rank":0},"AIh":{"caption":"Remove Single Index","editor":"DynamicValue","name":"index","optional":true,"rank":3,"value":"number"},"AIi":{"caption":"Num Items to Remove","editor":"DynamicValue","name":"num_items","optional":true,"rank":4,"value":"number"},"AIj":{"caption":"Remove Single Value","editor":"DynamicValue","name":"value_to_remove","optional":true,"rank":7,"value":"custom_data_element_AGt"},"AIk":{"caption":"REMOVE ITEM(S) BY INDEX","editor":"Label","name":"index_sep","rank":2},"AIl":{"caption":"OR... REMOVE ITEM(S) BY VALUE","editor":"Label","name":"value_sep","rank":6},"AIm":{"caption":"Remove List of Values","editor":"DynamicValue","is_list":true,"name":"values_to_remove","optional":true,"rank":8,"value":"custom_data_element_AGt"},"AIn":{"caption":"Remove Items by Value Method:","editor":"Label","name":"remove_options_info","rank":9},"AIo":{"caption":"Behavior","default_val":"Remove first instance","editor":"Dropdown","name":"remove_option","rank":10},"AIp":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":11},"AIq":{"caption":"Store New Value","editor":"DynamicValue","name":"store","o
225ptional":true,"rank":12,"value":"boolean"},"AIr":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIs":{"caption":"Remove List of Indices","editor":"DynamicValue","is_list":true,"name":"indices","optional":true,"rank":5,"value":"number"},"AVu":{"caption":"SYNC OPTION","name":"sync_option","rank":13,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRemoveRamList(instance,properties,context):console.log(\"Floppy is not initialized. Remove RAM List Value(s) will not run.\")}"}},"AIv":{"caption":"Change RAM List Value(s)","fields":{"AIw":{"caption":"Execute this Action to change an existing item or items from Floppy's RAM List.","editor":"Label","name":"info","rank":0},"AIx":{"caption":"This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM Scalar Value event is triggered.","editor":"Label","name":"info2","rank":1},"AIz":{"caption":"SELECT ITEM(S) TO CHANGE BY INDEX","editor":"Label","name":"index_sep","rank":2},"AJA":{"caption":"Change Single Index","editor":"DynamicValue","name":"index","optional":true,"rank":3,"value":"number"},"AJB":{"caption":"Change List of Indices","editor":"DynamicValue","is_list":true,"name":"indices","optional":true,"rank":4,"value":"number"},"AJC":{"caption":"OR... SELECT ITEMS(S) TO CHANGE BY VALUE","editor":"Label","name":"value_sep","rank":5},"AJD":{"caption":"Change Single Value","editor":"DynamicValue","name":"value_to_change","optional":true,"rank":6,"value":"custom_data_element_AGt"},"AJE":{"caption":"Change List of Values","editor":"DynamicValue","is_list":true,"name":"values_to_change","optional":true,"rank":7,"value":"custom_data_element_AGt"},"AJF":{"caption":"SPECIFY NEW VALUE(S)","editor":"Label","name":"value_sep","rank":8},"AJG":{"caption":"Single Value","editor":"DynamicValue","name":"value","optional":true,"rank":9,"value":"custom_data_element_AGt"},"AJH":{"caption":"List of Values","editor":"DynamicValue","is_list":true,"name":"values","optional":true,"rank":10,"value":"custom_data_element_AGt"},"AJI":{"caption":"Change Items by Value Method:","editor":"Label","name":"change_options_info","rank":12},"AJJ":{"caption":"Behavior","default_val":"Change first instance","editor":"Dropdown","name":"change_option","rank":13},"AJK":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":14},"AJL":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":15,"value":"boolean"},"AJY":{"caption":"Use \"Empty\" Values","editor":"DynamicValue","name":"empty_value","optional":true,"rank":11,"value":"boolean"},"AVv":{"caption":"SYNC OPTION","name":"sync_option","rank":16,"editor":"Label"},"AVw":{"caption":"Sync Trigger","name":"sync_trigger","rank":17,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionChangeRamList(instance,properties,context):console.log(\"Floppy is not initialized. Change RAM List Value(s) will not run.\")}"}},"AJR":{"caption":"Clear RAM List Values","fields":{"AJb":{"caption":"Execute this action to clear all items from Floppy's RAM List Values, causing that list to become empty. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"clear_info","rank":0},"AJc":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":1},"AJd":{"caption":"Remove List Key","editor":"DynamicValue","name":"store","optional":true,"rank":2,"value":"boolean"},"AVx":{"caption":"SYNC OPTION","name":"sync_option","rank":3,"editor":"Label"},"AVy":{"caption":"Sync Trigger","name":"sync_trigger","rank":4,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClearRAM(instance,properties,!0,context):console.log(\"Floppy is not initialized. Clear RAM List Values will not run.\")}"}},"AJa":{"caption":"Clear RAM Scalar Value","fields":{"AJf":{"caption":"Execute this action to clear Floppy's RAM Scalar Value, causing it to become empty. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated Ram Scalar Value event is triggered.","editor":"Label","name":"clear_info","rank":0},"AJg":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_sep","rank":1},"AJh":{"caption":"Remove Scalar Key","editor":"DynamicValue","name":"store","o
225ptional":true,"rank":2,"value":"boolean"},"AVz":{"caption":"SYNC OPTION","name":"sync_option","rank":3,"editor":"Label"},"AWA":{"caption":"Sync Trigger","name":"sync_trigger","rank":4,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClearRAM(instance,properties,!1,context):console.log(\"Floppy is not initialized. Clear RAM Scalar Value will not run.\")}"}},"AJi":{"caption":"SHIFT: Move RAM List Item","fields":{"AJj":{"caption":"Current Index of Item","editor":"DynamicValue","name":"from","rank":1,"value":"number"},"AJk":{"caption":"New Index of Item","editor":"DynamicValue","name":"to","rank":2,"value":"number"},"AJl":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":3},"AJm":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":4,"value":"boolean"},"AJn":{"caption":"Execute this action to move a value in Floppy's RAM List from one index to another. If either index is out-of-bounds, nothing will happen. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"move_info","rank":0},"AWB":{"caption":"SYNC OPTION","name":"sync_option","rank":5,"editor":"Label"},"AWC":{"caption":"Sync Trigger","name":"sync_trigger","rank":6,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionMoveRAMItem(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Move RAM List Item will not run.\")}"}},"AJw":{"caption":"SHIFT: Reverse RAM List","fields":{"AJx":{"caption":"Execute this action to reverse the order of the values in Floppy's RAM List. You can optionally store the values to local/sessionStorage. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"reverse_info","rank":0},"AJy":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":2,"value":"boolean"},"AJz":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":1},"AWD":{"caption":"SYNC OPTION","name":"sync_option","rank":3,"editor":"Label"},"AWE":{"caption":"Sync Trigger","name":"sync_trigger","rank":4,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionReverseRAMList(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Reverse RAM List will not run.\")}"}},"AKA":{"caption":"SHIFT: Rotate RAM List","fields":{"AKB":{"caption":"Rotate by","editor":"DynamicValue","name":"rotate_by","optional":true,"rank":1,"value":"number"},"AKD":{"caption":"Execute this action to rotate the values in Floppy's RAM List by some amount. You can optionally store the values to browser storage. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"rotate_info","rank":0},"AKE":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":2},"AKF":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":3,"value":"boolean"},"AWF":{"caption":"SYNC OPTION","name":"sync_option","rank":4,"editor":"Label"},"AWG":{"caption":"Sync Trigger","name":"sync_trigger","rank":5,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRotateRAMList(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Rotate RAM List will not run.\")}"}},"AKG":{"caption":"SHIFT: Swap RAM List Items","fields":{"AKH":{"caption":"Execute this action to swap the positions of 2 items in Floppy's RAM List. You can optionally store the values to browser storage. This action is partly synchronous (the updated value is published synchronously, but the \"Store New Value\" part is asynchronous) and, when it is complete, the Updated RAM List Value event is triggered.","editor":"Label","name":"swap_info","rank":0},"AKI":{"caption":"Item 1 Index","editor":"DynamicValue","name":"index1","optional":true,"rank":1,"value":"number"},"AKJ":{"caption":"Item 2 Index","editor":"DynamicValue","name":"index2","o
225ptional":true,"rank":2,"value":"number"},"AKK":{"caption":"STORAGE OPTION","editor":"Label","name":"storage_option","rank":3},"AKL":{"caption":"Store New Value","editor":"DynamicValue","name":"store","optional":true,"rank":4,"value":"boolean"},"AWH":{"caption":"SYNC OPTION","name":"sync_option","rank":5,"editor":"Label"},"AWI":{"caption":"Sync Trigger","name":"sync_trigger","rank":6,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionSwapRAMList(instance,properties,context):console.log(\"Floppy is not initialized. SHIFT: Swap RAM List Items will not run.\")}"}},"AKN":{"caption":"Store RAM List to List Key","fields":{"AKO":{"caption":"Execute this action to take the current RAM List and save it to Floppy's default List Key. This is merely a convenience action - it's nothing you can't do with the \"Store Key\" action, but the interface is simplified (there are no options). The current contents of Floppy's RAM List are written to the default List Key. This action is asynchronous but, when it is complete, the Stored List Key event is triggered. ","editor":"Label","name":"store_ram_list_info","rank":0},"AWJ":{"caption":"SYNC OPTION","name":"sync_option","rank":1,"editor":"Label"},"AWK":{"caption":"Sync Trigger","name":"sync_trigger","rank":2,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcStoreKey(instance,instance.data.key_name_list,instance.data.ram_list_value,properties,context):console.log(\"Floppy is not initialized. Store RAM List to List Key will not run.\")}"}},"AKP":{"caption":"Store RAM Scalar to Scalar Key","fields":{"AKQ":{"caption":"Execute this action to take the current RAM Scalar and save it to Floppy's default Scalar Key. This is merely a convenience action - it's nothing you can't do with the \"Store Key\" action, but the interface is simplified (there are no options). The current contents of Floppy's RAM Scalar are written to the default Scalar Key. This action is asynchronous but, when it is complete, the Stored Scalar Key event is triggered.","editor":"Label","name":"store_ram_scalar_info","rank":0},"AWL":{"caption":"SYNC OPTION","name":"sync_option","rank":1,"editor":"Label"},"AWM":{"caption":"Sync Trigger","name":"sync_trigger","rank":2,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcStoreKey(instance,instance.data.key_name_scalar,instance.data.ram_scalar_value,properties,context):console.log(\"Floppy is not initialized. Store RAM Scalar to Scalar Key will not run.\")}"}},"AKT":{"caption":"Utility: Count Each Field/Sort","fields":{"AKX":{"caption":"Execute this action to count the number of items in some field(s) on a Thing. You can optionally sort the Things by these counts, or a custom numeric list. The List Expression input below is echoed to the \"Utility: Count/Sort Items List\" output. Counts associated with the various fields are output to the \"Utility: List Field Counts n\" outputs. If the \"Sort\" option is selected, all of those outputs will be sorted, as requested. When computation and publishing is complete (this action is synchronous with respect to other Floppy actions), the \"Count Each Field/Sort Complete\" event is triggered.","editor":"Label","name":"count_fields_info","rank":0},"AOp":{"caption":"Sort by Field Count","editor":"Dropdown","name":"sort_by","optional":true,"rank":8},"AOq":{"caption":"SORT OPTIONS","editor":"Label","name":"sort_options_info","rank":7},"AOr":{"caption":"Sort Descending","editor":"DynamicValue","name":"descending","optional":true,"rank":10,"value":"boolean"},"AOt":{"caption":"Custom Count","editor":"DynamicValue","is_list":true,"name":"custom_count","optional":true,"rank":6,"value":"number"},"ATe":{"caption":"Count/Sort List Type","name":"count_list_type","rank":1,"editor":"custom_type","optional":false},"ATf":{"caption":"List Expression","name":"list","rank":2,"editor":"DynamicValue","value":"custom_data_ATe","is_list":true},"ATg":{"caption":"Field to Count 1","name":"field_1","rank":3,"editor":"custom_field_ATe","optional":true},"ATh":{"caption":"Field to Count 2","name":"field_2","rank":4,"editor":"custom_field_ATe","optional":true},"ATi":{"caption":"Field to Count 3","name":"field_3","rank":5,"editor":"custom_field_ATe","optional":true}
225,"ATj":{"caption":"Sort by Field (as Number)","name":"sort_by_number","rank":9,"editor":"DynamicValue","optional":true,"value":"number"},"AWN":{"caption":"SYNC OPTION","name":"sync_option","rank":11,"editor":"Label"},"AWO":{"caption":"Sync Trigger","name":"sync_trigger","rank":12,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionCountEachField(instance,properties,context):console.log(\"Floppy is not initialized. Utility: Count Each Field will not run.\")}"}},"AKo":{"caption":"STEP: Begin Stepping","fields":{"AKp":{"caption":"Execute this action to begin stepping mode, which allows you to build iterative workflows. You can step over the items in a List and, for each step, Floppy will expose data at the following outputs:","editor":"Label","name":"step_begin_info","rank":0},"ALb":{"caption":"1. Step Index (0-based): The index (iteration number) of the current step, starting from 0.","editor":"Label","name":"step_begin_info_2","rank":1},"ALc":{"caption":"2. Step Index (1-based): The index of the current step, starting from 1.","editor":"Label","name":"step_begin_info_3","rank":2},"ALd":{"caption":"3. Step Item: The List item corresponding to the current step (a scalar value).","editor":"Label","name":"step_begin_info_4","rank":3},"ALe":{"caption":"4. Step Entire List: The entire contents of the List being stepped over.","editor":"Label","name":"step_begin_info_5","rank":4},"ALg":{"caption":"LIST TO STEP","editor":"Label","name":"list_sel_info","rank":6},"ALh":{"caption":"IMPORTANT: First specify the list's type using the \"Step Mode List Type\" field in the main Floppy interface.","editor":"Label","name":"list_sel_info_2","rank":7},"ALj":{"caption":"List to Step","editor":"DynamicValue","is_list":true,"name":"step_list","optional":true,"rank":8,"value":"custom_data_element_ALi"},"ALk":{"caption":"NUMERIC STEPPING","editor":"Label","name":"num_step_info","rank":9},"ALl":{"caption":"Instead of providing a list above, you can step arbitrary number of times by creating a numeric list. (If you use this option, \"Step Mode List Type\" must be set to \"number\" in the main Floppy interface. Note: Providing values here overrides any \"List to Step\" defined above.","editor":"Label","name":"num_step_info","rank":10},"ALm":{"caption":"Number of steps","editor":"DynamicValue","name":"num_items","optional":true,"rank":11,"value":"number"},"ALn":{"caption":"Start at","editor":"DynamicValue","name":"start","optional":true,"rank":12,"value":"number"},"ALo":{"caption":"Increment by","editor":"DynamicValue","name":"increment","optional":true,"rank":13,"value":"number"},"ALp":{"caption":"DEBUG MODE","editor":"Label","name":"debug_info","rank":14},"ALq":{"caption":"Debug Mode","editor":"DynamicValue","name":"debug","optional":true,"rank":15,"value":"boolean"},"ALs":{"caption":"Executing this action initializes stepping and triggers two events - \"Stepping Started\" and the first \"Step Trigger\" event. Use the \"Step Trigger\" event to execute some desired workflow(s). At the end of those workflows, execute the \"STEP: Next Step\" action to advance stepping and trigger the next \"Step Trigger\" event. Stepping will continue until the entire list has been stepped. At that point, step mode is ended and the \"Stepping Complete\" event is triggered.","editor":"Label","name":"step_begin_info_6","rank":5},"ALu":{"caption":"ADVANCED OPTIONS","editor":"Label","name":"advanced_options","rank":17},"ALv":{"caption":"Clear Step Outputs on End","default_val":true,"editor":"DynamicValue","name":"step_clear","optional":true,"rank":19,"value":"boolean"},"ALw":{"caption":"Infinite Looping","editor":"DynamicValue","name":"step_loop","optional":true,"rank":20,"value":"boolean"},"AMD":{"caption":"Reverse List?","editor":"DynamicValue","name":"reverse","optional":true,"rank":18,"value":"boolean"},"ATc":{"caption":"Debug Name","name":"debug_name","rank":16,"editor":"DynamicValue","value":"text","optional":true,"default_val":"Some Floppy"}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionBeginStep(instance,properties):console.log(\"Floppy is not initialized. STEP: Begin Stepping will not run.\")}"}},"AKq":{"caption":"STEP: Next Step","fields":{"AKr":{"caption":"Execute this action to increment to the next step. This action will have no effect unless stepping is currently active. Begin stepping by executing the \"STEP: Begin Stepping\" action.","editor":"Label","name":"next_step_info","rank":0},"ALr":{"caption":"Executing this action advances stepping to the next item and triggers either (1) the next \"Step Trigger\" event or (2) the \"Stepping Complete\" event, if we've already stepped over the complete list. If Step mode is started using the \"Infinite Loop\" option, the \"Stepping Complete\" event is never sent and instead of ending, the index/item loops back to the first index.","editor":"Label","name":"next_step_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionNextStep(instance):console.log(\"Floppy is not initialized. STEP: Next Step will not run.\")}"}},"AKs":{"caption":"STEP: End Stepping","fields":{"AKt":{"caption":"Execute this action to exit step mode prematurely (typically, stepping will continue until all items have been stepped over.","editor":"Label","name":"end_step_info","rank":0},"ALt":{"caption":"In typical use, there's no need to manually end stepping -- the \"STEP: Next Step\" action takes care of that for you once the entire list has been stepped. This action is only necessary if you wish to abort stepping for some programmatic reason. ","editor":"Label","name":"end_step_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionEndStep(instance):console.log(\"Floppy is not initialized. STEP: End Stepping will not run.\")}"}},"AKu":{"caption":"Code: Array Method","fields":{"AKv":{"caption":"Execute this action to run a variety of JavaScript array functions on some List. This action is synchronous and, when it is complete, the \"Code: Array Method Complete\" event is triggered.","editor":"Label","name":"array_fn_info","rank":0},"AKz":{"caption":"Function Type","default_val":".map()","editor":"Dropdown","name":"function_type","rank":2},"ALA":{"caption":"Function Code","default_val":"// write your function body here. You don't need to wrap it in curly braces, but note that in most cases you should have an explicit return statement!","editor":"DynamicValue","name":"code","rank":12,"value":"text"},"ALB":{"caption":"Item Argument","default_val":"item","editor":"StaticText","name":"1_arg_core_item_name","optional":false,"rank":6,"value":"text"},"ALC":{"caption":"Index Argument","default_val":"index","editor":"StaticText","name":"2_arg_core_index_name","optional":false,"rank":7,"value":"text"},"ALD":{"caption":"Array Argument","default_val":"array","editor":"StaticText","name":"3_arg_core_array_name","optional":false,"rank":8,"value":"text"},"ALE":{"caption":"ARGUMENTS","editor":"Label","name":"arg_info","rank":3},"ALF":{"caption":"All of the array (list) methods accept up to 3 parameters that represent: (1) the current item being processed, (2) the index of the array item being processed, and (3) the full array being sent to the function. The text fields below represent how these arguments are named. There's very little reason to change from the defaults, but I like to let you be you.","editor":"Label","name":"arg_info_2","rank":4},"ALG":{"caption":"Custom List","editor":"DynamicValue","is_list":true,"name":"list","optional":true,"rank":10,"value":"_any_thing"},"ALH":{"caption":"ARGUMENT NAMES","editor":"Label","name":"argument_names","rank":5},"ALI":{"caption":"LIST SELECTION: LEAVE LIST EXPRESSION BELOW EMPTY TO PROCESS FLOPPY'S RAM LIST OR SPECIFY A CUSTOM LIST","editor":"Label","name":"list_sel_info","rank":9},"ALJ":{"caption":"IMPORTANT: To use this action, you should first specify a type for the Array \"Function Output Type\" found in the ADVANCED section of the main Flo
225ppy interface.","editor":"Label","name":"array_fn_info_2","rank":1},"ALL":{"caption":"OPTIONAL ARGUMENTS","editor":"Label","name":"opt_arg_info","rank":13},"ALM":{"caption":"You can pass additional arguments by naming them and providing values that will be evaluated and passed to the function when this action is executed.","editor":"Label","name":"opt_arg_info2","rank":14},"ALN":{"caption":"Arg 1 Name","editor":"DynamicValue","name":"1_optarg_1_name","optional":true,"rank":15,"value":"text"},"ALO":{"caption":"Arg 1 Value","editor":"DynamicValue","name":"1_optarg_1_value","optional":true,"rank":16,"value":"_any_thing"},"ALP":{"caption":"Arg 2 Name","editor":"DynamicValue","name":"2_optarg_2_name","optional":true,"rank":17,"value":"text"},"ALQ":{"caption":"Arg 2 Value","editor":"DynamicValue","name":"2_optarg_2_value","optional":true,"rank":18,"value":"_any_thing"},"ALR":{"caption":"List Arg 1 Name","editor":"DynamicValue","is_list":false,"name":"3_list_optarg_1_name","optional":true,"rank":19,"value":"text"},"ALS":{"caption":"List Arg 1 Value","editor":"DynamicValue","is_list":true,"name":"3_list_optarg_1_value","o
225ptional":true,"rank":20,"value":"_any_thing"},"ALT":{"caption":"List Arg 2 Name","editor":"DynamicValue","name":"4_list_optarg_2_name","optional":true,"rank":21,"value":"text"},"ALU":{"caption":"List Arg 2 Value","editor":"DynamicValue","is_list":true,"name":"4_list_optarg_2_value","optional":true,"rank":22,"value":"_any_thing"},"ALV":{"caption":"RESULT OUTPUT OPTIONS","editor":"Label","name":"output_info","rank":27},"ALW":{"caption":"Publish to Code: Array Method Output","default_val":true,"editor":"DynamicValue","name":"publish_to_code","optional":true,"rank":28,"value":"boolean"},"ALX":{"caption":"Publish to RAM List","editor":"DynamicValue","name":"publish_to_ram_list","optional":true,"rank":29,"value":"boolean"},"ALZ":{"caption":"Debug Mode","editor":"DynamicValue","name":"debug","optional":true,"rank":30,"value":"boolean"},"AMB":{"caption":"Reverse List?","editor":"DynamicValue","name":"reverse","optional":true,"rank":11,"value":"boolean"},"AMG":{"caption":"FUNCTION SAVE/REUSE","editor":"Label","name":"use_saved_info","rank":23},"AMH":{"caption":"Function Slot","editor":"Dropdown","name":"fn_slot","o
225ptional":true,"rank":25},"AMJ":{"caption":"Here's a cool optimization: The first time you run a Code: Array Method action, we obviously need to evaluate your Function Code, above. But you can save the compiled function to one of 5 \"Function Slots\" for future retrieval. By selecting a function slot, your compiled function is saved internally. Executing a subsequent Code: Array Method action with the same function slot selected causes us to use the compiled function (and we ignore any code provided above, unless you've also set the \"Overwrite Slot\" option).","editor":"Label","name":"function_slot_info","rank":24},"AMK":{"caption":"Overwrite Slot","editor":"DynamicValue","name":"overwrite","optional":true,"rank":26,"value":"boolean"},"AWP":{"caption":"SYNC OPTION","name":"sync_option","rank":31,"editor":"Label"},"AWQ":{"caption":"Sync Trigger","name":"sync_trigger","rank":32,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionArrayMethod(instance,properties,context):console.log(\"Floppy is not initialized. Code: Array Method will not run.\")}"}},"ALx":{"caption":"STEP: Previous Step","fields":{"ALz":{"caption":"Execute this action to decrement to the previous step. This action will have no effect unless stepping is currently active. Begin stepping by executing the \"STEP: Begin Stepping\" action. In typical Step mode scenarios (such as running an iterative workflow), you would never use this action (using only \"STEP: Next Step\" instead). It is designed for use with Step mode's \"Infinite Loop\" mode, where you seek to step back and forth between elements is a list, typically in response to some user action.","editor":"Label","name":"next_step_info","rank":0},"AMA":{"caption":"Executing this action rewinds stepping to the previous item and triggers the next \"Step Trigger\" event. If executed when in Infinite Loop mode, and we're on the first index/item, the index and item are set to the *end* of the list. If not in Infinite Loop mode, executing Previous Step on the first item will have no effect.","editor":"Label","name":"next_step_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionNextStep(instance,!0):console.log(\"Floppy is not initialized. STEP: PRevious Step will not run.\")}"}},"AMO":{"caption":"Utility: List Math","fields":{"AMP":{"caption":"Execute this action to perform simple mathematical operations on two numeric lists, or a numeric list and a scalar number. The resulting list of numbers can be published to one of five \"List Math\" outputs (chosen below). This action is synchronous and, when it is complete, the List Math Complete event is triggered.","editor":"Label","name":"lm_info","rank":0},"AMR":{"caption":"OPERATIONS","editor":"Label","name":"op_info_1","rank":1},"AMT":{"caption":"List 1","editor":"DynamicValue","is_list":true,"name":"list1","rank":3,"value":"number"},"AMU":{"caption":"Operation 1","editor":"Dropdown","name":"op1","rank":4},"AMV":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op1","optional":true,"rank":5,"value":"number"},"AMW":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op1","optional":true,"rank":6,"value":"number"},"AMX":{"caption":"COMPUTATION 1","editor":"Label","name":"comp_1_info","rank":2},"AMY":{"caption":"COMPUTATION 2","editor":"Label","name":"comp_2_info","rank":7},"AMZ":{"caption":"Operate on Result","editor":"Dropdown","name":"op2","optional":true,"rank":8},"AMa":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op2","optional":true,"rank":9,"value":"number"},"AMb":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op2","optional":true,"rank":10,"value":"number"},"AMc":{"caption":"COMPUTATION 3","editor":"Label","name":"comp_3_info","rank":11},"AMd":{"caption":"Operate on Result","editor":"Dropdown","name":"op3","optional":true,"rank":12},"AMe":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op3","optional":true,"rank":13,"value":"number"},"AMf":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op3","optional":true,"rank":14,"value":"number"},"AMl":{"caption":"COMPUTATION 4","editor":"Label","name":"comp_4_info","rank":15},"AMm":{"caption":"Operate on Result","editor":"Dropdown","name":"op4","optional":true,"rank":16},"AMn":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op4","optional":true,"rank":17,"value":"number"},"AMo":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar2_op4","optional":true,"rank":18,"value":"number"},"AMp":{"caption":"COMPUTATION 5","editor":"Label","name":"comp_5_
225info","rank":19},"AMq":{"caption":"Operate on Result","editor":"Dropdown","name":"op5","optional":true,"rank":20},"AMr":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op5","optional":true,"rank":21,"value":"number"},"AMs":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar_2_op5","optional":true,"rank":22,"value":"number"},"AMt":{"caption":"COMPUTATION 6","editor":"Label","name":"comp_6_info","rank":23},"AMu":{"caption":"Operate on Result","editor":"Dropdown","name":"op6","optional":true,"rank":24},"AMv":{"caption":"List 2","editor":"DynamicValue","is_list":true,"name":"list2_op6","optional":true,"rank":25,"value":"number"},"AMw":{"caption":"Scalar 2","editor":"DynamicValue","name":"scalar_2_op6","optional":true,"rank":26,"value":"number"},"AMx":{"caption":"OUTPUT OPTIONS","editor":"Label","name":"output_info","rank":27},"AMy":{"caption":"Publish to","default_val":"List Math Result 1","editor":"Dropdown","name":"publish_output","rank":28},"AMz":{"caption":"Publish to RAM List","editor":"DynamicValue","name":"publish_to_ram_list","optional":true,"rank":29,"value":"boolean"},"ANC":{"caption":"Debug","editor":"DynamicValue","name":"debug","optional":true,"rank":30,"value":"boolean"},"AWR":{"caption":"SYNC OPTION","name":"sync_option","rank":31,"editor":"Label"},"AWS":{"caption":"Sync Trigger","name":"sync_trigger","rank":32,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionListMath(instance,properties,context):console.log(\"Floppy is not initialized. Utility: List Math will not run.\")}"}},"ANE":{"caption":"Utility: Clear List Math Outputs","fields":{"ANF":{"caption":"Execute this action to clear all of the List Math-related outputs. All 5 of the List Math Result outputs are cleared as well as the List Math Result Number output. This action is synchronous and, when it completes, the List Math Outputs Cleared event is triggered.","editor":"Label","name":"clear_info","rank":0},"AWT":{"caption":"SYNC OPTION","name":"sync_option","rank":1,"editor":"Label"},"AWU":{"caption":"Sync Trigger","name":"sync_trigger","rank":2,"editor":"Dropdown","optional":true}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionClearListMath(instance,properties,context):console.log(\"Floppy is not initialized. Utility: Clear List Math Outputs will not run.\")}"}},"ATk":{"caption":"Utility: Make Numeric List","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionMakeNumList(instance,properties,context):console.log(\"Floppy is not initialized. Utility: Make Numeric List will not run.\")}"},"fields":{"ATl":{"caption":"Execute this action to generate a numeric list and store it at one of Floppy's List Math Result outputs. This action is synchronous and when it is complete, the \"Make Numeric List Complete\" event is triggered.","name":"info","rank":0,"editor":"Label"},"ATm":{"caption":"Number of items","name":"num_items","rank":1,"editor":"DynamicValue","value":"number","optional":true},"ATn":{"caption":"Start at","name":"start","rank":2,"editor":"DynamicValue","value":"number","optional":true},"ATo":{"caption":"Increment by","name":"increment","rank":3,"editor":"DynamicValue","value":"number","optional":true},"ATp":{"caption":"OUTPUT OPTION","name":"output_info","rank":4,"editor":"Label"},"ATq":{"caption":"Publish to","name":"publish_output","rank":5,"editor":"Dropdown","default_val":"List Math Result 2","optional":true},"AWV":{"caption":"SYNC OPTION","name":"sync_option","rank":6,"editor":"Label"},"AWW":{"caption":"Sync Trigger","name":"sync_trigger","rank":7,"editor":"Dropdown","optional":true}}},"AVK":{"caption":"Sync Trigger","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcSyncTrigger(instance,properties,context):console.log(\"Floppy is not initialized. Sync Trigger will not run.\")}"},"fields":{"AVL":{"caption":"Execute this action to send a \"Sync Trigger X\" event from the selected Floppy element. The selected Sync Trigger can then be used to trigger some workflow. When that workflow completes, Floppy will send a second event named \"Sync X Workflow Complete\" which you can use to trigger some subsequent workflow, if desired.","name":"sync_
225info","rank":0,"editor":"Label"},"AVP":{"caption":"Sync Trigger","name":"sync_trigger","rank":1,"editor":"Dropdown","default_val":"A","optional":false}}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,t){i=a.data,i.ram_scalar_value=null,i.ram_list_value=[],i.list_values_storage=[],i.scalar_value_storage=null,i.min_js_date=new Date(-864e13),a.publishState(\"min_js_date\",i.min_js_date),i.drag_rg=null,i.drag_rg_selector=null,i.drag_group=null,i.winprop=null,i.drag_handle=null,i.drag_rg_element=null,i.clone=null,i.revert_clone=null,i.no_put=null,i.no_dupe=null,i.hold=null,i.placeholder=null,i.index_adjust=0,i.dragclass=\"\",i.filterclass=\"\",i.rg_rows=null,i.sortable=null,i.drag_abort=null,i.sortable_orig=null,i.ghostStyle=null,i.session=null,i.local=null,i.indexed=null,i.field_counts_1=[],i.field_counts_2=[],i.field_counts_3=[],i.count_list_custom=[],i.count_list_output=[],i.method_output=[],i.method_fn=[],i.method_start_time=null,i.step_debug=null,i.stepping=null,i.step_index_0=null,i.step_index_1=null,i.step_item=null,i.step_list=[],i.step_clear=null,i.step_loop=null,i.list_math_result=[null,null,null,null,null],i.list_math_output=[],i.math_start_time=null,i.db=null,i.step_start=null,i.funcUpdate=async function(a,t){var e,n;a.data.funcGetProps(a,t),a.data.local=\"localStorage\"==a.data.storage_type||null,a.data.session=\"sessionStorage\"==a.data.storage_type||null,a.data.indexed=\"IndexedDB (localForage)\"==a.data.storage_type||null,a.data.indexed&&(a.data.lf_name=t.lf_name||\"localforage\",a.data.lf_store=t.lf_store||\"keyvaluepairs\",a.data.db=localforage.createInstance({name:a.data.lf_name,storeName:a.data.lf_store}),a.publishState(\"indb_db_name\",a.data.lf_name),a.publishState(\"indb_ds_name\",a.data.lf_store)),a.data.key_name_scalar=a.data.key_name_scalar,a.data.key_name_list=a.data.key_name_list,a.publishState(\"key_name_scalar\",a.data.key_name_scalar),a.publishState(\"key_name_list\",a.data.key_name_list),(a.data.auto_storage||a.data.auto_ram)&&(e=await a.data.funcRetrieveKey(a,a.data.key_name_scalar,!0),n=await a.data.funcRetrieveKey(a,a.data.key_name_list,!0)),a.data.auto_ram&&(a.data.ram_list_value=a.data.list_values_storage,a.data.ram_scalar_value=a.data.scalar_value_storage,a.data.pubRL(a,!0),a.publishState(\"ram_scalar_value\",a.data.funcGetID(a.data.ram_scalar_value))),a.data.funcUpdateFoundKeys(a),a.data.local&&(window.onstorage=function(t){a.data.funcOnstorageEvent(a,t)}),a.data.drag_rg&&!a.data.sortable&&(a.data.rg_rows=null,a.data.dragclass=a.data.drag_rg+\"-draggable\",a.data.filterclass=a.data.drag_rg+\"-filterdrag\",a.data.drag_rg_selector=\"#\"+a.data.drag_rg,a.data.clone=t.clone,a.data.revert_clone=t.revert_clone,a.data.no_put=t.no_put,a.data.drag_delay=null!=t.drag_delay?t.drag_delay:0,a.data.ghost_bg_color=t.ghost_bg_color?t.ghost_bg_color:\"#FFFFFF\",a.data.ghost_opacity=null!=t.ghost_opacity?t.ghost_opacity:1,a.data.animation=null!=t.animation?t.animation:150,a.data.drag_group=t.drag_group,a.data.drag_group&&(a.data.winprop=\"flpshared-\"+t.drag_group+\"-data\",window[a.data.winprop]={}),a.data.no_dupe=t.no_dupe,a.data.ghost_css=t.ghost_css?t.ghost_css:null,a.data.funcGhostStyle(a),!a.data.drag_rg_element&&a.data.funcWaitForElement(a.data.drag_rg_selector).then((t=>{a.data.drag_rg_element=t,a.data.funcCreateSortable(a)}))),a.data.initialized?a.triggerEvent(\"updated\"):(a.data.initialized=!0,a.publishState(\"initialized\",a.data.initialized),a.triggerEvent(\"initialized\")),\"got_key\"==e&&a.triggerEvent(\"retrieved_scalar_key\"),\"got_key\"==n&&a.triggerEvent(\"retrieved_list_key\")},i.funcSyncTrigger=function(a,t,e){a.triggerEvent(\"sync_\"+t.sync_trigger.toLowerCase(),void a.data.funcSyncComplete(a,e,t.sync_trigger))},i.funcSyncComplete=function(a,t,e){a.triggerEvent(\"sync_wf_\"+e.toLowerCase())},i.funcWaitForElement=function(a){return new Promise((t=>{if(document.querySelector(a)&&document.querySelector(a).classList.contains(\"bubble-rg\"))return t(document.querySelector(a));if(document.querySelector(a)&&!document.querySelector(a).classList.contains(\"bubble-rg\")&&document.querySelector(a).firstChild)return t(document.querySelector(a).firstChild);const e=new MutationObserver((n=>{document.querySelector(a)&&document.querySelector(a).classList.contains(\"bubble-rg\")&&(t(document.querySelector(a)),e.disconnect()),document.querySelector(a)&&!document.querySelector(a).classList.contains(\"bubble-rg\")&&document.querySelector(a).firstChild&&(t(document.querySelector(a).firstChild),e.disconnect())}
225));e.observe(document.body,{childList:!0,subtree:!0})}))},i.funcWatchForRowChanges=function(a,t){const e=new MutationObserver((t=>a.data.funcHandleMutations(t,a)));a.data.row_observer||(a.data.row_observer=e,e.observe(t,{childList:!0}))},i.funcHandleMutations=function(a,t){a.length,a.forEach((a=>{a.addedNodes.length&&a.addedNodes.forEach((a=>{if(a.getAttribute(\"data-id\"),!a.getAttribute(\"data-id\")){var e=a.className.split(\" \");!e.find((a=>a.startsWith(\"entry-\")))||e.includes(t.data.filterclass)||e.includes(t.data.dragclass)||t.data.initDataIDs(t,a);const n=new MutationObserver(((a,e)=>t.data.funcHandleEntry(a,e,t)));n.observe(a,{attributes:!0})}}))}))},i.funcHandleEntry=function(a,t,e){a.forEach((a=>{\"class\"===a.attributeName&&(a.target,a.target.className.split(\" \").find((a=>a.startsWith(\"entry-\")))&&(a.target,e.data.initDataIDs(e,a.target),t.disconnect()))}))},i.funcCreateSortable=function(a){a.data.sortable&&a.data.sortable.destroy(),a.data.rg_rows=a.data.drag_rg_element,a.data.rg_rows,a.data.dragclass,a.data.filterclass,a.data.rg_rows.childNodes,a.data.rg_rows&&(a.data.sortable=new Sortable(a.data.rg_rows,{animation:a.data.animation,sort:!0,disabled:!1,draggable:\".\"+a.data.dragclass,filter:\".\"+a.data.filterclass,onStart:function(t){a.data.drag_rg,a.data.funcOnSortableStart(a,t)},onEnd:function(t){a.data.funcOnSortableEnd(a,t),a.data.drag_rg},onAdd:function(t){a.data.drag_rg,a.data.funcOnSortableAdd(a,t)},onRemove:function(t){a.data.drag_rg,a.data.funcOnSortableRemove(a,t)},setData:function(t,e){var n=a.data.funcStringifyItem(a,a.data.ram_list_value,!1,!0),l=JSON.stringify({ramlist:n,index_adjust:a.data.index_adjust});t.setData(\"application/json\",l)},dataIdAttr:\"data-id\",delay:a.data.drag_delay,delayOnTouchOnly:!!a.data.drag_delay_touch,touchStartThreshold:a.data.touch_start_threshold}),a.data.drag_handle&&a.data.sortable.option(\"handle\",\"#\"+a.data.drag_handle),a.data.drag_group&&a.data.sortable.option(\"group\",{name:a.data.drag_group,pull:!a.data.clone||\"clone\",put:!a.data.no_put,revertClone:!!a.data.revert_clone}),a.data.drag_group),a.data.funcWatchForRowChanges(a,a.data.rg_rows),a.data.sortable},i.funcOnSortableStart=function(a,t){if(a.data.drag_abort=null,!t.originalEvent.dataTransfer){var e=a.data.funcStringifyItem(a,a.data.ram_list_value,!1,!0),n=JSON.stringify({ramlist:e,index_adjust:a.data.index_adjust});window[a.data.winprop].state=\"start\",window[a.data.winprop].data=n,window[a.data.winprop]}},i.funcOnSortableEnd=function(a,t){if(window[a.data.winprop]={},!t.pullMode){var e=t.newIndex+a.data.index_adjust,n=t.oldIndex+a.data.index_adjust;if(a.data.clone&&a.data.revert_clone||a.data.drag_abort)return a.data.funcSortRG(a),void a.data.funcDataIDs(a);if(e==n)return a.data.funcDataIDs(a),void a.data.sortable.option(\"disabled\",!1);a.data.sortable.option(\"disabled\",!0),e<0&&(e=0),e>a.data.ram_list_value.length&&(e=a.data.ram_list_value.length),a.data.funcMoveItem(a.data.ram_list_value,n,e),a.data.pubRL(a),a.data.funcSortRG(a),a.data.sortable.option(\"disabled\",!1),a.triggerEvent(\"sorted_ram_list_user_drop\"),a.triggerEvent(\"updated_ram_list_user_drop\")}},i.funcOnSortableAdd=function(a,t){var e=t.originalEvent.dataTransfer?t.originalEvent.dataTransfer.getData(\"application/json\"):window[a.data.winprop].data;if(e){e=JSON.parse(e);var n=t.oldIndex+e.index_adjust,l=t.newIndex+a.data.index_adjust;(e=JSON.parse(e.ramlist).map((t=>a.data.funcGetID(t,a.data.type_of_values))))[n],a.data.sortable.option(\"disabled\",!0),l<0&&(l=0),l>a.data.ram_list_value.length&&(l=a.data.ram_list_value.length),a.data.funcMoveItem(a.data.ram_list_value,null,l,e[n],a.data.no_dupe),a.data.ram_list_value,a.data.pubRL(a),window[a.data.winprop].data&&(window[a.data.winprop].state=\"added\"),a.data.sortable.option(\"disabled\",!1),a.triggerEvent(\"added_ram_list_user_drop\"),a.triggerEvent(\"updated_ram_list_user_drop\")}else a.data.drag_abort=!0},i.funcOnSortableRemove=function(a,t){var e=t.originalEvent.dataTransfer?t.originalEvent.dataTransfer.getData(\"application/json\"):window[a.data.winprop];if((!e||e&&\"added\"!=e.state)&&(a.data.drag_abort=!0),t.newIndex,t.oldIndex,a.data.drag_rg,a.data.sortable.o
225ption(\"disabled\",!0),a.data.clone&&t.clone.remove(),t.srcElement.appendChild(t.item),a.data.funcSortRG(a),a.data.clone||a.data.drag_abort)a.data.sortable.option(\"disabled\",!1);else{var n=t.oldIndex+a.data.index_adjust;a.data.ram_list_value,a.data.ram_list_value=a.data.funcRemoveItems(null,a.data.ram_list_value,null,n,1),a.data.ram_list_value,a.data.ram_list_value.map((t=>a.data.funcGetID(t,a.data.type_of_values))),a.data.pubRL(a),a.data.sortable.option(\"disabled\",!1),a.triggerEvent(\"removed_ram_list_user_drop\"),a.triggerEvent(\"updated_ram_list_user_drop\")}},i.initDataIDs=function(a,t){var e,n;(e=t.className.split(\" \").find((a=>a.startsWith(\"entry-\"))))&&(n=+e.replace(\"entry-\",\"\"),t.setAttribute(\"data-id\",n+\"-entry\"),\"empty\"==a.data.hold&&0==a.data.ram_list_value.length&&1==n&&(t.classList.remove(a.data.dragclass),t.classList.add(a.data.filterclass)),\"empty\"==a.data.hold&&a.data.ram_list_value.length>0&&(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)),\"first\"==a.data.hold&&n>1&&(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)),\"first\"==a.data.hold&&n<=1&&(t.classList.remove(a.data.dragclass),t.classList.add(a.data.filterclass)),\"last\"==a.data.hold&&n<=a.data.ram_list_value.length&&(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)),\"last\"==a.data.hold&&n>a.data.ram_list_value.length&&(t.classList.remove(a.data.dragclass),t.classList.add(a.data.filterclass)),a.data.hold||(t.classList.add(a.data.dragclass),t.classList.remove(a.data.filterclass)))},i.funcOnstorageEvent=function(a,t){a.data.retrieve_on_storage&&(t.key==a.data.key_name_scalar&&a.data.funcRetrieveKey(a,a.data.key_name_scalar),t.key==a.data.key_name_list&&a.data.funcRetrieveKey(a,a.data.key_name_list)),a.data.funcUpdateFoundKeys(a),t.key==a.data.key_name_scalar&&a.triggerEvent(\"scalar_storage_modified\"),t.key==a.data.key_name_list&&a.triggerEvent(\"list_storage_modified\")},i.funcActionStoreKeys=function(a,t,e){var n,l=[],i=[];n=t.store_list&&t.list_value?a.data.funcGetList(t.list_value):[];var r=t.key_name_scalar??a.data.key_name_scalar,s=t.key_name_list??a.data.key_name_list;scalar_value=t.store_scalar&&t.value?t.value:null,t.store_list&&(l.push(s),i.push(n)),t.store_scalar&&(l.push(r),i.push(scalar_value)),a.data.funcActionStoreKeys_2(a,l,i,t.sync_trigger,e)},i.funcActionStoreKeys_2=async function(a,t,e,n,l){await Promise.all(t.map((async(t,n)=>{await a.data.funcStoreKey(a,t,e[n],!1)}))),n&&a.data.funcSyncTrigger(a,{sync_trigger:n},l)},i.funcActionWriteAnyKey=function(a,t,e){var n,l,i=[],r=[];l=t.key_name_list?null!=t.key_value_list?a.data.funcGetList(t.key_value_list):[]:null,n=t.key_name_scalar?t.key_value_scalar:null,t.key_name_list&&(i.push(t.key_name_list),r.push(l)),t.key_name_scalar&&(i.push(t.key_name_scalar),r.push(n)),a.data.funcActionWriteAnyKey_2(a,i,r,t.sync_trigger,e)},i.funcActionWriteAnyKey_2=async function(a,t,e,n,l){await Promise.all(t.map((async(t,n)=>{await a.data.funcStoreKey(a,t,e[n],!0)}))),n&&a.data.funcSyncTrigger(a,{sync_trigger:n},l)},i.funcActionRemoveKey=async function(a,t,e){var n=t.key_name_scalar??a.data.key_name_scalar,l=t.key_name_list??a.data.key_name_list;return n&&t.remove_scalar&&await a.data.funcRemoveKey(a,n),l&&t.remove_list&&await a.data.funcRemoveKey(a,l,!0),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e),\"removed_key\"},i.funcRemoveKey=async function(a,t,e){a.data.local&&localStorage.removeItem(t),a.data.session&&sessionStorage.removeItem(t),a.data.indexed&&await a.data.db.removeItem(t),e&&t==a.data.key_name_list&&(a.publishState(\"list_values\",[]),a.triggerEvent(\"removed_list_key\")),!e&&t==a.data.key_name_scalar&&(a.publishState(\"scalar_value\",null),a.triggerEvent(\"removed_scalar_key\")),a.data.funcUpdateFoundKeys(a)},i.funcStoreKey=async function(a,t,e,n,l,i){if(!t)return\"no key\";var r=Array.isArray(e);if(r&&0==e.length)return await a.data.funcRemoveKey(a,t,!0),t==a.data.key_name_list&&a.triggerEvent(\"stored_list_key\"),void(n&&a.triggerEvent(\"wrote_arbitrary_list_key\"));if(!r&&null==e)return await a.data.funcRemoveKey(a,t,!1),t==a.data.key_name_scalar&&a.triggerEvent(\"stored_scalar_key\"),void(n&&a.triggerEvent(\"wrote_arbitrary_scalar_key\"));var s=a.data.funcStringifyItem(a,e);a.data.local&&localStorage.setItem(t,s),a.data.session&&sessionStorage.setItem(t,s),a.data.indexed&&await a.data.db.setItem(t,s),r&&t==a.data.key_name_list&&a.publishState(\"list_values\",e.map((t=>a.data.funcGetID(t,a.data.type_of_values)))),!r&&t==a.data.key_name_scalar&&a.publishState(\"scalar_value\",a.data.funcGetID(e)),r&&t==a.data.key_name_list&&a.triggerEvent(\"stored_list_key\"),!r&&t==a.data.key_name_scalar&&a.triggerEvent(\"stored_scalar_key\"),n&&r&&a.triggerEvent(\"wrote_arbitrary_list_key\"),n&&!r&&a.triggerEvent(\"wrote_arbitrary_scalar_key\"),a.data.funcUp
225dateFoundKeys(a),l&&l.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:l.sync_trigger},i)},i.funcStringifyItem=function(a,t,e,n){var l=Array.isArray(t)?t.map((t=>a.data.funcGetID_storage(t))):a.data.funcGetID_storage(t),i=a.data.indexed&&!n?l:JSON.stringify(l);return e&&(a.publishState(\"json_stringified_value\",stringItem),a.triggerEvent(\"stringification_complete\")),i},i.funcParseItem=function(a,t,e){if(a.data.indexed)return t;var n=JSON.parse(t);return e&&(a.publishState(\"json_parsed_value\",n),a.triggerEvent(\"parsing_complete\")),n},i.funcActionRetrieveKey=function(a,t,e){t.key_name_scalar=a.data.key_name_scalar,t.key_name_list=a.data.key_name_list,a.data.funcActionRetrieveKey_2(a,t,e)},i.funcActionRetrieveKey_2=async function(a,t,e){t.key_name_scalar&&await a.data.funcRetrieveKey(a,t.key_name_scalar),t.key_name_list&&await a.data.funcRetrieveKey(a,t.key_name_list),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcRetrieveKey=async function(a,t,e){if(!t)return\"no key\";var n;a.data.local&&(n=localStorage.getItem(t)),a.data.session&&(n=sessionStorage.getItem(t)),a.data.indexed&&(n=await a.data.db.getItem(t));var l=a.data.funcParseItem(a,n);return null!=l&&t==a.data.key_name_list&&(a.data.list_values_storage=l.map((t=>a.data.funcGetID(t,a.data.type_of_values))),a.publishState(\"list_values\",a.data.list_values_storage)),null!=l&&t==a.data.key_name_scalar&&(a.data.scalar_value_storage=a.data.funcGetID(l,a.data.type_of_values),a.publishState(\"scalar_value\",a.data.scalar_value_storage)),null==l&&t==a.data.key_name_list&&a.publishState(\"list_values\",[]),null==l&&t==a.data.key_name_scalar&&a.publishState(\"scalar_value\",null),!e&&t==a.data.key_name_list&&a.triggerEvent(\"retrieved_list_key\"),!e&&t==a.data.key_name_scalar&&a.triggerEvent(\"retrieved_scalar_key\"),\"got_key\"},i.funcActionClear=async function(a){a.data.local&&localStorage.clear(),a.data.session&&sessionStorage.clear(),a.data.indexed&&await a.data.db.clear(),a.data.funcUpdateFoundKeys(a),a.triggerEvent(\"cleared_storage\"),props&&props.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:props.sync_trigger},t)},i.funcGetProps=function(a,t){Object.getOwnPropertyNames(t).forEach((e=>null!=t[e]?a.data[e]=t[e]:null)),a.data.hold=null==t.hold?null:t.hold.split(\" \").slice(-1)[0].toLowerCase(),a.data.hold,a.data.hold&&(a.data.index_adjust=\"first\"==a.data.hold?-1:0,a.publishState(\"index_adjust\",a.data.index_adjust),a.data.placeholder=t.placeholder,a.publishState(\"placeholder\",a.data.funcGetID(a.data.placeholder,a.data.type_of_values)))},i.funcGetList=function(t){if(Array.isArray(t)&&!t.get)return t;var e=[];return t.get?(t.length()<1||(e=t.get(0,t.length())).map((t=>a.data.funcGetID(t))),e):e},i.funcGetID=function(t,e){return e&&(t=a.data.funcReplaceNull(t,e)),t?t.get&&t.listProperties().includes(\"_id\")?t.get(\"_id\"):t.isUID?t.value:t:t},i.funcReplaceNull=function(t,e){if(t&&t.get&&t.listProperties().includes(\"_id\")&&null==t.get(\"_id\")&&(t=null),t&&t.isUID&&null==t.value&&(t=null),\"date_range\"!=e&&\"number_range\"!=e||!Array.isArray(t)||0!=t.length||(t=null),null!=t)return t;var n=null;return(e.startsWith(\"custom\")||\"geographic_address\"==e)&&(n=\"null\"),\"number\"==e&&(n=0),[\"text\",\"file\",\"image\"].includes(e)&&(n=\"\"),\"date\"==e&&(n=a.data.min_js_date),\"boolean\"==e&&(n=!1),n},i.funcGetID_storage=function(a){var t=a&&a.get&&a.listProperties().includes(\"_id\"),e=a&&t?a.get(\"_id\"):a;return t?{value:e,isUID:t}:e},i.funcUpdateFoundKeys=async function(a){a.data.findkeys&&(a.data.local&&(a.data.keys_found_in_localstorage=Object.keys(localStorage)),a.data.session&&(a.data.keys_found_in_localstorage=Object.keys(sessionStorage)),a.data.indexed&&(a.data.keys_found_in_localstorage=await a.data.db.keys()),a.publishState(\"keys_found_in_localstorage\",a.data.keys_found_in_localstorage))},i.funcActionSetRamScalar=async function(a,t,e){a.data.ram_scalar_value=t.value,a.publishState(\"ram_scalar_value\",a.data.funcGetID(a.data.ram_scalar_value)),a.data.funcActionSetRamScalar_2(a,t,e)},i.funcActionSetRamScalar_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_scalar,a.data.ram_scalar_value),a.triggerEvent(\"updated_ram_scalar_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcActionSetRamList=function(a,t,e){a.data.ram_list_value=t.list_value?a.data.funcGetList(t.list_value):[],a.data.pubRL(a,!0),a.data.funcActionSetRamList_2(a,t,e)}
225,i.funcActionSetRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcDedupe=function(t,e){var n=null;return t=[...new Set(t)],e&&(e=e.map((t=>a.data.funcGetID(t))),n=t.filter((t=>!e.includes(a.data.funcGetID(t))))),n||t},i.funcActionAddRamList=function(a,t,e){var n=t.list_value?a.data.funcGetList(t.list_value):null,l=n||null==t.scalar_value?null:t.scalar_value;if(n||null==l||(n=[l]),t.empty_value&&(n=new Array(t.num_empty?t.num_empty:1).fill(null)),t.dedupe&&(n=a.data.funcDedupe(n,a.data.ram_list_value)),n&&!(n.length<1)){if(\"End of List\"==t.add_at&&(a.data.ram_list_value=a.data.ram_list_value.concat(n)),\"Start of List\"==t.add_at&&(a.data.ram_list_value=n.concat(a.data.ram_list_value)),\"Index Number\"==t.add_at){var i=null!=t.index?t.index-1:0;i=a.data.funcIndexInBounds(i,a.data.ram_list_value)?i:a.data.ram_list_value.length,a.data.ram_list_value.splice(i,0,...n)}a.data.pubRL(a,!0),a.data.funcActionAddRamList_2(a,t,e)}},i.funcActionAddRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcActionRemoveRamList=function(a,t,e){if(a.data.ram_list_value&&!(a.data.ram_list_value.length<1)){var n=t.values_to_remove?a.data.funcGetList(t.values_to_remove):null,l=n||null==t.value_to_remove?null:t.value_to_remove,i=n||null!=l||null==t.indices?null:a.data.funcGetList(t.indices);i=i?i.map((a=>a-1)).filter((t=>a.data.funcIndexInBounds(t,a.data.ram_list_value))):null;var r=n||null!=l||i||null==t.index?null:t.index-1;r=null!=r&&a.data.funcIndexInBounds(r,a.data.ram_list_value)?r:null,(n||null!=l||i||null!=r)&&(n&&(a.data.ram_list_value=a.data.funcRemoveItems(n,a.data.ram_list_value,t.remove_option)),null!==l&&(a.data.ram_list_value=a.data.funcRemoveItems([l],a.data.ram_list_value,t.remove_option)),i&&(a.data.ram_list_value=a.data.funcRemoveItems(null,a.data.ram_list_value,null,i)),null!=r&&(a.data.ram_list_value=a.data.funcRemoveItems(null,a.data.ram_list_value,null,r,t.num_items)),a.data.pubRL(a,!0),a.data.funcActionRemoveRamList_2(a,t,e))}},i.funcActionRemoveRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcRemoveItems=function(t,e,n,l,i){if(!(e=[...e])||e.length<1)return e;if(t&&null==l){if(t=[...t].map((t=>a.data.funcGetID(t))),\"Remove all instances\"==n&&(e=e.filter((e=>!t.includes(a.data.funcGetID(e))))),\"Remove first instance\"==n){var r=e.map((t=>a.data.funcGetID(t)));t.forEach((a=>{var t=r.indexOf(a);t>-1&&e.splice(t,1),r.splice(t,1)}))}\"Remove last instance\"==n&&(r=e.map((t=>a.data.funcGetID(t))),t.forEach((a=>{var t=r.lastIndexOf(a);t>-1&&e.splice(t,1),r.splice(t,1)})))}return null!=l&&(Array.isArray(l)||e.splice(l,i||1),Array.isArray(l)&&(l.sort(),l.forEach(((a,t)=>e.splice(a-t,1))))),e},i.funcActionChangeRamList=function(a,t,e){if(a.data.ram_list_value&&!(a.data.ram_list_value.length<1)){var n=null,l=t.values_to_change?a.data.funcGetList(t.values_to_change):null,i=l||null==t.value_to_change?null:t.value_to_change,r=l||i||null==t.indices?null:a.data.funcGetList(t.indices);r=r?r.map((a=>a-1)).filter((t=>a.data.funcIndexInBounds(t,a.data.ram_list_value))):null;var s=l||i||r||null==t.index?null:t.index-1;s=null!=s&&a.data.funcIndexInBounds(s,a.data.ram_list_value)?s:null;var d=t.values?a.data.funcGetList(t.values):null;d||null==t.value||(d=[t.value],n=\"Single value\"),!d&&t.empty_value&&(d=[null],n=\"Single value\"),d&&(l||null!=i||r||null!=s)&&(l&&(a.data.ram_list_value=a.data.funcChangeItems(d,l,a.data.ram_list_value,t.change_option,null,
225n)),null!=i&&(a.data.ram_list_value=a.data.funcChangeItems(d,[i],a.data.ram_list_value,t.change_option,null,n)),r&&(a.data.ram_list_value=a.data.funcChangeItems(d,null,a.data.ram_list_value,n,r)),null!=s&&(a.data.ram_list_value=a.data.funcChangeItems(d,null,a.data.ram_list_value,null,s)),a.data.pubRL(a,!0),a.data.funcActionChangeRamList_2(a,t,e))}},i.funcActionChangeRamList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcChangeItems=function(t,e,n,l,i,r){if(!(t&&t.length<1)&&(n=[...n])&&!(n.length<1)){if(e&&null==i){var s;null!=(s=e.length==t.length||r?null:Math.min(e.length,t.length))&&(e=e.slice(0,s),t=t.slice(0,s)),e=e.map((t=>a.data.funcGetID(t)));var d=[...n].map((t=>a.data.funcGetID(t)));\"Change all instances\"==l&&e.forEach(((a,e)=>d.forEach(((l,i)=>a==l&&n.splice(i,1,r?t[0]:t[e]))))),\"Change first instance\"==l&&e.forEach(((a,e)=>{var l=d.indexOf(a);l>-1&&n.splice(l,1,r?t[0]:t[e])})),\"Change last instance\"==l&&e.forEach(((a,e)=>{var l=d.lastIndexOf(a);l>-1&&n.splice(l,1,r?t[0]:t[e])}))}return null!=i&&(Array.isArray(i)||n.splice(i,1,t[0]),Array.isArray(i)&&(null!=(s=i.length!=t.length&&\"Single value\"!=l?Math.min(i.length,t.length):null)&&(t=t.
225slice(0,s),i=i.slice(0,s)),i.forEach(((e,i)=>a.data.funcIndexInBounds(e,n)&&n.splice(e,1,\"Single value\"==l?t[0]:t[i]))))),n}},i.funcActionClearRAM=function(a,t,e,n){var l,i;e&&(a.data.ram_list_value=[],l=a.data.key_name_list,i=a.data.ram_list_value),e||(a.data.ram_scalar_value=null,l=a.data.key_name_scalar,i=a.data.ram_scalar_value),e&&a.data.pubRL(a,!0),!e&&a.publishState(\"ram_scalar_value\",a.data.ram_scalar_value),a.data.funcActionClearRAM_2(a,t,e,l,i,n)},i.funcActionClearRAM_2=async function(a,t,e,n,l,i){t.store&&await a.data.funcStoreKey(a,n,l),e&&a.triggerEvent(\"updated_ram_list_value\"),!e&&a.triggerEvent(\"updated_ram_scalar_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},i)},i.funcIndexInBounds=function(a,t){return null!=a&&a>-1&&a<=t.length-1||(a=null),null!=a},i.funcActionRotateRAMList=function(a,t,e){null!=t.rotate_by&&(a.data.funcRotateArray(a.data.ram_list_value,t.rotate_by),a.data.pubRL(a,!0),a.data.funcActionRotateRAMList_2(a,t,e))},i.funcActionRotateRAMList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcRotateArray=function(a,t){var e,n,l=a.length;for(Math.abs(t)>=l&&(t%=l),t<0&&(t+=l);t;t=(Math.ceil(l/t)-1)*t-l+(l=t))for(e=l;e>t;n=a[--e],a[e]=a[e-t],a[e-t]=n);return a},i.funcActionSwapRAMList=function(a,t,e){var n=null!=t.index1?t.index1-1:null,l=null!=t.index2?t.index2-1:null;a.data.funcIndexInBounds(n,a.data.ram_list_value)&&a.data.funcIndexInBounds(l,a.data.ram_list_value)&&a.data.funcSwapItems(a.data.ram_list_value,n,l)&&(a.data.pubRL(a,!0),a.data.funcActionSwapRAMList_2(a,t,e))},i.funcActionSwapRAMList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcSwapItems=function(a,t,e){return a[e]=[a[t],a[t]=a[e]][0],!0},i.funcActionMoveRAMItem=function(a,t,e){var n=null!=t.from?t.from-1:null,l=null!=t.to?t.to-1:null;a.data.funcIndexInBounds(n,a.data.ram_list_value)&&a.data.funcIndexInBounds(l,a.data.ram_list_value)&&a.data.funcMoveItem(a.data.ram_list_value,n,l)&&(a.data.pubRL(a,!0),a.data.funcActionMoveRAMItem_2(a,t,e))},i.funcActionMoveRAMItem_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcMoveItem=function(t,e,n,l,i){if(i){Array.isArray(l)||(l=[l]);var r=a.data.funcDedupe(l,t);if(!r.length)return;l=r[0]}return t.splice(n,0,null!=e?t.splice(e,1)[0]:l),!0},i.funcActionReverseRAMList=function(a,t,e){a.data.funcReverse(a.data.ram_list_value),a.data.pubRL(a,!0),a.data.funcActionReverseRAMList_2(a,t,e)},i.funcActionReverseRAMList_2=async function(a,t,e){t.store&&await a.data.funcStoreKey(a,a.data.key_name_list,a.data.ram_list_value),a.triggerEvent(\"updated_ram_list_value\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)},i.funcReverse=function(a){return a.reverse(),a},i.funcActionCountEachField=function(a,t,e){var n=t.field_1||t.field_2||t.field_3||t.custom_count;if(t.list&&n){var l=a.data.funcGetList(t.list);if(l){var i=t.custom_count?a.data.funcGetList(t.custom_count):[];\"Custom Count\"==t.sort_by&&(t.sort_by=\"custom_count\"),null!=t.sort_by_number&&[0,1,2,3,4].includes(t.sort_by_number)&&(t.sort_by=t.sort_by_number<4?t.sort_by_number:\"custom_count\"),0==t.sort_by&&(t.sort_by=null),i&&(i.length>l.length&&(i.length=l.length),i.length<l.length&&(i=l.map(((a,t)=>null!=i[t]?i[t]:0))),i=i.map(((a,t)=>null!=i[t]?i[t]:0)));var r=_(t.field_1),s=_(t.field_2),d=_(t.field_3);if(null!=t.sort_by)var u=l.map(((a,t)=>{var e={};return e.item=a,e.c1=r&&null!=r[t]?r[t]:null,e.c2=s&&null!=s[t]?s[t]:null,e.c3=d&&null!=d[t]?d[t]:null,e.ccustom_count=i&&null!=i[t]?i[t]:0,e}));null!=t.sort_by&&u.sort(((a,e)=>t.descending?e[\"c\"+t.sort_by]-a[\"c\"+t.sort_by]:a[\"c\"+t.sort_by]-e[\"c\"+t.sort_by])),a.publishState(\"field_counts_1\",u?u.map((a=>a.c1)):r),a.publishState(\"field_counts_2\",u?u.map((a=>a.c2)):s),a.publishState(\"field_counts_3\",u?u.map((a=>a.c3)):d),a.publishState(\"count_list_custom\",u?u.map((a=>a.ccustom_count)):i);var o=u?u.map((a=>a.item)):l;o=o.map((t=>a.data.funcGetID(t))),a.publishState(\"count_list_output\",o),a.triggerEvent(\"count_each_field_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)}}function _(a){return a&&l.map((t=>{var e=t.get(a);return null==e?0:e.length&&e.get?e.length():1}))}},i.funcActionArrayMethod=function(a,t,e){t.debug&&null==a.data.method_start_time&&(a.data.method_start_time=Date.now(),console.info(\"Code: Array Method started at \",a.data.method_start_time));var n=t.list?a.data.funcGetList(t.list):a.data.ram_list_value;t.reverse&&n.reverse();var l=Object.getOwnPropertyNames(t).filter((a=>a.includes(\"core\")&&null!=t[a])).sort().map((a=>t[a])),i=Object.getOwnPropertyNames(t).filter((a=>a.includes(\"optarg\")&&a.includes(\"name\")&&null!=t[a])).sort(),r=i.map((a=>t[a])),s=i.map((a=>a.replace(\"name\",\"value\"))),d=s.map((e=>e.includes(\"list\")?t[e]?a.data.funcGetList(t[e]):[]:t[e])),u=null,o=r.concat(l);!t.overwrite&&t.fn_slot&&a.data.method_fn[t.fn_slot]&&(u=a.data.method_fn[t.fn_slot],t.debug&&console.info(\"Code: Retrieved function from slot \",t.fn_slot)),(!t.fn_slot||t.fn_slot&&t.overwrite||t.fn_slot&&!a.data.method_fn[t.fn_slot])&&(u=Function(o,t.code),t.fn_slot&&(
225a.data.method_fn[t.fn_slot]=u,t.debug&&console.info(\"Code: Saved function to slot \",t.fn_slot))),null!=u?(u=u.bind(null,...d),t.debug&&console.info(\"Code: Array Method debugger:\"),t.debug&&console.info(\"Your function is: \",u),t.debug&&console.info(\"You are running the \",t.function_type,\" method on the following list.\"),t.debug&&console.info(\"Your source list is: \",n),t.debug&&console.info(\"Core arguments you can access are named: \",...l),t.debug&&console.info(\"Optional arguments you can access are named: \",...r),t.debug&&console.info(\"Values of your optional arguments are:\"),t.debug&&s.forEach((a=>console.info(\"Argument \",a,\" Value is: \",t[a]))),t.debug&&console.info(\"Array method is: \",t.function_type),\".map()\"==t.function_type&&(a.data.method_output=n.map(u)),\".filter()\"==t.function_type&&(a.data.method_output=n.filter(u)),\".find()\"==t.function_type&&(a.data.method_output=n.find(u)),\".findIndex()\"==t.function_type&&(a.data.method_output=n.findIndex(u)),\".findLast()\"==t.function_type&&(a.data.method_output=n.findLast(u)),\".findLastIndex()\"==t.function_type&&(a.data.method_output=n.findLastIndex(u)),\".flatMap()\"==t.function_type&&(a.data.method_output=n.flatMap(u)),\".forEach()\"==t.function_type&&(a.data.method_output=n.forEach(u)),\".some()\"==t.function_type&&(a.data.method_output=n.some(u)),a.data.method_output=a.data.funcSetList(a.data.method_output),t.debug&&console.info(\"Code: Result is: \",a.data.method_output),t.publish_to_code&&a.publishState(\"method_output\",a.data.method_output),t.publish_to_ram_list&&(a.data.ram_list_value=a.data.method_output,a.data.pubRL(a,!1,!0)),a.publishState(\"method_slot\",t.fn_slot?+t.fn_slot:null),a.triggerEvent(\"code_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e),t.debug&&console.info(\"Code: Execution time \",Date.now()-a.data.method_start_time,\" ms\"),a.data.method_start_time=null):t.debug&&console.info(\"Code: No function defined Code: Array Method exited without running.\")},i.funcGhostStyle=function(a){var t=!!a.data.ghostStyle,e=document.createElement(\"style\");e.innerHTML=a.data.ghost_css?a.data.ghost_css:\".sortable-ghost { opacity: \"+a.data.ghost_opacity+\"; background: \"+a.data.ghost_bg_color+\"; }\",t?document.head.replaceChild(e,a.data.ghostStyle):document.head.appendChild(e),a.data.ghostStyle=e},i.funcActionBeginStep=function(a,t){a.data.stepping?a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Stepping is already active, but the Begin Stepping action was called. Use the End Stepping action to prematurely end Step mode.\"):t.step_list||null!=t.num_items?(t.debug&&(a.data.step_start||(a.data.step_start=Date.now(),console.info(t.debug_name,\"Floppy Step Debug: Creating List to Step\"))),a.data.step_list=[],null==t.num_items&&t.step_list&&(a.data.step_list=a.data.funcGetList(t.step_list)),null!=t.num_items&&(t.num_items=Math.round(t.num_items),t.start=null!=t.start?t.start:1,t.increment=null!=t.increment?t.increment:1,a.data.step_list=a.data.funcMakeNumList(t.num_items,t.start,t.increment)),t.debug&&(console.info(t.debug_name,\"Floppy Step Debug: List to Step Created in \",Date.now()-a.data.step_start,\"ms\"),a.data.step_start=null),!a.data.step_list||a.data.step_list&&a.data.step_list.length<1?a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Step List has zero items or is not defined. Begin Stepping exited immediately.\"):a.data.funcActionBeginStep_2(a,t)):a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: No List to Step or numeric list provided. Begin Stepping exited immediately.\")},i.funcActionBeginStep_2=function(a,t){a.data.step_debug=t.debug,a.data.step_debugname=t.debug_name,a.data.step_item=null,a.data.step_index_0=0,a.data.step_index_1=1,a.data.step_clear=t.step_clear,a.data.step_loop=t.step_loop,a.data.stepping=!0,t.reverse&&a.data.step_list.reverse(),a.data.publishStepInfo(),a.triggerEvent(\"stepping_started\"),a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Stepping Started\"),a.triggerEvent(\"step_trigger\"),a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Step Trigger triggered for item \",a.data.step_index_1)},i.funcActionNextStep=function(a,t){if(a.data.stepping){var e=null;if(!t&&(a.data.step_index_0++,a.data.step_index_1++),t&&(a.data.step_index_0--,a.data.step_index_1--),!a.data.step_loop&&a.data.step_index_1>a.data.step_list.length)return a.data.step_index_0--,a.data.step_index_1--,void a.data.funcActionEndStep(a);!a.data.step_loop&&a.data.step_index_1<1&&(a.data.step_index_0=0,a.data.step_index_1=1,e=!0,a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: The Previous Step action was triggered on the first item. No Step Trigger will be sent.\")),a.data.step_loop&&a.data.step_index_1>a.data.step_list.length&&(a.data.step_index_0=0,a.data.step_index_1=1),a.data.step_loop&&a.data.step_index_1<1&&(a.data.step_index_0=a.data.step_list.length-1,a.data.step_index_1=a.data.step_list.length),!e&&(a.data.publishStepInfo(!0),a.triggerEvent(\"step_trigger\"),a.data.step_debug&&console.info(a.data.step_debugname,\"Floppy Step Debug: Step Trigger triggered for item \",a.data.step_index_1))}else console.info(a.data.step_debugname||\"\",\"Floppy Step Debug: The Next/Prev Step action was triggered, but Floppy is not in step mode. Use the Begin Stepping action to start stepping.\")}
225,i.funcActionEndStep=function(a){if(a.data.stepping){var t=a.data.step_clear,e=a.data.stepping,n=a.data.step_debugname;a.data.step_debug=null,a.data.step_debugname=null,a.data.stepping=null,t&&(a.data.step_index_0=null,a.data.step_index_1=null,a.data.step_item=null,a.data.step_list=[]),a.data.step_clear=null,a.data.step_loop=null,a.data.publishStepInfo(),a.triggerEvent(\"stepping_complete\"),e&&console.info(n||\"\",\"Floppy Step Debug: Stepping complete.\")}else console.info(a.data.step_debugname||\"\",\"Floppy Step Debug: The End Stepping action was executed, but Floppy is not in step mode.\")},i.publishStepInfo=function(t){a.publishState(\"step_index_0\",a.data.step_index_0),a.publishState(\"step_index_1\",a.data.step_index_1),a.publishState(\"step_item\",a.data.step_list[a.data.step_index_0]),!t&&a.publishState(\"step_list\",a.data.step_list),!t&&a.publishState(\"stepping\",a.data.stepping)},i.funcActionMakeNumList=function(a,t,e){if(null!=t.num_items){var n=\"list_math_result_\"+t.publish_output[t.publish_output.length-1],l=+t.publish_output[t.publish_output.length-1],i=null;null!=t.num_items&&(t.num_items=Math.round(t.num_items),t.start=null!=t.start?t.start:1,t.increment=null!=t.increment?t.increment:1,i=a.data.funcMakeNumList(t.num_items,t.start,t.increment)),a.data.list_math_result[l-1]=i,a.publishState(n,a.data.list_math_result[l-1]),a.triggerEvent(\"make_numeric_list_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)}},i.funcMakeNumList=function(a,t,e){for(var n=[],l=0;l<a;l++)n.push(t+l*e);return n},i.funcSetList=function(a){return Array.isArray(a)?a:[a]},i.funcActionListMath=function(a,t,e){t.debug&&null==a.data.math_start_time&&(a.data.math_start_time=Date.now(),console.info(\"List Math Started at \",a.data.math_start_time));var n=t.list1?a.data.funcGetList(t.list1):[];fn={},fn[\"+\"]=function(a,t){return l=a+t,isNaN(l)?null:l},fn[\"-\"]=function(a,t){return l=a-t,isNaN(l)?null:l},fn[\"*\"]=function(a,t){return l=a*t,isNaN(l)?null:l},fn[\"/\"]=function(a,t){return l=a/t,isNaN(l)?null:l},fn[\"^\"]=function(a,t){return l=a^t,isNaN(l)?null:l},fn[\"rounded to\"]=function(a,t){return l=Math.round(a*Math.pow(10,t))/Math.pow(10,t),isNaN(l)?null:l},fn.floor=function(a,t){return l=Math.floor(a),isNaN(l)?null:l},fn.ceiling=function(a,t){return l=Math.ceil(a),isNaN(l)?null:l},fn[\"<- max ->\"]=function(a,t){return l=Math.max(a,t),isNaN(l)?null:l},fn[\"<- min ->\"]=function(a,t){return l=Math.min(a,t),isNaN(l)?null:l},fn[\"<- modulo ->\"]=function(a,t){return l=l=a%t,isNaN(l)?null:l},t.debug&&console.info(\"List Math: List 1 is: \",n);var l,i=Object.getOwnPropertyNames(t).filter((a=>a.startsWith(\"op\")&&null!=t[a]&&(t[\"list2_\"+a]||null!=t[\"scalar2_\"+a]))),r=i.map((a=>t[a])),s=i.map((e=>null!=t[\"scalar2_\"+e]?t[\"scalar2_\"+e]:t[\"list2_\"+e]&&a.data.funcGetList(t[\"list2_\"+e])));r.forEach(((a,e)=>{var i=0==e?n:l;t.debug&&console.info(\"List Math Computation \",e+1),t.debug&&console.info(\"Operation is:\",a),t.debug&&console.info(\"Value 2 is: \",s[e]);var r=Array.isArray(s[e]);if(r&&i.length!=s[e].length){var d=Math.min(i.length,s[e].length);i.length=d,s[e].length=d}l=i.map(((t,n)=>r?fn[a](t,s[e][n]):fn[a](t,s[e]))),t.debug&&console.info(\"Result of Computation \",e+1,\": \",l)})),t.debug&&console.info(\"List Math final result is: \",l);var d=\"list_math_result_\"+t.publish_output[t.publish_output.length-1],u=+t.publish_output[t.publish_output.length-1];a.data.list_math_result[u-1]=l,a.publishState(d,a.data.list_math_result[u-1]),a.publishState(\"list_math_output\",u),t.publish_to_ram_list&&\"number\"==a.data.type_of_values&&(a.data.ram_list_value=l,a.data.pubRL(a,!1,!0)),a.triggerEvent(\"list_math_complete\"),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e),t.debug&&console.info(\"List Math: Execution time \",Date.now()-a.data.math_start_time,\" ms\"),a.data.math_start_time=null},i.funcActionClearListMath=function(a,t,e){a.data.list_math_result=a.data.list_math_result.map((a=>[])),a.data.list_math_result.forEach(((t,e)=>a.publishState(\"list_math_result_\"+(e+1),t))),a.publishState(\"list_math_output\",null),t&&t.sync_trigger&&a.data.funcSyncTrigger(a,{sync_trigger:t.sync_trigger},e)}
225,i.pubRL=function(a,t,e){null==a.data.ram_list_value&&(a.data.ram_list_value=[]);var n=e?a.data.ram_list_value:a.data.ram_list_value.map((t=>a.data.funcGetID(t,a.data.type_of_values)));if(a.publishState(\"ram_list_value\",n),a.data.hold){a.data.hold;var l=a.data.funcGetID(a.data.placeholder,a.data.type_of_values);(\"empty\"==a.data.hold&&!n.length||\"last\"==a.data.hold)&&n.push(l),\"first\"==a.data.hold&&n.splice(0,0,l),a.publishState(\"ram_list_value_ph\",n)}a.data.sortable&&a.data.funcDataIDs(a),!t&&a.triggerEvent(\"updated_ram_list_value\")},i.funcSortRG=function(a){var t;a.data.rg_rows,(t=[...a.data.rg_rows.childNodes].map((a=>({index:+a.className.split(\" \").find((a=>a.startsWith(\"entry-\"))).replace(\"entry-\",\"\")-1,item:a})))).sort((function(a,t){return a.index-t.index})),t.forEach((t=>a.data.rg_rows.appendChild(t.item))),a.data.rg_rows},i.funcDataIDs=function(a){a.data.drag_rg,a.data.rg_rows&&a.data.rg_rows.childNodes&&a.data.rg_rows.childNodes.forEach((t=>a.data.initDataIDs(a,t)))}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.width = \"100%\"\n // d.style.height = \"100%\"\n \n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n // https://s3.amazonaws.com/appforest_uf/f1662158568122x563085493923545500/floppy-icon-loc.svg\n // https://s3.amazonaws.com/appforest_uf/f1662158599506x202626715398303230/floppy-icon-ses.svg\n // https://s3.amazonaws.com/appforest_uf/f1647889291544x272152890429900860/floppy.svg\n \n if (properties.storage_type == 'sessionStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1662158599506x202626715398303230/floppy-icon-ses.svg')\"\n if (properties.storage_type == 'localStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1662158568122x563085493923545500/floppy-icon-loc.svg')\"\n if (properties.storage_type == 'IndexedDB (localForage)') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1665031854081x638437305839775500/floppy%20icon%20IDB.svg')\"\n \n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n instance.canvas.appendChild(d)\n}"}},"platform_type":"web"},"ANG":{"display":"Floppy Reader","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"ANH":{"caption":"Floppy Reader","editor":"Label","name":"info","rank":0},"ANI":{"caption":"Floppy Reader is a streamlined version of the Floppy element that reads key/value pairs from localStorage, sessionStorage, or IndexedDB (using the localForage library) and publishes them to its outputs immediately. It also has actions for reading, storing and removing keys.","editor":"Label","name":"info_2","rank":1},"ANJ":{"caption":"Storage Type","default_val":"localStorage","editor":"Dropdown","name":"storage_type","rank":2},"ANL":{"caption":"KEYS TO RETRIEVE","editor":"Label","name":"keys_info","rank":5},"ANM":{"caption":"Specify the name and type of each key you want Floppy Reader to retrieve. Each instance of Floppy Reader can read up to 6 scalar and 6 list-type keys.","editor":"Label","name":"keys_info_2","rank":6},"ANQ":{"caption":"Key 1 Name","editor":"DynamicValue","name":"key_1_name","optional":true,"rank":9,"value":"text"},"ANR":{"caption":"Key 1 Type","editor":"custom_type","name":"key_1_type","optional":true,"rank":8},"ANS":{"caption":"Key 2 Type","editor":"custom_type","name":"key_2_type","optional":true,"rank":10},"ANT":{"caption":"Key 2 Name","editor":"DynamicValue","name":"key_2_name","optional":true,"rank":11,"value":"text"},"ANU":{"caption":"Key 3 Type","editor":"custom_type","name":"key_3_type","optional":true,"rank":12},"ANV":{"caption":"Key 3 Name","editor":"DynamicValue","name":"key_3_name","optional":true,"rank":13,"value":"text"},"ANW":{"caption":"Key 4 Name","editor":"DynamicValue","name":"key_4_name","optional":true,"rank":15,"value":"text"},"ANY":{"caption":"Key 4 Type","editor":"custom_type","name":"key_4_type","optional":true,"rank":14},"ANZ":{"caption":"Key 5 Type","editor":"custom_type","name":"key_5_type","optional":true,"rank":16},"ANa":{"caption":"Key 5 Name","editor":"DynamicValue","name":"key_5_name","optional":true,"rank":17,"value":"text"},"ANb":{"caption":"Key 6 Type","editor":"custom_type","name":"key_6_type","optional":true,"rank":18},"ANc":{"caption":"Key 6 Name","editor":"DynamicValue","name":"key_6_name","optional":true,"rank":19,"value":"text"},"ANd":{"caption":"SCALAR KEYS","editor":"Label","name":"scalar_keys","rank":7},"ANe":{"caption":"LIST TYPE KEYS","editor":"Label","name":"list_type_keys_info","rank":20},"ANf":{"caption":"List Key 1 Type","editor":"custom_type","name":"list_key_1_type","optional":true,"rank":21},"ANg":{"caption":"List Key 1 Name","editor":"DynamicValue","name":"list_key_1_name","optional":true,"rank":22,"value":"text"},"ANh":{"caption":"List Key 2 Type","editor":"custom_type","name":"list_key_2_type","optional":true,"rank":23},"ANi":{"caption":"List Key 2 Name","editor":"DynamicValue","name":"list_key_2_name","optional":true,"rank":24,"value":"text"},"ANj":{"caption":"List Key 3 Type","editor":"custom_type","name":"list_key_3_type","optional":true,"rank":25},"ANk":{"caption":"List Key 3 Name","editor":"DynamicValue","name":"list_key_3_name","optional":true,"rank":26,"value":"text"},"ANl":{"caption":"List Key 4 Type","editor":"custom_type","name":"list_key_4_type","optional":true,"rank":27},"ANm":{"caption":"List Key 4 Name","editor":"DynamicValue","name":"list_key_4_name","optional":true,"rank":28,"value":"text"},"ANn":{"caption":"List Key 5","editor":"custom_type","name":"list_key_5_type","optional":true,"rank":29},"ANo":{"caption":"List Key 5 Name","editor":"DynamicValue","name":"list_key_5_name","optional":true,"rank":30,"value":"text"},"ANp":{"caption":"List Key 6 Type","editor":"custom_type","name":"list_key_6_type","optional":true,"rank":31},"ANq":{"caption":"List Key 6 Name","editor":"DynamicValue","name":"list_key_6_name","optional":true,"rank":32,"value":"text"}
225,"AOU":{"caption":"Automatically Retrieve Keys when Updated in Another Window","editor":"Label","name":"auto_read_info","rank":3},"AOV":{"caption":"Retrieve Keys when Updated","default_val":true,"editor":"DynamicValue","name":"retrieve_on_storage","rank":4,"value":"boolean"},"APB":{"caption":"EDITOR OPTIONS","editor":"Label","name":"editor_info","rank":33},"APC":{"caption":"Editor Icon Color","default_val":"Classic Blue","editor":"Dropdown","name":"icolor","rank":34},"AQJ":{"caption":"ADVANCED: IndexedDB/localForage Options","editor":"Label","name":"lf_info","rank":35},"AQK":{"caption":"Database Name","editor":"DynamicValue","name":"lf_name","optional":true,"rank":36,"value":"text"},"AQL":{"caption":"Datastore Name","editor":"DynamicValue","name":"lf_store","optional":true,"rank":37,"value":"text"},"AQM":{"caption":"Retrieve Found Keys","default_val":true,"editor":"DynamicValue","name":"findkeys","optional":true,"rank":38,"value":"boolean"}},"states":{"ANK":{"caption":"Initialized","initialization_code":{"fn":"function(properties,context){}"},"name":"initialized","value":"boolean"},"ANO":{"caption":"Key 1 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_1_name","value":"text"},"ANP":{"caption":"Key 1 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_1_value","value":"custom_data_ANR"},"ANs":{"caption":"Key 2 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_2_name","value":"text"},"ANt":{"caption":"Key 2 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_2_value","value":"custom_data_ANS"},"ANu":{"caption":"Key 3 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_3_name","value":"text"},"ANv":{"caption":"Key 3 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_3_value","value":"custom_data_ANU"},"ANx":{"caption":"Key 4 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_4_name","value":"text"},"ANy":{"caption":"Key 4 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_4_value","value":"custom_data_ANY"},"ANz":{"caption":"Key 5 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_5_name","value":"text"},"AOA":{"caption":"Key 5 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_5_value","value":"custom_data_ANZ"},"AOB":{"caption":"Key 6 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"key_6_name","value":"text"},"AOC":{"caption":"Key 6 Value","initialization_code":{"fn":"function(properties,context){}"},"name":"key_6_value","value":"custom_data_ANb"},"AOD":{"caption":"List Key 1 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_1_name","value":"text"},"AOE":{"caption":"List Key 1 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_1_value","value":"custom_data_ANf"},"AOF":{"caption":"List Key 2 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_2_name","value":"text"},"AOG":{"caption":"List Key 2 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_2_value","value":"custom_data_ANh"},"AOH":{"caption":"List Key 3 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_3_name","value":"text"},"AOI":{"caption":"List Key 3 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_3_value","value":"custom_data_ANj"},"AOJ":{"caption":"List Key 4 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_4_name","value":"text"},"AOK":{"caption":"List Key 4 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_4_value","value":"custom_data_ANl"},"AOL":{"caption":"List Key 5 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_5_name","value":"text"},"AOM":{"caption":"List Key 5 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_5_value","value":"custom_data_ANn"},"AON":{"caption":"List Key 6 Name","initialization_code":{"fn":"function(properties,context){}"},"name":"list_key_6_name","value":"text"},"AOO":{"caption":"List Key 6 Value","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"list_key_6_value","value":"custom_data_ANn"},"AOR":{"caption":"Modified Key Name (in Other Window)","initialization_code":{"fn":"function(properties,context){}"},"name":"modified_key_name","value":"text"},"AOS":{"caption":"Utility: JavaScript Minimum Date","initialization_code":{"fn":"function(properties,context){}"},"name":"min_js_date","value":"date"},"AOT":{"caption":"Keys Found in Storage","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"keys_found_in_localstorage","value":"text"},"AOX":{"caption":"Modified Key Name","initialization_code":{"fn":"function(properties,context){}"},"name":"modified_key","value":"text"},"AOd":{"caption":"Key Names in Use List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"key_names_in_use_list","value":"text"},"APU":{"caption":"Removed Key Names","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"removed_key_names","value":"text"}
225,"AQN":{"caption":"InDB: Database Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_db_name","value":"text"},"AQO":{"caption":"InDB: Datastore Name","initialization_code":{"fn":"function(properties,context){}"},"name":"indb_ds_name","value":"text"}},"events":{"AOP":{"caption":"Initialized","name":"initialized"},"AOQ":{"caption":"Key Modified (in Other Window)","name":"key_modified"},"APA":{"caption":"Retrieve All Keys Complete","name":"retrieve_all_keys_complete"},"APT":{"caption":"Keys Removed","name":"keys_removed"},"APY":{"caption":"Keys Stored","name":"keys_stored"}},"actions":{"AOv":{"caption":"Retrieve All Keys","fields":{"AOw":{"caption":"Execute this action to manually refresh the values of all of the keys that Floppy Storage Reader is reading.","editor":"Label","name":"rk_info","rank":0},"AOy":{"caption":"Each key is read and the current values for each key are published to Floppy Storage Reader's List Key Value outputs. This action is synchronous and, when it completes, the Retrieved All Keys event is triggered.","editor":"Label","name":"rk_info2","rank":1}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcReadAllKeys(instance,!0):console.log(\"Floppy Storage Reader is not initialized. Remove Keys will not run.\")}"}},"APD":{"caption":"Remove Keys","fields":{"APE":{"caption":"Execute this action to remove some or all of the keys that Floppy Storage Reader is reading.","editor":"Label","name":"remove_info","rank":0},"APF":{"caption":"SELECT KEYS TO REMOVE","editor":"Label","name":"select_info","rank":1},"APG":{"caption":"All Keys","editor":"DynamicValue","name":"all_keys","optional":true,"rank":2,"value":"boolean"},"APH":{"caption":"Key 1","editor":"DynamicValue","is_list":false,"name":"key_1_name","optional":true,"rank":3,"value":"boolean"},"API":{"caption":"Key 2","editor":"DynamicValue","name":"key_2_name","optional":true,"rank":4,"value":"boolean"},"APJ":{"caption":"Key 3","editor":"DynamicValue","name":"key_3_name","optional":true,"rank":5,"value":"boolean"},"APK":{"caption":"Key 4","editor":"DynamicValue","name":"key_4_name","optional":true,"rank":6,"value":"boolean"},"APL":{"caption":"Key 5","editor":"DynamicValue","name":"key_5_name","optional":true,"rank":7,"value":"boolean"},"APM":{"caption":"Key 6","editor":"DynamicValue","name":"key_6_name","optional":true,"rank":8,"value":"boolean"},"APN":{"caption":"List Key 1","editor":"DynamicValue","name":"list_key_1_name","optional":true,"rank":9,"value":"boolean"},"APO":{"caption":"List Key 2","editor":"DynamicValue","name":"list_key_2_name","optional":true,"rank":10,"value":"boolean"},"APP":{"caption":"List Key 3","editor":"DynamicValue","name":"list_key_3_name","optional":true,"rank":11,"value":"boolean"},"APQ":{"caption":"List Key 4","editor":"DynamicValue","name":"list_key_4_name","optional":true,"rank":12,"value":"boolean"},"APR":{"caption":"List Key 5","editor":"DynamicValue","name":"list_key_5_name","optional":true,"rank":13,"value":"boolean"},"APS":{"caption":"List Key 6","editor":"DynamicValue","name":"list_key_6_name","optional":true,"rank":14,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionRemoveKeys(instance,properties):console.log(\"Floppy Storage Reader is not initialized. Retrieve All Keys will not run.\")}"}},"APV":{"caption":"Store Keys","fields":{"APW":{"caption":"Execute this action to write new values to one or more keys being managed by Floppy Storage Reader.","editor":"Label","name":"storeinfo","rank":0},"APX":{"caption":"Each key specified below is written and the current values for each key are published to Floppy Storage Reader's List Key Value outputs. This action is synchronous and, when it completes, the Keys Stored event is triggered.","editor":"Label","name":"storeinfo2","rank":1},"APZ":{"caption":"SELECT KEYS TO STORE: For each key you would like to store, set \"Store Key n\" to yes and provide a new value in the \"Key n\" field below it. If that field is left empty (or evaluates to empty), the key in question will be removed (just like in Floppy).","editor":"Label","name":"select_info","rank":2},"APa":{"caption":"Value for Key 1","editor":"DynamicValue","name":"key_1_value","o
225ptional":true,"rank":4,"value":"custom_data_element_ANR"},"APb":{"caption":"Value for Key 2","editor":"DynamicValue","name":"key_2_value","optional":true,"rank":6,"value":"custom_data_element_ANS"},"APc":{"caption":"Value for Key 3","editor":"DynamicValue","name":"key_3_value","optional":true,"rank":8,"value":"custom_data_element_ANU"},"APe":{"caption":"Value for Key 4","editor":"DynamicValue","name":"key_4_value","optional":true,"rank":10,"value":"custom_data_element_ANY"},"APg":{"caption":"Value for Key 5","editor":"DynamicValue","name":"key_5_value","optional":true,"rank":12,"value":"custom_data_element_ANZ"},"APh":{"caption":"Key 6","editor":"DynamicValue","name":"key_6_value","optional":true,"rank":14,"value":"custom_data_element_ANb"},"APi":{"caption":"Value for List Key 1","editor":"DynamicValue","is_list":true,"name":"list_key_1_value","optional":true,"rank":16,"value":"custom_data_element_ANf"},"APj":{"caption":"Value for List Key 2","editor":"DynamicValue","is_list":true,"name":"list_key_2_value","optional":true,"rank":18,"value":"custom_data_element_ANh"},"APk":{"caption":"Value for List Key 3","editor":"DynamicValue","is_list":true,"name":"list_key_3_value","optional":true,"rank":20,"value":"custom_data_element_ANj"},"APl":{"caption":"Value for List Key 4","editor":"DynamicValue","is_list":true,"name":"list_key_4_value","optional":true,"rank":22,"value":"custom_data_element_ANl"},"APm":{"caption":"Value for List Key 5","editor":"DynamicValue","is_list":true,"name":"list_key_5_value","optional":true,"rank":24,"value":"custom_data_element_ANn"},"APn":{"caption":"Value for List Key 6","editor":"DynamicValue","is_list":true,"name":"list_key_6_value","optional":true,"rank":26,"value":"custom_data_element_ANp"},"APo":{"caption":"Store Key 1?","editor":"DynamicValue","name":"store_key_1","optional":true,"rank":3,"value":"boolean"},"APp":{"caption":"Store Key 2?","editor":"DynamicValue","name":"store_key_2","optional":true,"rank":5,"value":"boolean"},"APq":{"caption":"Store Key 3?","editor":"DynamicValue","name":"store_key_3","optional":true,"rank":7,"value":"boolean"},"APr":{"caption":"Store Key 4?","editor":"DynamicValue","name":"store_key_4","optional":true,"rank":9,"value":"boolean"},"APs":{"caption":"Store Key 5?","editor":"DynamicValue","name":"store_key_5","optional":true,"rank":11,"value":"boolean"},"APt":{"caption":"Store Key 6?","editor":"DynamicValue","name":"store_key_6","optional":true,"rank":13,"value":"boolean"},"APu":{"caption":"Store List Key 1?","editor":"DynamicValue","name":"store_list_key_1","optional":true,"rank":15,"value":"boolean"},"APv":{"caption":"Store List Key 2?","editor":"DynamicValue","name":"store_list_key_2","optional":true,"rank":17,"value":"boolean"},"APw":{"caption":"Store List Key 3?","editor":"DynamicValue","name":"store_list_key_3","optional":true,"rank":19,"value":"boolean"},"APx":{"caption":"Store List Key 4?","editor":"DynamicValue","name":"store_list_key_4","optional":true,"rank":21,"value":"boolean"},"APy":{"caption":"Store List Key 5?","editor":"DynamicValue","name":"store_list_key_5","optional":true,"rank":23,"value":"boolean"},"APz":{"caption":"Store List Key 6?","editor":"DynamicValue","name":"store_list_key_6","optional":true,"rank":25,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionStoreKeys(instance,properties):console.log(\"Floppy Storage Reader is not initialized. Store Keys will not run.\")}"}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,e){a.data.session=null,a.data.min_js_date=new Date(-864e13),a.publishState(\"min_js_date\",a.data.min_js_date),a.data.keyProps=null,a.data.keyNames=null,a.data.keyTypes=null,a.data.keys=[],a.data.funcUpdate=function(a,e){a.data.funcGetProps(a,e),a.data.local=\"localStorage\"==a.data.storage_type||null,a.data.session=\"sessionStorage\"==a.data.storage_type||null,a.data.indexed=\"IndexedDB (localForage)\"==a.data.storage_type||null,a.data.indexed&&(a.data.lf_name=e.lf_name||\"localforage\",a.data.ls_store=e.lf_store||\"keyvaluepairs\",a.data.db=localforage.createInstance({name:a.data.lf_name,storeName:a.data.lf_store}),a.publishState(\"indb_db_name\",a.data.lf_name),a.publishState(\"indb_ds_name\",a.data.lf_store)),a.data.funcUp
225dateFoundKeys(a),a.data.session||(window.onstorage=function(e){a.data.funcOnstorageEvent(a,e)}),a.data.funcReadAllKeys(a),a.data.initialized=!0,a.publishState(\"initialized\",a.data.initialized),a.triggerEvent(\"initialized\")},a.data.funcReadAllKeys=async function(a,e){await Promise.all(a.data.keys.map((async e=>{e.value=await a.data.funcRetrieveKey(a,e),a.data.funcPublishKey(a,e)}))),e&&a.triggerEvent(\"retrieve_all_keys_complete\")},a.data.funcGetProps=function(a,e){Object.getOwnPropertyNames(e).forEach((t=>null!=e[t]?a.data[t]=e[t]:null)),a.data.session=\"sessionStorage\"==a.data.storage_type||null,a.data.keyProps=Object.getOwnPropertyNames(e).filter((a=>(a.startsWith(\"key_\")||a.startsWith(\"list_key_\"))&&a.includes(\"name\")&&null!=e[a])),a.data.keyProps.forEach((t=>{if(null!=e[t]&&null!=e[t.replace(\"name\",\"type\")]){var n={};n.name=e[t],n.type=e[t.replace(\"name\",\"type\")],n.isList=t.includes(\"list\"),n.value=null,n.nameout=t,n.valueout=t.replace(\"name\",\"value\"),a.data.keys.push(n)}})),a.data.key_names_in_use_list=a.data.keyProps.map(((e,t)=>e.replaceAll(\"_\",\" \").split(\" \").map((a=>a.replace(a[0],a[0].toUpperCase()))).join(\" \").concat(\": \"+a.data.keys[t].name))),a.publishState(\"key_names_in_use_list\",a.data.key_names_in_use_list)},a.data.funcOnstorageEvent=function(a,e){if(a.data.retrieve_on_storage){var t=a.data.keys.find((a=>a.name==e.key));t&&(t.value=a.data.funcRetrieveKey(a,t),a.data.funcPublishKey(a,t),a.data.publishState(\"modified_key\",t.name),a.triggerEvent(\"key_modified\"))}},a.data.funcRetrieveKey=async function(a,e,t){return e?(a.data.local&&(n=localStorage.getItem(e.name)),a.data.session&&(n=sessionStorage.getItem(e.name)),a.data.indexed&&(n=await a.data.db.getItem(e.name)),a.data.funcParseItem(a,n)):null;var n},a.data.funcParseItem=function(a,e){return a.data.indexed?e:JSON.parse(e);var t},a.data.funcPublishKey=function(a,e){a.publishState(e.nameout,e.name),null!=e.value&&e.isList&&a.publishState(e.valueout,e.value.map((t=>a.data.funcGetID(t,e.type)))),null!=e.value&&!e.isList&&a.publishState(e.valueout,a.data.funcGetID(e.value,e.type)),null==e.value&&a.publishState(e.valueout,e.value)},a.data.funcActionRemoveKeys=async function(a,e){var t=e.all_keys?\"all\":Object.getOwnPropertyNames(e).filter((a=>a.includes(\"_name\")&&e[a])).map((a=>a)),n=e.all_keys?a.data.keys:a.data.keys.filter((a=>t.includes(a.nameout))),s=[];await Promise.all(n.map((async e=>{await a.data.funcRemoveKey(a,e),e.value=null,await a.data.funcPublishKey(a,e),s.push(e.name)}))),a.data.funcUpdateFoundKeys(a),a.publishState(\"removed_key_names\",s),a.triggerEvent(\"keys_removed\")},a.data.funcActionStoreKeys=function(a,e){var t=Object.getOwnPropertyNames(e).filter((a=>a.includes(\"store_list_key_\")&&e[a])).map((a=>a.replace(\"store_\",\"\").concat(\"_value\"))),n=a.data.keys.filter((a=>t.includes(a.valueout))),s=n.map((a=>a.valueout)).map((t=>null!=e[t]?a.data.funcGetList(e[t]):[]));a.data.funcActionStoreKeys_2(a,e,n,s)},a.data.funcActionStoreKeys_2=async function(a,e,t,n){await Promise.all(t.map((async(e,t)=>{await a.data.funcStoreKey(a,e,n[t])})));var s=Object.getOwnPropertyNames(e).filter((a=>a.includes(\"store_key_\")&&e[a])).map((a=>a.replace(\"store_\",\"\").concat(\"_value\"))),l=a.data.keys.filter((a=>s.includes(a.valueout))),i=l.map((a=>a.valueout)).map((a=>e[a]));await Promise.all(l.map((async(e,t)=>{await a.data.funcStoreKey(a,e,i[t])}))),a.data.funcUpdateFoundKeys(a),a.triggerEvent(\"keys_stored\")},a.data.funcStoreKey=async function(a,e,t){if(!e)return\"no key object\";var n=e.name,s=e.valueout,l=e.type,i=a.data.funcStringifyItem(a,t);a.data.local&&localStorage.setItem(n,i),a.data.session&&sessionStorage.setItem(n,i),a.data.indexed&&await a.data.db.setItem(n,i),Array.isArray(t)&&(0!=t.length?a.publishState(s,t.map((e=>a.data.funcGetID(e,l)))):a.data.funcRemoveKey(a,e)),!Array.isArray(t)&&(null!=t?a.publishState(s,a.data.funcGetID(t)):a.data.funcRemoveKey(a,e)),a.data.funcUpdateFoundKeys(a)},a.data.funcStringifyItem=function(a,e,t){var n=Array.isArray(e)?e.map((e=>a.data.funcGetID_storage(e))):a.data.funcGetID_storage(e);return a.data.indexed?n:JSON.stringify(n)},a.data.funcRemoveKey=async function(a,e){a.data.local&&localStorage.removeItem(e.name),a.data.session&&sessionStorage.removeItem(e.name),a.data.indexed&&await a.data.db.removeItem(e.name)}
225,a.data.funcGetID=function(e,t){return t&&(e=a.data.funcReplaceNull(e,t)),e?e.hasOwnProperty(\"get\")&&e.listProperties().includes(\"_id\")?e.get(\"_id\"):e.hasOwnProperty(\"isUID\")?e.value:e:e},a.data.funcReplaceNull=function(e,t){if(e&&e.hasOwnProperty(\"get\")&&e.listProperties().includes(\"_id\")&&null==e.get(\"_id\")&&(e=null),e&&e.hasOwnProperty(\"isUID\")&&null==e.value&&(e=null),\"date_range\"!=t&&\"number_range\"!=t||!Array.isArray(e)||0!=e.length||(e=null),null!=e)return e;var n=null;return(t.startsWith(\"custom\")||\"geographic_address\"==t)&&(n=\"null\"),\"number\"==t&&(n=0),[\"text\",\"file\",\"image\"].includes(t)&&(n=\"\"),\"date\"==t&&(n=a.data.min_js_date),\"boolean\"==t&&(n=!1),n},a.data.funcGetID_storage=function(a){var e=a&&a.hasOwnProperty(\"get\")&&a.listProperties().includes(\"_id\"),t=a&&e?a.get(\"_id\"):a;return e?{value:t,isUID:e}:t},a.data.funcUpdateFoundKeys=async function(a){a.data.findkeys&&(a.data.local&&(a.data.keys_found_in_localstorage=Object.keys(localStorage)),a.data.session&&(a.data.keys_found_in_localstorage=Object.keys(sessionStorage)),a.data.indexed&&(a.data.keys_found_in_localstorage=await a.data.db.keys()),a.publishState(\"keys_found_in_localstorage\",a.data.keys_found_in_localstorage))},a.data.funcGetList=function(e){if(Array.isArray(e)&&!e.hasOwnProperty(\"get\"))return e;var t=[];return e.hasOwnProperty(\"get\")?(e.length()<1||(t=e.get(0,e.length())).map((e=>a.data.funcGetID(e))),t):t}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.width = \"100%\"\n // d.style.height = \"100%\"\n \n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n if (properties.storage_type == 'sessionStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1663444557982x348865745872361400/floppy%20icon%20SRD.svg')\"\n if (properties.storage_type == 'localStorage') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1663444492253x237226724718594400/floppy%20icon%20LRD.svg')\"\n if (properties.storage_type == 'IndexedDB (localForage)') d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1665031888870x925500359320405000/floppy%20icon%20IRD.svg')\"\n \n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n //hue-rotate(9deg) brightness(100%) saturate(100%) opacity(60%) // .style.filter = \"none| blur() |brightness() |contrast() | drop-shadow() |grayscale() |hue-rotate() |invert() |opacity() | saturate() | sepia()\"\n // d.style.filter.opacity = \"0.5\"\n //var x = document.createElement(\"IMG\")\n //x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1556665308497x775945993446766500/noun_Gear%20Stick_239618_51A7F9.svg\")\n //var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n //x.style.width = 1.0 * smaller + \"px\"\n //x.style.verticalAlign = \"middle\"\n //x.setAttribute(\"fill\", \"#004225\")\n //d.appendChild(x)\n instance.canvas.appendChild(d)\n}"}},"platform_type":"web"},"ATO":{"display":"Floppy Expression Watcher","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"ATP":{"caption":"Floppy Expression Watcher is a utility element that can be used to watch a list or scalar expression for changes. Anytime the value of the watched expression(s) changes, Floppy Expression Watcher triggers its \"Initialized/Updated\" event. You can optionally publish the values that result from the expressions (allowing Expression Watcher to function like an auto-updating custom state).","name":"few_info","rank":0,"editor":"Label"},"ATQ":{"caption":"Expression Type","name":"expression_type","rank":1,"editor":"custom_type"},"ATR":{"caption":"List Expression","name":"list_expression","rank":2,"editor":"DynamicValue","value":"custom_data_ATQ","is_list":true,"optional":true},"ATS":{"caption":"Scalar Expression","name":"scalar_expression","rank":4,"editor":"DynamicValue","value":"custom_data_ATQ","optional":true},"ATT":{"caption":"Publish List Values","name":"publish_list_values","rank":3,"editor":"DynamicValue","optional":true,"value":"boolean"},"ATU":{"caption":"Publish Scalar Value","name":"publish_scalar_value","rank":5,"editor":"DynamicValue","value":"boolean","optional":true},"ATa":{"caption":"EDITOR OPTIONS","name":"editor_sep","rank":6,"editor":"Label"},"ATb":{"caption":"Editor Icon Color","name":"icolor","rank":7,"editor":"Dropdown","default_val":"Classic Blue","o
225ptional":true},"AXA":{"caption":"LONG TEXT SCALAR OPTION","name":"lt_sep","rank":8,"editor":"Label"},"AXB":{"caption":"LT Scalar Expression","name":"lt_scalar_expression","rank":9,"editor":"DynamicValue","value":"text","optional":true}},"states":{"ATW":{"caption":"List Expression Values","name":"list_expression_values","value":"custom_data_ATQ","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ATX":{"caption":"Scalar Expression Value","name":"scalar_expression_value","value":"custom_data_ATQ","initialization_code":{"fn":"function(properties,context){}"},"is_list":false},"ATZ":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ATY":{"caption":"Initialized/Updated","name":"initialized_updated"}},"code":{"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.width = \"100%\"\n // d.style.height = \"100%\"\n \n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1665688616503x384566429252111600/floppy-expression-watcher.svg')\"\n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n //hue-rotate(9deg) brightness(100%) saturate(100%) opacity(60%) // .style.filter = \"none| blur() |brightness() |contrast() | drop-shadow() |grayscale() |hue-rotate() |invert() |opacity() | saturate() | sepia()\"\n // d.style.filter.opacity = \"0.5\"\n //var x = document.createElement(\"IMG\")\n //x.setAttribute(\"src\", \"https://s3.amazonaws.com/appforest_uf/f1556665308497x775945993446766500/noun_Gear%20Stick_239618_51A7F9.svg\")\n //var smaller = Math.min(properties.bubble.height, properties.bubble.width)\n //x.style.width = 1.0 * smaller + \"px\"\n //x.style.verticalAlign = \"middle\"\n //x.setAttribute(\"fill\", \"#004225\")\n //d.appendChild(x)\n instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,context){a.data.list=[],a.data.scalar=null,a.data.funcUpdate=function(a,t){a.data.funcGetProps(a,t),a.data.publish_list_values&&(a.data.list=a.data.funcGetList(a.data.list_expression)),a.data.publish_scalar_value&&(a.data.scalar=\"text\"==a.data.expression_type&&null!=a.data.lt_scalar_expression?a.data.lt_scalar_expression:a.data.scalar_expression),a.data.publish_list_values&&a.publishState(\"list_expression_values\",a.data.list.map((t=>a.data.funcGetID(t)))),a.data.publish_scalar_value&&a.publishState(\"scalar_expression_value\",a.data.funcGetID(a.data.scalar)),a.data.initialized=!0,a.publishState(\"initialized\",a.data.initialized),a.triggerEvent(\"initialized_updated\")},a.data.funcGetProps=function(a,t){Object.getOwnPropertyNames(t).forEach((e=>null!=t[e]?a.data[e]=t[e]:null))},a.data.funcGetID=function(a,t){return a?a.hasOwnProperty(\"get\")&&a.listProperties().includes(\"_id\")?a.get(\"_id\"):a.hasOwnProperty(\"isUID\")?a.value:a:a},a.data.funcGetList=function(t){if(t&&Array.isArray(t)&&!t.hasOwnProperty(\"get\"))return t;var e=[];return t&&t.hasOwnProperty(\"get\")?(t.length()<1||(e=t.get(0,t.length())).map((t=>a.data.funcGetID(t))),e):e}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUp
225date(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AWt":{"display":"Floppy Hacker","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AWi":{"caption":"Floppy Hacker exposes various interesting Bubble properties to its various outputs (exposed states).","name":"fh_info","rank":0,"editor":"Label"},"AWp":{"caption":"Editor Icon Color","name":"icolor","rank":1,"editor":"Dropdown","default_val":"Classic Blue","optional":true}},"states":{"AWs":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AWu":{"caption":"Bubble Session UID","name":"session_uid","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AWv":{"caption":"Utility: Made UUID","name":"made_uuid","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AWh":{"caption":"Initialized/Updated","name":"initialized_updated"},"AWw":{"caption":"Made UUID","name":"made_uuid"}},"actions":{"AWx":{"caption":"Utility: Make Bubble UUID","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcMakeUUID(instance,properties):console.log(\"Floppy Hacker is not initialized. Make UUID will not run.\")}"},"fields":{"AWy":{"caption":"Utility: Make Bubble UUID","name":"info","rank":0,"editor":"Label"},"AWz":{"caption":"Execute this action to make a Bubble UUID and publish it to Floppy Hacker's \"Utility: Made UUID\" output.","name":"info2","rank":1,"editor":"Label"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.width = \"100%\"\n // d.style.height = \"100%\"\n \n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1670107058350x530695493083811460/floppy-hacker.svg')\"\n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function no_scrubs(instance,context){instance.data.session_uid=window.bubble_session_uid,instance.publishState(\"session_uid\",instance.data.session_uid),instance.data.funcUpdate=function update(instance,props){instance.data.initialized=!0,instance.publishState(\"initialized\",instance.data.initialized),instance.triggerEvent(\"initialized_updated\")},instance.data.funcMakeUUID=function makeUUID(instance,props){instance.data.madeUUID=window.u&&window.u.UUID(),instance.data.madeUUID&&(instance.publishState(\"made_uuid\",instance.data.madeUUID),instance.triggerEvent(\"made_uuid\"))}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUp
225date(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AZM":{"display":"Z: REANIMATOR","property_applications":{"Background":true,"BoxShadow":false,"Font":false,"resizable":true},"add_is_visible":true,"fields":{"AZE":{"caption":"REANIMATOR INFO","editor":"Label","name":"reanimator_info","rank":0},"AZF":{"caption":"Reanimator lets you animate CSS properties and much more.","editor":"Label","name":"reanimator_info_2","rank":1},"AZG":{"caption":"EDITOR OPTIONS","editor":"Label","name":"editor_sep","optional":false,"rank":2,"value":"text"},"AZH":{"caption":"Editor Icon Color","name":"icolor","rank":3,"editor":"Dropdown","default_val":"Classic Blue","optional":true}},"states":{"AZI":{"caption":"Group Hover","initialization_code":{"fn":"function(properties,context){}"},"name":"group_hover","value":"boolean"},"AZJ":{"caption":"Animation Properties","initialization_code":{"fn":"function(properties,context){}"},"name":"animation_properties","value":"text"},"AZK":{"caption":"Hovered Element Class","name":"hovered_element_class","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AZL":{"caption":"Hovered Element ID","name":"hovered_element_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AZC":{"caption":"Animation Complete","name":"animation_complete"},"AZD":{"caption":"Group Hover","name":"group_hover"}},"actions":{"AXG":{"caption":"Animate","fields":{"AXH":{"caption":"Target(s)","editor":"Dropdown","name":"targets","rank":1,"optional":true},"AXI":{"caption":"TRANSFORMS","editor":"Label","name":"transforms","rank":4},"AXJ":{"caption":"translateX","editor":"DynamicValue","name":"translateX","optional":true,"rank":5,"value":"number"},"AXK":{"caption":"translateY","editor":"DynamicValue","name":"translateY","optional":true,"rank":6,"value":"number"},"AXL":{"caption":"translateZ","editor":"DynamicValue","name":"translateZ","optional":true,"rank":7,"value":"number"},"AXM":{"caption":"rotate","editor":"DynamicValue","name":"rotate","optional":true,"rank":8,"value":"number"},"AXN":{"caption":"rotateX","editor":"DynamicValue","name":"rotateX","optional":true,"rank":9,"value":"number"},"AXO":{"caption":"rotateY","editor":"DynamicValue","name":"rotateY","optional":true,"rank":10,"value":"number"},"AXP":{"caption":"rotateZ","editor":"DynamicValue","name":"rotateZ","optional":true,"rank":11,"value":"number"},"AXQ":{"caption":"scale","editor":"DynamicValue","name":"scale","optional":true,"rank":12,"value":"number"},"AXR":{"caption":"scaleX","editor":"DynamicValue","name":"scaleX","optional":true,"rank":13,"value":"number"},"AXS":{"caption":"scaleY","editor":"DynamicValue","name":"scaleY","optional":true,"rank":14,"value":"number"},"AXT":{"caption":"scaleZ","editor":"DynamicValue","name":"scaleZ","optional":true,"rank":15,"value":"number"},"AXU":{"caption":"skew","editor":"DynamicValue","name":"skew","optional":true,"rank":16,"value":"number"},"AXV":{"caption":"skewX","editor":"DynamicValue","name":"skewX","optional":true,"rank":17,"value":"number"},"AXW":{"caption":"skewY","editor":"DynamicValue","name":"skewY","optional":true,"rank":18,"value":"number"},"AXX":{"caption":"perspective","editor":"DynamicValue","name":"perspective","optional":true,"rank":19,"value":"number"},"AXY":{"caption":"Target Via CSS Selector(s)","editor":"DynamicValue","name":"target_css_select","optional":true,"rank":2,"value":"text"},"AXZ":{"caption":"Easing Function","editor":"Dropdown","name":"easing","optional":true,"rank":21},"AXa":{"caption":"Direction","editor":"Dropdown","name":"direction","optional":true,"rank":22},"AXb":{"caption":"ANIMATION PARAMETERS","editor":"Label","name":"animation_parameters","rank":20},"AXc":{"caption":"Loop <i>n</i> Times","editor":"DynamicValue","name":"loop","optional":true,"rank":23,"value":"number"},"AXd":{"caption":"Autoplay","editor":"DynamicValue","name":"autoplay","optional":true,"rank":24,"value":"boolean"},"AXe":{"caption":"Duration","editor":"DynamicValue","name":"duration","optional":true,"rank":25,"value":"number"},"AXf":{"caption":"Delay","editor":"DynamicValue","name":"delay","optional":true,"rank":26,"value":"number"},"AXg":{"caption":"End Delay","editor":"DynamicValue","name":"endDelay","optional":true,"rank":27,"value":"number"},"AXh":{"caption":"Stagger Value","editor":"DynamicValue","name":"stagger_value_1","optional":true,"rank":29,"value":"number"},"AXi":{"caption":"STAGGER OPTIONS","editor":"Label","name":"stagger_options","rank":28},"AXj":{"caption":"opacity","editor":"DynamicValue","name":"opacity","optional":true,"rank":3,"value":"number"},"AXk":{"caption":"ELASTIC EASING","name":"elastic_easing","rank":30,"editor":"Label"},"AXl":{"caption":"Elastic Amplitude","name":"elastic_amplitude","rank":31,"editor":"DynamicValue","value":"number","optional":true},"AXm":{"caption":"Elastic Period","name":"elastic_period","rank":32,"editor":"DynamicValue","value":"number","optional":true},"AXn":{"caption":"Elastic In/Out","name":"elastic_in_out","rank":33,"optional":true,"editor":"Dropdown","default_val":"easeInOutElastic"},"AXo":{"caption":"SPRING EASING","name":"spring_easing","rank":34,"editor":"Label"},"AXp":{"caption":"Mass","name":"mass","rank":36,"editor":"DynamicValue","value":"number","optional":true,"default_val":1},"AXq":{"caption":"Use Spring Easing","name":"use_spring","rank":35,"editor":"DynamicValue","value":"boolean","optional":true},"AXr":{"caption":"Stiffness","name":"stiffness","rank":37,"editor":"DynamicValue","value":"number","default_val":100,"optional":true},"AXs":{"caption":"Damping","name":"damping","rank":38,"editor":"DynamicValue","value":"number","optional":true,"default_val":10},"AXt":{"caption":"Velocity","name":"velocity","rank":39,"editor":"DynamicValue","value":"number","optional":true,"default_val":0},"AXu":{"caption":"LINE DRAWING","name":"line_drawing","rank":40,"editor":"Label"},"AXv":{"caption":"Draw SVG Paths","name":"draw_svg_paths","rank":41,"editor":"DynamicValue","value":"boolean","optional":true},"AXw":{"caption":"Path to Morph","name":"path_morph","rank":42,"editor":"DynamicValue","value":"text","optional":true},"AXx":{"caption":"Morph Target","name":"morph_target","rank":43,"editor":"DynamicValue","value":"text","optional":true},"AXy":{"caption":"ANIMATE: Configures and triggers a REANIMATOR animation.","name":"info","rank":0,"editor":"Label"}},"code":{"fn":"function(instance,properties,context){instance.data.funcAnimate(instance,properties,context)}"}},"AXz":{"caption":"Animate2 (Uses Ranges)","fields":{"AYA":{"caption":"Target(s)","editor":"Dropdown","name":"targets","rank":1,"optional":true},"AYB":{"caption":"TRANSFORMS","editor":"Label","name":"transforms","rank":4},"AYC":{"caption":"translateX","editor":"DynamicValue","name":"translateX","optional":true,"rank":5,"value":"number_range"},"AYD":{"caption":"translateY","editor":"DynamicValue","name":"translateY","optional":true,"rank":6,"value":"number_range"},"AYE":{"caption":"translateZ","editor":"DynamicValue","name":"translateZ","optional":true,"rank":7,"value":"number_range"},"AYF":{"caption":"rotate","editor":"DynamicValue","name":"rotate","optional":true,"rank":8,"value":"number_range"},"AYG":{"caption":"rotateX","editor":"DynamicValue","name":"rotateX","optional":true,"rank":9,"value":"number_range"},"AYH":{"caption":"rotateY","editor":"DynamicValue","name":"rotateY","optional":true,"rank":10,"value":"number_range"},"AYI":{"caption":"rotateZ","editor":"DynamicValue","name":"rotateZ","optional":true,"rank":11,"value":"number_range"},"AYJ":{"caption":"scale","editor":"DynamicValue","name":"scale","optional":true,"rank":12,"value":"number_range"},"AYK":{"caption":"scaleX","editor":"DynamicValue","name":"scaleX","optional":true,"rank":13,"value":"number_range"},"AYL":{"caption":"scaleY","editor":"DynamicValue","name":"scaleY","optional":true,"rank":14,"value":"number_range"},"AYM":{"caption":"scaleZ","editor":"DynamicValue","name":"scaleZ","optional":true,"rank":15,"value":"number_range"},"AYN":{"caption":"skew","editor":"DynamicValue","name":"skew","optional":true,"rank":16,"value":"number_range"},"AYO":{"caption":"skewX","editor":"DynamicValue","name":"skewX","optional":true,"rank":17,"value":"number_range"},"AYP":{"caption":"skewY","editor":"DynamicValue","name":"skewY","optional":true,"rank":18,"value":"number_range"},"AYQ":{"caption":"perspective","editor":"DynamicValue","name":"perspective","optional":true,"rank":19,"value":"number_range"},"AYR":{"caption":"Target Via CSS Selector(s)","editor":"DynamicValue","name":"target_css_select","optional":true,"rank":2,"value":"text"},"AYS":{"caption":"Easing Function","editor":"Dropdown","name":"easing","optional":true,"rank":21},"AYT":{"caption":"Direction","editor":"Dropdown","name":"direction","optional":true,"rank":22},"AYU":{"caption":"ANIMATION PARAMETERS","editor":"Label","name":"animation_parameters","rank":20},"AYV":{"caption":"Loop <i>n</i> Times","editor":"DynamicValue","name":"loop","optional":true,"rank":23,"value":"number"},"AYW":{"caption":"Autoplay","editor":"DynamicValue","name":"autoplay","optional":true,"rank":24,"value":"boolean"},"AYX":{"caption":"Duration","editor":"DynamicValue","name":"duration","optional":true,"rank":25,"value":"number"},"AYY":{"caption":"Delay","editor":"DynamicValue","name":"delay","optional":true,"rank":26,"value":"number"},"AYZ":{"caption":"End Delay","editor":"DynamicValue","name":"endDelay","optional":true,"rank":27,"value":"number"},"AYa":{"caption":"Stagger Value","editor":"DynamicValue","name":"stagger_value_1","optional":true,"rank":29,"value":"number"},"AYb":{"caption":"STAGGER OPTIONS","editor":"Label","name":"stagger_options","rank":28},"AYc":{"caption":"opacity","editor":"DynamicValue","name":"opacity","optional":true,"rank":3,"value":"number_range"},"AYd":{"caption":"ANIMATE2 ACTION: This action is at present experimental and doesn't really work. The input fields in this action all take numeric ranges and these can't be constructed
225in the Expression Builder, so this action is somewhat borked right now unless you're really into setting Custom States.","name":"info","rank":0,"editor":"Label"}},"code":{"fn":"function(instance,properties,context){instance.data.funcAnimate(instance,properties,context)}"}},"AYe":{"caption":"Draw SVG Path","fields":{"AYf":{"caption":"Text Keys","editor":"key_value_list","name":"text_key","rank":0,"value":"text"},"AYg":{"caption":"Numeric Keys","editor":"key_value_list","name":"numeric_keys","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){instance.data.funcDrawSVGPath(instance,properties,context)}"}},"AYh":{"caption":"Set Stagger","code":{"fn":"function(instance,properties,context){instance.data.funcSetStagger(instance,properties,context)}"},"fields":{"AYi":{"caption":"Value","name":"value","rank":3,"editor":"DynamicValue","value":"number","optional":true},"AYj":{"caption":"Range Start","name":"value_start","rank":4,"editor":"DynamicValue","value":"number","optional":true},"AYk":{"caption":"Range End","name":"value_end","rank":5,"editor":"DynamicValue","value":"number","optional":true},"AYl":{"caption":"STAGGER VALUE","name":"stagger_value","rank":2,"editor":"Label"},"AYm":{"caption":"STAGGER INFO","name":"stagger_info","rank":0,"editor":"Label"},"AYn":{"caption":"Execute this action to create stagger settings for a Reanimator animation.","name":"stagger_info_2","rank":1,"editor":"Label"},"AYo":{"caption":"STAGGER OPTIONS","name":"stagger_options","rank":7,"editor":"Label"},"AYp":{"caption":"Start Value","name":"start","rank":8,"editor":"DynamicValue","value":"number","optional":true},"AYq":{"caption":"Units","name":"units","rank":6,"editor":"Dropdown","optional":true},"AYr":{"caption":"Stagger from...","name":"from","rank":9,"editor":"Dropdown","default_val":"first","optional":true},"AYs":{"caption":"Stagger from index","name":"from_index","rank":10,"editor":"DynamicValue","value":"number","optional":true},"AYt":{"caption":"Direction","name":"direction","rank":11,"editor":"Dropdown","default_val":"normal","optional":true},"AYu":{"caption":"Easing","name":"easing","rank":12,"editor":"Dropdown","optional":true},"AYv":{"caption":"Grid Columns","name":"grid_columns","rank":13,"editor":"DynamicValue","value":"number","optional":true},"AYw":{"caption":"Grid Rows","name":"grid_rows","rank":14,"editor":"DynamicValue","value":"number","optional":true},"AYx":{"caption":"Grid Axis","name":"grid_axis","rank":15,"editor":"Dropdown","optional":true},"AYy":{"caption":"APPLY STAGGER TO...","name":"apply_stagger_to...","rank":16,"editor":"Label"},"AYz":{"caption":"Transform","name":"transform","rank":17,"editor":"Dropdown","optional":true},"AZA":{"caption":"CSS Property","name":"css_property","rank":18,"editor":"Dropdown","optional":true},"AZB":{"caption":"Save Stagger as","name":"save_stagger","rank":19,"editor":"Dropdown","optional":true}}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,t){a.data.props_backup=null,a.data.animation={},a.data.animations=[],a.data.nanoid=nanoid(),a.data.className=\"Reanimator-\"+a.data.nanoid,a.data.hoveredClass=\"hovered-\"+a.data.nanoid,a.data.staggers=[],a.data.funcUpdate=function(a,t,e){t?a.data.props_backup=t:t=a.data.props_backup},a.data.funCGetGroup=function(a,t,e){a.canvas.closest(\".Group\"),a.data.group=a.canvas.closest(\".Group\")},a.data.funcGetTargets=function(t,e){var n=[];switch(a.data.target_group||(a.data.target_group=a.canvas.closest(\".Group\"),a.data.target_group||(a.data.target_group=a.canvas.closest(\".Page\")),a.data.target_children=a.data.target_group.querySelectorAll(\".bubble-element\"),a.data.target_all=[...a.data.target_children],a.data.target_all.unshift(a.data.target_group)),a.canvas.closest(\".Group\"),t){case\"\":n=[];break;case\"Parent group\":n=a.data.target_group;break;case\"Parent group & all children\":n=a.data.target_all;break;case\"Children of group\":n=a.data.target_children}return e&&e.trim().split(/\\s+/).forEach((a=>n.push(a))),n},a.data.funcSetProperties=function(t,e,n){var r={};return t&&(r=Object.keys(t).filter((a=>null!=t[a]&&!e.includes(a))).reduce(((a,e)=>({...a,[e]:t[e]})),{})),n||(r.complete=function(t){a.data.funcAnimComplete(t)}),r},a.data.funcSetStagger=function(a,t,e){null==t.value_start&&null==t.value_end||(t.value=[t.value_start?t.value_start:0,t.value_end?t.value_end:0]),null!=t.from_index&&(t.from=t.from_index),null==t.grid_columns&&null==t.grid_rows||(t.grid=[t.grid_columns?t.grid_columns:1,t.grid_rows?t.grid_rows:1]);var n=a.data.funcSetProperties(t,[\"value\",\"value_start\",\"value_end\",\"units\",\"from_index\",\"transform\",\"css_property\",\"save_stagger\"],!0);t.value;var r={applyTo:t.transform,value:t.value,options:n};a.data.staggers.push(r);var i={applyTo:\"delay\",value:t.value,options:n};a.data.staggers.push(i)},a.data.funcSetElastic=function(a){return null!=a.elastic_amplitude||null!=a.elastic_period?(null==a.elastic_amplitude&&(a.elastic_amplitude=1),null==a.elastic_period&&(a.elastic_period=.5),a.elastic_amplitude=a.elastic_amplitude<=1?1:a.elastic_amplitude>=10?10:a.elastic_amplitude,a.elastic_period=a.elastic_period<=.1?.1:a.elastic_period>=2?2:a.elastic_period,a.elastic_in_out||(a.elastic_in_out=\"easeInOutElastic\"),a.elastic_in_out+\"(\"+a.elastic_amplitude+\", \"+a.elastic_period+\")\"):null},a.data.funcSetSpring=function(a){return a.use_spring?(a.mass=null!==a.mass?a.mass<=0?0:a.mass>=100?100:a.mass:1,a.stiffness=null!==a.stiffness?a.stiffness<=0?0:a.stiffness>=100?100:a.stiffness:100,a.damping=null!==a.damping?a.damping<=0?0:a.damping>=100?100:a.damping:10,a.velocity=null!==a.velocity?a.velocity<=0?0:a.velocity>=100?100:a.velocity:10,\"spring(\"+a.mass+\",\"+a.stiffness+\",\"+a.damping
225+\",\"+a.velocity+\")\"):null},a.data.funcAnimate=function(a,t,e){var n;n=a.data.funcGetTargets(t.targets,t.target_css_select);var r,i=a.data.funcSetProperties(t,[\"targets\",\"target_css_select\",\"stagger_value_1\",\"elastic_amplitude\",\"elastic_period\",\"elastic_in_out\",\"draw_svg_paths\",\"path_morph\",\"morph_target\",\"use_spring\",\"mass\",\"stiffness\",\"damping\",\"velocity\"]);i.targets=n,t.use_spring||null===t.elastic_amplitude&&null===t.elastic_period||(i.easing=a.data.funcSetElastic(t)),t.use_spring&&(i.easing=a.data.funcSetSpring(t)),a.data.staggers.forEach((a=>i[a.applyTo]=anime.stagger(a.value,a.options))),t.draw_svg_paths&&(i.strokeDashoffset=[anime.setDashoffset,0]),t.path_morph&&(i.d=[{value:t.path_morph},{value:t.morph_target}]),anime.running,r=anime.running.map((a=>a.animatables)),anime.animatables,r&&r.map((a=>a[0].target.id)),anime.running[0],anime.running[0]&&anime.running[0].animatables.map((a=>a.target.id)),anime.running.filter((t=>a.data.animations.includes(t))).forEach((t=>{a.data.animations=a.data.animations.filter((a=>a!=t)),t.reset(),a.data.animations.length})),a.data.animations.push(anime(i)),a.data.animations},a.data.funcAnimComplete=function(t){a.data.animations=a.data.animations.filter((a=>a!=t)),a.data.animations,a.triggerEvent(\"animation_complete\")},a.data.funcAnimate2=function(a,t,e){a.data.group=a.canvas.closest(\".Group\"),a.data.group;var n=[...a.data.group.children];n.unshift(a.data.group),a.data.my_animation?(a.data.my_animation.direction=\"normal\"==a.data.my_animation.direction?\"reverse\":\"normal\",a.data.my_animation.restart()):a.data.my_animation=anime({targets:n,translateX:150,rotateX:360,scale:1.66,rotate:\"2turn\",delay:anime.stagger(250),direction:\"normal\",easing:\"spring(1.44, 22, 44, 2)\",complete:function(t){a.triggerEvent(\"animation_complete\")}})},a.data.funcAnimate3=function(a,t,e){a.data.group=a.canvas.closest(\".Group\"),a.data.group;var n=[...a.data.group.children];n.unshift(a.data.group),a.data.my_animation?(a.data.my_animation.scale=anime.random(.5,2),a.data.my_animation.restart()):a.data.my_animation=anime({targets:n,translateX:200,rotateZ:anime.stagger([-100,100]),rotateX:anime.random(-20,20),scale:anime.random(.5,1.5),rotate:\"3turn\",delay:anime.stagger(666,{from:\"center\"}),loop:!0,direction:\"alternate\",easing:\"easeInOutQuart\",duration:600,easing:\"spring(3, 9, 55, 7)\",complete:function(t){a.triggerEvent(\"animation_complete\")}})},a.data.funcDrawSVGPath=function(a,t,e){},a.data.funcAnimate4=function(a,t,e){var n;a.data.group=a.canvas.closest(\".Group\"),a.data.group,[...a.data.group.children].unshift(a.data.group),a.data.my_animation?(a.data.my_animation.scale=anime.random(.5,2),a.data.my_animation.restart()):a.data.my_animation=anime({targets:\"#SHIT\",translateX:200,rotateZ:anime.stagger([-100,100]),rotateX:anime.random(-20,20),scale:1.1,rotate:\"2turn\",delay:anime.stagger(111,{from:\"center\"}),loop:!0,direction:\"alternate\",easing:\"easeInOutQuart\",duration:600,easing:\"spring(1, 9, 33, 2.2)\",complete:function(t){a.triggerEvent(\"animation_complete\")}})},a.data.funcGetList=function(a,t,e){var n=[];return a.length()<1||(n=a.get(0,a.length()),a.length(),n[0],t&&e&&n.sort((function(a,e){return a.get(t)[0]-e.get(t)[0]})),!t&&e&&n.sort((function(a,t){return a[0]-t[0]})),n[0].hasOwnProperty(\"listProperties\")&&!t&&(n=n.map((a=>a.get(\"_id\")))),n[0].hasOwnProperty(\"listProperties\")&&t&&(n=n.map((a=>a.get(t))))),n},a.data.funcSetHovers=function(a){a.data.target_group=a.canvas.closest(\".Group\"),a.data.target_group||(a.data.target_group=a.canvas.closest(\".Page\")),a.data.target_children=a.data.target_group.querySelectorAll(\".bubble-element\"),a.data.target_all=[...a.data.target_children],a.data.target_all.unshift(a.data.target_group),a.data.nanoid,a.data.target_group,a.data.target_children,a.data.target_group&&(\"\"==a.data.target_group.id&&(a.data.target_group.id=\"Parent-Group-\"+a.data.className),a.data.nanoid,a.data.target_group,a.data.target_group.id,a.data.target_group.addEventListener(\"mouseenter\",(function(){a.publishState(\"hovered_element_class\",this.className),a.publishState(\"hovered_element_id\",this.id),a.publishState(\"group_hover\",!0),a.triggerEvent(\"group_hover\")})),a.data.target_group.addEventListener(\"mouseleave\",(function(){a.publishState(\"hovered_element_class\",null),a.publishState(\"hovered_element_id\",null),a.publishState(\"group_hover\",null)}
225))),a.data.target_children&&a.data.target_children.forEach(((t,e)=>{\"\"==t.id&&(t.id=\"Child-\"+e+\"-\"+a.data.className,a.data.nanoid,t.id),t.addEventListener(\"mouseenter\",(function(){a.publishState(\"hovered_element_class\",this.className),a.publishState(\"hovered_element_id\",this.id),a.publishState(\"group_hover\",!0),a.triggerEvent(\"group_hover\")})),t.addEventListener(\"mouseleave\",(function(){a.publishState(\"hovered_element_class\",null),a.publishState(\"hovered_element_id\",null),a.publishState(\"group_hover\",null)}))}))},a.data.funcListener=function(t){\"complete\"===t.target.readyState&&a.data.funcSetHovers(a)}},instance.data.noscrubs(instance,context),\"complete\"===document.readyState?instance.data.funcSetHovers(instance):document.addEventListener(\"readystatechange\",instance.data.funcListener)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1581907574667x764217219540616100/reanimator.svg')\" \n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n instance.canvas.appendChild(d)\n}"}},"platform_type":"web"},"AcB":{"display":"Z: Inline SVG","property_applications":{"Background":true,"Border":true,"BoxShadow":true,"Font":true,"MinWidth":true,"Padding":true,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AbY":{"caption":"SVG Code","editor":"DynamicValue","name":"svg_code","optional":true,"rank":0,"value":"text"},"AbZ":{"caption":"GRID OPTIONS","name":"grid_options","rank":1,"editor":"Label"},"Aba":{"caption":"Columns","name":"columns","rank":2,"editor":"DynamicValue","value":"number","optional":true},"Abb":{"caption":"Rows","name":"rows","rank":3,"editor":"DynamicValue","value":"number","optional":true},"Abc":{"caption":"STYLING OPTIONS","name":"styling_options","rank":4,"editor":"Label"}
225,"Abd":{"caption":"Stroke Color","name":"stroke","rank":5,"editor":"Color","optional":true,"in_style":true},"Abe":{"caption":"Stroke Width","name":"strokeWidth","rank":6,"editor":"DynamicValue","optional":true,"value":"number"},"Abf":{"caption":"Fill Color","name":"fill","rank":7,"editor":"Color","optional":true,"in_style":true},"Abg":{"caption":"Overflow","name":"overflow","rank":8,"editor":"Dropdown","optional":true,"default_val":"visible"},"Abh":{"caption":"ROUGH OPTIONS","name":"rough_options","rank":9,"editor":"Label"},"Abi":{"caption":"roughness","name":"roughness","rank":11,"editor":"DynamicValue","value":"number","optional":true},"Abj":{"caption":"Use Rough Style","name":"use_rough","rank":10,"editor":"DynamicValue","value":"boolean","optional":true},"Abk":{"caption":"bowing","name":"bowing","rank":12,"editor":"DynamicValue","optional":true,"value":"number"},"Abl":{"caption":"seed","name":"seed","rank":13,"editor":"DynamicValue","value":"number","optional":true},"Abm":{"caption":"fillWeight","name":"fillWeight","rank":14,"editor":"DynamicValue","value":"number","optional":true},"Abn":{"caption":"hachureAngle","name":"hachureAngle","rank":15,"editor":"DynamicValue","value":"number","optional":true},"Abo":{"caption":"hachureGap","name":"hachureGap","rank":16,"editor":"DynamicValue","value":"number","optional":true},"Abp":{"caption":"curveStepCount","name":"curveStepCount","rank":17,"editor":"DynamicValue","optional":true,"value":"number"},"Abq":{"caption":"curveFitting","name":"curveFitting","rank":18,"editor":"DynamicValue","value":"number","optional":true},"Abr":{"caption":"simplification","name":"simplification","rank":19,"editor":"DynamicValue","value":"number","optional":true},"Abs":{"caption":"dashOffset","name":"dashOffset","rank":20,"editor":"DynamicValue","value":"number","optional":true},"Abt":{"caption":"dashGap","name":"dashGap","rank":21,"editor":"DynamicValue","value":"number","optional":true},"Abu":{"caption":"zigzagOffset","name":"zigzagOffset","rank":22,"editor":"DynamicValue","optional":true},"Abv":{"caption":"fillStyle","name":"fillStyle","rank":23,"editor":"Dropdown","value":"text","optional":true},"Abw":{"caption":"Make unique if in grid","name":"grid_unique","rank":24,"editor":"DynamicValue","value":"boolean","optional":true}},"states":{"Abx":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"Aby":{"caption":"Grid Columns","name":"grid_columns","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"Abz":{"caption":"Grid Rows","name":"grid_rows","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AcA":{"caption":"Paths","name":"paths","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(a,t){a.data.nanoid=nanoid(),a.data.props_backup=null,a.data.flexdiv=null,a.data.grid=null,a.data.rows=null,a.data.columns=null,a.data.initialized=null,a.data.rough=null,a.data.rsvg=null,a.data.roughoptions=null,a.data.grid_unique=null,a.data.funcSetProperties=function(a,t){var e={};return a&&(e=Object.keys(a).filter((e=>null!=a[e]&&!t.includes(e))).reduce(((t,e)=>({...t,[e]:a[e]})),{})),e},a.data.funcGetRough=function(t){var e;return a.data.rsvg.path(t,a.data.roughoptions)},a.data.funcMakeRough=function(a,t){var e,d,s=[];return e=t?a.data.svg.cloneNode(!0):a.data.svg,s=t?[...e.getElementsByTagName(\"path\")]:[...a.data.paths],d=t?s.map((a=>a.getAttribute(\"d\"))):a.data.ds,s.forEach(((t,e)=>{t.replaceWith(a.data.funcGetRough(d[e]))})),a.data.paths=e.getElementsByTagName(\"path\"),a.data.paths,a.data.ds=[...a.data.paths].map((a=>a.getAttribute(\"d\"))),a.data.ds,t?e:null},a.data.funcUpdate=function(a,t,e){var d,s,l;if(a.data.svg_code=t.svg_code?t.svg_code:null,a.data.rough=t.use_rough,a.data.grid_unique=t.grid_unique,a.data.svg_code,a.data.svg_code){const e=new DOMParser;if(a.data.svg=e.parseFromString(a.data.svg_code,\"image/svg+xml\").querySelector(\"svg\"),a.data.svg,a.data.paths=a.data.svg.getElementsByTagName(\"path\"),a.data.paths,a.data.ds=[...a.data.paths].map((a=>a.getAttribute(\"d\"))),a.data.ds,a.data.rough&&(a.data.roughoptions=a.data.funcSetProperties(t,[\"svg_code\",\"columns\",\"rows\",\"overflow\",\"use_rough\",\"bubble\"]),a.data.roughoptions,a.data.rsvg=rough.svg(a.data.svg),a.data.rsvg),a.data.rough&&a.data.ds.length&&!a.data.grid&&a.data.funcMakeRough(a),a.publishState(\"paths\",a.data.ds),a.data.svg.setAttribute(\"width\",\"auto\"),a.data.svg.setAttribute(\"height\",\"100%\"),a.data.svg.setAttribute(\"maxWidth\",\"100%\"),a.data.svg.setAttribute(\"overflow\",t.overflow?t.overflow:\"visible\"),a.canvas.style.overflow=t.overflow?t.overflow:\"visible\",a.canvas.parentElement.style.overflow=t.overflow?t.overflow:\"visible\",a.canvas.parentElement,a.canvas,a.canvas.style.overflow,t.stroke&&a.data.svg.setAttribute(\"stroke\",t.stroke),t.strokeWidth&&a.data.svg.setAttribute(\"stroke-width\",t.strokeWidth),t.fill&&a.data.svg.setAttribute(\"fill\",t.fill),t.rows||t.columns||a.data.flexdiv||(a.data.flexdiv=document.createElement(\"div\"),a.data.flexdiv.style.display=\"flex\",a.data.flexdiv.style.width=t.bubble.width-0+\"px\",a.data.flexdiv.style.height=t.bubble.height-0+\"px\",a.data.flexdiv.style.overflow=t.overflow?t.overflow:\"visible\",a.data.flexdiv.style.alignItems=\"center\",a.data.flexdiv.style.justifyContent=\"center\",a.data.flexdiv.style.margin=\"0 auto\",a.data.container=a.data.flexdiv),t.rows||t.columns){a.data.rows=t.rows?t.rows:1,a.data.columns=t.columns?t.columns:1;var r=document.createElement(\"div\");r.style.display=\"grid\",r.style.gridTemplateColumns=\"repeat(\"+a.data.columns+\", 1fr)\",r.style.gridTemplateRows=\"repeat(\"+a.data.rows+\", 1fr)\",r.style.gridGap=\"1px\",r.style.height=\"100%\",r.style.width=\"100%\",a.data.grid=r,a.data.container=a.data.grid,a.publishState(\"grid_columns\",a.data.columns),a.publishState(\"grid_rows\",a.data.rows)}if(!a.data.initialized&&(a.canvas.appendChild(a.data.container),a.data.flexdiv&&a.data.container.appendChild(a.data.svg),a.data.grid))for(i=0;i<a.data.columns*a.data.rows;i++)d=Math.floor(i/a.data.columns+1%a.data.columns),s=i%a.data.columns+1,(l=a.data.rough&&a.data.grid_unique?a.data.funcMakeRough(a,!0):a.data.svg.cloneNode(!0)).id=\"svg-\"+i,l.style.gridColumn=s,l.style.gridRow=d,l.row=d,l.col=s,a.data.container.appendChild(l)}a.data.svg.classlist,a.data.initialized,a.data.initialized=!0,a.publishState(\"grid_columns\",a.data.columns),a.publishState(\"grid_rows\",a.data.rows)},a.data.funcGetList=function(a){return a.length()<1?[]:a.get(0,a.length())},a.data.funcSetList=function(a){return Array.isArray(a)?a:[a]},a.data.funcSetScalar=function(a){return Array.isArray(a)?a[0]:a}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUp
225date(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n var svg_code = properties.svg_code ? properties.svg_code : null\n var flexdiv, grid, container, rows, columns, gRow, gCol, node\n var removeProps = ['svg_code', 'columns', 'rows', 'overflow', 'use_rough']\n\n function setProperties(properties, removeProps) {\n // build rough options object from properties keys\n var roughProps = {}\n if (properties) {\n roughProps = Object.keys(properties).filter(key => (properties[key] != null && !removeProps.includes(key))).reduce((obj, key) => {\n return {\n ...obj,\n [key]: properties[key]\n }\n }, {})\n } // end if\n return roughProps\n } // end setproperties \n \n //console.log('instance.data.svg_code is: ', instance.data.svg_code)\n if (svg_code) {\n const parser = new DOMParser()\n const svg = parser.parseFromString(svg_code, 'image/svg+xml').querySelector('svg')\n //console.log('svg data is: ', svg)\n \n /* if (properties.use_rough) {\n // build rough properties object from properties keys\n var roughoptions = setProperties(properties, removeProps)\n svg = rough.svg(svg,\n roughoptions)\n } */\n \n svg.setAttribute(\"width\", \"auto\")\n svg.setAttribute(\"height\", \"100%\")\n svg.setAttribute(\"maxWidth\", \"100%\")\n // svg.setAttribute(\"fill\", \"red\")\n // styling\n if (properties.stroke) svg.setAttribute(\"stroke\", properties.stroke)\n if (properties.strokeWidth) svg.setAttribute(\"stroke-width\", properties.strokeWidth)\n if (properties.fill) svg.setAttribute(\"fill\", properties.fill)\n \n // set up a flex div\n // var d = document.createElement(\"div\")\n // d.style.display = \"flex\"\n // d.style.width = properties.bubble.width()-0 + \"px\"\n // d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.overflow = \"hidden\"\n // d.style.alignItems = \"center\"\n // d.style.justifyContent = \"center\"\n // d.style.margin = \"0 auto\"\n\n // set up a flex div \n if (!properties.rows && !properties.columns) {\n flexdiv = document.createElement(\"div\")\n flexdiv.style.display = \"flex\"\n flexdiv.style.width = properties.bubble.width()-0 + \"px\"\n flexdiv.style.height = properties.bubble.height()-0 + \"px\"\n flexdiv.style.overflow = \"hidden\"\n flexdiv.style.alignItems = \"center\"\n flexdiv.style.justifyContent = \"center\"\n flexdiv.style.margin = \"0 auto\"\n container = flexdiv\n }\n // or set up a grid\n if (properties.rows || properties.columns) {\n rows = properties.rows ? properties.rows : 1\n columns = properties.columns ? properties.columns : 1\n grid = document.createElement(\"div\")\n grid.style.display = \"grid\"\n grid.style.gridTemplateColumns = \"repeat(\" + columns + \", 1fr)\"\n grid.style.gridTemplateRows = \"repeat(\" + rows + \", 1fr)\"\n grid.style.gridGap = \"1px\"\n // IMPORTANT: Need to compute height/width in the preview version (diff from on page):\n grid.style.height = properties.bubble.height-0 + \"px\" // instead of 100%\n grid.style.width = properties.bubble.width-0 + \"px\" // instead of 100%\n // instance.data.grid = grid\n container = grid\n // instance.publishState('grid_columns', instance.data.columns)\n // instance.publishState('grid_rows', instance.data.rows)\n }\n\t\t\t// add to the layout\n instance.canvas.appendChild(container)\n \t// console.log('container is: ', container)\n // append the svg to the flexdiv\n if (flexdiv) container.appendChild(svg)\n // or set up the grid of svgs\n if (grid) { // loop over grid positions\n for (i = 0; i < (columns * rows);
225 i++) {\n \n gRow = Math.floor((i/columns)+1 % columns)\n gCol = i % columns + 1\n node = svg.cloneNode(true)\n node.id = \"svg-\" + i\n node.style.gridColumn = gCol\n node.style.gridRow = gRow\n node.row = gRow\n node.col = gCol\n container.appendChild(node)\n // console.log('adding node ', i, ' object ', node)\n }\n } \n \n \n \n // d.appendChild(svg)\n // instance.canvas.appendChild(d)\n }\n// console.log('canvas is: ', instance.canvas)\n}"}},"platform_type":"web"},"Acm":{"display":"Floppy Rehydrator","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AcP":{"caption":"REHYDRATOR","name":"REHYDRATOR","rank":0,"editor":"Label"},"AcQ":{"caption":"Rehydrator takes text lists of Bubble unique IDs and turns them back into the Things they represent. (Obviously, you must know what type of Things the UIDs represent... It ain't magic!) Note that if you're using this plugin to rehydrate a list of UIDs retrieved from the URL via \"Get Data from URL\", you're going to have to split that string by comma space (\", \") not %2C%20 as you might expect. The lists of Things appear at Rehydrator's Rehydrated Things 1, 2, or 3 outputs as appropriate.","name":"reh_info","rank":1,"editor":"Label"},"AcR":{"caption":"Thing Type 1","name":"thing_1","rank":2,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"AcS":{"caption":"UIDs 1","name":"uids_1","rank":3,"editor":"DynamicValue","value":"text","optional":true,"is_list":true},"AcT":{"caption":"Thing Type 2","name":"thing_2","rank":4,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"AcZ":{"caption":"UIDs 2","name":"uids_2","rank":5,"editor":"DynamicValue","value":"text","optional":true,"is_list":true},"Aca":{"caption":"Thing Type 3","name":"thing_3","rank":6,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"Acb":{"caption":"UIDs 3","name":"uids_3","rank":7,"editor":"DynamicValue","value":"text","optional":true,"is_list":true},"Acc":{"caption":"EDITOR OPTIONS","name":"editor_sep","rank":8,"editor":"Label"},"Acd":{"caption":"Editor Icon Color","name":"icolor","rank":9,"editor":"Dropdown","optional":true,"default_val":"Classic Blue"},"Ace":{"caption":"Debug Mode","name":"debug","rank":10,"editor":"DynamicValue","value":"boolean","optional":true}},"states":{"Acf":{"caption":"Rehydrated Things List 1","name":"r_things_1","value":"custom_data_AcR","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Acg":{"caption":"Rehydrated Things List 2","name":"r_things_2","value":"custom_data_AcT","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Ach":{"caption":"Rehydrated Things List 3","name":"r_things_3","value":"custom_data_Aca","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"Acl":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AcO":{"caption":"Initialized/Updated","name":"initialized"}},"code":{"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.width = \"100%\"\n // d.style.height = \"100%\"\n \n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1670464142551x318394013171586750/rehydrator-icon.svg')\"\n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"o
225pacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n instance.canvas.appendChild(d)\n // console.log('instance.canvas ', instance.canvas)\n // console.log('element dims: ', properties.bubble.width(), ' x ', properties.bubble.height())\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function(t,a){t.data.funcUpdate=function(t,a){t.data.debug&&(t.data.start=Date.now()),t.data.funcGetProps(t,a),t.data.uid_lists,t.data.uids=t.data.uid_lists.map((a=>t.data.funcGetList(a))),t.data.uids,t.data.funcPublishStates(t),t.data.initialized=!0,t.publishState(\"initialized\",t.data.initialized),t.triggerEvent(\"initialized\")},t.data.funcPublishStates=function(t){t.data.uids.forEach(((a,i)=>{t.publishState(\"r_things_\"+(i+1),a)}))},t.data.funcGetProps=function(t,a){t.data.uid_lists=Object.getOwnPropertyNames(a).filter((t=>t.includes(\"uids\"))).map((t=>a[t]||[])),t.data.debug=a.debug},t.data.funcGetList=function(t){if(Array.isArray(t)&&!t.hasOwnProperty(\"get\"))return t;var a=[];return t.hasOwnProperty(\"get\")?t.length()<1?a:a=t.get(0,t.length()):a}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"Adr":{"display":"Z: Floppy Bulky (in development)","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"Adm":{"caption":"THIS PLUGIN IS IN DEVELOPMENT AND CURRENTLY NOT FOR GENERAL USE. YOU'VE BEEN WARNED. Floppy Bulky helps make using your app's bulk thing creation API eaiser.","name":"fh_info","rank":0,"editor":"Label"},"Adn":{"caption":"Editor Icon Color","name":"icolor","rank":2,"editor":"Dropdown","default_val":"Classic Blue","optional":true},"Ady":{"caption":"Debug Mode","name":"debug","rank":1,"editor":"DynamicValue","value":"boolean","optional":true},"AeJ":{"caption":"Thing Type 1","name":"thing_type_1","rank":3,"editor":"custom_type","optional":true},"AeK":{"caption":"Thing Type 2","name":"thing_type_2","rank":4,"editor":"custom_type","optional":true},"AeL":{"caption":"Thing Type 3","name":"thing_type_3","rank":5,"editor":"custom_type","optional":true},"AeP":{"caption":"Thing Type 4","name":"thing_type_4","rank":6,"editor":"custom_type","optional":true},"AeQ":{"caption":"Thing Type 5","name":"thing_type_5","rank":7,"editor":"custom_type","optional":true}},"states":{"Ado":{"caption":"Initialized","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AeM":{"caption":"Created Things List 1","name":"created_things_list_1","value":"custom_data_AeJ","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeN":{"caption":"Created Things List 2","name":"created_things_list_2","value":"custom_data_AeK","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeO":{"caption":"Created Things List 3","name":"created_things_list_3","value":"custom_data_AeL","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeR":{"caption":"Created Things List 4","name":"created_things_list_4","value":"custom_data_AeP","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeS":{"caption":"Created Things List 5","name":"created_things_list_5","value":"custom_data_AeQ","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AeT":{"caption":"Bulk Create Endpoints JSON","name":"bulk_endpoints_json","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"Adk":{"caption":"Initialized/Updated","name":"initialized_updated"}},"actions":{"Ads":{"caption":"Bulk Create Things","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.funcActionBulkCreate(instance,properties,context):console.log(\"Bulky is not initialized. Bulk Create Things will not run.\")}"},"fields":{"Adt":{"caption":"Type of Things","name":"type","rank":0,"editor":"custom_type","optional":true},"Adu":{"caption":"Field 1","name":"field_1","rank":1,"editor":"custom_field_Adt","optional":true},"Adv":{"caption":"Field 2","name":"field_2","rank":3,"editor":"custom_field_Adt","optional":true},"Adw":{"caption":"Field 3","name":"field_3","rank":5,"editor":"custom_field_Adt","optional":true},"AeA":{"caption":"Field 1 Values","name":"fieldvalues_1","rank":2,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AeE":{"caption":"Field 2 Values","name":"fieldvalues_2","rank":4,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AeF":{"caption":"Field 3 Values","name":"fieldvalues_3","rank":6,"editor":"DynamicValue","value":"_any_thing","optional":true,"is_list":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.width = \"100%\"\n // d.style.height = \"100%\"\n \n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1680231539762x190319684533485120/date-range-processor.svg')\"\n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"o
225pacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function no_scrubs(instance,context){console.log(\"context is \",context),i=instance.data,instance.data.startTime=Date.now(),instance.data.debug=null,instance.data.location=window.location,instance.data.swaggerpath=\"/api/1.1/meta/swagger.json\",instance.data.system_fields=[\"Created By\",\"Slug\",\"Created Date\",\"Modified Date\",\"_id\",\"email\",\"logged_in\"],instance.data.doubles=[/_date_range(?!.*_date_range)/,/_number_range(?!.*_number_range)/,/_geographic_address(?!.*_geographic_address)/,/_option(?!.*_list_option).*/],instance.data.underscores=/_+/g,instance.data.funcUpdate=async function update(instance,props){console.log(\"FLOPPY BULKY IS UPDATING!!!!\"),instance.data.funcGetProps(instance,props),await instance.data.funcGetSwagger(instance),instance.data.initialized=!0,instance.publishState(\"initialized\",instance.data.initialized),instance.triggerEvent(\"initialized_updated\"),console.log(\"Init time: \",Date.now()-instance.data.startTime)},instance.data.funcGetSwagger=async function funcGetSwagger(instance){var location=window.location,testpath=location.pathname.startsWith(\"/version-test/\")?\"/version-test/\":\"\",swagger_endpoint=location.origin+testpath+instance.data.swaggerpath,host=location.host;instance.data.swagger=null;const response=await fetch(swagger_endpoint),swagger=await response.json();instance.data.swagger=swagger;var base=\"https://\"+host+swagger.basePath;console.log(\"swagger path is: \",base),instance.data.bulk_endpoints=Object.keys(swagger.paths).filter((path=>path.includes(\"/obj/\")&&!path.includes(\"{UniqueID}\"))).map(((path,i)=>{var endpoint={},bodyref=swagger.paths[path].post.parameters[0].schema.$ref.split(\"/\");bodyref.shift(),console.log(\"defining endpoint \",i,\" bodyref is \",bodyref);var bodyprops=swagger[bodyref[0]][bodyref[1]].properties;console.log(\" body props is \",bodyprops);var fields=Object.keys(bodyprops).map((prop=>{var result;return console.log(\"mapping fields - bodyprop is \",prop),{name:prop,plugin_name:prop.replaceAll(\" \",\"_\").toLowerCase(),type:bodyprops[prop].type}}));return endpoint.fields=fields,endpoint.base=base,endpoint.host=host,endpoint.swagger_basePath=swagger.basePath,endpoint.path=path,endpoint.fullpath=base+path,endpoint.name=path.split(\"/\").pop(),endpoint})),console.log(\"bulk endpoints is: \",instance.data.bulk_endpoints),instance.data.bulk_endpoints_json=JSON.stringify(instance.data.bulk_endpoints),instance.publishState(\"bulk_endpoints_json\",instance.data.bulk_endpoints_json),console.log(\"bulk endpoints JSON is: \",instance.data.bulk_endpoints_json),console.log(\"BULKY UPDATED... swagger time: \",Date.now()-instance.data.startTime)},instance.data.funcActionBulkCreate=function actionBulkCreate(instance,props,context){instance.data.bulk_create_start=Date.now(),console.log(\"entering bulk create\"),console.log(\"type is \",props.type);var processed_type=instance.data.funcProcessType(props.type);if(processed_type){console.log(\"processed type is \",processed_type);var fields=Object.getOwnPropertyNames(props).filter((prop=>prop.startsWith(\"field_\")&&null!=props[prop])).map((prop=>({prop:prop,field:props[prop],values:props[prop.replace(\"field_\",\"fieldvalues_\")]})));fields=fields.filter((field_obj=>field_obj.values)),console.log(\"fields are \",fields);var processed_fields=instance.data.funcProcessFields(fields);console.log(\"processed fields are \",processed_fields);var endpointnames=instance.data.bulk_endpoints.map((endpoint=>endpoint.name));console.log(\"endpointnames is \",endpointnames);var closest_endpoint=instance.data.closestMatch(processed_type,endpointnames);console.log(\"closest_endpoint is \",closest_endpoint),closest_endpoint=instance.data.bulk_endpoints.find((endpoint=>endpoint.name==closest_endpoint)),console.log(\"closest endpoint object is \",closest_endpoint);
225var endpoint_fields=closest_endpoint.fields.map((field=>field.plugin_name));console.log(\"endpoint fields is \",endpoint_fields);var closest_fields=processed_fields.map((pfield=>instance.data.closestMatch(pfield.field,endpoint_fields)));console.log(\"closest fields is \",closest_fields),processed_fields.forEach(((field,i)=>{field.closest_field=closest_fields[i],field.outfield=closest_endpoint.fields.find((endfield=>endfield.plugin_name==field.closest_field))})),console.log(\"final process - processed fields is \",processed_fields),processed_fields.forEach((field=>{var list=instance.data.funcGetList(field.values).map((item=>instance.data.funcGetID(item)));field.values_list=list})),console.log(\"fetched data - processed fields is \",processed_fields);var components={};processed_fields.forEach(((field,i)=>{console.log(\"creating payload for field \",field),console.log(\"field.values_list is \",field.values_list),components[field.outfield.name]=field.values_list.map((value=>{var object={};return object[field.outfield.name]=instance.data.funcTransValue(field,value),object}))})),console.log(\"making payload - components is \",components);var num_values=Math.max(...Object.keys(components).map((key=>components[key].length)));console.log(\"num values is \",num_values);var lines=[];for(let i=0;i<num_values;i++){console.log(\"making line \",i);var line={};Object.keys(components).forEach((key=>{console.log(\"making lines type \",typeof components[key][i][key]),line[key]=components[key][i][key]})),console.log(\"line \",i,\": \",line),lines.push(JSON.stringify(line))}console.log(\"lines is \",lines);var payload=lines.join(\"\\r\\n\");console.log(\"payload is:\"),console.log(payload),instance.data.funcCallBulk(instance,context,closest_endpoint.fullpath+\"/bulk\",payload,lines.length,props.type)}},instance.data.funcCallBulk=function callBulk(instance,context,endpoint,payload,payload_length,type){var result,myHeaders=new Headers,raw,requestOptions;console.log(\"calling endpoint \",endpoint),myHeaders.append(\"Authorization\",\"Bearer \"+context.keys[\"Data API Key 2\"]),myHeaders.append(\"Content-Type\",\"text/plain\"),fetch(endpoint,{method:\"POST\",headers:myHeaders,body:payload,redirect:\"follow\"}).then((response=>response.text())).then((result=>{instance.data.parseBulkResult(instance,result,payload_length,type),instance.data.debug&&console.info(\"bulk create function time \",Date.now()-instance.data.bulk_create_start)})).catch((error=>console.log(\"Error calling bulk endpoint\",endpoint,\": \",error)))},instance.data.parseBulkResult=function parseBulkResult(instance,result,payload_length,type){console.log(\"parsing result: type is \",type);var parsed_result=result.split(/\\r?\\n/);console.log(\"Parsed result:\"),console.log(parsed_result);var result_objects=parsed_result.map((result=>JSON.parse(result)));console.log(\"Result objects\",result_objects);var success_results=result_objects.filter((result=>\"success\"==result.status)),error_results=success_results.length?null:result_objects.filter((result=>\"error\"==result.status));console.log(\"success objects: \",success_results),console.log(\"error objects: \",error_results),instance.data.output_types.forEach(((output_type,i)=>{output_type==type&&instance.publishState(\"created_things_list_\"+(i+1),success_results.map((result=>result.id)))}))},instance.data.funcTransValue=function transValue(field,value){return\"number\"==field.outfield.type?+value:\"string\"==field.outfield.type?value:\"array\"==field.outfield.type?[value]:void 0},instance.data.funcProcessType=function processType(type){var thing;return type.startsWith(\"custom.\")?type=type.replace(\"custom.\",\"\").replaceAll(\"_\",\"\"):(instance.data.debug&&console.info(\"Bulk Create Things: Selected data type is not a Thing. Bulk Creation is not possible.\"),type=null)},instance.data.funcProcessFields=function processFields(fields){if(!fields)return null;const regx=/_[^_]+$/,regx2=/_custom(?!.*_custom).*/,regx3=/_doublz(?!.*_doublz).*/,regx4=/_list(?!.*_list).*/;var processed_fields=[],remove_type=!0,title_case=!1,no_system=!0,system_fields=[],idIndex,emailIndex,loggedIndex;return system_fields=fields.filter((field=>instance.data.system_fields.includes(field.field))),processed_fields=fields.filter((field=>!instance.data.system_fields.includes(field.field))),instance.data.debug&&system_fields.length>0&&console.info(\"Bulk Create Things: The following system fields cannot be written and have been removed: \",system_fields),processed_fields.forEach((field=>
225{instance.data.doubles.forEach((regex=>field.field=field.field.replace(regex,\"_doublz\")))})),console.log(\"removing types processed fields is \",processed_fields),processed_fields.forEach((field=>{field.field=field.field.replace(regx2,\"_custom\").replace(regx,\"\"),field.field.endsWith(\"_list\")&&(field.field=field.field.replace(regx4,\"\"))})),instance.data.debug&&console.log(\"After processing, custom fields have become: \",JSON.stringify(processed_fields)),processed_fields},instance.data.closestMatch=function closestMatch(target,array,showOccurrences){var distance_1={distance:function(a,b){var _a;if(0===a.length)return b.length;if(0===b.length)return a.length;a.length>b.length&&(a=(_a=[b,a])[0],b=_a[1]);for(var row=[],i=0;i<=a.length;i++)row[i]=i;for(var i=1;i<=b.length;i++){for(var prev=i,j=1;j<=a.length;j++){var val=void 0;val=b.charAt(i-1)===a.charAt(j-1)?row[j-1]:Math.min(row[j-1]+1,prev+1,row[j]+1),row[j-1]=prev,prev=val}row[a.length]=prev}return row[a.length]}};if(void 0===showOccurrences&&(showOccurrences=!1),0===array.length)return null;for(var vals=[],found=[],i=0;i<array.length;i++)vals.push((0,distance_1.distance)(target,array[i]));for(var min=Math.min.apply(Math,vals),i=0;i<vals.length;i++)vals[i]===min&&found.push(array[i]);return showOccurrences?found:found[0]},instance.data.funcGetProps=function getProps(instance,props){instance.data.output_types=[],Object.getOwnPropertyNames(props).forEach((prop=>{null!=props[prop]&&(instance.data[prop]=props[prop]),prop.startsWith(\"thing_type_\")&&instance.data.output_types.push(props[prop])}))},instance.data.funcGetList=function getList(List){if(Array.isArray(List)&&!List.get)return List;var returnList=[];return List.get?(List.length()<1||(returnList=List.get(0,List.length())).map((item=>instance.data.funcGetID(item))),returnList):returnList},instance.data.funcGetID=function getID(Item,replace_null_type){return replace_null_type&&(Item=instance.data.funcReplaceNull(Item,replace_null_type)),Item?Item.get&&Item.listProperties().includes(\"_id\")?Item.get(\"_id\"):Item.isUID?Item.value:Item:Item},instance.data.funcReplaceNull=function replaceNull(Item,type){if(Item&&Item.get&&Item.listProperties().includes(\"_id\")&&null==Item.get(\"_id\")&&(Item=null),Item&&Item.isUID&&null==Item.value&&(Item=null),\"date_range\"!=type&&\"number_range\"!=type||!Array.isArray(Item)||0!=Item.length||(Item=null),null!=Item)return Item;var null_replacement=null;return(type.startsWith(\"custom\")||\"geographic_address\"==type)&&(null_replacement=\"null\"),\"number\"==type&&(null_replacement=0),[\"text\",\"file\",\"image\"].includes(type)&&(null_replacement=\"\"),\"date\"==type&&(null_replacement=instance.data.min_js_date),\"boolean\"==type&&(null_replacement=!1),null_replacement}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"Amt":{"display":"Floppy Date Range Processor","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"Amo":{"caption":"Floppy Date Range Processor takes a list of date ranges and can make them unique and/or sort them the proper way. (Neither of these functions is available in vanilla Bubble.) The processed date ranges are published to the \"Processed Date Ranges\" output and the \"Date Ranges Processed\" event is triggered. Note that there is also an Action to do the same thing.","name":"fdr_info","rank":0,"editor":"Label"},"Amp":{"caption":"Editor Icon Color","name":"icolor","rank":5,"editor":"Dropdown","default_val":"Classic Blue","optional":true},"Amu":{"caption":"Date Ranges","name":"date_ranges","rank":1,"editor":"DynamicValue","optional":true,"is_list":true,"value":"date_range"},"Amv":{"caption":"Make Unique","name":"unique","rank":2,"editor":"DynamicValue","value":"boolean","optional":true},"Amw":{"caption":"Sort","name":"sort","rank":3,"editor":"DynamicValue","value":"boolean","optional":true},"Amx":{"caption":"Sort Descending","name":"sort_descending","rank":4,"editor":"DynamicValue","value":"boolean","optional":true}},"states":{"Amq":{"caption":"Initialized/Updated","name":"initialized","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AnF":{"caption":"Processed Date Ranges","name":"processed_date_ranges","value":"date_range","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"events":{"Amm":{"caption":"Initialized/Updated","name":"initialized"},"AnG":{"caption":"Date Ranges Processed","name":"date_ranges_processed"}},"actions":{"Amy":{"caption":"Process Date Ranges","code":{"fn":"function(instance,properties,context){instance||instance.data.initialized?instance.data.ActionProcessDateRanges(instance,properties):console.log(\"Floppy Date Range Processor is not initialized. Process Date Ranges will not run.\")}"},"fields":{"Amz":{"caption":"Process Date Ranges Action","name":"pdr_info","rank":0,"editor":"Label"},"AnA":{"caption":"Execute this action to make a list of date ranges unique and/or sort the them. The processed date ranges appear at the \"Processed Date Ranges\" output and the \"Date Ranges Processed\" event is triggered.","name":"pdr_info","rank":1,"editor":"Label"},"AnB":{"caption":"Date Ranges","name":"date_ranges","rank":2,"editor":"DynamicValue","value":"date_range","optional":true,"is_list":true},"AnC":{"caption":"Make Unique","name":"unique","rank":3,"editor":"DynamicValue","value":"boolean","optional":true},"AnD":{"caption":"Sort","name":"sort","rank":4,"editor":"DynamicValue","optional":true,"value":"boolean"},"AnE":{"caption":"Sort Descending","name":"sort_descending","rank":5,"editor":"DynamicValue","value":"boolean","optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n // d.style.width = \"100%\"\n // d.style.height = \"100%\"\n \n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1680231539762x190319684533485120/date-range-processor.svg')\"\n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"o
225pacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(0%) contrast(260%) brightness(80%) saturate(270%) hue-rotate(153deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n instance.canvas.appendChild(d)\n}"},"initialize":{"fn":"function(instance,context){instance.data.gptWrapper=function(e,t){e.data.areDateRangesEqual=function(e,t){return e[0].getTime()===t[0].getTime()&&e[1].getTime()===t[1].getTime()},e.data.sortDateRanges=function(e,t){return e.slice().sort(((e,a)=>{let n=e[0].getTime()-a[0].getTime();return 0===n&&(n=e[1].getTime()-a[1].getTime()),t&&(n*=-1),n}))},e.data.getList=function(e){return!e||!e.get||e.length()<1?null:e.get(0,e.length())},e.data.MakeDateRangesUnique=function(t){const a=[];return t.forEach((t=>{a.some((a=>e.data.areDateRangesEqual(a,t)))||a.push(t)})),a},e.data.ActionProcessDateRanges=function(e,t,a){if(t.date_ranges,!t.date_ranges&&!a)return;const n=a||e.data.getList(t.date_ranges);var r=[];t.unique&&(r=e.data.MakeDateRangesUnique(n)),t.sort&&(r=e.data.sortDateRanges(t.unique?r:n,t.sort_descending)),t.unique||t.sort||(r=n),e.publishState(\"processed_date_ranges\",r),e.triggerEvent(\"date_ranges_processed\")},e.data.funcUpdate=function(e,t,a){if(!t.date_ranges)return e.publishState(\"processed_date_ranges\",[]),void e.triggerEvent(\"initialized\");const n=e.data.getList(t.date_ranges);e.data.ActionProcessDateRanges(e,t,n),e.triggerEvent(\"initialized\")}},instance.data.gptWrapper(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"BKf":{"display":"List Shifter PRO","property_applications":{"Background":false,"Border":false,"BoxShadow":false,"Font":false,"MinWidth":false,"Padding":false,"resizable":true},"add_hover_pressed":false,"add_is_visible":true,"support_autobinding":false,"fields":{"BJc":{"caption":"Data Type of List","editor":"custom_type","name":"data_type_of_list","rank":2},"BJd":{"caption":"List to Shift","editor":"DynamicValue","is_list":true,"name":"list_to_shift","optional":true,"rank":3,"value":"custom_data_BJc"},"BJe":{"caption":"LIST SELECTOR","editor":"Label","name":"list_selection","rank":1},"BJf":{"caption":"LIST SHIFTER takes an input list (defined below) and publishes a modified version of the list (in the element's Shifted List state). It also publishes the original list (as the element's Original List). You can apply various transformations including REVERSE, ROTATE, or SWAP list items. Using List Shifter's Actions, you can ITERATE over and PROCESS list items. Reminder: To use the PROCESS List and Custom Value/Custom List features, you must set a Processed List data type toward the end of this dialog.","editor":"Label","name":"shift_information","rank":0},"BJg":{"caption":"ROTATE OPTION","editor":"Label","name":"rotate_option","rank":6},"BJh":{"caption":"Rotate List by","editor":"DynamicValue","name":"rotate_by","optional":true,"rank":7,"value":"number"},"BJi":{"caption":"REVERSE List","editor":"DynamicValue","name":"reverse_list","optional":true,"rank":5,"value":"boolean"},"BJj":{"caption":"EDITOR ICON COLOR","editor":"Dropdown","name":"icolor","optional":true,"rank":8},"BJk":{"caption":"PAGINATION OPTIONS","editor":"Label","name":"pagination_info","rank":9},"BJl":{"caption":"Much like a Repeating Group, List Shifter can incrementally load data for the List to Shift and publish it in paginated form, one page at a time. Set an Items per Page value below to put List Shifter into pagination mode. NOTE: If you are using the \"Make Numeric List\" option below, pagination settings are ignored. Pagination is only intended for lists that are the result of an expression.","editor":"Label","name":"pagination_info_2","rank":10},"BJm":{"caption":"Items per Page","editor":"DynamicValue","name":"items_per_page","o
225ptional":true,"rank":11,"value":"number"},"BJn":{"caption":"GENERATE NUMERIC LIST OPTIONS","editor":"Label","name":"advanced_features_info","rank":14},"BJo":{"caption":"Rather than supplying an existing list, List Shifter can make a list of type number for you algorithmically. if using this option, the \"Data Type of List\" option (above) must be set to \"number\".","editor":"Label","name":"algo_info","rank":15},"BJp":{"caption":"Make a Numeric List","editor":"DynamicValue","name":"numeric_list","optional":true,"rank":16,"value":"boolean"},"BJq":{"caption":"Start at","default_val":1,"editor":"DynamicValue","name":"start","optional":true,"rank":18,"value":"number"},"BJr":{"caption":"Number of Items","editor":"DynamicValue","name":"num_items","optional":true,"rank":17,"value":"number"},"BJs":{"caption":"Increment by","default_val":1,"editor":"DynamicValue","name":"increment","optional":true,"rank":19,"value":"number"},"BJt":{"caption":"Max Pages for Nav","editor":"DynamicValue","name":"max_pages","optional":true,"rank":12,"value":"number"},"BJu":{"caption":"Default Prefetch","default_val":0,"editor":"Dropdown","name":"prefetch","optional":true,"rank":13,"value":"number"},"BJv":{"caption":"PERFORMANCE OPTIONS","editor":"Label","name":"performance_options","rank":20},"BJw":{"caption":"List Shifter includes some niceties that are useful with smaller lists (difference tracking, selected item tracking). When using List Shifter as a data processing toolâespecially on larger listsâyou may want to turn these off if you don't use them as they consume compute resources and can slow things down.","editor":"Label","name":"performance_options_detail","rank":21},"BJx":{"caption":"Track Selected Items & List Difference","default_val":true,"editor":"DynamicValue","name":"track","optional":false,"rank":22,"value":"boolean"},"BJy":{"caption":"PROCESS ACTION and CUSTOM VALUE OPTIONS","editor":"Label","name":"process_action_options","rank":23},"BJz":{"caption":"To use the PROCESS List action and/or List Shifter's Custom Value and Custom List outputs, select a data type to use for List Shifter's Processed Result, Processed List, Custom Value and Custom List outputs.","editor":"Label","name":"process_detail","rank":24},"BKA":{"caption":"PROCESS Output Type","editor":"custom_type","name":"process_output_type","optional":true,"rank":25},"BKB":{"caption":"Use Scalar","editor":"DynamicValue","name":"use_scalar","optional":true,"rank":4,"value":"custom_data_BJc"}},"states":{"BKC":{"caption":"Shifted List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"shifted_list","value":"custom_data_BJc"},"BKD":{"caption":"Original List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"original_list","value":"custom_data_BJc"},"BKE":{"caption":"Selected Item Number","initialization_code":{"fn":"function(properties,context){}"},"name":"selected_item_number","value":"number"},"BKF":{"caption":"Last 2 Selected Items List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"last_2_selected_items_list","value":"number"},"BKG":{"caption":"List Shifted","initialization_code":{"fn":"function(properties,context){}"},"name":"list_shifted","value":"boolean"},"BKH":{"caption":"Current Iteration Item","initialization_code":{"fn":"function(properties,context){}"},"name":"current_iteration_item","value":"custom_data_BJc"},"BKI":{"caption":"Current Iteration Index","initialization_code":{"fn":"function(properties,context){}"},"name":"current_iteration_index","value":"number"},"BKJ":{"caption":"Loading","initialization_code":{"fn":"function(properties,context){}"},"name":"loading","value":"boolean"},"BKK":{"caption":"Iterating","initialization_code":{"fn":"function(properties,context){}"},"name":"iterating","value":"boolean"},"BKL":{"caption":"Item Count","initialization_code":{"fn":"function(properties,context){}"},"name":"item_count","value":"number"},"BKM":{"caption":"Item to Find","initialization_code":{"fn":"function(properties,context){}"},"name":"index_item","value":"custom_data_BJc"},"BKN":{"caption":"Index of Item to Find (Original)","initialization_code":{"fn":"function(properties,context){}"},"name":"index_of_item_original","value":"number"},"BKO":{"caption":"Paginating","initialization_code":{"fn":"function(properties,context){}"},"name":"paginating","value":"boolean"},"BKP":{"caption":"Total Pages","initialization_code":{"fn":"function(properties,context){}"},"name":"total_pages","value":"number"},"BKQ":{"caption":"Page","initialization_code":{"fn":"function(properties,context){}"},"name":"page","value":"number"},"BKR":{"caption":"Items per Page","initialization_code":{"fn":"function(properties,context){}"},"name":"items_per_page","value":"number"},"BKS":{"caption":"Index of Item to Find (Shifted)","initialization_code":{"fn":"function(properties,context){}"},"name":"index_of_item_shifted","value":"number"},"BKT":{"caption":"Page Nav List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"page_list","value":"number"},"BKU":{"caption":"Initialized","initialization_code":{"fn":"function(properties,context){}"},"name":"initialized","value":"boolean"},"BKV":{"caption":"Custom Value","initialization_code":{"fn":"function(properties,context){}"},"name":"custom_value","value":"custom_data_BKA"},"BKW":{"caption":"Custom List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"custom_list","value":"custom_data_BKA"}
225,"BKX":{"caption":"Processed List","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"processed_list","value":"custom_data_BKA"},"BKY":{"caption":"Processed Result","initialization_code":{"fn":"function(properties,context){}"},"name":"processed_result","value":"custom_data_BKA"},"BKZ":{"caption":"Processing","initialization_code":{"fn":"function(properties,context){}"},"name":"processing","value":"boolean"},"BKa":{"caption":"Prefetching","initialization_code":{"fn":"function(properties,context){}"},"name":"prefetching","value":"boolean"},"BKb":{"caption":"Page Starting Index","initialization_code":{"fn":"function(properties,context){}"},"name":"page_start_index","value":"number"},"BKc":{"caption":"Page Ending Index","initialization_code":{"fn":"function(properties,context){}"},"name":"page_end_index","value":"number"},"BKd":{"caption":"Page Item Indices","initialization_code":{"fn":"function(properties,context){}"},"is_list":true,"name":"page_item_indices","value":"number"},"BKe":{"caption":"Scalar","initialization_code":{"fn":"function(properties,context){}"},"name":"scalar","value":"custom_data_BJc"}},"events":{"BJO":{"caption":"Iterate from List Shifter","name":"iterate"},"BJP":{"caption":"Iteration Complete","name":"iteration_complete"},"BJQ":{"caption":"Item Index Found","name":"item_index_found"},"BJR":{"caption":"Item Index Not Found","name":"item_index_not_found"},"BJS":{"caption":"Initialized/Updated","name":"initialized"},"BJT":{"caption":"Rotation Complete","name":"rotation_complete"},"BJU":{"caption":"Reverse Complete","name":"reverse_complete"},"BJV":{"caption":"Processing Complete","name":"processing_complete"},"BJW":{"caption":"Page Changed","name":"page_changed"},"BJX":{"caption":"Processing Started","name":"processing_started"},"BJY":{"caption":"Iteration Started","name":"iteration_started"},"BJZ":{"caption":"Sort Complete","name":"sort_complete"},"BJa":{"caption":"Custom Value Updated","name":"custom_value_updated"},"BJb":{"caption":"Custom List Updated","name":"custom_list_updated"}},"actions":{"BFN":{"caption":"REVERSE List","fields":{"BFO":{"caption":"Trigger Reverse Complete Event","editor":"DynamicValue","name":"trigger","optional":true,"rank":2,"value":"boolean"},"BFP":{"caption":"REVERSE INFO","editor":"Label","name":"reverse_info","rank":0},"BFQ":{"caption":"Execute this action to reverse the order of items in the Shifted List.","editor":"Label","name":"r_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.list_shifted&&instance.data.funcRev(instance.data.list_shifted),instance.data.funcPublishStates(properties.trigger?\"reverse_complete\":\"\")):context.reportDebugger(\"List Shifter is not initialized. REVERSE List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFR":{"caption":"ROTATE List","fields":{"BFS":{"caption":"Rotate List by","editor":"DynamicValue","name":"rotate_list_by","optional":true,"rank":2,"value":"number"},"BFT":{"caption":"trigger","editor":"DynamicValue","name":"trigger","optional":true,"rank":3,"value":"boolean"},"BFU":{"caption":"ROTATE INFO","editor":"Label","name":"rotate_info","rank":0},"BFV":{"caption":"Execute this action to rotate the items in the Shifted List.","editor":"Label","name":"rot_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.funcRotate(instance.data.list_shifted,properties.rotate_list_by),instance.data.funcPublishStates(properties.trigger?\"rotation_complete\":\"\")):context.reportDebugger(\"List Shifter is not initialized. ROTATE List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFW":{"caption":"SHIFT Item Up","fields":{"BFX":{"caption":"Positions","editor":"DynamicValue","name":"positions","optional":true,"rank":3,"value":"number"},"BFY":{"caption":"Item Number","editor":"DynamicValue","name":"item_number","rank":2,"value":"number"},"BFZ":{"caption":"SHIFT ITEM UP INFO","editor":"Label","name":"shift_item_up_info","rank":0},"BFa":{"caption":"Execute this action to shift an item's position \"up\" (earlier) in the list.","editor":"Label","name":"shift_up_info_2","rank":1},"BFb":{"caption":"Move Items Down","name":"move","rank":4,"editor":"DynamicValue","value":"boolean","optional":true}},"code":{"fn":"function(instance,properties,context){if(instance.data.initialized){if(null!=properties.item_number){var positions=properties.positions?properties.positions:1;if(properties.move||instance.data.funcSwapItems(properties.item_number,properties.item_number-positions),properties.move)for(let p=0;p<positions;p++){var item=properties.item_number-p;instance.data.funcSwapItems(item,item-1)}instance.data.funcPublishStates()}}else context.reportDebugger(\"List Shifter is not initialized. SHIFT Item Up action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFc":{"caption":"SHIFT Item Down","fields":{"BFd":{"caption":"Positions","editor":"DynamicValue","name":"positions","optional":true,"rank":3,"value":"number"},"BFe":{"caption":"Item Number","editor":"DynamicValue","name":"item_number","rank":2,"value":"number"},"BFf":{"caption":"SHIFT ITEM DOWN INFO","editor":"Label","name":"shift_item_down_info","rank":0},"BFg":{"caption":"Execute this action to shift an item's position \"down\" (later) in the list.","editor":"Label","name":"shift_down_info_2","rank":1},"BFh":{"caption":"Move Items Up","name":"move","rank":4,"editor":"DynamicValue","value":"boolean","optional":true}},"code":{"fn":"function(instance,properties,context){if(instance.data.initialized){if(null!=properties.item_number){var positions=properties.positions?properties.positions:1;if(properties.move||instance.data.funcSwapItems(properties.item_number,properties.item_number+positions),properties.move)for(let p=0;p<positions;p++){var item=properties.item_number+p;instance.data.funcSwapItems(item,item+1)}instance.data.funcPublishStates()}}else context.reportDebugger(\"List Shifter is not initialized. SHIFT Item Down action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFi":{"caption":"SWAP Items","fields":{"BFj":{"caption":"Item 1","editor":"DynamicValue","name":"item_1","rank":2,"value":"number"},"BFk":{"caption":"Item 2","editor":"DynamicValue","name":"item_2","rank":3,"value":"number"},"BFl":{"caption":"SWAP ITEMS INFO","editor":"Label","name":"swap_items_info","rank":0},"BFm":{"caption":"Execute this action to swap the positions of 2 items in the Shifted List.","editor":"Label","name":"swap_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.funcSwapItems(properties.item_1,properties.item_2),instance.data.funcPublishStates()):context.reportDebugger(\"List Shifter is not initialized. SWAP Items action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFn":{"caption":"SET Selected","fields":{"BFo":{"caption":"Item Number","editor":"DynamicValue","name":"item_number","optional":true,"rank":0,"value":"number"},"BFp":{"caption":"SET SELECTED INFO","editor":"Label","name":"set_selected_info","rank":1},"BFq":{"caption":"Execute this action to set the Selected Item Number state.","editor":"Label","name":"set_sel_info_2","rank":2}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.funcSetSelected(properties.item_number-1,!0),instance.data.funcPublishStates(null,!0)):context.reportDebugger(\"List Shifter is not initialized. SET Selected action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFr":{"caption":"RESET","fields":{"BFs":{"caption":"RESET INFO","editor":"Label","name":"reset_info","rank":0},"BFt":{"caption":"Execute this action to reset List Shifter's Shifted List to its initialized state. Transformations such as SWAP Items are cleared and most other values revert to their initial state. Note: This action DOES NOT clear List Shifter's Processed
225List, Custom Value, and Custom List as these values are only published in response to your own workflow actions.","editor":"Label","name":"reset_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcUpdate(instance,null,context):context.reportDebugger(\"List Shifter is not initialized. RESET action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFu":{"caption":"PUBLISH Custom List","fields":{"BFv":{"caption":"Execute this action to publish the current Custom List to List Shifter's Custom List output.","editor":"Label","name":"pl_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.publishState(\"custom_list\",instance.data.custom_list):context.reportDebugger(\"List Shifter is not initialized. PUBLISH Custom List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BFw":{"caption":"BEGIN ITERATE","fields":{"BFx":{"caption":"List to Iterate Over","default_val":"Shifted List","editor":"Dropdown","name":"list_to_iterate_over","rank":2},"BFy":{"caption":"ITERATE INFO","editor":"Label","name":"iterate_info","rank":0},"BFz":{"caption":"This action begins iteration on a list held by List Shifter. For each item in the list (either the Shifted List or Original List, as selected below), an event called Iterate from List Shifter is triggered. You must define a workflow that triggers on that event. (If the workflow does not exist, your app will appear to hang. If the workflow throws an error, this is reported to the debugger.)","editor":"Label","name":"more_iterate_info","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcBeginIterate(properties.list_to_iterate_over,context):context.reportDebugger(\"List Shifter is not initialized. BEGIN ITERATE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGA":{"caption":"GET INDEX of Item","fields":{"BGB":{"caption":"Item to find","editor":"DynamicValue","name":"item_to_find","rank":2,"value":"custom_data_element_BJc"},"BGC":{"caption":"Get Last Index","editor":"DynamicValue","name":"get_last_index","optional":true,"rank":3,"value":"boolean"},"BGD":{"caption":"Set Selected if Found","editor":"DynamicValue","name":"set_selected_if_found","optional":true,"rank":4,"value":"boolean"},"BGE":{"caption":"Execute this action to find the 1-based index (Bubble-style index) of the first occurrence of Item in the list. (Note: Typically, Bubble lists do not have duplicates, but lists of your own construction via code or from the API Connector may have duplicates.)","editor":"Label","name":"gi_info","rank":1},"BGF":{"caption":"GET INDEX INFO","editor":"Label","name":"get_index_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcGetIndex(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. GET INDEX of Item action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGG":{"caption":"NEXT PAGE","fields":{"BGH":{"caption":"Execute this action to get the next page of List Shifter's output. Only valid if List Shifter is in pagination mode.","editor":"Label","name":"np_info","rank":1},"BGI":{"caption":"Wrap Around?","editor":"DynamicValue","name":"wrap","optional":true,"rank":2,"value":"boolean"},"BGJ":{"caption":"Advance by","editor":"DynamicValue","name":"advance_by","optional":true,"rank":3,"value":"number"},"BGK":{"caption":"NEXT PAGE INFO","editor":"Label","name":"next_page_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPageNav(\"next\",properties):context.reportDebugger(\"List Shifter is not initialized. NEXT PAGE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGL":{"caption":"PREVIOUS PAGE","fields":{"BGM":{"caption":"Execute this action to get the previous page of List Shifter's output. Only valid if List Shifter is in pagination mode.","editor":"Label","name":"pp_info","rank":1},"BGN":{"caption":"Wrap Around?","editor":"DynamicValue","name":"wrap","optional":true,"rank":2,"value":"boolean"},"BGO":{"caption":"Rewind by","editor":"DynamicValue","name":"advance_by","optional":true,"rank":3,"value":"number"},"BGP":{"caption":"PREVIOUS PAGE INFO","editor":"Label","name":"previous_page_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPageNav(\"prev\",properties):context.reportDebugger(\"List Shifter is not initialized. PREVIOUS PAGE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGQ":{"caption":"GO TO PAGE","fields":{"BGR":{"caption":"Execute this action to jump to an arbitrary page of List Shifter's output. Only valid if List Shifter is in pagination mode. Note that page numbers are 1-based. If Page is greater than the total number of pages, this will go to the last page. If Page is less than 1, this will go to the first page (page 1).","editor":"Label","name":"jp_info","rank":1},"BGS":{"caption":"Page","editor":"DynamicValue","name":"page","rank":2,"value":"number"},"BGT":{"caption":"GO TO PAGE INFO","editor":"Label","name":"go_to_page_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPageNav(properties.page,properties):context.reportDebugger(\"List Shifter is not initialized. GO TO PAGE action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGU":{"caption":"SORT List","fields":{"BGV":{"caption":"SORT List sorts the Original List b
225y some array of values and publishes that to the Shifted List. If selection tracking is enabled, selection(s) are preserved as best they can.","editor":"Label","name":"sort_list_info","rank":1},"BGW":{"caption":"Type of Sort by List","editor":"custom_type","name":"source_list_type","rank":2},"BGX":{"caption":"Sort by List","editor":"DynamicValue","is_list":true,"name":"source_list","rank":3,"value":"custom_data_BGW"},"BGY":{"caption":"Sort as","default_val":"Number","editor":"Dropdown","name":"sort_as","rank":4},"BGZ":{"caption":"Descending","editor":"DynamicValue","name":"descending","optional":true,"rank":5,"value":"boolean"},"BGa":{"caption":"SORT LIST INFO","editor":"Label","name":"sort_list_info","rank":0},"BGb":{"caption":"Trigger Sort Complete Event?","editor":"DynamicValue","name":"trigger","optional":true,"rank":6,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcSortList(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. SORT List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGc":{"caption":"SET Custom Value","fields":{"BGd":{"caption":"Use this action to set List Shifter's internal Custom Value. You can optionally publish the value immediately to List Shifter's Custom Value output (or choose to publish it later via the PUBLISH Custom Value Action). For number and text data types, you can optionally INCREMENT the Custom Value instead.","editor":"Label","name":"set_info","rank":1},"BGe":{"caption":"Custom Value","editor":"DynamicValue","name":"custom_value","optional":true,"rank":3,"value":"custom_data_element_BKA"},"BGf":{"caption":"NOTE: To use this feature, you must first set a data type for \"Processed List\" in List Shifter's main interface. Note also that the SET action is *asynchronous* and should not be used to hold intermediate values within a workflow as we cannot guarantee when the SET action has completed. To detect when SET is complete, you can optionally trigger an event called Custom Value Updated.","editor":"Label","name":"set_info_2","rank":2},"BGg":{"caption":"Publish Custom Value?","editor":"DynamicValue","name":"publish","optional":true,"rank":5,"value":"boolean"},"BGh":{"caption":"SET CUSTOM VALUE INFO","editor":"Label","name":"set_custom_value_info","rank":0},"BGi":{"caption":"Increment Custom Value?","editor":"DynamicValue","name":"increment","optional":true,"rank":4,"value":"boolean"},"BGj":{"caption":"Trigger Custom Value Updated Event?","editor":"DynamicValue","name":"trigger","optional":true,"rank":6,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?(instance.data.custom_value=!properties.increment||\"text\"!=instance.data.process_output_type&&\"number\"!=instance.data.process_output_type?properties.custom_value:instance.data.custom_value+properties.custom_value,properties.publish&&instance.publishState(\"custom_value\",instance.data.custom_value),properties.trigger&&instance.triggerEvent(\"custom_value_updated\")):context.reportDebugger(\"List Shifter is not initialized. SET Custom Value action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGk":{"caption":"PUBLISH Custom Value","fields":{"BGl":{"caption":"Execute this action to publish the current Custom Value to List Shifter's Custom Value output.","editor":"Label","name":"ps_info","rank":1},"BGm":{"caption":"PUBLISH CUSTOM VALUE INFO","editor":"Label","name":"publish_custom_value_info","rank":0}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.publishState(\"custom_value\",instance.data.custom_value):context.reportDebugger(\"List Shifter is not initialized. PUBLISH Custom Value action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGn":{"caption":"STOP ITERATE","fields":{"BGo":{"caption":"STOP ITERATE INFO","editor":"Label","name":"stop_iterate_info","rank":0},"BGp":{"caption":"Execute this action to stop an iteration in progress.","editor":"Label","name":"si_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.iterating&&(instance.data.stop_iteration=!0):context.reportDebugger(\"List Shifter is not initialized. STOP Iterate action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BGq":{"caption":"PROCESS List","fields":{"BGr":{"caption":"OR Use this List:","editor":"DynamicValue","is_list":true,"name":"alterna_list","optional":true,"rank":3,"value":"custom_data_element_BKA"},"BGs":{"caption":"Set Custom Value to RS1","editor":"DynamicValue","name":"set_cust_val_to_rs1","optional":true,"rank":14,"value":"boolean"},"BGt":{"caption":"Set Custom List to RS1","editor":"DynamicValue","name":"set_cust_list_to_rs1","optional":true,"rank":15,"value":"boolean"},"BGu":{"caption":"Set Custom Value to RS2","editor":"DynamicValue","name":"set_cust_val_to_rs2","optional":true,"rank":26,"value":"boolean"},"BGv":{"caption":"Set Custom Value to RS3","editor":"DynamicValue","name":"set_cust_val_to_rs3","optional":true,"rank":39,"value":"boolean"},"BGw":{"caption":"Set Custom Value to RS4","editor":"DynamicValue","name":"set_cust_val_to_rs4","optional":true,"rank":52,"value":"boolean"},"BGx":{"caption":"Set Custom Value to RS5","editor":"DynamicValue","name":"set_cust_val_to_rs5","optional":true,"rank":65,"value":"boolean"},"BGy":{"caption":"Set Custom Value to RS6","editor":"DynamicValue","name":"set_cust_val_to_rs6","optional":true,"rank":78,"value":"boolean"},"BGz":{"caption":"Set Custom List to RS2","editor":"DynamicValue","name":"set_cust_list_to_rs2","optional":true,"rank":27,"value":"boolean"},"BHA":{"caption":"Set Custom List to RS3","editor":"DynamicValue","name":"set_cust_list_to_rs3","optional":true,"rank":40,"value":"boolean"},"BHB":{"caption":"Set Custom List to RS4","editor":"DynamicValue","name":"set_cust_list_to_rs4","optional":true,"rank":53,"value":"boolean"},"BHC":{"caption":"Set Custom List to RS5","editor":"DynamicValue","is_list":false,"name":"set_cust_list_to_rs5","optional":true,"rank":66,"value":"boolean"},"BHD":{"caption":"Set Custom List to RS6","editor":"DynamicValue","is_list":false,"name":"set_cust_list_to_rs6","optional":true,"rank":79,"value":"boolean"},"BHE":{"caption":"Anything Constant","editor":"DynamicValue","name":"any_constant","o
225ptional":true,"rank":84,"value":"_any_thing"},"BHF":{"caption":"Anything List Constant","editor":"DynamicValue","is_list":true,"name":"anyL_constant","optional":true,"rank":91,"value":"_any_thing"},"BHG":{"caption":"I/O OPTIONS","editor":"Label","name":"i/o_options","rank":98},"BHH":{"caption":"Publish Custom Value","editor":"DynamicValue","name":"publish_custom_value","optional":true,"rank":100,"value":"boolean"},"BHI":{"caption":"Publish Custom List","editor":"DynamicValue","name":"publish_custom_list","optional":true,"rank":101,"value":"boolean"},"BHJ":{"caption":"STEP 1: CREATES Result Step 1 (RS1)","editor":"Label","name":"step_1","rank":4,"value":"custom_data_ABQ"},"BHK":{"caption":"STEP 2: CREATES Result Step 2 (RS2)","editor":"Label","name":"step_2","optional":false,"rank":16,"value":"custom_data_ABQ"},"BHL":{"caption":"Push RS1 to Proc List","editor":"DynamicValue","name":"push1_to_process_list","optional":true,"rank":10,"value":"boolean"},"BHM":{"caption":"Sum RS1 to Proc Result","editor":"DynamicValue","name":"sum1_to_process_result","optional":true,"rank":11,"value":"boolean"},"BHN":{"caption":"List to Iterate Over","default_val":"Shifted List","editor":"Dropdown","name":"list_to_iterate_over","optional":true,"rank":2},"BHO":{"caption":"Step Operand X","editor":"Dropdown","name":"step1_value1","optional":true,"rank":5},"BHP":{"caption":"Operator 1","editor":"Dropdown","name":"operator1","optional":true,"rank":6},"BHQ":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step1_value2","optional":true,"rank":7,"value":"custom_data_element_BKA"},"BHR":{"caption":"Set Proc Result to RS1","editor":"DynamicValue","name":"set1_processed_result","optional":true,"rank":12,"value":"boolean"},"BHS":{"caption":"Step Operand X","editor":"Dropdown","name":"step2_value1","optional":true,"rank":17},"BHT":{"caption":"Operator 2","editor":"Dropdown","name":"operator2","optional":true,"rank":18},"BHU":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step2_value2","optional":true,"rank":19,"value":"custom_data_element_BKA"},"BHV":{"caption":"Push RS2 to Proc List","editor":"DynamicValue","name":"push2_to_process_list","optional":true,"rank":22,"value":"boolean"},"BHW":{"caption":"Sum RS2 to Proc Result","editor":"DynamicValue","name":"sum2_to_process_result","optional":true,"rank":23,"value":"boolean"},"BHX":{"caption":"Set Proc Result to RS2","editor":"DynamicValue","name":"set2_processed_result","optional":true,"rank":24,"value":"boolean"},"BHY":{"caption":"STEP 3: CREATES Result Step 3 (RS3)","editor":"Label","name":"step_3","rank":29},"BHZ":{"caption":"Step Operand X","editor":"Dropdown","name":"step3_value1","optional":true,"rank":30},"BHa":{"caption":"Operator 3","editor":"Dropdown","name":"operator3","optional":true,"rank":31},"BHb":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step3_value2","optional":true,"rank":32,"value":"custom_data_element_BKA"},"BHc":{"caption":"Push RS3 to Proc List","editor":"DynamicValue","name":"push3_to_process_list","optional":true,"rank":35,"value":"boolean"},"BHd":{"caption":"Sum RS3 to Proc Result","editor":"DynamicValue","name":"sum3_to_process_result","optional":true,"rank":36,"value":"boolean"},"BHe":{"caption":"Set Proc Result to RS3","editor":"DynamicValue","name":"set3_processed_result","optional":true,"rank":37,"value":"boolean"},"BHf":{"caption":"STEP 4: CREATES Result Step 4 (RS4)","editor":"Label","name":"step_4","rank":42},"BHg":{"caption":"Step Operand X","editor":"Dropdown","name":"step4_value1","optional":true,"rank":43},"BHh":{"caption":"Operator 4","editor":"Dropdown","name":"operator4","optional":true,"rank":44},"BHi":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step4_value2","optional":true,"rank":45,"value":"custom_data_element_BKA"},"BHj":{"caption":"Push RS4 to Proc List","editor":"DynamicValue","name":"push4_to_process_list","optional":true,"rank":48,"value":"boolean"},"BHk":{"caption":"Sum RS4 to Proc Result","editor":"DynamicValue","name":"sum4_to_process_result","optional":true,"rank":49,"value":"boolean"},"BHl":{"caption":"Set Proc Result to RS4","editor":"DynamicValue","name":"set4_processed_result","optional":true,"rank":50,"value":"boolean"},"BHm":{"caption":"STEP 5: CREATES Result Step 5 (RS5)","editor":"Label","name":"step_5","rank":55},"BHn":{"caption":"Step Operand X","editor":"Dropdown","name":"step5_value1","optional":true,"rank":56},"BHo":{"caption":"Operator 5","editor":"Dropdown","name":"operator5","optional":true,"rank":57},"BHp":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step5_value2","optional":true,"rank":58,"value":"custom_data_element_BKA"},"BHq":{"caption":"Push RS5 to Proc List","editor":"DynamicValue","name":"push5_to_process_list","optional":true,"rank":61,"value":"boolean"},"BHr":{"caption":"Sum RS5 to Proc Result","editor":"DynamicValue","name":"sum5_to_process_result","optional":true,"rank":62,"value":"boolean"},"BHs":{"caption":"Set Proc Result to RS5","editor":"DynamicValue","name":"set5_processed_result","optional":true,"rank":63,"value":"boolean"},"BHt":{"caption":"This Action iterates over a list without calling a Bubble workflow (or just execute a process once if \"Do Once\" is selected). The results of the processing steps can be made to appear at List Shifter's Process Result (a single value) or Process List (a list value) outputs. You can also set the internal Custom Value or Custom List states. NOTES: To use this Action, you must have a PROCESS Output Data Type selected in List Shifter's main interface. This Action is primarily intended for the NUMBER and TEXT data types. Error checking for other types is minimal. Many operations will throw errors. Open your browser console (F12) to see such things. \"Don't be silly,\" as I like to say. Note that some Operators take only 1 operand (these are indicated by only having an \"x\" value) and so operate on Step Operand x (if supplied), otherwise they operate on Step Operand y (if supplied). If BOTH Operands are supplied, Step Operand x is used.","editor":"Label","name":"process_intro","rank":0},"BHu":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv1","optional":true,"rank":9,"value":"boolean"},"BHv":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv2","optional":true,"rank":21,"value":"boolean"},"BHw":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv3","optional":true,"rank":34,"value":"boolean"},"BHx":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv4","optional":true,"rank":47,"value":"boolean"},"BHy":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv5","optional":true,"rank":60,"value":"boolean"},"BHz":{"caption":"OR Use...","editor":"Dropdown","name":"or1","optional":true,"rank":8},"BIA":{"caption":"OR Use...","editor":"Dropdown","name":"or2","optional":true,"rank":20},"BIB":{"caption":"OR Use...","editor":"Dropdown","name":"or3","o
225ptional":true,"rank":33},"BIC":{"caption":"OR Use...","editor":"Dropdown","name":"or4","optional":true,"rank":46},"BID":{"caption":"OR Use...","editor":"Dropdown","name":"or5","optional":true,"rank":59},"BIE":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_2","optional":true,"rank":28},"BIF":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_3","optional":true,"rank":41},"BIG":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_4","optional":true,"rank":54},"BIH":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_5","optional":true,"rank":67},"BII":{"caption":"STEP 6: CREATES Result Step 6 (RS6)","editor":"Label","name":"step_6","rank":68},"BIJ":{"caption":"Step Operand X","editor":"Dropdown","name":"step6_value1","optional":true,"rank":69},"BIK":{"caption":"Operator 6","editor":"Dropdown","name":"operator6","optional":true,"rank":70},"BIL":{"caption":"Step Operand Y","editor":"DynamicValue","name":"step6_value2","optional":true,"rank":71,"value":"custom_data_element_BKA"},"BIM":{"caption":"OR Use...","editor":"Dropdown","name":"or6","optional":true,"rank":72},"BIN":{"caption":"Op Y | Op X","editor":"DynamicValue","name":"inv6","optional":true,"rank":73,"value":"boolean"},"BIO":{"caption":"Push RS6 to Proc List","editor":"DynamicValue","name":"push6_to_process_list","optional":true,"rank":74,"value":"boolean"},"BIP":{"caption":"Sum RS6 to Proc Result","editor":"DynamicValue","name":"sum6_to_process_result","optional":true,"rank":75,"value":"boolean"},"BIQ":{"caption":"Set Proc Result to RS6","editor":"DynamicValue","name":"set6_processed_result","optional":true,"rank":76,"value":"boolean"},"BIR":{"caption":"Push/Sum/Set Only If...","editor":"Dropdown","name":"only_if_6","optional":true,"rank":80},"BIS":{"caption":"CONSTANTS","editor":"Label","name":"constants","rank":81},"BIT":{"caption":"Numeric Constant","editor":"DynamicValue","name":"numeric_constant","optional":true,"rank":82,"value":"number"},"BIU":{"caption":"Long Text Constant","editor":"DynamicValue","name":"long_text_constant","optional":true,"rank":85,"value":"text"},"BIV":{"caption":"Yes/No Constant","editor":"DynamicValue","name":"yes_no_constant","optional":true,"rank":83,"value":"boolean"},"BIW":{"caption":"Activate DEBUG","editor":"DynamicValue","name":"debug","optional":true,"rank":92,"value":"boolean"},"BIX":{"caption":"ð Pro tip: You can write JavaScript code here and then use the \"eval(x)\" Operator on Long Text Constant. It's just like Run JavaScript. You can access variables i (current iteration), the Result Step values (rs1, rs2, rs3, rs4, rs5 - if you're using this as an Operand in Step 6), and list (an array that holds the list we're iterating over - e.g., list[i] is the same as Current Iteration Item). You can also access the constants (numeric_constant, yes_no_constant, any_constant, ls_type_constant, pl_type_constant, ls_type_list_constant, pl_type_list_constant, anyL_constant [the \"anything list\" constant]) as supplied in other constant fields.","editor":"Label","name":"pro_tip_1","rank":86},"BIY":{"caption":"Pro tip: Don't forget about the CONSTANTS area at the bottom of this dialog! ð ","editor":"Label","name":"pro_tip_0","rank":1},"BIZ":{"caption":"DEBUG Iterations","default_val":"All","editor":"Dropdown","name":"dbits","rank":93},"BIa":{"caption":"LS Type Constant","editor":"DynamicValue","name":"ls_type_constant","optional":true,"rank":87,"value":"custom_data_element_BJc"},"BIb":{"caption":"PL Type Constant","editor":"DynamicValue","name":"pl_type_constant","optional":true,"rank":88,"value":"custom_data_element_BKA"},"BIc":{"caption":"LS Type List Constant","editor":"DynamicValue","is_list":true,"name":"ls_type_list_constant","optional":true,"rank":89,"value":"custom_data_element_BJc"},"BId":{"caption":"PL Type List Constant","editor":"DynamicValue","is_list":true,"name":"pl_type_list_constant","optional":true,"rank":90,"value":"custom_data_element_BKA"},"BIe":{"caption":"Set Proc List to RS1","editor":"DynamicValue","name":"set_proc_list_to_rs1","optional":true,"rank":13,"value":"boolean"},"BIf":{"caption":"LIMIT PROCESSING TO SUBSET OF LIST","editor":"Label","name":"limit_processing_to_subset_of_list","rank":94},"BIg":{"caption":"Start Index","editor":"DynamicValue","name":"start","optional":true,"rank":96,"value":"number"},"BIh":{"caption":"End Index","editor":"DynamicValue","name":"end","optional":true,"rank":97,"value":"number"},"BIi":{"caption":"By default, Process List operates on the entire list. Use the Start and End Index fields below to run the process action only on a
225subset of the list. Values are 1-based (Bubble style) and, if End is smaller than Start, the values will be swapped. If either Index is 1, 1 is used. If either Index is larger than the length of the list, the list length is used (e.g., the last item).","editor":"Label","name":"limit_info","rank":95},"BIj":{"caption":"Set Proc List to RS2","editor":"DynamicValue","name":"set_proc_list_to_rs2","optional":true,"rank":25,"value":"boolean"},"BIk":{"caption":"Set Proc List to RS3","editor":"DynamicValue","name":"set_proc_list_to_rs3","optional":true,"rank":38,"value":"boolean"},"BIl":{"caption":"Set Proc List to RS4","editor":"DynamicValue","name":"set_proc_list_to_rs4","optional":true,"rank":51,"value":"boolean"},"BIm":{"caption":"Set Proc List to RS5","editor":"DynamicValue","name":"set_proc_list_to_rs5","optional":true,"rank":64,"value":"boolean"},"BIn":{"caption":"Set Proc List to RS6","editor":"DynamicValue","name":"set_proc_list_to_rs6","optional":true,"rank":77,"value":"boolean"},"BIo":{"caption":"Don't Clear Processed List","editor":"DynamicValue","name":"no_clear","optional":true,"rank":99,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcProcessList(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. PROCESS List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BIp":{"caption":"STOP PROCESS","fields":{"BIq":{"caption":"STOP PROCESS INFO","editor":"Label","name":"stop_process_info","rank":0},"BIr":{"caption":"Execute this action to stop the PROCESSExecute this action to stop the PROCESS List Action. NOTE: It's not entirely clear to the author if this action actually has any effect. YMMV.","editor":"Label","name":"sp_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.processing&&(instance.data.stop_processing=!0):context.reportDebugger(\"List Shifter is not initialized. STOP Process action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BIs":{"caption":"PREFETCH","fields":{"BIt":{"caption":"PREFETCH INFO","editor":"Label","name":"prefetch_info","rank":0},"BIu":{"caption":"Pages to Fetch","editor":"Dropdown","name":"num_pages","optional":true,"rank":2},"BIv":{"caption":"Execute this action to prefetch pages. This action only has effect when List Shifter is in pagination mode. When the action is executed, List Shifter will fetch <i>n</i> pages around the current page. Note that this action should only be executed in response to some List Shifter event such as List Shifter Initialized or List Shifter Page Changed.","editor":"Label","name":"pi_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcPrefetch(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. PREFETCH action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BIw":{"caption":"SET Process FIELD of Interest","fields":{"BIx":{"caption":"SET FIELD OF INTEREST INFO","editor":"Label","name":"spf_info","rank":0},"BIy":{"caption":"Execute this action before running a PROCESS action to supply a FIELD OF INTEREST for the PROCESS LIST Action. Note that List Shifter now has 3 Fields of Interest that you can set (FOIs 2 and 3 are optional). These are accessed in PROCESS List steps as Field of Interest, Field of Interest 2, and Field of Interest 3.","editor":"Label","name":"spf_info_2","rank":1},"BIz":{"caption":"Data Type to Process","editor":"custom_type","name":"data_type_to_process","optional":false,"rank":2,"value":"custom_data_element_AAF"},"BJA":{"caption":"Field of Interest","editor":"custom_field_BIz","name":"field_of_interest","rank":3},"BJB":{"caption":"Field of Interest 2","editor":"custom_field_BIz","name":"field_of_interest_2","optional":true,"rank":4},"BJC":{"caption":"Field of Interest 3","editor":"custom_field_BIz","name":"field_of_interest_3","optional":true,"rank":5}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.funcSetFOI(instance,properties,context):context.reportDebugger(\"List Shifter is not initialized. SET FIELD of Interest action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BJD":{"caption":"SET Custom List","fields":{"BJE":{"caption":"SET CUSTOM LIST INFO","editor":"Label","name":"set_info","rank":0},"BJF":{"caption":"Use this action to set List Shifter's internal Custom List. You can optionally publish the value immediately to List Shifter's Custom List output (or cho
225ose to publish it later via the PUBLISH Custom List Action). You can optionally concatenate the current Custom List with additional values. You can optionally trigger the Custom List Updated event, which is useful because this operation is *asynchronous* and we cannot guarantee when the operation completes.","editor":"Label","name":"set_info_2","rank":1},"BJG":{"caption":"Custom List","editor":"DynamicValue","is_list":true,"name":"custom_list","optional":true,"rank":2,"value":"custom_data_element_BKA"},"BJH":{"caption":"Publish Custom List?","editor":"DynamicValue","name":"publish","optional":true,"rank":5,"value":"boolean"},"BJI":{"caption":"Concatenate List","editor":"DynamicValue","name":"concatenate","optional":true,"rank":4,"value":"boolean"},"BJJ":{"caption":"Trigger Custom List Updated Event?","editor":"DynamicValue","name":"trigger","optional":true,"rank":6,"value":"boolean"},"BJK":{"caption":"Use Scalar","editor":"DynamicValue","name":"scalar","optional":true,"rank":3,"value":"custom_data_element_BKA"}},"code":{"fn":"function(instance,properties,context){if(instance.data.initialized){var custom_list=[];custom_list=properties.scalar?[properties.scalar]:properties.custom_list?instance.data.funcGetList(properties.custom_list):[],properties.concatenate&&(instance.data.custom_list=instance.data.custom_list.concat(custom_list)),properties.concatenate||(instance.data.custom_list=custom_list),properties.publish&&instance.publishState(\"custom_list\",instance.data.custom_list),properties.trigger&&instance.triggerEvent(\"custom_list_updated\")}else context.reportDebugger(\"List Shifter is not initialized. SET Custom List action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}},"BJL":{"caption":"CLEAR Processed List and Processed Result","fields":{"BJM":{"caption":"CLEAR PROCESSED LIST AND PROCESSED RESULT INFO","editor":"Label","name":"clear_processed_list_and_processed_result_info","rank":0},"BJN":{"caption":"Execute this action to clear (set to empty) the Processed List and Processed Result outputs.","editor":"Label","name":"cpl_info_2","rank":1}},"code":{"fn":"function(instance,properties,context){instance.data.initialized?instance.data.processing||(instance.data.processed_list=[],instance.data.processed_result=null,instance.publishState(\"processed_result\",instance.data.processed_result),instance.publishState(\"processed_list\",instance.data.processed_list)):context.reportDebugger(\"List Shifter is not initialized. CLEAR Processed List and Processed Result action did not run. Use List Shifter Initialized state or event to avoid this error.\")}"}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.noscrubs=function t(a,e){a.data.nanoid=nanoid(),a.data.current_iteration_item=null,a.data.current_iteration_index=null,a.data.list_to_shift=[],a.data.list_shifted=[],a.data.processed_list=[],a.data.processed_result=null,a.data.selected=null,a.data.initialized=null,a.data.iterating=null,a.data.processing=null,a.data.update_deferred=null,a.data.scalar=null,a.data.custom_value=null,a.data.custom_list=[],a.data.og_list=[],a.data.loading=null,a.data.prefetching=null,a.data.item_count=null,a.data.paginating=null,a.data.total_pages=null,a.data.page=null,a.data.items_per_page=null,a.data.page_list=[],a.data.max_pages=null,a.data.pageStartIndex=null,a.data.pageEndIndex=null,a.data.page_item_indices=[],a.data.field_of_interest=null,a.data.funcUpdate=function(t,a,e){t.data.iterating||t.data.processing?t.data.update_deferred=!0:(t.data.initialized=null,t.publishState(\"initialized\",t.data.initialized),a?t.data.props_backup=a:a=t.data.props_backup,t.data.selected=null,t.data.last_2_selected_items_list=[],t.publishState(\"selected_item_number\",t.data.selected),t.publishState(\"last_2_selected_items_list\",t.data.last_2_selected_items_list),t.data.type=a.data_type_of_list,t.data.process_output_type=a.process_output_type,t.data.scalar=null!=a.use_scalar?a.use_scalar:null,a.numeric_list||(t.data.items_per_page=a.items_per_page?a.items_per_page:null,t.data.paginating=!!t.data.items_per_page),t.data.og_list=a.numeric_list?[]:a.list_to_shift,a.numeric_list?\"number\"===t.data.type?(t.data.item_count=Math.round(a.num_items),t.publishState(\"item_count\",t.data.item_count),null!=a.start?t.data.start=a.start:t.data.start=1,null!=a.increment?t.data.increment=a.increment:t.data.increment=1,t.data.item_count<1?t.data.list_to_shift=[]:t.data.list_to_shift=t.data.funcMakeNumList(t.data.item_count,t.data.start,t.data.increment),t.data.og_list=t.data.list_to_shift):e.reportDebugger(\"Warning: List Shifter's Make a Numeric List option is turned on, but Data Type of List is set to \"+t.data.type+\". Your Make a Numeric List settings will be ignored. Set Data Type of List to number to use this feature. List Shifter's Original and Shifted Lists have been set to empty.\"):(t.data.item_count=t.data.og_list?t.data.og_list.length():t.data.scalar?1:0,t.publishState(\"item_count\",t.data.item_count),t.data.paginating&&(t.data.total_pages=Math.ceil(t.data.item_count/t.data.items_per_page),t.data.prefetch=a.prefetch?a.prefetch:0,t.data.max_pages=a.max_pages?a.max_pages:t.data.total_pages,t.data.page=t.data.page||1,t.data.funcPublishPages(t.data.page)),t.data.list_to_shift=t.data.og_list?t.data.funcGetList(t.data.og_list,!0,t.data.page):t.data.scalar?[t.data.scalar]:null),t.data.list_to_shift,t.data.og_list,t.data.reverse_list=a.reverse_list,t.data.rotate_by=a.rotate_by,t.data.track=a.track,t.data.funcInitShift(),t.data.funcPublishOriginalStates(),t.data.initialized=!0,t.publishState(\"initialized\",t.data.initialized),t.triggerEvent(\"initialized\"))},a.data.funcMakeNumList=function(t,a,e){for(var n=[],s=0;s<t;s++)n.push(a+s*e);return n},a.data.funcInitShift=function(){a.data.reverse_list&&a.data.list_to_shift?a.data.list_shifted=a.data.funcRev([...a.data.list_to_shift]):a.data.list_to_shift?a.data.list_shifted=[...a.data.list_to_shift]:a.data.list_shifted=null,a.data.rotate_by&&a.data.list_to_shift&&a.data.funcRotate(a.data.list_shifted,a.data.rotate_by)},a.data.funcPublishPages=function(t){if(a.data.paginating){var e,n;if(a.data.page=t,a.data.total_pages<=a.data.max_pages)e=1,n=a.data.total_pages;else{var s=Math.floor(a.data.max_pages/2),r=Math.ceil(a.data.max_pages/2)-1;a.data.page<=s?(e=1,n=a.data.max_pages):a.data.page+r>=a.data.total_pages?(e=a.data.total_pages-a.data.max_pages+1,n=a.data.total_pages):(e=a.data.page-s,n=a.data.page+r)}a.data.page_list=Array.from(Array(n+1-e).keys()).map((t=>e+t));var l=Math.min(a.data.pageStartIndex+1,a.data.item_count);a.data.pageEndIndex=Math.min(a.data.pageStartIndex+a.data.items_per_page,a.data.item_count),a.data.page_item_indices=Array.from(Array(a.data.pageEndIndex+1-l).keys()).map((t=>l+t)),a.data.initialized||(a.publishState(\"paginating\",a.data.paginating),a.publishState(\"total_pages\",a.data.total_pages),a.publishState(\"items_per_page\",a.data.items_per_page)),a.publishState(\"page\",a.data.page),a.publishState(\"page_start_index\",l),a.publishState(\"page_end_index\",a.data.pageEndIndex),a.publishState(\"page_list\",a.data.page_list),a.publishState(\"page_item_indices\",a.data.page_item_indices),a.data.initialized&&a.triggerEvent(\"page_changed\")}},a.data.funcPageNav=function(t,e){var n,s;a.data.paginating&&(n=e.advance_by?e.advance_by:1,(s=\"prev\"==t?a.data.page-n:\"next\"==t?a.data.page+n:t)<1&&(s=e.wrap?(s%a.data.total_pages+a.data.total_pages)%a.data.total_pages:1),s>a.data.total_pages&&(s=e.wrap?s%a.data.total_pages:a.data.total_pages),0==s&&(s=a.data.total_pages),a.data.og_list&&(a.data.list_to_shift=a.data.funcGetList(a.data.og_list,!0,s),a.data.funcInitShift(),a.data.funcPublishOriginalStates(),a.data.funcPublishPages(s)))},a.data.funcPrefetch=function(t,a,e){if(!t.data.loading&&t.data.paginating){var n=a.num_pages?a.num_pages:t.data.prefetch;if(n){var s;for(t.data.prefetching=!0,t.publishState(\"prefetching\",t.data.prefetching),s=1;s<=n/2;s++)pageNumPlus=t.data.funcWrapPage(t.data.page+s),pageNumMinus=t.data.funcWrapPage(t.data.page-s),t.data.funcCachePage(t.data.og_list,pageNumPlus),t.data.funcCachePage(t.data.og_list,pageNumMinus);t.data.prefetching=null,t.publishState(\"prefetching\",t.data.prefetching)}}},a.data.funcWrapPage=function(t){var e=t;return t<1&&(e=(t%a.data.total_pages+a.data.total_pages)%a.data.total_pages),t>a.data.total_pages&&(e=t%a.data.total_pages),0==e&&(e=a.data.total_pages),e},a.data.funcWrapPos=function(t,a,e){var n=t+a;return n<1&&(n=(n%e+e)%e),n>e&&(n%=e),0==n&&(n=e),n},a.data.funcSetFOI=function(t,a,e){t.data.field_of_interest=a.field_of_interest?a.field_of_interest:null,t.data.field_of_interest_2=a.field_of_interest_2?a.field_of_interest_2:null,t.data.field_of_interest_3=a.field_of_interest_3?a.field_of_interest_3:null},a.data.funcSortList=function(t,a,e){if(t.data.sort_source_list=a.source_list?t.data.funcGetList(a.source_list):null,!(null==t.data.sort_source_list||t.data.sort_source_list.length<1)){var n,s=null,r=null,l=!(!t.data.track||t.data.is_different),o,_,c;if(t.data.track&&(s=t.data.last_2_selected_items_list.length?t.data.last_2_selected_items_list[t.data.last_2_selected_items_list.length-1]:null),t.data.track&&(r=t.data.last_2_selected_items_list.length>1?t.data.last_2_selected_items_list[0]:null),t.data.paginating||(n=t.data.list_to_shift.map(((a,i)=>({index:i,value:void 0!==t.data.sort_source_list[i]?t.data.sort_source_list[i]:null,selected:s==i?t.data.list_shifted[i]:null,prevSelected:r==i?t.data.list_shifted[i]:null})))),t.data.paginating&&(n=t.data.list_to_shift.map(((a,i)=>({index:i,value:void 0!==t.data.sort_source_list[i]?t.data.sort_source_list[i]:null})))),\"Number\"==a.sort_as&&(n.forEach((t=>t.value=Number(t.value))),n.sort((function(t,e){return isNaN(t.value)||isNaN(e.value)?isNaN(t.value)-isNaN(e.value):a.descending?e.value-t.value:t.value-e.value}
225))),\"Text\"==a.sort_as){n.forEach((t=>t.value=null!=t.value?String(t.value):null));var u=Intl.DateTimeFormat().resolvedOptions().locale;n.sort((function(t,e){return null!==t.value&&null!==e.value?a.descending?e.value.localeCompare(t.value,u):t.value.localeCompare(e.value,u):(null===t.value)-(null===e.value)}))}if(\"Date\"==a.sort_as&&t.data.funcIsDate(n[0].value)&&n.sort((function(t,e){var n=null!==t.value?t.value.getTime():null,s=null!==e.value?e.value.getTime():null;return isNaN(n)||isNaN(s)?isNaN(n)-isNaN(s):a.descending?s-n:n-s})),t.data.paginating||(t.data.last_2_selected_items_list=[],t.data.list_shifted=n.map(((a,i)=>(a.prevSelected&&(r=l?i:a.prevSelected),a.selected&&(s=l?i:a.selected),t.data.list_to_shift[a.index]))),l?(null!=r&&t.data.last_2_selected_items_list.push(r),null!=s&&t.data.last_2_selected_items_list.push(s),t.data.selected=s):t.data.track&&(null!=r&&t.data.last_2_selected_items_list.push(t.data.list_shifted.indexOf(r)),null!=s&&t.data.last_2_selected_items_list.push(t.data.list_shifted.indexOf(s)),t.data.selected=t.data.list_shifted.indexOf(s))),t.data.paginating)t.data.list_shifted=n.map(((a,i)=>t.data.list_to_shift[a.index])),o=Math.max(...t.data.page_item_indices),_=Math.min(...t.data.page_item_indices),c=Array.from(Array(o+1-_).keys()).map((t=>_+t)),t.data.page_item_indices=n.map(((t,i)=>c[t.index])),t.publishState(\"page_item_indices\",t.data.page_item_indices);t.data.funcPublishStates(),a.trigger&&t.triggerEvent(\"sort_complete\")}},a.data.funcGetIndex=function(t,a,e){var n,s,r,l,u;r=t.data.funcGetUIDs(t.data.list_to_shift),l=t.data.funcGetUIDs(t.data.list_shifted),u=t.data.funcGetID(a.item_to_find),n=a.get_last_index?r.lastIndexOf(u):r.indexOf(u),s=a.get_last_index?l.lastIndexOf(u):l.indexOf(u),t.publishState(\"index_item\",a.item_to_find),n>-1?t.publishState(\"index_of_item_original\",n+1):t.publishState(\"index_of_item_original\",null),s>-1?t.publishState(\"index_of_item_shifted\",s+1):t.publishState(\"index_of_item_shifted\",null),a.set_selected_if_found&&s>-1&&(t.data.funcSetSelected(s,!0),t.data.funcPublishStates()),n>-1||s>-1?t.triggerEvent(\"item_index_found\"):t.triggerEvent(\"item_index_not_found\")},a.data.funcRotateArray=function(t,a){var i,e,n=t.length;for(Math.abs(a)>=n&&(a%=n),a<0&&(a+=n);a;a=(Math.ceil(n/a)-1)*a-n+(n=a))for(i=n;i>a;e=t[--i],t[i]=t[i-a],t[i-a]=e);return t},a.data.funcRotateArray3=function(t,a,e=t.length){return t.map(((n,i,s)=>t[((a+i)%e+e)%e]))},a.data.funcRotateArray2=function(t,a){a=-a;var e=t.length>>>0;return a>>=0,Array.prototype.unshift.apply(t,Array.prototype.splice.call(t,a%e,e)),t},a.data.funcRotate=function(t,e){a.data.funcRotateArray(t,e),a.data.paginating&&(a.data.funcRotateArray(a.data.page_item_indices,e),a.publishState(\"page_item_indices\",a.data.page_item_indices)),a.data.track&&null!=a.data.selected&&(a.data.paginating||a.data.funcSetSelected(a.data.funcWrapPos(a.data.selected+1,e,t.length)-1))},a.data.funcGetList=function(t,e,n){var s=[];return t.hasOwnProperty(\"get\")?t.length()<1?s:e?(e&&(a.data.loading=!0,a.publishState(\"loading\",a.data.loading)),s=null!==n?(a.data.pageStartIndex=(n-1)*a.data.items_per_page,t.get(a.data.pageStartIndex,a.data.items_per_page)):t.get(0,t.length()),e&&(a.data.loading=null,a.publishState(\"loading\",a.data.loading)),s):t.get(0,t.length()):s},a.data.funcCachePage=function(t,e){t.length()<1||!e||t.get((e-1)*a.data.items_per_page,a.data.items_per_page)},a.data.funcGetUIDs=function(t){return t[0]&&t[0].hasOwnProperty(\"listProperties\")?t.map((t=>t.get(\"_id\"))):t},a.data.funcGetID=function(t){return t?t.hasOwnProperty(\"get\")?t.get(\"_id\"):t:null},a.data.funcDething=function(t){return Array.isArray(t)?a.data.funcGetUIDs(t):a.data.funcGetID(t)},a.data.funcDistance=function(t,a){return Math.abs(t-a)},a.data.funcAccLTCont=function(t){return function(e,n,s,r){return n<t&&(1==a.data.funcDistance(n,t)||r.some((t=>1==a.data.funcDistance(t,n))))&&e.push(n),e}},a.data.funcContToGoal=function(t,e,n,s){return 1==a.data.funcDistance(t,e)?e:t},a.data.funcRev=function(t){if(t.reverse(),a.data.paginating&&(a.data.page_item_indices.reverse(),a.publishState(\"page_item_indices\",a.data.page_item_indices)),a.data.track&&null!=a.data.selected&&!a.data.paginating){var e=t.length-a.data.selected-1;e-=t.length*Math.floor(e/t.length),a.data.funcSetSelected(e)}return t},a.data.funcSwapItems=function(t,e){if(t--,e--,a.data.list_shifted[e]=[a.data.list_shifted[t],a.data.list_shifted[t]=a.data.list_shifted[e]][0],a.data.track&&!a.data.paginating){if(a.data.selected==t)return void a.data.funcSetSelected(e);a.data.selected==e&&a.data.funcSetSelected(t)}a.data.paginating&&(a.data.page_item_indices[e]=[a.data.page_item_indices[t],a.data.page_item_indices[t]=a.data.page_item_indices[e]][
2250],a.publishState(\"page_item_indices\",a.data.page_item_indices))},a.data.funcIsDifferent=function(){return a.data.track?a.data.list_shifted.some(((t,e)=>t!==a.data.list_to_shift[e])):null},a.data.funcSetSelected=function(t,e){if(!a.data.track)return null;a.data.selected=t,e?a.data.last_2_selected_items_list.length>1?(a.data.last_2_selected_items_list.shift(),a.data.last_2_selected_items_list.push(t)):a.data.last_2_selected_items_list.push(t):a.data.last_2_selected_items_list&&(a.data.last_2_selected_items_list.length>1?(a.data.last_2_selected_items_list[1]=a.data.list_shifted.indexOf(a.data.backupItems[1]),a.data.last_2_selected_items_list[0]=a.data.list_shifted.indexOf(a.data.backupItems[0])):a.data.last_2_selected_items_list[0]=t),a.data.backupItems=[a.data.list_shifted[a.data.last_2_selected_items_list[0]],a.data.list_shifted[a.data.last_2_selected_items_list[1]]]},a.data.funcEvals=function t(i,list,rs1,rs2,rs3,rs4,rs5,numeric_constant,yes_no_constant,any_constant,ls_type_constant,pl_type_constant,ls_type_list_constant,pl_type_list_constant,anyL_constant,code,debug,dbits){return debug&&i<dbits&&(window.console.group(\"LS Debugger for operator eval(x) Iteration i =\",i),window.console.log(\"You can access the following values in your eval code:\"),window.console.log(\"LS rs1 is:\",rs1,\"type: \",typeof rs1),window.console.log(\"LS rs2 is:\",rs2,\"type: \",typeof rs2),window.console.log(\"LS rs3 is:\",rs3,\"type: \",typeof rs3),window.console.log(\"LS rs4 is:\",rs4,\"type: \",typeof rs4),window.console.log(\"LS rs5 is:\",rs5,\"type: \",typeof rs5),window.console.log(\"LS numeric_constant is:\",numeric_constant,\"type: \",typeof numeric_constant),window.console.log(\"LS yes_no_constant is:\",yes_no_constant,\"type: \",typeof yes_no_constant),window.console.log(\"LS any_constant is:\",any_constant,\"type: \",typeof any_constant),window.console.log(\"LS ls_type_constant is:\",ls_type_constant,\"type: \",typeof ls_type_constant),window.console.log(\"LS pl_type_constant is:\",pl_type_constant,\"type: \",typeof pl_type_constant),window.console.log(\"LS ls_type_list_constant is:\",ls_type_list_constant),window.console.log(\"LS pl_type_list_constant is:\",ps_type_list_constant),window.console.log(\"LS anyL_constant is:\",anyL_constant),window.console.log(\"LS list has:\",list.length,\"items\"),window.console.groupEnd()),eval(code)},a.data.funcSetList=function(t){return Array.isArray(t)?t:[t]},a.data.funcSetScalar=function(t){return\"date_range\"==a.data.process_output_type||\"number_range\"==a.data.process_output_type?t:Array.isArray(t)?t[0]:t},a.data.funcIsDate=function(t){return\"[object Date]\"===Object.prototype.toString.call(t)},a.data.funcProcessList=function(t,a,e){if(t.data.processing)e.reportDebugger(\"PROCESS action is already running. New PROCESS action will not begin.\");else{t.triggerEvent(\"processing_started\");var i,rs1,rs2,rs3,rs4,rs5,n,s,r,l,u,o,_,dbits,c,d=null;c=a.no_clear?t.data.processed_list:[];var numeric_constant,p,yes_no_constant,any_constant,f=[],ls_type_list_constant=[],pl_type_list_constant=[],anyL_constant=[];if(numeric_constant=null!=a.numeric_constant?a.numeric_constant:0,p=a.long_text_constant?a.long_text_constant:\"\",yes_no_constant=null!=a.yes_no_constant&&a.yes_no_constant,any_constant=a.any_constant?a.any_constant:null,null!=a.ls_type_constant?ls_type_constant=a.ls_type_constant:ls_type_constant=null,null!=a.pl_type_constant?pl_type_constant=a.pl_type_constant:pl_type_constant=null,ls_type_list_constant=a.ls_type_list_constant?t.data.funcGetList(a.ls_type_list_constant):[],pl_type_list_constant=a.pl_type_list_constant?t.data.funcGetList(a.pl_type_list_constant):[],anyL_constant=a.anyL_constant?t.data.funcGetList(a.anyL_constant):[],s=a.step1_value1||a.step1_value1||a.step1_value2||a.push1_to_process_list||a.sum1_to_process_result||a.set1_processed_result||a.or1||a.set_proc_list_to_rs1||a.set_cust_val_to_rs1||a.set_cust_list_to_rs1,r=a.step2_value1||a.step2_value1||a.step2_value2||a.push2_to_process_list||a.sum2_to_process_result||a.set2_processed_result||a.or2||a.set_proc_list_to_rs2||a.set_cust_val_to_rs2||a.set_cust_list_to_rs2,l=a.step3_value1||a.step3_value1||a.step3_value2||a.push3_to_process_list||a.sum3_to_process_result||a.set3_processed_result||a.or3||a.set_proc_list_to_rs3||a.set_cust_val_to_rs3||a.set_cust_list_to_rs3,u=a.step4_value1||a.step4_value1||a.step4_value2||a.push4_to_process_list||a.sum4_to_process_result||a.set4_processed_result||a.or4||a.set_proc_list_to_rs4||a.set_cust_val_to_rs4||a.set_cust_list_to_rs4,o=a.step5_value1||a.step5_value1||a.step5_value2||a.push5_to_process_list||a.sum5_to_process_result||a.set5_processed_result||a.or5||a.set_proc_list_to_rs5||a.set_cust_val_to_rs5||a.set_cust_list_to_rs5,_=a.step6_value1||a.step6_value1||a.step6_value2||a.push6_to_process_list||a.sum6_to_process_result||a.set6_processed_result||a.or6||a.set_proc_list_to_rs6||a.set_cust_val_to_rs6||a.set_cust_list_to_rs6,a.alterna_list&&(f=t.data.funcGetList(a.alterna_list)),!a.alterna_list)switch(a.list_to_iterate_over){case\"\":f=[];case\"Shifted List\":f=t.data.list_shifted;break;case\"Original List\":f=t.data.list_to_shift;break;
225case\"Processed List\":f=[...t.data.processed_list];break;case\"Do Once\":f=[0];break;case\"Custom List\":f=t.data.custom_list}if(!f||f.length<1)return e.reportDebugger(\"Selected list has no items: PROCESS action will not begin.\"),t.data.processing=null,t.publishState(\"processing\",t.data.processing),void t.triggerEvent(\"processing_complete\");t.data.processing=!0,t.publishState(\"processed_result\",d),t.publishState(\"processing\",t.data.processing),a.debug&&(dbits=\"All\"==a.dbits||a.dbits>f.length?f.length:a.dbits);var g=null!=a.start?Math.round(a.start):1,h=null!=a.end?Math.round(a.end):f.length;for(h<g&&(g=h+(h=g,0)),g=g<1?g=1:g>f.length?f.length:g,h=h<1?h=1:h>f.length?f.length:h,console.log,i=g-1;i<h;i++){if(t.data.stop_processing){t.data.stop_processing=null;break}s&&(rs1=y(m(a.step1_value1),a.operator1,a.or1?m(a.or1):a.step1_value2,a.inv1),a.push1_to_process_list&&c.push(rs1),a.sum1_to_process_result&&(d=0==i&&null==d?rs1:y(d,\"+ (x + y)\",rs1)),a.set1_processed_result&&(d=t.data.funcSetScalar(rs1)),a.set_proc_list_to_rs1&&(c=t.data.funcSetList(rs1)),a.set_cust_val_to_rs1&&(t.data.custom_value=t.data.funcSetScalar(rs1)),a.set_cust_list_to_rs1&&(t.data.custom_list=t.data.funcSetList(rs1))),r&&(rs2=y(m(a.step2_value1),a.operator2,a.or2?m(a.or2):a.step2_value2,a.inv2),a.only_if_2&&!m(a.only_if_2)||(a.push2_to_process_list&&c.push(rs2),a.sum2_to_process_result&&(d=0==i&&null==d?rs2:y(d,\"+ (x + y)\",rs2)),a.set2_processed_result&&(d=t.data.funcSetScalar(rs2)),a.set_proc_list_to_rs2&&(c=t.data.funcSetList(rs2)),a.set_cust_val_to_rs2&&(t.data.custom_value=t.data.funcSetScalar(rs2)),a.set_cust_list_to_rs2&&(t.data.custom_list=t.data.funcSetList(rs2)))),l&&(rs3=y(m(a.step3_value1),a.operator3,a.or3?m(a.or3):a.step3_value2,a.inv3),a.only_if_3&&!m(a.only_if_3)||(a.push3_to_process_list&&c.push(rs3),a.sum3_to_process_result&&(d=0==i&&null==d?rs3:y(d,\"+ (x + y)\",rs3)),a.set3_processed_result&&(d=t.data.funcSetScalar(rs3)),a.set_proc_list_to_rs3&&(c=t.data.funcSetList(rs3)),a.set_cust_val_to_rs3&&(t.data.custom_value=t.data.funcSetScalar(rs3)),a.set_cust_list_to_rs3&&(t.data.custom_list=t.data.funcSetList(rs3)))),u&&(rs4=y(m(a.step4_value1),a.operator4,a.or4?m(a.or4):a.step4_value2,a.inv4),a.only_if_4&&!m(a.only_if_4)||(a.push4_to_process_list&&c.push(rs4),a.sum4_to_process_result&&(d=0==i&&null==d?rs4:y(d,\"+ (x + y)\",rs4)),a.set4_processed_result&&(d=t.data.funcSetScalar(rs4)),a.set_proc_list_to_rs4&&(c=t.data.funcSetList(rs4)),a.set_cust_val_to_rs4&&(t.data.custom_value=t.data.funcSetScalar(rs4)),a.set_cust_list_to_rs4&&(t.data.custom_list=t.data.funcSetList(rs4)))),o&&(rs5=y(m(a.step5_value1),a.operator5,a.or5?m(a.or5):a.step5_value2,a.inv5),a.only_if_5&&!m(a.only_if_5)||(a.push5_to_process_list&&c.push(rs5),a.sum5_to_process_result&&(d=0==i&&null==d?rs5:y(d,\"+ (x + y)\",rs5)),a.set5_processed_result&&(d=t.data.funcSetScalar(rs5)),a.set_proc_list_to_rs5&&(c=t.data.funcSetList(rs5)),a.set_cust_val_to_rs5&&(t.data.custom_value=t.data.funcSetScalar(rs5)),a.set_cust_list_to_rs5&&(t.data.custom_list=t.data.funcSetList(rs5)))),_&&(n=y(m(a.step6_value1),a.operator6,a.or6?m(a.or6):a.step6_value2,a.inv6),a.only_if_6&&!m(a.only_if_6)||(a.push6_to_process_list&&c.push(n),a.sum6_to_process_result&&(d=0==i&&null==d?n:y(d,\"+ (x + y)\",n)),a.set6_processed_result&&(d=t.data.funcSetScalar(n)),a.set_proc_list_to_rs6&&(c=t.data.funcSetList(n)),a.set_cust_val_to_rs6&&(t.data.custom_value=t.data.funcSetScalar(n)),a.set_cust_list_to_rs6&&(t.data.custom_list=t.data.funcSetList(n)))),a.debug&&i<dbits&&(window.console.group(\"LS PROCESS List Iteration: \",i),window.console.log(\"LS Starting at:\",g-1,\"Ending at:\",h-1),window.console.log(\"LS\",i,\"list[i] is:\",f[i],\" (Current Iteration Item)\"),window.console.log(\"LS\",i,\"rs1 is: \",rs1),window.console.log(\"LS\",i,\"rs2 is: \",rs2),window.console.log(\"LS\",i,\"rs3 is: \",rs3),window.console.log(\"LS\",i,\"rs4 is: \",rs4),window.console.log(\"LS\",i,\"rs5 is: \",rs5),window.console.log(\"LS\",i,\"rs6 is: \",n),window.console.log(\"LS\",i,\"processed_result is:\",d),window.console.log(\"LS\",i,\"processed_list is:\",c),window.console.log(\"LS\",i,\"Custom List is:\",t.data.custom_list),window.console.groupEnd())}t.data.processing=null,t.data.processed_result=d,t.data.processed_list=c,t.publishState(\"processed_result\",t.data.processed_result),t.publishState(\"processed_list\",t.data.processed_list),t.publishState(\"processing\",t.data.processing),a.publish_custom_value&&t.publishState(\"custom_value\",t.data.custom_value),a.publish_custom_list&&t.publishState(\"custom_list\",t.data.custom_list),t.triggerEvent(\"processing_complete\"),t.data.update_deferred&&(t.data.update_deferred=null,t.data.funcUp
225date(t,null,e))}function m(a){switch(a){case\"\":default:return null;case\"List Item\":return f[i];case\"List Item Index (0-based)\":return i;case\"List Item Index (1-based)\":return i+1;case\"Previous List Item\":return i>0?f[i-1]:null;case\"Next List Item\":return i<f.length-1?f[i+1]:null;case\"List (All Values)\":return f;case\"Result Step 1\":return rs1;case\"Result Step 2\":return rs2;case\"Result Step 3\":return rs3;case\"Result Step 4\":return rs4;case\"Result Step 5\":return rs5;case\"Result Step 6\":return n;case\"!Result Step 1\":return!rs1;case\"!Result Step 2\":return!rs2;case\"!Result Step 3\":return!rs3;case\"!Result Step 4\":return!rs4;case\"!Result Step 5\":return!rs5;case\"!Result Step 6\":return!n;case\"Processed Result\":return d;case\"Not First Iteration\":return 0!=i;case\"Not Last Iteration\":return i!=f.length-1;case\"Math.random()\":return Math.random();case\"Math.E\":return Math.E;case\"Math.PI\":return Math.PI;case\"Math.SQRT2\":return Math.SQRT2;case\"Math.SQRT1_2\":return Math.SQRT1_2;case\"Math.LN2\":return Math.LN2;case\"Math.LN10\":return Math.LN10;case\"Math.LOG2E\":return Math.LOG2E;case\"Math.LOG10E\":return Math.LOG10E;case\"Numeric Constant\":return numeric_constant;case\"Long Text Constant\":return p;case\"Yes/No Constant\":return yes_no_constant;case\"Anything Constant\":return any_constant;case\"LS Type Constant\":return ls_type_constant;case\"PL Type Constant\":return pl_type_constant;case\"LS Type List Constant\":return ls_type_list_constant;case\"PL Type List Constant\":return pl_type_list_constant;case\"Anything List Constant\":return anyL_constant;case\"LS Type List Constant ITEM\":return null!=ls_type_list_constant[i]?ls_type_list_constant[i]:null;case\"PL Type List Constant ITEM\":return null!=pl_type_list_constant[i]?pl_type_list_constant[i]:null;case\"Anything List Constant ITEM\":return null!=anyL_constant[i]?anyL_constant[i]:null;case\"LS Scalar\":return t.data.scalar;case\"Original List\":return t.data.list_to_shift;case\"Shifted List\":return t.data.list_shifted;case\"Processed List\":return t.data.processed_list;case\"Current Custom Value\":return t.data.custom_value;case\"Current Iteration Item\":return t.data.current_iteration_item;case\"Current Iteration Index (0-based)\":return t.data.current_iteration_index;case\"Current Iteration Index (1-based)\":return t.data.current_iteration_index+1;case\"Current Custom List\":return t.data.custom_list;case\"List Item Field of Interest\":{var e=f[i];function s(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest&&a.listProperties().includes(t.data.field_of_interest)?a.get(t.data.field_of_interest):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return Array.isArray(e)?e.map((t=>s(t))):s(e)}case\"List Item Field of Interest 2\":{function s(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest_2&&a.listProperties().includes(t.data.field_of_interest_2)?a.get(t.data.field_of_interest_2):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return e=f[i],Array.isArray(e)?e.map((t=>s(t))):s(e)}case\"List Item Field of Interest 3\":{function s(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest_3&&a.listProperties().includes(t.data.field_of_interest_3)?a.get(t.data.field_of_interest_3):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return e=f[i],Array.isArray(e)?e.map((t=>s(t))):s(e)}case\"true\":return!0;case\"false\":return!1;case\"0\":return 0;case\"1\":return 1}}function y(e,n,s,r){var l,u=null,o=Array.isArray(e),_=Array.isArray(s);switch(String(n).startsWith(\"Range\")||(u=o?e:_?s:null,Array.isArray(u)&&!_&&u===s&&(s=e)),l=!(!o||!_),n){case void 0:return null!=e?e:null!=s?s:null;case\"+ (x + y)\":{function d(t,a,e){var n;return\"string\"==typeof t||\"string\"==typeof a?String(t).concat(String(a)):(n=t+a,isNaN(n)?null:n)}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"- (x - y)\":{function d(t,a,e){var n=e?a-t:t-a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"* (x * y)\":{function d(t,a,e){var n=e?a*t:t*a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}
225case\"/ (x / y)\":{function d(t,a,e){var n=e?a/t:t/a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"^ (x ** y)\":{function d(t,a,e){var n=e?a**t:t**a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"modulus (x % y)\":{function d(t,a,e){var n=e?a%t:t%a;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"increment (++x)\":{function d(t,a,e){var n=null!=t?++t:null!=a?++a:null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"decrement (--x)\":{function d(t,a,e){var n=null!=t?--t:null!=a?--a:null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"concatenate (x.concat(y))\":{function d(t,a,e){return e?String(a).concat(String(t)):String(t).concat(String(a))}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make text (x)\":{function d(t,a,e){return null!=t?String(t):null!=a?String(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Text x.split(y)\":{function d(t,a,e){return String(t).split(String(a))}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Text x.trim()\":{function d(t,a,e){return null!=t?String(t).trim():null!=a?String(a).trim():null}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Text x Remove Whitespace\":{function d(t,a,e){return null!=t?String(t).replace(/\\s/g,\"\"):null!=a?String(a).replace(/\\s/g,\"\"):null}return r&&(s=[e,e=s][0]),u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"equal to (x == y)\":{function d(a,e,n){return t.data.funcDething(a)==t.data.funcDething(e)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"not equal to (x != y)\":{function d(t,a,e){return t!=a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"greater than (x > y)\":{function d(t,a,e){return e?a>t:t>a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"less than (x < y)\":{function d(t,a,e){return e?a<t:t<a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"greater than or equal (x >= y)\":{function d(t,a,e){return e?a>=t:t>=a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"less than or equal (x <= y)\":{function d(t,a,e){return e?a<=t:t<=a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"and (x && y)\":{function d(t,a,e){return t&&a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"or (x || y)\":{function d(t,a,e){return t||a}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make boolean (x)\":{function d(t,a,e){return!!(null!=t?!t:null!=a&&!a)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"not (!x)\":{function d(t,a,e){return null!=t?!t:null!=a?!a:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"is odd (x)\":{function d(t,a,e){return null!=t?t%2:null!=a?a%2:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"is even (x)\":{function d(t,a,e){return null!=t?!(t%2):null!=a?!(a%2):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make number (x)\":{function d(t,a,e){var n=null!=t?Number(t):null!=a?Number(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.atanh(x)\":{function d(t,a,e){var n=null!=t?Math.atanh(t):null!=a?Math.atanh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.cbrt(x)\":{function d(t,a,e){var n=null!=t?Math.cbrt(t):null!=a?Math.cbrt(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.ceil(x)\":{function d(t,a,e){var n=null!=t?Math.ceil(t):null!=a?Math.ceil(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.cos(x)\":{function d(t,a,e){var n=null!=t?Math.cos(t):null!=a?Math.cos(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.cosh(x)\":{function d(t,a,e){var n=null!=t?Math.cosh(t):null!=a?Math.cosh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.exp(x)\":{function d(t,a,e){var n=null!=t?Math.exp(t):null!=a?Math.exp(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.floor(x)\":{function d(t,a,e){var n=null!=t?Math.floor(t):null!=a?Math.floor(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.log(x)\":{function d(t,a,e){var n=null!=t?Math.log(t):null!=a?Math.log(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.max(x y)\":{function d(t,a,e){var n=Math.max(t,a);return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.min(x y)\":{function d(t,a,e){var n=Math.min(t,a);return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.pow(x y)\":{function d(t,a,e){var n=e?Math.pow(a,t):Math.pow(t,a);return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.round(x)\":{function d(t,a,e){var n=null!=t?Math.round(t):null!=a?Math.round(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.sin(x)\":{function d(t,a,e){var n=null!=t?Math.sin(t):null!=a?Math.sin(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.sinh(x)\":{function d(t,a,e){var n=null!=t?Math.sinh(t):null!=a?Math.sinh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.sqrt(x)\":{function d(t,a,e){var n=null!=t?Math.sqrt(t):null!=a?Math.sqrt(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.tan(x)\":{function d(t,a,e){var n=null!=t?Math.tan(t):null!=a?Math.tan(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.tanh(x)\":{function d(t,a,e){var n=null!=t?Math.tanh(t):null!=a?Math.tanh(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Math.trunc(x)\":{function d(t,a,e){var n=null!=t?Math.trunc(t):null!=a?Math.trunc(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"new Date(x)\":{function d(t,a,e){var n=null!=t?new Date(t):null!=a?new Date(a):null;return null==n&&(n=new Date),\"function\"!=typeof n.getTime||isNaN(n.getTime())?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"x.getTime()\":{function d(t,a,e){var n=null!=t?t:null!=a?a:null;return\"function\"==typeof n.getTime?n.getTime():null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make date range [x | y]\":{function d(a,e,n){return t.data.funcIsDate(a)&&t.data.funcIsDate(e)?a<=e?[a,e]:[e,a]:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"make number range [x | y]\":{function d(t,a,e){var n=Number(t),s=Number(a);return isNaN(n)&&isNaN(s)?n<=s?[n,s]:[s,n]:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"eval(x) aka Run Javascript\":{function d(e,n,s){var code=null!=e?e:null!=n?n:null;return t.data.funcEvals(i,f,rs1,rs2,rs3,rs4,rs5,numeric_constant,yes_no_constant,any_constant,ls_type_constant,pl_type_constant,ls_type_list_constant,pl_type_list_constant,anyL_constant,code,a.debug,dbits)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"isFinite(x)\":{function d(t,a,e){return null!=t?isFinite(t):null!=a?isFinite(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"parseFloat(x)\":{function d(t,a,e){var n=null!=t?parseFloat(t):null!=a?parseFloat(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"parseInt(x)\":{function d(t,a,e){var n=null!=t?parseInt(t):null!=a?parseInt(a):null;return isNaN(n)?null:n}return u?u.map((t=>d(t,s,r))):d(e,s,r)}
225case\"decodeURI(x)\":{function d(t,a,e){return null!=t?decodeURI(t):null!=a?decodeURI(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"decodeURIComponent(x)\":{function d(t,a,e){return null!=t?decodeURIComponent(t):null!=a?decodeURIComponent(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"encodeURI(x)\":{function d(t,a,e){return null!=t?encodeURI(t):null!=a?encodeURI(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"encodeURIComponent(x)\":{function d(t,a,e){return null!=t?encodeURIComponent(t):null!=a?encodeURIComponent(a):null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"console.log('x')\":{function d(t,a,e){window.console.log(\"From PROCESS List: \",null!=t?t:null!=a?a:null)}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"ListItem[x (0-based)]\":{function d(t,a){var e;return null!=a&&null!=t[a]?t[a]:null}return Array.isArray(s)?s.map((t=>d(u,t))):d(u,s)}case\"ListItem[x (1-based)]\":{function d(t,a){var e;return null!=a&&null!=t[a-1]?t[a-1]:null}return Array.isArray(s)?s.map((t=>d(u,t))):d(u,s)}case\"Set PL[x] = y (0-based)\":{function d(t,a,e){var n;return e&&(a=[t,t=a][0]),void 0!==c[t]?c[t]=a:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Set PL[x] = y (1-based)\":{function d(t,a,e){var n;return e&&(a=[t,t=a][0]),void 0!==c[t-1]?c[t-1]=a:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Set CL[x] = y (0-based)\":{function d(a,e,n){var s;return n&&(e=[a,a=e][0]),void 0!==t.data.custom_list[a]?t.data.custom_list[a]=e:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Set CL[x] = y (1-based)\":{function d(a,e,n){var s;return n&&(e=[a,a=e][0]),void 0!==t.data.custom_list[a-1]?t.data.custom_list[a-1]=e:null}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"nanoid(x)\":{function d(t,a,e){return null!=t?nanoid(t):null!=a?nanoid(a):nanoid()}return u?u.map((t=>d(t,s,r))):d(e,s,r)}case\"Array x.concat(y)\":{function d(t,a,e){return t=Array.isArray(t)?t:[t],a=Array.isArray(a)?a:[a],e?a.concat(t):t.concat(a)}return d(e,s,r)}case\"Array x.includes(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.includes(e):[a].includes(e)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.count(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.reduce(((t,a)=>t+(a==e)),0):[a].reduce(((t,a)=>t+(a==e)),0)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.indexOf(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.indexOf(e):[a].indexOf(e)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.join(y)\":{function d(t,a,e){return null==a&&(a=\"\"),Array.isArray(t)?t.join(a):[t].join(a)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.keys()\":{function d(t){return t?t.keys():null}return d(u)}case\"Array x.lastIndexOf(y)\":{function d(a,e,n){return a=t.data.funcDething(a),e=t.data.funcDething(e),Array.isArray(a)?a.lastIndexOf(e):[a].lastIndexOf(e)}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),u?u.map((t=>d(e,t,r))):d(e,s,r)}case\"Array x.length\":{function p(t){return t?t.length:null}return p(u)}case\"Array x.reverse()\":{function p(t){return t?[...t].reverse():null}return p(u)}case\"Array x.toLocaleString()\":{function p(t){return t?t.toLocaleString():null}return p(u)}case\"Array x.toString()\":{function p(t){return t?t.toString():null}return p(u)}case\"Array/Range x.firstItem()\":{function p(t){return t?t[0]:null}return p(u)}case\"Array/Range x.lastItem()\":{function p(t){return t?t[t.length-1]:null}return p(u)}case\"Range x.containsPoint(y)\":{function g(t,a){var e=Array.isArray(t),n=Array.isArray(a);if(!e)return null;var s=null,r=Array.isArray(t[0]);function l(t,a){return Array.isArray(t)?(2!=t.length&&(t=2==t[0].length?t[0]:t[0].length<2?[t[0],t[0]]:[t[0][0],t[0][t.length-1]]),a>=t[0]&&a<t[1]):null}return n&&(a=a[0]),r&&(s=t),s?s.map((t=>l(t,a))):l(t,a)}return r&&(s=[e,e=s][0]),g(e,s)}case\"Range x.containsRange(y)\":{function g(t,a){var e=Array.isArray(t),n=Array.isArray(a);if(!t||!e&&null==t[0])return null;if(!a||!n&&null==a[0])return null;var s=null,r;function l(t,a){return Array.isArray(t)&&Array.isArray(a)?(Array.isArray(t)&&2!=t.length&&(t=2==t[0].length?t[0]:t[0].length<2?[t[0],t[0]]:[t[0][0],t[0][t.length-1]]),Array.isArray(a)&&2!=a.length&&(a=2==a[0].length?a[0]:a[0].length<2?[a[0],a[0]]:[a[0][0],a[0][a.length-1]]),a[0]>=t[0]&&a[1]<=t[1]):null}return Array.isArray(t[0])&&(s=t),s?s.map((t=>l(t,a))):l(t,a)}return r&&(s=[e,e=s][0]),g(e,s)}case\"Range x.overlapsRange(y)\":{function g(t,a){var e=Array.isArray(t),n=Array.isArray(a);if(!t||!e&&null==t[0])return null;if(!a||!n&&null==a[0])return null;var s=null,r;function l(t,a){return Array.isArray(t)&&Array.isArray(a)?(Array.isArray(t)&&2!=t.length&&(t=2==t[0].length?t[0]:t[0].length<2?[t[0],t[0]]:[t[0][0],t[0][t.length-1]]),Array.isArray(a)&&2!=a.length&&(a=2==a[0].length?a[0]:a[0].length<2?[a[0],a[0]]:[a[0][0],a[0][a.length-1]]),a[0]<t[0]?a[1]>t[0]:a[0]<t[1]):null}return Array.isArray(t[0])&&(s=t),s?s.map((t=>l(t,a))):l(t,a)}return r&&(s=[e,e=s][0]),g(e,s)}case\"Array x.push(y)\":{function d(t,a,e){var n=Array.isArray(t)?t:[t];return n.push(a),n}return u=null,l&&(u=r?e:s),r&&(s=[e,e=s][0]),d(e,s)}case\"x's:Field of Interest\":{function h(a){var e=a.hasOwnProperty(\"listProperties\")&&null!==t.data.field_of_interest&&a.listProperties().includes(t.data.field_of_interest)?a.get(t.data.field_of_interest):null;return null!=e&&e.hasOwnProperty(\"length\")&&e.hasOwnProperty(\"get\")&&(e=t.data.funcGetList(e)),e}return r&&(s=[e,e=s][0]),u?u.map((t=>h(e))):h(e)}case\"x's:Field of Interest 2\":case\"x's:Field of Interest 3\":return r&&(s=[e,e=s][0]),u?u.map((t=>h(e))):h(e);case\"Array [...Bubbleize]\":{function p(t){return t?[...new Set(t)]:null}return p(u)}}}},a.data.funcPublishOriginalStates=function(t){null!=a.data.scalar&&a.publishState(\"scalar\",a.data.scalar),a.publishState(\"original_list\",a.data.list_to_shift),a.publishState(\"shifted_list\",a.data.list_shifted),a.data.track&&(null!=a.data.selected&&a.publishState(\"selected_item_number\",a.data.selected+1),a.data.last_2_selected_items_list.length>0&&a.publishState(\"last_2_selected_items_list\",a.data.last_2_selected_items_list.map((t=>t+1)))),a.data.is_different=a.data.list_to_shift?a.data.funcIsDifferent():null,a.publishState(\"list_shifted\",a.data.is_different),a.publishState(\"iterating\",a.data.iterating),a.publishState(\"processing\",a.data.processing),t&&a.triggerEvent(t)},a.data.funcPublishStates=function(t,e){e||a.publishState(\"shifted_list\",a.data.list_shifted),a.data.track&&(null!=a.data.selected&&a.publishState(\"selected_item_number\",a.data.selected+1),a.data.last_2_selected_items_list.length>0&&a.publishState(\"last_2_selected_items_list\",a.data.last_2_selected_items_list.map((t=>t+1)))),a.data.is_different=a.data.list_to_shift?a.data.funcIsDifferent():null,a.publishState(\"list_shifted\",a.data.is_different),a.publishState(\"iterating\",a.data.iterating),a.publishState(\"processing\",a.data.processing),t&&a.triggerEvent(t)},a.data.funcBeginIterate=function(t,e){var n;switch(t){case\"Shifted List\":n=a.data.list_shifted;break;case\"Original List\":n=a.data.list_to_shift;break;
225case\"Processed List\":n=a.data.processed_list}n?a.data.funcIterate(n):e.reportDebugger(\"Warning: List Shifter reports the Begin Iterate action was triggered, but the supplied list is empty. Iteration will not begin.\")},a.data.funcIterate=async function(t){for(a.data.iterating=!0,a.publishState(\"iterating\",a.data.iterating),a.triggerEvent(\"iteration_started\"),i=0;i<t.length;i++){if(a.data.stop_iteration){a.data.stop_iteration=null;break}a.data.current_iteration_item=t[i],a.data.current_iteration_index=i,a.publishState(\"current_iteration_item\",a.data.current_iteration_item),a.publishState(\"current_iteration_index\",a.data.current_iteration_index+1);let n=new Promise((function(e,n){a.triggerEvent(\"iterate\",(function(a){a&&n(a),e(t[i])}))}));await n.then((t=>t=>{e.reportDebugger(\"List Shifter reports there was an error running the workflow triggered by its Iterate from List Shifter event. Examine your 'when Iterate' workflow for this List Shifter element. Make sure that you HAVE a workflow that triggers on this List Shifter's Iterate from List Shifter event.\"),e.reportDebugger(\"Error is: \",t)}))}a.data.current_iteration_item=null,a.data.current_iteration_index=null,a.data.iterating=null,a.publishState(\"current_iteration_item\",a.data.current_iteration_item),a.publishState(\"current_iteration_index\",a.data.current_iteration_index),a.publishState(\"iterating\",a.data.iterating),a.triggerEvent(\"iteration_complete\"),a.data.update_deferred&&(a.data.update_deferred=null,a.data.funcUpdate(a,null,e))}},instance.data.noscrubs(instance,context)}"},"update":{"fn":"function(instance,properties,context){instance.data.funcUpdate(instance,properties,context)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n var d = document.createElement(\"div\")\n d.style.display = \"flex\"\n d.style.width = properties.bubble.width()-0 + \"px\"\n d.style.height = properties.bubble.height()-0 + \"px\"\n d.style.overflow = \"hidden\"\n d.style.justifyContent = \"center\"\n d.style.background = \"none\"\n d.style.backgroundImage = \"url('https://s3.amazonaws.com/appforest_uf/f1556665308497x775945993446766500/noun_Gear%20Stick_239618_51A7F9.svg')\"\n d.style.backgroundRepeat = \"no-repeat\"\n d.style.backgroundSize = \"100% 100%\"\n d.style.backgroundOrigin = \"border-box\"\n d.style.margin = \"0 auto\"\n // Classic,Electric Green,Hot Pink,Ferrari Red,Mustang Yellow,British Racing Green,Flame,Night Rider\n if (!properties.icolor || properties.icolor == 'Classic Blue') d.style.filter = \"opacity(80%)\"\n if (properties.icolor == 'Electric Green') d.style.filter = \"sepia(100%) contrast(130%) saturate(200%) hue-rotate(72deg) opacity(80%)\" \n if (properties.icolor == 'Hot Pink') d.style.filter = \"sepia(100%) contrast(148%) brightness(83%) saturate(200%) hue-rotate(274deg) opacity(80%)\"\n if (properties.icolor == 'Enzo Red') d.style.filter = \"sepia(100%) contrast(179%) brightness(104%) saturate(200%) invert(100%) hue-rotate(89deg) opacity(80%)\"\n if (properties.icolor == 'Mustang Yellow') d.style.filter = \"sepia(100%) contrast(164%) brightness(91%) saturate(200%) hue-rotate(360deg) opacity(80%)\"\n if (properties.icolor == 'British Racing Green') d.style.filter = \"sepia(100%) contrast(162%) brightness(39%) saturate(178%) hue-rotate(67deg) opacity(80%)\"\n if (properties.icolor == 'Flame') d.style.filter = \"sepia(100%) contrast(200%) brightness(74%) saturate(200%) hue-rotate(340deg)\"\n if (properties.icolor == 'Night Rider') d.style.filter = \"sepia(100%) brightness(4%) hue-rotate(162deg) opacity(80%)\"\n //hue-rotate(9deg) brightness(100%) saturate(100%) opacity(60%) // .style.filter = \"none| blur() |brightness() |contrast() | drop-shadow() |grayscale() |hue-rotate() |invert() |opacity() | saturate() | sepia()\"\n instance.canvas.appendChild(d)\n}"}},"platform_type":"web"}},"plugin_actions":{"ATK":{"display":"Floppy Inspector","type":"client_side","fields":{"ATL":{"caption":"Floppy Inspector is a debugging tool of @keith's that just writes the raw value of some Bubble expression to the console.","name":"fi_info","rank":0,"editor":"Label"},"ATM":{"caption":"Anything","name":"anything","rank":1,"editor":"DynamicValue","value":"_any_thing","optional":true},"ATN":{"caption":"Anything List","name":"anything_list","rank":2,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true}},"code":{"client":{"fn":"function(properties,context){function getList(List){if(Array.isArray(List)&&!List.hasOwnProperty(\"get\"))return List;var returnList=[];return List.hasOwnProperty(\"get\")?List.length()<1?returnList:returnList=List.get(0,List.length()):returnList}if(properties.anything_list){console.log(\"Floppy Inspector: Raw list is \",properties.anything_list);var array=getList(properties.anything_list);console.log(\"Floppy Inspector: Retrieved list is \",array)}properties.anything&&console.log(\"Floppy Inspector: Scalar is \",properties.anything)}"}}},"AUU":{"display":"List Math SSA","type":"server_side","return_value":{"AJz":{"caption":"List Math Results","name":"results","rank":0,"value":"number","is_list":true},"AUV":{"caption":"Computation Time","name":"comp_time","rank":1,"value":"number"}},"fields":{"ATs":{"caption":"List Math Server-Side Action","name":"lm_info","rank":0,"editor":"Label"},"ATt":{"caption":"This is the SERVER SIDE version of the Floppy element's \"Utility: List Math\" action. It's for use only in backend workflows.","name":"lm_info_3","rank":1,"editor":"Label"},"ATu":{"caption":"Execute this action to perform simple mathematical operations on two numeric lists, or a numeric list and a scalar number. The resulting list of numbers will be published to the \"List Math Result\" output of the plugin. This action is synchronous and when complete, the values are available to subsequent backend workflow steps.","name":"lm_info_4","rank":2,"editor":"Label"},"ATv":{"caption":"COMPUTATION 1","name":"comp_1_info","rank":3,"editor":"Label"},"ATw":{"caption":"List 1","name":"list1","rank":4,"editor":"DynamicValue","value":"number","is_list":true,"optional":false},"ATx":{"caption":"Operation 1","name":"op1","rank":5,"editor":"Dropdown"},"ATy":{"caption":"Scalar 2","name":"scalar2_op1","rank":7,"editor":"DynamicValue","value":"number","optional":true},"ATz":{"caption":"List 2","name":"list2_op1","rank":6,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUA":{"caption":"COMPUTATION 2","name":"comp_2_info","rank":8,"editor":"Label"},"AUB":{"caption":"Operate on Result","name":"op2","rank":9,"editor":"Dropdown","optional":true},"AUC":{"caption":"List 2","name":"list2_op2","rank":10,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUD":{"caption":"Scalar 2","name":"scalar2_op2","rank":11,"editor":"DynamicValue","value":"number","optional":true,"is_list":false},"AUE":{"caption":"COMPUTATION 3","name":"comp_3_info","rank":12,"editor":"Label"},"AUF":{"caption":"Operate on Result","name":"op3","rank":13,"editor":"Dropdown","optional":true},"AUG":{"caption":"List 2","name":"list2_op3","rank":14,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUH":{"caption":"Scalar 2","name":"scalar2_op3","rank":15,"editor":"DynamicValue","value":"number","is_list":false,"optional":true},"AUI":{"caption":"COMPUTATION 4","name":"comp_4_info","rank":16,"editor":"Label"},"AUJ":{"caption":"Operate on Result","name":"op4","rank":17,"editor":"Dropdown","optional":true},"AUK":{"caption":"List 2","name":"list2_op4","rank":18,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUL":{"caption":"Scalar 2","name":"scalar2_op4","rank":19,"editor":"DynamicValue","value":"number","optional":true}
225,"AUM":{"caption":"COMPUTATION 5","name":"comp_5_info","rank":20,"editor":"Label"},"AUN":{"caption":"Operate on Result","name":"op5","rank":21,"editor":"Dropdown","optional":true},"AUO":{"caption":"List 2","name":"list2_op5","rank":22,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUP":{"caption":"Scalar 2","name":"scalar2_op5","rank":23,"editor":"DynamicValue","value":"number","optional":true},"AUQ":{"caption":"COMPUTATION 6","name":"comp_6_info","rank":24,"editor":"Label"},"AUR":{"caption":"Operate on Result","name":"op6","rank":25,"editor":"Dropdown","optional":true},"AUS":{"caption":"List 2","name":"list2_op6","rank":26,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUT":{"caption":"Scalar 2","name":"scalar2_op6","rank":27,"editor":"DynamicValue","value":"number","optional":true},"AUW":{"caption":"BENCHMARK OPTION","name":"bench_info","rank":28,"editor":"Label"},"AUX":{"caption":"Benchmark?","name":"benchmark","rank":29,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true}}},"AUY":{"display":"Make Numeric List SSA","type":"server_side","return_value":{"AUf":{"caption":"Make Numeric List Results","name":"results","rank":0,"value":"number","is_list":true},"AUg":{"caption":"Computation Time","name":"comp_time","rank":1,"value":"number"}},"fields":{"AUZ":{"caption":"Make Numeric List Server-Side Action","name":"mn_info","rank":0,"editor":"Label"},"AUa":{"caption":"This is the SERVER SIDE version of the Floppy element's \"Utility: Make Numeric List\" action. It's for use only in backend workflows.","name":"mn_info_2","rank":1,"editor":"Label"},"AUb":{"caption":"Execute this action to generate a numeric list and send it to the plugin's .","name":"mn_info_3","rank":2,"editor":"Label"},"AUc":{"caption":"Number of items","name":"num_items","rank":3,"editor":"DynamicValue","value":"number","optional":true},"AUd":{"caption":"Start at","name":"start","rank":4,"editor":"DynamicValue","value":"number","optional":true},"AUe":{"caption":"Increment by","name":"increment","rank":5,"editor":"DynamicValue","value":"number","optional":true},"AUh":{"caption":"BENCHMARK OPTION","name":"bench_info","rank":6,"editor":"Label"},"AUi":{"caption":"Benchmark","name":"benchmark","rank":7,"editor":"DynamicValue","value":"boolean","optional":true,"default_val":false}}},"AUj":{"display":"Count Each Field/Sort SSA","type":"server_side","return_value":{"AUz":{"caption":"List Field Counts 1","name":"field_counts_1","rank":0,"value":"number","is_list":true},"AVA":{"caption":"List Field Counts 2","name":"field_counts_2","rank":1,"value":"number","is_list":true},"AVB":{"caption":"List Field Counts 3","name":"field_counts_3","rank":2,"value":"number","is_list":true},"AVC":{"caption":"Count Custom Number List","name":"count_list_custom","rank":3,"value":"number","is_list":true},"AVD":{"caption":"Count/Sort Items List","name":"count_list_output","rank":4,"value":"custom_data_AUo","is_list":true}},"fields":{"AUk":{"caption":"Count Each Field/Sort Server-Side Action","name":"cs_info1","rank":0,"editor":"Label"},"AUl":{"caption":"This is the SERVER SIDE version of the Floppy element's \"Utility: Count Each Field/Sort\" action. It's for use only in backend workflows.","name":"cs_info2","rank":1,"editor":"Label"},"AUm":{"caption":"Execute this action to count the number of items in some field(s) on a Thing. You can optionally sort the Things by these counts, or a custom numeric list. The List Expression input below is echoed to the \"Count/Sort Items List\" output. Counts associated with the various fields are output to the \"List Field Counts n\" outputs. If the \"Sort\" option is selected, all of those outputs will be sorted, as requested.","name":"cs_info3","rank":2,"editor":"Label"},"AUo":{"caption":"Count/Sort List Type","name":"count_list_type","rank":3,"editor":"custom_type"},"AUp":{"caption":"List Expression","name":"list","rank":4,"editor":"DynamicValue","value":"custom_data_AUo","is_list":true},"AUq":{"caption":"Field to Count 1","name":"field_1","rank":5,"editor":"custom_field_AUo","optional":true},"AUr":{"caption":"Field to Count 2","name":"field_2","rank":6,"editor":"custom_field_AUo","optional":true},"AUs":{"caption":"Field to Count 3","name":"field_3","rank":7,"editor":"custom_field_AUo","optional":true},"AUt":{"caption":"Custom Count","name":"custom_count","rank":8,"editor":"DynamicValue","value":"number","is_list":true,"optional":true},"AUu":{"caption":"SORT OPTIONS","name":"sort_options_info","rank":9,"editor":"Label"},"AUw":{"caption":"Sort by Field Count","name":"sort_by","rank":10,"editor":"Dropdown","optional":true}
225,"AUx":{"caption":"Sort by Field (as Number)","name":"sort_by_number","rank":11,"editor":"DynamicValue","value":"number","optional":true},"AUy":{"caption":"Sort Descending","name":"descending","rank":12,"editor":"DynamicValue","value":"boolean","optional":true},"Acn":{"caption":"LIMIT OUTPUT FEATURE (ADVANCED)","name":"limit_info","rank":13,"editor":"Label"},"Aco":{"caption":"Limit Return Vals to X Items","name":"limit","rank":14,"editor":"DynamicValue","value":"number","optional":true}}},"Acp":{"display":"Floppy Rehydrator SSA","type":"server_side","return_value":{"Acy":{"caption":"Rehydrated Things List 1","name":"r_things_1","rank":0,"value":"custom_data_Acs","is_list":true},"Acz":{"caption":"Rehydrated Things List 2","name":"r_things_2","rank":1,"value":"custom_data_Acu","is_list":true},"AdA":{"caption":"Rehydrated Things List 3","name":"r_things_3","rank":2,"value":"custom_data_Acw","is_list":true}},"fields":{"Acq":{"caption":"REHYDRATOR SSA","name":"rehydrator_ssa","rank":0,"editor":"Label"},"Acr":{"caption":"Rehydrator SSA takes text lists of Bubble unique IDs and turns them back into the Things they represent. This is just like the Rehydrator element, except it runs in the backend. (Obviously, you must know what type of Things the UIDs represent... It ain't magic!) Note that if you're using this plugin to rehydrate a list of UIDs retrieved from the URL via \"Get Data from URL\", you're going to have to split that string by comma space (\", \") not %2C%20 as you might expect. The lists of Things appear at Floppy Rehydrator SSA's Rehydrated Things 1, 2, or 3 outputs as appropriate.","name":"reh_info","rank":1,"editor":"Label"},"Acs":{"caption":"Thing Type 1","name":"thing_1","rank":2,"editor":"custom_type","optional":true},"Act":{"caption":"UIDs 1","name":"uids_1","rank":3,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"Acu":{"caption":"Thing Type 2","name":"thing_2","rank":4,"editor":"custom_type","optional":true},"Acv":{"caption":"UIDs 2","name":"uids_2","rank":5,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"Acw":{"caption":"Thing Type 3","name":"thing_3","rank":6,"editor":"custom_type","optional":true},"Acx":{"caption":"UIDs 3","name":"uids_3","rank":7,"editor":"DynamicValue","value":"text","is_list":true,"optional":true}}},"AnH":{"display":"Floppy Bulk Create Things SSA","type":"server_side","return_value":{"AnW":{"caption":"Created Things List","name":"created_things_list","rank":0,"value":"custom_data_AnI","is_list":true},"AnX":{"caption":"Creation Time (ms)","name":"creation_time","rank":1,"value":"number"}},"fields":{"AnI":{"caption":"Type of Things","name":"type","rank":2,"editor":"custom_type","value":"_any_thing_bindable","optional":true},"AnJ":{"caption":"Field 1","name":"field_1","rank":3,"editor":"custom_field_AnI","optional":true},"AnK":{"caption":"Field 1 Values","name":"fieldvalues_1","rank":4,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AnL":{"caption":"Field 2","name":"field_2","rank":5,"editor":"custom_field_AnI","optional":true},"AnM":{"caption":"Field 2 Values","name":"fieldvalues_2","rank":6,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AnN":{"caption":"Field 3","name":"field_3","rank":7,"editor":"custom_field_AnI","optional":true},"AnO":{"caption":"Field 3 Values","name":"fieldvalues_3","rank":8,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AnP":{"caption":"Field 4","name":"field_4","rank":9,"editor":"custom_field_AnI","optional":true},"AnQ":{"caption":"Field 4 Values","name":"fieldvalues_4","rank":10,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AnR":{"caption":"Field 5","name":"field_5","rank":11,"editor":"custom_field_AnI","optional":true},"AnS":{"caption":"Field 5 Values","name":"fieldvalues_5","rank":12,"editor":"DynamicValue","optional":true,"value":"_any_thing","is_list":true},"AnT":{"caption":"Field 6","name":"field_6","rank":13,"editor":"custom_field_AnI","optional":true},"AnU":{"caption":"Field 6 Value","name":"fieldvalues_6","rank":14,"editor":"DynamicValue","value":"_any_thing","is_list":true,"optional":true},"AnV":{"caption":"Bulk Create Endpoints JSON","name":"bulk_json","rank":15,"editor":"DynamicValue","value":"text"},"AnY":{"caption":"THIS PLUGIN IS STILL IN DEVELOPMENT AND IS NOT FOR GENERAL USE. YOU HAVE BEEN WARNED. Floppy Bulk Create Things SSA","name":"fbc_info","rank":0,"editor":"Label"},"AnZ":{"caption":"Execute this action to bulk create Things using your app's bulk create endpoint. Select the type of things and provide values for the fields you want to set. Note that the field values provided must match the type of that field, but the Issue Checker cannot provide feedback here as the Field Values fields below can accept any type of data (as long as its a list).","name":"fbc_info2","rank":1,"editor":"Label"}}},"AzM":{"display":"LGC: Debug Buddy | Benchmark","type":"client_side","fields":{"AzG":{"caption":"DEBUG BUDDY is a handy little plugin to easily write logs to the console and/or the debugger.","editor":"Label","name":"debug_buddy_info","rank":0},"AzH":{"caption":"Log to console:","editor":"DynamicValue","name":"log_to_console","optional":true,"rank":1,"value":"text"},"AzI":{"caption":"Report to debugger:","editor":"DynamicValue","name":"report_to_debugger","optional":true,"rank":2,"value":"text"},"AzJ":{"caption":"Benchmark","editor":"DynamicValue","name":"benchmark","optional":true,"rank":3,"value":"boolean"},"AzK":{"caption":"Benchmark Summary","editor":"DynamicValue","name":"benchmark_summary","optional":true,"rank":4,"value":"boolean"},"AzL":{"caption":"Reset Benchmark","editor":"DynamicValue","name":"reset_benchmark","optional":true,"rank":5,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){if(window.dbuddy_benchmark&&!properties.reset_benchmark||(window.dbuddy_benchmark=[],window.console.log(\"Debug Buddy: Benchmark Reset\")),properties.benchmark&&(bm=Date.now(),window.dbuddy_benchmark.push(bm),window.dbuddy_benchmark.length>1?window.console.log(\"Debug Buddy Benchmark: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\" \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[window.dbuddy_benchmark.length-2],\"ms\",\" Message: \",properties.log_to_console):window.console.log(\"Debug Buddy Benchmark Starting: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\"Message: \",properties.log_to_console)),properties.log_to_console&&window.console.log(\"Debug Buddy: \",properties.log_to_console),properties.report_to_debugger&&context.reportDebugger(properties.report_to_debugger),properties.benchmark_summary&&window.dbuddy_benchmark.length>1){var d=window.dbuddy_benchmark.slice(1).map(((d,i)=>
225d-window.dbuddy_benchmark[i])),e=d.reduce(((d,e)=>d+e),0)/d.length,o=Math.max(...d),n=Math.min(...d);window.console.group(\"Debug Buddy Benchmark Summary:\"),window.console.log(\"Total Sampling Time: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[0],\"ms\"),window.console.log(\"# Samples: \",d.length),window.console.log(\"Avg: \",e,\"ms\"),window.console.log(\"Min: \",n,\"ms\"),window.console.log(\"Max: \",o,\"ms\"),window.console.groupEnd()}}"}}},"BDn":{"display":"LGC: List Popper SSA","type":"server_side","return_value":{"ACF":{"caption":"Remaining List","is_list":true,"name":"Remaining List","rank":1,"value":"custom_data_BDk"},"ADl":{"caption":"Popped Item","name":"Popped Item","rank":0,"value":"custom_data_BDk"}},"fields":{"BDi":{"caption":"Preserve Empty","editor":"DynamicValue","name":"preserve_empty","optional":true,"rank":4,"value":"boolean"},"BDj":{"caption":"This Server Side Action pops the first item off of a list and returns that single item (a single value), along with the remaining list. Unlike Bubble's \"remove\" and \"minus item\" operators, List Popper truly removes the first item in the list WITHOUT removing other duplicates. (The Remaining List is not \"Bubble-ized\" by this actionâany duplicate items in the list are preserved.)","editor":"Label","name":"Info1","rank":0},"BDk":{"caption":"Data Type of List","editor":"custom_type","name":"type_of_content","rank":2},"BDl":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":3,"value":"custom_data_BDk"},"BDm":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the returned List of Items.","editor":"Label","name":"info2","rank":1}}},"BDv":{"display":"LGC: FLOW State List SSA","type":"server_side","return_value":{"AAX":{"caption":"Indices","is_list":true,"name":"Indices","rank":1,"value":"number"},"AAY":{"caption":"Item Count","is_list":false,"name":"item_count","rank":2,"value":"number"},"ACF":{"caption":"List","is_list":true,"name":"List","rank":0,"value":"custom_data_BDr"}},"fields":{"BDo":{"caption":"Publish Indices","editor":"DynamicValue","name":"publish_indices","optional":true,"rank":4,"value":"boolean"},"BDp":{"caption":"Preserve Empty","editor":"DynamicValue","is_list":false,"name":"preserve_empty","optional":true,"rank":5,"value":"boolean"},"BDq":{"caption":"The FLOW State List action can be used like a variable or \"custom state\" in any workflow! The List of Items you select here is evaluated and passed to the return value of this Action. You can optionally publish a numeric list of indices. The Item Count output contains the number of items that were in the list at the moment the list was fetched.","editor":"Label","name":"Info1","rank":0},"BDr":{"caption":"Data Type of Items","editor":"custom_type","name":"type_of_content","rank":2},"BDs":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":3,"value":"custom_data_BDr"},"BDt":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the FLOW State's returned List of Items.","editor":"Label","name":"info2","rank":1},"BDu":{"caption":"Reverse","name":"reverse","rank":6,"editor":"DynamicValue","value":"boolean","optional":true}}},"BEA":{"display":"LGC: FLOW State Single SSA","type":"server_side","return_value":{"AAP":{"caption":"Item","name":"item","rank":0,"value":"custom_data_BDy"}},"fields":{"BDw":{"caption":"The FLOW State action used like a variable or \"custom state\" in any workflow! The expression you input here is evaluated and passed to the return value of this Action.","editor":"Label","name":"info_1","rank":0},"BDx":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the FLOW State's returned List of Items.","editor":"Label","name":"info_2","rank":1},"BDy":{"caption":"Data Type of Item","editor":"custom_type","name":"type_of_content","rank":2},"BDz":{"caption":"Item","editor":"DynamicValue","name":"item","rank":3,"value":"custom_data_BDy"}}},"BEG":{"display":"LGC: List Pusher SSA","type":"server_side","return_value":{"AAV":{"caption":"Pushed Item","name":"Pushed Item","rank":0,"value":"custom_data_BEC"},"AAW":{"caption":"Updated List","is_list":true,"name":"Updated List","rank":1,"value":"custom_data_BEC"}},"fields":{"BEB":{"caption":"This Server Side Action pushes an item on to a list, returning both the Pushed Item and the Updated List. Unlike Bubble's \"add\" and \"plus item\" operators, List Pusher can push duplicate items on to the list and the Updated List is not \"Bubble-ized\" (i.e., any duplicate items in the list are preserved).","editor":"Label","name":"info_1","rank":0},"BEC":{"caption":"Data Type of Items","editor":"custom_type","name":"type_of_content","rank":1},"BED":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":2,"value":"custom_data_BEC"},"BEE":{"caption":"Item to Push","editor":"DynamicValue","name":"item","rank":3,"value":"custom_data_BEC"},"BEF":{"caption":"Preserve Empty","editor":"DynamicValue","name":"preserve_empty","optional":true,"rank":4,"value":"boolean"}}},"BEN":{"display":"LGC: Index Of SSA","type":"server_side","return_value":{"AAd":{"caption":"Index","
225name":"index","rank":0,"value":"number"},"AAe":{"caption":"Found","name":"found","rank":1,"value":"boolean"}},"fields":{"BEH":{"caption":"INDEXOF INFO","editor":"Label","name":"info1","rank":0},"BEI":{"caption":"The IndexOf Server-Side Action finds the (1-based) first or last index of the supplied Item in the supplied List. The 1-based index (where the Item was found) is returned to the Index output. If Item is not found, the Index will be reported as -1. Additionally, the Found output reports a yes/no indicating whether Item was found in the List.","editor":"Label","name":"info2","rank":1},"BEJ":{"caption":"Data Type of List and Item","editor":"custom_type","name":"type_of_content","rank":2},"BEK":{"caption":"List","editor":"DynamicValue","is_list":true,"name":"List","rank":3,"value":"custom_data_BEJ"},"BEL":{"caption":"Item","editor":"DynamicValue","name":"Item","rank":4,"value":"custom_data_BEJ"},"BEM":{"caption":"Find Last Index?","editor":"DynamicValue","name":"find_last","optional":true,"rank":5,"value":"boolean"}}},"BEa":{"display":"LGC: List Slicer Pusher SSA","type":"server_side","return_value":{"ACF":{"caption":"Remaining List","is_list":true,"name":"Remaining List","rank":2,"value":"custom_data_BEQ"},"ADl":{"caption":"Sliced Items","name":"Sliced Items","rank":0,"value":"custom_data_BEQ","is_list":true},"ABP":{"caption":"Pushed Items","name":"Pushed Items","rank":1,"value":"custom_data_BEQ","is_list":true},"ABV":{"caption":"Remaining Push Items List","name":"Remaining Push Items","rank":3,"value":"custom_data_BEQ","is_list":true}},"fields":{"BEO":{"caption":"Preserve Empty","editor":"DynamicValue","name":"preserve_empty","optional":true,"rank":11,"value":"boolean"},"BEP":{"caption":"This Server Side Action combines aspects of List Popper and List Pusher into a single Action, allowing you to simultaneously remove some number of items from a list and/or push some number of items into the list. Rather than removing a single (scalar) item, List Slicer Pusher returns an list (array) of Sliced Items. And, rather than pushing a single scalar item, List Slicer Pusher accepts a list of items you want pushed. Unlike Bubble's operators, List Slicer truly removes the items in the list WITHOUT removing other duplicates. Similarly, duplicate items in the pushed items list can be duplicates of existing items.","editor":"Label","name":"Info1","rank":0},"BEQ":{"caption":"Data Type of List","editor":"custom_type","name":"type_of_content","rank":2},"BER":{"caption":"List of Items","editor":"DynamicValue","is_list":true,"name":"data_source","rank":3,"value":"custom_data_BEQ","optional":true},"BES":{"caption":"Note: If the Data Type selected is a custom data type from your app's database, changes to the Items will be reflected in the returned List of Items.","editor":"Label","name":"info2","rank":1},"BET":{"caption":"1, SLICE OPTIONS","name":"slice_info","rank":4,"editor":"Label"},"BEU":{"caption":"# Items to Slice","name":"slice_to","rank":5,"editor":"DynamicValue","value":"number","optional":true},"BEV":{"caption":"2. PUSH OPTIONS","name":"push_info","rank":7,"editor":"Label"},"BEW":{"caption":"List to Push","name":"list_to_push","rank":8,"editor":"DynamicValue","value":"custom_data_BEQ","is_list":true,"optional":true},"BEX":{"caption":"Dynamic Slicing","name":"dynamic","rank":6,"editor":"DynamicValue","value":"boolean","optional":true},"BEY":{"caption":"# Items to Push","name":"push_to","rank":9,"editor":"DynamicValue","value":"number","optional":true},"BEZ":{"caption":"OUTPUT OPTION","name":"output_info","rank":10,"editor":"Label"}}},"BKm":{"display":"Debug Buddy | Benchmark PRO","type":"client_side","fields":{"BKg":{"caption":"DEBUG BUDDY is a handy little plugin to easily write logs to the console and/or the debugger.","editor":"Label","name":"debug_buddy_info","rank":0},"BKh":{"caption":"Log to console:","editor":"DynamicValue","name":"log_to_console","optional":true,"rank":1,"value":"text"},"BKi":{"caption":"Report to debugger:","editor":"DynamicValue","name":"report_to_debugger","optional":true,"rank":2,"value":"text"},"BKj":{"caption":"Benchmark","editor":"DynamicValue","name":"benchmark","optional":true,"rank":3,"value":"boolean"},"BKk":{"caption":"Benchmark Summary","editor":"DynamicValue","name":"benchmark_summary","optional":true,"rank":4,"value":"boolean"},"BKl":{"caption":"Reset Benchmark","editor":"DynamicValue","name":"reset_benchmark","optional":true,"rank":5,"value":"boolean"}},"code":{"client":{"fn":"function(properties,context){if(window.dbuddy_benchmark&&!properties.reset_benchmark||(window.dbuddy_benchmark=[],window.console.log(\"Debug Buddy: Benchmark Reset\")),properties.benchmark&&(bm=Date.now(),window.dbuddy_benchmark.push(bm),window.dbuddy_benchmark.length>1?window.console.log(\"Debug Buddy Benchmark: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\" \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[window.dbuddy_benchmark.length-2],\"ms\",\" Message: \",properties.log_to_console):window.console.log(\"Debug Buddy Benchmark Starting: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1],\"Message: \",properties.log_to_console)),properties.log_to_console&&window.console.log(\"Debug Buddy: \",properties.log_to_console),properties.report_to_debugger&&context.reportDebugger(properties.report_to_debugger),properties.benchmark_summary&&window.dbuddy_benchmark.length>1){var d=window.dbuddy_benchmark.slice(1).map(((d,i)=>
225d-window.dbuddy_benchmark[i])),e=d.reduce(((d,e)=>d+e),0)/d.length,o=Math.max(...d),n=Math.min(...d);window.console.group(\"Debug Buddy Benchmark Summary:\"),window.console.log(\"Total Sampling Time: \",window.dbuddy_benchmark[window.dbuddy_benchmark.length-1]-window.dbuddy_benchmark[0],\"ms\"),window.console.log(\"# Samples: \",d.length),window.console.log(\"Avg: \",e,\"ms\"),window.console.log(\"Min: \",n,\"ms\"),window.console.log(\"Max: \",o,\"ms\"),window.console.groupEnd()}}"}}}}}; 226window._bubble_page_load_data.plugins_size['1641501497659x706740039734263800'] = 324833; 227window.preloaded['plugin/third_party:1641501497659x706740039734263800:1.10.1'] = true; 228window.plugins["1656970570372x812660999547781100"] = {"human":"TimeZoneDB","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"plugin_api":{"human":"TimeZoneDB","auth":"private_key_url","token_param_name":"key","calls":{"AAC":{"name":"List of Time Zone","method":"get","publish_as":"data","should_reinitialize":true,"url":"http://api.timezonedb.com/v2.1/list-time-zone","params":{"AAD":{"key":"format","value":"json","private":true,"visibility":"hidden"}},"initialized":true,"types":"{\"plugin_api.AAC\":{\"caption\":\"List of Time Zone\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"\"},\"_p_message\":{\"ret_value\":\"text\",\"caption\":\"message\",\"sample_value\":\"\"},\"_p_zones\":{\"ret_value\":\"list.api.1656970570372x812660999547781100.plugin_api.AAC.zones\",\"caption\":\"zones\"}}},\"plugin_api.AAC.zones\":{\"caption\":\"List of Time Zone zone\",\"fields\":{\"_p_countryCode\":{\"ret_value\":\"text\",\"caption\":\"countryCode\",\"sample_value\":\"\"},\"_p_countryName\":{\"ret_value\":\"text\",\"caption\":\"countryName\",\"sample_value\":\"\"},\"_p_zoneName\":{\"ret_value\":\"text\",\"caption\":\"zoneName\",\"sample_value\":\"\"},\"_p_gmtOffset\":{\"ret_value\":\"number\",\"caption\":\"gmtOffset\",\"sample_value\":\"\"},\"_p_timestamp\":{\"ret_value\":\"number\",\"caption\":\"timestamp\",\"sample_value\":\"\"}}}}","ret_value":"api.1656970570372x812660999547781100.plugin_api.AAC"},"AAE":{"name":"Get Time by Time Zone","method":"get","publish_as":"data","url":"http://api.timezonedb.com/v2.1/get-time-zone","should_reinitialize":true,"params":{"AAF":{"key":"format","value":"json","private":true,"visibility":"hidden"},"AAG":{"key":"by","value":"zone","private":true,"visibility":"hidden"},"AAH":{"key":"zone","value":"America/New_York","private":true}},"initialized":true,"types":"{\"plugin_api.AAE\":{\"caption\":\"Get Local Time by Time Zone\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"\"},\"_p_message\":{\"ret_value\":\"text\",\"caption\":\"message\",\"sample_value\":\"\"},\"_p_countryCode\":{\"ret_value\":\"text\",\"caption\":\"countryCode\",\"sample_value\":\"\"},\"_p_countryName\":{\"ret_value\":\"text\",\"caption\":\"countryName\",\"sample_value\":\"\"},\"_p_regionName\":{\"ret_value\":\"text\",\"caption\":\"regionName\",\"sample_value\":\"\"},\"_p_cityName\":{\"ret_value\":\"text\",\"caption\":\"cityName\",\"sample_value\":\"\"},\"_p_zoneName\":{\"ret_value\":\"text\",\"caption\":\"zoneName\",\"sample_value\":\"\"},\"_p_abbreviation\":{\"ret_value\":\"text\",\"caption\":\"abbreviation\",\"sample_value\":\"\"},\"_p_gmtOffset\":{\"ret_value\":\"number\",\"caption\":\"gmtOffset\",\"sample_value\":\"\"},\"_p_dst\":{\"ret_value\":\"text\",\"caption\":\"dst\",\"sample_value\":\"\"},\"_p_zoneStart\":{\"ret_value\":\"number\",\"caption\":\"zoneStart\",\"sample_value\":\"\"},\"_p_zoneEnd\":{\"ret_value\":\"number\",\"caption\":\"zoneEnd\",\"sample_value\":\"\"},\"_p_nextAbbreviation\":{\"ret_value\":\"text\",\"caption\":\"nextAbbreviation\",\"sample_value\":\"\"},\"_p_timestamp\":{\"ret_value\":\"number\",\"caption\":\"timestamp\",\"sample_value\":\"\"},\"_p_formatted\":{\"ret_value\":\"text\",\"caption\":\"formatted\",\"sample_value\":\"\"}}}}","ret_value":"api.1656970570372x812660999547781100.plugin_api.AAE"},"AAI":{"name":"Get Time and Zone by Position","method":"get","publish_as":"data","should_reinitialize":true,"url":"http://api.timezonedb.com/v2.1/get-time-zone","params":{"AAJ":{"key":"format","private":true,"visibility":"hidden","value":"json"},"AAK":{"key":"by","value":"position","private":true,"visibility":"hidden"},"AAL":{"key":"lat","value":"40.7142700","private":true},"AAM":{"key":"lng","value":"-74.0059700","private":true}},"initialized":true,"types":"{\"plugin_api.AAI\":{\"caption\":\"Get Time and Zone by Position\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"\"}
228,\"_p_message\":{\"ret_value\":\"text\",\"caption\":\"message\",\"sample_value\":\"\"},\"_p_countryCode\":{\"ret_value\":\"text\",\"caption\":\"countryCode\",\"sample_value\":\"\"},\"_p_countryName\":{\"ret_value\":\"text\",\"caption\":\"countryName\",\"sample_value\":\"\"},\"_p_regionName\":{\"ret_value\":\"text\",\"caption\":\"regionName\",\"sample_value\":\"\"},\"_p_cityName\":{\"ret_value\":\"text\",\"caption\":\"cityName\",\"sample_value\":\"\"},\"_p_zoneName\":{\"ret_value\":\"text\",\"caption\":\"zoneName\",\"sample_value\":\"\"},\"_p_abbreviation\":{\"ret_value\":\"text\",\"caption\":\"abbreviation\",\"sample_value\":\"\"},\"_p_gmtOffset\":{\"ret_value\":\"number\",\"caption\":\"gmtOffset\",\"sample_value\":\"\"},\"_p_dst\":{\"ret_value\":\"text\",\"caption\":\"dst\",\"sample_value\":\"\"},\"_p_zoneStart\":{\"ret_value\":\"number\",\"caption\":\"zoneStart\",\"sample_value\":\"\"},\"_p_zoneEnd\":{\"ret_value\":\"number\",\"caption\":\"zoneEnd\",\"sample_value\":\"\"},\"_p_nextAbbreviation\":{\"ret_value\":\"text\",\"caption\":\"nextAbbreviation\",\"sample_value\":\"\"},\"_p_timestamp\":{\"ret_value\":\"number\",\"caption\":\"timestamp\",\"sample_value\":\"\"},\"_p_formatted\":{\"ret_value\":\"text\",\"caption\":\"formatted\",\"sample_value\":\"\"}}}}","ret_value":"api.1656970570372x812660999547781100.plugin_api.AAI"},"AAN":{"name":"Convert Time Zones","method":"get","publish_as":"data","url":"http://api.timezonedb.com/v2.1/convert-time-zone","should_reinitialize":true,"params":{"AAO":{"key":"format","value":"json","private":true,"visibility":"hidden"},"AAP":{"key":"from","value":"America/New_York","private":true},"AAQ":{"key":"to","value":"Europe/Paris","private":true},"AAR":{"key":"time","value":"1505808000","private":true,"optional":true}},"initialized":true,"types":"{\"plugin_api.AAN\":{\"caption\":\"Convert Time Zone\",\"fields\":{\"_p_status\":{\"ret_value\":\"text\",\"caption\":\"status\",\"sample_value\":\"\"},\"_p_message\":{\"ret_value\":\"text\",\"caption\":\"message\",\"sample_value\":\"\"},\"_p_fromZoneName\":{\"ret_value\":\"text\",\"caption\":\"fromZoneName\",\"sample_value\":\"\"},\"_p_fromAbbreviation\":{\"ret_value\":\"text\",\"caption\":\"fromAbbreviation\",\"sample_value\":\"\"},\"_p_fromTimestamp\":{\"ret_value\":\"number\",\"caption\":\"fromTimestamp\",\"sample_value\":\"\"},\"_p_toZoneName\":{\"ret_value\":\"text\",\"caption\":\"toZoneName\",\"sample_value\":\"\"},\"_p_toAbbreviation\":{\"ret_value\":\"text\",\"caption\":\"toAbbreviation\",\"sample_value\":\"\"},\"_p_toTimestamp\":{\"ret_value\":\"number\",\"caption\":\"toTimestamp\",\"sample_value\":\"\"},\"_p_offset\":{\"ret_value\":\"number\",\"caption\":\"offset\",\"sample_value\":\"\"}}}}","ret_value":"api.1656970570372x812660999547781100.plugin_api.AAN"}}}}; 229window._bubble_page_load_data.plugins_size['1656970570372x812660999547781100'] = 6728; 230window.preloaded['plugin/third_party:1656970570372x812660999547781100:1.0.1'] = true; 231window.plugins["1665499243133x903664614711230500"] = {"human":"BNS - Youtube Video ID Extractor","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAD":{"display":"Youtube Video ID extractor","add_is_visible":true,"states":{"AAG":{"caption":"Youtube Video ID","name":"youtube_video_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAE":{"caption":"Extract Youtube Video ID","code":{"fn":"function(instance,properties,context){function getID(url){var match=url.match(/(?:https?:)?(?:\\/\\/)?(?:[0-9A-Z-]+\\.)?(?:youtu\\.be\\/|youtube(?:-nocookie)?\\.com\\S*?[^\\w\\s-])([\\w-]{11})(?=[^\\w-]|$)(?![?=&+%\\w.-]*(?:['\"][^<>]*>|<\\/a>))[?=&+%\\w.-]*/im);return null==match?url:match[1]}instance.publishState(\"youtube_video_id\",getID(properties.url))}","add_debugger":false},"fields":{"AAF":{"caption":"URL","name":"url","rank":0,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}},"plugin_actions":{"AAH":{"display":"Extract Youtube Video ID","type":"server_side","return_value":{"AAJ":{"caption":"video ID","name":"video_id","rank":0,"value":"text"}},"fields":{"AAI":{"caption":"Youtube Video URL","name":"youtube_video_url","rank":0,"editor":"DynamicValue","value":"text"}}}}}; 232window._bubble_page_load_data.plugins_size['1665499243133x903664614711230500'] = 1440; 233window.preloaded['plugin/third_party:1665499243133x903664614711230500:1.4.0'] = true; 234window.plugins["1672719888247x670883748563386400"] = {"human":"Alphabet Avatar Generator","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_api":{"human":"Avatar Generation","calls":{"AAG":{"name":"Create Avatar Name","method":"get","publish_as":"action","url":"https://ui-avatars.c
234om/api/?name=[Name]&background=[Background Color]&color=[Font Color]&size=[Size]&length=[length]&uppercase=[caps]&rounded=[rounded]&bold=[bold]","should_reinitialize":true,"url_params":{"AAN":{"key":"length","value":"2","private":true},"AAO":{"key":"caps","value":"false","private":true},"AAQ":{"key":"rounded","value":"true","private":true},"AAS":{"key":"bold","value":"false","private":true},"AAT":{"key":"Name","value":"John+Doe","private":true},"AAX":{"key":"Font Color","value":"fff","private":true},"AAZ":{"key":"Size","value":"64","private":true,"doc":"Avatar image size in pixels. Between: 16 and 512. Default: 64"},"AAb":{"key":"Background Color","value":"random","private":true}},"data_type":"image","no_types":true,"initialized":true}}}}; 235window._bubble_page_load_data.plugins_size['1672719888247x670883748563386400'] = 993; 236window.preloaded['plugin/third_party:1672719888247x670883748563386400:1.0.0'] = true; 237window.plugins["1676280573614x891677842206097400"] = {"human":"LottieFiles","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_api":{"human":"Public animation","shared_headers":{"AAC":{"key":"content-type","value":"application/json","private":true}},"calls":{"AAE":{"name":"Recent Public Animations","method":"post","publish_as":"data","should_reinitialize":true,"body":"{\n \"query\": \"query recentPublicAnimations($first: Int, $after: String, $before: String) {\\n recentPublicAnimations(first: $first, after: $after, before: $before) {\\n ...PublicAnimFields\\n }\\n}\\n\\nfragment PublicAnimFields on PublicAnimationConnection {\\n pageInfo {\\n startCursor\\n endCursor\\n hasNextPage\\n hasPreviousPage\\n }\\n totalCount\\n edges {\\n node {\\n id\\n lottieUrl\\n }\\n }\\n}\",\n \"operationName\": \"recentPublicAnimations\",\n \"variables\": {\n \"first\": 9\n }\n}","url":"https://graphql.lottiefiles.com/2022-08","initialized":true,"types":"{\"plugin_api.AAE\":{\"caption\":\"Recent Public Animation\",\"fields\":{\"_p_data.recentPublicAnimations.pageInfo.startCursor\":{\"ret_value\":\"text\",\"caption\":\"recentPublicAnimations pageInfo startCursor\",\"sample_value\":\"YXJyYXljb25uZWN0aW9uOjA=\",\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"startCursor\"]},\"_p_data.recentPublicAnimations.pageInfo.endCursor\":{\"ret_value\":\"text\",\"caption\":\"recentPublicAnimations pageInfo endCursor\",\"sample_value\":\"YXJyYXljb25uZWN0aW9uOjg=\",\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"endCursor\"]},\"_p_data.recentPublicAnimations.pageInfo.hasNextPage\":{\"ret_value\":\"boolean\",\"caption\":\"recentPublicAnimations pageInfo hasNextPage\",\"sample_value\":true,\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"hasNextPage\"]},\"_p_data.recentPublicAnimations.pageInfo.hasPreviousPage\":{\"ret_value\":\"boolean\",\"caption\":\"recentPublicAnimations pageInfo hasPreviousPage\",\"sample_value\":false,\"path\":[\"data\",\"recentPublicAnimations\",\"pageInfo\",\"hasPreviousPage\"]},\"_p_data.recentPublicAnimations.totalCount\":{\"ret_value\":\"number\",\"caption\":\"recentPublicAnimations totalCount\",\"sample_value\":84471,\"path\":[\"data\",\"recentPublicAnimations\",\"totalCount\"]},\"_p_data.recentPublicAnimations.edges\":{\"ret_value\":\"list.api.1676280573614x891677842206097400.plugin_api.AAE.data.recentPublicAnimations.edges\",\"caption\":\"recentPublicAnimations edges\",\"path\":[\"data\",\"recentPublicAnimations\",\"edges\"]}}},\"plugin_api.AAE.data.recentPublicAnimations.edges\":{\"caption\":\"Recent Public Animations data recentPublicAnimations edge\",\"fields\":{\"_p_node.id\":{\"ret_value\":\"number\",\"caption\":\"node id\",\"sample_value\":137414,\"path\":[\"node\",\"id\"]},\"_p_node.lottieUrl\":{\"ret_value\":\"text\",\"caption\":\"node lottieUrl\",\"sample_value\":\"https://assets4.lottiefiles.com/dotlotties/dlf10_d6LVU4fIvm.lottie\",\"path\":[\"node\",\"lottieUrl\"]}}}}","ret_value":"api.1676280573614x891677842206097400.plugin_api.AAE"}}},"plugin_elements":{"AAF":{"display":"LottieFiles","property_applications":{"resizable":true,"MinWidth":true,"Backgroun
237d":true,"Padding":true},"add_hover_pressed":true,"add_is_visible":true,"fields":{"AAG":{"caption":"Animation File/Url","name":"animation_url","rank":0,"editor":"DynamicValue","value":"file"},"AAH":{"caption":"Controls","name":"controls","rank":1,"editor":"Checkbox","default_val":true},"AAI":{"caption":"Autoplay","name":"autoplay","rank":2,"editor":"Checkbox","default_val":true},"AAJ":{"caption":"Speed","name":"speed","rank":3,"editor":"StaticNumber","default_val":1},"AAK":{"caption":"Loop","name":"loop","rank":4,"editor":"Checkbox","default_val":true},"AAL":{"caption":"Background","name":"background","rank":5,"editor":"Color"},"AAM":{"caption":"Play Animation On","name":"mode","rank":6,"editor":"Dropdown","default_val":"Page Load"}},"code":{"preview":{"fn":"function(instance, properties) {\n $(document).ready(function() {\n let scriptList = [\n 'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js',\n 'https://unpkg.com/@dotlottie/[email protected]/dist/dotlottie-player.js',\n 'https://unpkg.com/@lottiefiles/lottie-interactivity@latest/dist/lottie-interactivity.min.js'\n ];\n\n\n scriptList.forEach(function(a) {\n let script = document.createElement('script');\n script.src = a;\n script.async = false;\n $('head').append(script);\n });\n\n });\n let box = \"<div>Please insert your box.</div>\";\n const {\n bubble,\n ...rest\n } = properties;\n instance.data = rest;\n let {\n animation_url,\n controls,\n loop,\n speed,\n autoplay,\n background,\n mode\n } = instance.data;\n\n\n function uuid() {\n return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)\n );\n }\n const elementID = `lottie_${uuid()}`;\n\n\n //check if the url is not empty\n if (animation_url !== null) {\n\n if (mode !== \"Page Load\") {\n autoplay = false;\n }\n\n box = $(`<${animation_url.includes(\".json\") ? \"lottie-player\" :\"dotlottie-player\"} id=\"${elementID}\" src=\"${animation_url}\" speed=\"${speed}\" style=\"width: 100%; height: 100%;\" ${loop ? \"loop\" :\"\"} ${controls ? \"controls\" : \"\"} ${autoplay ? \"autoplay\" :\"\"} background=\"${background}\"></${animation_url.includes(\".json\") ? \"lottie-player\" :\"dotlottie-player\"}>`);\n\n\n }\n instance.canvas.html(box);\n\n //Interactivity Code Here\n if (mode !== \"Page Load\") {\n const myInterval = setInterval(() => {\n if (LottieInteractivity !== undefined) {\n console.log(LottieInteractivity);\n clearInterval(myInterval);\n\n mode = mode.toLowerCase();\n\n const getActions = () => {\n\n if (mode === \"scroll\") {\n return [{\n type: 'seek',\n }]\n } else {\n return [{\n type: mode,\n forceFlag: false\n }]\n }\n\n\n }\n\n LottieInteractivity.create({\n player: `#${elementID}`,\n mode: mode === \"scroll\" ? mode : \"cursor\",\n actions: getActions()\n })\n\n }\n\n }, 1000);\n }\n\n}"},"initialize":{"fn":"function(instance, context) {\n\n\n\n}"},"update":{"fn":"function(instance, properties, context) {\n\n const {\n bubble,\n ...rest\n } = properties;\n instance.data = rest;\n let {\n animation_url,\n controls,\n loop,\n speed,\n autoplay,\n background,\n mode,\n } = instance.data;\n\n function uuid() {\n return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)\n );\n }\n const elementID = `lottie_${uuid()}`;\n\n\n if (animation_url !== null) {\n\n if (mode !== \"Page Load\") {\n autoplay = false;\n }\n\n let box = $(`<${animation_url.includes(\".json\") ? \"lottie-player\" :\"dotlottie-player\"} id=\"${elementID}\" src=\"${animation_url}\" speed=\"${speed}\" style=\"width: 100%; height: 100%;\" ${loop ? \"loop\" :\"\"} ${controls ? \"controls\" : \"\"} ${autoplay || mode === \"Page Load\" ? \"autoplay\" :\"\"} background=\"${background}\"></${animation_url.includes(\".json\") ? \"lottie-player\" :\"dotlottie-player\"}>`);\n instance.canvas.html(box);\n\n\n //Interactivity Code Here\n\n if (mode !== \"Page Load\") {\n const myInterval = setInterval(() =>
237 {\n if (LottieInteractivity !== undefined) {\n clearInterval(myInterval);\n\n mode = mode.toLowerCase();\n const item = document.getElementById(elementID);\n const totalFrames = item?.getLottie().totalFrames;\n\n\n const getActions = () => {\n\n if (mode === \"scroll\") {\n return [{\n type: 'seek',\n visibility: [0, 1],\n }]\n } else {\n return [{\n type: mode,\n forceFlag: false\n }]\n }\n\n\n }\n\n\n LottieInteractivity.create({\n player: `#${elementID}`,\n mode: mode === \"scroll\" ? mode : \"cursor\",\n actions: getActions()\n })\n\n }\n\n }, 1000);\n }\n\n }\n\n}"},"reset":{"fn":"function(instance, context) {\n\n\n\n}"}},"platform_type":"web"}}}; 238window._bubble_page_load_data.plugins_size['1676280573614x891677842206097400'] = 9363; 239window.preloaded['plugin/third_party:1676280573614x891677842206097400:1.2.0'] = true; 240window.plugins["1676440610350x444696195479633900"] = {"human":"Stellar Icons by Polara","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Stellar Icon","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":{"AAD":{"caption":"Icon","name":"icon","rank":3,"editor":"DynamicValue","value":"text"},"AAE":{"caption":"Direct Color","name":"color","rank":6,"editor":"Color","default_val":"rgba(0,128,255,1)","in_style":true},"AAF":{"caption":"ð âââ TRANSFORMATIONS âââ ð","name":"info_transformations","rank":8,"editor":"Label"},"AAG":{"caption":"Flip - Vertically","name":"flipx","rank":9,"editor":"Checkbox","value":"boolean","default_val":false,"in_style":true},"AAH":{"caption":"Flip - Horizontally","name":"flipy","rank":11,"editor":"Checkbox","value":"boolean","default_val":false,"in_style":true},"AAI":{"caption":"Rotate (Deg.)","name":"rotate","rank":12,"editor":"DynamicValue","in_style":true,"value":"number","optional":true,"default_val":0},"AAJ":{"caption":"Transition","name":"transition","rank":13,"editor":"DynamicValue","in_style":true,"value":"text","default_val":"200ms linear","optional":true},"AAK":{"caption":"Spin","name":"spin","rank":14,"editor":"Checkbox","value":"boolean","default_val":false,"in_style":true},"AAM":{"caption":"ð âââ SETTINGS âââ ð","name":"icon_info","rank":2,"editor":"Label"},"AAP":{"caption":"Clickable","name":"clickable","rank":4,"editor":"Checkbox","value":"boolean","in_style":true,"default_val":false},"AAQ":{"caption":"Font Color","name":"use_font_color","rank":7,"editor":"Checkbox","default_val":false},"AAx":{"caption":"This plugin, Stellar Icons, is maintained by Polara Group. Polara is a US-based consulting agency that works with Bubble apps. We are committed to providing support for this icon, and open to feature requests and feedback. For any support, please contact us at: [email protected].","name":"info_polara_2","rank":1,"editor":"Label"},"AAy":{"caption":"ð âââ PLUGIN INFORMATION âââ ð","name":"info_polara","rank":0,"editor":"Label"},"AAz":{"caption":"ð âââ STYLING âââ ð","name":"info_styling","rank":5,"editor":"Label"}},"events":{"AAO":{"caption":"Icon is clicked","name":"Clicked"}},"code":{"preview":{"fn":"function(instance, properties) {\n jQuery(\"html\").height(\"100%\").css(\"min-height\", 50).css(\"overflow\", \"hidden\");\n jQuery(\"body\").height(\"100%\").css(\"min-height\", 50).css(\"overflow\", \"hidden\");\n\n const head = jQuery(\"head\");\n\n const $script = jQuery(`<script/>`);\n head.append($script);\n\n $script[0].addEventListener(\"load\", async function () {\n let iconName = (properties.icon || \"simple-icons:iconify\").trim();\n\n const IconifyIcon = window.customElements.get(\"iconify-icon\");\n try {\n await IconifyIcon.loadIcon(iconName);
240\n if (!IconifyIcon.iconExists(iconName)) {\n iconName = \"simple-icons:iconify\";\n }\n } catch (err) {\n iconName = \"simple-icons:iconify\";\n }\n\n const id = \"iconify-\" + Math.random().toString(36).substr(2, 5);\n\n const flipX = properties.flipx ? 180 : 0;\n const flipY = properties.flipy ? 180 : 0;\n const { rotate, color, transition, use_font_color } = properties;\n\n const icon = jQuery(`<iconify-icon id=\"${id}\"></iconify-icon>`);\n const styleSheet = jQuery(`<style></style>`);\n\n instance.canvas.append(styleSheet).append(icon);\n instance.canvas.css({\n display: \"flex\",\n \"align-items\": \"center\",\n \"justify-content\": \"center\",\n });\n\n const {\n width,\n padding_horizontal,\n border_width,\n border_style,\n border_width_right,\n border_width_left,\n four_border_style,\n border_style_right,\n border_style_left,\n } = properties.bubble;\n\n let totalBorderWidth = 0;\n if (!four_border_style()) {\n if (border_style() === \"none\") {\n totalBorderWidth = 0;\n } else {\n totalBorderWidth = border_width() * 2;\n }\n } else {\n const widthRight =\n border_style_right() === \"none\" ? 0 : border_width_right();\n const widthLeft =\n border_style_left() === \"none\" ? 0 : border_width_left();\n totalBorderWidth = widthLeft + widthRight;\n }\n\n const windowWidth = instance.canvas.width();\n let iconWidth = windowWidth;\n icon.attr(\"icon\", iconName);\n icon.attr(\"width\", iconWidth);\n\n const styleSheetHtml = `\n #${id} {\n width: 100%;\n height: 100%;\n color: ${\n use_font_color\n ? properties.bubble.font_color()\n : color\n };\n transform: rotate(${rotate}deg) rotateX(${flipX}deg) rotateY(${flipY}deg);\n transition: ${transition};\n }\n #${id}.spin {\n animation: ${id} 2s infinite linear;\n }\n @keyframes ${id} {\n from {\n transform: rotate(0deg);\n } \n to {\n transform: rotate(359deg);\n }\n }\n `;\n\n styleSheet.html(styleSheetHtml);\n });\n $script[0].src =\n \"https://code.iconify.design/iconify-icon/1.0.3/iconify-icon.min.js\";\n}\n"},"initialize":{"fn":"function(instance,context){const id=\"iconify-\"+Math.random().toString(36).substr(2,5);instance.data.id=id;const icon=jQuery(`<iconify-icon id=\"${id}\"></iconify-icon>`),styleSheet=jQuery(\"<style></style>\");instance.data.icon=icon,instance.data.styleSheet=styleSheet,instance.data.handleClick=function(event){event.preventDefault(),event.stopPropagation(),instance.triggerEvent(\"Clicked\")},instance.canvas.append(styleSheet).append(icon),instance.canvas.css({display:\"flex\",\"align-items\":\"center\",\"justify-content\":\"center\"}),instance.data.reloadIconFunc=function(properties){const{width:width,height:height,padding_horizontal:padding_horizontal,padding_vertical:padding_vertical,border_width:border_width,border_height:border_height,border_style:border_style,border_width_right:border_width_right,border_width_left:border_width_left,border_width_top:border_width_top,border_width_bottom:border_width_bottom,four_border_style:four_border_style,border_style_right:border_style_right,border_style_left:border_style_left,border_style_top:border_style_top,border_style_bottom:border_style_bottom}=properties.bubble;let totalBorderWidth=0,totalBorderHeight=0;if(four_border_style()){const widthRight=\"none\"===border_style_right()?0:border_width_right(),widthLeft=undefined;totalBorderWidth=(\"none\"===border_style_left()?0:border_width_left())+widthRight;const heightTop=undefined,heightBottom=undefined;totalBorderHeight=(\"none\"===border_style_top()?0:border_width_top())+(\"none\"===border_style_bottom()?0:border_width_bottom())}else\"none\"===border_style()?(totalBorderWidth=0,totalBorderHeight=0):(totalBorderWidth=2*border_width(),totalBorderHeight=totalBorderWidth);const iconWidth=width()-2*padding_horizontal()-totalBorderWidth,iconHeight=height()-2*padding_vertical()-totalBorderHeight;icon.attr(\"icon\",instance.data.config.iconName),icon.attr(\"width\",iconWidth)},instance.data.reloadStyleFunc=function(){let{flipX:flipX,flipY:flipY,rotate:rotate,color:color,transition:transition}=instance.data.config;const styleSheetHtml=`\\n #${id} {\\n width: 100%;\\n height: 100%;\\n color: ${color};\\n transform: rotate(${rotate}deg) rotateX(${flipX}deg) rotateY(${flipY}deg);\\n transition: ${transition};\\n }\\n #${id}.spin {\\n animation: ${id} 2s infinite linear;\\n }\\n @keyframes ${id} {\\n from {\\n transform: rotate(0deg);\\n } \\n to {\\n transform: rotate(359deg);\\n }\\n }\\n \\t`;styleSheet.html(styleSheetHtml)}}"},"update":{"fn":"function(instance,properties){const iconName=(properties.icon||\"simple-icons:iconify\").trim(),flipX=properties.flipx?180:0,flipY=properties.flipy?180:0;instance.data.config={spin:properties.spin,transition:properties.transition,iconName:iconName,flipY:flipY,flipX:flipX,color:properties.use_font_color?properties.bubble.font_color():properties.color,rotate:properties.rotate},instance.canvas.toggleClass(\"clickable-element\",properties.clickable),properties.clickable&&!instance.data.eventAttached&&(instance.data.eventAttached=!0,instance.canvas.on(\"click\",instance.data.handleClick)),!properties.clickable&&instance.data.eventAttached&&(instance.data.eventAttached=!1,instance.canvas.off(\"click\",instance.data.handleClick)),instance.data.reloadIconFunc(properties),instance.data.reloadStyleFunc(),instance.data.icon.toggleClass(\"spin\",properties.spin)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"AAe":{"display":"Stellar Icon","property_applications":{"resizable":true,"Border":true,"Font":true,"MinWidth":true,"Padding":true,"Backgroun
240d":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"has_reset_fn":false,"fields":{"AAf":{"caption":"Icon","name":"icon","rank":3,"editor":"DynamicValue","value":"text"},"AAg":{"caption":"ð âââ SETTINGS âââ ð","name":"info_icon","rank":2,"editor":"Label"},"AAh":{"caption":"Direct Color","name":"color","rank":6,"editor":"Color","default_val":"rgba(0,128,255,1)","in_style":true},"AAi":{"caption":"Font Color","name":"use_font_color","rank":7,"editor":"Checkbox","default_val":false},"AAj":{"caption":"ð âââ TRANSFORMATIONS âââ ð","name":"info_transformations","rank":8,"editor":"Label"},"AAk":{"caption":"Flip - Vertically","name":"flipx","rank":9,"editor":"Checkbox","default_val":false,"in_style":true},"AAl":{"caption":"Flip - Horizontally","name":"flipy","rank":10,"editor":"Checkbox","in_style":true,"default_val":false},"AAm":{"caption":"Rotate (Deg.)","name":"rotate","rank":11,"editor":"DynamicValue","in_style":true,"value":"number","optional":true,"default_val":0},"AAn":{"caption":"Transition","name":"transition","rank":13,"editor":"DynamicValue","in_style":true,"value":"text","optional":true,"default_val":"200ms linear"},"AAo":{"caption":"Spin","name":"spin","rank":14,"editor":"Checkbox","default_val":false,"in_style":true},"AAp":{"caption":"Tappable?","name":"tappable","rank":4,"editor":"Checkbox","in_style":true,"default_val":false},"AAs":{"caption":"ð âââ STYLING âââ ð","name":"info_styling","editor":"Label","rank":5},"AAv":{"caption":"ð âââ PLUGIN INFORMATION âââ ð","name":"info_polara","editor":"Label","rank":0},"AAw":{"caption":"This plugin, Stellar Icons, is maintained by Polara Group. Polara is a US-based consulting agency that works with Bubble apps. We are committed to providing support for this icon, and open to feature requests and feedback. For any support, please contact us at: [email protected].","name":"info_polara_2","rank":1,"editor":"Label"}},"events":{"AAq":{"caption":"Icon is tapped","name":"Tapped"}},"actions":{"AAr":{"caption":"Simulate Tap","code":{"fn":"function(instance,properties,context){instance.data.tappable&&instance.triggerEvent(\"Tapped\")}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n}"},"reset":{"fn":"function(instance,context){}"},"rn_component":{"fn":"function(props) {\n const React = props.context.libraries.react,\n RN = props.context.libraries[\"react-native\"],\n View = RN.View,\n Pressable = RN.Pressable || RN.TouchableOpacity,\n Animated = RN.Animated,\n Easing = RN.Easing,\n svgLib = props.context.libraries[\"react-native-svg\"],\n SvgXml = svgLib.SvgXml || svgLib.default && svgLib.default.SvgXml,\n b = props.bubble,\n num = function (v) {\n return \"number\" == typeof v && isFinite(v) ? v : 0;\n };\n let borderW = 0,\n borderH = 0;\n if (b.four_border_style) {\n const l = undefined,\n r = undefined,\n t = undefined,\n bo = undefined;\n borderW = (\"none\" === b.border_style_left ? 0 : num(b.border_width_left)) + (\"none\" === b.border_style_right ? 0 : num(b.border_width_right)), borderH = (\"none\" === b.border_style_top ? 0 : num(b.border_width_top)) + (\"none\" === b.border_style_bottom ? 0 : num(b.border_width_bottom));\n } else \"none\" !== b.border_style && (borderW = 2 * num(b.border_width), borderH = borderW);\n const bw = Math.max(0, num(b.width) - 2 * num(b.padding_horizontal) - borderW),\n bh = Math.max(0, num(b.height) - 2 * num(b.padding_vertical) - borderH),\n size = Math.min(bw, bh),\n iconName = (props.icon || \"simple-icons:iconify\").trim(),\n color = (props.use_font_color ? b.font_color : props.color) || \"#000000\",\n tappable = !!props.tappable,\n flipX = !!props.flipx,\n flipY = !!props.flipy,\n rotate = num(props.rotate),\n spin = !!props.spin;\n React.useEffect(function () {\n props.instance.data.tappable = tappable;\n }, [tappable]);\n const [svg, setSvg] = React.useState(null);\n React.useEffect(function () {\n let u = \"https://api.iconify.design/\" + iconName.replace(\":\", \"/\") + \".svg?height=none&color=\" + encodeURIComponent(color);
240\n async function go() {\n try {\n const res = await fetch(u),\n t = await res.text();\n res.ok && 0 === t.indexOf(\"<svg\") && setSvg(t);\n } catch (e) {\n setSvg(null);\n }\n }\n flipX && flipY ? u += \"&flip=horizontal,vertical\" : flipX ? u += \"&flip=vertical\" : flipY && (u += \"&flip=horizontal\"), go();\n }, [iconName, color, flipX, flipY]);\n const spinValue = React.useRef(new Animated.Value(0)).current;\n React.useEffect(function () {\n if (!spin) return void spinValue.setValue(0);\n const loop = Animated.loop(Animated.timing(spinValue, {\n toValue: 1,\n duration: 2e3,\n easing: Easing.linear,\n useNativeDriver: !0\n }));\n return loop.start(), function () {\n loop.stop();\n };\n }, [spin]);\n const spinRotation = spinValue.interpolate({\n inputRange: [0, 1],\n outputRange: [rotate + \"deg\", rotate + 360 + \"deg\"]\n }),\n outerStyle = {\n width: bw,\n height: bh,\n alignItems: \"center\",\n justifyContent: \"center\"\n },\n innerStyle = {\n width: size,\n height: size,\n alignItems: \"center\",\n justifyContent: \"center\",\n transform: [{\n rotate: spin ? spinRotation : rotate + \"deg\"\n }]\n },\n Inner = spin ? Animated.View : View,\n icon = React.createElement(Inner, {\n style: innerStyle\n }, svg ? React.createElement(SvgXml, {\n xml: svg,\n width: size,\n height: size\n }) : null);\n return tappable ? React.createElement(Pressable, {\n style: outerStyle,\n onPress: function () {\n props.instance.triggerEvent(\"Tapped\");\n }\n }, icon) : React.createElement(View, {\n style: outerStyle\n }, icon);\n};","add_debugger":false}},"platform_type":"mobile"}}}; 241window._bubble_page_load_data.plugins_size['1676440610350x444696195479633900'] = 15481; 242window.preloaded['plugin/third_party:1676440610350x444696195479633900:3.0.3'] = true; 243window.plugins["1678101479138x861764246919708700"] = {"human":"Quill Rich Text Editor","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"âï¸ Quill Editor","property_applications":{"Background":true,"Border":true,"BoxShadow":true,"Font":true,"MinWidth":true,"Padding":false,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"add_large_file_upload_properties":false,"support_autobinding":true,"autobinding_value":"text","has_reset_fn":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Theme","default_val":"snow","editor":"Dropdown","in_style":true,"name":"theme","rank":2},"AAE":{"caption":"Placeholder Text","editor":"DynamicValue","name":"placeholder","optional":true,"rank":5,"value":"text"},"AAF":{"caption":"Read-only Mode","default_val":false,"editor":"DynamicValue","name":"readOnly","rank":8,"value":"boolean"},"AAX":{"caption":"Initial Content","default_val":"","editor":"DynamicValue","name":"initial_content","optional":true,"rank":4,"value":"text"},"AAZ":{"caption":"Content Type","default_val":"Content","editor":"Dropdown","name":"initial_type","optional":false,"rank":3,"value":"text"},"ABT":{"caption":"Quill Editor","editor":"Label","name":"essec","rank":0},"ABU":{"caption":"_________________________________________________________ ⨽⨼ Toolbar Style","editor":"Label","name":"toolbar_","rank":9},"ABV":{"caption":"⨽⨼ Background Color","default_val":"rgba(244, 244, 244, 1)","editor":"Color","in_style":true,"name":"toolbar_bg","rank":11},"ABW":{"caption":"â¡â¡â¡ Icon's Color","default_val":"rgba(22, 22, 22, 1)","editor":"Color","in_style":true,"name":"toolbar_icon_color","rank":18},"ABX":{"caption":"⨽⨼ Border Width","default_val":0,"editor":"DynamicValue","in_style":true,"name":"toolbar_border_width","rank":12,"value":"number"},"ABY":{"caption":"⨽⨼ Border Color","default_val":"rgba(22, 22, 22, 1)","editor":"Color","in_style":true,"name":"toolbar_border_color","rank":13},"ABZ":{"caption":"________________________________________________________ â Text Area Options","editor":"Label","name":"text_area_options","rank":22}
243,"ABa":{"caption":"â Background Color","default_val":"rgba(255, 255, 255, 1)","editor":"Color","in_style":true,"name":"container_bg","rank":23},"ABb":{"caption":"â Border Width","default_val":0,"editor":"DynamicValue","in_style":true,"name":"container_border_width","rank":24,"value":"number"},"ABc":{"caption":"â Border Color","default_val":"rgba(22, 22, 22, 1)","editor":"Color","in_style":true,"name":"container_border_color","rank":25},"ADK":{"caption":"Placeholder Color","default_val":"rgba(198, 198, 198, 1)","editor":"Color","in_style":true,"name":"placeholder_color","optional":false,"rank":6},"ADL":{"caption":"â Padding","default_val":8,"editor":"DynamicValue","in_style":true,"name":"container_padding","rank":26,"value":"number"},"ADM":{"caption":"______________________________________________________ â¡â¡â¡ Modules","editor":"Label","name":"toolbarsec","rank":14},"ADN":{"caption":"â¡â¡â¡ Presets","default_val":"Full Formatting","editor":"Dropdown","name":"toolbarpreset","rank":15},"ADO":{"caption":"â¡â¡â¡ Custom Modules","default_val":"https://data-visualization-plotly.bubbleapps.io/version-test/quill-rich-text-editor?ref=editor&tab=Toolbar","editor":"DynamicValue","name":"customtoolbar","optional":true,"rank":16,"value":"text"},"ADQ":{"caption":"â¡â¡â¡ Icon's Size","default_val":24,"editor":"DynamicValue","name":"toolbar_icon_size","rank":19,"value":"number"},"ADS":{"caption":"â¡â¡â¡ Color on Hover","default_val":"rgba(53,62,255,1)","editor":"Color","in_style":true,"name":"item_hover_color","rank":20},"ADX":{"caption":"< > Syntax Highlighting","default_val":false,"editor":"DynamicValue","name":"syntax","rank":28,"value":"boolean"},"ADj":{"caption":"< > Background Color","default_val":"rgba(33,33,33,1)","editor":"Color","in_style":true,"name":"syntax_bg","rank":30},"ADk":{"caption":"< > Basic Font Color","default_val":"rgba(255,255,255,1)","editor":"Color","in_style":true,"name":"syntax_font_color","rank":29},"ADl":{"caption":"â â Border Color","default_val":"rgba(0,55,255,1)","editor":"Color","in_style":true,"name":"quote_border_color","rank":36},"ADm":{"caption":"â â Background Color","default_val":"rgba(198, 198, 198, 1)","editor":"Color","in_style":true,"name":"quote_bg","rank":34},"ADn":{"caption":"â â Font Color","default_val":"rgba(33, 33, 33, 1)","editor":"Color","in_style":true,"name":"quote_font_color","rank":33},"ADo":{"caption":"â â Border Width","default_val":4,"editor":"DynamicValue","in_style":true,"name":"quote_border_width","rank":35,"value":"number"},"ADp":{"caption":"Serif Fonts","default_val":"Georgia, Times New Roman, serif","editor":"StaticText","in_style":true,"name":"font_serif","optional":false,"rank":38,"value":"text"},"ADr":{"caption":"Monospace Fonts","default_val":"Monaco, Courier New, monospace","editor":"StaticText","in_style":true,"name":"font_mono","rank":39,"value":"text"},"ADs":{"caption":"< > Border Radius","default_val":3,"editor":"DynamicValue","in_style":true,"name":"syntax_border_radius","rank":31,"value":"number"},"ADt":{"caption":"________________________________________________________ < > Code Block","editor":"Label","name":"codeblock","rank":27},"ADu":{"caption":"________________________________________________________ â â Quote Block","editor":"Label","name":"quoteblocksec","rank":32},"ADv":{"caption":"________________________________________________________ â Formatting","editor":"Label","name":"formattingsec","rank":37},"AEA":{"caption":"Insert Formula","default_val":true,"editor":"DynamicValue","name":"math","rank":17,"value":"boolean"},"AIZ":{"caption":"â¡â¡â¡ Edit HTML (beta)","default_val":false,"editor":"DynamicValue","name":"editHTML","rank":21,"value":"boolean"},"AIe":{"caption":"⨽⨼ Hide Toolbar","default_val":false,"editor":"DynamicValue","name":"toolbar_hide","rank":10,"value":"boolean"},"AIf":{"caption":"Placeholder Style","default_val":"italic","editor":"Dropdown","in_style":true,"name":"placeholder_style","rank":7},"ALB":{"caption":"________________________________________________________ ⨠New Features","editor":"Label","name":"saa","rank":41},"ALC":{"caption":"ð¼ï¸ Image Drop ","default_val":false,"editor":"DynamicValue","name":"dropImage","rank":42,"value":"boolean"},"ALD":{"caption":"ðï¸ Bubble Text Styles","editor":"DynamicValue","name":"bubbleStyles","optional":true,"rank":49,"value":"text"},"ALE":{"caption":"â²ï¸ Event Delay","default_val":500,"editor":"DynamicValue","name":"debounceDelay","rank":50,"value":"number"},"ALF":{"caption":"Use Auto Binding","default_val":false,"editor":"Checkbox","in_style":true,"name":"isAutobinding","rank":1},"ALI":{"caption":"@ Enable Mention","default_val":false,"editor":"DynamicValue","name":"mention","rank":43,"value":"boolean"},"ALP":{"caption":"@ Data IDs","editor":"DynamicValue","is_list":true,"name":"mentionDataId","optional":true,"rank":46,"value":"text"},"ALQ":{"caption":"@ Data Values","editor":"DynamicValue","is_list":true,"name":"mentionDataValue","optional":true,"rank":47,"value":"text"},"ALR":{"caption":"@ Denotation","editor":"Dropdown","in_style":true,"name":"mentionDen
243otation","optional":true,"rank":44},"ALk":{"caption":"@ Custom Denotation","editor":"DynamicValue","name":"mentionDenotationCustom","optional":true,"rank":45,"value":"text"},"ALl":{"caption":"________________________________________________________ ","editor":"Label","name":"div","rank":48},"ALm":{"caption":"Line Height","editor":"DynamicValue","name":"lineHeight","optional":true,"rank":40,"value":"number"},"ALn":{"caption":"â² Enter Event","name":"enterKey","rank":51,"editor":"DynamicValue","value":"boolean","optional":true}},"states":{"AAG":{"caption":"Editor Contents (Delta)","initialization_code":{"fn":"function(properties,context){}"},"name":"lastcontents","value":"text"},"AAH":{"caption":"Text Length","initialization_code":{"fn":"function(properties,context){}"},"name":"lastlength","value":"number"},"AAI":{"caption":"Editor Text (plain text)","initialization_code":{"fn":"function(properties,context){}"},"name":"lasttext","value":"text"},"AAT":{"caption":"Editor Has Focus","initialization_code":{"fn":"function(properties,context){}"},"name":"hasfocus","value":"boolean"},"AAe":{"caption":"Delta (Last Changes)","initialization_code":{"fn":"function(properties,context){}"},"name":"change","value":"text"},"AAf":{"caption":"Pre-Change Contents","initialization_code":{"fn":"function(properties,context){}"},"name":"beforechange","value":"text"},"AAh":{"caption":"Selection Start Index","initialization_code":{"fn":"function(properties,context){}"},"name":"selectionindex","value":"number"},"AAi":{"caption":"Selection Length","initialization_code":{"fn":"function(properties,context){}"},"name":"selectionlength","value":"number"},"AAk":{"caption":"Get Editor Contents","initialization_code":{"fn":"function(properties,context){}"},"name":"getcontents","value":"text"},"AAm":{"caption":"Get Editor Text (plain text)","initialization_code":{"fn":"function(properties,context){}"},"name":"gettext","value":"text"},"ABS":{"caption":"Get Editor Format","initialization_code":{"fn":"function(properties,context){}"},"name":"getformat","value":"text"},"AId":{"caption":"HTML","initialization_code":{"fn":"function(properties,context){}"},"name":"getHTML","value":"text"},"AKz":{"caption":"Caret Index","initialization_code":{"fn":"function(properties,context){}"},"name":"caretIndex","value":"number"},"ALJ":{"caption":"@Mention Clicked? No = Hovered","initialization_code":{"fn":"function(properties,context){}"},"name":"mentionEventType","value":"boolean"},"ALK":{"caption":"@Mention ID","initialization_code":{"fn":"function(properties,context){}"},"name":"mentionId","value":"text"},"ALL":{"caption":"@Mention Value","initialization_code":{"fn":"function(properties,context){}"},"name":"mentionValue","value":"text"},"ALM":{"caption":"@Mention Denotation","initialization_code":{"fn":"function(properties,context){}"},"name":"mentionDenotation","value":"text"},"ALN":{"caption":"@Mention Index","initialization_code":{"fn":"function(properties,context){}"},"name":"mentionIndex","value":"number"}},"events":{"AAU":{"caption":"Text changed","name":"textchange"},"AAV":{"caption":"User Selection Changed","name":"selectionchange"},"ALA":{"caption":"Changed","name":"anyChange"},"ALO":{"caption":"@Mention Event","name":"mentionEvent"},"ALo":{"caption":"â² Enter Pressed","name":"enterKey"},"ALp":{"caption":"Clicked","name":"clicked"}},"actions":{"AAK":{"caption":"Set Contents","fields":{"AAa":{"caption":"Contents (Delta)","editor":"DynamicValue","name":"contents","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){const{contents:contents}=properties;if(void 0!==contents&&instance.data.quill)try{const delta=JSON.parse(contents);instance.data.quill.setContents(delta),instance.data.saveAutoBinding()}catch(error){console.log(\"There is a problem with parse the contents\",error.message)}}"}},"AAM":{"caption":"Set Text","fields":{"AAd":{"caption":"Simple Text","editor":"DynamicValue","name":"text","optional":true,"rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){let{text:text}=properties;if(!instance.data.quill)return;text=text||\"\";const delta=instance.data.quill.setText(text);instance.publishState(\"change\",JSON.stringify(delta)),instance.data.saveAutoBinding()}"}},"AAP":{"caption":"Blur","code":{"fn":"function(instance,properties,context){instance.data.quill&&instance.data.quill.blur()}"}},"AAR":{"caption":"Enable","fields":{"AAj":{"caption":"Is Enable","default_val":false,"editor":"DynamicValue","name":"enable","rank":0,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.quill&&instance.data.quill.enable(properties.enable)}"}},"AAS":{"caption":"Focus","code":{"fn":"function(instance,properties,context){instance.data.quill&&instance.data.quill.focus()}"}},"AAb":{"caption":"Update Contents","fields":{"AAc":{"caption":"Delta","editor":"DynamicValue","name":"delta","rank":0,"value":"text"},"ADz":{"caption":"Delta is the way Quill stores the text and formatting you type into the editor. It's like a special co
243de that keeps track of everything you do, like adding or deleting text, changing colors or fonts, and more. This code helps Quill display and edit your content quickly and accurately, and allows for collaboration features like sharing and versioning. You can get the last delta from element's state `Delta (Last Changes)`.","editor":"Label","name":"delta_desc","rank":1}},"code":{"fn":"function(instance,properties,context){const{delta:delta}=properties;if(null!=delta&&instance.data.quill)try{const contents=JSON.parse(delta);instance.data.quill.updateContents(contents),instance.data.saveAutoBinding()}catch(error){console.log(\"There is a problem with parse the delta\",error.message)}}"}},"AAn":{"caption":"Get Contents","fields":{"AAo":{"caption":"Start Index","default_val":1,"editor":"DynamicValue","name":"index","optional":false,"rank":0,"value":"number"},"AAq":{"caption":"Length","default_val":0,"editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){const{index:index,length:length}=properties;if(null==index||null==length||!instance.data.quill)return;const delta=instance.data.quill.getContents(index,length);instance.publishState(\"getcontents\",JSON.stringify(delta))}"}},"AAp":{"caption":"Get Text","fields":{"AAr":{"caption":"Start Index","default_val":1,"editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AAs":{"caption":"Length","default_val":0,"editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){const{index:index,length:length}=properties;if(null==index||null==length||!instance.data.quill)return;const delta=instance.data.quill.getText(index,length);instance.publishState(\"gettext\",delta)}"}},"AAt":{"caption":"Insert Embed","fields":{"AAu":{"caption":"Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AAv":{"caption":"Type","editor":"DynamicValue","name":"type","rank":1,"value":"text"},"AAw":{"caption":"Value","editor":"DynamicValue","name":"value","rank":2,"value":"_any_thing"}},"code":{"fn":"function(instance,properties,context){const{index:index,type:type,value:value}=properties;if(null==index||null==type||null==value||!instance.data.quill)return;const delta=instance.data.quill.insertEmbed(index,type,value);instance.publishState(\"change\",JSON.stringify(delta)),instance.data.saveAutoBinding()}"}},"AAx":{"caption":"Delete Text","fields":{"AAy":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AAz":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){const{index:index,length:length}=properties;if(null==index||null==length||!instance.data.quill)return;const delta=instance.data.quill.deleteText(index,length);instance.publishState(\"change\",JSON.stringify(delta)),instance.data.saveAutoBinding()}"}},"ABA":{"caption":"Insert Text","fields":{"ABB":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"ABC":{"caption":"Text","editor":"DynamicValue","name":"text","rank":1,"value":"text"},"ABD":{"caption":"Formats","editor":"key_value_list","name":"formats","rank":2,"value":"text"}},"code":{"fn":"function(instance,properties,context){const{index:index,text:text,formats:formats}=properties;if(null==index||null==text||null==formats||!instance.data.quill)return;const metadata=formats.reduce(((acc,curr)=>(acc[curr.key]=curr.value,acc)),{}),delta=instance.data.quill.insertText(index,text,metadata);instance.publishState(\"change\",JSON.stringify(delta)),instance.data.saveAutoBinding()}"}},"ABE":{"caption":"Format","fields":{"ABF":{"caption":"Name","editor":"DynamicValue","name":"name","rank":0,"value":"text"},"ABG":{"caption":"Value","editor":"DynamicValue","name":"value","rank":1,"value":"_any_thing"}},"code":{"fn":"function(instance,properties,context){const{name:name,value:value}=properties;if(null==name||null==value||!instance.data.quill)return;const delta=instance.data.quill.format(properties.name,properties.value);instance.publishState(\"change\",JSON.stringify(delta)),instance.data.saveAutoBinding()}"}},"ABH":{"caption":"Format Text","fields":{"ABI":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"ABJ":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"},"ABK":{"caption":"Formats","editor":"key_value_list","name":"formats","rank":2,"value":"text"}},"code":{"fn":"function(instance,properties,context){const{index:index,length:length,formats:formats}=properties;if(null==index||null==length||null==formats||!instance.data.quill)return;const metadata=formats.reduce(((acc,curr)=>
243(acc[curr.key]=curr.value,\"true\"===curr.value&&(acc[curr.key]=!0),\"false\"===curr.value&&(acc[curr.key]=!1),acc)),{}),delta=instance.data.quill.formatText(index,length,metadata);instance.publishState(\"change\",JSON.stringify(delta)),instance.data.saveAutoBinding()}"}},"ABL":{"caption":"Get Format","fields":{"ABM":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"ABN":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"},"ABO":{"caption":"current","default_val":false,"editor":"DynamicValue","name":"current","rank":2,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){const{index:index,length:length,current:current}=properties;if(!instance.data.quill)return;let format;current?format=instance.data.quill.getFormat():null!=index&&null!=length&&(format=instance.data.quill.getFormat(properties.index,properties.length)),instance.publishState(\"getformat\",JSON.stringify(format||\"\"))}"}},"ABP":{"caption":"Remove Format","fields":{"ABQ":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"ABR":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){const{index:index,length:length}=properties;if(null!=index&&null!=length&&instance.data.quill){var delta=instance.data.quill.removeFormat(index,length);instance.publishState(\"change\",JSON.stringify(delta)),instance.data.saveAutoBinding()}}"}},"ADw":{"caption":"Set Selection","fields":{"ADx":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"ADy":{"caption":"length","editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){const{index:index,length:length}=properties;if(null!=index&&null!=length)var delta=instance.data.quill.setSelection(index,length)}"}},"AIU":{"caption":"Insert Raw HTML","fields":{"AIV":{"caption":"Raw HTML","editor":"DynamicValue","name":"html_raw","optional":true,"rank":1,"value":"text"},"AIW":{"caption":"Start Index","editor":"DynamicValue","name":"index","optional":true,"rank":0,"value":"number"}},"code":{"fn":"function(instance,properties,context){const quill=instance.data.quill;quill&&(quill.clipboard.dangerouslyPasteHTML(properties.index||0,properties.html_raw||\"\"),instance.data.saveAutoBinding())}"}},"ALq":{"caption":"Undo / Redo","code":{"fn":"function(instance,properties,context){const quill=undefined;instance.data.quill&&(properties.isRedo?instance.data.quill.history.redo():instance.data.quill.history.undo())}"},"fields":{"ALr":{"caption":"Is Redo","name":"isRedo","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"ALs":{"caption":"This action can be utilized to perform Undo and Redo operations within the editor.","name":"info","rank":0,"editor":"Label"}}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.divName=\"id\"+Math.round(1e6*Math.random())+1;var newDiv=$('<div id=\"'+instance.data.divName+'\" class=\"ql-container\"></div>');instance.data.newDiv=newDiv,instance.canvas.append(newDiv),instance.data.kardam=0,instance.data.round=0,instance.data.parentID=\"P\"+instance.data.divName,instance.data.mentionData=[];const editorContainer=undefined;document.getElementById(instance.data.divName)?.addEventListener(\"click\",(function(){instance.triggerEvent(\"clicked\")}))}"},"update":{"fn":"function(instance,properties,context){const container=document.getElementById(instance.data.divName);if(0===instance.data.round){const{bubble:bubble,...otherProp}=properties;instance.data.qabli=otherProp}if(properties.mention&&0===instance.data.round){const ids=properties.mentionDataId?.get(0,properties.mentionDataId.length()),values=properties.mentionDataValue?.get(0,properties.mentionDataValue.length());if(values&&values.length)for(let i=0;i<values.length;i++)instance.data.mentionData.push({id:ids[i]||`${i+1}`,value:values[i]})}if(properties.syntax){let existingScript;if(!document.querySelector('head script[src=\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js\"]')){let link=document.createElement(\"link\");link.rel=\"stylesheet\",link.href=\"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai-sublime.min.css\",document.head.appendChild(link);let script=document.createElement(\"script\");script.src=\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js\",script.type=\"text/javascript\",document.head.appendChild(script)}}if(properties.math){let existingScript;if(!document.querySelector('head script[src=\"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js\"]')){let link=document.createElement(\"link\");link.rel=\"stylesheet\",link.href=\"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css\",document.head.appendChild(link);let script=document.createElement(\"script\");script.src=\"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js\",script.type=\"text/javascript\",document.head.appendChild(script)}}
243const existingQuillScript=undefined;if(document.querySelector('head script[src=\"https://cdn.quilljs.com/1.3.7/quill.min.js\"]')||0!==instance.data.round){setAutoBinding(instance,properties);const{bubble:bubble,...otherProp}=properties;instance.data.qabli!==otherProp&&makeChanges()}else{instance.data.round=1;const quillStylesheet=document.createElement(\"link\");quillStylesheet.rel=\"stylesheet\",quillStylesheet.href=\"snow\"===properties.theme?\"https://cdn.quilljs.com/1.3.7/quill.snow.css\":\"https://cdn.quilljs.com/1.3.7/quill.bubble.css\",document.head.appendChild(quillStylesheet);const quillScript=document.createElement(\"script\");quillScript.src=\"https://cdn.quilljs.com/1.3.7/quill.min.js\",document.body.appendChild(quillScript),quillScript.onload=()=>{properties.mention&&window.quillMention&&Quill&&window.quillMention(Quill);const getToolbarOptions=properties=>{const toolbarPresets={\"Basic Formatting\":[[\"bold\",\"italic\",\"underline\"],[{indent:\"-1\"},{indent:\"+1\"}],[{color:[]},{background:[]},\"link\"],[{header:[1,2,3,!1]}]],\"Advanced Formatting\":[[\"bold\",\"italic\",\"underline\",\"strike\",{script:\"sub\"},{script:\"super\"}],[{list:\"bullet\"},{indent:\"+1\"}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]},{font:[]},{size:[\"small\",!1,\"large\",\"huge\"]}],[{direction:\"rtl\"},{align:[]}],[\"clean\"]],\"Content Creation\":[[\"bold\",\"italic\",\"underline\",{list:\"ordered\"},{list:\"bullet\"}],[{header:[1,2,3,!1]},\"blockquote\",\"code-block\"],[{color:[]},{background:[]},{font:[]},{size:[\"small\",!1,\"large\"]},{align:[]},{direction:\"rtl\"}],[\"link\",\"image\",\"video\"],[\"clean\"]],\"Full Formatting\":[[\"bold\",\"italic\",\"underline\",\"strike\"],[\"blockquote\",\"code-block\"],[{header:1},{header:2}],[{list:\"ordered\"},{list:\"bullet\"}],[{script:\"sub\"},{script:\"super\"}],[{indent:\"-1\"},{indent:\"+1\"}],[{direction:\"rtl\"}],[{size:[\"small\",!1,\"large\",\"huge\"]}],[{header:[1,2,3,4,5,6,!1]}],[\"link\",\"image\",\"video\",\"formula\"],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],[\"clean\"]],Custom:()=>{try{return JSON.parse(\"[\"+properties.customtoolbar+\"]\")}catch(error){return\"test\"===window.app.app_version&&console.error(\"Error parsing custom toolbar:\",error.message),[[\"bold\",\"italic\",\"underline\",\"link\"],[{header:[1,2,3,!1]}],[{list:\"ordered\"},{list:\"bullet\"}],[\"clean\"]]}},default:[[\"bold\",\"italic\",\"underline\",\"link\"],[{header:[1,2,3,!1]}],[{list:\"ordered\"},{list:\"bullet\"}],[\"clean\"]]},toolbarOption=toolbarPresets[properties.toolbarpreset];return(\"function\"==typeof toolbarOption?toolbarOption():toolbarOption)||toolbarPresets.default},toolbarOptions=getToolbarOptions(properties);if(properties.dropImage&&addImageDrop(),instance.data.quill)instance.data.quill.update(),makeChanges(),instance.data.quill.root.dataset.placeholder=properties.placeholder?properties.placeholder:\"\";else{let options={modules:{syntax:properties.syntax,toolbar:toolbarOptions,history:{delay:properties.debounceDelay,maxStack:100,userOnly:!1}},readOnly:properties.readOnly,theme:properties.theme};if(properties.dropImage&&(options.imageDrop=!0),properties.mention){window.quillMention||context.reportToDebugger(\"If you want to use the mentio/tag feature, make sure you add the Quill Mention element to the page.\");let denotation=[\"@\",\"#\"];properties.mentionDenotation&&(denotation=[properties.mentionDenotation]),properties.mentionDenotationCustom&&(denotation=properties.mentionDenotationCustom.split(\",\"));const mentionModule={mention:{allowedChars:/^[A-Za-z\\sÃ
ÃÃåäö]*$/,mentionDenotationChars:denotation,source:function(searchTerm,renderList,mentionChar){if(properties.mentionDenotation&&mentionChar!==properties.mentionDenotation)return;let values=instance.data.mentionData;if(0===searchTerm.length)renderList(values,searchTerm);else{const matches=[];for(let i=0;i<values.length;i++)~values[i].value.toLowerCase().indexOf(searchTerm.toLowerCase())&&matches.push(values[i]);renderList(matches,searchTerm)}}}};Object.assign(options.modules,mentionModule)}if(instance.data.quill=new Quill(container,options),properties.enterKey&&instance.data.quill.root.addEventListener(\"keydown\",(function(event){\"Enter\"!==event.key||event.shiftKey||event.ctrlKey||event.altKey||event.metaKey||instance.data.mentionListContainer||(instance.data.quill.deleteText(instance.data.caretIndex-1,1),instance.triggerEvent(\"enterKey\"))})),properties.mention){const publishMentionedStates=({type:type,value:value})=>{const{denotationChar:denotationChar,index:index,id:id,value:mentionValue}=value,stateToPublish={mentionEventType:\"mention-clicked\"===type,mentionDen
243otation:denotationChar,mentionValue:mentionValue,mentionId:id,mentionIndex:index};for(const[key,val]of Object.entries(stateToPublish))instance.publishState(key,val);instance.triggerEvent(\"mentionEvent\")},events=undefined;[\"mention-hovered\",\"mention-clicked\"].forEach((ev=>{window.addEventListener(ev,publishMentionedStates,!1)}))}function debounce(func,wait,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,wait),callNow&&func.apply(context,args)}}function onTextChange(){saveAutoBinding(instance,properties),instance.triggerEvent(\"textchange\")}function onEditorChange(){instance.triggerEvent(\"anyChange\")}const delay=properties.debounceDelay||0,debouncedTextChange=debounce(onTextChange,delay),debouncedEditorChange=debounce(onEditorChange,delay);var quill=instance.data.quill;if(quill.on(\"text-change\",(function(delta,oldDelta,source){instance.publishState(\"change\",JSON.stringify(delta)),instance.publishState(\"beforechange\",JSON.stringify(oldDelta)),instance.publishState(\"lastlength\",JSON.stringify(quill.getLength()-1)),instance.publishState(\"getHTML\",quill.root.innerHTML),debouncedTextChange()})),quill.on(\"selection-change\",(function(range,oldRange,source){range&&(instance.publishState(\"selectionindex\",range.index+1),instance.publishState(\"selectionlength\",range.length),instance.triggerEvent(\"selectionchange\"))})),quill.on(\"editor-change\",(function(eventName,...args){if(quill.update(),properties.enterKey&&properties.mention,\"selection-change\"===eventName){let range=args[0];range&&(instance.publishState(\"caretIndex\",range.index+1),instance.data.caretIndex=range.index+1)}\"text-change\"===eventName&&(instance.publishState(\"lasttext\",quill.getText()),instance.publishState(\"lastcontents\",JSON.stringify(quill.getContents()))),instance.publishState(\"hasfocus\",quill.hasFocus()),quill.hasFocus()||instance.publishState(\"caretIndex\",null),debouncedEditorChange()})),properties.isAutobinding&&setAutoBinding(instance,properties),\"string\"==typeof properties.initial_content&&!properties.autobinding)switch(properties.initial_type){case\"Content\":const initial_content=JSON.parse(properties.initial_content);quill.setContents(initial_content);break;case\"Text\":quill.setText(properties.initial_content);break;case\"HTML\":setHTMLContent(quill,properties.initial_content);break;default:console.log(\"Type not detected\")}quill.root.dataset.placeholder=properties.placeholder?properties.placeholder:\"\"}makeChanges()}}function makeChanges(){const quill=instance.data.quill;if(!container)return;let parentElement=instance.canvas[0];if(!parentElement)return;parentElement.classList.add(\"ql-parent\");let qlContainer=parentElement.querySelector(\".ql-editor\"),babaConti=parentElement.querySelector(\".ql-container\");\"bubble\"===properties.theme&&(parentElement.style.overflow=\"visible\"),parentElement.id=instance.data.parentID,styleQuillToolbar(parentElement,properties),styleQuillContainer(qlContainer,babaConti,properties);let toolbarCss=!1,classRule;if([\"toolbar_icon_color\",\"item_hover_color\"].forEach((key=>{toolbarCss=instance.data.qabli[key]!==properties[key]||toolbarCss})),0===instance.data.kardam||toolbarCss){let css;const thisID=`#${instance.data.parentID}`;css=\"snow\"===properties.theme?`${thisID} .ql-snow.ql-toolbar button:hover, ${thisID} .ql-snow .ql-toolbar button:hover, ${thisID} .ql-snow.ql-toolbar button:focus, ${thisID} .ql-snow .ql-toolbar button:focus, ${thisID} .ql-snow.ql-toolbar button.ql-active, ${thisID} .ql-snow .ql-toolbar button.ql-active, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } ${thisID} .ql-snow.ql-toolbar button:hover .ql-fill, ${thisID} .ql-snow .ql-toolbar button:hover .ql-fill, ${thisID} .ql-snow.ql-toolbar button:focus .ql-fill, ${thisID} .ql-snow .ql-toolbar button:focus .ql-fill, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } ${thisID} .ql-snow.ql-toolbar button:hover .ql-stroke, ${thisID} .ql-snow .ql-toolbar button:hover .ql-stroke, ${thisID} .ql-snow.ql-toolbar button:focus .ql-stroke, ${thisID} .ql-snow .ql-toolbar button:focus .ql-stroke, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-stroke, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, ${thisID} .ql-snow.ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar button:focus .ql-stroke-miter,${thisID} .ql-snow .ql-toolbar button:focus .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} ${thisID} .ql-snow .ql-stroke {fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} ${thisID} .ql-snow .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} ${thisID} .ql-snow .ql-fill, ${thisID} .ql-snow .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-snow .ql-empty { fill: none;} ${thisID} .ql-snow .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} ${thisID} .ql-snow .ql-picker-options { background-color: ${properties.toolbar_bg}; min-width: 100%; padding: 4px 8px;} ${thisID} .ql-snow .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} ${thisID} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} ${thisID} .ql-editor p, .ql-editor ol, ${thisID} .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, ${thisID} .ql-editor h2, ${thisID} .ql-editor h3, ${thisID} .ql-editor h4, ${thisID} .ql-editor h5, ${thisID} .ql-editor h6 { color: ${properties.bubble.font_color()}; line-height: ${properties.lineHeight};} ${thisID} .ql-snow .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} ${thisID} .ql-snow .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${properties.quote_border_color}; padding-left: 16px; background-color: ${properties.quote_bg};} ${thisID} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} ${thisID} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};} ${thisID} .ql-formats button { color: ${properties.toolbar_icon_color};}`:`${thisID} .ql-bubble.ql-toolbar button:hover, ${thisID} .ql-bubble .ql-toolbar button:hover, ${thisID} .ql-bubble.ql-toolbar button:focus, ${thisID} .ql-bubble .ql-toolbar button:focus, ${thisID} .ql-bubble.ql-toolbar button.ql-active, ${thisID} .ql-bubble .ql-toolbar button.ql-active, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } ${thisID} .ql-bubble.ql-toolbar button:hover .ql-fill, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-fill, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-fill, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-fill, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } ${thisID} .ql-bubble.ql-toolbar button:hover .ql-stroke, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-stroke, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-stroke, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-stroke, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-stroke,${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, ${thisID} .ql-bubble.ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} ${thisID} .ql-bubble .ql-stroke { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} ${thisID} .ql-bubble .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} ${thisID} .ql-bubble .ql-fill, ${thisID} .ql-bubble .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-bubble .ql-empty { fill: none;} ${thisID} .ql-bubble .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} ${thisID} .ql-bubble .ql-picker-options { background-color: ${properties.toolbar_bg}; min-width: 100%; padding: 4px 8px;} ${thisID} .ql-bubble .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} ${thisID} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} .ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 { color: ${properties.bubble.font_color()}; line-height: ${properties.lineHeight};} ${thisID} .ql-bubble .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} ${thisID} .ql-bubble .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${prop
243erties.quote_border_color}; margin-bottom: 5px; margin-top: 5px; padding-left: 16px; background-color: ${properties.quote_bg};} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};} ${thisID} .ql-formats button { color: ${properties.toolbar_icon_color};}`,appendStyles(css),setBubbleStyles(instance,properties),instance.data.kardam=1}const{bubble:bubble,...otherProperties}=properties;instance.data.qabli=otherProperties}function appendStyles(css){const head=document.head||document.getElementsByTagName(\"head\")[0],styleElement=document.createElement(\"style\");styleElement.appendChild(document.createTextNode(css)),head.appendChild(styleElement)}function styleQuillToolbar(parentElement,properties){const qlToolbar=parentElement.querySelector(\".ql-toolbar\");if(!qlToolbar)return;properties.toolbar_hide?qlToolbar.classList.add(\"hide-toolbar\"):qlToolbar.classList.remove(\"hide-toolbar\"),qlToolbar.style.border=properties.toolbar_border_width>0?`${properties.toolbar_border_width}px solid ${properties.toolbar_border_color}`:\"none\",qlToolbar.style.backgroundColor=properties.toolbar_bg,qlToolbar.style.padding=`${properties.toolbar_padding}px`;const buttons=parentElement.querySelectorAll(\".ql-toolbar button\");for(let button of buttons)button.style.height=`${properties.toolbar_icon_size}px`,button.style.width=`${properties.toolbar_icon_size}px`;const pickerOptions=parentElement.querySelectorAll(\".ql-picker-options\");for(let option of pickerOptions)option.style.backgroundColor=properties.toolbar_bg}function styleQuillContainer(qlContainer,babaConti,properties){try{if(!qlContainer)return;qlContainer.style.backgroundColor=properties.container_bg,qlContainer.style.padding=`${properties.container_padding}px`,qlContainer.style.color=properties.placeholder_color,qlContainer.style.fontStyle=properties.placeholder_style,properties.bubble.fit_height()?(qlContainer.style.overflowY=\"visible\",qlContainer.style.flexGrow=\"1\"):(qlContainer.style.overflowY=\"auto\",qlContainer.style.flexGrow=\"1\"),babaConti.style.border=properties.container_border_width>0?`${properties.container_border_width}px solid ${properties.container_border_color}`:\"none\",babaConti.style.fontFamily=\"inherit\",babaConti.style.fontSize=\"inherit\"}catch(error){\"test\"===window.app.app_version&&console.error(\"Error styling Quill container:\",error.message)}}function addImageDrop(){var exports={};Object.defineProperty(exports,\"__esModule\",{value:!0});var _createClass=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}();function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var ImageDrop=exports.ImageDrop=function(){function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,e),this.quill=t,this.handleDrop=this.handleDrop.bind(this),this.handlePaste=this.handlePaste.bind(this),this.quill.root.addEventListener(\"drop\",this.handleDrop,!1),this.quill.root.addEventListener(\"paste\",this.handlePaste,!1)}return _createClass(e,[{key:\"handleDrop\",value:function e(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length){if(document.caretRangeFromPoint){var a=document.getSelection(),i=document.caretRangeFromPoint(t.clientX,t.clientY);a&&i&&a.setBaseAndExtent(i.startContainer,i.startOffset,i.startContainer,i.startOffset)}this.readFiles(t.dataTransfer.files,this.insert.bind(this))}}},{key:\"handlePaste\",value:function e(t){var a=this;t.clipboardData&&t.clipboardData.items&&t.clipboardData.items.length&&this.readFiles(t.clipboardData.items,(function(e){var t;a.quill.getSelection()||setTimeout((function(){return a.insert(e)}),0)}))}},{key:\"insert\",value:function e(t){var a=(this.quill.getSelection()||{}).index||this.quill.getLength();this.quill.insertEmbed(a,\"image\",t,\"user\")}},{key:\"readFiles\",value:function e(t,a){[].forEach.call(t,(function(e){if(e.type.match(/^image\\/(gif|jpe?g|a?png|svg|webp|bmp|vnd\\.microsoft\\.icon)/i)){var t=new FileReader;t.onload=function(e){a(e.target.result)};var i=e.getAsFile?e.getAsFile():e;
243i instanceof Blob&&t.readAsDataURL(i)}}))}}]),e}();window.Quill.register(\"modules/imageDrop\",exports.ImageDrop)}function setBubbleStyles(instance,properties){const{bubbleStyles:bubbleStyles}=properties;if(!bubbleStyles)return;const styleNames=bubbleStyles.split(\",\"),thisID=instance.data.parentID,styleProps=styleNames.map((name=>stylePropsByName(name)));styleProps&&styleProps[0]&&createCssRules(thisID,styleProps)}function createCssRules(id,objectsArray){const styleElement=document.createElement(\"style\");document.head.appendChild(styleElement);const cssPropertyMap={\"%b\":value=>value?\"font-weight: bold;\":\"\",\"%f\":value=>`font-family: ${value.split(\":::\")[0]};`,\"%i\":value=>value?\"font-style: italic;\":\"\",\"%u\":value=>value?\"text-decoration: underline;\":\"\",\"%bc\":value=>`border-color: ${value};`,\"%br\":value=>`border-radius: ${value}px;`,\"%bw\":value=>`border-width: ${value}px;`,\"%fc\":value=>`color: ${value};`,\"%fs\":value=>`font-size: ${value}px;`,\"%lh\":value=>`line-height: ${value};`,\"%ls\":value=>`letter-spacing: ${value}px;`,\"%vc\":value=>value?\"display: flex; align-items: center;\":\"\",\"%ws\":value=>`word-spacing: ${value}px;`,\"%bas\":value=>`background-style: ${value};`,\"%bgc\":value=>`background-color: ${value};`,\"%bos\":value=>`border-style: ${value};`,\"%tes\":value=>value?\"text-shadow: 1px 1px 2px #000;\":\"\",\"%tsb\":value=>`text-shadow-blur: ${value}px;`,opacity:value=>`opacity: ${value/100};`,font_weight:value=>`font-weight: ${value};`,padding_top:value=>`padding-top: ${value}px;`,padding_left:value=>`padding-left: ${value}px;`,padding_right:value=>`padding-right: ${value}px;`,padding_bottom:value=>`padding-bottom: ${value}px;`};let cssContent=\"\";objectsArray.forEach((obj=>{const selector=`#${id} .ql-editor ${obj.tag_type}`;let rules=Object.entries(obj).map((([key,value])=>{const cssPropertyFunction=cssPropertyMap[key];return cssPropertyFunction?cssPropertyFunction(value):\"\"})).join(\" \");cssContent+=`${selector} { ${rules} }\\n`})),styleElement.appendChild(document.createTextNode(cssContent))}function stylePropsByName(style){let obj=window.app.styles;for(let key in obj)if(obj.hasOwnProperty(key)&&\"Text\"===obj[key][\"%x\"]&&obj[key][\"%d\"]===style)return obj[key][\"%p\"];return null}function setAutoBinding(instance,properties){const quill=instance.data.quill;if(!quill||!properties.isAutobinding)return;const content=properties.autobinding;if(content||quill.setText(\"\"),!quill.hasFocus()&&content!==getContentByType(instance,properties.initial_type))try{const updateContent={Content:content=>quill.setContents(JSON.parse(content)),Text:content=>quill.setText(content),HTML:content=>setHTMLContent(quill,content)};updateContent[properties.initial_type]&&updateContent[properties.initial_type](content),quill.blur()}catch(error){\"test\"===window.app.app_version&&console.log(error.message)}}function getContentByType(instance,type){const quill=instance.data.quill;if(!quill)return;const updatedContent=undefined;return{Content:()=>JSON.stringify(quill.getContents()),Text:()=>quill.getText(),HTML:()=>quill.root.innerHTML}[type]()}function saveAutoBinding(instance,properties){if(!properties.isAutobinding)return;const updatedContentText=getContentByType(instance,properties.initial_type);instance.publishAutobinding(updatedContentText)}function setHTMLContent(quill,value){const scrollPosition={x:window.scrollX,y:window.scrollY};quill.clipboard.dangerouslyPasteHTML(value),window.scrollTo(scrollPosition.x,scrollPosition.y),quill.blur()}instance.data.saveAutoBinding=saveAutoBinding.bind(null,instance,properties)}"},"reset":{"fn":"function(instance,context){const properties=instance.data.qabli;if(!instance.data.quill||properties.isAutobinding)return;const quill=instance.data.quill;if(properties.initial_content){if(\"string\"==typeof properties.initial_content)switch(properties.initial_type){case\"Content\":const initial_content=JSON.parse(properties.initial_content);quill.setContents(initial_content);break;case\"Text\":quill.setText(properties.initial_content);break;case\"HTML\":setHTMLContent(quill,properties.initial_content);break;default:console.log(\"Type not detected\")}}else quill.setText(\"\");function setHTMLContent(quill,value){const scrollPosition={x:window.scrollX,y:window.scrollY};quill.clipboard.dangerouslyPasteHTML(value),window.scrollTo(scrollPosition.x,scrollPosition.y),quill.blur()}}"},"preview":{"fn":"function(instance, properties) {\n\n var div = $(`<div id=\"editor\"></div>`);\n instance.canvas.append(div);\n\n\n if (window.Quill) {\n // If it is, initialize Quill editor\n var element = document.querySelector('.ql-toolbar.ql-snow');\n if (element) {\n // console.log('Element found');\n } else {\n besaz()\n //console.log('Element not found');\n }\n } else {\n // Dynamically load Quill stylesheet\n const quillStylesheet = document.createElement('link');\n quillStylesheet.rel = 'stylesheet';\n quillStylesheet.href = (properties.theme === \"snow\") ? 'https://cdn.quilljs.com/1.3.6/quill.snow.css' : 'https://cdn.quilljs.com/1.3.6/quill.bubble.css';\n\n document.head.appendChild(quillStylesheet);\n\n // If not, dynamically load Quill library\n const quillScript = document.createElement('script');\n quillScript.src = 'https://cdn.quilljs.com/1.3.6/quill.js';\n document.body.appendChild(quillScript);\n\n // Initialize Quill editor after library and stylesheet have loaded\n quillScript.onload = () => {\n var element = document.querySelector('.ql-toolbar.ql-snow');\n if (element) {\n //console.log('Element found');\n } else {\n besaz()\n // console.log('Element not found');\n }\n\n }\n };\n //console.log(\"lastlast\")\n function besaz() {\n //console.log(\"33\")\n var toolbarOptions;\n switch (properties.toolbarpreset) {\n case 'Basic Formatting':\n toolbarOptions = [\n ['bold', 'italic', 'underline'],\n [{ 'indent': '-1' }, { 'indent': '+1' }],\n [{ 'color': [] }, { 'background': [] }, 'link'],\n [{ 'header': [1, 2, 3, false] }]\n ]\n break;\n case 'Advanced Formatting':\n toolbarOptions = [\n ['bold', 'italic', 'underline', 'strike', { 'script': 'sub' }, { 'script': 'super' }],\n [{ 'list': 'bullet' }, { 'indent': '+1' }],\n [{ 'header': [1, 2, 3, 4, 5, 6, false] }],\n [{ 'color': [] }, { 'background': [] }, { 'font': [] }, { 'size': ['small', false, 'large', 'huge'] }],\n [{ 'direction': 'rtl' }, { 'align': [] }],\n ['clean']\n ]\n break;\n case 'Content Creation':\n toolbarOptions = [\n ['bold', 'italic', 'underline', { 'list': 'ordered' }, { 'list': 'bullet' }],\n [{ 'header': [1, 2, 3, false] }, 'blockquote', 'code-block'],\n [{ 'color': [] }, { 'background': [] }, { 'font': [] }, { 'size': ['small', false, 'large'] }, { 'align': [] }, { 'direction': 'rtl' }],\n ['link', 'image', 'video'],\n ['clean']\n ]\n break;\n case 'Full Formatting':\n toolbarOptions = [\n ['bold', 'italic', 'underline', 'strike'], // toggled buttons\n ['blockquote', 'code-block'],\n\n [{ 'header': 1 }, { 'header': 2 }], // custom button values\n [{ 'list': 'ordered' }, { 'list': 'bullet' }],\n [{ 'script': 'sub' }, { 'script': 'super' }], // superscript/subscript\n [{ 'indent': '-1' }, { 'indent': '+1' }], // outdent/indent\n [{ 'direction': 'rtl' }], // text direction\n\n [{ 'size': ['small', false, 'large', 'huge'] }], // custom dropdown\n [{ 'header': [1, 2, 3, 4, 5, 6, false] }],\n ['link', 'image', 'video', 'formula'], // add's image support\n [{ 'color': [] }, { 'background': [] }], // dropdown with defaults from theme\n [{ 'font': [] }],\n [{ 'align': [] }],\n ['clean'] // remove formatting button\n ];\n break;\n case 'Custom':\n toolbarOptions = JSON.parse(properties.customtoolbar)\n break;\n default:\n toolbarOptions = [\n ['bold', 'italic', 'underline', 'link'],\n [{ 'header': [1, 2, 3, false] }],\n [{ 'list': 'ordered' }, { 'list': 'bullet' }],\n ['clean']\n ]\n break;\n }\n let options = {\n modules: {\n toolbar: toolbarOptions\n },\n placeholder: (properties.placeholder) ? properties.placeholder : '',\n theme: properties.theme\n };\n //New QUILL\n var quill = new Quill('#editor', options);\n if (properties.initial_content) {\n\n switch (properties.initial_type) {\n case \"Content\":\n var initial_content = JSON.parse(properties.initial_content)\n quill.setContents(initial_
243content);\n break;\n case \"Text\":\n quill.setText(properties.initial_content);\n break;\n case \"HTML\":\n quill.clipboard.dangerouslyPasteHTML(properties.initial_content)\n break;\n default:\n console.log(\"Type not detected\")\n break;\n }\n }\n //console.log(\"44\")\n var qlContainer = document.getElementById('editor');\n var parentElement = qlContainer.parentNode\n var qlToolbar = document.querySelector('.ql-toolbar');\n var qlp = parentElement.querySelector('.ql-container p');\n //console.log(\"2qlToolbar\",qlToolbar)\n\n //console.log(\"55\")\n var qlp = document.querySelector('.ql-container p');\n if (qlContainer) {\n\n /**\n * Container Css\n */\n if (qlp) {\n qlp.style.color = properties.bubble.font_color();\n qlp.style.fontFamily = \"inherit\"\n qlp.style.fontSize = \"inherit\"\n console.log(\"qlp\")\n }\n\n /**\n * Toolbar CSS\n */\n if (qlToolbar) {\n qlToolbar.style.border = (properties.toolbar_border_width > 0) ? `${properties.toolbar_border_width}px solid ${properties.toolbar_border_color}` : 'none';\n qlToolbar.style.backgroundColor = properties.toolbar_bg;\n qlToolbar.style.padding = `${properties.toolbar_padding}px`;\n // console.log(\"qlToolbar\")\n }\n\n const buttons = parentElement.querySelectorAll('.ql-toolbar button');\n for (let i = 0; i < buttons.length; i++) {\n buttons[i].style.height = `${properties.toolbar_icon_size}px`;\n buttons[i].style.width = `${properties.toolbar_icon_size}px`;\n }\n\n var toolbarHeight = qlToolbar.offsetHeight;\n if (qlContainer && toolbarHeight) {\n qlContainer.style.border = (properties.container_border_width > 0) ? `${properties.container_border_width}px solid ${properties.container_border_color}` : 'none';\n qlContainer.style.backgroundColor = properties.container_bg;\n qlContainer.style.padding = `${properties.container_padding}px`;\n qlContainer.style.color = properties.placeholder_color;\n qlContainer.style.minHeight = `${parseInt(properties.bubble.min_height_css(), 10) - toolbarHeight}px`;\n qlContainer.style.maxHeight = `${parseInt(properties.bubble.max_height_css(), 10) - toolbarHeight}px`;\n qlContainer.style.height = `${parseInt(properties.bubble.height(), 10) - toolbarHeight}px`;\n qlContainer.style.fontFamily = \"inherit\"\n qlContainer.style.fontSize = \"inherit\"\n }\n\n var css;\n if (properties.theme === 'snow') {\n css = `.ql-snow.ql-toolbar button:hover, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar button:focus, .ql-snow .ql-toolbar button:focus, .ql-snow.ql-toolbar button.ql-active, .ql-snow .ql-toolbar button.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } .ql-snow.ql-toolbar button:hover .ql-fill, .ql-snow .ql-toolbar button:hover .ql-fill, .ql-snow.ql-toolbar button:focus .ql-fill, .ql-snow .ql-toolbar button:focus .ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } .ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} .ql-snow .ql-stroke { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} .ql-snow .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} .ql-snow .ql-fill, .ql-snow .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-snow .ql-empty { fill: none;} .ql-snow .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} .ql-snow .ql-picker-options { background-color: ${properties.toolbar_bg}; display: none; min-width: 100%; padding: 4px 8px; position: absolute; white-space: nowrap;} .ql-snow .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} .ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 { color: ${properties.bubble.font_color()};} .ql-snow .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} .ql-snow .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${properties.quote_border_color}; margin-bottom: 5px; margin-top: 5px; padding-left: 16px; background-color: ${properties.quote_bg};} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};}`;\n } else {\n css = `.ql-bubble.ql-toolbar button:hover, .ql-bubble .ql-toolbar button:hover, .ql-bubble.ql-toolbar button:focus, .ql-bubble .ql-toolbar button:focus, .ql-bubble.ql-toolbar button.ql-active, .ql-bubble .ql-toolbar button.ql-active, .ql-bubble.ql-toolbar .ql-picker-label:hover, .ql-bubble .ql-toolbar .ql-picker-label:hover, .ql-bubble.ql-toolbar .ql-picker-label.ql-active, .ql-bubble .ql-toolbar .ql-picker-label.ql-active, .ql-bubble.ql-toolbar .ql-picker-item:hover, .ql-bubble .ql-toolbar .ql-picker-item:hover, .ql-bubble.ql-toolbar .ql-picker-item.ql-selected, .ql-bubble .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } .ql-bubble.ql-toolbar button:hover .ql-fill, .ql-bubble .ql-toolbar button:hover .ql-fill, .ql-bubble.ql-toolbar button:focus .ql-fill, .ql-bubble .ql-toolbar button:focus .ql-fill, .ql-bubble.ql-toolbar button.ql-active .ql-fill, .ql-bubble .ql-toolbar button.ql-active .ql-fill, .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill, .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill, .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill, .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill, .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill, .ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill, .ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill, .ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill, .ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } .ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} .ql-bubble .ql-stroke { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} .ql-bubble .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} .ql-bubble .ql-fill, .ql-bubble .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-bubble .ql-empty { fill: none;} .ql-bubble .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} .ql-bubble .ql-picker-options { background-color: ${properties.toolbar_bg}; display: none; min-width: 100%; padding: 4px 8px; position: absolute; white-space: nowrap;} .ql-bubble .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} .ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 { color: ${properties.bubble.font_color()};} .ql-bubble .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} .ql-bubble .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${properties.quote_border_color}; margin-bottom: 5px; margin-top: 5px; padding-left: 16px; background-color: ${properties.quote_bg};} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};}`;\n }\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n\n head.appendChild(style);\n\n style.type = 'text/css';\n if (style.styleSheet) {\n // This is required for IE8 and below.\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n //console.log(\"last\")\n }\n }\n}"}},"platform_type":"web"},"AKu":{"display":"â ï¸ Quill Editor S ","property_applications":{"Backgroun
243d":true,"Border":true,"BoxShadow":true,"Font":true,"MinWidth":true,"Padding":false,"resizable":true},"add_hover_pressed":true,"add_is_visible":true,"add_large_file_upload_properties":false,"support_autobinding":false,"autobinding_value":"text","has_reset_fn":false,"can_fit_height":true,"fields":{"AJv":{"caption":"â ï¸","default_val":"snow","editor":"Dropdown","in_style":true,"name":"theme","rank":1},"AJw":{"caption":"â ï¸","editor":"DynamicValue","name":"placeholder","optional":true,"rank":4,"value":"text"},"AJx":{"caption":"â ï¸","default_val":false,"editor":"DynamicValue","name":"readOnly","rank":7,"value":"boolean"},"AJy":{"caption":"â ï¸","default_val":"","editor":"DynamicValue","name":"initial_content","optional":true,"rank":3,"value":"text"},"AJz":{"caption":"â ï¸","default_val":"Content","editor":"Dropdown","name":"initial_type","optional":false,"rank":2,"value":"text"},"AKA":{"caption":"ð¢ We are excited to announce that we have merged two elements into one main element to simplify the updating process and avoid errors. This means that this element will no longer be available in the future versions. We are sorry for any inconvenience this may cause you and we appreciate your understanding and support.","editor":"Label","name":"essec","rank":0},"AKB":{"caption":"_________________________________________________________ ⨽⨼ Toolbar Style","editor":"Label","name":"toolbar_","rank":8},"AKC":{"caption":"â ï¸","default_val":"rgba(244, 244, 244, 1)","editor":"Color","in_style":true,"name":"toolbar_bg","rank":10},"AKD":{"caption":"â ï¸","default_val":"rgba(22, 22, 22, 1)","editor":"Color","in_style":true,"name":"toolbar_icon_color","rank":17},"AKE":{"caption":"â ï¸","default_val":0,"editor":"DynamicValue","in_style":true,"name":"toolbar_border_width","rank":11,"value":"number"},"AKF":{"caption":"â ï¸","default_val":"rgba(22, 22, 22, 1)","editor":"Color","in_style":true,"name":"toolbar_border_color","rank":12},"AKG":{"caption":"________________________________________________________ â Text Area Options","editor":"Label","name":"text_area_options","rank":21},"AKH":{"caption":"â ï¸","default_val":"rgba(255, 255, 255, 1)","editor":"Color","in_style":true,"name":"container_bg","rank":22},"AKI":{"caption":"â ï¸","default_val":0,"editor":"DynamicValue","in_style":true,"name":"container_border_width","rank":23,"value":"number"},"AKJ":{"caption":"â ï¸","default_val":"rgba(22, 22, 22, 1)","editor":"Color","in_style":true,"name":"container_border_color","rank":24},"AKK":{"caption":"â ï¸","default_val":"rgba(198, 198, 198, 1)","editor":"Color","in_style":true,"name":"placeholder_color","optional":false,"rank":5},"AKL":{"caption":"â ï¸","default_val":8,"editor":"DynamicValue","in_style":true,"name":"container_padding","rank":25,"value":"number"},"AKM":{"caption":"______________________________________________________ â¡â¡â¡ Modules","editor":"Label","name":"toolbarsec","rank":13},"AKN":{"caption":"â ï¸","default_val":"Full Formatting","editor":"Dropdown","name":"toolbarpreset","rank":14},"AKO":{"caption":"â ï¸","default_val":"https://data-visualization-plotly.bubbleapps.io/version-test/quill-rich-text-editor?ref=editor&tab=Toolbar","editor":"DynamicValue","name":"customtoolbar","optional":true,"rank":15,"value":"text"},"AKP":{"caption":"â ï¸","default_val":24,"editor":"DynamicValue","name":"toolbar_icon_size","rank":18,"value":"number"},"AKQ":{"caption":"â ï¸","default_val":"rgba(53,62,255,1)","editor":"Color","in_style":true,"name":"item_hover_color","rank":19},"AKR":{"caption":"< > Syntax Highlighting","default_val":false,"editor":"DynamicValue","name":"syntax","rank":27,"value":"boolean"},"AKS":{"caption":"< > Background Color","default_val":"rgba(33,33,33,1)","editor":"Color","in_style":true,"name":"syntax_bg","rank":29},"AKT":{"caption":"< > Basic Font Color","default_val":"rgba(255,255,255,1)","editor":"Color","in_style":true,"name":"syntax_font_color","rank":28},"AKU":{"caption":"â â Border Color","default_val":"rgba(0,55,255,1)","editor":"Color","in_style":true,"name":"quote_border_color","rank":35}
243,"AKV":{"caption":"â â Background Color","default_val":"rgba(198, 198, 198, 1)","editor":"Color","in_style":true,"name":"quote_bg","rank":33},"AKW":{"caption":"â â Font Color","default_val":"rgba(33, 33, 33, 1)","editor":"Color","in_style":true,"name":"quote_font_color","rank":32},"AKX":{"caption":"â â Border Width","default_val":4,"editor":"DynamicValue","in_style":true,"name":"quote_border_width","rank":34,"value":"number"},"AKY":{"caption":"Serif Fonts","default_val":"Georgia, Times New Roman, serif","editor":"StaticText","in_style":true,"name":"font_serif","optional":false,"rank":37,"value":"text"},"AKZ":{"caption":"Monospace Fonts","default_val":"Monaco, Courier New, monospace","editor":"StaticText","in_style":true,"name":"font_mono","rank":38,"value":"text"},"AKa":{"caption":"< > Border Radius","default_val":3,"editor":"DynamicValue","in_style":true,"name":"syntax_border_radius","rank":30,"value":"number"},"AKb":{"caption":"________________________________________________________ < > Code Block","editor":"Label","name":"codeblock","rank":26},"AKc":{"caption":"________________________________________________________ â â Quote Block","editor":"Label","name":"quoteblocksec","rank":31},"AKd":{"caption":"________________________________________________________ â Formatting","editor":"Label","name":"formattingsec","rank":36},"AKe":{"caption":"â ï¸","default_val":true,"editor":"DynamicValue","name":"math","rank":16,"value":"boolean"},"AKf":{"caption":"â ï¸","default_val":false,"editor":"DynamicValue","name":"editHTML","rank":20,"value":"boolean"},"AKg":{"caption":"â ï¸","default_val":false,"editor":"DynamicValue","name":"toolbar_hide","rank":9,"value":"boolean"},"AKh":{"caption":"â ï¸","default_val":"italic","editor":"Dropdown","in_style":true,"name":"placeholder_style","rank":6},"AKx":{"caption":"________________________________________________________ ⨠Extra Features","editor":"Label","name":"sec_extra","rank":39},"AKy":{"caption":"ð¼ï¸ Image Drop ","default_val":false,"editor":"DynamicValue","name":"dropImage","rank":40,"value":"boolean"}},"states":{"AKi":{"caption":"Editor Contents (Delta)","initialization_code":{"fn":"function(properties,context){}"},"name":"lastcontents","value":"text"},"AKj":{"caption":"Text Length","initialization_code":{"fn":"function(properties,context){}"},"name":"lastlength","value":"number"},"AKk":{"caption":"Editor Text (plain text)","initialization_code":{"fn":"function(properties,context){}"},"name":"lasttext","value":"text"},"AKl":{"caption":"Editor Has Focus","initialization_code":{"fn":"function(properties,context){}"},"name":"hasfocus","value":"boolean"},"AKm":{"caption":"Delta (Last Changes)","initialization_code":{"fn":"function(properties,context){}"},"name":"change","value":"text"},"AKn":{"caption":"Pre-Change Contents","initialization_code":{"fn":"function(properties,context){}"},"name":"beforechange","value":"text"},"AKo":{"caption":"Selection Start Index","initialization_code":{"fn":"function(properties,context){}"},"name":"selectionindex","value":"number"},"AKp":{"caption":"Selection Length","initialization_code":{"fn":"function(properties,context){}"},"name":"selectionlength","value":"number"},"AKq":{"caption":"Get Editor Contents","initialization_code":{"fn":"function(properties,context){}"},"name":"getcontents","value":"text"},"AKr":{"caption":"Get Editor Text (plain text)","initialization_code":{"fn":"function(properties,context){}"},"name":"gettext","value":"text"},"AKs":{"caption":"Get Editor Format","initialization_code":{"fn":"function(properties,context){}"},"name":"getformat","value":"text"},"AKt":{"caption":"HTML","initialization_code":{"fn":"function(properties,context){}"},"name":"getHTML","value":"text"}},"events":{"AJt":{"caption":"Text changed","name":"textchange"},"AJu":{"caption":"User Selection Changed","name":"selectionchange"}},"actions":{"AIx":{"caption":"Set Contents","fields":{"AIy":{"caption":"Contents (Delta)","editor":"DynamicValue","name":"contents","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){var delta=JSON.parse(properties.contents);instance.data.quill.setContents(delta)}"}},"AIz":{"caption":"Set Text","fields":{"AJA":{"caption":"Simple Text","editor":"DynamicValue","name":"text","rank":0,"value":"text"}},"code":{"fn":"function(instance,properties,context){var text=properties.text,delta=instance.data.quill.setText(text);instance.publishState(\"change\",JSON.stringify(delta))}"}},"AJB":{"caption":"Blur","code":{"fn":"function(instance,properties,context){instance.data.quill.blur()}"}},"AJC":{"caption":"Enable","fields":{"AJD":{"caption":"Is Enable","default_val":false,"editor":"DynamicValue","name":"enable","rank":0,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){instance.data.quill.enable(properties.enable)}"}},"AJE":{"caption":"Focus","code":{"fn":"function(instance,properties,context){instance.data.quill.focus()}"}},"AJF":{"caption":"Update Contents","fields":{"AJG":{"caption":"Delta","editor":"DynamicValue","name":"delta","rank":0,"value":"text"},"AJH":{"caption":"Delta is the way Quill stores the text and formatting you type into the editor. It's like a special co
243de that keeps track of everything you do, like adding or deleting text, changing colors or fonts, and more. This code helps Quill display and edit your content quickly and accurately, and allows for collaboration features like sharing and versioning. You can get the last delta from element's state `Delta (Last Changes)`.","editor":"Label","name":"delta_desc","rank":1}},"code":{"fn":"function(instance,properties,context){var delta=JSON.parse(properties.delta);instance.data.quill.updateContents(delta)}"}},"AJI":{"caption":"Get Contents","fields":{"AJJ":{"caption":"Start Index","default_val":1,"editor":"DynamicValue","name":"index","optional":false,"rank":0,"value":"number"},"AJK":{"caption":"Length","default_val":0,"editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){var delta=instance.data.quill.getContents(properties.index,properties.length);instance.publishState(\"getcontents\",JSON.stringify(delta))}"}},"AJL":{"caption":"Get Text","fields":{"AJM":{"caption":"Start Index","default_val":1,"editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJN":{"caption":"Length","default_val":0,"editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){var delta=instance.data.quill.getText(properties.index,properties.length);instance.publishState(\"gettext\",delta)}"}},"AJO":{"caption":"Insert Embed","fields":{"AJP":{"caption":"Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJQ":{"caption":"Type","editor":"DynamicValue","name":"type","rank":1,"value":"text"},"AJR":{"caption":"Value","editor":"DynamicValue","name":"value","rank":2,"value":"_any_thing"}},"code":{"fn":"function(instance,properties,context){var delta=instance.data.quill.insertEmbed(properties.index,properties.type,properties.value);instance.publishState(\"change\",JSON.stringify(delta))}"}},"AJS":{"caption":"Delete Text","fields":{"AJT":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJU":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){var delta=instance.data.quill.deleteText(properties.index,properties.length);instance.publishState(\"change\",JSON.stringify(delta))}"}},"AJV":{"caption":"Insert Text","fields":{"AJW":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJX":{"caption":"Text","editor":"DynamicValue","name":"text","rank":1,"value":"text"},"AJY":{"caption":"Formats","editor":"key_value_list","name":"formats","rank":2,"value":"text"}},"code":{"fn":"function(instance,properties,context){const arr=undefined,metadata=properties.formats.reduce(((acc,curr)=>(acc[curr.key]=curr.value,acc)),{});var delta=instance.data.quill.insertText(properties.index,properties.text,metadata);instance.publishState(\"change\",JSON.stringify(delta))}"}},"AJZ":{"caption":"Format","fields":{"AJa":{"caption":"Name","editor":"DynamicValue","name":"name","rank":0,"value":"text"},"AJb":{"caption":"Value","editor":"DynamicValue","name":"value","rank":1,"value":"_any_thing"}},"code":{"fn":"function(instance,properties,context){var delta=instance.data.quill.format(properties.name,properties.value);instance.publishState(\"change\",JSON.stringify(delta))}"}},"AJc":{"caption":"Format Text","fields":{"AJd":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJe":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"},"AJf":{"caption":"Formats","editor":"key_value_list","name":"formats","rank":2,"value":"text"}},"code":{"fn":"function(instance,properties,context){const arr=undefined,metadata=properties.formats.reduce(((acc,curr)=>(acc[curr.key]=curr.value,acc)),{});var delta=instance.data.quill.formatText(properties.index,properties.length,metadata);instance.publishState(\"change\",JSON.stringify(delta))}"}},"AJg":{"caption":"Get Format","fields":{"AJh":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJi":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"},"AJj":{"caption":"current","default_val":false,"editor":"DynamicValue","name":"current","rank":2,"value":"boolean"}},"code":{"fn":"function(instance,properties,context){if(properties.current){var formatiu=instance.data.quill.getFormat();instance.publishState(\"getformat\",JSON.stringify(formatiu))}else if(properties.index){var format=instance.data.quill.getFormat(properties.index,properties.length);instance.publishState(\"getformat\",JSON.stringify(format))}}"}},"AJk":{"caption":"Remove Format","fields":{"AJl":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJm":{"caption":"Length","editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){var delta=instance.data.quill.removeFormat(properties.index,properties.length);instance.publishState(\"change\",JSON.stringify(delta))}"}},"AJn":{"caption":"Set Selection","fields":{"AJo":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"},"AJp":{"caption":"length","editor":"DynamicValue","name":"length","rank":1,"value":"number"}},"code":{"fn":"function(instance,properties,context){var delta=instance.data.quill.setSelection(properties.index,properties.length)}"}},"AJq":{"caption":"Insert Raw HTML","fields":{"AJr":{"caption":"Raw HTML","editor":"DynamicValue","name":"html_raw","rank":1,"value":"text"},"AJs":{"caption":"Start Index","editor":"DynamicValue","name":"index","rank":0,"value":"number"}},"code":{"fn":"function(instance,properties,context){var quill;instance.data.quill.clipboard.dangerouslyPasteHTML(properties.index,properties.html_raw)}"}}},"code":{"initialize":{"fn":"function(instance,context){instance.data.divName=\"id\"+Math.round(1e6*Math.random())+1;var newDiv=$('<div id=\"'+instance.data.divName+'\" class=\"ql-container\"></div>');instance.data.newDiv=newDiv,instance.canvas.append(newDiv),instance.data.kardam=0,instance.data.round=0,instance.data.parentID=\"P\"+instance.data.divName}"},"update":{"fn":"function(instance,properties,context){let p=properties;var container=document.getElementById(instance.data.divName);if(0===instance.data.round){const{bubble:bubble,...otherProp}=properties;instance.data.qabli=otherProp}if(0===instance.data.round&&window.Quill)instance.data.round=1,createQuill();else{const quillStylesheet=document.createElement(\"link\");quillStylesheet.rel=\"stylesheet\",quillStylesheet.href=\"snow\"===properties.theme?\"https://cdn.quilljs.com/1.3.6/quill.snow.css\":\"https://cdn.quilljs.com/1.3.6/quill.bubble.css\",document.head.appendChild(quillStylesheet);const quillScript=document.createElement(\"script\");quillScript.src=\"https://cdn.quilljs.com/1.3.6/quill.js\",document.body.appendChild(quillScript),quillScript.onload=()=>{properties.dropImage&&addImageDrop(),createQuill()}}function addImageDrop(){var exports={};
243Object.defineProperty(exports,\"__esModule\",{value:!0});var _createClass=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}();function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var ImageDrop=exports.ImageDrop=function(){function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,e),this.quill=t,this.handleDrop=this.handleDrop.bind(this),this.handlePaste=this.handlePaste.bind(this),this.quill.root.addEventListener(\"drop\",this.handleDrop,!1),this.quill.root.addEventListener(\"paste\",this.handlePaste,!1)}return _createClass(e,[{key:\"handleDrop\",value:function e(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length){if(document.caretRangeFromPoint){var a=document.getSelection(),i=document.caretRangeFromPoint(t.clientX,t.clientY);a&&i&&a.setBaseAndExtent(i.startContainer,i.startOffset,i.startContainer,i.startOffset)}this.readFiles(t.dataTransfer.files,this.insert.bind(this))}}},{key:\"handlePaste\",value:function e(t){var a=this;t.clipboardData&&t.clipboardData.items&&t.clipboardData.items.length&&this.readFiles(t.clipboardData.items,(function(e){var t;a.quill.getSelection()||setTimeout((function(){return a.insert(e)}),0)}))}},{key:\"insert\",value:function e(t){var a=(this.quill.getSelection()||{}).index||this.quill.getLength();this.quill.insertEmbed(a,\"image\",t,\"user\")}},{key:\"readFiles\",value:function e(t,a){[].forEach.call(t,(function(e){if(e.type.match(/^image\\/(gif|jpe?g|a?png|svg|webp|bmp|vnd\\.microsoft\\.icon)/i)){var t=new FileReader;t.onload=function(e){a(e.target.result)};var i=e.getAsFile?e.getAsFile():e;i instanceof Blob&&t.readAsDataURL(i)}}))}}]),e}();window.Quill.register(\"modules/imageDrop\",exports.ImageDrop)}function createQuill(){var toolbarOptions;switch(properties.toolbarpreset){case\"Basic Formatting\":toolbarOptions=[[\"bold\",\"italic\",\"underline\"],[{indent:\"-1\"},{indent:\"+1\"}],[{color:[]},{background:[]},\"link\"],[{header:[1,2,3,!1]}]];break;case\"Advanced Formatting\":toolbarOptions=[[\"bold\",\"italic\",\"underline\",\"strike\",{script:\"sub\"},{script:\"super\"}],[{list:\"bullet\"},{indent:\"+1\"}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]},{font:[]},{size:[\"small\",!1,\"large\",\"huge\"]}],[{direction:\"rtl\"},{align:[]}],[\"clean\"]];break;case\"Content Creation\":toolbarOptions=[[\"bold\",\"italic\",\"underline\",{list:\"ordered\"},{list:\"bullet\"}],[{header:[1,2,3,!1]},\"blockquote\",\"code-block\"],[{color:[]},{background:[]},{font:[]},{size:[\"small\",!1,\"large\"]},{align:[]},{direction:\"rtl\"}],[\"link\",\"image\",\"video\"],[\"clean\"]];break;case\"Full Formatting\":toolbarOptions=[[\"bold\",\"italic\",\"underline\",\"strike\"],[\"blockquote\",\"code-block\"],[{header:1},{header:2}],[{list:\"ordered\"},{list:\"bullet\"}],[{script:\"sub\"},{script:\"super\"}],[{indent:\"-1\"},{indent:\"+1\"}],[{direction:\"rtl\"}],[{size:[\"small\",!1,\"large\",\"huge\"]}],[{header:[1,2,3,4,5,6,!1]}],[\"link\",\"image\",\"video\",\"formula\"],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],[\"clean\"]];break;case\"Custom\":toolbarOptions=JSON.parse(\"[\"+properties.customtoolbar+\"]\");break;default:toolbarOptions=[[\"bold\",\"italic\",\"underline\",\"link\"],[{header:[1,2,3,!1]}],[{list:\"ordered\"},{list:\"bullet\"}],[\"clean\"]]}if(instance.data.quill)instance.data.quill.update(),makeChanges(),instance.data.quill.root.dataset.placeholder=properties.placeholder?properties.placeholder:\"\";else{var options={modules:{syntax:properties.syntax,imageDrop:properties.dropImage,toolbar:toolbarOptions},readOnly:properties.readOnly,theme:properties.theme};properties.editHTML&&(loadjs([\"https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise\",\"//meta.cdn.bubble.io/f1680953833915x329763331470189100/quill.htmlEditButton.min.js\"],\"htmlButton\"),loadjs.ready(\"htmlButton\",(function(){Quill.register(\"modules/htmlEditButton\",htmlEditButton),options.modules.htmlEditButton={syntax:!1}})),loadjs(\"//meta.cdn.bubble.io/f1680953833915x329763331470189100/quill.htmlEditButton.min.js\",(function(){}))),instance.data.quill=new Quill(container,options);var quill=instance.data.quill;if(quill.on(\"text-change\",(function(delta,oldDelta,source){instance.publishState(\"change\",JSON.stringify(delta)),instance.publishState(\"beforechange\",JSON.stringify(oldDelta)),instance.publishState(\"lastcontents\",JSON.stringify(quill.getContents())),instance.publishState(\"lasttext\",JSON.stringify(quill.getText())),instance.publishState(\"lastlength\",JSON.stringify(quill.getLength())),instance.publishState(\"getHTML\",quill.root.innerHTML),instance.triggerEvent(\"textchange\")})),quill.on(\"selection-change\",(function(range,oldRange,source){range&&(instance.publishState(\"selectionindex\",range.index+1),instance.publishState(\"selectionlength\",range.length),instance.triggerEvent(\"selectionchange\"))})),quill.on(\"editor-change\",(function(delta,oldDelta,source){quill.update(
243),instance.publishState(\"hasfocus\",quill.hasFocus())})),properties.initial_content)switch(properties.initial_type){case\"Content\":var initial_content=JSON.parse(properties.initial_content);quill.setContents(initial_content);break;case\"Text\":quill.setText(properties.initial_content);break;case\"HTML\":quill.clipboard.dangerouslyPasteHTML(properties.initial_content);break;default:console.log(\"Type not detected\")}quill.root.dataset.placeholder=properties.placeholder?properties.placeholder:\"\"}makeChanges()}function makeChanges(){var quill=instance.data.quill,parentElement=container.parentNode,qlToolbar=parentElement.querySelector(\".ql-toolbar\"),qlContainer=parentElement.querySelector(\".ql-editor\"),babaConti=parentElement.querySelector(\".ql-container\");if(parentElement.style.display=\"flex\",parentElement.style.overflow=\"visible\",parentElement.style.flexDirection=\"column\",parentElement.id=instance.data.parentID,qlToolbar){properties.toolbar_hide?qlToolbar.classList.add(\"hide-toolbar\"):qlToolbar.classList.remove(\".hide-toolbar\"),qlToolbar.style.border=properties.toolbar_border_width>0?`${properties.toolbar_border_width}px solid ${properties.toolbar_border_color}`:\"none\",qlToolbar.style.backgroundColor=properties.toolbar_bg,qlToolbar.style.padding=`${properties.toolbar_padding}px`;const buttons=parentElement.querySelectorAll(\".ql-toolbar button\");for(let i=0;i<buttons.length;i++)buttons[i].style.height=`${properties.toolbar_icon_size}px`,buttons[i].style.width=`${properties.toolbar_icon_size}px`;const pickerOption=parentElement.querySelectorAll(\".ql-picker-options\");for(let i=0;i<pickerOption.length;i++)pickerOption[i].style.backgroundColor=`${properties.toolbar_bg}px`}if(qlContainer){var parentHeighDiff=properties.bubble.height()-parentElement.clientHeight,toolbarHeight=qlToolbar.offsetHeight+parentHeighDiff;babaConti.style.border=properties.container_border_width>0?`${properties.container_border_width}px solid ${properties.container_border_color}`:\"none\",qlContainer.style.backgroundColor=properties.container_bg,qlContainer.style.padding=`${properties.container_padding}px`,qlContainer.style.color=properties.placeholder_color,qlContainer.style.fontStyle=properties.placeholder_style,qlContainer.style.minHeight=parseInt(properties.bubble.min_height_css(),10)-toolbarHeight+\"px\",qlContainer.style.maxHeight=parseInt(properties.bubble.max_height_css(),10)-toolbarHeight+\"px\",properties.bubble.fit_height()||(qlContainer.style.height=parentElement.clientHeight-qlToolbar.offsetHeight+\"px\"),babaConti.style.fontFamily=\"inherit\",babaConti.style.fontSize=\"inherit\"}var tooliCss=!1;let classRule;if([\"toolbar_icon_color\",\"item_hover_color\"].forEach((key=>{tooliCss=instance.data.qabli[key]!=properties[key]||tooliCss})),0===instance.data.kardam||tooliCss){var css,thisID=`#${instance.data.parentID}`;css=\"snow\"===properties.theme?`${thisID} .ql-snow.ql-toolbar button:hover, ${thisID} .ql-snow .ql-toolbar button:hover, ${thisID} .ql-snow.ql-toolbar button:focus, ${thisID} .ql-snow .ql-toolbar button:focus, ${thisID} .ql-snow.ql-toolbar button.ql-active, ${thisID} .ql-snow .ql-toolbar button.ql-active, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } ${thisID} .ql-snow.ql-toolbar button:hover .ql-fill, ${thisID} .ql-snow .ql-toolbar button:hover .ql-fill, ${thisID} .ql-snow.ql-toolbar button:focus .ql-fill, ${thisID} .ql-snow .ql-toolbar button:focus .ql-fill, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } ${thisID} .ql-snow.ql-toolbar button:hover .ql-stroke, ${thisID} .ql-snow .ql-toolbar button:hover .ql-stroke, ${thisID} .ql-snow.ql-toolbar button:focus .ql-stroke, ${thisID} .ql-snow .ql-toolbar button:focus .ql-stroke, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-stroke, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke, ${thisID} .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, ${thisID} .ql-snow.ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar button:focus .ql-stroke-miter,${thisID} .ql-snow .ql-toolbar button:focus .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter, ${thisID} .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} ${thisID} .ql-snow .ql-stroke {fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} ${thisID} .ql-snow .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} ${thisID} .ql-snow .ql-fill, ${thisID} .ql-snow .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-snow .ql-empty { fill: none;} ${thisID} .ql-snow .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} ${thisID} .ql-snow .ql-picker-options { background-color: ${properties.toolbar_bg}; min-width: 100%; padding: 4px 8px;} ${thisID} .ql-snow .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} ${thisID} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} ${thisID} .ql-editor p, .ql-editor ol, ${thisID} .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, ${thisID} .ql-editor h2, ${thisID} .ql-editor h3, ${thisID} .ql-editor h4, ${thisID} .ql-editor h5, ${thisID} .ql-editor h6 { color: ${properties.bubble.font_color()};} ${thisID} .ql-snow .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} ${thisID} .ql-snow .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${properties.quote_border_color}; padding-left: 16px; background-color: ${properties.quote_bg};} ${thisID} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} ${thisID} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};} ${thisID} .ql-formats button { color: ${properties.toolbar_icon_color};}`:`${thisID} .ql-bubble.ql-toolbar button:hover, ${thisID} .ql-bubble .ql-toolbar button:hover, ${thisID} .ql-bubble.ql-toolbar button:focus, ${thisID} .ql-bubble .ql-toolbar button:focus, ${thisID} .ql-bubble.ql-toolbar button.ql-active, ${thisID} .ql-bubble .ql-toolbar button.ql-active, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } ${thisID} .ql-bubble.ql-toolbar button:hover .ql-fill, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-fill, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-fill, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-fill, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill, ${thisID} .ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } ${thisID} .ql-bubble.ql-toolbar button:hover .ql-stroke, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-stroke, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-stroke, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-stroke, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-stroke,${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, ${thisID} .ql-bubble.ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar button:hover .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar button:focus .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar button:focus .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, ${thisID} .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, ${thisID} .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,${thisID} .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,${thisID} .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} ${thisID} .ql-bubble .ql-stroke { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} ${thisID} .ql-bubble .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} ${thisID} .ql-bubble .ql-fill, ${thisID} .ql-bubble .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-bubble .ql-empty { fill: none;} ${thisID} .ql-bubble .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} ${thisID} .ql-bubble .ql-picker-options { background-color: ${properties.toolbar_bg}; min-width: 100%; padding: 4px 8px;} ${thisID} .ql-bubble .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} ${thisID} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} ${thisID} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} .ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 { color: ${properties.bubble.font_color()};} ${thisID} .ql-bubble .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} ${thisID} .ql-bubble .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${properties.quote_border_color}; margin-bottom: 5px; margin-top: 5px; padding-left: 16px; background-color: ${properties.quote_bg};} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};} ${thisID} .ql-formats button { color: ${properties.toolbar_icon_color};}`;var head=document.head||document.getElementsByTagName(\"head\")[0],style=document.createElement(\"style\");head.appendChild(style),style.type=\"text/css\",style.styleSheet?style.styleSheet.cssText=css:style.appendChild(document.createTextNode(css)),instance.data.k
243ardam=1}instance.data.qabli=properties}}"},"reset":{"fn":"function(instance,context){instance.data.quill&&instance.data.quill.deleteText(0,instance.data.quill.getLength())}"},"preview":{"fn":"function(instance, properties) {\n\n var div = $(`<div id=\"editor\"></div>`);\n instance.canvas.append(div);\n\n\n if (window.Quill) {\n // If it is, initialize Quill editor\n var element = document.querySelector('.ql-toolbar.ql-snow');\n if (element) {\n // console.log('Element found');\n } else {\n besaz()\n //console.log('Element not found');\n }\n } else {\n // Dynamically load Quill stylesheet\n const quillStylesheet = document.createElement('link');\n quillStylesheet.rel = 'stylesheet';\n quillStylesheet.href = (properties.theme === \"snow\") ? 'https://cdn.quilljs.com/1.3.6/quill.snow.css' : 'https://cdn.quilljs.com/1.3.6/quill.bubble.css';\n\n document.head.appendChild(quillStylesheet);\n\n // If not, dynamically load Quill library\n const quillScript = document.createElement('script');\n quillScript.src = 'https://cdn.quilljs.com/1.3.6/quill.js';\n document.body.appendChild(quillScript);\n\n // Initialize Quill editor after library and stylesheet have loaded\n quillScript.onload = () => {\n var element = document.querySelector('.ql-toolbar.ql-snow');\n if (element) {\n //console.log('Element found');\n } else {\n besaz()\n // console.log('Element not found');\n }\n\n }\n };\n //console.log(\"lastlast\")\n function besaz() {\n //console.log(\"33\")\n var toolbarOptions;\n switch (properties.toolbarpreset) {\n case 'Basic Formatting':\n toolbarOptions = [\n ['bold', 'italic', 'underline'],\n [{ 'indent': '-1' }, { 'indent': '+1' }],\n [{ 'color': [] }, { 'background': [] }, 'link'],\n [{ 'header': [1, 2, 3, false] }]\n ]\n break;\n case 'Advanced Formatting':\n toolbarOptions = [\n ['bold', 'italic', 'underline', 'strike', { 'script': 'sub' }, { 'script': 'super' }],\n [{ 'list': 'bullet' }, { 'indent': '+1' }],\n [{ 'header': [1, 2, 3, 4, 5, 6, false] }],\n [{ 'color': [] }, { 'background': [] }, { 'font': [] }, { 'size': ['small', false, 'large', 'huge'] }],\n [{ 'direction': 'rtl' }, { 'align': [] }],\n ['clean']\n ]\n break;\n case 'Content Creation':\n toolbarOptions = [\n ['bold', 'italic', 'underline', { 'list': 'ordered' }, { 'list': 'bullet' }],\n [{ 'header': [1, 2, 3, false] }, 'blockquote', 'code-block'],\n [{ 'color': [] }, { 'background': [] }, { 'font': [] }, { 'size': ['small', false, 'large'] }, { 'align': [] }, { 'direction': 'rtl' }],\n ['link', 'image', 'video'],\n ['clean']\n ]\n break;\n case 'Full Formatting':\n toolbarOptions = [\n ['bold', 'italic', 'underline', 'strike'], // toggled buttons\n ['blockquote', 'code-block'],\n\n [{ 'header': 1 }, { 'header': 2 }], // custom button values\n [{ 'list': 'ordered' }, { 'list': 'bullet' }],\n [{ 'script': 'sub' }, { 'script': 'super' }], // superscript/subscript\n [{ 'indent': '-1' }, { 'indent': '+1' }], // outdent/indent\n [{ 'direction': 'rtl' }], // text direction\n\n [{ 'size': ['small', false, 'large', 'huge'] }], // custom dropdown\n [{ 'header': [1, 2, 3, 4, 5, 6, false] }],\n ['link', 'image', 'video', 'formula'], // add's image support\n [{ 'color': [] }, { 'background': [] }], // dropdown with defaults from theme\n [{ 'font': [] }],\n [{ 'align': [] }],\n ['clean'] // remove formatting button\n ];\n break;\n case 'Custom':\n toolbarOptions = JSON.parse(properties.customtoolbar)\n break;\n default:\n toolbarOptions = [\n ['bold', 'italic', 'underline', 'link'],\n [{ 'header': [1, 2, 3, false] }],\n [{ 'list': 'ordered' }, { 'list': 'bullet' }],\n ['clean']\n ]\n break;\n }\n let options = {\n modules: {\n toolbar: toolbarOptions\n },\n placeholder: (properties.placeholder) ? properties.placeholder : '',\n theme: properties.theme\n };\n //New QUILL\n var quill = new Quill('#editor', options);\n if (properties.initial_content) {\n\n switch (properties.initial_type) {\n case \"Content\":\n var initial_content = JSON.parse(properties.initial_content)\n quill.setContents(initial_
243content);\n break;\n case \"Text\":\n quill.setText(properties.initial_content);\n break;\n case \"HTML\":\n quill.clipboard.dangerouslyPasteHTML(properties.initial_content)\n break;\n default:\n console.log(\"Type not detected\")\n break;\n }\n }\n //console.log(\"44\")\n var qlContainer = document.getElementById('editor');\n var parentElement = qlContainer.parentNode\n var qlToolbar = document.querySelector('.ql-toolbar');\n var qlp = parentElement.querySelector('.ql-container p');\n //console.log(\"2qlToolbar\",qlToolbar)\n\n //console.log(\"55\")\n var qlp = document.querySelector('.ql-container p');\n if (qlContainer) {\n\n /**\n * Container Css\n */\n if (qlp) {\n qlp.style.color = properties.bubble.font_color();\n qlp.style.fontFamily = \"inherit\"\n qlp.style.fontSize = \"inherit\"\n console.log(\"qlp\")\n }\n\n /**\n * Toolbar CSS\n */\n if (qlToolbar) {\n qlToolbar.style.border = (properties.toolbar_border_width > 0) ? `${properties.toolbar_border_width}px solid ${properties.toolbar_border_color}` : 'none';\n qlToolbar.style.backgroundColor = properties.toolbar_bg;\n qlToolbar.style.padding = `${properties.toolbar_padding}px`;\n // console.log(\"qlToolbar\")\n }\n\n const buttons = parentElement.querySelectorAll('.ql-toolbar button');\n for (let i = 0; i < buttons.length; i++) {\n buttons[i].style.height = `${properties.toolbar_icon_size}px`;\n buttons[i].style.width = `${properties.toolbar_icon_size}px`;\n }\n\n var toolbarHeight = qlToolbar.offsetHeight;\n if (qlContainer && toolbarHeight) {\n qlContainer.style.border = (properties.container_border_width > 0) ? `${properties.container_border_width}px solid ${properties.container_border_color}` : 'none';\n qlContainer.style.backgroundColor = properties.container_bg;\n qlContainer.style.padding = `${properties.container_padding}px`;\n qlContainer.style.color = properties.placeholder_color;\n qlContainer.style.minHeight = `${parseInt(properties.bubble.min_height_css(), 10) - toolbarHeight}px`;\n qlContainer.style.maxHeight = `${parseInt(properties.bubble.max_height_css(), 10) - toolbarHeight}px`;\n qlContainer.style.height = `${parseInt(properties.bubble.height(), 10) - toolbarHeight}px`;\n qlContainer.style.fontFamily = \"inherit\"\n qlContainer.style.fontSize = \"inherit\"\n }\n\n var css;\n if (properties.theme === 'snow') {\n css = `.ql-snow.ql-toolbar button:hover, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar button:focus, .ql-snow .ql-toolbar button:focus, .ql-snow.ql-toolbar button.ql-active, .ql-snow .ql-toolbar button.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } .ql-snow.ql-toolbar button:hover .ql-fill, .ql-snow .ql-toolbar button:hover .ql-fill, .ql-snow.ql-toolbar button:focus .ql-fill, .ql-snow .ql-toolbar button:focus .ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } .ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} .ql-snow .ql-stroke { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} .ql-snow .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} .ql-snow .ql-fill, .ql-snow .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-snow .ql-empty { fill: none;} .ql-snow .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} .ql-snow .ql-picker-options { background-color: ${properties.toolbar_bg}; display: none; min-width: 100%; padding: 4px 8px; position: absolute; white-space: nowrap;} .ql-snow .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} .ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 { color: ${properties.bubble.font_color()};} .ql-snow .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} .ql-snow .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${properties.quote_border_color}; margin-bottom: 5px; margin-top: 5px; padding-left: 16px; background-color: ${properties.quote_bg};} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};}`;\n } else {\n css = `.ql-bubble.ql-toolbar button:hover, .ql-bubble .ql-toolbar button:hover, .ql-bubble.ql-toolbar button:focus, .ql-bubble .ql-toolbar button:focus, .ql-bubble.ql-toolbar button.ql-active, .ql-bubble .ql-toolbar button.ql-active, .ql-bubble.ql-toolbar .ql-picker-label:hover, .ql-bubble .ql-toolbar .ql-picker-label:hover, .ql-bubble.ql-toolbar .ql-picker-label.ql-active, .ql-bubble .ql-toolbar .ql-picker-label.ql-active, .ql-bubble.ql-toolbar .ql-picker-item:hover, .ql-bubble .ql-toolbar .ql-picker-item:hover, .ql-bubble.ql-toolbar .ql-picker-item.ql-selected, .ql-bubble .ql-toolbar .ql-picker-item.ql-selected { color: ${properties.item_hover_color}; } .ql-bubble.ql-toolbar button:hover .ql-fill, .ql-bubble .ql-toolbar button:hover .ql-fill, .ql-bubble.ql-toolbar button:focus .ql-fill, .ql-bubble .ql-toolbar button:focus .ql-fill, .ql-bubble.ql-toolbar button.ql-active .ql-fill, .ql-bubble .ql-toolbar button.ql-active .ql-fill, .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill, .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill, .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill, .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill, .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill, .ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill, .ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill, .ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill, .ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, .ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { fill: ${properties.item_hover_color}; } .ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { stroke: ${properties.item_hover_color};} .ql-bubble .ql-stroke { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;} .ql-bubble .ql-stroke-miter { fill: none; stroke: ${properties.toolbar_icon_color}; stroke-miterlimit: 10; stroke-width: 2;} .ql-bubble .ql-fill, .ql-bubble .ql-stroke .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-bubble .ql-empty { fill: none;} .ql-bubble .ql-picker { color: ${properties.toolbar_icon_color}; display: inline-block; float: left; font-size: 14px; font-weight: 500; height: 24px; position: relative; vertical-align: middle;} .ql-bubble .ql-picker-options { background-color: ${properties.toolbar_bg}; display: none; min-width: 100%; padding: 4px 8px; position: absolute; white-space: nowrap;} .ql-bubble .ql-picker.ql-expanded .ql-picker-label { color: ${properties.toolbar_bg}; z-index: 2;} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill { fill: ${properties.toolbar_icon_color};} .ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke { stroke: ${properties.toolbar_border_color};} .ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 { color: ${properties.bubble.font_color()};} .ql-bubble .ql-editor pre.ql-syntax { color: ${properties.syntax_font_color}; background-color: ${properties.syntax_bg}; border-radius: ${properties.syntax_border_radius}px;} .ql-bubble .ql-editor blockquote { border-left: ${properties.quote_border_width}px solid ${properties.quote_border_color}; margin-bottom: 5px; margin-top: 5px; padding-left: 16px; background-color: ${properties.quote_bg};} .ql-editor .ql-font-serif { font-family: ${properties.font_serif};} .ql-editor .ql-font-monospace { font-family: ${properties.font_mono};}`;\n }\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n\n head.appendChild(style);\n\n style.type = 'text/css';\n if (style.styleSheet) {\n // This is required for IE8 and below.\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n //console.log(\"last\")\n }\n }\n}"}},"platform_type":"web"},"ALH":{"display":"âï¸ Quill @Mention","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"fields":{"ALS":{"caption":"âï¸ Quill @Mention ______________________________________________________ ","editor":"Label","name":"intro","rank":0},"ALT":{"caption":"If you want to use mention/tagging feature in Quill editor, you need to add this optional module to the page. This module makes available, mention feature for all editors on the page. You can configure this feature using the fields of the main element. _________________________________________________________","editor":"Label","name":"div0","rank":1},"ALU":{"caption":"________________________________________________________ ð Dropdown Style","editor":"Label","name":"sec-list-container","rank":2}
243,"ALV":{"caption":"ð Background","default_val":"rgba(255,255,255,1)","editor":"Color","in_style":true,"name":"list-background-color","optional":false,"rank":3},"ALW":{"caption":"ð Border Width","default_val":"1px","editor":"StaticText","in_style":true,"name":"list-border-width","rank":4,"value":"text"},"ALX":{"caption":"ð Border Style","default_val":"solid","editor":"Dropdown","in_style":true,"name":"list-border-style","rank":5},"ALY":{"caption":"ð Border Color","default_val":"rgba(240, 240, 240, 1)","editor":"Color","in_style":true,"name":"list-border-color","rank":6},"ALZ":{"caption":"ð Roundness","default_val":"4px","editor":"StaticText","in_style":true,"name":"list-border-radius","rank":7},"ALa":{"caption":"ð Min Width","default_val":"160px","editor":"StaticText","in_style":true,"name":"list-min-width","rank":8},"ALb":{"caption":"________________________________________________________ ð« Dropdown Item Style","editor":"Label","name":"sec-list-item","rank":9},"ALc":{"caption":"ð« Font Size","default_val":"16px","editor":"StaticText","in_style":true,"name":"list-item-font-size","rank":10},"ALd":{"caption":"ð« Line Height","default_val":"32px","editor":"StaticText","in_style":true,"name":"list-item-line-height","rank":11},"ALe":{"caption":"ð« Padding H","default_val":"20px","editor":"StaticText","in_style":true,"name":"list-item-h-padding","rank":12},"ALg":{"caption":"________________________________________________________ ð Mention Style","editor":"Label","name":"sec-mention","rank":13}
243,"ALh":{"caption":"ð Pill Background","default_val":"rgba(211, 225, 235, 1)","editor":"Color","in_style":true,"name":"mention-background-color","rank":14},"ALi":{"caption":"ð Pill Roundness","default_val":"6px","editor":"StaticText","in_style":true,"name":"mention-border-radius","rank":15},"ALj":{"caption":"ð Pill Height","default_val":"24px","editor":"StaticText","in_style":true,"name":"mention-height","rank":16}},"code":{"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){const CSSString=`\\n .ql-mention-list-container{\\n background-color: ${properties[\"list-background-color\"]};\\n border: ${properties[\"list-border-width\"]} ${properties[\"list-border-style\"]} ${properties[\"list-border-color\"]};\\n border-radius: ${properties[\"list-border-radius\"]};\\n box-shadow:0 2px 12px 0 rgba(30,30,30,.08);\\n overflow: auto;\\n min-width: ${properties[\"list-width\"]};\\n z-index: 9001\\n }\\n .ql-mention-loading{font-size:${properties[\"list-item-font-size\"]};line-height:${properties[\"list-item-line-height\"]};padding: 0 ${properties[\"list-item-h-padding\"]};vertical-align:middle}\\n .ql-mention-list{list-style:none;margin:0;overflow:hidden;padding:0}\\n\\n .ql-mention-list-item{\\n cursor:pointer;\\n font-size: ${properties[\"list-item-font-size\"]};\\n line-height: ${properties[\"list-item-line-height\"]};\\n padding: 0 ${properties[\"list-item-h-padding\"]}\\n }\\n .ql-mention-list-item.disabled{cursor:auto}\\n .ql-mention-list-item.selected{\\n background-color: ${properties[\"mention-background-color\"]};\\n text-decoration: none\\n }\\n \\n .mention{\\n cursor:pointer;\\n background-color: ${properties[\"mention-background-color\"]};\\n border-radius: ${properties[\"mention-border-radius\"]};\\n height: ${properties[\"mention-height\"]};\\n margin-right: 2px;\\n padding: 3px 0;\\n user-select: all;\\n width: 64px\\n }\\n \\n .mention>span{margin:0 3px}\\n `,style=document.createElement(\"style\");style.type=\"text/css\",style.appendChild(document.createTextNode(CSSString)),document.head.appendChild(style)}"},"reset":{"fn":"function(instance,context){}"},"preview":{"fn":"function(instance, properties) {\n if (properties.bubble.height() >= 20 && properties.bubble.width() >= 20) {\n const img = $(`<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M8 1.5C7.14493 1.49469 6.2973 1.65919 5.50629 1.98396C4.71528 2.30874 3.99661 2.78732 3.39197 3.39196C2.78733 3.9966 2.30874 4.71527 1.98397 5.50628C1.65919 6.2973 1.49469 7.14492 1.5 8V8.5C1.5 10.2239 2.18482 11.8772 3.40381 13.0962C4.62279 14.3152 6.2761 15 8 15H11.5V14H8C6.54131 14 5.14237 13.4205 4.11092 12.3891C3.07947 11.3576 2.5 9.95869 2.5 8.5V8C2.49602 7.27661 2.63557 6.55963 2.91056 5.89054C3.18555 5.22145 3.59053 4.61356 4.10205 4.10204C4.61356 3.59052 5.22146 3.18555 5.89055 2.91056C6.55963 2.63556 7.27662 2.49602 8 2.5C8.72904 2.47488 9.45546 2.59997 10.1341 2.86748C10.8128 3.135 11.4291 3.53922 11.945 4.05504C12.4608 4.57085 12.865 5.18724 13.1325 5.86589C13.4 6.54454 13.5251 7.27096 13.5 8C13.5 9.795 12.8 10.5 11.67 10.5C10.88 10.5 10.5 9.855 10.5 9V5H9.5V5.97C9.32566 5.66307 9.07008 5.41015 8.76134 5.23902C8.45261 5.06
243789 8.10268 4.98519 7.75 5C7.02503 4.99733 6.32855 5.28209 5.81311 5.79191C5.29767 6.30173 5.00529 6.99504 5 7.72V8.78C5.00529 9.50495 5.29767 10.1983 5.81311 10.7081C6.32855 11.2179 7.02503 11.5027 7.75 11.5C8.16697 11.5122 8.57842 11.4023 8.93375 11.1838C9.28908 10.9652 9.5728 10.6476 9.75 10.27C9.92748 10.6379 10.205 10.9484 10.5507 11.1659C10.8965 11.3835 11.2965 11.4992 11.705 11.5C13.24 11.5 14.5 10.5 14.5 8C14.5191 7.14117 14.3641 6.28737 14.0442 5.49011C13.7243 4.69285 13.2462 3.96866 12.6388 3.36122C12.0313 2.75379 11.3072 2.27571 10.5099 1.95582C9.71263 1.63593 8.85883 1.48087 8 1.5V1.5ZM9.5 8.78C9.5 9.24413 9.31563 9.68925 8.98744 10.0174C8.65925 10.3456 8.21413 10.53 7.75 10.53C7.28587 10.53 6.84075 10.3456 6.51257 10.0174C6.18438 9.68925 6 9.24413 6 8.78V7.72C6 7.25587 6.18438 6.81075 6.51257 6.48256C6.84075 6.15437 7.28587 5.97 7.75 5.97C8.21413 5.97 8.65925 6.15437 8.98744 6.48256C9.31563 6.81075 9.5 7.25587 9.5 7.72V8.78Z\" fill=\"white\"/>\n</svg>`);\n let divName = \"id\" + Math.round(Math.random() * 1000000) + 1;\n var padul = (properties.bubble.height() - 16) / 2\n const divv = $(`<div id=${divName} style=\"background-color: #1D1E30;width: 100%;height: 100%; display: flex; justify-content: center; align-items: center; padding: ${padul}px 0; border-radius: 4.5px; vertical-align: middle;\"></div>`).append(img);\n instance.canvas.append(divv);\n }\n\n\n}"}},"platform_type":"web"}},"plugin_actions":{"ADe":{"display":"ð Copy Text to User Clipboard","type":"client_side","fields":{"ADf":{"caption":"Text","editor":"DynamicValue","name":"text","rank":0,"value":"text"}},"code":{"client":{"fn":"function(properties,context){const textToCopy=properties.text;navigator.clipboard.writeText(textToCopy)}"}}},"AEB":{"display":"HTML to Delta (Server)","type":"server_side","return_value":{"AED":{"caption":"Delta","name":"delta","rank":0,"value":"text"}},"fields":{"AEC":{"caption":"HTML","editor":"DynamicValue","name":"html","rank":0,"value":"text"}}},"AIc":{"display":"Delta to HTML (Server)","type":"server_side","return_value":{"AED":{"caption":"HTML","name":"delta","rank":0,"value":"text"}},"fields":{"AIb":{"caption":"Quill Content (Delta)","editor":"DynamicValue","name":"html","rank":0,"value":"text"}}}}}; 244window._bubble_page_load_data.plugins_size['1678101479138x861764246919708700'] = 139434; 245window.preloaded['plugin/third_party:1678101479138x861764246919708700:7.3.1'] = true; 246window.plugins["1678204759556x438265531294285800"] = {"human":"Simple Modern Color Picker","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"ð¨ Simple Color Picker","property_applications":{"resizable":true,"MinWidth":true,"Font":true},"add_is_visible":true,"support_autobinding":true,"autobinding_value":"text","can_fit_width":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Background color","name":"background_color","rank":4,"editor":"Color","default_val":"rgba(44,43,45,0.7)"},"AAE":{"caption":"Input background color","name":"input_background_color","rank":5,"editor":"Color","default_val":"rgba(255,255,255,0.15)"},"AAF":{"caption":"Input font color","name":"input_font_color","rank":6,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAG":{"caption":"Button color","name":"main_color","rank":7,"editor":"Color","default_val":"rgba(255,255,255,0.15)"},"AAH":{"caption":"Initial color","name":"initial_color","rank":0,"editor":"Color","default_val":"rgba(209,170,170,1)"},"AAM":{"caption":"Border color","name":"border_color","rank":2,"editor":"Color","default_val":"rgba(255,255,255,0.15)"},"AAN":{"caption":"Border radius","name":"border_radius","rank":3,"editor":"DynamicValue","value":"number","default_val":12},"AAO":{"caption":"Border width","name":"border_width","rank":1,"editor":"DynamicValue","value":"number","default_val":2},"AAR":{"caption":"Use RGB value for autobinding","name":"use_rgb_value_for_autobinding","rank":8,"editor":"Checkbox","default_val":false}},"states":{"AAK":{"caption":"Value (hex)","name":"value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAQ":{"caption":"Value (RGB)","name":"value_rgb","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAL":{"caption":"Value Changed","name":"value_got_saved"}},"actions":{"AAI":{"caption":"Set color","code":{"fn":"function(instance,properties,context){function _0x53ac(){var _0x1770b3=[\"718298NbjTqa\",\"1196WwAUSn\",\"setColor\",\"21112MSeeYw\",\"6aleHSa\",\"462820AfTPNE\",\"10rcDiiS\",\"2FWTGGP\",\"324MBoeBZ\",\"148668BsHPkI\",\"99aPwulh\",\"pickr\",\"889965
246IXnsLV\",\"745543EnjayX\",\"48iRzxWZ\"];return(_0x53ac=function(){return _0x1770b3})()}function _0x5594(_0x58246c,_0x2fc71d){var _0x53acaf=_0x53ac();return(_0x5594=function(_0x559474,_0x3e72e4){var _0x4a731d;return _0x53acaf[_0x559474-=161]})(_0x58246c,_0x2fc71d)}function run(_0x5e6e12,_0x13b758,_0x133736){var _0x1abd1a=_0x5594;_0x5e6e12.data[_0x1abd1a(172)][_0x1abd1a(163)](\"\"+_0x13b758.color,!1)}!function(_0x5c6471,_0x4a3015){for(var _0x132645=_0x5594,_0x4faf97=_0x5c6471();;)try{var _0x263d9c;if(433593===parseInt(_0x132645(174))/1*(-parseInt(_0x132645(168))/2)+-parseInt(_0x132645(169))/3*(parseInt(_0x132645(164))/4)+-parseInt(_0x132645(166))/5*(-parseInt(_0x132645(165))/6)+-parseInt(_0x132645(161))/7*(-parseInt(_0x132645(175))/8)+-parseInt(_0x132645(173))/9+parseInt(_0x132645(167))/10*(parseInt(_0x132645(171))/11)+parseInt(_0x132645(170))/12*(parseInt(_0x132645(162))/13))break;_0x4faf97.push(_0x4faf97.shift())}catch(_0x596116){_0x4faf97.push(_0x4faf97.shift())}}(_0x53ac,433593),run(instance,properties,context)}"},"fields":{"AAJ":{"caption":"Color","name":"color","rank":0,"editor":"Color","default_val":"rgba(15,165,241,1)"}}}},"code":{"preview":{"fn":"function(instance, properties){\n\tfunction _0x512a(_0x3d7fa9, _0x9c1b22) {\n const _0x324740 = _0x3247();\n return _0x512a = function (_0x512ac5, _0x2726e1) {\n _0x512ac5 = _0x512ac5 - 0x1d5;\n let _0x25f8ce = _0x324740[_0x512ac5];\n return _0x25f8ce;\n }, _0x512a(_0x3d7fa9, _0x9c1b22);\n}\nfunction _0x3247() {\n const _0x56c1e8 = [\n 'alignItems',\n 'relative',\n 'position',\n 'flex',\n 'pointer',\n 'defaultColor',\n '2363242LkqKqm',\n '795321gOMCAv',\n '17000792OUrfFB',\n '8105Tjtkfi',\n '9UQpTUc',\n 'border',\n '50px',\n 'input',\n '100%',\n 'cursor',\n 'style',\n 'color',\n 'value',\n 'width',\n '2687367zRDxPJ',\n '1769322lyPKIZ',\n 'publishState',\n 'canvas',\n 'none',\n '4323494OPMPOB',\n '1432HiyBNw',\n 'center',\n 'display',\n 'height',\n 'justifyContent',\n 'appendChild',\n 'div',\n 'selected_color',\n 'append'\n ];\n _0x3247 = function () {\n return _0x56c1e8;\n };\n return _0x3247();\n}\n(function (_0x2c4c7a, _0x1e4df5) {\n const _0x40369f = _0x512a, _0x432db3 = _0x2c4c7a();\n while (!![]) {\n try {\n const _0x4ee3fa = -parseInt(_0x40369f(0x1f4)) / 0x1 + parseInt(_0x40369f(0x1f3)) / 0x2 + -parseInt(_0x40369f(0x1de)) / 0x3 + -parseInt(_0x40369f(0x1e4)) / 0x4 * (parseInt(_0x40369f(0x1f6)) / 0x5) + parseInt(_0x40369f(0x1df)) / 0x6 + -parseInt(_0x40369f(0x1e3)) / 0x7 + parseInt(_0x40369f(0x1f5)) / 0x8 * (parseInt(_0x40369f(0x1f7)) / 0x9);\n if (_0x4ee3fa === _0x1e4df5)\n break;\n else\n _0x432db3['push'](_0x432db3['shift']());\n } catch (_0x4ca428) {\n _0x432db3['push'](_0x432db3['shift']());\n }\n }\n}(_0x3247, 0xadf59));\nfunction preview(_0x2785cf, _0x2722fc) {\n const _0x937c46 = _0x512a, _0x4c00c1 = document['createElement'](_0x937c46(0x1ea));\n _0x4c00c1[_0x937c46(0x1da)][_0x937c46(0x1ef)] = _0x937c46(0x1ee), _0x4c00c1[_0x937c46(0x1da)]['width'] = _0x937c46(0x1d8), _0x4c00c1[_0x937c46(0x1da)][_0x937c46(0x1e7)] = _0x937c46(0x1d8), _0x4c00c1[_0x937c46(0x1da)][_0x937c46(0x1e6)] = _0x937c46(0x1f0), _0x4c00c1[_0x937c46(0x1da)][_0x937c46(0x1e8)] = _0x937c46(0x1e5), _0x4c00c1[_0x937c46(0x1da)][_0x937c46(0x1ed)] = _0x937c46(0x1e5);\n const _0x4ec37f = document['createElement'](_0x937c46(0x1d7));\n _0x4ec37f['type'] = _0x937c46(0x1db), _0x4ec37f[_0x937c46(0x1da)][_0x937c46(0x1dd)] = _0x937c46(0x1d6), _0x4ec37f[_0x937c46(0x1da)]['height'] = '50px', _0x4ec37f[_0x937c46(0x1da)][_0x937c46(0x1d5)] = _0x937c46(0x1e2), _0x4ec37f[_0x937c46(0x1da)][_0x937c46(0x1d9)] = _0x937c46(0x1f1), _0x4c00c1[_0x937c46(0x1e9)](_0x4ec37f), _0x2785cf[_0x937c46(0x1e1)][_0x937c46(0x1ec)](_0x4c00c1), _0x4ec37f['addEventListener'](_0x937c46(0x1d7), function () {\n const _0x54822e = _0x937c46;
246\n _0x2785cf[_0x54822e(0x1e0)](_0x54822e(0x1eb), _0x4ec37f[_0x54822e(0x1dc)]);\n }), _0x2722fc[_0x937c46(0x1f2)] && (_0x4ec37f[_0x937c46(0x1dc)] = _0x2722fc[_0x937c46(0x1f2)], _0x2785cf['publishState']('selected_color', _0x2722fc[_0x937c46(0x1f2)]));\n}\n\t preview(instance, properties);\n}"},"initialize":{"fn":"function(instance,context){function _0x5534(){var _0xb91a7e=[\"overflow\",\"2263324TksgyY\",\"59643eUBBTU\",\"41493300hlQdrm\",\"round\",\"divNameNew\",\"data\",\"random\",\"3593967ChiWdL\",\"canvas\",\"1032sBKAmd\",'\"></div>',\"6jwrwPs\",\"5981577LqEMlv\",'<div id=\"',\"style\",\"916tRtfzZ\",\"append\",\"divName\",\"visible\",\"16420PbhgrG\",\"savedcanvas\",\"1137480JfWcaC\"];return(_0x5534=function(){return _0xb91a7e})()}function _0x139b(_0xde3c0e,_0x3523b2){var _0x553468=_0x5534();return(_0x139b=function(_0x139b93,_0x9e4e56){var _0x9fac0d;return _0x553468[_0x139b93-=487]})(_0xde3c0e,_0x3523b2)}function initialize(_0x28fb7a,_0x2f4f92){var _0x180549=_0x139b;_0x28fb7a[_0x180549(506)].divName=\"id\"+Math[_0x180549(504)](1e6*Math[_0x180549(507)]())+1,_0x28fb7a.data[_0x180549(505)]=\"id\"+Math[_0x180549(504)](1e6*Math.random())+1;var _0x2fba48=$(_0x180549(491)+_0x28fb7a[_0x180549(506)][_0x180549(495)]+_0x180549(488));_0x28fb7a.canvas[_0x180549(494)](_0x2fba48),_0x28fb7a[_0x180549(506)][_0x180549(498)]=_0x28fb7a[_0x180549(509)],_0x28fb7a[_0x180549(509)][0][_0x180549(492)][_0x180549(500)]=_0x180549(496)}!function(_0x5e3c58,_0x43b37c){for(var _0x407fff=_0x139b,_0x3fa56b=_0x5e3c58();;)try{var _0x460e23;if(616747===-parseInt(_0x407fff(499))/1+-parseInt(_0x407fff(501))/2+parseInt(_0x407fff(508))/3+-parseInt(_0x407fff(493))/4*(parseInt(_0x407fff(497))/5)+-parseInt(_0x407fff(489))/6*(parseInt(_0x407fff(490))/7)+parseInt(_0x407fff(487))/8*(-parseInt(_0x407fff(502))/9)+parseInt(_0x407fff(503))/10)break;_0x3fa56b.push(_0x3fa56b.shift())}catch(_0x16bd1c){_0x3fa56b.push(_0x3fa56b.shift())}}(_0x5534,616747),initialize(instance,context)}"},"update":{"fn":"function(instance,properties,context){function hexToRgb(hex){var result=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);return result?`rgb(${parseInt(result[1],16)}, ${parseInt(result[2],16)}, ${parseInt(result[3],16)})`:null}function rgbaToHex(rgba){var result=rgba.match(/^rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+),?\\s*([0-9.]+)?\\)$/);return result?\"#\"+(\"0\"+parseInt(result[1],10).toString(16)).slice(-2)+(\"0\"+parseInt(result[2],10).toString(16)).slice(-2)+(\"0\"+parseInt(result[3],10).toString(16)).slice(-2):rgba}instance.canvas[0].id=instance.data.divNameNew,1==properties.bubble.auto_binding()&&(properties.initial_color=properties.autobinding),null!==instance.data.style&&void 0!==instance.data.style&&instance.data.style.remove(),instance.data.style=document.createElement(\"style\"),instance.data.style.innerHTML=`\\n \\n .pcr-app {\\n \\tposition: fixed;\\n \\tdisplay: flex;\\n \\tflex-direction: column;\\n \\tz-index: 10000;\\n \\tborder-radius: 0.1em;\\n \\tbackground: ${properties.background_color} !important;\\n\\t\\tbackdrop-filter: blur(10px) !important;\\n \\t-webkit-backdrop-filter: blur(10px) !important;\\n \\t-moz-backdrop-filter: blur(10px) !important;\\n\\t}\\n\\n\\t.pickr .pcr-button {\\n\\t\\tborder: solid ${properties.border_width}px ${properties.border_color} !important\\n\\t}\\n\\n .pcr-app .pcr-interaction .pcr-result {\\n color: ${properties.input_font_color} !important;\\n background: ${properties.input_background_color} !important;\\n\\t\\tfont-family: inherit !important;\\n }\\n\\n .pcr-app .pcr-interaction .pcr-save {\\n background: ${properties.main_color} !important;\\n border-radius: 5px !important;\\n\\t\\tmargin-left: 6px !important;\\n\\t\\tfont-family: inherit !important;\\n padding-left: 8px !important;\\n padding-right: 8px !important;\\n }\\n\\n ${\"#\"+instance.data.divNameNew} .pickr {\\n position: relative;\\n overflow: visible;\\n height: ${properties.bubble.height()}px;\\n\\t\\twidth: ${properties.bubble.width()}px;\\n transform: translateY(0);\\n }\\n\\n ${\"#\"+instance.data.divNameNew} .pickr .pcr-button {\\n border-radius: ${properties.border_radius}px !important;\\n width: 100% !important;\\n height: 100% !important;\\n }\\n \\n ${\"#\"+instance.data.divNameNew} .pickr .pcr-button::before {\\n border-radius: ${properties.border_radius}px !important;\\n background: none !important;\\n }\\n\\n ${\"#\"+instance.data.divNameNew} .pickr .pcr-button::after {\\n border-radius: ${properties.border_radius-properties.border_width}px !important;\\n }\\n\\n`,document.head.appendChild(instance.data.style),!0!==instance.data.rendered&&(instance.data.pickr=Pickr.create({el:\"#\"+instance.data.divName,theme:\"nano\",default:properties.initial_color,defaultRepresentation:\"HEX\",components:{preview:!1,opacity:!1,hue:!0,interaction:{hex:!1,rgba:!1,hsla:!1,hsva:!1,cmyk:!1,input:!0,clear:!1,save:!0}}}),instance.data.rendered=!0,instance.publishState(\"value\",properties.initial_color.startsWith(\"rgb\")?rgbaToHex(properties.initial_color):properties.initial_color),instance.publishState(\"value_rgb\",properties.initial_color),instance.data.pickr.on(\"save\",((color,source)=>{var colorHex=\"#\"+color.toHEXA()[0]+color.toHEXA()[1]+color.toHEXA()[2],autobindingColor=colorHex;properties.use_rgb_value_for_autobinding&&(autobindingColor=hexToRgb(colorHex)),instance.data.previousColor!==colorHex&&(instance.publishState(\"value\",colorHex),instance.publishState(\"value_rgb\",hexToRgb(colorHex)),instance.triggerEvent(\"value_got_saved\"),instance.publishAutobinding(autobindingColor),instance.data.previousColor=colorHex),instance.data.pickr.hide()}))),instance.data.pickr.setColor(`${properties.initial_color}`,!1)}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 247window._bubble_page_load_data.plugins_size['1678204759556x438265531294285800'] = 12284; 248window.preloaded['plugin/third_party:1678204759556x438265531294285800:1.11.0'] = true; 249window.plugins["1680110374647x249108010620944400"] = {"human":"Switch (Toggle) and Checkbox","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"Switch","property_applications":{"resizable":true,"MinWidth":true,"Padding":true,"Font":false,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"boolean","has_reset_fn":true,"can_fit_width":false,"can_fit_height":false,"fields":{"AAD":{"caption":"Initial Value","name":"initial_value","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AAE":{"caption":"[On] Handle Color","name":"handle_color_on","rank":5,"editor":"Color","in_style":true,"default_val":"rgba(255,255,255,1)"}
249,"AAG":{"caption":"[On] Background Color","name":"background_color_on","rank":6,"editor":"Color","default_val":"rgba(57,186,118,1)","in_style":true},"AAH":{"caption":"[Off] Background Color","name":"background_color_off","rank":8,"editor":"Color","default_val":"rgba(237, 177, 180, 1)","in_style":true},"AAK":{"caption":"Disabled","name":"disabled","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AAL":{"caption":"[Disabled/On] Background","name":"background_color_disabled","rank":10,"editor":"Color","default_val":"rgba(215,215,215,1)","in_style":true},"AAM":{"caption":"[Disabled/On] Handle","name":"handle_color_disabled","rank":9,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","in_style":true},"AAN":{"caption":"Make sure the element's width is always higher than the element's height. This element will try its best to fit your defined size, but it won't work if width is less than height.","name":"guide","rank":0,"editor":"Label"},"AAO":{"caption":"Border Color","name":"border_color","rank":14,"editor":"Color","default_val":"rgba(0,0,0,1)","in_style":true},"AAP":{"caption":"Border Width (px)","name":"border_width","rank":15,"editor":"StaticNumber","in_style":true,"default_val":1},"AAQ":{"caption":"Handle Border Color","name":"handle_border_color","rank":16,"editor":"Color","default_val":"rgba(0,0,0,1)","in_style":true},"AAR":{"caption":"Handle Border Width (px)","name":"handle_border_width","rank":17,"editor":"StaticNumber","in_style":true,"default_val":1},"AAS":{"caption":"Handle Padding (px)","name":"padding","rank":18,"editor":"StaticNumber","default_val":2,"in_style":true},"AAY":{"caption":"-------------------------- ð½ð¤ð§ððð§ & ðð¥ðððð£ð --------------------------","name":"border_sep","rank":13,"editor":"Label"},"AAZ":{"caption":"-------------------------- ðð¨ð¥ð¨ð«ð¬ --------------------------","name":"color_sep","rank":4,"editor":"Label"},"ABB":{"caption":"[Off] Handle Color","name":"handle_color_off","rank":7,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","in_style":true},"ABC":{"caption":"[Preview] Toggle","name":"editor_preview_toggle","rank":20,"editor":"Checkbox","default_val":false,"in_style":true},"ABG":{"caption":"-------------------------- ð½ð¤ð§ððð§ & ðð¥ðððð£ð --------------------------","name":"preview_sep","rank":19,"editor":"Label"},"ABH":{"caption":"[Preview] Disabled","name":"editor_preview_disabled","rank":21,"editor":"Checkbox","default_val":false,"in_style":true},"ABN":{"caption":"[Disabled/Off] Background","name":"background_color_disabled_off","rank":12,"editor":"Color","default_val":"rgba(232,232,232,1)","in_style":true},"ABO":{"caption":"[Disabled/Off] Handle","name":"handle_color_disabled_off","rank":11,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","in_style":true},"ABU":{"caption":"To prevent unexpected behavior, Initial Value will be disregarded when using autobinding.","name":"initial_value_info","rank":1,"editor":"Label"}},"states":{"AAI":{"caption":"value","name":"value","value":"boolean","initialization_code":{"fn":"function(properties,context){return properties.initial_value||properties.autobinding||!1}"}}},"events":{"AAJ":{"caption":"changed","name":"changed"}},"actions":{"AAU":{"caption":"Change value of","code":{"fn":"function(instance,properties,context){instance.data.updateValue&&instance.data.updateValue(properties.value),instance.triggerEvent(\"changed\")}"},"fields":{"AAW":{"caption":"New Value","name":"value","rank":0,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AAV":{"caption":"Toggle","code":{"fn":"function(instance,properties,context){instance.data.updateValue&&instance.data.updateValue(!instance.data._value),instance.triggerEvent(\"changed\")}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n jQuery(\"html\").height(\"100%\");\n jQuery(\"body\").height(\"100%\");\n jQuery(\"html\").css(\"overflow\", \"hidden\");\n jQuery(\"body\").css(\"overflow\", \"hidden\");\n \n \n const $style = jQuery(`\n\t\t<style>\n *, *::after, *::before {\n\t\tbox-sizing: border-box;\n\t}
249\n\t.cz-switch {\n width: 100%;\n height: 100%;\n position: relative;\n background: none;\n outline: none;\n border: none;\n margin: 0;\n padding: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n -o-appearance: none;\n transition: 0.2s;\n }\n\n .cz-switch:before {\n cursor: pointer;\n position: relative;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n background: var(--cz-switch-bg-off, none);\n border: var(--cz-switch-border-width, 0px) solid var(--cz-switch-border-color, transparent);\n border-radius: 10000px;\n transition: background-color 0.2s;\n }\n\n .cz-switch:after {\n cursor: pointer;\n position: absolute;\n display: block;\n top: 50%;\n left: calc(var(--cz-switch-border-width, 0px) + var(--cz-switch-handle-padding, 0px));\n transform: translateY(-50%);\n background-color: var(--cz-switch-handle-off, #FFFFFF);\n border: var(--cz-switch-handle-border-width, 1px) solid var(--cz-switch-handle-border-color, #000000);\n height: calc(100% - var(--cz-switch-handle-border-width, 1px) * 2 - var(--cz-switch-handle-padding, 0px) * 2);\n aspect-ratio: 1;\n border-radius: 50%;\n transition: 0.2s;\n\n content: \"\";\n }\n\n .cz-switch:checked:before {\n background-color: var(--cz-switch-bg-on, #39BA76);\n }\n\n .cz-switch:checked:after {\n left: calc(100% - var(--cz-switch-handle-padding, 0px) - var(--cz-switch-border-width, 0px));\n transform: translate(-100%, -50%);\n background-color: var(--cz-switch-handle-on, #FFFFFF);\n }\n\n .cz-switch:disabled:before {\n cursor: not-allowed;\n background-color: var(--cz-switch-bg-disabled-off, #E8E8E8);\n }\n \n .cz-switch:disabled:after {\n cursor: not-allowed;\n background-color: var(--cz-switch-handle-disabled-off, #FFFFFF);\n }\n\n .cz-switch:checked:disabled:before {\n cursor: not-allowed;\n background-color: var(--cz-switch-bg-disabled, #D7D7D7);\n }\n\n .cz-switch:checked:disabled:after {\n cursor: not-allowed;\n background-color: var(--cz-switch-handle-disabled, #FFFFFF);\n }\n \n </style>\n\t`);\n \n instance.canvas.append($style);\n const $toggle = jQuery(`<input class=\"cz-switch\" type=\"checkbox\" />`);\n instance.canvas.append($toggle);\n \n $toggle.css({\n \"--cz-switch-handle-padding\": properties.padding + \"px\",\n \"--cz-switch-bg-on\": properties.background_color_on,\n \"--cz-switch-bg-off\": properties.background_color_off,\n \"--cz-switch-bg-disabled\": properties.background_color_disabled,\n \"--cz-switch-bg-disabled-off\": properties.background_color_disabled_off,\n \"--cz-switch-handle-on\": properties.handle_color_on,\n \"--cz-switch-handle-off\": properties.handle_color_off,\n \"--cz-switch-handle-disabled\": properties.handle_color_disabled,\n \"--cz-switch-handle-disabled-off\": properties.handle_color_disabled_off,\n \"--cz-switch-handle-border-color\": properties.handle_border_color,\n \"--cz-switch-handle-border-width\": properties.handle_border_width + \"px\",\n \"--cz-switch-border-color\": properties.border_color,\n \"--cz-switch-border-width\": properties.border_width + \"px\",\n });\n\n $toggle.prop(\"checked\", properties.editor_preview_toggle);\n $toggle.prop(\"disabled\", properties.editor_preview_disabled);\n}"},"initialize":{"fn":"function(instance,context){const $toggle=jQuery('<input class=\"cz-switch\" type=\"checkbox\" />');function updateValue(value,changeDom=!0){value!==instance.data._value&&(instance.data._value=value,changeDom&&$toggle.prop(\"checked\",value),instance.publishAutobinding(value),instance.publishState(\"value\",value))}instance.canvas.append($toggle),instance.canvas.addClass(\"cz-switch-container\"),instance.data.$toggle=$toggle,$toggle.click((function(evt){evt.stopPropagation()}
249)),instance.data._value=null,instance.data.updateValue=updateValue,$toggle.change((function(evt){evt.stopPropagation(),evt.preventDefault(),updateValue($toggle.is(\":checked\")),instance.triggerEvent(\"changed\")})),instance.data.updateStyle=function updateStyle(style){CDBubbleUtils.shallowEqual(style,instance.data.style)||(instance.data.style=style,$toggle.css({\"--cz-switch-handle-padding\":style.padding+\"px\",\"--cz-switch-bg-on\":style.background_color_on,\"--cz-switch-bg-off\":style.background_color_off,\"--cz-switch-bg-disabled\":style.background_color_disabled,\"--cz-switch-bg-disabled-off\":style.background_color_disabled_off,\"--cz-switch-handle-on\":style.handle_color_on,\"--cz-switch-handle-off\":style.handle_color_off,\"--cz-switch-handle-disabled\":style.handle_color_disabled,\"--cz-switch-handle-disabled-off\":style.handle_color_disabled_off,\"--cz-switch-handle-border-color\":style.handle_border_color,\"--cz-switch-handle-border-width\":style.handle_border_width+\"px\",\"--cz-switch-border-color\":style.border_color,\"--cz-switch-border-width\":style.border_width+\"px\"}))},instance.data.updateInitialValue=function updateInitialValue(initialValue){initialValue!==instance.data.initialValue&&(instance.data.initialValue=initialValue,updateValue(initialValue))},instance.data.isAutobinding=!1}"},"update":{"fn":"function(instance,properties,context){const $toggle=instance.data.$toggle;instance.data.updateStyle(properties),null!==properties.autobinding&&void 0!==properties.autobinding?(instance.data.isAutobinding=!0,instance.data.updateValue(properties.autobinding)):(instance.data.isAutobinding=!1,instance.data.updateInitialValue(properties.initial_value)),$toggle.prop(\"disabled\",!!properties.disabled)}"},"reset":{"fn":"function(instance,context){if(!instance.data.isAutobinding){const value=instance.data.initialValue;instance.data.updateValue(value)}}"}},"platform_type":"web"},"AAx":{"display":"Custom Checkbox","property_applications":{"resizable":true,"MinWidth":true,"Padding":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":true,"autobinding_value":"boolean","has_reset_fn":true,"can_fit_width":false,"can_fit_height":false,"fields":{"AAg":{"caption":"Initial Value","name":"initial_value","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":true},"AAh":{"caption":"[On] Tick mark Color","name":"handle_color_on","rank":6,"editor":"Color","in_style":true,"default_val":"rgba(255,255,255,1)"},"AAi":{"caption":"[On] Background","name":"background_color_on","rank":7,"editor":"Color","default_val":"rgba(57,186,118,1)","in_style":true},"AAj":{"caption":"[Off] Background","name":"background_color_off","rank":8,"editor":"Color","default_val":"rgba(237, 177, 180, 1)","in_style":true},"AAk":{"caption":"Disabled","name":"disabled","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"AAl":{"caption":"[Disabled] Background","name":"background_color_disabled","rank":12,"editor":"Color","default_val":"rgba(215,215,215,1)","in_style":true},"AAm":{"caption":"[Disabled] Tick Color","name":"handle_color_disabled","rank":11,"editor":"Color","default_val":"rgba(255, 255, 255, 1)","in_style":true},"AAn":{"caption":"Make sure the checkbox dimension is sensible. Usually it should be a square or circle.","name":"guide","rank":0,"editor":"Label"},"AAo":{"caption":"Border Color","name":"border_color","rank":14,"editor":"Color","default_val":"rgba(0,0,0,1)","in_style":true},"AAp":{"caption":"Border Width","name":"border_width","rank":15,"editor":"StaticNumber","in_style":true,"default_val":1},"AAs":{"caption":"Checkbox Padding","name":"padding","rank":17,"editor":"StaticText","in_style":true,"default_val":"20%"},"AAt":{"caption":"-------------------------- ð½ð¤ð§ððð§ & ðð¥ðððð£ð --------------------------","name":"border_sep","rank":13,"editor":"Label"},"AAu":{"caption":"-------------------------- ðð¨ð¥ð¨ð«ð¬ --------------------------","name":"color_sep","rank":5,"editor":"Label"},"AAv":{"caption":"[Preview] Toggle","name":"editor_preview_toggle","rank":19,"editor":"Checkbox","default_val":false,"in_style":true},"AAy":{"caption":"Indeterminate","name":"indeterminate","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AAz":{"caption":"-------------------------- ððð¢ðð¨ð« --------------------------","name":"editor_sep","rank":18,"editor":"Label"},"ABA":{"caption":"[Preview] Indeterminate","name":"editor_preview_indeterminate","rank":20,"editor":"Checkbox","default_val":false,"in_style":true}
249,"ABD":{"caption":"[Indet.] Background","name":"background_color_indeterminate","rank":10,"editor":"Color","default_val":"rgba(172,172,172,1)","in_style":true},"ABE":{"caption":"[Indet.] Handle Color","name":"handle_color_indeterminate","rank":9,"editor":"Color","default_val":"rgba(255,255,255,1)","in_style":true},"ABF":{"caption":"[Preview] Disabled","name":"editor_preview_disabled","rank":21,"editor":"Checkbox","default_val":false,"in_style":true},"ABI":{"caption":"Border Radius","name":"border_radius","rank":16,"editor":"StaticNumber","default_val":4,"in_style":true},"ABT":{"caption":"To prevent unexpected behavior, Initial Value will be disregarded when using autobinding.","name":"initial_value_info","rank":1,"editor":"Label"}},"states":{"AAw":{"caption":"value","name":"value","value":"boolean","initialization_code":{"fn":"function(properties,context){return properties.initial_value||properties.autobinding||!1}"}}},"events":{"AAf":{"caption":"changed","name":"changed"}},"actions":{"AAc":{"caption":"Change value of","code":{"fn":"function(instance,properties,context){instance.data.updateValue&&instance.data.updateValue(properties.value),instance.triggerEvent(\"changed\")}"},"fields":{"AAd":{"caption":"New Value","name":"value","rank":0,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AAe":{"caption":"Toggle","code":{"fn":"function(instance,properties,context){instance.data.updateValue&&instance.data.updateValue(!instance.data._value),instance.triggerEvent(\"changed\")}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n jQuery(\"html\").height(\"100%\");\n jQuery(\"body\").height(\"100%\");\n jQuery(\"html\").css(\"overflow\", \"hidden\");\n jQuery(\"body\").css(\"overflow\", \"hidden\");\n \n \n const $style = jQuery(`\n<style>\n\t*, *::after, *::before {\n\t\tbox-sizing: border-box;\n\t}\n .cz-checkbox {\n width: 100%;\n height: 100%;\n position: relative;\n background: none;\n outline: none;\n border: none;\n margin: 0;\n padding: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n -o-appearance: none;\n transition: 0.2s;\n --checkmark-svg: url(\"data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0.8 12 9.02'%3E%3Cpath d='M10.293 1.08601L4 7.37901L1.707 5.08601C1.5184 4.90385 1.2658 4.80306 1.0036 4.80534C0.741405 4.80761 0.490592 4.91278 0.305184 5.09819C0.119776 5.2836 0.0146072 5.53441 0.0123288 5.79661C0.0100503 6.05881 0.110845 6.31141 0.293003 6.50001L3.293 9.50001C3.48053 9.68748 3.73484 9.7928 4 9.7928C4.26517 9.7928 4.51947 9.68748 4.707 9.50001L11.707 2.50001C11.8892 2.31141 11.99 2.05881 11.9877 1.79661C11.9854 1.53441 11.8802 1.2836 11.6948 1.09819C11.5094 0.912783 11.2586 0.807614 10.9964 0.805336C10.7342 0.803057 10.4816 0.903852 10.293 1.08601Z' fill='black'%3E%3C/path%3E%3C/svg%3E\");\n --handle-svg: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='28 116 200 24'%3E%3Cpath fill='currentColor' d='M228 128a12 12 0 0 1-12 12H40a12 12 0 0 1 0-24h176a12 12 0 0 1 12 12Z'%3E%3C/path%3E%3C/svg%3E\");\n }\n\n .cz-checkbox:before {\n cursor: pointer;\n position: relative;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n background: var(--cz-checkbox-bg-off, none);\n border: var(--cz-checkbox-border-width, 0px) solid var(--cz-checkbox-border-color, transparent);\n border-radius: var(--cz-checkbox-border-radius, 4px);\n transition: background-color 0.2s;\n }\n\n .cz-checkbox:after {\n cursor: pointer;\n position: absolute;\n display: none;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n mask-image: var(--checkmark-svg);\n -webkit-mask-image: var(--checkmark-svg);\n mask-position: center;\n -webkit-mask-position: center;\n height: calc(100% - var(--cz-checkbox-padding, 0px) * 2);\n aspect-ratio: 1;\n transition: 0.2s;\n content: \"\";\n mask-repeat: no-repeat;\n -webkit-mask-repeat: no-repeat;\n }\n\n\n .cz-checkbox:checked:before {\n background-color: var(--cz-checkbox-bg-on, #39BA76);\n }\n\n .cz-checkbox:checked:after {\n\t\tdisplay: block;\n background-color: var(--cz-checkbox-handle-color-on, #FFFFFF);\n }\n \n .cz-checkbox:indeterminate:before, .cz-checkbox.indeterminate:before {\n background-color: var(--cz-checkbox-bg-indeterminate, #AFAFAF);\n }\n \n .cz-checkbox:indeterminate:after, .cz-checkbox.indeterminate:after {\n display: block;\n mask-image: var(--handle-svg);\n -webkit-mask-image: var(--handle-svg);\n background-color: var(--cz-checkbox-handle-color-indeterminate, #FFFFFF);\n }
249\n\n .cz-checkbox:disabled:before {\n cursor: not-allowed;\n background-color: var(--cz-checkbox-bg-disabled, #D7D7D7);\n }\n\n .cz-checkbox:disabled:after {\n cursor: not-allowed;\n background-color: var(--cz-checkbox-handle-color-disabled, #FFFFFF);\n }\n</style>\t`);\n \n instance.canvas.append($style);\n const $toggle = jQuery(`<input class=\"cz-checkbox\" type=\"checkbox\" />`);\n instance.canvas.append($toggle);\n const style = properties;\n $toggle.css({\n \"--cz-checkbox-padding\": style.padding,\n \"--cz-checkbox-bg-on\": style.background_color_on,\n \"--cz-checkbox-bg-off\": style.background_color_off,\n \"--cz-checkbox-bg-disabled\": style.background_color_disabled,\n \"--cz-checkbox-bg-indeterminate\": style.background_color_indeterminate,\n \"--cz-checkbox-handle-color-on\": style.handle_color_on,\n \"--cz-checkbox-handle-color-disabled\": style.handle_color_disabled,\n \"--cz-checkbox-handle-color-indeterminate\": style.handle_color_indeterminate,\n \"--cz-checkbox-border-color\": style.border_color,\n \"--cz-checkbox-border-width\": style.border_width + \"px\",\n \"--cz-checkbox-border-radius\": style.border_radius + \"px\",\n });\n console.log(properties);\n $toggle.prop(\"checked\", !!properties.editor_preview_toggle);\n $toggle.prop(\"disabled\", !!properties.editor_preview_disabled);\n $toggle.prop(\"indeterminate\", !!properties.editor_preview_indeterminate);\n}"},"initialize":{"fn":"function(instance,context){const $toggle=jQuery('<input class=\"cz-checkbox\" type=\"checkbox\" />');function updateValue(value,changeDom=!0){value!==instance.data._value&&(instance.data._value=value,changeDom&&$toggle.prop(\"checked\",value),instance.publishAutobinding(value),instance.publishState(\"value\",value))}instance.canvas.append($toggle),instance.canvas.addClass(\"cz-checkbox-container\"),instance.data.$toggle=$toggle,instance.data._value=null,instance.data.updateValue=updateValue,$toggle.change((function(evt){evt.stopPropagation(),evt.preventDefault(),updateValue($toggle.is(\":checked\"),!1),instance.triggerEvent(\"changed\")})),$toggle.click((function(evt){evt.stopPropagation()})),instance.data.updateStyle=function updateStyle(style){CDBubbleUtils.shallowEqual(style,instance.data.style)||(instance.data.style=style,$toggle.css({\"--cz-checkbox-padding\":style.padding,\"--cz-checkbox-border-radius\":style.border_radius+\"px\",\"--cz-checkbox-bg-on\":style.background_color_on,\"--cz-checkbox-bg-off\":style.background_color_off,\"--cz-checkbox-bg-disabled\":style.background_color_disabled,\"--cz-checkbox-bg-indeterminate\":style.background_color_indeterminate,\"--cz-checkbox-handle-color-on\":style.handle_color_on,\"--cz-checkbox-handle-color-disabled\":style.handle_color_disabled,\"--cz-checkbox-handle-color-indeterminate\":style.handle_color_indeterminate,\"--cz-checkbox-border-color\":style.border_color,\"--cz-checkbox-border-width\":style.border_width+\"px\"}))},instance.data.updateInitialValue=function updateInitialValue(initialValue){initialValue!==instance.data.initialValue&&(instance.data.initialValue=initialValue,updateValue(initialValue))},instance.data.isAutobinding=!1}"},"update":{"fn":"function(instance,properties,context){const $toggle=instance.data.$toggle;instance.data.updateStyle(properties),null!==properties.autobinding&&void 0!==properties.autobinding?(instance.data.isAutobinding=!0,instance.data.updateValue(properties.autobinding)):(instance.data.isAutobinding=!1,instance.data.updateInitialValue(properties.initial_value)),$toggle.prop(\"disabled\",!!properties.disabled),$toggle.prop(\"indeterminate\",!!properties.indeterminate)}"},"reset":{"fn":"function(instance,context){if(!instance.data.isAutobinding){const value=instance.data.initialValue;instance.data.updateValue(value)}}"}},"platform_type":"web"}}}; 250window._bubble_page_load_data.plugins_size['1680110374647x249108010620944400'] = 22484; 251window.preloaded['plugin/third_party:1680110374647x249108010620944400:1.8.0'] = true; 252window.plugins["1691484030910x493621572171989000"] = {"human":"Viewport Detector","dependencies":{"use_jquery":true,"plugin_api_version":"4"},"plugin_elements":{"AAC":{"display":"viewport Detect","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAM":{"caption":"Element ID","name":"element_id","rank":0,"editor":"DynamicValue","value":"text","default_val":"id"},"AAU":{"caption":"Set this as the id of the element you want to monitor as it leaves or enters the viewport","name":"info","rank":1,"editor":"Label"},"AAV":{"caption":"Threshold","name":"threshold","rank":2,"editor":"DynamicValue","value":"number","default_val":0,"optional":true},"AAW":{"caption":"Offsets","name":"offsets","rank":3,"editor":"Label"},"AAX":{"caption":"Bottom","name":"bottom","rank":5,"editor":"StaticNumber","default_val":0},"AAY":{"caption":"Right","name":"right","rank":6,"editor":"StaticNumber","default_val":0},"AAZ":{"caption":"Timeout","name":"timeout","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"AAa":{"caption":"Top","name":"top","rank":4,"editor":"StaticNumber","default_val":0},"AAb":{"caption":"Left","name":"left","rank":7,"editor":"StaticNumber","default_val":0}},"states":{"AAT":{"caption":"within view port?","name":"is_visible","value":"boolean","initialization_code":{"fn":"function(properties,context){return!1}"}}},"events":{"AAD":{"caption":"Enters screen","name":"enters_viewport"},"AAE":{"caption":"Exits screen","name":"exits_viewport"}},"code":{"preview":{"fn":"function(instance, properties) {\n \n\tvar id = \"vdetector_\"+ Math.floor((Math.random() * 1000000) + 1);\n var mydiv = \"<div id='\" + id + \"' style='width:100%;height:99%;border:none;'><img style='width: 100%; height: auto; max-width: 100%' max-width='100%' width='100%' height='auto' src='//7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1656081805029x913531435020611200/eye2.svg'/></div>\";\n instance.canvas.append(mydiv);\n\n}"},"initialize":{"fn":"function(instance,context){var id=\"vdetector_\"+Math.floor(1e6*Math.random()+1),mydiv=\"<div id='\"+id+\"' style='width:100%;height:100%'></div>\",idToDetect;instance.canvas.append(mydiv),$(document).ready((function(){idToDetect=\"id\"==instance.data.id?id:instance.data.id;const target=document.getElementById(idToDetect),options={rootMargin:instance.data.margintop+\"px \"+instance.data.marginright+\"px \"+instance.data.marginbottom+\"px \"+instance.data.marginleft+\"px\"};instance.data.threshold>0&&(options.threshold=instance.data.threshold);const onIntersection=undefined;let observer;new IntersectionObserver((entries=>
252{entries.forEach((entry=>{entry.isIntersecting?setTimeout((()=>{instance.publishState(\"is_visible\",!0),instance.triggerEvent(\"enters_viewport\")}),instance.data.timeout):setTimeout((()=>{instance.publishState(\"is_visible\",!1),instance.triggerEvent(\"exits_viewport\")}),instance.data.timeout)}))}),options).observe(target)}))}"},"update":{"fn":"function(instance,properties,context){\"id\"==properties.element_id?instance.data.id=\"id\":instance.data.id=properties.element_id,properties.threshold>0?instance.data.threshold=properties.threshold:instance.data.threshold=0,instance.data.threshold=properties.threshold,instance.data.timeout=properties.timeout,instance.data.margintop=properties.top,instance.data.marginright=properties.right,instance.data.marginbottom=properties.bottom,instance.data.marginleft=properties.left}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 253window._bubble_page_load_data.plugins_size['1691484030910x493621572171989000'] = 3461; 254window.preloaded['plugin/third_party:1691484030910x493621572171989000:1.3.0'] = true; 255window.plugins["1697385488651x469747637578104800"] = {"human":"â³ï¸ OTP Input","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"counter":{"display":"OTP Input","property_applications":{"Background":false,"MinWidth":true,"resizable":true,"Font":true,"Border":false,"Padding":true,"BoxShadow":false},"add_is_visible":true,"has_reset_fn":true,"fields":{"AAT":{"caption":"Character Count","name":"digitCount","rank":1,"editor":"StaticNumber","default_val":4},"AAW":{"caption":"Input Gap","name":"style_inputGap","rank":4,"editor":"StaticNumber","default_val":8,"in_style":true},"AAZ":{"caption":"Input Border Width","name":"style_inputBorderWidth","rank":5,"editor":"StaticNumber","default_val":1,"in_style":true},"AAa":{"caption":"Input Border Color","name":"style_inputBorderColor","rank":6,"editor":"Color","default_val":"rgba(205, 205, 205, 1)","in_style":true},"AAb":{"caption":"Input Border Radius","name":"style_inputBorderRadius","rank":7,"editor":"StaticNumber","default_val":4,"in_style":true},"AAc":{"caption":"Input Background Color","name":"style_inputBackgroundColor","rank":8,"editor":"Color","in_style":true,"default_val":"rgba(238,238,238,1)"},"AAd":{"caption":"Focused Background Color","name":"style_focusedBackgroundColor","rank":9,"editor":"Color","default_val":"rgba(217,231,255,1)","in_style":true},"AAe":{"caption":"Focused Border Color","name":"style_focusedBorderColor","rank":10,"editor":"Color","default_val":"rgba(94,111,209,1)","in_style":true},"AAf":{"caption":"Separator Width","name":"style_separatorWidth","rank":15,"editor":"StaticNumber","default_val":10,"in_style":true},"AAg":{"caption":"Separator Height","name":"style_separatorHeight","rank":16,"editor":"StaticNumber","default_val":2,"in_style":true},"AAh":{"caption":"Separator Color","name":"style_separatorColor","rank":18,"editor":"Color","default_val":"rgba(76,76,76,1)","in_style":true},"AAj":{"caption":"Show Separator","name":"style_showSeparator","rank":19,"editor":"Checkbox","in_style":true,"default_val":true},"AAk":{"caption":"----------- ð¦ð§ð¬ðð -----------","name":"style_caption","rank":3,"editor":"Label"},"AAl":{"caption":"Disabled","name":"disabled","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"AAq":{"caption":"Input Type","name":"inputType","rank":0,"editor":"Dropdown","default_val":"text"},"AAr":{"caption":"Disabled Background Color","name":"style_disabledBackgroundColor","rank":12,"editor":"Color","default_val":"rgba(205, 205, 205, 1)","in_style":true},"AAs":{"caption":"Disabled Border Color","name":"style_disabledBorderColor","rank":13,"editor":"Color","default_val":"rgba(175,175,175,1)","in_style":true},"AAt":{"caption":"[Preview] Disabled","name":"style_previewDisabled","rank":20,"editor":"Checkbox","in_style":true,"default_val":false},"AAu":{"caption":"Focused Font Color","name":"style_focusedFontColor","rank":11,"editor":"Color","in_style":true,"default_val":"rgba(94, 111, 209, 1)"},"AAv":{"caption":"Disabled Font Color","name":"style_disabledFontColor","rank":14,"editor":"Color","default_val":"rgba(52,52,52,1)","in_style":true},"AAw":{"caption":"Separator Border Radius","name":"style_separatorRadius","rank":17,"editor":"StaticNumber","default_val":4,"optional":false,"in_style":true}},"states":{"AAU":{"caption":"value","name":"value","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAo":{"caption":"completed","name":"completed","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAV":{"caption":"changed","name":"changed"},"AAn":{"caption":"completed","name":"completed"}},"code":{"initialize":{"fn":"function(instance,context){const elementName=\"otp-input\";instance.data._elementReady=!1,instance.data._element=document.createElement(\"otp-input\"),instance.canvas.append(instance.data._element),instance.data._tryInject=function tryInject(retryLeft,properties){const element=instance.data._element;!retryLeft||retryLeft<=0||!element||(element._vdom?(element.properties=properties,element.instance||(element.instance=instance),element.bubbleContext||(element.bubbleContext=context)):setTimeout((()=>tryInject(retryLeft-1,properties)),200))}}"},"update":{"fn":"function(instance,properties,context){instance.data._tryInject(50,properties)}"},"reset":{"fn":"function(instance,context){instance.data.reset&&instance.data.reset()}"},"preview":{"fn":"function(instance, properties) {\n function loadJS(url, module = false) {\n return new Promise((resolve, reject) => {\n let scriptEle = document.createElement(\"script\");\n document.head.appendChild(scriptEle);\n scriptEle.onload = function () {\n resolve();\n }\n scriptEle.setAttribute(\"type\", module ? \"module\" : \"text/javascript\" );\n scriptEle.setAttribute(\"src\", url);\n });\n }\n\n /* Make the appropriate changes to the following lines */\n const DEV = false;\n const ELEMENT_NAME = \"otp-input\";
255\n const PACKAGE_LINK = `https://www.unpkg.com/@citizendev/[email protected]`;\n\n let jsLink, cssLink;\n\n if (DEV) {\n cssLink = \"http://localhost:5173/src/style.css\"\n jsLink = \"http://localhost:5173/src/index.ts\";\n } else {\n cssLink = `${PACKAGE_LINK}/dist/style.css`; \n jsLink = `${PACKAGE_LINK}/dist/index.umd.js`;\n }\n\n\n\n jQuery(\"html\").height(\"100%\");\n jQuery(\"body\").height(\"100%\");\n\n jQuery(\"head\").append(`<link rel=\"stylesheet\" href=\"${cssLink}\" />`);\n\n (async () => {\n if (DEV) {\n await loadJS(\"http://localhost:5173/@vite/client\", true);\n }\n \n await loadJS(\"https://www.unpkg.com/preact@^10.19.1/dist/preact.umd.js\");\n await loadJS(\"https://www.unpkg.com/preact@^10.19.1/hooks/dist/hooks.umd.js\");\n await loadJS(\"https://www.unpkg.com/preact@^10.19.1/compat/dist/compat.umd.js\");\n await loadJS(\"https://www.unpkg.com/preact-custom-element@^4.2.1/dist/preact-custom-element.umd.js\");\n await loadJS(\"https://www.unpkg.com/@preact/signals-core@^1.5.1/dist/signals-core.min.js\");\n await loadJS(\"https://www.unpkg.com/@preact/signals@^1.2.2/dist/signals.min.js\");\n await loadJS(jsLink, DEV);\n \n const element = document.createElement(ELEMENT_NAME);\n instance.canvas.append(element);\n\n function tryInject(retryLeft, properties) {\n if (!retryLeft || retryLeft <= 0 || !element) {\n return;\n }\n if (!element._vdom) {\n setTimeout(() => tryInject(retryLeft - 1, properties), 200);\n return;\n }\n\n element.properties = properties;\n\n if (!element.instance) {\n element.instance = instance;\n element.isPreview = true;\n }\n }\n\n tryInject(25, properties);\n })();\n\n\n}"}},"platform_type":"web"}}}; 256window._bubble_page_load_data.plugins_size['1697385488651x469747637578104800'] = 6998; 257window.preloaded['plugin/third_party:1697385488651x469747637578104800:1.1.2'] = true; 258window.plugins["1701688344571x722411672295964700"] = {"human":"Password Strength Checker","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"Password Strength Bar","property_applications":{"MinWidth":true,"resizable":true,"Background":false,"Border":true,"Font":true},"add_is_visible":true,"support_autobinding":false,"autobinding_value":"text","can_fit_width":true,"can_fit_height":true,"fields":{"AAD":{"caption":"Password Strength","name":"password_strength","rank":0,"editor":"DynamicValue","value":"number"},"AAJ":{"caption":"Step 1 (Weak) color","name":"weak_color","rank":1,"editor":"Color","default_val":"rgba(255, 0, 0, 1)","optional":false},"AAK":{"caption":"Step 2 (Moderate) color","name":"moderate_color","rank":2,"editor":"Color","default_val":"rgba(249, 224, 118, 1)"},"AAL":{"caption":"Step 3 (Strong) color","name":"strong_color","rank":3,"editor":"Color","default_val":"rgba(0, 128, 0, 1)"}},"code":{"preview":{"fn":"function(instance, properties) {\n var container = jQuery(\"<div style='display: flex; align-items: center; padding-top: 5px; padding-bottom: 5px;'></div>\");\n\tvar barContainer = jQuery(\"<div style='flex-grow: 1; background: #F5F5F5'></div>\");\n var bar = jQuery(\"<div style='width: 33%'></div>\");\n var strengthText = jQuery(\"<div style='flex-shrink: 0; padding-left: 10px;'></div>\");\n\n barContainer.append(bar);\n container.append(barContainer);\n container.append(strengthText);\n \n barContainer.css(\"border-radius\", properties.bubble.border_roundness() + \"px\"); // Add rounded corners\n \n bar.css(\"height\", \"10px\"); // Set the height of the strength bar\n bar.css(\"background\", \"#F5F5F5\"); // Default color\n bar.css(\"border-radius\", properties.bubble.border_roundness() + \"px\"); // Add rounded corners\n \n \tstrengthText.css(\"color\", properties.bubble.font_color());\n strengthText.css(\"font-size\", properties.bubble.font_size() + \"px\");\n strengthText.css(\"font-weight\", properties.bubble.bold() ? \"bold\" : \"none\");\n \n strengthText.text(\"No Password\"); // Set default text for preview\n\n instance.canvas.append(container);\n}\n"},"initialize":{"fn":"function(instance,context){var container=context.jQuery(\"<div style='display: flex; align-items: center; justify-content: space-between; padding-top: 5px; padding-bottom: 5px;'></div>\"),barContainer=context.jQuery(\"<div style='flex-grow: 1; background: #F5F5F5'></div>\"),bar=context.jQuery(\"<div></div>\"),strengthText=context.jQuery(\"<div style='padding-left: 10px;'></div>\");barContainer.append(bar),container.append(barContainer),container.append(strengthText),instance.canvas.append(container),barContainer.css(\"border-radius\",\"2px\"),bar.css(\"height\",\"10px\"),bar.css(\"background\",\"#F5F5F5\"),bar.css(\"border-radius\",\"2px\"),instance.data.barContainer=barContainer,instance.data.bar=bar,instance.data.strengthText=strengthText}"},"update":{"fn":"function(instance,properties,context){instance.data.barContainer.css(\"border-radius\",properties.bubble.border_roundness()+\"px\"),instance.data.bar.css(\"border-radius\",properties.bubble.border_roundness()+\"px\"),null===properties.password_strength?(instance.data.bar.css(\"background\",\"#F5F5F5\"),instance.data.strengthText.text(\"No Password\")):properties.password_strength>=0&&properties.password_strength<=33?(instance.data.bar.css(\"width\",\"33%\"),instance.data.bar.css(\"background\",properties.weak_color),instance.data.strengthText.text(\"Weak\")):properties.password_strength>33&&properties.password_strength<=66?(instance.data.bar.css(\"width\",\"66%\"),instance.data.bar.css(\"background\",properties.moderate_color),instance.data.strengthText.text(\"Moderate\")):properties.password_strength>66?(instance.data.bar.css(\"width\",\"100%\"),instance.data.bar.css(\"background\",properties.strong_color),instance.data.strengthText.text(\"Strong\")):(instance.data.bar.css(\"width\",\"33%\"),instance.data.bar.css(\"background\",properties.weak_color),instance.data.strengthText.text(\"Weak\"))}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 259window._bubble_page_load_data.plugins_size['1701688344571x722411672295964700'] = 4138; 260window.preloaded['plugin/third_party:1701688344571x722411672295964700:1.2.0'] = true; 261window.plugins["1704238621959x968466571491278800"] = {"human":"Convert PDF to Text","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_actions":{"AAC":{"display":"convertPDFtoText","type":"server_side","return_value":{"AAE":{"caption":"text","name":"text","rank":0,"value":"text"},"AAF":{"caption":"error","name":"error_message","rank":1,"value":"text"}},"fields":{"AAD":{"caption":"pdf_url","name":"pdf_url","rank":0,"editor":"DynamicValue","value":"text"}}}}}; 262window._bubble_page_load_data.plugins_size['1704238621959x968466571491278800'] = 423; 263window.preloaded['plugin/third_party:1704238621959x968466571491278800:2.1.0'] = true; 264window.plugins["1711836385429x131701173704458240"] = {"human":"Str
264ipe Connect Embedded Components","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_api":{"human":"SCEC by Brandarrow - Stripe Connect","auth":"private_key_header","shared_headers":{"ABy":{"key":"Content-Type","value":"application/x-www-form-urlencoded","private":true,"visibility":"hidden"}},"calls":{"ADF":{"name":"Create Account Session","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/account_sessions","params":{"ADG":{"key":"account","value":"acct_1OqTY7BODbP996AY","private":true,"querystring":true,"doc":"The connect account's Stripe ID."},"ADH":{"key":"components[account_management][enabled]","value":"false","private":true,"querystring":true,"doc":"Whether the account management embedded component is enabled."},"ADI":{"key":"components[account_management][features][external_account_collection]","value":"false","private":true,"querystring":true,"doc":"Whether to allow platforms to control bank account collection for their connected accounts within the account management component."},"ADJ":{"key":"components[account_onboarding][enabled]","value":"false","private":true,"querystring":true,"doc":"Whether the account onboarding embedded component is enabled."},"ADK":{"key":"components[account_onboarding][features][external_account_collection]","value":"false","private":true,"querystring":true,"doc":"Whether to allow platforms to control bank account collection for their connected accounts within the account onboarding component."},"ADL":{"key":"components[balances][enabled]","value":"false","private":true,"querystring":true,"doc":"Whether the balances embedded component is enabled."},"ADM":{"key":"components[balances][features][edit_payout_schedule]","value":"false","private":true,"querystring":true,"doc":"Whether to allow the payout schedule to be changed within the balances component."},"ADN":{"key":"components[balances][features][instant_payouts]","value":"false","private":true,"querystring":true,"doc":"Whether to allow the creation of instant payouts within the balances component."},"ADO":{"key":"components[balances][features][standard_payouts]","value":"false","private":true,"querystring":true,"doc":"Whether to allow the creation of standard payouts within the balances component."},"ADP":{"key":"components[documents][enabled]","value":"false","private":true,"querystring":true,"doc":"Whether the documents embedded component is enabled."},"ADR":{"key":"components[notification_banner][enabled]","value":"true","private":true,"querystring":true,"doc":"Whether the notification banner embedded component is enabled."},"ADS":{"key":"components[notification_banner][features][external_account_collection]","value":"true","private":true,"querystring":true,"doc":"Whether to allow platforms to control bank account collection for their connected accounts within the notification banner component."},"ADT":{"key":"components[payment_details][enabled]","value":"false","private":true,"querystring":true,"doc":"Whether the payment details embedded component is enabled."},"ADU":{"key":"components[payment_details][features][capture_payments]","value":"false","private":true,"querystring":true,"doc":"Whether to allow capturing and cancelling payment intents within the payment details component."},"ADV":{"key":"components[payment_details][features][destination_on_behalf_of_charge_management]","value":"false","private":true,"querystring":true,"doc":"Whether to allow connected accounts to manage destination charges created on their behalf within the payment details component."},"ADW":{"key":"components[payment_details][features][dispute_management]","value":"false","private":true,"querystring":true,"doc":"Whether to allow responding to disputes, including submitting evidence and accepting disputes, within the payment details component."},"ADX":{"key":"components[payment_details][features][refund_management]","value":"false","private":true,"querystring":true,"doc":"Whether to allow sending refunds within the payment details component."},"ADY":{"key":"components[payments][enabled]","value":"false","private":true,"querystring":true,"doc":"Whether the payments embedded component is enabled."},"ADZ":{"key":"components[payments][features][capture_payments]","value":"false","private":true,"querystring":true,"doc":"Whether to allow capturing and cancelling payment intents within the payments component."},"ADa":{"key":"components[payments][features][destination_on_behalf_of_charge_management]","value":"false","private":true,"querystring":true,"doc":"Whether to allow connected accounts to manage destination charges created on their behalf within the payments component."},"ADb":{"key":"components[payments][features][dispute_management]","value":"false","private":true,"querystring":true,"doc":"Whether to allow responding to disputes, including submitting evidence and accepting disputes, within the payments component."},"ADc":{"key":"components[payments][features][refund_management]","value":"false","private":true,"querystring":true,"doc":"Whether to allow sending refunds within the payments component."},"ADd":{"key":"components[payouts][enabled]","value":"false","private":true,"querystring":true,"doc":"Whether the payouts embedded component is enabled."},"ADe":{"key":"components[payouts][features][edit_payout_schedule]","value":"false","private":true,"querystring":true,"doc":"Whether to allow the payout schedule to be changed within the payouts component."},"ADf":{"key":"components[payouts][features][instant_payouts]","value":"false","private":true,"querystring":true,"doc":"Whether to allow the creation of instant payouts within the payouts component."},"ADg":{"key":"components[payouts][features][standard_payouts]","value":"false","private":true,"querystring":true,"doc":"Whether to allow the creation of standard payouts within the payouts component."},"ADh":{"key":"components[payouts_list][enabled]","value":"false","private":true,"optional":false,"querystring":true,"doc":"Whether the payouts list embedded component is enabled."},"ADn":{"value":"false","private":true,"doc":"Whether the tax registration embedded component is enabled.","querystring":true,"key":"components[tax_registrations][enabled]"},"ADo":{"value":"false","private":true,"querystring":true,"doc":"Whether the tax settings embedded component is enabled.","key":"components[tax_settings][enabled]"}},"initialized":true,"types":"{\"plugin_api.ADF\":{\"caption\":\"Create Account Session\",\"fields\":{\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_account\":{\"ret_btype\":\"text\",\"caption\":\"account\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_components.account_management.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components account_management enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"account_management\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.account_management.features.external_account_collection\":{\"ret_btype\":\"boolean\",\"caption\":\"components account_management features external_account_collection\",\"sample_value\":\"\",\"path\":[\"components\",\"account_management\",\"features\",\"external_account_collection\"],\"ret_value\":\"boolean\"},\"_p_components.account_onboarding.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components account_onboarding enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"account_onboarding\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.account_onboarding.features.external_account_collection\":{\"ret_btype\":\"boolean\",\"caption\":\"components account_onboarding features external_account_collection\",\"sample_value\":\"\",\"path\":[\"components\",\"account_onboarding\",\"features\",\"external_account_collection\"],\"ret_value\":\"boolean\"},\"_p_components.balances.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components balances enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"balances\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.balances.features.edit_payout_schedule\":{\"ret_btype\":\"boolean\",\"caption\":\"components balances features edit_payout_schedule\",\"sample_value\":\"\",\"path\":[\"components\",\"balances\",\"features\",\"edit_payout_schedule\"],\"ret_value\":\"boolean\"},\"_p_components.balances.features.instant_payouts\":{\"ret_btype\":\"boolean\",\"caption\":\"components balances features instant_payouts\",\"sample_value\":\"\",\"path\":[\"components\",\"balances\",\"features\",\"instant_payouts\"],\"ret_value\":\"boolean\"},\"_p_components.balances.features.standard_payouts\":{\"ret_btype\":\"boolean\",\"caption\":\"components balances features standard_payouts\",\"sample_value\":\"\",\"path\":[\"components\",\"balances\",\"features\",\"standard_payouts\"],\"ret_value\":\"boolean\"},\"_p_components.documents.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components documents enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"documents\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.notification_banner.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components notification_banner enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"notification_banner\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.notification_banner.features.external_account_collection\":{\"ret_btype\":\"boolean\",\"caption\":\"components notification_banner features external_account_collection\",\"sample_value\":\"\",\"path\":[\"components\",\"notification_banner\",\"features\",\"external_account_collection\"],\"ret_value\":\"boolean\"},\"_p_components.payment_details.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components payment_details enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"payment_details\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.payment_details.features.capture_payments\":{\"ret_btype\":\"boolean\",\"caption\":\"components payment_details features capture_payments\",\"sample_value\":\"\",\"path\":[\"components\",\"payment_details\",\"features\",\"capture_payments\"],\"ret_value\":\"boolean\"},\"_p_components.payment_details.features.destination_charge_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payment_details features destination_charge_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payment_details\",\"features\",\"destination_charge_management\"],\"ret_value\":\"boolean\"},\"_p_components.payment_details.features.destination_on_behalf_of_charge_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payment_details features destination_on_behalf_of_charge_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payment_details\",\"features\",\"destination_on_behalf_of_charge_management\"],\"ret_value\":\"boolean\"},\"_p_components.payment_details.features.dispute_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payment_details features dispute_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payment_details\",\"features\",\"dispute_management\"],\"ret_value\":\"boolean\"},\"_p_components.payment_details.features.refund_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payment_details features refund_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payment_details\",\"features\",\"refund_management\"],\"ret_value\":\"boolean\"},\"_p_components.payments.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components payments enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"payments\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.payments.features.capture_payments\":{\"ret_btype\":\"boolean\",\"caption\":\"components payments features capture_payments\",\"sample_value\":\"\",\"path\":[\"components\",\"payments\",\"features\",\"capture_payments\"],\"ret_value\":\"boolean\"},\"_p_components.payments.features.destination_charge_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payments features destination_charge_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payments\",\"features\",\"destination_charge_management\"],\"ret_value\":\"boolean\"},\"_p_components.payments.features.destination_on_behalf_of_charge_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payments features destination_on_behalf_of_charge_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payments\",\"features\",\"destination_on_behalf_of_charge_management\"],\"ret_value\":\"boolean\"},\"_p_components.payments.features.dispute_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payments features dispute_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payments\",\"features\",\"dispute_management\"],\"ret_value\":\"boolean\"},\"_p_components.payments.features.refund_management\":{\"ret_btype\":\"boolean\",\"caption\":\"components payments features refund_management\",\"sample_value\":\"\",\"path\":[\"components\",\"payments\",\"features\",\"refund_management\"],\"ret_value\":\"boolean\"},\"_p_components.payouts.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components payouts enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"payouts\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_components.payouts.features.edit_payout_schedule\":{\"ret_btype\":\"boolean\",\"caption\":\"components payouts features edit_payout_schedule\",\"sample_value\":\"\",\"path\":[\"components\",\"payouts\",\"features\",\"edit_payout_schedule\"],\"ret_value\":\"boolean\"},\"_p_components.payouts.features.instant_payouts\":{\"ret_btype\":\"boolean\",\"caption\":\"components payouts features instant_payouts\",\"sample_value\":\"\",\"path\":[\"components\",\"payouts\",\"features\",\"instant_payouts\"],\"ret_value\":\"boolean\"},\"_p_components.payouts.features.standard_payouts\":{\"ret_btype\":\"boolean\",\"caption\":\"components payouts features standard_payouts\",\"sample_value\":\"\",\"path\":[\"components\",\"payouts\",\"features\",\"standard_payouts\"],\"ret_value\":\"boolean\"},\"_p_components.payouts_list.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"components payouts_list enabled\",\"sample_value\":\"\",\"path\":[\"components\",\"payouts_list\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_expires_at\":{\"ret_btype\":\"date_unix\",\"caption\":\"expires_at\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_read_only\":{\"ret_btype\":\"boolean\",\"caption\":\"read_only\",\"sample_value\":\"\",\"ret_value\":\"boolean\"}}}}","ret_value":"api.1711836385429x131701173704458240.plugin_api.ADF"}}}
264,"plugin_elements":{"AAC":{"display":"Stripe Connect Embedded Components","property_applications":{"resizable":true,"MinWidth":false,"Padding":false,"Background":false},"add_is_visible":true,"can_fit_width":false,"can_fit_height":false,"states":{"ADj":{"caption":"loading?","name":"scecIsLoading","value":"boolean","initialization_code":{"fn":"function(n,t){const _0x474242=['MTcxMTgzNjM4NTQyOXgxMzE3MDExNzM3MDQ0NTgyNDA='];{}}"}}},"events":{"ADk":{"caption":"Payment Details is closed","name":"scec_payment_details_close"},"ADp":{"caption":"Tax Registration ID added","name":"scec_tax_registrations_callback"},"ADr":{"caption":"Tax Settings updated","name":"scec_tax_settings_callback"}},"actions":{"AAx":{"caption":"Initialize Account Session","code":{"fn":"function(e,t,a){const _0x474242=['MTcxMTgzNjM4NTQyOXgxMzE3MDExNzM3MDQ0NTgyNDA='];const _0x6e0c12=_0x4346;(function(_0x3eb1e7,_0x510f2c){const _0x7dd66f={_0x561b25:0xfd,_0x2375ad:0x102,_0x34fdc0:0x11a,_0x96bbab:0x107,_0x1092a4:0x105},_0x1abba9=_0x4346,_0x1b9e95=_0x3eb1e7();while(!![]){try{const _0x4d54ae=parseInt(_0x1abba9(0x113))/0x1+parseInt(_0x1abba9(_0x7dd66f._0x561b25))/0x2+-parseInt(_0x1abba9(0x125))/0x3+-parseInt(_0x1abba9(0xfc))/0x4*(-parseInt(_0x1abba9(_0x7dd66f._0x2375ad))/0x5)+parseInt(_0x1abba9(_0x7dd66f._0x34fdc0))/0x6+-parseInt(_0x1abba9(_0x7dd66f._0x96bbab))/0x7*(-parseInt(_0x1abba9(_0x7dd66f._0x1092a4))/0x8)+-parseInt(_0x1abba9(0x11e))/0x9;if(_0x4d54ae===_0x510f2c)break;else _0x1b9e95['push'](_0x1b9e95['shift']());}catch(_0x4fb770){_0x1b9e95['push'](_0x1b9e95['shift']());}}}(_0x53fd,0xd2598));function _0x53fd(){const _0x3951fc=['Cgf5B3v0CW','zgLHBg9N','Dhj1zq','nfjjwMPtzq','mZm1odiZmKDIthHeBG','DhjPz2DLCKv2zw50','Cgf5BwvUDc1KzxrHAwXZ','C2nLy190yxHFCMvNAxn0CMf0Aw9UC19JywXSyMfJAW','C2nLy1b1yMXPC2HHyMXLs2v5','ndKXotK0nvLpC2zqBG','C2v0','C2nLy0nVBg9YuhjPBwfYEq','mtm2uePMBNrT','C2v0ugf5BwvUDa','mta5mtKZAMHlwgn1','Bw1Ht0C','qwnJB3vUDcbpBMjVyxjKAw5N','C2v0t25bzNrLCLrHEfjLz2LZDhjHDgLVBKfKzgvK','u2LKzwjHCG','C2nLy0zVBNrtAxPL','q29UDgfPBMvYigvSzw1LBNqGBM90igzVDw5KlG','C2nLy1bHEw1LBNrjra','C2nLy0LZtg9HzgLUzW','ywnJB3vUDc1VBMjVyxjKAw5N','CMvTB3zL','ugf5B3v0CYbmAxn0','otC3mJK0tvLovuv6','C2v0rgLZCgXHEuHLywrpzMzPy2vdB3vUDhjPzxm','AgLZDg9YEq','C2nLy1rHEfjLz2LZDhjHDgLVBLnLDerPC3bSyxLdB3vUDhjPzxm','y3jLyxrL','C2nLy1rHEfnLDhrPBMDZu2v0rgLZCgXHEuHLywrpzMzPy2vdB3vUDhjPzxm','u3rYAxbLq29UBMvJDa','nty3mtC3nK1QuunYAa','yxbWzw5Kq2HPBgq','C2nLy09UyM9HCMrPBMDfEgL0ugfYyw1LDgvY','ChvIBgLZAfn0yxrL','mJG0otu0ndbLq0fQv1e','C2v0t25dBg9Zzq','C2v0t25uyxHtzxr0Aw5NC1vWzgf0zwq','CMDIka','wLbICuO','sw52ywXPzcbJB21WB25LBNqGC2vSzwn0Aw9U','Aw5PDa','mJq2otm3oeTTteTRza','B25mB2fK','Dgf4lxjLz2LZDhjHDgLVBNm','y0X4A1m','ChvZAfn0yxrL','C2nLy1nWywnPBMDvBML0','Bwf0y2G','rg9JDw1LBNrZ','Bg9NB3v0','C2v0t25fEgL0','rxjYB3iGzhvYAw5Nifn0CMLWzsbdB25Uzwn0igLUAxrPywXPEMf0Aw9UoG','ywnJB3vUDc1Tyw5Hz2vTzw50','C2v0rgLZCgXHEunVDw50CMLLCW','C2nLy1rHEfnLDhrPBMDZu2v0sgLKzvbYB2r1y3ruyxHdB2rLu2vSzwn0B3i','vgf4ifnLDhrPBMDZ'];_0x53fd=function(){return _0x3951fc;};return _0x53fd();}function _0x4346(_0x322e72,_0x57e27a){const _0x53fd77=_0x53fd();return _0x4346=function(_0x4346d7,_0x49ed0c){_0x4346d7=_0x4346d7-0xef;let _0x18402f=_0x53fd77[_0x4346d7];if(_0x4346['EINPcY']===undefined){var _0x39951c=function(_0x348cb2){const _0x5e7b44='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x546ada='',_0x381c18='';for(let _0x4ed17e=0x0,_0x549f32,_0x11fdc6,_0x16313d=0x0;_0x11fdc6=_0x348cb2['charAt'](_0x16313d++);~_0x11fdc6&&(_0x549f32=_0x4ed17e%0x4?_0x549f32*0x40+_0x11fdc6:_0x11fdc6,_0x4ed17e++%0x4)?_0x546ada+=String['fromCharCode'](0xff&_0x549f32>>(-0x2*_0x4ed17e&0x6)):0x0){_0x11fdc6=_0x5e7b44['indexOf'](_0x11fdc6);}for(let _0x1638c6=0x0,_0x4c3156=_0x546ada['length'];_0x1638c6<_0x4c3156;_0x1638c6++){_0x381c18+='%'+('00'+_0x546ada['charCodeAt'](_0x1638c6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x381c18);};_0x4346['yDuZXF']=_0x39951c,_0x322e72=arguments,_0x4346['EINPcY']=!![];}const _0x21ad56=_0x53fd77[0x0],_0x408534=_0x4346d7+_0x21ad56,_0xda646a=_0x322e72[_0x408534];return!_0xda646a?(_0x18402f=_0x4346['yDuZXF'](_0x18402f),_0x322e72[_0x408534]=_0x18402f):_0x18402f=_0xda646a,_0x18402f;},_0x4346(_0x322e72,_0x57e27a);}{e['publishState']('scecIsLoading',!0x0);let c=t[_0x6e0c12(0x101)],n=t['scecClientSecret'],r;function s(_0x4328e0){const [_0x22fc42,_0x598904,_0x3c5e9f]=_0x4328e0['match'](/\\d+/g);return'rgb('+_0x22fc42+','+_0x598904+','+_0x3c5e9f+')';}switch(t['scecOverlayType']){case'Popup':r=_0x6e0c12(0xfa);break;case _0x6e0c12(0x10b):r='drawer';}window[_0x6e0c12(0x119)]=window['StripeConnect']||{}
264,StripeConnect[_0x6e0c12(0x126)]=()=>{const _0x4f4f8d={_0x33225f:0x10c,_0x2a337e:0xef,_0x59e9da:0x104,_0x2dc969:0x117,_0x368f15:0x117,_0x4240ed:0xff,_0x3b7cd8:0x10e,_0x27b9c0:0x11f,_0x2430d8:0x109,_0x377c8e:0x117,_0x39ddbe:0xf5,_0x466285:0x127,_0xfd5cb8:0xf6,_0x41b123:0x116,_0x46bb4b:0x10a,_0x689ab9:0xf8,_0x46b524:0x123,_0x3c437e:0x10d,_0x13e58b:0x128,_0xa45600:0xf4},_0x3977fa={_0x142298:0x11d},_0x2907e4={_0x2ad494:0x122,_0x495be1:0xfb,_0x2d42a7:0x115},_0x45c049={_0x2494aa:0x108,_0x4119b6:0x121},_0xc649d2=_0x6e0c12;try{const _0x1cd52f=StripeConnect[_0xc649d2(0x124)]({'publishableKey':c,'clientSecret':n,'appearance':{'overlays':r,'variables':{'fontSizeBase':String(t[_0xc649d2(_0x4f4f8d._0x33225f)])+'px','spacingUnit':String(t[_0xc649d2(_0x4f4f8d._0x2a337e)])+'px','borderRadius':String(t['scecBorderRadius'])+'px','colorPrimary':s(t[_0xc649d2(_0x4f4f8d._0x59e9da)]),'colorBackground':s(t['scecColorBackground']),'colorText':s(t['scecColorText']),'colorDanger':s(t['scecColorDanger'])}}});let _0x2ce5d7;switch(e['data']['stripeConnectInstance']=_0x1cd52f,t['scecComponentSelector']){case'Payments':_0x2ce5d7=_0x1cd52f[_0xc649d2(_0x4f4f8d._0x2dc969)]('payments');break;case'Payment\\x20Details':_0x2ce5d7=_0x1cd52f[_0xc649d2(_0x4f4f8d._0x368f15)](_0xc649d2(_0x4f4f8d._0x4240ed)),_0x2ce5d7[_0xc649d2(0x106)](t[_0xc649d2(_0x4f4f8d._0x3b7cd8)]),_0x2ce5d7[_0xc649d2(_0x4f4f8d._0x27b9c0)](()=>{const _0x30d0a1=_0xc649d2;if('vQExA'===_0x30d0a1(_0x45c049._0x2494aa)){const [_0x5cf959,_0x456f69,_0xa953e5]=_0x5e7b44[_0x30d0a1(0xf0)](/\\d+/g);return _0x30d0a1(_0x45c049._0x4119b6)+_0x5cf959+','+_0x456f69+','+_0xa953e5+')';}else _0x2ce5d7[_0x30d0a1(0x111)](),_0x1cd52f[_0x30d0a1(0xf2)](),e[_0x30d0a1(0xfe)]('scec_payment_details_close');});break;case'Payout':_0x2ce5d7=_0x1cd52f['create'](_0xc649d2(0xf9));break;case _0xc649d2(_0x4f4f8d._0x2430d8):_0x2ce5d7=_0x1cd52f[_0xc649d2(_0x4f4f8d._0x377c8e)](_0xc649d2(0x110)),_0x2ce5d7[_0xc649d2(0xf3)](()=>{const _0x2d227a=_0xc649d2;if(_0x2d227a(_0x2907e4._0x2ad494)!=='YVpgI'){const _0x396a5b=new URL(window['location']);_0x396a5b['searchParams'][_0x2d227a(0x103)](t[_0x2d227a(0x11c)],_0x2d227a(_0x2907e4._0x495be1)),window[_0x2d227a(_0x2907e4._0x2d42a7)][_0x2d227a(0x129)]({},'',_0x396a5b);}else _0x1b094b[_0x2d227a(0x11d)]('scecIsLoading',!0x1);});break;case _0xc649d2(0xf1):_0x2ce5d7=_0x1cd52f[_0xc649d2(0x117)]('documents');break;case'Account\\x20Management':_0x2ce5d7=_0x1cd52f[_0xc649d2(0x117)](_0xc649d2(_0x4f4f8d._0x39ddbe));break;case'Balances':_0x2ce5d7=_0x1cd52f[_0xc649d2(0x117)]('balances');break;case'Notification\\x20Banner':_0x2ce5d7=_0x1cd52f[_0xc649d2(0x117)]('notification-banner');break;case _0xc649d2(0x112):_0x2ce5d7=_0x1cd52f['create']('payouts-list');break;case'Tax\\x20Registration':_0x2ce5d7=_0x1cd52f[_0xc649d2(0x117)](_0xc649d2(_0x4f4f8d._0x466285)),_0x2ce5d7[_0xc649d2(_0x4f4f8d._0xfd5cb8)]=t[_0xc649d2(_0x4f4f8d._0x41b123)],_0x2ce5d7[_0xc649d2(_0x4f4f8d._0x46bb4b)](({id:_0xf0aa8b})=>e[_0xc649d2(0xfe)](_0xc649d2(0x100)));break;case _0xc649d2(_0x4f4f8d._0x689ab9):_0x2ce5d7=_0x1cd52f[_0xc649d2(0x117)]('tax-settings'),_0x2ce5d7[_0xc649d2(0x114)]=t[_0xc649d2(0x118)],_0x2ce5d7['setHideProductTaxCodeSelector'](t[_0xc649d2(0xf7)]),_0x2ce5d7[_0xc649d2(0x120)](({id:_0x2be376})=>e['triggerEvent']('scec_tax_settings_callback'));break;default:console['error'](_0xc649d2(_0x4f4f8d._0x46b524));}const _0x2306b8=document['getElementById'](t['scecContainerID']);_0x2306b8?(_0x2306b8[_0xc649d2(0x11b)](_0x2ce5d7),setTimeout(function(){const _0x2a17c2=_0xc649d2;e[_0x2a17c2(_0x3977fa._0x142298)](_0x2a17c2(0x10f),!0x1);},0x258)):console['error'](_0xc649d2(_0x4f4f8d._0x3c437e));}catch(_0x3e79f8){if(_0xc649d2(_0x4f4f8d._0x13e58b)===_0xc649d2(_0x4f4f8d._0x13e58b))console['error'](_0xc649d2(_0x4f4f8d._0xa45600),_0x3e79f8);else{const _0x202337=new _0x4fd6bf(_0x9326db['location']);_0x202337['searchParams']['set'](_0x4d5ff3[_0xc649d2(0x11c)],_0xc649d2(0xfb)),_0x42bfe0[_0xc649d2(0x115)]['pushState']({},'',_0x202337);}}};}}"},"fields":{"AAy":{"caption":"Publishable Key (Stripe)","name":"scecPublishableKey","rank":0,"editor":"DynamicValue","value":"text"},"AAz":{"caption":"Client Secret (Plugin API Data Call)","name":"scecClientSecret","rank":1,"editor":"DynamicValue","value":"text"},"ABB":{"caption":"Select Component","name":"scecComponentSelector","rank":2,"editor":"Dropdown"},"ABC":{"caption":"Container HTML ID","name":"scecContainerID","rank":4,"editor":"DynamicValue","value":"text"},"ABD":{"caption":"Additonal Configuration","name":"scecAdditonalConfiguration","rank":5,"editor":"Label"},"ABJ":{"caption":"Additional Styling","name":"scecAdditionalStyling","rank":11,"editor":"Label"},"ABK":{"caption":"Font Size","name":"scecFontSize","rank":12,"editor":"DynamicValue","value":"number","default_val":14},"ABL":{"caption":"Spacing Unit","name":"scecSpacingUnit","rank":13,"editor":"DynamicValue","value":"number","default_val":16},"ABM":{"caption":"Border Radius","name":"scecBorderRadius","rank":14,"editor":"DynamicValue","value":"number","default_val":8},"ABN":{"caption":"Primary Color","name":"scecColorPrimary","rank":15,"editor":"Color","default_val":"rgba(0,116,212,1)"}
264,"ABO":{"caption":"Background Color","name":"scecColorBackground","rank":16,"editor":"Color","default_val":"rgba(228, 228, 228, 1)"},"ABP":{"caption":"Text Color","name":"scecColorText","rank":17,"editor":"Color","default_val":"rgba(68, 68, 68, 1)"},"ABQ":{"caption":"Danger Color","name":"scecColorDanger","rank":18,"editor":"Color","default_val":"rgba(223, 27, 65, 1)"},"ABV":{"caption":"Payment ID","name":"scecPaymentID","rank":6,"editor":"DynamicValue","value":"text","optional":true},"ABW":{"caption":"Overlay Type","name":"scecOverlayType","rank":3,"editor":"Dropdown"},"ADi":{"caption":"Parameter for Onboarding Exit","name":"scecOnboardingExitParameter","rank":7,"editor":"DynamicValue","value":"text","default_val":"scecOnboarding","optional":true},"ADl":{"caption":"Tax Registration - Display Countries","name":"scecTaxRegistrationSetDisplayCountries","rank":8,"editor":"DynamicValue","value":"text","is_list":true,"optional":true},"ADm":{"caption":"Tax Settings - Display Head Office Countries","name":"scecTaxSettingsSetDisplayHeadOfficeCountries","rank":9,"editor":"DynamicValue","value":"text","optional":true,"is_list":true},"ADq":{"caption":"Tax Settings - Hide Product Tax Code Selector","name":"scecTaxSettingsSetHideProductTaxCodeSelector","rank":10,"editor":"DynamicValue","value":"boolean","is_list":false,"optional":false,"default_val":false}}},"ABU":{"caption":"Logout Account Session","code":{"fn":"function(t,n,e){const _0x474242=['MTcxMTgzNjM4NTQyOXgxMzE3MDExNzM3MDQ0NTgyNDA='];function _0x32d2(_0x229cde,_0x31cea7){var _0x2cff4a=_0x2cff();return _0x32d2=function(_0x32d2f5,_0x42dee4){_0x32d2f5=_0x32d2f5-0x73;var _0x18346a=_0x2cff4a[_0x32d2f5];if(_0x32d2['BNvcLu']===undefined){var _0x4129af=function(_0x46db07){var _0x503464='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x79ac5d='',_0x4aef7d='';for(var _0xa18690=0x0,_0x36af43,_0x125c65,_0x20e7a8=0x0;_0x125c65=_0x46db07['charAt'](_0x20e7a8++);~_0x125c65&&(_0x36af43=_0xa18690%0x4?_0x36af43*0x40+_0x125c65:_0x125c65,_0xa18690++%0x4)?_0x79ac5d+=String['fromCharCode'](0xff&_0x36af43>>(-0x2*_0xa18690&0x6)):0x0){_0x125c65=_0x503464['indexOf'](_0x125c65);}for(var _0x1a9e33=0x0,_0x106fab=_0x79ac5d['length'];_0x1a9e33<_0x106fab;_0x1a9e33++){_0x4aef7d+='%'+('00'+_0x79ac5d['charCodeAt'](_0x1a9e33)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4aef7d);};_0x32d2['rfiJaQ']=_0x4129af,_0x229cde=arguments,_0x32d2['BNvcLu']=!![];}var _0x158b44=_0x2cff4a[0x0],_0x5e4f80=_0x32d2f5+_0x158b44,_0x1601c5=_0x229cde[_0x5e4f80];return!_0x1601c5?(_0x18346a=_0x32d2['rfiJaQ'](_0x18346a),_0x229cde[_0x5e4f80]=_0x18346a):_0x18346a=_0x1601c5,_0x18346a;},_0x32d2(_0x229cde,_0x31cea7);}function _0x2cff(){var _0x2ab221=['ndGWmJuYCgXYwxbL','ndy3mgXlBvDvBW','mJHTy0LHt0O','mJm3mtvSufzWBLO','nte4nZzizg9KALG','Bg9NB3v0','zgf0yq','ntCYodnYsujhwgW','mtiXmJi0oeTfwNL3tq','mtrSBw5jrxq','odyYnJaWrgPLugnw','C3rYAxbLq29UBMvJDeLUC3rHBMnL','mtuZntmXmevxu1rIEa'];_0x2cff=function(){return _0x2ab221;};return _0x2cff();}var _0x374658=_0x32d2;(function(_0x337330,_0x274374){var _0x775d49={_0x39f528:0x7e,_0xd5bfdd:0x76},_0x11fa40=_0x32d2,_0x573d69=_0x337330();while(!![]){try{var _0x47a97c=parseInt(_0x11fa40(_0x775d49._0x39f528))/0x1+-parseInt(_0x11fa40(0x77))/0x2+-parseInt(_0x11fa40(0x7b))/0x3*(parseInt(_0x11fa40(0x79))/0x4)+-parseInt(_0x11fa40(0x74))/0x5+-parseInt(_0x11fa40(_0x775d49._0xd5bfdd))/0x6+-parseInt(_0x11fa40(0x73))/0x7*(parseInt(_0x11fa40(0x7f))/0x8)+parseInt(_0x11fa40(0x7a))/0x9*(parseInt(_0x11fa40(0x78))/0xa);if(_0x47a97c===_0x274374)break;else _0x573d69['push'](_0x573d69['shift']());}catch(_0x3ba993){_0x573d69['push'](_0x573d69['shift']());}}}(_0x2cff,0x2fa77));{t[_0x374658(0x7d)]['stripeConnectInstance']&&t['data'][_0x374658(0x75)][_0x374658(0x7c)]();}}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Background Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1712462469161x600048159302608400/Brandarrow%20-%20Bubble.io%20Plugin%20-%20Stripe%20Connect%20Embedded%20Components%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"initialize":{"fn":"function(n,t){const _0x474242=['MTcxMTgzNjM4NTQyOXgxMzE3MDExNzM3MDQ0NTgyNDA='];{}}"},"update":{"fn":"function(n,t,u){const _0x474242=['MTcxMTgzNjM4NTQyOXgxMzE3MDExNzM3MDQ0NTgyNDA='];{}}"},"reset":{"fn":"function(n,t){const _0x474242=['MTcxMTgzNjM4NTQyOXgxMzE3MDExNzM3MDQ0NTgyNDA='];{}}"}},"platform_type":"web"}}}; 265window._bubble_page_load_data.plugins_size['1711836385429x131701173704458240'] = 29127; 266window.preloaded['plugin/third_party:1711836385429x131701173704458240:2.4.0'] = true; 267window.plugins["1720104960091x977256916951498800"] = {"human":"DJfindr Utilities","dependencies":{"use_jquery":true,"plugin_api_version":4},"shared_keys":{"AGJ":{"caption":"Analytics - PostHog - Project ID","type":"client_safe"}},"plugin_elements":{"ABS":{"display":"DJfindr Utility - Data - Shared","property_applications":{"MinWidth":true,"resizable":true}
267,"add_is_visible":true,"states":{"ABT":{"caption":"User's IP Address","name":"djfindr_utility_user_ip_address","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ABU":{"caption":"User's Geolocation","name":"djfindr_utility_user_geolocation","value":"geographic_address","initialization_code":{"fn":"function(properties,context){}"}},"ABV":{"caption":"User's Device Type","name":"djfindr_utility_user_devicetype","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ABW":{"caption":"User's Device OS","name":"djfindr_utility_user_deviceos","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ABX":{"caption":"User's Device isMobile?","name":"djfindr_utility_user_ismobile","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"ACd":{"caption":"User's Timezone","name":"djfindr_utility_user_timezone_full","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ACe":{"caption":"User's Timezone Short","name":"djfindr_utility_user_timezone_short","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ACr":{"caption":"User's Config's Color Mode","name":"djfindr_utility_user_config_color_mode","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AJV":{"caption":"User's PostHog Distinct ID","name":"djfindr_utility_user_posthog_distinct_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ALF":{"caption":"User's PostHog Session ID","name":"djfindr_utility_user_posthog_session_id","value":"text"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){const ua=navigator.userAgent.toLowerCase();function updateSessionStorage(key,value){const fullKey=`djfindr_app_utility_${key}`,existing=sessionStorage.getItem(fullKey),stringified=\"object\"==typeof value?JSON.stringify(value):String(value);existing!==stringified&&sessionStorage.setItem(fullKey,stringified)}let deviceType=\"desktop\";/tablet|ipad|playbook/.test(ua)?deviceType=\"tablet\":/mobi|android|touch/.test(ua)&&(deviceType=\"mobile\"),instance.publishState(\"djfindr_utility_user_devicetype\",deviceType),updateSessionStorage(\"user_devicetype\",deviceType);let os=\"unknown\";/iphone|ipad|ipod/i.test(ua)?os=\"iOS\":/windows/i.test(ua)?os=\"Windows\":/mac/i.test(ua)?os=\"macOS\":/android/i.test(ua)?os=\"Android\":/linux/i.test(ua)&&(os=\"Linux\"),instance.publishState(\"djfindr_utility_user_deviceos\",os),updateSessionStorage(\"user_deviceos\",os);const isMobile=/mobi|android|touch|iphone|ipad/i.test(ua);instance.publishState(\"djfindr_utility_user_ismobile\",isMobile),updateSessionStorage(\"user_ismobile\",isMobile);let prevColorMode=localStorage.getItem(\"color-mode\");instance.publishState(\"djfindr_utility_user_config_color_mode\",prevColorMode),updateSessionStorage(\"user_config_color_mode\",prevColorMode),setInterval((()=>{const currentColorMode=localStorage.getItem(\"color-mode\");currentColorMode!==prevColorMode&&(prevColorMode=currentColorMode,instance.publishState(\"djfindr_utility_user_config_color_mode\",currentColorMode),updateSessionStorage(\"user_config_color_mode\",currentColorMode))}),500),fetch(\"https://api.djfindr.com/prod/internal/services/geoip\").then((res=>res.json())).then((data=>{const ip=data.ip||null,location=[data.city,data.region].filter(Boolean).join(\", \")||null;instance.publishState(\"djfindr_utility_user_ip_address\",ip),updateSessionStorage(\"user_ip_address\",ip),instance.publishState(\"djfindr_utility_user_geolocation\",location),updateSessionStorage(\"user_geolocation\",location);const browserTimezone=undefined,timezone=Intl.DateTimeFormat().resolvedOptions().timeZone||null||data.timezone||data.rawCf?.timezone||null;instance.publishState(\"djfindr_utility_user_timezone_full\",timezone),updateSessionStorage(\"user_timezone_full\",timezone);let timezoneShort=null;if(timezone){const dtf=undefined,parts=undefined;timezoneShort=new Intl.DateTimeFormat(\"en-US\",{timeZone:timezone,timeZoneName:\"short\"}).formatToParts(new Date).find((p=>\"timeZoneName\"===p.type))?.value||null}instance.publishState(\"djfindr_utility_user_timezone_short\",timezoneShort),updateSessionStorage(\"user_timezone_short\",timezoneShort)})).catch((()=>{instance.publishState(\"djfindr_utility_user_ip_address\",null),instance.publishState(\"djfindr_utility_user_geolocation\",null),instance.publishState(\"djfindr_utility_user_timezone_full\",null),instance.publishState(\"djfindr_utility_user_timezone_short\",null)}));let prevPosthogDistinctId=null,prevPosthogSessionId=null;function updatePosthogIds(){if(window.posthog&&\"function\"==typeof window.posthog.get_distinct_id){const distinctId=window.posthog.get_distinct_id();distinctId&&distinctId!==prevPosthogDistinctId&&(prevPosthogDistinctId=distinctId,instance.publishState(\"djfindr_utility_user_posthog_distinct_id\",distinctId),updateSessionStorage(\"user_posthog_distinct_id\",distinctId))}if(window.posthog&&\"function\"==typeof window.posthog.get_session_id){const sessionId=window.posthog.get_session_id();sessionId&&sessionId!==prevPosthogSessionId&&(prevPosthogSessionId=sessionId,instance.publishState(\"djfindr_utility_user_posthog_session_id\",sessionId),updateSessionStorage(\"user_posthog_session_id\",sessionId))}}const posthogInterval=setInterval((()=>{window.posthog&&\"function\"==typeof window.posthog.get_distinct_id&&(updatePosthogIds(),setInterval(updatePosthogIds,1e3),clearInterval(posthogInterval))}),300)}"},"update":{"fn":"function(instance,properties,context){}"}},"platform_type":"web"},"ABn":{"display":"DJfindr Utility - Query - Google Places","property_applications":{"MinWidth":true,"resizable":true},"add_is_visible":true,"states":{"ABi":{"caption":"Result","name":"result","value":"geographic_address","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ABz":{"caption":"Selected Result","name":"result_selected","value":"geographic_address","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABs":{"caption":"Result Clicked","name":"result_clicked"}},"actions":{"ABq":{"caption":"Initialize Query Google Place","code":{"fn":"function(instance,properties,context){const inputId=properties.input,inputElement=document.getElementById(inputId);if(!inputElement)return;function waitForAutocompleteService(callback,attempt=0){window.google&&google.maps?.places?.AutocompleteService?callback():attempt<10?setTimeout((()=>waitForAutocompleteService(callback,attempt+1)),200):console.error(\"Google AutocompleteService failed to load.\")}const initAutocomplete=undefined;waitForAutocompleteService((()=>{let resultBox;if(inputElement.addEventListener(\"blur\",(function(){setTimeout((()=>{document.activeElement===inputElement||resultBox.contains(document.activeElement)||(resultBox.style.display=\"none\",resultBox.innerHTML=\"\")}),150)})),properties.enabledResultBox){resultBox=document.getElementById(`${inputId}_autocomplete_results`),resultBox||(resultBox=document.createElement(\"div\"),resultBox.id=`${inputId}_autocomplete_results`,resultBox.style.position=\"absolute\",resultBox.style.zIndex=\"1000\",resultBox.style.maxHeight=\"150px\",resultBox.style.overflowY=\"auto\",resultBox.style.boxSizing=\"border-box\",document.body.appendChild(resultBox));const marginTop=parseInt(properties.result_margin_top)||0,positionBox=()=>{const rect=inputElement.getBoundingClientRect();resultBox.style.top=rect.bottom+window.scrollY+marginTop+\"px\",resultBox.style.left=rect.left+window.scrollX+\"px\",resultBox.style.width=properties.result_custom_width?`${properties.result_custom_width}px`:`${inputElement.offsetWidth}px`};resultBox.style.background=properties.result_background||\"white\",resultBox.style.border=properties.result_border||\"1px solid #ccc\",resultBox.style.borderRadius=properties.result_border_radius?`${properties.result_border_radius}px`:\"0px\",resultBox.style.color=properties.result_font_color||\"inherit\",resultBox.style.fontSize=properties.result_font_size?`${properties.result_font_size}px`:\"inherit\",resultBox.style.fontFamily=\"inherit\",resultBox.style.padding=\"8px\",resultBox.style.display=\"none\",inputElement._positionResultBox=positionBox}window.autocompleteService||(window.autocompleteService=new google.maps.places.AutocompleteService),inputElement._autocompleteListener&&inputElement.removeEventListener(\"input\",inputElement._autocompleteListener);const handleInput=e=>{const value=e.target.value;if(!value)return properties.enabledResultBox&&resultBox&&(resultBox.style.display=\"none\",resultBox.innerHTML=\"\"),void instance.publishState(\"result\",[]);properties.enabledResultBox&&resultBox&&inputElement._positionResultBox&&inputElement._positionResultBox(),window.autocompleteService.getPlacePredictions({input:value,componentRestrictions:{country:\"us\"},types:[\"(regions)\"]},((predictions,status)=>{if(properties.enabledResultBox&&resultBox&&(resultBox.innerHTML=\"\"),status===google.maps.places.PlacesServiceStatus.OK&&predictions.length){const maxItems=parseInt(properties.maxItems)||5,topPredictions=predictions.slice(0,maxItems),descriptions=topPredictions.map((p=>p.description));instance.publishState(\"result\",descriptions),properties.enabledResultBox&&resultBox&&(topPredictions.forEach((p=>{const description=p.description,div=document.createElement(\"div\");div.textContent=description,div.style.padding=\"6px 10px\",div.style.cursor=\"pointer\",div.style.fontFamily=\"inherit\",div.style.fontSize=properties.result_font_size?`${properties.result_font_size}px`:\"inherit\",div.style.color=properties.result_font_color||\"inherit\",div.addEventListener(\"click\",(()=>{inputElement.value=description,instance.publishState(\"result_selected\",description),instance.triggerEvent(\"result_clicked\"),resultBox.style.display=\"none\",resultBox.innerHTML=\"\"})),resultBox.appendChild(div)})),resultBox.style.display=\"block\")}else properties.enabledResultBox&&resultBox&&(resultBox.style.display=\"none\"),instance.publishState(\"result\",[])}))};inputElement._autocompleteListener=handleInput,inputElement.addEventListener(\"input\",handleInput)}))}"},"fields":{"ABr":{"caption":"Input's HTML ID","name":"input","rank":0,"editor":"DynamicValue","value":"text"},"ABt":{"caption":"Max Result Items","name":"maxItems","rank":1,"editor":"DynamicValue","value":"number","default_val":5}
267,"ABu":{"caption":"Result Box's Background","name":"result_background","rank":3,"editor":"Color","default_val":"rgba(255,255,255,1)"},"ABv":{"caption":"Result Box's Border","name":"result_border","rank":4,"editor":"DynamicValue","value":"text"},"ABw":{"caption":"Result Box's Radius","name":"result_border_radius","rank":5,"editor":"DynamicValue","value":"number","default_val":8},"ABx":{"caption":"Result Box's Font Color","name":"result_font_color","rank":6,"editor":"Color","default_val":"rgba(0,0,0,1)"},"ABy":{"caption":"Result Box's Font Size","name":"result_font_size","rank":7,"editor":"DynamicValue","value":"number","default_val":14},"ACA":{"caption":"Result Box's Top Margin","name":"result_margin_top","rank":8,"editor":"DynamicValue","value":"number","default_val":0},"ACB":{"caption":"Enable Result Box","name":"enabledResultBox","rank":2,"editor":"DynamicValue","value":"boolean","default_val":true},"ADM":{"caption":"Result Box's Custom Width (px)","name":"result_custom_width","rank":9,"optional":true,"editor":"DynamicValue","value":"number"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"}},"platform_type":"web"},"ACs":{"display":"DJfindr Utility - General - Rating Stars","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"ACu":{"caption":"Initial Rating","name":"initial_rating","rank":0,"editor":"DynamicValue","value":"number","default_val":0},"ACv":{"caption":"Icon Size (px)","name":"icon_size","rank":1,"editor":"DynamicValue","value":"number","default_val":22},"ACw":{"caption":"Icon Gap (px)","name":"icon_gap","rank":2,"editor":"DynamicValue","value":"number","default_val":8},"ACx":{"caption":"Allow Half?","name":"allow_half","rank":3,"editor":"DynamicValue","value":"boolean","default_val":true},"ACy":{"caption":"Interactive?","name":"interactive","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false}},"states":{"ACz":{"caption":"Rating","name":"rating","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ADA":{"caption":"Rating Star Changed","name":"rating_changed"}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){const iconSize=properties.icon_size,iconGap=properties.icon_gap,interactive=properties.interactive,initialRating=undefined;let selectedRating=properties.initial_rating;instance.canvas.html('<div class=\"stars\"></div>');const container=instance.canvas[0].querySelector(\".stars\");container.style.display=\"flex\",container.style.gap=iconGap+\"px\";const starsCount=5,pathD=\"M10.788 3.102c.495-1.003 1.926-1.003 2.421 0l2.358 4.778l5.273.766c1.107.16 1.549 1.522.748 2.303l-3.816 3.719l.901 5.25c.19 1.104-.968 1.945-1.959 1.424l-4.716-2.48l-4.715 2.48c-.99.52-2.148-.32-1.96-1.423l.901-5.251l-3.815-3.72c-.801-.78-.359-2.141.748-2.302L8.43 7.88z\";function updateStars(r){container.querySelectorAll(\".star-full\").forEach(((full,idx)=>{const i=idx+1;full.style.clipPath=r>=i?\"inset(0 0 0 0)\":r>i-1?`inset(0 ${100-100*(r-(i-1))}% 0 0)`:\"inset(0 100% 0 0)\"}))}for(let i=1;i<=5;i++){const star=document.createElement(\"div\");star.style.position=\"relative\",star.style.width=iconSize+\"px\",star.style.height=iconSize+\"px\",star.innerHTML=`<div class=\"star-empty\" style=\"position:absolute;top:0;left:0;width:100%;height:100%\">\\n <svg viewBox=\"0 0 24 24\"><path fill=\"#d1d1d1\" d=\"${pathD}\"/></svg>\\n </div><div class=\"star-full\" style=\"position:absolute;top:0;left:0;width:100%;height:100%;clip-path:inset(0 100% 0 0)\">\\n <svg viewBox=\"0 0 24 24\"><path fill=\"#FAB515\" d=\"${pathD}\"/></svg>\\n </div>`,interactive&&(star.style.cursor=\"pointer\",star.addEventListener(\"mouseenter\",(()=>updateStars(i))),star.addEventListener(\"mouseleave\",(()=>updateStars(selectedRating))),star.addEventListener(\"click\",(()=>{selectedRating=i,updateStars(selectedRating),instance.publishState(\"rating\",selectedRating),instance.triggerEvent(\"rating_changed\")}))),container.appendChild(star)}updateStars(selectedRating)}"}},"platform_type":"web"},"ADB":{"display":"DJfindr Utility - General - Waveform Player","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"states":{"ADI":{"caption":"Playing?","name":"isplaying","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"ADJ":{"caption":"Current Time","name":"currenttime","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADK":{"caption":"Duration","name":"duration","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ADL":{"caption":"Completed Playing","name":"completedplaying"}},"actions":{"ADC":{"caption":"Initialize Waveform Player","code":{"fn":"function(instance,properties,context){instance.data.ws&&(instance.data.ws.destroy(),delete instance.data.ws);const audioUrl=properties.audiourl,height=properties.height||100,maxWidth=properties.maxWidth||\"100%\";instance.publishState(\"isplaying\",!1),instance.publishState(\"currenttime\",\"0:00\"),instance.publishState(\"duration\",\"0:00\");let root=instance.canvas;root.jquery&&(root=root[0]),root.innerHTML=\"\",root.style.maxWidth=maxWidth;const waveContainer=document.createElement(\"div\");Object.assign(waveContainer.style,{position:\"relative\",width:\"100%\",height:height+\"px\",cursor:\"pointer\"}),root.appendChild(waveContainer);const w=waveContainer.clientWidth||waveContainer.offsetWidth,off=document.createElement(\"canvas\");off.width=w,off.height=height;const ctx=undefined,progGrad=off.getContext(\"2d\").createLinearGradient(0,0,w,0);progGrad.addColorStop(0,\"#8b5cf6\"),progGrad.addColorStop(1,\"#4c1d95\");const ws=WaveSurfer.create({container:waveContainer,waveColor:\"#d4d4d8\",progressColor:progGrad,barWidth:2,height:height});function fmt(sec){const m=undefined,s=undefined;return`${Math.floor(sec/60)}:${(\"0\"+Math.round(sec)%60).slice(-2)}`}ws.load(audioUrl),ws.on(\"ready\",(()=>instance.publishState(\"duration\",fmt(ws.getDuration())))),ws.on(\"play\",(()=>
267instance.publishState(\"isplaying\",!0))),ws.on(\"pause\",(()=>instance.publishState(\"isplaying\",!1))),ws.on(\"audioprocess\",(t=>instance.publishState(\"currenttime\",fmt(t)))),ws.on(\"finish\",(()=>{instance.publishState(\"isplaying\",!1),instance.triggerEvent(\"completedplaying\")})),ws.on(\"interaction\",(()=>ws.play())),instance.data.ws=ws}"},"fields":{"ADD":{"caption":"Audio URL","name":"audiourl","rank":0,"editor":"DynamicValue","value":"text"},"ADG":{"caption":"Height","name":"height","rank":1,"editor":"DynamicValue","value":"number","default_val":80},"ADH":{"caption":"Max Width","name":"maxWidth","rank":2,"editor":"DynamicValue","value":"number","default_val":250}}},"ADE":{"caption":"Play/Pause Waveform Player","code":{"fn":"function(instance,properties,context){instance.data.ws&&instance.data.ws.playPause()}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"}},"platform_type":"web"},"ADP":{"display":"DJfindr Utility - General - Get File Extension","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"ADQ":{"caption":"File Name","name":"file_name","rank":0,"editor":"DynamicValue","value":"text"},"ADi":{"caption":"Use Base64 URL in File Name","name":"useBase64URL","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false}},"states":{"ADR":{"caption":"File Type","name":"file_type","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADS":{"caption":"File MIME","name":"file_mime","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADT":{"caption":"File Extension","name":"file_extension","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){var input=properties.file_name||\"\",useBase64=!0===properties.useBase64URL,ext=\"\",mime=\"application/octet-stream\",mimeToExt={\"image/png\":\"png\",\"image/jpeg\":\"jpg\",\"image/gif\":\"gif\",\"image/webp\":\"webp\",\"image/svg+xml\":\"svg\",\"audio/mpeg\":\"mp3\",\"audio/wav\":\"wav\",\"audio/aac\":\"aac\",\"audio/flac\":\"flac\",\"audio/ogg\":\"ogg\",\"audio/mp4\":\"m4a\",\"video/mp4\":\"mp4\",\"video/quicktime\":\"mov\",\"video/webm\":\"webm\",\"application/pdf\":\"pdf\",\"application/msword\":\"doc\",\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":\"docx\",\"text/plain\":\"txt\",\"application/vnd.ms-excel\":\"xls\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":\"xlsx\",\"text/csv\":\"csv\"};if(useBase64&&input.startsWith(\"data:\")){var mimeMatch=input.match(/^data:([^;]+);base64,/);mimeMatch&&mimeMatch[1]&&(ext=mimeToExt[mime=mimeMatch[1]]||\"\")}else{var extToMime;input.includes(\".\")&&(ext=input.split(\".\").pop().toLowerCase()),mime={png:\"image/png\",jpg:\"image/jpeg\",jpeg:\"image/jpeg\",gif:\"image/gif\",webp:\"image/webp\",svg:\"image/svg+xml\",mp3:\"audio/mpeg\",wav:\"audio/wav\",aac:\"audio/aac\",flac:\"audio/flac\",ogg:\"audio/ogg\",m4a:\"audio/mp4\",mp4:\"video/mp4\",mov:\"video/quicktime\",webm:\"video/webm\",pdf:\"application/pdf\",doc:\"application/msword\",docx:\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",txt:\"text/plain\",xls:\"application/vnd.ms-excel\",xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",csv:\"text/csv\"}[ext]||mime}var typeMap={image:[\"image/\"],audio:[\"audio/\"],video:[\"video/\"],document:[\"application/pdf\",\"application/msword\",\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"text/plain\"],spreadsheet:[\"application/vnd.ms-excel\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\"text/csv\"]},fileType=\"other\";Object.keys(typeMap).some((function(key){return typeMap[key].some((function(prefix){return!!mime.startsWith(prefix)&&(fileType=key,!0)}))})),instance.publishState(\"file_extension\",ext),instance.publishState(\"file_mime\",mime),instance.publishState(\"file_type\",fileType)}"}},"platform_type":"web"},"AFE":{"display":"DJfindr Utility - General - Date Time Generator","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AFF":{"caption":"Timezone","name":"timezone","rank":0,"editor":"DynamicValue","value":"text"},"AFG":{"caption":"Date Range - Start","name":"range_start","rank":2,"editor":"DynamicValue","value":"date"},"AFH":{"caption":"Date Range - End","name":"range_end","rank":3,"editor":"DynamicValue","value":"date"},"AFI":{"caption":"Selected Date","name":"selected_date","rank":6,"editor":"DynamicValue","value":"date"},"AFJ":{"caption":"--- TIME GENERATION ---","name":"info_time_generation","rank":5,"editor":"Label"},"AFK":{"caption":"--- DATE GENERATION ---","name":"info_date_generation","rank":1,"editor":"Label"},"AFL":{"caption":"Time Interval (minutes)","name":"interval_minutes","rank":7,"editor":"DynamicValue","value":"number","default_val":60},"AFM":{"caption":"Generate","name":"generate","rank":8,"editor":"DynamicValue","value":"boolean","default_val":true}
267,"AFQ":{"caption":"Selected Month","name":"selected_month","rank":4,"editor":"DynamicValue","value":"date"}},"states":{"AFN":{"caption":"Date List","name":"date_list","value":"date","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AFO":{"caption":"Time List","name":"interval_list","value":"date","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"AFP":{"caption":"Error","name":"error","value":"text","initialization_code":{"fn":"function(properties,context){}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){if(!properties.generate)return;const DateTime=luxon.DateTime;try{if(!properties.timezone)return void instance.publishState(\"error\",\"Timezone required\");const zone=properties.timezone;if(properties.selected_month){let monthStart=DateTime.fromJSDate(properties.selected_month,{zone:zone}).startOf(\"month\").startOf(\"day\"),monthEnd=monthStart.endOf(\"month\").startOf(\"day\"),current=monthStart,dates=[];for(;current<=monthEnd;)dates.push(new Date(current.toISO())),current=current.plus({days:1});instance.publishState(\"date_list\",dates)}else instance.publishState(\"date_list\",[]);if(properties.selected_date){let intervalMinutes=properties.interval_minutes||60,start=DateTime.fromJSDate(properties.selected_date,{zone:zone}).startOf(\"day\"),end=start.endOf(\"day\"),current=start,intervals=[];for(;current<=end;)intervals.push(new Date(current.toISO())),current=current.plus({minutes:intervalMinutes});instance.publishState(\"interval_list\",intervals)}else instance.publishState(\"interval_list\",[]);instance.publishState(\"error\",null)}catch(e){instance.publishState(\"error\",e.message)}}"}},"platform_type":"web"},"AKm":{"display":"DJfindr Utility - General - Delay Workflow","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"states":{"AKs":{"caption":"Completed Delay IDs","name":"completed_ids","value":"text","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"events":{"AKo":{"caption":"Delay Complete","name":"wait_time_complete"}},"actions":{"AKp":{"caption":"Delay Workflow","code":{"fn":"function(instance,properties,context){instance._waitTimers||(instance._waitTimers={});var id=properties.id,ms=properties.time;instance._waitTimers[id]&&clearTimeout(instance._waitTimers[id]),instance._waitTimers[id]=setTimeout((function(){delete instance._waitTimers[id];var current=instance.data.completed_ids||[];current.push(id),instance.publishState(\"completed_ids\",current),context.triggerEvent(\"wait_time_complete\")}),ms)}"},"fields":{"AKq":{"caption":"Delay Time (ms)","name":"time","rank":0,"editor":"DynamicValue","value":"number","default_val":30000},"AKr":{"caption":"Delay ID","name":"id","rank":1,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"}},"platform_type":"web"}},"plugin_actions":{"ABF":{"display":"DJfindr Utility - General - QR Code Generator","type":"server_side","return_value":{"ABI":{"caption":"QR Code","name":"qrCode","rank":0,"value":"image"}},"fields":{"ABG":{"caption":"Link URL","name":"url","rank":0,"editor":"DynamicValue","value":"text"},"ABH":{"caption":"Color Scheme","name":"colorscheme","rank":1,"editor":"Dropdown"}}},"ABO":{"display":"DJfindr Utility - Security - Generate PKCE","type":"server_side","return_value":{"ABP":{"caption":"verifier","name":"verifier","rank":0,"value":"text"},"ABQ":{"caption":"challenge","name":"challenge","rank":1,"value":"text"}}},"ABZ":{"display":"DJfindr Utility - Files - Download File","type":"client_side","fields":{"ABa":{"caption":"File Name","name":"fileName","rank":1,"editor":"DynamicValue","value":"text"},"ABb":{"caption":"File URL","name":"fileURL","rank":0,"editor":"DynamicValue","value":"text"}},"code":{"client":{"fn":"function(properties,context){var file=properties.fileURL,fileName=properties.fileName||\"download\";if(file)if(file.startsWith(\"data:\"))fetch(file).then((r=>r.blob())).then(downloadBlob).catch((()=>{}));else if(file.startsWith(\"http\"))fetch(file).then((r=>r.ok?r.blob():null)).then((b=>{b&&downloadBlob(b)}
267)).catch((()=>{}));else{var bytes=Uint8Array.from(atob(file),(c=>c.charCodeAt(0)));downloadBlob(new Blob([bytes]))}function downloadBlob(blob){var url=URL.createObjectURL(blob),a=document.createElement(\"a\");a.href=url,a.download=fileName,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(url)}}"}}},"AFS":{"display":"DJfindr Utility - Analytics - PostHog CSA - Capture Event","type":"client_side","fields":{"AGq":{"caption":"Event Name","name":"event_name","rank":2,"editor":"DynamicValue","value":"text"},"AGr":{"caption":"Event Properties","name":"event_properties","rank":3,"editor":"key_value_list","value":"text"},"AGs":{"caption":"Send Once?","name":"send_once","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"AGt":{"caption":"Distinct ID","name":"distinct_id","rank":1,"optional":true,"editor":"DynamicValue","value":"text"},"AGu":{"caption":"Debug Mode?","name":"debug","rank":7,"editor":"DynamicValue","value":"boolean","default_val":false},"AGv":{"caption":"--- EVENT ---","name":"info_event","rank":0,"editor":"Label"},"AGw":{"caption":"--- OPTIONS ---","name":"info_options","rank":4,"editor":"Label"},"AGx":{"caption":"--- DEBUG ---","name":"info_debug","rank":6,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){if(!window.posthog)return;const eventName=properties.event_name;if(!eventName)return;if(properties.send_once&&window.__ph_sent_event===eventName)return;window.__ph_sent_event=eventName;let propsObject={};properties.event_properties&&properties.event_properties.length&&properties.event_properties.forEach((item=>{item.key&&(propsObject[item.key]=item.value)})),properties.distinct_id&&window.posthog.identify(properties.distinct_id),window.posthog.capture(eventName,propsObject),properties.debug&&console.log(\"PostHog Event:\",eventName,propsObject)}"}}},"AHG":{"display":"DJfindr Utility - Analytics - PostHog CSA - Identify User","type":"client_side","fields":{"AGz":{"caption":"Person Properties","name":"person_properties","rank":2,"editor":"key_value_list","value":"text"},"AHB":{"caption":"Distinct ID","name":"distinct_id","rank":1,"optional":false,"editor":"DynamicValue","value":"text"},"AHC":{"caption":"Debug Mode?","name":"debug","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AHD":{"caption":"--- PERSON ---","name":"info_person","rank":0,"editor":"Label"},"AHF":{"caption":"--- DEBUG ---","name":"info_debug","rank":3,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){if(!window.posthog)return;if(!properties.distinct_id)return;let personProps={};properties.person_properties&&properties.person_properties.length&&properties.person_properties.forEach((item=>{item.key&&(personProps[item.key]=item.value)})),window.posthog.identify(properties.distinct_id,personProps),properties.debug&&console.log(\"PostHog Identify:\",properties.distinct_id,personProps)}"}}},"AHM":{"display":"DJfindr Utility - Analytics - PostHog CSA - Alias User","type":"client_side","fields":{"AHI":{"caption":"Alias ID","name":"new_distinct_id","rank":1,"optional":false,"editor":"DynamicValue","value":"text"},"AHK":{"caption":"--- ALIAS ---","name":"info_alias","rank":0,"editor":"Label"},"AHm":{"caption":"--- DEBUG ---","name":"info_debug","rank":2,"editor":"Label"},"AHp":{"caption":"Debug Mode?","name":"debug","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false}},"code":{"client":{"fn":"function(properties,context){if(!window.posthog)return;if(!properties.new_distinct_id)return;const currentId=window.posthog.get_distinct_id();window.posthog.alias(properties.new_distinct_id,currentId),properties.debug&&console.log(\"PostHog Alias:\",currentId,\"â\",properties.new_distinct_id)}"}}},"AHZ":{"display":"DJfindr Utility - Analytics - PostHog CSA - Group","type":"client_side","fields":{"AHU":{"caption":"Group Key","name":"group_key","rank":2,"editor":"DynamicValue","value":"text"},"AHV":{"caption":"Group Type","name":"group_type","rank":1,"optional":false,"editor":"DynamicValue","value":"text"},"AHX":{"caption":"--- GROUP ---","name":"info_group","rank":0,"editor":"Label"},"AHa":{"caption":"Group Properties","name":"group_properties","rank":3,"editor":"key_value_list","value":"text"},"AHn":{"caption":"--- DEBUG ---","name":"info_debug","rank":4,"editor":"Label"},"AHq":{"caption":"Debug Mode?","name":"debug","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false}},"code":{"client":{"fn":"function(properties,context){if(!window.posthog)return;if(!properties.group_type||!properties.group_key)return;let groupProps={};properties.group_properties&&properties.group_properties.length&&properties.group_properties.forEac
267h((item=>{item.key&&(groupProps[item.key]=item.value)})),window.posthog.group(properties.group_type,properties.group_key,groupProps),properties.debug&&console.log(\"PostHog Group:\",properties.group_type,properties.group_key)}"}}},"AHl":{"display":"DJfindr Utility - Analytics - PostHog CSA - Set Person Properties","type":"client_side","fields":{"AHg":{"caption":"Person Properties","name":"person_properties","rank":1,"editor":"key_value_list","value":"text"},"AHj":{"caption":"--- PERSON ---","name":"info_person","rank":0,"editor":"Label"},"AHo":{"caption":"--- DEBUG ---","name":"info_debug","rank":2,"editor":"Label"},"AHr":{"caption":"Debug Mode?","name":"debug","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false}},"code":{"client":{"fn":"function(properties,context){if(!window.posthog)return;let personProps={};properties.person_properties&&properties.person_properties.length&&properties.person_properties.forEach((item=>{item.key&&(personProps[item.key]=item.value)})),window.posthog.setPersonProperties(personProps),properties.debug&&console.log(\"PostHog Set Person Properties:\",personProps)}"}}},"AIA":{"display":"DJfindr Utility - Analytics - PostHog SSA - Capture Event","type":"server_side","return_value":{"AIm":{"caption":"Success?","name":"success","rank":0,"value":"boolean"},"AIp":{"caption":"Error Message","name":"error","rank":1,"value":"text"}},"fields":{"AHs":{"caption":"Event Name","name":"event_name","rank":2,"editor":"DynamicValue","value":"text"},"AHt":{"caption":"Event Properties","name":"event_properties","rank":3,"editor":"key_value_list","value":"text"},"AHv":{"caption":"Distinct ID","name":"distinct_id","rank":1,"optional":true,"editor":"DynamicValue","value":"text"},"AHw":{"caption":"Debug Mode?","name":"debug","rank":6,"editor":"DynamicValue","value":"boolean","default_val":false},"AHx":{"caption":"--- EVENT ---","name":"info_event","rank":0,"editor":"Label"},"AHz":{"caption":"--- DEBUG ---","name":"info_debug","rank":5,"editor":"Label"},"AJJ":{"caption":"Event Groups","name":"event_groups","rank":4,"editor":"key_value_list","value":"text"}}},"AIP":{"display":"DJfindr Utility - Analytics - PostHog SSA - Identify User","type":"server_side","return_value":{"AIl":{"caption":"Success?","name":"success","rank":0,"value":"boolean"},"AIo":{"caption":"Error Message","name":"error","rank":1,"value":"text"}},"fields":{"AIK":{"caption":"Person Properties","name":"person_properties","rank":2,"editor":"key_value_list","value":"text"},"AIL":{"caption":"Distinct ID","name":"distinct_id","rank":1,"optional":false,"editor":"DynamicValue","value":"text"},"AIM":{"caption":"Debug Mode?","name":"debug","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AIN":{"caption":"--- PERSON ---","name":"info_person","rank":0,"editor":"Label"},"AIO":{"caption":"--- DEBUG ---","name":"info_debug","rank":3,"editor":"Label"}}},"AIb":{"display":"DJfindr Utility - Analytics - PostHog SSA - Group","type":"server_side","return_value":{"AIk":{"caption":"Success?","name":"success","rank":0,"value":"boolean"},"AIn":{"caption":"Error Message","name":"error","rank":1,"value":"text"}},"fields":{"AIV":{"caption":"Group Key","name":"group_key","rank":2,"editor":"DynamicValue","value":"text"},"AIW":{"caption":"Group Type","name":"group_type","rank":1,"optional":false,"editor":"DynamicValue","value":"text"},"AIX":{"caption":"--- GROUP ---","name":"info_group","rank":0,"editor":"Label"},"AIY":{"caption":"Group Properties","name":"group_properties","rank":3,"editor":"key_value_list","value":"text"},"AIZ":{"caption":"--- DEBUG ---","name":"info_debug","rank":4,"editor":"Label"},"AIa":{"caption":"Debug Mode?","name":"debug","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false}}},"AIg":{"display":"DJfindr Utility - Analytics - PostHog SSA - Set Person Properties","type":"server_side","return_value":{"AIi":{"caption":"Success?","name":"success","rank":0,"value":"boolean"},"AIj":{"caption":"Error Message","name":"error","rank":1,"value":"text"}},"fields":{"AIc":{"caption":"Person Properties","name":"person_properties","rank":2,"editor":"key_value_list","value":"text"},"AId":{"caption":"--- PERSON ---","name":"info_person","rank":0,"editor":"Label"},"AIe":{"caption":"--- DEBUG ---","name":"info_debug","rank":3,"editor":"Label"},"AIf":{"caption":"Debug Mode?","name":"debug","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AIh":{"caption":"Distinct ID","name":"distinct_id","rank":1,"editor":"DynamicValue","value":"text"}}},"AIv":{"display":"DJfindr Utility - Analytics - PostHog CSA - Reset (Logout User)","type":"client_side","fields":{"AIs":{"caption":"Debug Mode?","name":"debug","rank":1,"editor":"DynamicValue","value":"boolean","default_val":false},"AIu":{"caption":"--- DEBUG ---","name":"info_debug","rank":0,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){window.posthog&&(window.posthog.reset(),properties.debug&&console.log(\"PostHog reset called\"))}"}}},"AIy":{"display":"DJfindr Utility - Analytics - PostHog CSA - Capture Exception","type":"client_side","fields":{"AIw":{"caption":"Debug Mode?","name":"debug","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AIx":{"caption":"--- DEBUG ---","name":"info_debug","rank":3,"editor":"Label"},"AIz":{"caption":"Error Message","name":"error_message","rank":1,"editor":"DynamicValue","value":"text"},"AJA":{"caption":"Error Properties","name":"error_properties","rank":2,"editor":"key_value_list","value":"text"},"AJB":{"caption":"--- ERROR ---","name":"info_error","rank":0,"editor":"Label"}},"code":{"client":{"fn":"function(properties,context){if(window.posthog)try{window.posthog.captureException(properties.error_message||\"Unknown error\",{extra:properties.error_properties||{}}),properties.debug&&console.log(\"PostHog exception sent:\",properties.error_message)}catch(err){console.log(\"PostHog exception failed:\",err)}}"}}},"AJH":{"display":"DJfindr Utility - Analytics - PostHog SSA - Capture Exception","type":"server_side","fields":{"AJC":{"caption":"Debug Mode?","name":"debug","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"AJD":{"caption":"--- DEBUG ---","name":"info_debug","rank":4,"editor":"Label"},"AJE":{"caption":"Error Message","name":"error_message","rank":2,"editor":"DynamicValue","value":"text"},"AJF":{"caption":"Error Properties","name":"error_properties","rank":3,"editor":"key_value_list","value":"text"},"AJG":{"caption":"--- ERROR ---","name":"info_error","rank":0,"editor":"Label"},"AJI":{"caption":"Distinct ID","name":"distinct_id","rank":1,"editor":"DynamicValue","value":"text"}}}
267,"AJO":{"display":"DJfindr Utility - Analytics - PostHog CSA - Set Person Properties Once","type":"client_side","fields":{"AJK":{"caption":"Person Properties","name":"person_properties","rank":1,"editor":"key_value_list","value":"text"},"AJL":{"caption":"--- PERSON ---","name":"info_person","rank":0,"editor":"Label"},"AJM":{"caption":"--- DEBUG ---","name":"info_debug","rank":2,"editor":"Label"},"AJN":{"caption":"Debug Mode?","name":"debug","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false}},"code":{"client":{"fn":"function(properties,context){if(!window.posthog)return;if(!properties.person_properties||!properties.person_properties.length)return;let propsObject={};properties.person_properties.forEach((item=>{item&&item.key&&(propsObject[item.key]=item.value)})),window.posthog.capture(\"$set_once\",propsObject),properties.debug&&console.log(\"PostHog $set_once (CSA):\",propsObject)}"}}},"AJU":{"display":"DJfindr Utility - Analytics - PostHog SSA - Set Person Properties Once","type":"server_side","return_value":{"AIi":{"caption":"Success?","name":"success","rank":0,"value":"boolean"},"AIj":{"caption":"Error Message","name":"error","rank":1,"value":"text"}},"fields":{"AJP":{"caption":"Person Properties","name":"person_properties","rank":2,"editor":"key_value_list","value":"text"},"AJQ":{"caption":"--- PERSON ---","name":"info_person","rank":0,"editor":"Label"},"AJR":{"caption":"--- DEBUG ---","name":"info_debug","rank":3,"editor":"Label"},"AJS":{"caption":"Debug Mode?","name":"debug","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"AJT":{"caption":"Distinct ID","name":"distinct_id","rank":1,"editor":"DynamicValue","value":"text"}}},"AJW":{"display":"DJfindr Utility - Files - URL to Base64","type":"server_side","return_value":{"AJc":{"caption":"Base64","name":"base64","rank":0,"value":"text"},"AJe":{"caption":"MIME Type","name":"mimeType","rank":1,"value":"text"}},"fields":{"AJX":{"caption":"fileUrl","name":"fileUrl","rank":0,"editor":"DynamicValue","value":"text"}}},"AKy":{"display":"DJfindr Utility - Security - Generate HMAC","type":"server_side","return_value":{"ABP":{"caption":"Hashed","name":"hashed","rank":0,"value":"text"}},"fields":{"AKz":{"caption":"Key","name":"key","rank":0,"editor":"DynamicValue","value":"text"},"ALA":{"caption":"Message","name":"message","rank":1,"editor":"DynamicValue","value":"text"}}}}}; 268window._bubble_page_load_data.plugins_size['1720104960091x977256916951498800'] = 40991; 269window.preloaded['plugin/third_party:1720104960091x977256916951498800:1.3.0'] = true; 270window.plugins["1720555061209x922840718860091400"] = {"human":"Canva Draw | Paint | Signature Pad","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"drawing_canvas","property_applications":{"resizable":true,"MinWidth":true,"Background":false,"Border":true,"BoxShadow":true},"add_hover_pressed":true,"add_is_visible":true,"support_autobinding":false,"autobinding_value":"number","fields":{"AAM":{"caption":"Brush/Eraser Size","name":"thickness","rank":0,"editor":"DynamicValue","value":"number","default_val":5},"AAN":{"caption":"Brush Color","name":"brush_color","rank":1,"editor":"Color","default_val":"rgba(0,0,0,1)"},"AAO":{"caption":"Background Color","name":"bg_color","rank":2,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAT":{"caption":"Image File Name","name":"file_name","rank":7,"editor":"DynamicValue","value":"text","default_val":"drawing"},"AAU":{"caption":"Undo/Redo Steps","name":"undo_st","rank":5,"editor":"DynamicValue","value":"number","default_val":50},"AAW":{"caption":"Background Image","name":"bg_img","rank":3,"editor":"DynamicValue","value":"image","optional":true},"AAa":{"caption":"Maintain Image Aspect Ratio","name":"maintain_ratio","rank":4,"editor":"Checkbox","default_val":false},"AAo":{"caption":"Text Field Font","name":"font_family","rank":6,"editor":"DynamicValue","value":"text","default_val":"Inter"}},"states":{"AAG":{"caption":"image url","name":"url","value":"text","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];{}}"}},"AAX":{"caption":"isEmpty","name":"is_empty","value":"boolean","initialization_code":{"fn":"function(properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];{}}"}}},"events":{"AAY":{"caption":"is empty","name":"is_empty"},"AAZ":{"name":"has_content","caption":"is not empty"},"AAb":{"caption":"image url is ready","name":"image_ready"}},"actions":{"AAD":{"caption":"undo","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x18ba3f=_0x314e;(function(_0x275628,_0x3c51eb){var _0x4f7621={_0x26542c:0x92,_0x59f3ff:0x9a,_0x4b2772:0x93},_0x52445a=_0x314e,_0x10bdd9=_0x275628();while(!![]){try{var _0x36a2b7=parseInt(_0x52445a(0x94))/0x1*(-parseInt(_0x52445a(_0x4f7621._0x26542c))/0x2)+parseInt(_0x52445a(0x99))/0x3*(-parseInt(_0x52445a(0x91))/0x4)+parseInt(_0x52445a(0x98))/0x5+-parseInt(_0x52445a(_0x4f7621._0x59f3ff))/0x6+parseInt(_0x52445a(_0x4f7621._0x4b2772))/0x7+-parseInt(_0x52445a(0x95))/0x8*(-parseInt(_0x52445a(0x96)
270)/0x9)+parseInt(_0x52445a(0x90))/0xa;if(_0x36a2b7===_0x3c51eb)break;else _0x10bdd9['push'](_0x10bdd9['shift']());}catch(_0x3ff776){_0x10bdd9['push'](_0x10bdd9['shift']());}}}(_0x5597,0x2fc32));function _0x314e(_0x41e09b,_0x317fbd){var _0x5597f4=_0x5597();return _0x314e=function(_0x314e28,_0x12b16e){_0x314e28=_0x314e28-0x90;var _0x2419ee=_0x5597f4[_0x314e28];if(_0x314e['HRynbJ']===undefined){var _0x3b2ef1=function(_0x361361){var _0x23e006='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xa246e3='',_0x29bcbf='';for(var _0xf8147d=0x0,_0x42efbc,_0xb4f5ba,_0x3a9b0f=0x0;_0xb4f5ba=_0x361361['charAt'](_0x3a9b0f++);~_0xb4f5ba&&(_0x42efbc=_0xf8147d%0x4?_0x42efbc*0x40+_0xb4f5ba:_0xb4f5ba,_0xf8147d++%0x4)?_0xa246e3+=String['fromCharCode'](0xff&_0x42efbc>>(-0x2*_0xf8147d&0x6)):0x0){_0xb4f5ba=_0x23e006['indexOf'](_0xb4f5ba);}for(var _0x3dded8=0x0,_0x58be7c=_0xa246e3['length'];_0x3dded8<_0x58be7c;_0x3dded8++){_0x29bcbf+='%'+('00'+_0xa246e3['charCodeAt'](_0x3dded8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x29bcbf);};_0x314e['TlJEQZ']=_0x3b2ef1,_0x41e09b=arguments,_0x314e['HRynbJ']=!![];}var _0x2182e8=_0x5597f4[0x0],_0x2b8608=_0x314e28+_0x2182e8,_0x3461a7=_0x41e09b[_0x2b8608];return!_0x3461a7?(_0x2419ee=_0x314e['TlJEQZ'](_0x2419ee),_0x41e09b[_0x2b8608]=_0x2419ee):_0x2419ee=_0x3461a7,_0x2419ee;},_0x314e(_0x41e09b,_0x317fbd);}{instance['data'][_0x18ba3f(0x97)]();}function _0x5597(){var _0x434e3e=['mJyWoenQEwrbrq','mZiXm0zkDvb4tG','Dw5KBW','nZG5nZC1BvDyBND3','mJaZmtzRsKvTwei','mtC5mte5ohvtr25Usa','ndqZmtG1mhLpwwjPAW','mtu2q2Hesfbh','mZi1ntHZAxzKEvO','nJi3mtmWDM1HwLzQ','m3DYCLzHCW'];_0x5597=function(){return _0x434e3e;};return _0x5597();}}"}},"AAF":{"caption":"redo","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x16cb(_0x588647,_0x39fe3a){var _0x264aeb=_0x264a();return _0x16cb=function(_0x16cba2,_0x394693){_0x16cba2=_0x16cba2-0x1d8;var _0x5acad8=_0x264aeb[_0x16cba2];if(_0x16cb['qeovWp']===undefined){var _0x5db2db=function(_0x20472b){var _0x1c45aa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x419c79='',_0x3bed76='';for(var _0x4bf1cc=0x0,_0x5744c2,_0x5bddf8,_0x31743e=0x0;_0x5bddf8=_0x20472b['charAt'](_0x31743e++);~_0x5bddf8&&(_0x5744c2=_0x4bf1cc%0x4?_0x5744c2*0x40+_0x5bddf8:_0x5bddf8,_0x4bf1cc++%0x4)?_0x419c79+=String['fromCharCode'](0xff&_0x5744c2>>(-0x2*_0x4bf1cc&0x6)):0x0){_0x5bddf8=_0x1c45aa['indexOf'](_0x5bddf8);}for(var _0x3ce922=0x0,_0x1677ea=_0x419c79['length'];_0x3ce922<_0x1677ea;_0x3ce922++){_0x3bed76+='%'+('00'+_0x419c79['charCodeAt'](_0x3ce922)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3bed76);};_0x16cb['WSYKtP']=_0x5db2db,_0x588647=arguments,_0x16cb['qeovWp']=!![];}var _0x3a7006=_0x264aeb[0x0],_0x54accd=_0x16cba2+_0x3a7006,_0x10c279=_0x588647[_0x54accd];return!_0x10c279?(_0x5acad8=_0x16cb['WSYKtP'](_0x5acad8),_0x588647[_0x54accd]=_0x5acad8):_0x5acad8=_0x10c279,_0x5acad8;},_0x16cb(_0x588647,_0x39fe3a);}function _0x264a(){var _0x522239=['mJC4ntaZodrQt2zRDM4','mtu5nZG2t2fwBMjh','mZu4mJaWmfvSt1nPzW','mJC5mJa5mgHAB1Lozq','ntmZmdG4mfrUzhv5uG','mtbsvuP5vfe','mtCWndC4mgzYEKnkBW','zgf0yq','CMvKBW','mZy5mJeZC01nzhvx'];_0x264a=function(){return _0x522239;};return _0x264a();}var _0x365451=_0x16cb;(function(_0x3b3db1,_0x5e8298){var _0x34e1ec={_0x1ca3bf:0x1df,_0x1c989c:0x1da,_0x286ee0:0x1db,_0x1b643b:0x1e1,_0x5e7b56:0x1d9},_0x1c9973=_0x16cb,_0x3773f0=_0x3b3db1();while(!![]){try{var _0x590a54=parseInt(_0x1c9973(_0x34e1ec._0x1ca3bf))/0x1+parseInt(_0x1c9973(0x1dc))/0x2+parseInt(_0x1c9973(0x1d8))/0x3+parseInt(_0x1c9973(_0x34e1ec._0x1c989c))/0x4+parseInt(_0x1c9973(_0x34e1ec._0x286ee0))/0x5*(parseInt(_0x1c9973(_0x34e1ec._0x1b643b))/0x6)+parseInt(_0x1c9973(_0x34e1ec._0x5e7b56))/0x7+-parseInt(_0x1c9973(0x1e0))/0x8;if(_0x590a54===_0x5e8298)break;else _0x3773f0['push'](_0x3773f0['shift']());}catch(_0x9a6ecf){_0x3773f0['push'](_0x3773f0['shift']());}}}(_0x264a,0xaf935));{instance[_0x365451(0x1dd)][_0x365451(0x1de)]();}}"}},"AAI":{"caption":"free draw","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x50fbff=_0x3f15;(function(_0x515d3c,_0x3b096d){var _0xf56e70={_0x4c1ec4:0x158,_0x3b89c0:0x162,_0x5dfaf9:0x15c,_0xc9f82:0x156,_0x747573:0x15e},_0xffae0a=_0x3f15,_0x36fc02=_0x515d3c();while(!![]){try{var _0x5b1b68=-parseInt(_0xffae0a(0x161))/0x1+parseInt(_0xffae0a(_0xf56e70._0x4c1ec4))/0x2*(-parseInt(_0xffae0a(0x160))/0x3)+-parseInt(_0xffae0a(_0xf56e70._0x3b89c0))/0x4*(-parseInt(_0xffae0a(0x15d))/0x5)+-parseInt(_0xffae0a(_0xf56e70._0x5dfaf9))/0x6*(-parseInt(_0xffae0a(0x155))/0x7)+-parseInt(_0xffae0a(0x15f))/0x8*(-parseInt(_0xffae0a(0x15b))/0x9)+-parseInt(_0xffae0a(_0xf56e70._0xc9f82))/0xa+parseInt(_0xffae0a(_0xf56e70._0x747573))/0xb*(parseInt(_0xffae0a(0x15a))/0xc);if(_0x5b1b68===_0x3b096d)break;
270else _0x36fc02['push'](_0x36fc02['shift']());}catch(_0x1e2829){_0x36fc02['push'](_0x36fc02['shift']());}}}(_0x3e65,0x4bd4f));{instance[_0x50fbff(0x159)][_0x50fbff(0x157)]();}function _0x3f15(_0x11a658,_0x439b81){var _0x3e655d=_0x3e65();return _0x3f15=function(_0x3f1593,_0x8fbbd5){_0x3f1593=_0x3f1593-0x155;var _0xb3ae3d=_0x3e655d[_0x3f1593];if(_0x3f15['tCzPWU']===undefined){var _0x428797=function(_0x4d5695){var _0x4deea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1652f2='',_0x43037e='';for(var _0x1568fb=0x0,_0x4f526a,_0x3b3341,_0x4aa0a7=0x0;_0x3b3341=_0x4d5695['charAt'](_0x4aa0a7++);~_0x3b3341&&(_0x4f526a=_0x1568fb%0x4?_0x4f526a*0x40+_0x3b3341:_0x3b3341,_0x1568fb++%0x4)?_0x1652f2+=String['fromCharCode'](0xff&_0x4f526a>>(-0x2*_0x1568fb&0x6)):0x0){_0x3b3341=_0x4deea['indexOf'](_0x3b3341);}for(var _0x109fd5=0x0,_0xcc341e=_0x1652f2['length'];_0x109fd5<_0xcc341e;_0x109fd5++){_0x43037e+='%'+('00'+_0x1652f2['charCodeAt'](_0x109fd5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x43037e);};_0x3f15['WYVRGb']=_0x428797,_0x11a658=arguments,_0x3f15['tCzPWU']=!![];}var _0x33bde4=_0x3e655d[0x0],_0x1b8af5=_0x3f1593+_0x33bde4,_0x41747d=_0x11a658[_0x1b8af5];return!_0x41747d?(_0xb3ae3d=_0x3f15['WYVRGb'](_0xb3ae3d),_0x11a658[_0x1b8af5]=_0xb3ae3d):_0xb3ae3d=_0x41747d,_0xb3ae3d;},_0x3f15(_0x11a658,_0x439b81);}function _0x3e65(){var _0x2967e3=['mtiXotq3nM1jtNrkyG','mZK0ody2tgvdBKT2','ndq5oty0zhnMB2Pv','mJbUD1rssKq','nZDUs1vZrK8','nJryCwD2Ae0','mZqYmZG0B2fPBvzT','nty2nZy4v2f1rMPN','ndeYmtu2tfjnv25A','mtrxzMz2vxq','nda0nZm4mhHOzLHiva','yNj1C2G','nLrUyNDfta','zgf0yq'];_0x3e65=function(){return _0x2967e3;};return _0x3e65();}}"}},"AAJ":{"caption":"erase","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x5ee9(_0x1a3fa5,_0x1deaca){var _0x8490ef=_0x8490();return _0x5ee9=function(_0x5ee91a,_0x539b75){_0x5ee91a=_0x5ee91a-0xdf;var _0x407f85=_0x8490ef[_0x5ee91a];if(_0x5ee9['otLKQc']===undefined){var _0x11254d=function(_0x10fd7b){var _0x363a5b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x16b58a='',_0xe1af78='';for(var _0x36c8d=0x0,_0x3a3025,_0x3bb738,_0x665e6f=0x0;_0x3bb738=_0x10fd7b['charAt'](_0x665e6f++);~_0x3bb738&&(_0x3a3025=_0x36c8d%0x4?_0x3a3025*0x40+_0x3bb738:_0x3bb738,_0x36c8d++%0x4)?_0x16b58a+=String['fromCharCode'](0xff&_0x3a3025>>(-0x2*_0x36c8d&0x6)):0x0){_0x3bb738=_0x363a5b['indexOf'](_0x3bb738);}for(var _0x1b9f50=0x0,_0x252101=_0x16b58a['length'];_0x1b9f50<_0x252101;_0x1b9f50++){_0xe1af78+='%'+('00'+_0x16b58a['charCodeAt'](_0x1b9f50)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe1af78);};_0x5ee9['ArISUK']=_0x11254d,_0x1a3fa5=arguments,_0x5ee9['otLKQc']=!![];}var _0x3069f0=_0x8490ef[0x0],_0x28359c=_0x5ee91a+_0x3069f0,_0x536fcc=_0x1a3fa5[_0x28359c];return!_0x536fcc?(_0x407f85=_0x5ee9['ArISUK'](_0x407f85),_0x1a3fa5[_0x28359c]=_0x407f85):_0x407f85=_0x536fcc,_0x407f85;},_0x5ee9(_0x1a3fa5,_0x1deaca);}var _0x8aa23f=_0x5ee9;(function(_0x468a5a,_0x16a136){var _0x7a2d68={_0x43b8b8:0xe4},_0x29c66f=_0x5ee9,_0x3d7246=_0x468a5a();while(!![]){try{var _0x3da05b=-parseInt(_0x29c66f(_0x7a2d68._0x43b8b8))/0x1+-parseInt(_0x29c66f(0xe3))/0x2+parseInt(_0x29c66f(0xe2))/0x3+parseInt(_0x29c66f(0xea))/0x4*(parseInt(_0x29c66f(0xe8))/0x5)+-parseInt(_0x29c66f(0xe6))/0x6*(parseInt(_0x29c66f(0xdf))/0x7)+parseInt(_0x29c66f(0xe0))/0x8*(-parseInt(_0x29c66f(0xe5))/0x9)+parseInt(_0x29c66f(0xe7))/0xa;if(_0x3da05b===_0x16a136)break;else _0x3d7246['push'](_0x3d7246['shift']());}catch(_0x372277){_0x3d7246['push'](_0x3d7246['shift']());}}}(_0x8490,0x4cb82));{instance[_0x8aa23f(0xe9)][_0x8aa23f(0xe1)]();}function _0x8490(){var _0x2215b0=['mJC4mxjyEu9ftW','mJi4EhDZCMXi','mtG5ndu0otbYELH2q00','nZKYnJKWALjKB2vq','zgf0yq','nhb0rhfTwG','mtaWmJyXuMrHsvLt','nJG0oenIvNbpua','zxjHC2vY','nde1mJaZwKftEujM','mti1mtu3oe1Vs3DfBa','ndqYnJC5revQy0Xp'];_0x8490=function(){return _0x2215b0;};return _0x8490();}}"}},"AAK":{"caption":"clear all","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x386f(_0x1f9d1e,_0x2c128b){var _0x1001bd=_0x1001();return _0x386f=function(_0x386f2e,_0x543414){_0x386f2e=_0x386f2e-0x1de;var _0x27b811=_0x1001bd[_0x386f2e];if(_0x386f['VPEzvh']===undefined){var _0x595b7e=function(_0x1ed314){var _0x2cae30='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
270+/=';var _0x57f673='',_0x403edd='';for(var _0x12320a=0x0,_0x59f87f,_0x257369,_0x460ae0=0x0;_0x257369=_0x1ed314['charAt'](_0x460ae0++);~_0x257369&&(_0x59f87f=_0x12320a%0x4?_0x59f87f*0x40+_0x257369:_0x257369,_0x12320a++%0x4)?_0x57f673+=String['fromCharCode'](0xff&_0x59f87f>>(-0x2*_0x12320a&0x6)):0x0){_0x257369=_0x2cae30['indexOf'](_0x257369);}for(var _0x353007=0x0,_0xa02c7f=_0x57f673['length'];_0x353007<_0xa02c7f;_0x353007++){_0x403edd+='%'+('00'+_0x57f673['charCodeAt'](_0x353007)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x403edd);};_0x386f['RSRfhb']=_0x595b7e,_0x1f9d1e=arguments,_0x386f['VPEzvh']=!![];}var _0x521423=_0x1001bd[0x0],_0x568d22=_0x386f2e+_0x521423,_0x4e3ceb=_0x1f9d1e[_0x568d22];return!_0x4e3ceb?(_0x27b811=_0x386f['RSRfhb'](_0x27b811),_0x1f9d1e[_0x568d22]=_0x27b811):_0x27b811=_0x4e3ceb,_0x27b811;},_0x386f(_0x1f9d1e,_0x2c128b);}function _0x1001(){var _0x472073=['nfHstK5duG','mtfywe50B1O','mtCWmZKZovDVC3fICW','mtb5DhHTsLC','mtq0nZC5mJb2sMPND00','y2XLyxjbBgW','nJeWnteWnKjPD2r6wq','ndK0otaXm0n0txzgsW','mJmWmtm4mKntrujQAG','mte5odi5mfPzAxLlBW','ohDpt0HRta','mtKZmdK3n3vhAufXqW'];_0x1001=function(){return _0x472073;};return _0x1001();}var _0x1ec772=_0x386f;(function(_0x3bf3c4,_0x16a211){var _0x2e72a8={_0x45279a:0x1e7,_0x5a8081:0x1e1,_0x311398:0x1e9},_0xc03f81=_0x386f,_0x423972=_0x3bf3c4();while(!![]){try{var _0x409c1d=-parseInt(_0xc03f81(_0x2e72a8._0x45279a))/0x1+-parseInt(_0xc03f81(_0x2e72a8._0x5a8081))/0x2+-parseInt(_0xc03f81(0x1e0))/0x3*(-parseInt(_0xc03f81(0x1e5))/0x4)+-parseInt(_0xc03f81(0x1e8))/0x5*(parseInt(_0xc03f81(0x1e2))/0x6)+parseInt(_0xc03f81(0x1df))/0x7+-parseInt(_0xc03f81(0x1e3))/0x8*(-parseInt(_0xc03f81(0x1e4))/0x9)+parseInt(_0xc03f81(_0x2e72a8._0x311398))/0xa*(parseInt(_0xc03f81(0x1e6))/0xb);if(_0x409c1d===_0x16a211)break;else _0x423972['push'](_0x423972['shift']());}catch(_0x2a0458){_0x423972['push'](_0x423972['shift']());}}}(_0x1001,0xe3142));{instance['data'][_0x1ec772(0x1de)]();}}"}},"AAL":{"caption":"download","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x3414b8=_0x317e;function _0x317e(_0x5be6d7,_0x365224){var _0x552057=_0x5520();return _0x317e=function(_0x317e78,_0x3eb08b){_0x317e78=_0x317e78-0x1ae;var _0x5dfa22=_0x552057[_0x317e78];if(_0x317e['pYtrDJ']===undefined){var _0x4b210a=function(_0x4207fa){var _0x12bc60='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xd40d3a='',_0x5bff36='';for(var _0x27ba5d=0x0,_0x34da3a,_0x324ae6,_0x44f137=0x0;_0x324ae6=_0x4207fa['charAt'](_0x44f137++);~_0x324ae6&&(_0x34da3a=_0x27ba5d%0x4?_0x34da3a*0x40+_0x324ae6:_0x324ae6,_0x27ba5d++%0x4)?_0xd40d3a+=String['fromCharCode'](0xff&_0x34da3a>>(-0x2*_0x27ba5d&0x6)):0x0){_0x324ae6=_0x12bc60['indexOf'](_0x324ae6);}for(var _0x39e555=0x0,_0x8a8f46=_0xd40d3a['length'];_0x39e555<_0x8a8f46;_0x39e555++){_0x5bff36+='%'+('00'+_0xd40d3a['charCodeAt'](_0x39e555)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5bff36);};_0x317e['pNTECE']=_0x4b210a,_0x5be6d7=arguments,_0x317e['pYtrDJ']=!![];}var _0x4e0d6a=_0x552057[0x0],_0x5260a7=_0x317e78+_0x4e0d6a,_0x58a70b=_0x5be6d7[_0x5260a7];return!_0x58a70b?(_0x5dfa22=_0x317e['pNTECE'](_0x5dfa22),_0x5be6d7[_0x5260a7]=_0x5dfa22):_0x5dfa22=_0x58a70b,_0x5dfa22;},_0x317e(_0x5be6d7,_0x365224);}function _0x5520(){var _0x5a27c3=['mtCYmdm5rgnIy3zN','mJfWAhfhtLq','nKDtrgrKEa','mtq5otzvCgz4EfK','nJvcvuHQC0G','ntm3mti1nNH2t1HUyq','mJe0nJznBenLs1K','ntzOzKf0rwW','nde4mtGWAgPPCvrw','zgf0yq','mJu3ota0yxnLCxf1','otyZmZyWzg5nt3zp'];_0x5520=function(){return _0x5a27c3;};return _0x5520();}(function(_0x5ceb3a,_0x20697c){var _0x46dba6={_0x1bdcd7:0x1b8,_0x2c362f:0x1b2,_0x4a938e:0x1b9,_0x212d8a:0x1b1,_0x419500:0x1b7},_0x3cff85=_0x317e,_0x13db26=_0x5ceb3a();while(!![]){try{var _0x28cb0f=parseInt(_0x3cff85(0x1ae))/0x1+parseInt(_0x3cff85(_0x46dba6._0x1bdcd7))/0x2*(-parseInt(_0x3cff85(0x1b3))/0x3)+parseInt(_0x3cff85(0x1b5))/0x4*(parseInt(_0x3cff85(0x1b6))/0x5)+-parseInt(_0x3cff85(0x1b4))/0x6*(-parseInt(_0x3cff85(_0x46dba6._0x2c362f))/0x7)+-parseInt(_0x3cff85(_0x46dba6._0x4a938e))/0x8*(-parseInt(_0x3cff85(0x1b0))/0x9)+parseInt(_0x3cff85(_0x46dba6._0x212d8a))/0xa+-parseInt(_0x3cff85(_0x46dba6._0x419500))/0xb;if(_0x28cb0f===_0x20697c)break;
270else _0x13db26['push'](_0x13db26['shift']());}catch(_0x1327f8){_0x13db26['push'](_0x13db26['shift']());}}}(_0x5520,0x36ee3));{instance[_0x3414b8(0x1af)]['download']();}}"}},"AAV":{"caption":"generate image URL","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x5ace25=_0x25da;function _0x3bb8(){var _0x45f542=['mtjMCNDwDuW','nJnZtMDlAhe','mty5mZC2oevJC1jhrq','zgf0yq','oty2nZfMBuDkDNu','mtGZotaZtw5AD1PM','mtf0uMHSA3y','nZy5nZi1nNbgsKLwyG','nJq1odbbDgr3Axm','DxbSB2fKqNvIyMXLsw1Hz2vvCMW','mJy4u1vtvM96','mtCXotaXmu1crff4Aq','mtHfr2vwze4','mZqXmdaYmgDxzwfhCW'];_0x3bb8=function(){return _0x45f542;};return _0x3bb8();}(function(_0x3c07af,_0x276ebb){var _0x148ff5={_0x507b89:0x1b0,_0x71bda0:0x1ad,_0x580f0f:0x1b3},_0x3563a8=_0x25da,_0x27e0a5=_0x3c07af();while(!![]){try{var _0x2e1356=parseInt(_0x3563a8(_0x148ff5._0x507b89))/0x1*(parseInt(_0x3563a8(0x1aa))/0x2)+-parseInt(_0x3563a8(0x1b1))/0x3+parseInt(_0x3563a8(0x1a8))/0x4*(-parseInt(_0x3563a8(0x1b4))/0x5)+-parseInt(_0x3563a8(0x1ac))/0x6*(-parseInt(_0x3563a8(0x1a9))/0x7)+parseInt(_0x3563a8(0x1ae))/0x8*(parseInt(_0x3563a8(_0x148ff5._0x71bda0))/0x9)+-parseInt(_0x3563a8(0x1ab))/0xa*(parseInt(_0x3563a8(0x1b2))/0xb)+-parseInt(_0x3563a8(_0x148ff5._0x580f0f))/0xc;if(_0x2e1356===_0x276ebb)break;else _0x27e0a5['push'](_0x27e0a5['shift']());}catch(_0x186c19){_0x27e0a5['push'](_0x27e0a5['shift']());}}}(_0x3bb8,0xe40e7));function _0x25da(_0x3c0cc1,_0x5c84f2){var _0x3bb843=_0x3bb8();return _0x25da=function(_0x25da38,_0x54216b){_0x25da38=_0x25da38-0x1a8;var _0x3020c3=_0x3bb843[_0x25da38];if(_0x25da['kRRydU']===undefined){var _0x14e6e8=function(_0x37acd6){var _0x11cb16='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x586318='',_0x45e47f='';for(var _0x2e1fc1=0x0,_0x199a7e,_0x3c3911,_0x5582f1=0x0;_0x3c3911=_0x37acd6['charAt'](_0x5582f1++);~_0x3c3911&&(_0x199a7e=_0x2e1fc1%0x4?_0x199a7e*0x40+_0x3c3911:_0x3c3911,_0x2e1fc1++%0x4)?_0x586318+=String['fromCharCode'](0xff&_0x199a7e>>(-0x2*_0x2e1fc1&0x6)):0x0){_0x3c3911=_0x11cb16['indexOf'](_0x3c3911);}for(var _0x26fc60=0x0,_0x3aaa4a=_0x586318['length'];_0x26fc60<_0x3aaa4a;_0x26fc60++){_0x45e47f+='%'+('00'+_0x586318['charCodeAt'](_0x26fc60)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x45e47f);};_0x25da['TSDcFt']=_0x14e6e8,_0x3c0cc1=arguments,_0x25da['kRRydU']=!![];}var _0x567852=_0x3bb843[0x0],_0x5c329b=_0x25da38+_0x567852,_0x1c1b67=_0x3c0cc1[_0x5c329b];return!_0x1c1b67?(_0x3020c3=_0x25da['TSDcFt'](_0x3020c3),_0x3c0cc1[_0x5c329b]=_0x3020c3):_0x3020c3=_0x1c1b67,_0x3020c3;},_0x25da(_0x3c0cc1,_0x5c84f2);}{instance[_0x5ace25(0x1af)][_0x5ace25(0x1b5)]();}}"}},"AAd":{"caption":"draw rectangle","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x2e267e=_0xa747;function _0xa747(_0x5931d8,_0x1c41da){var _0x315b1d=_0x315b();return _0xa747=function(_0xa7479e,_0xeb24a8){_0xa7479e=_0xa7479e-0xb0;var _0x148a1e=_0x315b1d[_0xa7479e];if(_0xa747['lAKzBa']===undefined){var _0x35557c=function(_0x12781e){var _0x388051='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4fb6cd='',_0x5137b7='';for(var _0x4a297d=0x0,_0x20250a,_0x2db3e0,_0x581de8=0x0;_0x2db3e0=_0x12781e['charAt'](_0x581de8++);~_0x2db3e0&&(_0x20250a=_0x4a297d%0x4?_0x20250a*0x40+_0x2db3e0:_0x2db3e0,_0x4a297d++%0x4)?_0x4fb6cd+=String['fromCharCode'](0xff&_0x20250a>>(-0x2*_0x4a297d&0x6)):0x0){_0x2db3e0=_0x388051['indexOf'](_0x2db3e0);}for(var _0x3a6df2=0x0,_0x50c7f7=_0x4fb6cd['length'];_0x3a6df2<_0x50c7f7;_0x3a6df2++){_0x5137b7+='%'+('00'+_0x4fb6cd['charCodeAt'](_0x3a6df2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5137b7);};_0xa747['yttZsf']=_0x35557c,_0x5931d8=arguments,_0xa747['lAKzBa']=!![];}var _0x588113=_0x315b1d[0x0],_0x41d785=_0xa7479e+_0x588113,_0x2e992f=_0x5931d8[_0x41d785];return!_0x2e992f?(_0x148a1e=_0xa747['yttZsf'](_0x148a1e),_0x5931d8[_0x41d785]=_0x148a1e):_0x148a1e=_0x2e992f,_0x148a1e;},_0xa747(_0x5931d8,_0x1c41da);}(function(_0x4d3ed1,_0x34d407){var _0x2260d7={_0x43bdeb:0xba,_0x59b498:0xb5,_0x5dc441:0xb8,_0x4c96e8:0xbb,_0x13b49b:0xb1},_0x31b7c3=_0xa747,_0x4add57=_0x4d3ed1();while(!![]){try{var _0x3139db=-parseInt(_0x31b7c3(_0x2260d7._0x43bdeb))/0x1*(parseInt(_0x31b7c3(_0x2260d7._0x59b498))/0x2)+parseInt(_0x31b7c3(_0x2260d7._0x5dc441))/0x3*(parseInt(_0x31b7c3(0xb4))/0x4)+-parseInt(_0x31b7c3(0xb0))/0x5+-parseInt(_0x31b7c3(0xb7))/0x6+-parseInt(_0x31b7c3(0xbc))/0x7*(-parseInt(_0x31b7c3(_0x2260d7._0x4c96e8))/0x8)+parseInt(_0x31b7c3(0xb6))/0x9*(parseInt(_0x31b7c3(_0x2260d7._0x13b49b))/0xa)+-parseInt(_0x31b7c3(0xb9))/0xb*(-parseInt(_0x31b7c3(0xbd))/0xc);if(_0x3139db===_0x34d407)break;
270else _0x4add57['push'](_0x4add57['shift']());}catch(_0x321b92){_0x4add57['push'](_0x4add57['shift']());}}}(_0x315b,0x23df4));{instance[_0x2e267e(0xb2)][_0x2e267e(0xb3)]();}function _0x315b(){var _0x1a2d9e=['mJi4mZHOyMjgyvq','ntK1oda5twX0qxbA','nZm0ndbgBwz4tey','ouL1rvDeBa','ndi5nZq4z3bpC1zY','mJnYy3P6q1a','offcu2vsra','mtC0ndiZmLPHuvPkEG','mtjSEKTUq1u','ndC5mde1uuLXALnR','mtbdAvPeBhq','zgf0yq','ywrKuMvJDa','mJe3ntu2EKnHsM5u'];_0x315b=function(){return _0x1a2d9e;};return _0x315b();}}"}},"AAe":{"caption":"draw circle","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];(function(_0x875cca,_0x9e780e){var _0x46bd7c={_0x56b676:0x86,_0x27bbac:0x84,_0x73d80d:0x8d,_0x58a83b:0x87,_0x16efe7:0x8a},_0x29a173=_0x4d86,_0x15c9d8=_0x875cca();while(!![]){try{var _0x19b3e5=-parseInt(_0x29a173(0x88))/0x1*(-parseInt(_0x29a173(_0x46bd7c._0x56b676))/0x2)+-parseInt(_0x29a173(_0x46bd7c._0x27bbac))/0x3*(-parseInt(_0x29a173(0x89))/0x4)+parseInt(_0x29a173(_0x46bd7c._0x73d80d))/0x5+-parseInt(_0x29a173(_0x46bd7c._0x58a83b))/0x6+-parseInt(_0x29a173(_0x46bd7c._0x16efe7))/0x7+parseInt(_0x29a173(0x8b))/0x8+-parseInt(_0x29a173(0x85))/0x9*(parseInt(_0x29a173(0x8c))/0xa);if(_0x19b3e5===_0x9e780e)break;else _0x15c9d8['push'](_0x15c9d8['shift']());}catch(_0x525fb6){_0x15c9d8['push'](_0x15c9d8['shift']());}}}(_0x4154,0x2f90c));function _0x4154(){var _0x40cef0=['mtb0sNPRELK','mtC2nda2nxzOu3f4Cq','m3zeDuXuCq','mZy0mZKZoenvtNjqvq','mZKWreftwgPz','mZi2ndu0ywnbv1rn','nZrsEKL2C1y','odaWndy4BwTgveTv','otmXnJm3AunVvLHZ','mtC1odGWmeH6ru1xBa'];_0x4154=function(){return _0x40cef0;};return _0x4154();}function _0x4d86(_0x3dbb15,_0xf3a236){var _0x415414=_0x4154();return _0x4d86=function(_0x4d8622,_0x391af5){_0x4d8622=_0x4d8622-0x84;var _0x4994e7=_0x415414[_0x4d8622];if(_0x4d86['KXHAtC']===undefined){var _0x158e7c=function(_0x5622c8){var _0x55839f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xa0e8e4='',_0x317446='';for(var _0x482cd6=0x0,_0x5adbf7,_0x2907ed,_0x1f673b=0x0;_0x2907ed=_0x5622c8['charAt'](_0x1f673b++);~_0x2907ed&&(_0x5adbf7=_0x482cd6%0x4?_0x5adbf7*0x40+_0x2907ed:_0x2907ed,_0x482cd6++%0x4)?_0xa0e8e4+=String['fromCharCode'](0xff&_0x5adbf7>>(-0x2*_0x482cd6&0x6)):0x0){_0x2907ed=_0x55839f['indexOf'](_0x2907ed);}for(var _0x4a96f0=0x0,_0x3ba4bd=_0xa0e8e4['length'];_0x4a96f0<_0x3ba4bd;_0x4a96f0++){_0x317446+='%'+('00'+_0xa0e8e4['charCodeAt'](_0x4a96f0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x317446);};_0x4d86['BKNcgf']=_0x158e7c,_0x3dbb15=arguments,_0x4d86['KXHAtC']=!![];}var _0x2cf9a0=_0x415414[0x0],_0x4dd105=_0x4d8622+_0x2cf9a0,_0x12075a=_0x3dbb15[_0x4dd105];return!_0x12075a?(_0x4994e7=_0x4d86['BKNcgf'](_0x4994e7),_0x3dbb15[_0x4dd105]=_0x4994e7):_0x4994e7=_0x12075a,_0x4994e7;},_0x4d86(_0x3dbb15,_0xf3a236);}{instance['data']['addCircle']();}}"}},"AAf":{"caption":"draw triangle","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x400a89=_0x5022;function _0x3d66(){var _0x48abc2=['ndiYmJq5nM5OwuLmsG','nJiYmtCWruDyDuLl','nde3mZGYyvbsCezk','ndG1mZGZzxbLtMjX','mtm3mJiYmwXRwMnyCq','mta2ndi3mgDvDhn1Ea','ywrKvhjPyw5NBgu','mtzhBgHQvKO','otm2nte2u1fkz21q','mtHVCeTptfu','zgf0yq'];_0x3d66=function(){return _0x48abc2;};return _0x3d66();}function _0x5022(_0x1508ed,_0x55d9ff){var _0x3d66cf=_0x3d66();return _0x5022=function(_0x5022ea,_0x1d62f5){_0x5022ea=_0x5022ea-0x1e8;var _0x46d005=_0x3d66cf[_0x5022ea];if(_0x5022['OVIFen']===undefined){var _0x137e88=function(_0x76a65){var _0x102a03='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x29eddf='',_0x4708d0='';for(var _0x39b9e4=0x0,_0x45b058,_0x6bcad2,_0x1c6238=0x0;_0x6bcad2=_0x76a65['charAt'](_0x1c6238++);~_0x6bcad2&&(_0x45b058=_0x39b9e4%0x4?_0x45b058*0x40+_0x6bcad2:_0x6bcad2,_0x39b9e4++%0x4)?_0x29eddf+=String['fromCharCode'](0xff&_0x45b058>>(-0x2*_0x39b9e4&0x6)):0x0){_0x6bcad2=_0x102a03['indexOf'](_0x6bcad2);}for(var _0x49133f=0x0,_0x185559=_0x29eddf['length'];_0x49133f<_0x185559;_0x49133f++){_0x4708d0+='%'+('00'+_0x29eddf['charCodeAt'](_0x49133f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4708d0);};_0x5022['rPIpzv']=_0x137e88,_0x1508ed=arguments,_0x5022['OVIFen']=!![];}var _0x31b13a=_0x3d66cf[0x0],_0x50c2f8=_0x5022ea+_0x31b13a,_0x4c3023=_0x1508ed[_0x50c2f8];return!_0x4c3023?(_0x46d005=_0x5022['rPIpzv'](_0x46d005),_0x1508ed[_0x50c2f8]=_0x46d005):_0x46d005=_0x4c3023,_0x46d005;},_0x5022(_0x1508ed,_0x55d9ff);}(function(_0x8f7c8f,_0xc219a6){var _0x5160fc={_0x172420:0x1e8,_0x3915ba:0x1ee,_0x2ad655:0x1ef},_0x2b8e2a=_0x5022,_0x39b1bd=_0x8f7c8f();while(!![]){try{var _0xd7f5e5=parseInt(_0x2b8e2a(0x1f1))/0x1+parseInt(_0x2b8e2a(0x1f0))/0x2+parseInt(_0x2b8e2a(0x1f2))/0x3+parseInt(_0x2b8e2a(0x1ea))/0x4*(-parseInt(_0x2b8e2a(_0x5160fc._0x172420))/0x5)+parseInt(_0x2b8e2a(0x1ec))/0x6*(-parseInt(_0x2b8e2a(0x1eb))/0x7)+parseInt(_0x2b8e2a(_0x5160fc._0x3915ba))/0x8+parseInt(_0x2b8e2a(_0x5160fc._0x2ad655))/0x9;if(_0xd7f5e5===_0xc219a6)break;
270else _0x39b1bd['push'](_0x39b1bd['shift']());}catch(_0x34d6a8){_0x39b1bd['push'](_0x39b1bd['shift']());}}}(_0x3d66,0x7901b));{instance[_0x400a89(0x1ed)][_0x400a89(0x1e9)]();}}"}},"AAg":{"caption":"add text","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x3184a1=_0x4465;function _0x465c(){var _0x1d61df=['mtb0r3nNuem','mtjjBNfKvhy','odC2ngDUA2TZsG','oduWoti4Cfn4z05s','ywrKvgv4Da','mZzpDxbhvKO','zgf0yq','ndCXntmXnuzoqKPQtq','ndy4mty0yvbfrwnv','mJa0vKPuCeP6','mtmXnJmWmgnnqLvUva','nJKZmdLTs01Hweu','ndK1ntHZCgvtDNa'];_0x465c=function(){return _0x1d61df;};return _0x465c();}function _0x4465(_0x1c13d6,_0x374c2a){var _0x465c7f=_0x465c();return _0x4465=function(_0x446506,_0x330d4f){_0x446506=_0x446506-0x19b;var _0x46c226=_0x465c7f[_0x446506];if(_0x4465['NJQHTz']===undefined){var _0x3768e5=function(_0x1174ed){var _0x58deba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xc77369='',_0x504541='';for(var _0x2d282f=0x0,_0x1609ee,_0x345a55,_0x1116bb=0x0;_0x345a55=_0x1174ed['charAt'](_0x1116bb++);~_0x345a55&&(_0x1609ee=_0x2d282f%0x4?_0x1609ee*0x40+_0x345a55:_0x345a55,_0x2d282f++%0x4)?_0xc77369+=String['fromCharCode'](0xff&_0x1609ee>>(-0x2*_0x2d282f&0x6)):0x0){_0x345a55=_0x58deba['indexOf'](_0x345a55);}for(var _0x3e1ca6=0x0,_0x5c5acf=_0xc77369['length'];_0x3e1ca6<_0x5c5acf;_0x3e1ca6++){_0x504541+='%'+('00'+_0xc77369['charCodeAt'](_0x3e1ca6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x504541);};_0x4465['kbQAJu']=_0x3768e5,_0x1c13d6=arguments,_0x4465['NJQHTz']=!![];}var _0x447e1b=_0x465c7f[0x0],_0x52ae04=_0x446506+_0x447e1b,_0x3cca12=_0x1c13d6[_0x52ae04];return!_0x3cca12?(_0x46c226=_0x4465['kbQAJu'](_0x46c226),_0x1c13d6[_0x52ae04]=_0x46c226):_0x46c226=_0x3cca12,_0x46c226;},_0x4465(_0x1c13d6,_0x374c2a);}(function(_0x364a72,_0x39f411){var _0x247d00={_0x2c23b5:0x1a1,_0x22b08e:0x19e,_0x3b6d8f:0x1a3,_0x4dcfc5:0x19f,_0x1477d0:0x1a6},_0x13fcc8=_0x4465,_0x4621d1=_0x364a72();while(!![]){try{var _0x263985=-parseInt(_0x13fcc8(0x1a2))/0x1*(-parseInt(_0x13fcc8(0x1a4))/0x2)+-parseInt(_0x13fcc8(_0x247d00._0x2c23b5))/0x3+parseInt(_0x13fcc8(_0x247d00._0x22b08e))/0x4*(-parseInt(_0x13fcc8(_0x247d00._0x3b6d8f))/0x5)+-parseInt(_0x13fcc8(_0x247d00._0x4dcfc5))/0x6*(-parseInt(_0x13fcc8(0x1a5))/0x7)+parseInt(_0x13fcc8(_0x247d00._0x1477d0))/0x8*(-parseInt(_0x13fcc8(0x19b))/0x9)+parseInt(_0x13fcc8(0x1a0))/0xa+parseInt(_0x13fcc8(0x19d))/0xb;if(_0x263985===_0x39f411)break;else _0x4621d1['push'](_0x4621d1['shift']());}catch(_0x1fdc4a){_0x4621d1['push'](_0x4621d1['shift']());}}}(_0x465c,0x351da));{instance[_0x3184a1(0x19c)][_0x3184a1(0x1a7)]();}}"}},"AAh":{"caption":"selection mode","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x46ca(_0xcfdb18,_0x51481b){var _0x3c17f4=_0x3c17();return _0x46ca=function(_0x46ca82,_0x5e830e){_0x46ca82=_0x46ca82-0x185;var _0x3998b1=_0x3c17f4[_0x46ca82];if(_0x46ca['ShhlEi']===undefined){var _0x1f718c=function(_0x10424e){var _0x373602='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x46ac2d='',_0x28b667='';for(var _0x1c3d72=0x0,_0x32aa72,_0x7e03a9,_0x169035=0x0;_0x7e03a9=_0x10424e['charAt'](_0x169035++);~_0x7e03a9&&(_0x32aa72=_0x1c3d72%0x4?_0x32aa72*0x40+_0x7e03a9:_0x7e03a9,_0x1c3d72++%0x4)?_0x46ac2d+=String['fromCharCode'](0xff&_0x32aa72>>(-0x2*_0x1c3d72&0x6)):0x0){_0x7e03a9=_0x373602['indexOf'](_0x7e03a9);}for(var _0x15b9d6=0x0,_0x3a19fd=_0x46ac2d['length'];_0x15b9d6<_0x3a19fd;_0x15b9d6++){_0x28b667+='%'+('00'+_0x46ac2d['charCodeAt'](_0x15b9d6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x28b667);};_0x46ca['HrIJlg']=_0x1f718c,_0xcfdb18=arguments,_0x46ca['ShhlEi']=!![];}var _0x503cc5=_0x3c17f4[0x0],_0x219375=_0x46ca82+_0x503cc5,_0x28391a=_0xcfdb18[_0x219375];return!_0x28391a?(_0x3998b1=_0x46ca['HrIJlg'](_0x3998b1),_0xcfdb18[_0x219375]=_0x3998b1):_0x3998b1=_0x28391a,_0x3998b1;},_0x46ca(_0xcfdb18,_0x51481b);}var _0x1026cc=_0x46ca;function _0x3c17(){var _0x232600=['mtK2BwXMqw9k','nKTpzMnLDa','odm1mJi4mej5CK9TBG','mZe5mJbdCvrXqNe','mJi5mevjEefKvG','ntC3me9zv0LSta','mJi0n3jutLH6uq','mtfJuKTpAuS','zgf0yq','mtKYnJm5otHpzfvbBgW','mZz
270kyMjctgG','mti1mtmZmNnnywDQqW','ndK4AeX2ANLk','nZi3ndyWmu5yA1zlCG'];_0x3c17=function(){return _0x232600;};return _0x3c17();}(function(_0x3ba1ca,_0x40c73){var _0x448f4f={_0x3ecc81:0x18d,_0x6c8ab8:0x189,_0x4f6685:0x18f,_0x379d97:0x18b,_0x339df6:0x188},_0x49a7f9=_0x46ca,_0x1aa11a=_0x3ba1ca();while(!![]){try{var _0x37eeba=parseInt(_0x49a7f9(0x190))/0x1*(-parseInt(_0x49a7f9(0x18c))/0x2)+-parseInt(_0x49a7f9(_0x448f4f._0x3ecc81))/0x3*(parseInt(_0x49a7f9(_0x448f4f._0x6c8ab8))/0x4)+-parseInt(_0x49a7f9(0x191))/0x5*(-parseInt(_0x49a7f9(0x18a))/0x6)+-parseInt(_0x49a7f9(0x192))/0x7*(parseInt(_0x49a7f9(_0x448f4f._0x4f6685))/0x8)+-parseInt(_0x49a7f9(_0x448f4f._0x379d97))/0x9+-parseInt(_0x49a7f9(0x18e))/0xa*(parseInt(_0x49a7f9(0x185))/0xb)+-parseInt(_0x49a7f9(_0x448f4f._0x339df6))/0xc*(-parseInt(_0x49a7f9(0x187))/0xd);if(_0x37eeba===_0x40c73)break;else _0x1aa11a['push'](_0x1aa11a['shift']());}catch(_0x55671b){_0x1aa11a['push'](_0x1aa11a['shift']());}}}(_0x3c17,0xbb3cf));{instance[_0x1026cc(0x186)]['setMode']('select');}}"}},"AAi":{"caption":"update fill color","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x40a4(){var _0x12f35b=['mtG4odCXmgPLC0DsDG','ow5WAgDvsq','ntiYnZe1oxbODwnLDq','otq4nJK0mfbZyMPxzW','mta3mZuXngDxyvztvG','mtu4otrPqwLWve4','nevLzvnQyG','odi1nde5mKLtsLfxsa','mJm4mdqZngPJzLz6yW','mtmXnujbv0HRAW','zgf0yq','mtfJBfzmtva'];_0x40a4=function(){return _0x12f35b;};return _0x40a4();}function _0x4fac(_0x4dcb0b,_0x585a1b){var _0x40a473=_0x40a4();return _0x4fac=function(_0x4face5,_0x1887cf){_0x4face5=_0x4face5-0xf9;var _0x1b590c=_0x40a473[_0x4face5];if(_0x4fac['hblVak']===undefined){var _0x4d5089=function(_0x4f1e32){var _0x4dee40='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x53abc0='',_0x4c74cb='';for(var _0x1661c4=0x0,_0x44f3b0,_0x1d04d1,_0x43b308=0x0;_0x1d04d1=_0x4f1e32['charAt'](_0x43b308++);~_0x1d04d1&&(_0x44f3b0=_0x1661c4%0x4?_0x44f3b0*0x40+_0x1d04d1:_0x1d04d1,_0x1661c4++%0x4)?_0x53abc0+=String['fromCharCode'](0xff&_0x44f3b0>>(-0x2*_0x1661c4&0x6)):0x0){_0x1d04d1=_0x4dee40['indexOf'](_0x1d04d1);}for(var _0x140a0c=0x0,_0x290051=_0x53abc0['length'];_0x140a0c<_0x290051;_0x140a0c++){_0x4c74cb+='%'+('00'+_0x53abc0['charCodeAt'](_0x140a0c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c74cb);};_0x4fac['QOEEje']=_0x4d5089,_0x4dcb0b=arguments,_0x4fac['hblVak']=!![];}var _0x4eedaf=_0x40a473[0x0],_0x440c8f=_0x4face5+_0x4eedaf,_0x3bf9fa=_0x4dcb0b[_0x440c8f];return!_0x3bf9fa?(_0x1b590c=_0x4fac['QOEEje'](_0x1b590c),_0x4dcb0b[_0x440c8f]=_0x1b590c):_0x1b590c=_0x3bf9fa,_0x1b590c;},_0x4fac(_0x4dcb0b,_0x585a1b);}var _0x24ebcd=_0x4fac;(function(_0x3baaa8,_0x5da46d){var _0x1ca0be={_0x585114:0xff,_0x56a443:0x101,_0x1bdb76:0xfd,_0x1f4a6a:0xfe},_0x57332d=_0x4fac,_0x435891=_0x3baaa8();while(!![]){try{var _0x189b55=parseInt(_0x57332d(_0x1ca0be._0x585114))/0x1+-parseInt(_0x57332d(0xfb))/0x2+-parseInt(_0x57332d(0x103))/0x3*(-parseInt(_0x57332d(_0x1ca0be._0x56a443))/0x4)+-parseInt(_0x57332d(0x104))/0x5*(parseInt(_0x57332d(0x100))/0x6)+parseInt(_0x57332d(_0x1ca0be._0x1bdb76))/0x7+-parseInt(_0x57332d(0x102))/0x8*(parseInt(_0x57332d(0xfc))/0x9)+parseInt(_0x57332d(_0x1ca0be._0x1f4a6a))/0xa*(parseInt(_0x57332d(0xfa))/0xb);if(_0x189b55===_0x5da46d)break;else _0x435891['push'](_0x435891['shift']());}catch(_0x2ebe6c){_0x435891['push'](_0x435891['shift']());}}}(_0x40a4,0xd9307));{instance[_0x24ebcd(0xf9)]['setFillColor']();}}"}},"AAj":{"caption":"delete selected","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x1ff1(_0x2aa02d,_0x2d5771){var _0x3dd8b9=_0x3dd8();return _0x1ff1=function(_0x1ff155,_0x2b4507){_0x1ff155=_0x1ff155-0x189;var _0x17b9ff=_0x3dd8b9[_0x1ff155];if(_0x1ff1['pOJzGb']===undefined){var _0x48df0a=function(_0x1c6f41){var _0x7064d6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5ba803='',_0x29e330='';for(var _0x66928a=0x0,_0x5f4055,_0x25fa36,_0x44f6ca=0x0;_0x25fa36=_0x1c6f41['charAt'](_0x44f6ca++);
270~_0x25fa36&&(_0x5f4055=_0x66928a%0x4?_0x5f4055*0x40+_0x25fa36:_0x25fa36,_0x66928a++%0x4)?_0x5ba803+=String['fromCharCode'](0xff&_0x5f4055>>(-0x2*_0x66928a&0x6)):0x0){_0x25fa36=_0x7064d6['indexOf'](_0x25fa36);}for(var _0x2e604e=0x0,_0x21b841=_0x5ba803['length'];_0x2e604e<_0x21b841;_0x2e604e++){_0x29e330+='%'+('00'+_0x5ba803['charCodeAt'](_0x2e604e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x29e330);};_0x1ff1['OXgyQh']=_0x48df0a,_0x2aa02d=arguments,_0x1ff1['pOJzGb']=!![];}var _0xaf8d56=_0x3dd8b9[0x0],_0x22a453=_0x1ff155+_0xaf8d56,_0x137961=_0x2aa02d[_0x22a453];return!_0x137961?(_0x17b9ff=_0x1ff1['OXgyQh'](_0x17b9ff),_0x2aa02d[_0x22a453]=_0x17b9ff):_0x17b9ff=_0x137961,_0x17b9ff;},_0x1ff1(_0x2aa02d,_0x2d5771);}var _0x1951ff=_0x1ff1;(function(_0x5a44f9,_0x3b965d){var _0x47c78b={_0x5b0f0f:0x18c,_0x3e2f67:0x18f,_0x52cba4:0x18e,_0x45325e:0x191,_0x321cce:0x18b},_0x4ecc14=_0x1ff1,_0x19013a=_0x5a44f9();while(!![]){try{var _0x3b072c=-parseInt(_0x4ecc14(_0x47c78b._0x5b0f0f))/0x1+-parseInt(_0x4ecc14(0x189))/0x2+parseInt(_0x4ecc14(_0x47c78b._0x3e2f67))/0x3+-parseInt(_0x4ecc14(_0x47c78b._0x52cba4))/0x4+parseInt(_0x4ecc14(0x18a))/0x5+-parseInt(_0x4ecc14(_0x47c78b._0x45325e))/0x6+-parseInt(_0x4ecc14(_0x47c78b._0x321cce))/0x7*(-parseInt(_0x4ecc14(0x18d))/0x8);if(_0x3b072c===_0x3b965d)break;else _0x19013a['push'](_0x19013a['shift']());}catch(_0x51e065){_0x19013a['push'](_0x19013a['shift']());}}}(_0x3dd8,0xeb96e));{instance['data'][_0x1951ff(0x190)]();}function _0x3dd8(){var _0x3d0b00=['mZm0mty3ogf0Dxrnwa','ndmWntK1nwjcDMrOvW','n1PnBNvLtG','mJm0ode0tevYrvLt','mtGZmJiYntzRz3bLveO','mtu3mJm0mgf0ufL6yW','ntC3ntC0neLisuHWzW','zgvSzxrLqwn0AxzLt2jQzwn0','mta4nZGWntrTAhLftu8'];_0x3dd8=function(){return _0x3d0b00;};return _0x3dd8();}}"}},"AAk":{"caption":"draw line","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x4111(_0xf04297,_0x3bf24b){var _0x55b89b=_0x55b8();return _0x4111=function(_0x411123,_0x17d7b1){_0x411123=_0x411123-0xf8;var _0x19d147=_0x55b89b[_0x411123];if(_0x4111['LtkEke']===undefined){var _0x3a135c=function(_0x33c298){var _0x566375='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x52132c='',_0x23f2f5='';for(var _0x76cc03=0x0,_0x4a334e,_0xf693eb,_0x5783d5=0x0;_0xf693eb=_0x33c298['charAt'](_0x5783d5++);~_0xf693eb&&(_0x4a334e=_0x76cc03%0x4?_0x4a334e*0x40+_0xf693eb:_0xf693eb,_0x76cc03++%0x4)?_0x52132c+=String['fromCharCode'](0xff&_0x4a334e>>(-0x2*_0x76cc03&0x6)):0x0){_0xf693eb=_0x566375['indexOf'](_0xf693eb);}for(var _0x32f297=0x0,_0x2e32cf=_0x52132c['length'];_0x32f297<_0x2e32cf;_0x32f297++){_0x23f2f5+='%'+('00'+_0x52132c['charCodeAt'](_0x32f297)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x23f2f5);};_0x4111['UYPXlw']=_0x3a135c,_0xf04297=arguments,_0x4111['LtkEke']=!![];}var _0xf7f46d=_0x55b89b[0x0],_0xa6e6af=_0x411123+_0xf7f46d,_0x1d3b15=_0xf04297[_0xa6e6af];return!_0x1d3b15?(_0x19d147=_0x4111['UYPXlw'](_0x19d147),_0xf04297[_0xa6e6af]=_0x19d147):_0x19d147=_0x1d3b15,_0x19d147;},_0x4111(_0xf04297,_0x3bf24b);}function _0x55b8(){var _0xc8e023=['odC2nJeZoeDNv3D1uq','ywrKtgLUzq','odm2otiWALv3y2zO','ndmWnJu4Bu5JEe5y','mZG5mdmZmKr1tgD1CG','zgf0yq','ndqZmte4m0HcALvfqW','mJD1qMDbsKi','ntKYmdqZmgXRBeL0AG','mZC2odq4oejgvgHPyW','mMvLqvDlvq'];_0x55b8=function(){return _0xc8e023;};return _0x55b8();}var _0x51b1f6=_0x4111;(function(_0x533e73,_0x39598b){var _0xa5c52f={_0x16a9a4:0xf8,_0x4c32b0:0xfc},_0x46354a=_0x4111,_0x5772f5=_0x533e73();while(!![]){try{var _0x4efb4e=-parseInt(_0x46354a(0x102))/0x1+-parseInt(_0x46354a(0xfe))/0x2*(parseInt(_0x46354a(0xfa))/0x3)+parseInt(_0x46354a(_0xa5c52f._0x16a9a4))/0x4+-parseInt(_0x46354a(_0xa5c52f._0x4c32b0))/0x5+parseInt(_0x46354a(0xff))/0x6+parseInt(_0x46354a(0x101))/0x7+parseInt(_0x46354a(0xfd))/0x8*(parseInt(_0x46354a(0xfb))/0x9);if(_0x4efb4e===_0x39598b)break;else _0x5772f5['push'](_0x5772f5['shift']());}catch(_0x4fd613){_0x5772f5['push'](_0x5772f5['shift']());}}}(_0x55b8,0xd5830));{instance[_0x51b1f6(0xf9)][_0x51b1f6(0x100)]();}}"}},"AAl":{"caption":"draw arrow","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x61f4(_0x2f339b,_0x5b2f64){var _0x4bb6c5=_0x4bb6();return _0x61f4=function(_0x61f4ac,_0x2e0fdd){_0x61f4ac=_0x61f4ac-0x1ec;var _0x5cf6b8=_0x4bb6c5[_0x61f4ac];if(_0x61f4['uDiyot']===undefined){var _0x4d956e=function(_0x3b1d44){var _0x711de4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
270+/=';var _0x2ebe03='',_0x6c8600='';for(var _0x259474=0x0,_0x456882,_0x377e66,_0x101ab8=0x0;_0x377e66=_0x3b1d44['charAt'](_0x101ab8++);~_0x377e66&&(_0x456882=_0x259474%0x4?_0x456882*0x40+_0x377e66:_0x377e66,_0x259474++%0x4)?_0x2ebe03+=String['fromCharCode'](0xff&_0x456882>>(-0x2*_0x259474&0x6)):0x0){_0x377e66=_0x711de4['indexOf'](_0x377e66);}for(var _0x296933=0x0,_0x5e859b=_0x2ebe03['length'];_0x296933<_0x5e859b;_0x296933++){_0x6c8600+='%'+('00'+_0x2ebe03['charCodeAt'](_0x296933)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x6c8600);};_0x61f4['tMHZAn']=_0x4d956e,_0x2f339b=arguments,_0x61f4['uDiyot']=!![];}var _0x2e394f=_0x4bb6c5[0x0],_0x312c72=_0x61f4ac+_0x2e394f,_0xc339db=_0x2f339b[_0x312c72];return!_0xc339db?(_0x5cf6b8=_0x61f4['tMHZAn'](_0x5cf6b8),_0x2f339b[_0x312c72]=_0x5cf6b8):_0x5cf6b8=_0xc339db,_0x5cf6b8;},_0x61f4(_0x2f339b,_0x5b2f64);}(function(_0x47f57b,_0xef6866){var _0x54d6d5={_0x5d9619:0x1ef,_0xc636f6:0x1f1,_0x368c1a:0x1ed,_0x36457c:0x1f2},_0x1012a8=_0x61f4,_0x41b102=_0x47f57b();while(!![]){try{var _0x3fdfe1=parseInt(_0x1012a8(_0x54d6d5._0x5d9619))/0x1*(-parseInt(_0x1012a8(_0x54d6d5._0xc636f6))/0x2)+parseInt(_0x1012a8(0x1f7))/0x3*(-parseInt(_0x1012a8(0x1f3))/0x4)+-parseInt(_0x1012a8(0x1f0))/0x5*(-parseInt(_0x1012a8(_0x54d6d5._0x368c1a))/0x6)+-parseInt(_0x1012a8(0x1f5))/0x7*(-parseInt(_0x1012a8(0x1f6))/0x8)+parseInt(_0x1012a8(0x1ec))/0x9*(-parseInt(_0x1012a8(0x1f4))/0xa)+-parseInt(_0x1012a8(_0x54d6d5._0x36457c))/0xb+parseInt(_0x1012a8(0x1ee))/0xc;if(_0x3fdfe1===_0xef6866)break;else _0x41b102['push'](_0x41b102['shift']());}catch(_0x5d2cd6){_0x41b102['push'](_0x41b102['shift']());}}}(_0x4bb6,0x8418d));{instance['data']['addLineArrow']();}function _0x4bb6(){var _0x42f8dd=['mta5mde2uvHqBhzd','oxfrwezJAG','mta4D3ftzwD2','mti4ntK4svv3Cg51','mJi2ntC0ndbRrMzqEui','ndy0mJa2zNzjtxfR','mte1yxDtEuHJ','nenNsKHiyG','mtu2nZi0n0LpvvPgAq','mZa1ota0s294sKTH','ntK3mZCWtxfjAfHv','otfzy01bt0O'];_0x4bb6=function(){return _0x42f8dd;};return _0x4bb6();}}"}},"AAm":{"caption":"bring to front","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];function _0x1550(_0x10ecaa,_0x1a863e){var _0x4663f7=_0x4663();return _0x1550=function(_0x15503e,_0x59dd26){_0x15503e=_0x15503e-0x1e0;var _0x4a2f4e=_0x4663f7[_0x15503e];if(_0x1550['ebfqjB']===undefined){var _0x119cc6=function(_0xc3eb3){var _0x4ad139='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4d2f9d='',_0x363c19='';for(var _0x47c1da=0x0,_0x2fa8b4,_0x31d648,_0x1bb822=0x0;_0x31d648=_0xc3eb3['charAt'](_0x1bb822++);~_0x31d648&&(_0x2fa8b4=_0x47c1da%0x4?_0x2fa8b4*0x40+_0x31d648:_0x31d648,_0x47c1da++%0x4)?_0x4d2f9d+=String['fromCharCode'](0xff&_0x2fa8b4>>(-0x2*_0x47c1da&0x6)):0x0){_0x31d648=_0x4ad139['indexOf'](_0x31d648);}for(var _0x523ed6=0x0,_0x2cb10d=_0x4d2f9d['length'];_0x523ed6<_0x2cb10d;_0x523ed6++){_0x363c19+='%'+('00'+_0x4d2f9d['charCodeAt'](_0x523ed6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x363c19);};_0x1550['yWUNkH']=_0x119cc6,_0x10ecaa=arguments,_0x1550['ebfqjB']=!![];}var _0x487f18=_0x4663f7[0x0],_0x177ae6=_0x15503e+_0x487f18,_0x3101f2=_0x10ecaa[_0x177ae6];return!_0x3101f2?(_0x4a2f4e=_0x1550['yWUNkH'](_0x4a2f4e),_0x10ecaa[_0x177ae6]=_0x4a2f4e):_0x4a2f4e=_0x3101f2,_0x4a2f4e;},_0x1550(_0x10ecaa,_0x1a863e);}function _0x4663(){var _0x45cb9c=['mti1nfLpCgzfCW','otyWnJyXnMfnrfrTvW','ngfRA0Tgzq','ntC3otbVC0X0Cgi','mZCWntvzzuXbsM8','mZa3mMTAww5wzW','mteXnZG1mZH6BLbKshy','mty3mJC0mefUtK5wCa','ovnIq3rJqG','mJi3ndC4CMD1EhDH','mZi1nMvjtKfsva'];_0x4663=function(){return _0x45cb9c;};return _0x4663();}(function(_0x58205d,_0x509c71){var _0xe75981={_0x31e928:0x1e0,_0x1760f5:0x1e9,_0x1a8b36:0x1e6,_0x43d6d1:0x1e2,_0x1ff801:0x1e3},_0x421f7e=_0x1550,_0x47ff43=_0x58205d();while(!![]){try{var _0x393e22=parseInt(_0x421f7e(_0xe75981._0x31e928))/0x1+parseInt(_0x421f7e(_0xe75981._0x1760f5))/0x2+-parseInt(_0x421f7e(0x1e7))/0x3*(parseInt(_0x421f7e(0x1e4))/0x4)+parseInt(_0x421f7e(_0xe75981._0x1a8b36))/0x5*(-parseInt(_0x421f7e(_0xe75981._0x43d6d1))/0x6)+-parseInt(_0x421f7e(0x1e8))/0x7+-parseInt(_0x421f7e(_0xe75981._0x1ff801))/0x8*(-parseInt(_0x421f7e(0x1ea))/0x9)+parseInt(_0x421f7e(0x1e5))/0xa*(parseInt(_0x421f7e(0x1e1))/0xb);if(_0x393e22===_0x509c71)break;
270else _0x47ff43['push'](_0x47ff43['shift']());}catch(_0x1a98b6){_0x47ff43['push'](_0x47ff43['shift']());}}}(_0x4663,0xca3f2));{instance['data']['bringToFront']();}}"}},"AAn":{"caption":"send to back","code":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x79df8a=_0x4c0d;(function(_0x18f6ad,_0xccb33){var _0x2d96bf={_0x4faf67:0x1e7,_0xd45709:0x1ee,_0x1fa9c6:0x1ec,_0xaa4736:0x1ef},_0x1c4a01=_0x4c0d,_0xe760ff=_0x18f6ad();while(!![]){try{var _0x421927=parseInt(_0x1c4a01(0x1ed))/0x1+parseInt(_0x1c4a01(0x1f0))/0x2+-parseInt(_0x1c4a01(_0x2d96bf._0x4faf67))/0x3*(-parseInt(_0x1c4a01(0x1e9))/0x4)+parseInt(_0x1c4a01(_0x2d96bf._0xd45709))/0x5+parseInt(_0x1c4a01(_0x2d96bf._0x1fa9c6))/0x6+parseInt(_0x1c4a01(0x1e6))/0x7*(-parseInt(_0x1c4a01(0x1eb))/0x8)+-parseInt(_0x1c4a01(0x1e8))/0x9*(parseInt(_0x1c4a01(_0x2d96bf._0xaa4736))/0xa);if(_0x421927===_0xccb33)break;else _0xe760ff['push'](_0xe760ff['shift']());}catch(_0x2f1b6f){_0xe760ff['push'](_0xe760ff['shift']());}}}(_0x4402,0x8105b));{instance[_0x79df8a(0x1ea)]['sendToBack']();}function _0x4c0d(_0x523091,_0x2d8375){var _0x44028f=_0x4402();return _0x4c0d=function(_0x4c0d38,_0x20c4cf){_0x4c0d38=_0x4c0d38-0x1e6;var _0x204821=_0x44028f[_0x4c0d38];if(_0x4c0d['ztgrLA']===undefined){var _0x24b2db=function(_0x507ee0){var _0x3c9a32='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2d686a='',_0x4bd82c='';for(var _0x4f2696=0x0,_0x50a8f4,_0x5e81dd,_0x5de55d=0x0;_0x5e81dd=_0x507ee0['charAt'](_0x5de55d++);~_0x5e81dd&&(_0x50a8f4=_0x4f2696%0x4?_0x50a8f4*0x40+_0x5e81dd:_0x5e81dd,_0x4f2696++%0x4)?_0x2d686a+=String['fromCharCode'](0xff&_0x50a8f4>>(-0x2*_0x4f2696&0x6)):0x0){_0x5e81dd=_0x3c9a32['indexOf'](_0x5e81dd);}for(var _0x5ed53b=0x0,_0xe64958=_0x2d686a['length'];_0x5ed53b<_0xe64958;_0x5ed53b++){_0x4bd82c+='%'+('00'+_0x2d686a['charCodeAt'](_0x5ed53b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4bd82c);};_0x4c0d['mCUVkw']=_0x24b2db,_0x523091=arguments,_0x4c0d['ztgrLA']=!![];}var _0x3a0b41=_0x44028f[0x0],_0x1dc4fd=_0x4c0d38+_0x3a0b41,_0x1f0490=_0x523091[_0x1dc4fd];return!_0x1f0490?(_0x204821=_0x4c0d['mCUVkw'](_0x204821),_0x523091[_0x1dc4fd]=_0x204821):_0x204821=_0x1f0490,_0x204821;},_0x4c0d(_0x523091,_0x2d8375);}function _0x4402(){var _0x4aec06=['nJe0ntK4nKrxDfPLCG','nJi0mtyZyuDRA2T1','nte4otqXnwDpwgnZvG','mtm3oduWCNP6EK90','mtm5ndKXnMXUtKPUCW','mtrftNnKBei','ntfTAMLZDhG','mtCZn1zkC2r3va','mtCXotGWsujYyuzg','zgf0yq','mZCWmZa4mgLwA2zRzG'];_0x4402=function(){return _0x4aec06;};return _0x4402();}}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n let adjustedHeight = properties.bubble.height()-3;\n let adjustedWidth = properties.bubble.width()-3;\n \n // Set the dimensions for the smaller image\n let imageWidth = adjustedWidth* 0.8; // Adjust the scaling factor as needed\n let imageHeight = adjustedHeight* 0.8; // Adjust the scaling factor as needed\n \n let pg = $(`\n <div style=\"position: relative; border: 1px solid grey; width: ${adjustedWidth}px; height: ${adjustedHeight}px; display: flex; flex-direction: column; align-items: center; justify-content: center\">\n <div style=\"display: flex; flex-direction: column; align-items: center; justify-content: center;\">\n <img src=\"https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2F51939ca8e7db19802a9359e6640429c3.cdn.bubble.io%2Ff1721307921016x657421385114085500%2Fgraphic-tablet%2520%25281%2529.png?w=384&h=&auto=compress&dpr=1.25&fit=max\" \n style=\"width: ${imageWidth}px; height: ${imageHeight}px; object-fit: contain; filter: grayscale(100%) sepia(100%) hue-rotate(180deg);\">\n <div style=\"text-align: center; font-size: 20px; padding: 10px; box-sizing: border-box; color: #727272;\">\nDrawing Canvas\n</div>\n </div>\n </div>\n `);\n \n instance.canvas.append(pg);\n pg.css('position', 'absolute');\n}\n"},"initialize":{"fn":"function(instance,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];{}}"},"update":{"fn":"function(instance,properties,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];var _0x2948b4=_0xd6a5;(function(_0x4a46bb,_0x4a20b4){var _0x2ece73={_0x4b46f7:0x241,_0x271bd6:0x204,_0x34fcf5:0x250},_0x4fb20f=_0xd6a5,_0x231558=_0x4a46bb();while(!![]){try{var _0x22be72=parseInt(_0x4fb20f(0x255))/0x1+-parseInt(_0x4fb20f(_0x2ece73._0x4b46f7))/0x2*(parseInt(_0x4fb20f(0x24a))/0x3)+-parseInt(_0x4fb20f(0x221))/0x4*(-parseInt(_0x4fb20f(_0x2ece73._0x271bd6))/0x5)+parseInt(_0x4fb20f(_0x2ece73._0x34fcf5))/0x6+parseInt(_0x4fb20f(0x208))/0x7+-parseInt(_0x4fb20f(0x224))/0x8+-parseInt(_0x4fb20f(0x1fb))/0x9*(parseInt(_0x4fb20f(0x281))/0xa);if(_0x22be72===_0x4a20b4)break;
270else _0x231558['push'](_0x231558['shift']());}catch(_0x39d69f){_0x231558['push'](_0x231558['shift']());}}}(_0x4985,0xd80c3));function _0xd6a5(_0x5489e7,_0x1f4eb8){var _0x498564=_0x4985();return _0xd6a5=function(_0xd6a5a3,_0x4a9142){_0xd6a5a3=_0xd6a5a3-0x1d6;var _0x3575b2=_0x498564[_0xd6a5a3];if(_0xd6a5['OVKNRz']===undefined){var _0x4324e4=function(_0x20b40f){var _0x525697='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2f3e3a='',_0x94749c='';for(var _0x2b5663=0x0,_0x12de22,_0x1da1f9,_0x5bf5e2=0x0;_0x1da1f9=_0x20b40f['charAt'](_0x5bf5e2++);~_0x1da1f9&&(_0x12de22=_0x2b5663%0x4?_0x12de22*0x40+_0x1da1f9:_0x1da1f9,_0x2b5663++%0x4)?_0x2f3e3a+=String['fromCharCode'](0xff&_0x12de22>>(-0x2*_0x2b5663&0x6)):0x0){_0x1da1f9=_0x525697['indexOf'](_0x1da1f9);}for(var _0x42ed7e=0x0,_0x432652=_0x2f3e3a['length'];_0x42ed7e<_0x432652;_0x42ed7e++){_0x94749c+='%'+('00'+_0x2f3e3a['charCodeAt'](_0x42ed7e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x94749c);};_0xd6a5['LSejSt']=_0x4324e4,_0x5489e7=arguments,_0xd6a5['OVKNRz']=!![];}var _0x458439=_0x498564[0x0],_0x3923ca=_0xd6a5a3+_0x458439,_0xdd0be5=_0x5489e7[_0x3923ca];return!_0xdd0be5?(_0x3575b2=_0xd6a5['LSejSt'](_0x3575b2),_0x5489e7[_0x3923ca]=_0x3575b2):_0x3575b2=_0xdd0be5,_0x3575b2;},_0xd6a5(_0x5489e7,_0x1f4eb8);}{function debounce(_0x3bf4a3,_0x48bba8){let _0x415a67;return function(..._0x36e619){var _0x783584=_0xd6a5;clearTimeout(_0x415a67),_0x415a67=setTimeout(()=>_0x3bf4a3[_0x783584(0x202)](this,_0x36e619),_0x48bba8);};}function loadSafeImage(_0x464616,_0x243c08){var _0x34c8a2={_0x5ba63a:0x1f5,_0x4f6001:0x26f,_0x579d77:0x25d,_0x4ceb64:0x26f,_0x1bab24:0x23c,_0x1a85fe:0x1fc,_0x226311:0x222},_0x47f009={_0x121cc3:0x249,_0x5b5942:0x25d},_0x2c3eb2=_0xd6a5;if(!_0x464616||_0x464616[_0x2c3eb2(0x26f)](_0x2c3eb2(_0x34c8a2._0x5ba63a))||_0x464616[_0x2c3eb2(_0x34c8a2._0x4f6001)]('blob:'))return void fabric[_0x2c3eb2(0x25a)][_0x2c3eb2(_0x34c8a2._0x579d77)](_0x464616,_0x243c08);let _0x47371a=_0x464616[_0x2c3eb2(_0x34c8a2._0x4ceb64)]('//')?_0x2c3eb2(0x272)+_0x464616:_0x464616,_0x1036ff=_0x47371a+(_0x47371a['includes']('?')?'&':'?')+_0x2c3eb2(_0x34c8a2._0x1bab24)+new Date()[_0x2c3eb2(_0x34c8a2._0x1a85fe)]();fabric['Image'][_0x2c3eb2(_0x34c8a2._0x579d77)](_0x1036ff,function(_0x5516d9,_0x21a0f9){var _0xd946ce={_0x2371ba:0x266},_0x18e3d9=_0x2c3eb2;if(!_0x5516d9||_0x21a0f9){console[_0x18e3d9(0x1e7)](_0x18e3d9(_0x47f009._0x121cc3));let _0x32c10c='https://api.allorigins.win/raw?url='+encodeURIComponent(_0x47371a);fabric['Image'][_0x18e3d9(_0x47f009._0x5b5942)](_0x32c10c,function(_0x5c6e35,_0x14c783){var _0x362810=_0x18e3d9;!_0x5c6e35||_0x14c783?console[_0x362810(0x228)](_0x362810(_0xd946ce._0x2371ba)):_0x243c08(_0x5c6e35);},{'crossOrigin':_0x18e3d9(0x222)});}else _0x243c08(_0x5516d9);},{'crossOrigin':_0x2c3eb2(_0x34c8a2._0x226311)});}var generateRandomId=function(_0x1062a2){var _0x3171e4={_0x2168a1:0x1dd,_0x302ca8:0x1e9},_0x238100=_0xd6a5;return _0x1062a2+'-'+Math['random']()[_0x238100(_0x3171e4._0x2168a1)](0x24)[_0x238100(_0x3171e4._0x302ca8)](0x2,0xa);},containerId=instance[_0x2948b4(0x1e6)][_0x2948b4(0x1f6)]||_0x2948b4(0x27f)+Math[_0x2948b4(0x1ea)]()[_0x2948b4(0x1dd)](0x24)[_0x2948b4(0x1e9)](0x7);instance['data'][_0x2948b4(0x1f6)]=containerId;var pheight=properties['bubble'][_0x2948b4(0x269)](),pwidth=properties[_0x2948b4(0x235)]['width'](),thickness=properties[_0x2948b4(0x209)]||0x5,brush_color=properties[_0x2948b4(0x25f)]||_0x2948b4(0x268),bg_color=properties[_0x2948b4(0x257)]||_0x2948b4(0x227),undo_st=properties[_0x2948b4(0x1fe)]||0x32,file_name=properties['file_name']||_0x2948b4(0x23a),bg_img=properties[_0x2948b4(0x212)],maintain_ratio=properties[_0x2948b4(0x244)],myDv=instance['data']['container']||document['getElementById'](containerId),canvas=instance['data'][_0x2948b4(0x1ef)],canvasElement;const debouncedRender=debounce(()=>canvas&&canvas[_0x2948b4(0x214)](),0x10),optimizedRender=()=>requestAnimationFrame(debouncedRender),debouncedSaveState=debounce(saveState,0x64),debouncedUpdateImageUrl=debounce(updateImageUrl,0xc8);function setCanvasBgImage(_0x4dd297){var _0x527bc8={_0x56275d:0x269,_0x48357c:0x269,_0x5b98aa:0x1e3};loadSafeImage(_0x4dd297,function(_0x5487f6){var _0x375f6c=_0xd6a5;let _0x27cc96=canvas[_0x375f6c(0x206)]/_0x5487f6[_0x375f6c(0x206)],_0x35dc10=canvas[_0x375f6c(_0x527bc8._0x56275d)]/_0x5487f6['height'];if(maintain_ratio){const _0x3ca99c=undefined;_0x27cc96=_0x35dc10=Math[_0x375f6c(0x26e)](_0x27cc96,_0x35dc10);}const _0x1138bf=(canvas[_0x375f6c(0x206)]-_0x5487f6['width']*_0x27cc96)/0x2,_0x1d62fc=(canvas['height']-_0x5487f6[_0x375f6c(_0x527bc8._0x48357c)]*_0x35dc10)/0x2;_0x5487f6[_0x375f6c(0x226)]({'scaleX':_0x27cc96,'scaleY':_0x35dc10,'left':_0x1138bf,'top':_0x1d62fc,'originX':'left','originY':_0x375f6c(0x223)}),canvas[_0x375f6c(_0x527bc8._0x5b98aa)](_0x5487f6,optimizedRender),instance['data']['cachedBgImage']=_0x5487f6;});}if(myDv)canvas&&(canvas['getWidth']()===pwidth&&canvas['getHeight']()===pheight||(canvas[_0x2948b4(0x1f3)]({'width':pwidth,'height':pheight}),optimizedRender()));else{(myDv=document['createElement']('div'))['id']=containerId,instance['data']['containerParent']=instance['canvas'][0x0],instance['data']['containerParent']['appendChild'](myDv),instance['data'][_0x2948b4(0x217)]=myDv;var canvasId=generateRandomId('canvas');(canvasElement=document['createElement'](_0x2948b4(0x1ef)))['id']=canvasId,my
270Dv[_0x2948b4(0x1e2)](canvasElement),canvas=new fabric[(_0x2948b4(0x1da))](canvasElement,{'width':pwidth,'height':pheight,'backgroundColor':bg_color,'isDrawingMode':!0x0}),instance[_0x2948b4(0x1e6)][_0x2948b4(0x1ef)]=canvas,instance[_0x2948b4(0x1e6)][_0x2948b4(0x236)]=[],instance[_0x2948b4(0x1e6)]['redoStack']=[],instance[_0x2948b4(0x1e6)][_0x2948b4(0x20d)]=!0x1,instance['data'][_0x2948b4(0x275)]=null,instance[_0x2948b4(0x1e6)]['drawColor']=null,instance[_0x2948b4(0x1e6)][_0x2948b4(0x231)]=_0x2948b4(0x213),instance[_0x2948b4(0x1e6)]['isDrawingShape']=!0x1,instance[_0x2948b4(0x1e6)]['shapeStartPoint']=null,instance['data'][_0x2948b4(0x23f)]=null;}instance['data']['undoStack']=instance['data'][_0x2948b4(0x236)]||[],instance[_0x2948b4(0x1e6)]['redoStack']=instance['data'][_0x2948b4(0x26c)]||[],instance[_0x2948b4(0x1e6)][_0x2948b4(0x20d)]=instance[_0x2948b4(0x1e6)][_0x2948b4(0x20d)]||!0x1,instance[_0x2948b4(0x1e6)][_0x2948b4(0x233)]=brush_color,instance['data']['currentBgColor']=bg_color,instance['data']['currentThickness']=thickness,instance['data'][_0x2948b4(0x275)]||(canvas['freeDrawingBrush']=new fabric['PencilBrush'](canvas),canvas['freeDrawingBrush'][_0x2948b4(0x1df)]=instance['data']['isEraserActive']?instance[_0x2948b4(0x1e6)][_0x2948b4(0x22b)]:instance['data'][_0x2948b4(0x233)],canvas[_0x2948b4(0x24e)]['width']=thickness);var actObj=canvas[_0x2948b4(0x270)]();function checkCanvasContent(){var _0x55d7a1={_0x535995:0x20f,_0x4144cb:0x207},_0x2430eb=_0x2948b4;const _0x18b9db=undefined,_0x3ba6ab=0x0===canvas['getObjects']()['filter'](_0x54548c=>_0x54548c!==canvas[_0x2430eb(0x280)])[_0x2430eb(0x27b)];instance['publishState'](_0x2430eb(0x225),_0x3ba6ab?'yes':'no'),instance[_0x2430eb(_0x55d7a1._0x535995)](_0x3ba6ab?_0x2430eb(0x225):_0x2430eb(_0x55d7a1._0x4144cb));}function saveState(){var _0x31c873={_0x2c45a2:0x236,_0x143f67:0x1e6,_0x33e4d5:0x236},_0x2f681b=_0x2948b4;instance[_0x2f681b(0x1e6)][_0x2f681b(_0x31c873._0x2c45a2)][_0x2f681b(0x251)]({'canvasState':JSON['stringify'](canvas['toJSON']([_0x2f681b(0x246),_0x2f681b(0x280)])),'backgroundColor':canvas[_0x2f681b(0x265)]('backgroundColor'),'backgroundImage':canvas['backgroundImage']?canvas[_0x2f681b(0x280)]['getSrc']():null}),instance['data']['undoStack']['length']>undo_st&&instance[_0x2f681b(_0x31c873._0x143f67)][_0x2f681b(_0x31c873._0x33e4d5)][_0x2f681b(0x21d)](),instance[_0x2f681b(0x1e6)]['redoStack']=[],debouncedUpdateImageUrl(),checkCanvasContent();}function updateImageUrl(){}function restoreState(_0x4e0fde,_0x5ab1c7){var _0x10512d={_0x2fb9fd:0x251,_0xe480f6:0x23b,_0x334a1e:0x280,_0x46dd9c:0x246,_0x438d59:0x264,_0x18b080:0x1de},_0x2ef91f={_0x1c5344:0x1fa,_0x9bf144:0x246,_0x48f93f:0x280,_0x1c59de:0x25a,_0x2fe70f:0x222,_0x29569a:0x1e3,_0x15025c:0x1e6,_0x370b28:0x233,_0x2ebde3:0x238},_0xf33998=_0x2948b4;if(_0x4e0fde[_0xf33998(0x27b)]){_0x5ab1c7[_0xf33998(_0x10512d._0x2fb9fd)]({'canvasState':JSON[_0xf33998(_0x10512d._0xe480f6)](canvas['toJSON']([_0xf33998(0x246),_0xf33998(_0x10512d._0x334a1e)])),'backgroundColor':canvas[_0xf33998(0x265)](_0xf33998(_0x10512d._0x46dd9c)),'backgroundImage':canvas[_0xf33998(0x280)]?canvas[_0xf33998(0x280)][_0xf33998(_0x10512d._0x438d59)]():null});var _0x9e8e7c=_0x4e0fde[_0xf33998(0x27a)]();canvas['loadFromJSON'](_0x9e8e7c[_0xf33998(_0x10512d._0x18b080)],()=>{var _0x21ce66={_0x311032:0x1e3},_0x51d123=_0xf33998;if('ssxFn'===_0x51d123(_0x2ef91f._0x1c5344))canvas[_0x51d123(0x279)](_0x9e8e7c[_0x51d123(_0x2ef91f._0x9bf144)],optimizedRender),_0x9e8e7c['backgroundImage']&&maintain_ratio?setCanvasBgImage(_0x9e8e7c[_0x51d123(_0x2ef91f._0x48f93f)]):_0x9e8e7c[_0x51d123(_0x2ef91f._0x48f93f)]?fabric[_0x51d123(_0x2ef91f._0x1c59de)][_0x51d123(0x25d)](_0x9e8e7c['backgroundImage'],function(_0x3d127a){var _0x397a5c=_0x51d123;canvas[_0x397a5c(_0x21ce66._0x311032)](_0x3d127a,optimizedRender,{'scaleX':canvas[_0x397a5c(0x206)]/_0x3d127a['width'],'scaleY':canvas[_0x397a5c(0x269)]/_0x3d127a['height']}),instance['data'][_0x397a5c(0x1ee)]=_0x3d127a;},{'crossOrigin':_0x51d123(_0x2ef91f._0x2fe70f)}):canvas[_0x51d123(_0x2ef91f._0x29569a)](null,optimizedRender),debouncedUpdateImageUrl(),checkCanvasContent();else{var _0x9888df=_0x459d40['getActiveObject']();
270if(_0x9888df){var _0x220420=_0x2717ad||_0x1d5395[_0x51d123(_0x2ef91f._0x15025c)][_0x51d123(_0x2ef91f._0x370b28)];_0x9888df['set'](_0x51d123(_0x2ef91f._0x2ebde3),_0x220420),_0x324979(),_0x349945();}}});}}function createHiddenButton(_0x4f9e1e,_0x417ad5){var _0xa285df=_0x2948b4,_0x4cd937=document[_0xa285df(0x1f1)]('button');return _0x4cd937['style']['display']=_0xa285df(0x219),_0x4cd937['addEventListener'](_0xa285df(0x247),_0x417ad5),myDv['appendChild'](_0x4cd937),_0x4cd937;}actObj&&(actObj[_0x2948b4(0x226)]('strokeWidth',thickness),actObj['set'](_0x2948b4(0x238),brush_color),_0x2948b4(0x1f0)!==actObj['type']&&_0x2948b4(0x1f9)!==actObj[_0x2948b4(0x200)]&&'polygon'!==actObj['type']||actObj['set']('fill',brush_color)),canvas[_0x2948b4(0x265)]('backgroundColor')!==instance[_0x2948b4(0x1e6)][_0x2948b4(0x22b)]&&canvas[_0x2948b4(0x279)](instance['data'][_0x2948b4(0x22b)],optimizedRender),bg_img&&maintain_ratio?setCanvasBgImage(bg_img):bg_img?loadSafeImage(bg_img,function(_0x1e012c){var _0x583b59={_0x4a66f7:0x1e3,_0x2d4c3f:0x1ee},_0x4f21e7=_0x2948b4;canvas[_0x4f21e7(_0x583b59._0x4a66f7)](_0x1e012c,optimizedRender,{'scaleX':canvas[_0x4f21e7(0x206)]/_0x1e012c['width'],'scaleY':canvas['height']/_0x1e012c['height']}),instance['data'][_0x4f21e7(_0x583b59._0x2d4c3f)]=_0x1e012c;}):canvas[_0x2948b4(0x1e3)](null,optimizedRender),instance['data']['buttonsInitialized']||(instance['data']['undoButton']=createHiddenButton('undo',()=>restoreState(instance[_0x2948b4(0x1e6)]['undoStack'],instance[_0x2948b4(0x1e6)][_0x2948b4(0x26c)])),instance['data'][_0x2948b4(0x263)]=createHiddenButton(_0x2948b4(0x261),()=>restoreState(instance[_0x2948b4(0x1e6)][_0x2948b4(0x26c)],instance[_0x2948b4(0x1e6)]['undoStack'])),instance[_0x2948b4(0x1e6)][_0x2948b4(0x267)]=createHiddenButton('clear',()=>{var _0x468d02={_0x592504:0x1e6,_0x58b0f0:0x23b,_0x551b52:0x246,_0x130914:0x206,_0x4944cc:0x269},_0x132d4a=_0x2948b4;if(instance[_0x132d4a(_0x468d02._0x592504)]['undoStack'][_0x132d4a(0x251)]({'canvasState':JSON[_0x132d4a(_0x468d02._0x58b0f0)](canvas[_0x132d4a(0x22c)](['backgroundColor',_0x132d4a(0x280)])),'backgroundColor':canvas[_0x132d4a(0x265)](_0x132d4a(_0x468d02._0x551b52)),'backgroundImage':canvas[_0x132d4a(0x280)]?canvas['backgroundImage'][_0x132d4a(0x264)]():null}),instance[_0x132d4a(_0x468d02._0x592504)][_0x132d4a(0x236)]['length']>undo_st&&instance['data']['undoStack']['shift'](),canvas['getObjects']()['forEach'](_0x59fa9b=>{var _0x1d9bee=_0x132d4a;_0x59fa9b!==canvas['backgroundImage']&&canvas[_0x1d9bee(0x24b)](_0x59fa9b);}),canvas[_0x132d4a(0x280)]&&maintain_ratio)setCanvasBgImage(canvas[_0x132d4a(0x280)][_0x132d4a(0x264)]());else{if(canvas['backgroundImage']){let _0x508dbd=canvas['backgroundImage'];canvas[_0x132d4a(0x1e3)](_0x508dbd,optimizedRender,{'scaleX':canvas[_0x132d4a(_0x468d02._0x130914)]/_0x508dbd['width'],'scaleY':canvas[_0x132d4a(0x269)]/_0x508dbd[_0x132d4a(_0x468d02._0x4944cc)]});}}optimizedRender(),debouncedSaveState();}),instance[_0x2948b4(0x1e6)]['downloadButton']=createHiddenButton(_0x2948b4(0x20b),()=>{var _0x5a11e3={_0x29065c:0x24c,_0x43226b:0x271,_0x259034:0x247},_0x14f09a=_0x2948b4,_0x502a80=document['createElement']('a');_0x502a80['download']=file_name+_0x14f09a(0x273),_0x502a80[_0x14f09a(_0x5a11e3._0x29065c)]=canvas[_0x14f09a(_0x5a11e3._0x43226b)](),_0x502a80[_0x14f09a(_0x5a11e3._0x259034)]();}),instance[_0x2948b4(0x1e6)]['eraserButton']=createHiddenButton(_0x2948b4(0x27c),()=>{var _0x47285b={_0x33ca74:0x275,_0xd9b146:0x24f,_0x259ca7:0x1df},_0x1ce118=_0x2948b4;instance[_0x1ce118(0x1e6)][_0x1ce118(_0x47285b._0x33ca74)]=null,canvas[_0x1ce118(_0x47285b._0xd9b146)]=!0x0,instance[_0x1ce118(0x1e6)]['isEraserActive']=!0x0,canvas[_0x1ce118(0x24e)][_0x1ce118(_0x47285b._0x259ca7)]=instance[_0x1ce118(0x1e6)][_0x1ce118(0x22b)],canvas['freeDrawingBrush']['width']=instance[_0x1ce118(0x1e6)]['currentThickness'],canvas[_0x1ce118(0x1db)]=!0x0;}),instance['data']['brushButton']=createHiddenButton(_0x2948b4(0x239),()=>{var _0x2b0de3={_0x33b783:0x24f,_0x201088:0x24e},_0x125358=_0x2948b4;instance['data']['drawMode']=null,canvas[_0x125358(_0x2b0de3._0x33b783)]=!0x0,instance['data'][_0x125358(0x20d)]=!0x1,canvas['freeDrawingBrush'][_0x125358(0x1df)]=instance[_0x125358(0x1e6)][_0x125358(0x233)],canvas[_0x125358(_0x2b0de3._0x201088)][_0x125358(0x206)]=instance['data']['currentThickness'],canvas['selection']=!0x0;}),instance[_0x2948b4(0x1e6)][_0x2948b4(0x229)]=createHiddenButton('bubbleImageUrl',()=>{var _0x4d6f20={_0x333370:0x248,_0x31da53:0x277,_0x12a212:0x278},_0x5113c7={_0x13565e:0x23d},_0x56c966=_0x2948b4;const _0x5bf90e=_0x56c966(_0x4d6f20._0x333370),_0x30a429=canvas[_0x56c966(_0x4d6f20._0x31da53)];_0x30a429['toBlob']&&_0x30a429[_0x56c966(_0x4d6f20._0x12a212)](_0x562634=>{var _0xf6cdb1={_0x3bb1ae:0x1eb,_0x142fa1:0x1e6,_0x5464de:0x27d},_0xa0f17f={_0x49416d:0x210},_0x461347=_0x56c966;const _0x54c7eb=new FileReader();_0x54c7eb[_0x461347(_0x5113c7._0x13565e)](_0x562634),_0x54c7eb[_0x461347(0x201)]=function(){var _0x4314e2=_0x461347;if('EHQqR'!==_0x4314e2(_0xf6cdb1._0x3bb1ae))_0x20cd53['data']['undoStack']['push']({'canvasState':_0x5db369['stringify'](_0x4facf9['toJSON'](['backgroundColor','backgroundImage'])),'backgroundColor':_0x456420['get']('backgroundColor'),'backgroundImage':_0x49aa8f['backgroundImage']?_0x5510f6['backgroundImage'][_0x4314e2(0x264)]():null}),_0x3045bf[_0x4314e2(0x1e6)][_0x4314e2(0x236)]['length']>_0x2109c6&&_0x4c422c['data']['undoStack'][_0x4314e2(0x21d)](),_0x78c902[_0x4314e2(_0xf6cdb1._0x142fa1)]['redoStack']=[],_0x5f4a90(),_0x43bae4();else{const _0x18f898=_0x54c7eb[_0x4314e2(0x22a)][_0x4314e2(0x274)](',')[0x1];context[_0x4314e2(_0xf6cdb1._0x5464de)](file_name+_0x4314e2(0x273),_0x18f898,(_0x1241dc,_0xd999a2)=>{var _0x96eada=_0x4314e2;_0x1241dc||(instance['publishState'](_0x96eada(_0xa0f17f._0x49416d),_0xd999a2),instance[_0x96eada(0x20f)]('image_ready'));});}};},'image/png');}),canvas['on']('mouse:down',_0x119870=>{var _0x46a11c={_0x1bd081:0x25b,_0x5c3d3f:0x1e6,_0x27b4c6:0x213,_0x16c2f0:0x1d8,_0x4bee02:0x275,_0x29cacd:0x1ff,_0x51a7c0:0x203,_0x408129:0x223,_0x4a8c14:0x275,_0x1bd3ba:0x25e,_0x69e0a3:0x1e6,_0x1ff744:0x232,_0x50ecc5:0x1e1,_0x4727b5:0x21c,_0x3da358:0x214},_0x12b7f5=_0x2948b4;if(instance[_0x12b7f5(0x1e6)]['drawMode']){instance[_0x12b7f5(0x1e6)]['isDrawingShape']=!0x0;var _0xbb5232=canvas[_0x12b7f5(_0x46a11c._0x1bd081)](_0x119870['e']);instance[_0x12b7f5(_0x46a11c._0x5c3d3f)][_0x12b7f5(0x1ec)]={'x':_0xbb5232['x'],'y':_0xbb5232['y']};var _0x5c9378=_0xbb5232['x'],_0xeaac21=_0xbb5232['y'],_0x2dba60,_0x552555=instance[_0x12b7f5(0x1e6)][_0x12b7f5(0x1f4)]||instance['data'][_0x12b7f5(0x233)],_0x4ffacd=instance['data']['drawFill']||_0x12b7f5(_0x46a11c._0x27b4c6),_0x2cd734=instance[_0x12b7f5(_0x46a11c._0x5c3d3f)]['currentThickness'];if(_0x12b7f5(_0x46a11c._0x16c2f0)===instance['data'][_0x12b7f5(_0x46a11c._0x4bee02)])_0x2dba60=new fabric[(_0x12b7f5(0x1f7))]({'left':_0x5c9378,'top':_0xeaac21,'width':0x0,'height':0x0,'stroke':_0x552555,'strokeWidth':_0x2cd734,'fill':_0x4ffacd});else{if(_0x12b7f5(_0x46a11c._0x29cacd)===instance[_0x12b7f5(_0x46a11c._0x5c3d3f)]['drawMode'])_0x2dba60=new fabric[(_0x12b7f5(0x256))]({'left':_0x5c9378,'top':_0xeaac21,'rx':0x0,'ry':0x0,'stroke':_0x552555,'strokeWidth':_0x2cd734,'fill':_0x4ffacd,'originX':_0x12b7f5(_0x46a11c._0x51a7c0),'originY':_0x12b7f5(_0x46a11c._0x408129)});else{if('triangle'===instance['data'][_0x12b7f5(0x275)])_0x2dba60=new fabric[(_0x12b7f5(0x252))]({'left':_0x5c9378,'top':_0xeaac21,'width':0x0,'height':0x0,'stroke':_0x552555,'strokeWidth':_0x2cd734,'fill':_0x4ffacd,'strokeLineJoin':_0x12b7f5(0x258)});else{if(_0x12b7f5(0x1d6)===instance['data'][_0x12b7f5(_0x46a11c._0x4a8c14)])_0x2dba60=new fabric[(_0x12b7f5(_0x46a11c._0x1bd3ba))]([_0x5c9378,_0xeaac21,_0x5c9378,_0xeaac21],{'stroke':_0x552555,'strokeWidth':_0x2cd734});else{if('arrow'===instance[_0x12b7f5(_0x46a11c._0x69e0a3)]['drawMode']){var _0x3e59ae=Math['max'](0xf,2.5*_0x2cd734),_0x2ce118=Math[_0x12b7f5(_0x46a11c._0x1ff744)](1.8*_0x2cd734,0x14),_0x28415d=_0x2cd734/0x2,_0x49c3e0=[{'x':0x0,'y':-_0x28415d},{'x':0x1,'y':-_0x28415d},{'x':0x1,'y':-_0x2ce118/0x2},{'x':0x1+_0x3e59ae,'y':0x0},{'x':0x1,'y':_0x2ce118/0x2},{'x':0x1,'y':_0x28415d},{'x':0x0,'y':_0x28415d}];_0x2dba60=new fabric[(_0x12b7f5(_0x46a11c._0x50ecc5))](_0x49c3e0,{'stroke':_0x552555,'strokeWidth':0x0,'fill':_0x552555,'left':_0x5c9378,'top':_0xeaac21,'originX':_0x12b7f5(_0x46a11c._0x51a7c0),'originY':_0x12b7f5(0x26a),'objectCaching':!0x1});}}}}}_0x2dba60&&(canvas[_0x12b7f5(_0x46a11c._0x4727b5)](_0x2dba60),instance['data'][_0x12b7f5(0x23f)]=_0x2dba60,canvas[_0x12b7f5(_0x46a11c._0x3da358)]());}}),canvas['on']('mouse:move',_0x18bb50=>{var _0x1895bb={_0x24f826:0x1e6,_0x4455bb:0x23f,_0x2399fb:0x1e6,_0x105b49:0x232,_0x293726:0x226,_0x28911f:0x1dc},_0x544e89=_0x2948b4;if(instance[_0x544e89(0x1e6)][_0x544e89(0x237)]&&instance[_0x544e89(_0x1895bb._0x24f826)][_0x544e89(_0x1895bb._0x4455bb)]){var _0x6cf08e=canvas['getPointer'](_0x18bb50['e']),_0x2fff11=instance['data'][_0x544e89(0x1ec)]['x'],_0x1515f1=instance['data'][_0x544e89(0x1ec)]['y'],_0x24ccdd=instance[_0x544e89(_0x1895bb._0x2399fb)][_0x544e89(0x23f)];if('line'===instance[_0x544e89(_0x1895bb._0x24f826)]['drawMode'])_0x24ccdd[_0x544e89(0x226)]({'x2':_0x6cf08e['x'],'y2':_0x6cf08e['y']});else{if(_0x544e89(0x243)===instance[_0x544e89(0x1e6)]['drawMode']){var _0x28b601=_0x6cf08e['x']-_0x2fff11,_0x441683=_0x6cf08e['y']-_0x1515f1,_0x59416c=0xb4*Math[_0x544e89(0x22e)](_0x441683,_0x28b601)/Math['PI'],_0x470e10=Math[_0x544e89(0x21e)](_0x28b601*_0x28b601+_0x441683*_0x441683),_0x5900d2=instance['data'][_0x544e89(0x230)],_0x3fc7b5=Math[_0x544e89(_0x1895bb._0x105b49)](0xf,2.5*_0x5900d2),_0x3a49eb=Math['max'](1.8*_0x5900d2,0x14),_0x2e0456=_0x5900d2/0x2,_0x294f1e=Math['max'](_0x470e10,_0x3fc7b5+0x5),_0x18b796=_0x294f1e-_0x3fc7b5,_0x31274e=[{'x':0x0,'y':-_0x2e0456},{'x':_0x18b796,'y':-_0x2e0456},{'x':_0x18b796,'y':-_0x3a49eb/0x2},{'x':_0x294f1e,'y':0x0},{'x':_0x18b796,'y':_0x3a49eb/0x2},{'x':_0x18b796,'y':_0x2e0456},{'x':0x0,'y':_0x2e0456}];_0x24ccdd[_0x544e89(_0x1895bb._0x293726)]({'points':_0x31274e,'angle':_0x59416c});}else{if(_0x544e89(0x1ff)===instance['data']['drawMode']){if(_0x544e89(0x1e0)!=='MJBJy')_0x356579['remove'](_0x3fc36a);else{var _0x28016d=Math[_0x544e89(0x1dc)](_0x2fff11-_0x6cf08e['x'])/0x2,_0x431967=Math[_0x544e89(_0x1895bb._0x28911f)](_0x1515f1-_0x6cf08e['y'])/0x2,_0x22ed22=_0x6cf08e['x']>_0x2fff11?_0x2fff11:_0x6cf08e['x'],_0x4c0086=_0x6cf08e['y']>_0x1515f1?_0x1515f1:_0x6cf08e['y'];_0x24ccdd[_0x544e89(0x226)]({'rx':_0x28016d,'ry':_0x431967,'left':_0x22ed22,'top':_0x4c0086});}}else{var _0x142e48=Math[_0x544e89(0x1dc)](_0x2fff11-_0x6cf08e['x']),_0x2f44f1=Math['abs'](_0x1515f1-_0x6cf08e['y']),_0x22ed22=_0x6cf08e['x']>_0x2fff11?_0x2fff11:_0x6cf08e['x'],_0x4c0086=_0x6cf08e['y']>_0x1515f1?_0x1515f1:_0x6cf08e['y'];_0x24ccdd[_0x544e89(0x226)]({'width':_0x142e48,'height':_0x2f44f1,'left':_0x22ed22,'top':_0x4c0086});}}}canvas['renderAll']();}}),canvas['on']('mouse:up',_0x2d916e=>{var _0x1e7b0e={_0x5a71a2:0x20e,_0x218863:0x23f,_0x5c9c4a:0x21c,_0x1ed414:0x1e6},_0x32efe9={_0x52a1f4:0x21a},_0x1ef1b6=_0x2948b4;if(instance['data']['isDrawingShape']){if(_0x1ef1b6(_0x1e7b0e._0x5a71a2)===_0x1ef1b6(0x21b)){const _0x157a22=_0x398eb9['result'][_0x1ef1b6(0x274)](',')[0x1];_0x88360[_0x1ef1b6(0x27d)](_0xced923+_0x1ef1b6(0x273),_0x157a22,(_0x22acf6,_0xdf9ce)=>{var _0x5d0271=_0x1ef1b6;_0x22acf6||(_0x509c5a['publishState'](_0x5d0271(0x210),_0xdf9ce),_0x4ec76a['triggerEvent'](_0x5d0271(_0x32efe9._0x52a1f4)));});}else{instance[_0x1ef1b6(0x1e6)][_0x1ef1b6(0x237)]=!0x1;var _0xfd59fe=instance['data'][_0x1ef1b6(_0x1e7b0e._0x218863)];if(_0xfd59fe){if('arrow'===instance['data']['drawMode']){var _0x45e587=_0xfd59fe[_0x1ef1b6(0x265)]('points'),_0x4e8c75=new fabric[(_0x1ef1b6(0x1e1))](_0x45e587,{'stroke':_0xfd59fe['stroke'],'strokeWidth':_0xfd59fe['strokeWidth'],'fill':_0xfd59fe['fill'],'left':_0xfd59fe[_0x1ef1b6(0x203)],'top':_0xfd59fe['top'],'originX':_0xfd59fe['originX'],'originY':_0xfd59fe[_0x1ef1b6(0x23e)],'angle':_0xfd59fe['angle'],'objectCaching':!0x1});canvas[_0x1ef1b6(0x24b)](_0xfd59fe),_0x4e8c75['width']>0x5||_0x4e8c75['height']>0x5?(canvas[_0x1ef1b6(_0x1e7b0e._0x5c9c4a)](_0x4e8c75),_0xfd59fe=_0x4e8c75):_0xfd59fe=null;}_0xfd59fe&&(_0xfd59fe['setCoords'](),_0x1ef1b6(0x243)===instance['data'][_0x1ef1b6(0x275)]||(0x0!==_0xfd59fe[_0x1ef1b6(0x206)]||0x0!==_0xfd59fe['height']||_0xfd59fe['x2'])&&0x0!==_0xfd59fe['scaleX']?debouncedSaveState():canvas[_0x1ef1b6(0x24b)](_0xfd59fe));}instance[_0x1ef1b6(_0x1e7b0e._0x1ed414)][_0x1ef1b6(0x23f)]=null;}}optimizedRender();}),canvas['on']('path:created',_0x32bb57=>{optimizedRender(),debouncedSaveState();}),canvas['on'](_0x2948b4(0x1ed),()=>{debouncedSaveState();}),canvas['on'](_0x2948b4(0x205),_0x3b323a=>{var _0x2f12a0={_0x186ea2:0x218},_0x2bb22a=_0x2948b4,_0x3b1411=_0x3b323a['e']['touches'][0x0];canvas[_0x2bb22a(_0x2f12a0._0x186ea2)]({'clientX':_0x3b1411[_0x2bb22a(0x216)],'clientY':_0x3b1411['clientY']});}),canvas['on']('touchmove',_0x44af57=>{var _0x2260de={_0x3909d1:0x245,_0x47e043:0x1f8},_0x5c111e=_0x2948b4;_0x44af57['e'][_0x5c111e(_0x2260de._0x3909d1)]();var _0x4afae4=_0x44af57['e'][_0x5c111e(0x240)][0x0];canvas[_0x5c111e(_0x2260de._0x47e043)]({'clientX':_0x4afae4['clientX'],'clientY':_0x4afae4['clientY']});}),canvas['on'](_0x2948b4(0x1e5),()=>{canvas['handleMouseUp']({}),optimizedRender();}),instance[_0x2948b4(0x1e6)]['buttonsInitialized']=!0x0),instance[_0x2948b4(0x1e6)]['setMode']=_0x5e7421=>{var _0x4992ac={_0x49673c:0x254,_0x351791:0x24e,_0x4c3d2b:0x1d7,_0x5c6374:0x26d,_0x4f4ae8:0x1e6,_0x68adb8:0x275,_0x31f817:0x1e4},_0x32fe2a=_0x2948b4;_0x32fe2a(_0x4992ac._0x49673c)===_0x5e7421?(instance['data'][_0x32fe2a(0x275)]=null,canvas['isDrawingMode']=!0x0,canvas['skipTargetFind']=!0x1,instance[_0x32fe2a(0x1e6)][_0x32fe2a(0x20d)]=!0x1,canvas[_0x32fe2a(_0x4992ac._0x351791)][_0x32fe2a(0x1df)]=instance['data'][_0x32fe2a(0x233)],canvas['discardActiveObject'](),canvas[_0x32fe2a(0x1e4)]()):_0x32fe2a(_0x4992ac._0x4c3d2b)===_0x5e7421?(instance[_0x32fe2a(0x1e6)]['drawMode']=null,canvas[_0x32fe2a(0x24f)]=!0x1,canvas[_0x32fe2a(_0x4992ac._0x5c6374)]=!0x1,canvas[_0x32fe2a(0x1db)]=!0x0):(instance[_0x32fe2a(_0x4992ac._0x4f4ae8)][_0x32fe2a(_0x4992ac._0x68adb8)]=_0x5e7421,c
270anvas[_0x32fe2a(0x24f)]=!0x1,canvas['skipTargetFind']=!0x0,canvas[_0x32fe2a(0x1db)]=!0x1,canvas['discardActiveObject'](),canvas[_0x32fe2a(_0x4992ac._0x31f817)]());},instance['data']['addRect']=(_0x46dacb,_0x1b540f)=>{var _0x1f76a5={_0x12c8d3:0x1e6,_0x2df85a:0x20a},_0x187aec=_0x2948b4;instance[_0x187aec(0x1e6)][_0x187aec(0x1f4)]=_0x46dacb,instance['data'][_0x187aec(0x231)]=_0x1b540f||'transparent',instance[_0x187aec(_0x1f76a5._0x12c8d3)][_0x187aec(_0x1f76a5._0x2df85a)]('rect');},instance[_0x2948b4(0x1e6)]['addCircle']=(_0x150c2f,_0x1d146f)=>{var _0x689e04={_0x505319:0x1e6},_0x521f5d=_0x2948b4;instance['data'][_0x521f5d(0x1f4)]=_0x150c2f,instance['data']['drawFill']=_0x1d146f||'transparent',instance[_0x521f5d(_0x689e04._0x505319)][_0x521f5d(0x20a)]('circle');},instance[_0x2948b4(0x1e6)][_0x2948b4(0x27e)]=(_0x380c44,_0xe53b67)=>{var _0x35c70b={_0x50ae76:0x1e6,_0x549fcd:0x1e6},_0x35ba8f=_0x2948b4;instance[_0x35ba8f(_0x35c70b._0x50ae76)]['drawColor']=_0x380c44,instance[_0x35ba8f(_0x35c70b._0x549fcd)]['drawFill']=_0xe53b67||_0x35ba8f(0x213),instance['data'][_0x35ba8f(0x20a)]('triangle');},instance[_0x2948b4(0x1e6)]['addLine']=_0x42ec0d=>{var _0x2695d9={_0x3ee2e1:0x1f4,_0x62aaed:0x1e6},_0x52c5d8=_0x2948b4;instance[_0x52c5d8(0x1e6)][_0x52c5d8(_0x2695d9._0x3ee2e1)]=_0x42ec0d,instance[_0x52c5d8(_0x2695d9._0x62aaed)][_0x52c5d8(0x20a)](_0x52c5d8(0x1d6));},instance[_0x2948b4(0x1e6)][_0x2948b4(0x259)]=_0x194f22=>{var _0x1b7b59={_0x2d1e02:0x1e6,_0x342026:0x1f4},_0x163586=_0x2948b4;instance[_0x163586(_0x1b7b59._0x2d1e02)][_0x163586(_0x1b7b59._0x342026)]=_0x194f22,instance['data']['setMode']('arrow');},instance[_0x2948b4(0x1e6)][_0x2948b4(0x22f)]=(_0x27d960,_0x36a1bf)=>{var _0x187982={_0x23b3c7:0x21c},_0x1e9d11=_0x2948b4,_0x2beff4=_0x36a1bf||instance[_0x1e9d11(0x1e6)][_0x1e9d11(0x233)],_0x170b1e=_0x27d960||_0x1e9d11(0x234);instance['data'][_0x1e9d11(0x20a)](_0x1e9d11(0x1d7));var _0x1bb79b=new fabric['IText'](_0x170b1e,{'left':0x64,'top':0x64,'fontFamily':properties[_0x1e9d11(0x22d)],'fill':_0x2beff4,'fontSize':0x18});canvas[_0x1e9d11(_0x187982._0x23b3c7)](_0x1bb79b),canvas[_0x1e9d11(0x1f2)](_0x1bb79b),_0x1bb79b['setCoords'](),canvas[_0x1e9d11(0x253)](_0x1bb79b),_0x1bb79b[_0x1e9d11(0x20c)](),_0x1bb79b[_0x1e9d11(0x260)](),optimizedRender(),debouncedSaveState();},instance[_0x2948b4(0x1e6)]['setFillColor']=_0x12f79b=>{var _0x96704a={_0x404325:0x1e6},_0x14e9de=_0x2948b4,_0x3e8319=canvas['getActiveObject']();if(_0x3e8319){var _0x16f71e=_0x12f79b||instance[_0x14e9de(_0x96704a._0x404325)]['currentBrushColor'];_0x3e8319[_0x14e9de(0x226)]('fill',_0x16f71e),optimizedRender(),debouncedSaveState();}},instance[_0x2948b4(0x1e6)]['setStrokeColor']=_0x3b4703=>{var _0x41b292={_0x57eee7:0x270},_0x5a1ed8=_0x2948b4,_0xf22882=canvas[_0x5a1ed8(_0x41b292._0x57eee7)]();if(_0xf22882){var _0x25a227=_0x3b4703||instance['data'][_0x5a1ed8(0x233)];_0xf22882['set']('stroke',_0x25a227),optimizedRender(),debouncedSaveState();}},instance[_0x2948b4(0x1e6)][_0x2948b4(0x215)]=()=>{var _0x1c25ce={_0x5e1000:0x215},_0x22d00c=_0x2948b4,_0x23b662=canvas['getActiveObject']();_0x23b662&&(canvas[_0x22d00c(_0x1c25ce._0x5e1000)](_0x23b662),debouncedSaveState());},instance['data'][_0x2948b4(0x211)]=()=>{var _0x331584=_0x2948b4,_0x2893f4=canvas['getActiveObject']();_0x2893f4&&(canvas[_0x331584(0x211)](_0x2893f4),debouncedSaveState());},instance[_0x2948b4(0x1e6)][_0x2948b4(0x1fd)]=()=>{var _0x537fa3={_0x4757eb:0x24d},_0x2e0c09=_0x2948b4,_0x104787=canvas[_0x2e0c09(_0x537fa3._0x4757eb)]();_0x104787['length']&&(canvas['discardActiveObject'](),_0x104787['forEach'](function(_0x41122e){var _0x2656f6=_0x2e0c09;canvas[_0x2656f6(0x24b)](_0x41122e);}),optimizedRender(),debouncedSaveState());},instance[_0x2948b4(0x1e6)][_0x2948b4(0x282)]||(canvas[_0x2948b4(0x279)](instance[_0x2948b4(0x1e6)][_0x2948b4(0x22b)],optimizedRender),bg_img&&maintain_ratio&&setCanvasBgImage(bg_img),debouncedSaveState(),instance[_0x2948b4(0x1e6)][_0x2948b4(0x282)]=!0x0,checkCanvasContent()),properties['brush_color']&&properties[_0x2948b4(0x25f)]!==instance[_0x2948b4(0x1e6)][_0x2948b4(0x233)]&&(instance[_0x2948b4(0x1e6)][_0x2948b4(0x233)]=properties['brush_color'],instance[_0x2948b4(0x1e6)][_0x2948b4(0x20
270d)]||(canvas[_0x2948b4(0x24e)]['color']=properties[_0x2948b4(0x25f)])),properties[_0x2948b4(0x257)]&&properties[_0x2948b4(0x257)]!==instance[_0x2948b4(0x1e6)]['currentBgColor']&&(instance[_0x2948b4(0x1e6)][_0x2948b4(0x22b)]=properties[_0x2948b4(0x257)],canvas[_0x2948b4(0x279)](properties['bg_color'],optimizedRender),instance[_0x2948b4(0x1e6)]['isEraserActive']&&(canvas['freeDrawingBrush'][_0x2948b4(0x1df)]=properties[_0x2948b4(0x257)]),debouncedSaveState()),bg_img&&maintain_ratio&&setCanvasBgImage(bg_img),properties[_0x2948b4(0x209)]&&properties['thickness']!==instance[_0x2948b4(0x1e6)]['currentThickness']&&(instance[_0x2948b4(0x1e6)]['currentThickness']=properties[_0x2948b4(0x209)],canvas[_0x2948b4(0x24e)]['width']=properties['thickness']),instance['data'][_0x2948b4(0x220)]=()=>instance[_0x2948b4(0x1e6)][_0x2948b4(0x262)]['click'](),instance[_0x2948b4(0x1e6)]['redo']=()=>instance['data'][_0x2948b4(0x263)]['click'](),instance[_0x2948b4(0x1e6)]['clearAll']=()=>instance[_0x2948b4(0x1e6)][_0x2948b4(0x267)]['click'](),instance['data'][_0x2948b4(0x20b)]=()=>instance['data'][_0x2948b4(0x276)][_0x2948b4(0x247)](),instance['data']['eraser']=()=>instance['data']['eraserButton']['click'](),instance[_0x2948b4(0x1e6)][_0x2948b4(0x239)]=()=>instance[_0x2948b4(0x1e6)]['brushButton'][_0x2948b4(0x247)](),instance[_0x2948b4(0x1e6)][_0x2948b4(0x242)]=()=>instance[_0x2948b4(0x1e6)]['bubbleImageUrlButton']['click'](),instance['data']['addRect']=instance[_0x2948b4(0x1e6)][_0x2948b4(0x1d9)],instance[_0x2948b4(0x1e6)]['addCircle']=instance['data'][_0x2948b4(0x21f)],instance[_0x2948b4(0x1e6)]['addTriangle']=instance[_0x2948b4(0x1e6)][_0x2948b4(0x27e)],instance[_0x2948b4(0x1e6)][_0x2948b4(0x26b)]=instance[_0x2948b4(0x1e6)][_0x2948b4(0x26b)],instance['data']['addLineArrow']=instance[_0x2948b4(0x1e6)]['addLineArrow'],instance[_0x2948b4(0x1e6)][_0x2948b4(0x22f)]=instance['data'][_0x2948b4(0x22f)],instance[_0x2948b4(0x1e6)][_0x2948b4(0x20a)]=instance[_0x2948b4(0x1e6)][_0x2948b4(0x20a)],instance[_0x2948b4(0x1e6)][_0x2948b4(0x25c)]=instance[_0x2948b4(0x1e6)]['setFillColor'],instance['data'][_0x2948b4(0x1e8)]=instance[_0x2948b4(0x1e6)]['setStrokeColor'],instance['data'][_0x2948b4(0x1fd)]=instance[_0x2948b4(0x1e6)][_0x2948b4(0x1fd)],instance[_0x2948b4(0x1e6)][_0x2948b4(0x215)]=instance[_0x2948b4(0x1e6)][_0x2948b4(0x215)],instance[_0x2948b4(0x1e6)]['sendToBack']=instance[_0x2948b4(0x1e6)]['sendToBack'];}function _0x4985(){var _0x6c5771=['zg93BMXVywq','zw50zxjfzgL0Aw5N','AxnfCMfZzxjby3rPDMu','thHsAva','DhjPz2DLCKv2zw50','DxjS','C2vUzfrVqMfJAW','yMDFAw1N','DhjHBNnWyxjLBNq','CMvUzgvYqwXS','yNjPBMDuB0zYB250','y2XPzw50wa','y29UDgfPBMvY','AgfUzgXLtw91C2veB3DU','BM9Uzq','Aw1Hz2vFCMvHzhK','t01Hy2q','ywrK','C2HPzNq','C3fYDa','ywrKq2LYy2XL','Dw5KBW','mZe0ogfkywfsAG','yw5VBNLTB3vZ','Dg9W','ndy0otaZmKzls05IAG','AxnFzw1WDhK','C2v0','i0zgrKzgrG','zxjYB3i','yNvIyMXLsw1Hz2vvCMXcDxr0B24','CMvZDwX0','y3vYCMvUDejNq29SB3i','Dg9ku09o','zM9UDf9Myw1PBhK','yxrHBJi','ywrKvgv4Da','y3vYCMvUDfrOAwnRBMvZCW','zhjHD0zPBgW','Bwf4','y3vYCMvUDejYDxnOq29SB3i','vhLWzsbOzxjLlI4U','yNvIyMXL','Dw5KB1n0ywnR','AxneCMf3Aw5Nu2HHCgu','C3rYB2TL','yNj1C2G','zhjHD2LUzW','C3rYAw5NAwz5','y2i9','CMvHzefZrgf0yvvsta','B3jPz2LUwq','ywn0AxzLu2HHCgvpyMPLy3q','Dg91y2HLCW','mJeXndK2v1P1DMPV','DxbSB2fKqNvIyMXLsw1Hz2vvCMW','yxjYB3C','BwfPBNrHAw5FCMf0Aw8','ChjLDMvUDerLzMf1Bhq','yMfJA2DYB3vUzenVBg9Y','y2XPy2S','Cg5N','rgLYzwn0igLTywDLigXVywqGzMfPBgvKlcbHDhrLBxb0Aw5NiefSBe9YAwDPBNmGChjVEhKGzMfSBgjHy2SUlI4','mJDvBNbyAxK','CMvTB3zL','AhjLzG','z2v0qwn0AxzLt2jQzwn0CW','zNjLzurYyxDPBMDcCNvZAa','AxneCMf3Aw5Ntw9Kzq','nZy2mJeYnKfTEvDxEG','ChvZAa','vhjPyw5NBgu','C2v0qwn0AxzLt2jQzwn0','zhjHDW','oduWnZm2zu1nzLLW','rwXSAxbZzq','yMDFy29SB3i','BwL0zxi','ywrKtgLUzufYCM93','sw1Hz2u','z2v0ug9PBNrLCG','C2v0rMLSBenVBg9Y','zNjVBvvsta','tgLUzq','yNj1C2HFy29SB3i','C2vSzwn0qwXS','CMvKBW','Dw5KB0j1DhrVBG','CMvKB0j1DhrVBG','z2v0u3jJ','z2v0','sw1Hz2uGzMfPBgvKihrVigXVywqGy29TCgXLDgvSEs4','y2XLyxjcDxr0B24','iZaWmdaWma','AgvPz2H0','y2vUDgvY','ywrKtgLUzq','CMvKB1n0ywnR','C2TPCfrHCMDLDezPBMq','BwLU','C3rHCNrZv2L0Aa','z2v0qwn0AxzLt2jQzwn0','Dg9eyxrHvvjm','Ahr0Chm6','lNbUzW','C3bSAxq','zhjHD01Vzgu','zg93BMXVywrcDxr0B24','Bg93zxjdyw52yxnfBa','Dg9cBg9I','C2v0qMfJA2DYB3vUzenVBg9Y','Cg9W','BgvUz3rO','zxjHC2vY','DxbSB2fKq29UDgvUDa','ywrKvhjPyw5NBgu','zhjHD2LUzY0','yMfJA2DYB3vUzeLTywDL','mZK4mg9AEMrkzG','Aw5PDgLHBgL6zwq','BgLUzq','C2vSzwn0','CMvJDa','ywrKuMvJDa','q2fUDMfZ','C2vSzwn0Aw9U','ywjZ','Dg9tDhjPBMC','y2fUDMfZu3rHDgu','y29SB3i','tuPcsNK','ug9SEwDVBG','yxbWzw5Kq2HPBgq','C2v0qMfJA2DYB3vUzeLTywDL','CMvXDwvZDfjLBMrLCKfSBa','Dg91y2HLBMq','zgf0yq','D2fYBG','C2v0u3rYB2TLq29SB3i','C3vIC3rYAw5N','CMfUzg9T','ruHrCvi','C2HHCgvtDgfYDfbVAw50','B2jQzwn0oM1VzgLMAwvK','y2fJAgvKqMDjBwfNzq','y2fUDMfZ','As10zxH0','y3jLyxrLrwXLBwvUD
270a','y2vUDgvYt2jQzwn0','C2v0rgLTzw5ZAw9UCW','zhjHD0nVBg9Y','zgf0ytO','y2LK','uMvJDa','AgfUzgXLtw91C2vnB3zL','Dgv4Da','C3n4rM4','mZeWndftte5ezKS','z2v0vgLTzq','zgvSzxrLqwn0AxzLt2jQzwn0','Dw5KB19ZDa','y2LYy2XL','DhLWzq','B25SB2fKzw5K','yxbWBhK','BgvMDa','nJaZnw1eDNv5vW','Dg91y2HZDgfYDa','D2LKDgG','AgfZx2nVBNrLBNq','ndK4otC5nKrpr0vwzG','DgHPy2TUzxnZ','C2v0tw9Kzq'];_0x4985=function(){return _0x6c5771;};return _0x4985();}}"},"reset":{"fn":"function(instance,context){const _0x474242=['MTcyMDU1NTA2MTIwOXg5MjI4NDA3MTg4NjAwOTE0MDA='];{}}"}},"platform_type":"web"}}}; 271window._bubble_page_load_data.plugins_size['1720555061209x922840718860091400'] = 81075; 272window.preloaded['plugin/third_party:1720555061209x922840718860091400:1.7.2'] = true; 273window.plugins["1727232403644x275777341457956860"] = {"human":"Stripe Payment Elements","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_api":{"human":"Stripe Payment Elements by Brandarrow","auth":"private_key_header","calls":{"ABc":{"name":"Payment Intent","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/payment_intents","params":{"ABi":{"key":"customer","value":"cus_QjvzCsBooRBk8s","private":true,"querystring":true},"ABj":{"key":"amount","value":"1000","private":true,"querystring":true},"ACT":{"key":"currency","value":"usd","private":true,"querystring":true},"ACU":{"key":"receipt_email","value":"[email protected]","private":true,"optional":true,"querystring":true}},"initialized":true,"types":"{\"plugin_api.ABc\":{\"caption\":\"Payment Intent\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_amount\":{\"ret_btype\":\"number\",\"caption\":\"amount\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_amount_capturable\":{\"ret_btype\":\"number\",\"caption\":\"amount_capturable\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_amount_received\":{\"ret_btype\":\"number\",\"caption\":\"amount_received\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_application\":{\"ret_btype\":\"text\",\"caption\":\"application\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_application_fee_amount\":{\"ret_btype\":\"text\",\"caption\":\"application_fee_amount\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_automatic_payment_methods.allow_redirects\":{\"ret_btype\":\"text\",\"caption\":\"automatic_payment_methods allow_redirects\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"allow_redirects\"],\"ret_value\":\"text\"},\"_p_automatic_payment_methods.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"automatic_payment_methods enabled\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_canceled_at\":{\"ret_btype\":\"date_unix\",\"caption\":\"canceled_at\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_cancellation_reason\":{\"ret_btype\":\"text\",\"caption\":\"cancellation_reason\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_capture_method\":{\"ret_btype\":\"text\",\"caption\":\"capture_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_confirmation_method\":{\"ret_btype\":\"text\",\"caption\":\"confirmation_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_currency\":{\"ret_btype\":\"text\",\"caption\":\"currency\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_customer\":{\"ret_btype\":\"text\",\"caption\":\"customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_description\":{\"ret_btype\":\"text\",\"caption\":\"description\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_invoice\":{\"ret_btype\":\"text\",\"caption\":\"invoice\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_payment_error\":{\"ret_btype\":\"text\",\"caption\":\"last_payment_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_latest_charge\":{\"ret_btype\":\"text\",\"caption\":\"latest_charge\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_next_action\":{\"ret_btype\":\"text\",\"caption\":\"next_action\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_on_behalf_of\":{\"ret_btype\":\"text\",\"caption\":\"on_behalf_of\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method\":{\"ret_btype\":\"text\",\"caption\":\"payment_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.id\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details id\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"id\"],\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.parent\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details parent\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"parent\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.installments\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card installments\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"installments\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.mandate_options\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card mandate_options\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"mandate_options\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.network\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card network\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"network\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.request_three_d_secure\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card request_three_d_secure\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"request_three_d_secure\"],\"ret_value\":\"text\"},\"_p_payment_method_options.link.persistent_token\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options link persistent_token\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"link\",\"persistent_token\"],\"ret_value\":\"text\"},\"_p_payment_method_types\":{\"ret_btype\":\"list.text\",\"caption\":\"payment_method_types\",\"sample_value\":\"\",\"ret_value\":\"list.text\"},\"_p_processing\":{\"ret_btype\":\"text\",\"caption\":\"processing\",\"sample_value\":\"\",\"ret_value\":\"text\"}
273,\"_p_receipt_email\":{\"ret_btype\":\"text\",\"caption\":\"receipt_email\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_review\":{\"ret_btype\":\"text\",\"caption\":\"review\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_setup_future_usage\":{\"ret_btype\":\"text\",\"caption\":\"setup_future_usage\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_shipping\":{\"ret_btype\":\"text\",\"caption\":\"shipping\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_source\":{\"ret_btype\":\"text\",\"caption\":\"source\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_statement_descriptor\":{\"ret_btype\":\"text\",\"caption\":\"statement_descriptor\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_statement_descriptor_suffix\":{\"ret_btype\":\"text\",\"caption\":\"statement_descriptor_suffix\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_transfer_data\":{\"ret_btype\":\"text\",\"caption\":\"transfer_data\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_transfer_group\":{\"ret_btype\":\"text\",\"caption\":\"transfer_group\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1727232403644x275777341457956860.plugin_api.ABc"},"ABv":{"0":"A","1":"B","2":"u","name":"GET Setup Intent (Data)","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/setup_intents/[setupItentID]","initialized":true,"types":"{\"plugin_api.ABv\":{\"caption\":\"GET Setup Intent\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_application\":{\"ret_btype\":\"text\",\"caption\":\"application\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_automatic_payment_methods.allow_redirects\":{\"ret_btype\":\"text\",\"caption\":\"automatic_payment_methods allow_redirects\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"allow_redirects\"],\"ret_value\":\"text\"},\"_p_automatic_payment_methods.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"automatic_payment_methods enabled\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_cancellation_reason\":{\"ret_btype\":\"text\",\"caption\":\"cancellation_reason\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_customer\":{\"ret_btype\":\"text\",\"caption\":\"customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_description\":{\"ret_btype\":\"text\",\"caption\":\"description\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_flow_directions\":{\"ret_btype\":\"text\",\"caption\":\"flow_directions\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_setup_error\":{\"ret_btype\":\"text\",\"caption\":\"last_setup_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_latest_attempt\":{\"ret_btype\":\"text\",\"caption\":\"latest_attempt\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_mandate\":{\"ret_btype\":\"text\",\"caption\":\"mandate\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_next_action\":{\"ret_btype\":\"text\",\"caption\":\"next_action\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_on_behalf_of\":{\"ret_btype\":\"text\",\"caption\":\"on_behalf_of\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method\":{\"ret_btype\":\"text\",\"caption\":\"payment_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.id\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details id\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"id\"],\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.parent\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details parent\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"parent\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.mandate_options\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card mandate_options\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"mandate_options\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.network\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card network\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"network\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.request_three_d_secure\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card request_three_d_secure\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"request_three_d_secure\"],\"ret_value\":\"text\"},\"_p_payment_method_types\":{\"ret_btype\":\"list.text\",\"caption\":\"payment_method_types\",\"sample_value\":\"\",\"ret_value\":\"list.text\"},\"_p_single_use_mandate\":{\"ret_btype\":\"text\",\"caption\":\"single_use_mandate\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_usage\":{\"ret_btype\":\"text\",\"caption\":\"usage\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1727232403644x275777341457956860.plugin_api.ABv","url_params":{"ABw":{"key":"setupItentID","value":"seti_1Q11kK2eZvKYlo2CTdrKKYbQ","private":true}}},"ACB":{"0":"A","1":"C","2":"A","name":"Setup Intent","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/setup_intents","params":{"ABi":{"key":"customer","value":"cus_QjvzCsBooRBk8s","private":true,"querystring":true},"ABj":{"key":"automatic_payment_methods[enabled]","value":"true","private":true,"querystring":true}},"initialized":true,"types":"{\"plugin_api.ACB\":{\"caption\":\"Setup Intent\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_application\":{\"ret_btype\":\"text\",\"caption\":\"application\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_automatic_payment_methods.allow_redirects\":{\"ret_btype\":\"text\",\"caption\":\"automatic_payment_methods allow_redirects\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"allow_redirects\"],\"ret_value\":\"text\"},\"_p_automatic_payment_methods.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"automatic_payment_methods enabled\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_cancellation_reason\":{\"ret_btype\":\"text\",\"caption\":\"cancellation_reason\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_customer\":{\"ret_btype\":\"text\",\"caption\":\"customer\",\"sample_value\":\"\",\"ret_value\":\"text\"}
273,\"_p_description\":{\"ret_btype\":\"text\",\"caption\":\"description\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_flow_directions\":{\"ret_btype\":\"text\",\"caption\":\"flow_directions\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_setup_error\":{\"ret_btype\":\"text\",\"caption\":\"last_setup_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_latest_attempt\":{\"ret_btype\":\"text\",\"caption\":\"latest_attempt\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_mandate\":{\"ret_btype\":\"text\",\"caption\":\"mandate\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_next_action\":{\"ret_btype\":\"text\",\"caption\":\"next_action\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_on_behalf_of\":{\"ret_btype\":\"text\",\"caption\":\"on_behalf_of\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method\":{\"ret_btype\":\"text\",\"caption\":\"payment_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.id\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details id\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"id\"],\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.parent\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details parent\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"parent\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.mandate_options\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card mandate_options\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"mandate_options\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.network\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card network\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"network\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.request_three_d_secure\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card request_three_d_secure\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"request_three_d_secure\"],\"ret_value\":\"text\"},\"_p_payment_method_types\":{\"ret_btype\":\"list.text\",\"caption\":\"payment_method_types\",\"sample_value\":\"\",\"ret_value\":\"list.text\"},\"_p_single_use_mandate\":{\"ret_btype\":\"text\",\"caption\":\"single_use_mandate\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_usage\":{\"ret_btype\":\"text\",\"caption\":\"usage\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1727232403644x275777341457956860.plugin_api.ACB"},"ACW":{"0":"A","1":"C","2":"V","name":"GET Payment Intent (Data)","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/payment_intents/[paymentItentID]","initialized":true,"types":"{\"plugin_api.ACW\":{\"caption\":\"GET Payment Intent\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_amount\":{\"ret_btype\":\"number\",\"caption\":\"amount\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_amount_capturable\":{\"ret_btype\":\"number\",\"caption\":\"amount_capturable\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_amount_received\":{\"ret_btype\":\"number\",\"caption\":\"amount_received\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_application\":{\"ret_btype\":\"text\",\"caption\":\"application\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_application_fee_amount\":{\"ret_btype\":\"text\",\"caption\":\"application_fee_amount\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_automatic_payment_methods.allow_redirects\":{\"ret_btype\":\"text\",\"caption\":\"automatic_payment_methods allow_redirects\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"allow_redirects\"],\"ret_value\":\"text\"},\"_p_automatic_payment_methods.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"automatic_payment_methods enabled\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_canceled_at\":{\"ret_btype\":\"date_unix\",\"caption\":\"canceled_at\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_cancellation_reason\":{\"ret_btype\":\"text\",\"caption\":\"cancellation_reason\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_capture_method\":{\"ret_btype\":\"text\",\"caption\":\"capture_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_confirmation_method\":{\"ret_btype\":\"text\",\"caption\":\"confirmation_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_currency\":{\"ret_btype\":\"text\",\"caption\":\"currency\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_customer\":{\"ret_btype\":\"text\",\"caption\":\"customer\",\"sample_value\":\"\",\"ret_value\":\"text\"}
273,\"_p_description\":{\"ret_btype\":\"text\",\"caption\":\"description\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_invoice\":{\"ret_btype\":\"text\",\"caption\":\"invoice\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_payment_error\":{\"ret_btype\":\"text\",\"caption\":\"last_payment_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_latest_charge\":{\"ret_btype\":\"text\",\"caption\":\"latest_charge\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_next_action\":{\"ret_btype\":\"text\",\"caption\":\"next_action\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_on_behalf_of\":{\"ret_btype\":\"text\",\"caption\":\"on_behalf_of\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method\":{\"ret_btype\":\"text\",\"caption\":\"payment_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.id\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details id\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"id\"],\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.parent\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details parent\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"parent\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.installments\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card installments\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"installments\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.mandate_options\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card mandate_options\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"mandate_options\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.network\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card network\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"network\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.request_three_d_secure\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card request_three_d_secure\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"request_three_d_secure\"],\"ret_value\":\"text\"},\"_p_payment_method_options.link.persistent_token\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options link persistent_token\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"link\",\"persistent_token\"],\"ret_value\":\"text\"},\"_p_payment_method_types\":{\"ret_btype\":\"list.text\",\"caption\":\"payment_method_types\",\"sample_value\":\"\",\"ret_value\":\"list.text\"},\"_p_processing\":{\"ret_btype\":\"text\",\"caption\":\"processing\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_receipt_email\":{\"ret_btype\":\"text\",\"caption\":\"receipt_email\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_review\":{\"ret_btype\":\"text\",\"caption\":\"review\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_setup_future_usage\":{\"ret_btype\":\"text\",\"caption\":\"setup_future_usage\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_shipping\":{\"ret_btype\":\"text\",\"caption\":\"shipping\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_source\":{\"ret_btype\":\"text\",\"caption\":\"source\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_statement_descriptor\":{\"ret_btype\":\"text\",\"caption\":\"statement_descriptor\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_statement_descriptor_suffix\":{\"ret_btype\":\"text\",\"caption\":\"statement_descriptor_suffix\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_transfer_data\":{\"ret_btype\":\"text\",\"caption\":\"transfer_data\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_transfer_group\":{\"ret_btype\":\"text\",\"caption\":\"transfer_group\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1727232403644x275777341457956860.plugin_api.ACW","url_params":{"ACX":{"key":"paymentItentID","value":"pi_3Q2jLq2eZvKYlo2C0zBmV7sp","private":true}}},"AES":{"0":"A","1":"E","2":"R","name":"GET Setup Intent (Action)","method":"post","publish_as":"action","should_reinitialize":false,"url":"https://api.stripe.com/v1/setup_intents/[setupItentID]","initialized":true,"types":"{\"plugin_api.AES\":{\"caption\":\"GET Setup Intent (Action)\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_application\":{\"ret_btype\":\"text\",\"caption\":\"application\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_automatic_payment_methods.allow_redirects\":{\"ret_btype\":\"text\",\"caption\":\"automatic_payment_methods allow_redirects\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"allow_redirects\"],\"ret_value\":\"text\"},\"_p_automatic_payment_methods.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"automatic_payment_methods enabled\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_cancellation_reason\":{\"ret_btype\":\"text\",\"caption\":\"cancellation_reason\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_customer\":{\"ret_btype\":\"text\",\"caption\":\"customer\",\"sample_value\":\"\",\"ret_value\":\"text\"}
273,\"_p_description\":{\"ret_btype\":\"text\",\"caption\":\"description\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_flow_directions\":{\"ret_btype\":\"text\",\"caption\":\"flow_directions\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_setup_error\":{\"ret_btype\":\"text\",\"caption\":\"last_setup_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_latest_attempt\":{\"ret_btype\":\"text\",\"caption\":\"latest_attempt\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_mandate\":{\"ret_btype\":\"text\",\"caption\":\"mandate\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_next_action\":{\"ret_btype\":\"text\",\"caption\":\"next_action\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_on_behalf_of\":{\"ret_btype\":\"text\",\"caption\":\"on_behalf_of\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method\":{\"ret_btype\":\"text\",\"caption\":\"payment_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.id\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details id\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"id\"],\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.parent\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details parent\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"parent\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.mandate_options\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card mandate_options\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"mandate_options\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.network\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card network\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"network\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.request_three_d_secure\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card request_three_d_secure\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"request_three_d_secure\"],\"ret_value\":\"text\"},\"_p_payment_method_types\":{\"ret_btype\":\"list.text\",\"caption\":\"payment_method_types\",\"sample_value\":\"\",\"ret_value\":\"list.text\"},\"_p_single_use_mandate\":{\"ret_btype\":\"text\",\"caption\":\"single_use_mandate\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_usage\":{\"ret_btype\":\"text\",\"caption\":\"usage\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1727232403644x275777341457956860.plugin_api.AES","url_params":{"ABw":{"key":"setupItentID","value":"seti_1Q11kK2eZvKYlo2CTdrKKYbQ","private":true}}},"AEU":{"0":"A","1":"E","2":"T","name":"GET Payment Intent (Action)","method":"post","publish_as":"action","should_reinitialize":false,"url":"https://api.stripe.com/v1/payment_intents/[paymentItentID]","initialized":true,"types":"{\"plugin_api.AEU\":{\"caption\":\"GET Payment Intent (Action)\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_amount\":{\"ret_btype\":\"number\",\"caption\":\"amount\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_amount_capturable\":{\"ret_btype\":\"number\",\"caption\":\"amount_capturable\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_amount_received\":{\"ret_btype\":\"number\",\"caption\":\"amount_received\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_application\":{\"ret_btype\":\"text\",\"caption\":\"application\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_application_fee_amount\":{\"ret_btype\":\"text\",\"caption\":\"application_fee_amount\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_automatic_payment_methods.allow_redirects\":{\"ret_btype\":\"text\",\"caption\":\"automatic_payment_methods allow_redirects\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"allow_redirects\"],\"ret_value\":\"text\"},\"_p_automatic_payment_methods.enabled\":{\"ret_btype\":\"boolean\",\"caption\":\"automatic_payment_methods enabled\",\"sample_value\":\"\",\"path\":[\"automatic_payment_methods\",\"enabled\"],\"ret_value\":\"boolean\"},\"_p_canceled_at\":{\"ret_btype\":\"text\",\"caption\":\"canceled_at\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_cancellation_reason\":{\"ret_btype\":\"text\",\"caption\":\"cancellation_reason\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_capture_method\":{\"ret_btype\":\"text\",\"caption\":\"capture_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_confirmation_method\":{\"ret_btype\":\"text\",\"caption\":\"confirmation_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_currency\":{\"ret_btype\":\"text\",\"caption\":\"currency\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_customer\":{\"ret_btype\":\"text\",\"caption\":\"customer\",\"sample_value\":\"\",\"ret_value\":\"text\"}
273,\"_p_description\":{\"ret_btype\":\"text\",\"caption\":\"description\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_invoice\":{\"ret_btype\":\"text\",\"caption\":\"invoice\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_payment_error\":{\"ret_btype\":\"text\",\"caption\":\"last_payment_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_latest_charge\":{\"ret_btype\":\"text\",\"caption\":\"latest_charge\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_next_action\":{\"ret_btype\":\"text\",\"caption\":\"next_action\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_on_behalf_of\":{\"ret_btype\":\"text\",\"caption\":\"on_behalf_of\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method\":{\"ret_btype\":\"text\",\"caption\":\"payment_method\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.id\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details id\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"id\"],\"ret_value\":\"text\"},\"_p_payment_method_configuration_details.parent\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_configuration_details parent\",\"sample_value\":\"\",\"path\":[\"payment_method_configuration_details\",\"parent\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.installments\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card installments\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"installments\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.mandate_options\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card mandate_options\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"mandate_options\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.network\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card network\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"network\"],\"ret_value\":\"text\"},\"_p_payment_method_options.card.request_three_d_secure\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options card request_three_d_secure\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"card\",\"request_three_d_secure\"],\"ret_value\":\"text\"},\"_p_payment_method_options.link.persistent_token\":{\"ret_btype\":\"text\",\"caption\":\"payment_method_options link persistent_token\",\"sample_value\":\"\",\"path\":[\"payment_method_options\",\"link\",\"persistent_token\"],\"ret_value\":\"text\"},\"_p_payment_method_types\":{\"ret_btype\":\"list.text\",\"caption\":\"payment_method_types\",\"sample_value\":\"\",\"ret_value\":\"list.text\"},\"_p_processing\":{\"ret_btype\":\"text\",\"caption\":\"processing\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_receipt_email\":{\"ret_btype\":\"text\",\"caption\":\"receipt_email\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_review\":{\"ret_btype\":\"text\",\"caption\":\"review\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_setup_future_usage\":{\"ret_btype\":\"text\",\"caption\":\"setup_future_usage\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_shipping\":{\"ret_btype\":\"text\",\"caption\":\"shipping\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_source\":{\"ret_btype\":\"text\",\"caption\":\"source\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_statement_descriptor\":{\"ret_btype\":\"text\",\"caption\":\"statement_descriptor\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_statement_descriptor_suffix\":{\"ret_btype\":\"text\",\"caption\":\"statement_descriptor_suffix\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_transfer_data\":{\"ret_btype\":\"text\",\"caption\":\"transfer_data\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_transfer_group\":{\"ret_btype\":\"text\",\"caption\":\"transfer_group\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1727232403644x275777341457956860.plugin_api.AEU","url_params":{"ACX":{"key":"paymentItentID","value":"pi_3Q2jLq2eZvKYlo2C0zBmV7sp","private":true}}}}},"plugin_elements":{"ACO":{"display":"SPE - Payment Element","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"states":{"ACN":{"caption":"stripeElementIsLoading","name":"stripeElementIsLoading","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"ACF":{"caption":"Initialize Payment Element","code":{"fn":"function(instance,properties,context){instance.publishState(\"stripeElementIsLoading\",!0);let publishableKey=properties.publishableKey,clientSecret=properties.clientSecret;if(!clientSecret||!clientSecret.includes(\"_secret_\"))return void instance.publishState(\"stripeElementIsLoading\",!1);const normalizeColor=value=>{if(!value)return value;const match=value.match(/^rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*1)?\\)$/);return match?`rgb(${match[1]}, ${match[2]}, ${match[3]})`:value},appearance={theme:properties.theme,variables:{colorPrimary:normalizeColor(properties.colorPrimary),colorBackgroun
273d:normalizeColor(properties.colorBackground),colorText:normalizeColor(properties.colorText),colorTextSecondary:normalizeColor(properties.colorTextSecondary),colorDanger:normalizeColor(properties.colorDanger),colorIcon:normalizeColor(properties.colorIcon),fontFamily:properties.fontFamily,borderRadius:properties.borderRadius?`${properties.borderRadius}px`:void 0,fontSizeBase:properties.fontSizeBase?`${properties.fontSizeBase}px`:void 0,spacingUnit:properties.spacingUnit?`${properties.spacingUnit}px`:void 0},rules:{\".Block\":{backgroundColor:normalizeColor(properties.blockBackgroundColor),borderRadius:properties.blockBorderRadius?`${properties.blockBorderRadius}px`:void 0,boxShadow:properties.blockBoxShadow},\".Input\":{backgroundColor:normalizeColor(properties.inputBackgroundColor),borderColor:normalizeColor(properties.inputBorderColor),color:normalizeColor(properties.inputTextColor)},\".Input:focus\":{borderColor:normalizeColor(properties.inputFocusBorderColor)},\".Label\":{color:normalizeColor(properties.labelColor)},\".Error\":{color:normalizeColor(properties.errorColor)}}},stripe=Stripe(publishableKey),elements=stripe.elements({clientSecret:clientSecret,appearance:appearance});try{const paymentElement=elements.create(\"payment\");if(!document.getElementById(properties.containerID))throw new Error(`Container ID '${properties.containerID}' does not exist.`);paymentElement.mount(`#${properties.containerID}`),instance.data.stripe=stripe,instance.data.elements=elements,instance.data.paymentElement=paymentElement}catch(error){return void instance.publishState(\"stripeElementIsLoading\",!1)}instance.publishState(\"stripeElementIsLoading\",!1)}"},"fields":{"ACG":{"caption":"Publishable Key","name":"publishableKey","rank":0,"editor":"DynamicValue","value":"text"},"ACH":{"caption":"Client Secret","name":"clientSecret","rank":1,"editor":"DynamicValue","value":"text"},"ACI":{"caption":"Container HTML ID","name":"containerID","rank":2,"editor":"DynamicValue","value":"text"},"ACY":{"caption":"Appearance","name":"infoAppearance","rank":3,"editor":"Label"},"ACZ":{"caption":"Theme","name":"theme","rank":4,"editor":"Dropdown","default_val":"stripe"},"ACa":{"caption":"colorPrimary","name":"colorPrimary","rank":5,"editor":"Color","optional":false,"default_val":"rgba(0,128,255,1)"},"ACb":{"caption":"colorBackground","name":"colorBackground","rank":6,"editor":"Color","optional":false,"default_val":"rgba(255,255,255,1)"},"ACc":{"caption":"colorText","name":"colorText","rank":7,"editor":"Color","optional":false,"default_val":"rgba(78,78,78,1)"},"ACd":{"caption":"colorTextSecondary","name":"colorTextSecondary","rank":8,"editor":"Color","optional":false,"default_val":"rgba(116,116,116,1)"},"ACe":{"caption":"colorDanger","name":"colorDanger","rank":9,"editor":"Color","optional":false,"default_val":"rgba(196,0,0,1)"},"ACf":{"caption":"colorPlaceholder","name":"colorPlaceholder","rank":10,"editor":"Color","optional":false,"default_val":"rgba(141,141,141,1)"},"ACg":{"caption":"borderRadius","name":"borderRadius","rank":11,"editor":"DynamicValue","optional":false,"value":"number","default_val":8},"ACh":{"caption":"fontFamily","name":"fontFamily","rank":12,"editor":"DynamicValue","value":"text","optional":false,"default_val":"arial"},"ACi":{"caption":"fontSizeBase","name":"fontSizeBase","rank":13,"editor":"DynamicValue","value":"number","optional":false,"default_val":14},"ACj":{"caption":"spacingUnit","name":"spacingUnit","rank":14,"editor":"DynamicValue","value":"number","optional":false,"default_val":6},"ACk":{"caption":"colorIcon","name":"colorIcon","rank":15,"editor":"Color","optional":false,"default_val":"rgba(78,78,78,1)"},"ACl":{"caption":"boxShadow","name":"boxShadow","rank":16,"editor":"DynamicValue","value":"text","optional":true,"default_val":"0 1px 3px 0 rgba(0,0,0,0.1)"},"ACo":{"caption":"borderColor","name":"borderColor","rank":17,"editor":"Color","optional":false,"default_val":"rgba(255,255,255,1)"},"ACp":{"caption":"borderColorHover","name":"borderColorHover","rank":18,"editor":"Color","optional":false,"default_val":"rgba(0,128,255,1)"},"ACq":{"caption":"borderColorFocus","name":"borderColorFocus","rank":19,"editor":"Color","optional":false,"default_val":"rgba(0,128,255,1)"},"ACr":{"caption":"labelColor","name":"labelColor","rank":20,"editor":"Color","optional":false,"default_val":"rgba(113,113,113,1)"},"ACs":{"caption":"caretColor","name":"caretColor","rank":21,"editor":"Color","optional":false,"default_val":"rgba(114,114,114,1)"}
273,"ACt":{"caption":"blockBackgroundColor","name":"blockBackgroundColor","rank":22,"editor":"Color","default_val":"rgba(233,233,233,1)"},"ACu":{"caption":"inputBackgroundColor","name":"inputBackgroundColor","rank":23,"editor":"Color","default_val":"rgba(255,255,255,1)"}}},"ACJ":{"caption":"Confirm Payment Element","code":{"fn":"function(instance,properties,context){const stripe=instance.data.stripe,elements=instance.data.elements;stripe&&elements?stripe.confirmPayment({elements:elements,confirmParams:{return_url:properties.returnURL}}).then((function(result){result.error?console.error(\"Error confirming payment: \",result.error):console.log(\"Payment confirmed successfully\")})):console.error(\"Stripe or Elements instance not found. Ensure initialization was successful.\")}"},"fields":{"ACK":{"caption":"publishableKey","name":"publishableKey","rank":0,"editor":"DynamicValue","value":"text"},"ACL":{"caption":"returnURL","name":"returnURL","rank":1,"editor":"DynamicValue","value":"text"}}},"ACM":{"caption":"Destroy Payment Element","code":{"fn":"function(instance,properties,context){instance.data.paymentElement?(instance.data.paymentElement.destroy(),console.log(\"Payment element destroyed and removed from DOM.\"),instance.data.paymentElement=null):console.warn(\"No payment element found to destroy.\")}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Background Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1727968972489x336030421482845600/Brandarrow%20-%20Bubble.io%20Plugin%20-%20Stripe%20Payment%20Elements%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ADd":{"display":"SPE - Setup Element","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"states":{"ADc":{"caption":"stripeElementIsLoading","name":"stripeElementIsLoading","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"ACz":{"caption":"Initialize Setup Element","code":{"fn":"function(instance,properties,context){instance.publishState(\"stripeElementIsLoading\",!0);const publishableKey=properties.publishableKey,clientSecret=properties.clientSecret;if(!clientSecret||!clientSecret.includes(\"_secret_\"))return void instance.publishState(\"stripeElementIsLoading\",!1);const appearance={theme:properties.theme,variables:{colorPrimary:properties.colorPrimary,colorBackground:properties.colorBackground,colorText:properties.colorText,colorTextSecondary:properties.colorTextSecondary,colorDanger:properties.colorDanger,fontFamily:properties.fontFamily,borderRadius:properties.borderRadius?`${properties.borderRadius}px`:void 0,fontSizeBase:properties.fontSizeBase?`${properties.fontSizeBase}px`:void 0,spacingUnit:properties.spacingUnit?`${properties.spacingUnit}px`:void 0,colorIcon:properties.colorIcon},rules:{\".Block\":{backgroundColor:properties.blockBackgroundColor,borderRadius:properties.blockBorderRadius?`${properties.blockBorderRadius}px`:void 0,boxShadow:properties.blockBoxShadow},\".Input\":{backgroundColor:properties.inputBackgroundColor,borderColor:properties.inputBorderColor,color:properties.inputTextColor},\".Input:focus\":{borderColor:properties.inputFocusBorderColor},\".Label\":{color:properties.labelColor},\".Error\":{color:properties.errorColor},\".Placeholder\":{color:properties.placeholderColor},\".Caret\":{color:properties.caretColor}}},stripe=Stripe(publishableKey),elements=stripe.elements({clientSecret:clientSecret,appearance:appearance});try{const setupElement=elements.create(\"payment\"),container=undefined;if(!document.getElementById(properties.containerID))throw new Error(`Container ID '${properties.containerID}' does not exist.`);setupElement.mount(`#${properties.containerID}`),instance.data.stripe=stripe,instance.data.elements=elements,instance.data.paymentElement=setupElement}catch(error){return void instance.publishState(\"stripeElementIsLoading\",!1)}instance.publishState(\"stripeElementIsLoading\",!1)}"},"fields":{"ADA":{"caption":"Publishable Key","name":"publishableKey","rank":0,"editor":"DynamicValue","value":"text"},"ADB":{"caption":"Client Secret","name":"clientSecret","rank":1,"editor":"DynamicValue","value":"text"},"ADC":{"caption":"Container HTML ID","name":"containerID","rank":2,"editor":"DynamicValue","value":"text"},"ADD":{"caption":"Appearance","name":"infoAppearance","rank":3,"editor":"Label"},"ADE":{"caption":"Theme","name":"theme","rank":4,"editor":"Dropdown","default_val":"stripe"},"ADF":{"caption":"colorPrimary","name":"colorPrimary","rank":5,"editor":"Color","optional":false,"default_val":"rgba(0,128,255,1)"}
273,"ADG":{"caption":"colorBackground","name":"colorBackground","rank":6,"editor":"Color","optional":false,"default_val":"rgba(255,255,255,1)"},"ADH":{"caption":"colorText","name":"colorText","rank":7,"editor":"Color","optional":false,"default_val":"rgba(78,78,78,1)"},"ADI":{"caption":"colorTextSecondary","name":"colorTextSecondary","rank":8,"editor":"Color","optional":false,"default_val":"rgba(116,116,116,1)"},"ADJ":{"caption":"colorDanger","name":"colorDanger","rank":9,"editor":"Color","optional":false,"default_val":"rgba(196,0,0,1)"},"ADK":{"caption":"colorPlaceholder","name":"colorPlaceholder","rank":10,"editor":"Color","optional":false,"default_val":"rgba(141,141,141,1)"},"ADL":{"caption":"borderRadius","name":"borderRadius","rank":11,"editor":"DynamicValue","optional":false,"value":"number","default_val":8},"ADM":{"caption":"fontFamily","name":"fontFamily","rank":12,"editor":"DynamicValue","value":"text","optional":false,"default_val":"arial"},"ADN":{"caption":"fontSizeBase","name":"fontSizeBase","rank":13,"editor":"DynamicValue","value":"number","optional":false,"default_val":14},"ADO":{"caption":"spacingUnit","name":"spacingUnit","rank":14,"editor":"DynamicValue","value":"number","optional":false,"default_val":6},"ADP":{"caption":"colorIcon","name":"colorIcon","rank":15,"editor":"Color","optional":false,"default_val":"rgba(78,78,78,1)"},"ADQ":{"caption":"boxShadow","name":"boxShadow","rank":16,"editor":"DynamicValue","value":"text","optional":true,"default_val":"0 1px 3px 0 rgba(0,0,0,0.1)"},"ADR":{"caption":"borderColor","name":"borderColor","rank":17,"editor":"Color","optional":false,"default_val":"rgba(255,255,255,1)"},"ADS":{"caption":"borderColorHover","name":"borderColorHover","rank":18,"editor":"Color","optional":false,"default_val":"rgba(0,128,255,1)"},"ADT":{"caption":"borderColorFocus","name":"borderColorFocus","rank":19,"editor":"Color","optional":false,"default_val":"rgba(0,128,255,1)"},"ADU":{"caption":"labelColor","name":"labelColor","rank":20,"editor":"Color","optional":false,"default_val":"rgba(113,113,113,1)"},"ADV":{"caption":"caretColor","name":"caretColor","rank":21,"editor":"Color","optional":false,"default_val":"rgba(114,114,114,1)"},"ADW":{"caption":"blockBackgroundColor","name":"blockBackgroundColor","rank":22,"editor":"Color","default_val":"rgba(233,233,233,1)"},"ADX":{"caption":"inputBackgroundColor","name":"inputBackgroundColor","rank":23,"editor":"Color","default_val":"rgba(255,255,255,1)"}}},"ADY":{"caption":"Confirm Setup Element","code":{"fn":"function(instance,properties,context){const stripe=instance.data.stripe,elements=instance.data.elements;stripe&&elements&&stripe.confirmSetup({elements:elements,confirmParams:{return_url:properties.returnURL}}).then((function(result){result.error||console.log(\"SetupIntent confirmed successfully\")}))}"},"fields":{"ADZ":{"caption":"publishableKey","name":"publishableKey","rank":0,"editor":"DynamicValue","value":"text"},"ADa":{"caption":"returnURL","name":"returnURL","rank":1,"editor":"DynamicValue","value":"text"}}},"ADb":{"caption":"Destroy Setup Element","code":{"fn":"function(instance,properties,context){instance.data.paymentElement&&(instance.data.paymentElement.destroy(),instance.data.paymentElement=null)}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Background Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1727968972489x336030421482845600/Brandarrow%20-%20Bubble.io%20Plugin%20-%20Stripe%20Payment%20Elements%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"}}}; 274window._bubble_page_load_data.plugins_size['1727232403644x275777341457956860'] = 48802; 275window.preloaded['plugin/third_party:1727232403644x275777341457956860:1.0.5'] = true; 276window.plugins["1728255013374x392053029636145150"] = {"human":"Str
276ipe Identity","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_api":{"human":"Stripe Identity by Brandarrow","auth":"private_key_header","calls":{"AAH":{"name":"Create Verification Session","method":"post","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/identity/verification_sessions","params":{"AAP":{"key":"client_reference_id","value":"userID","private":true,"optional":true,"querystring":true,"doc":"A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-client_reference_id)"},"AAQ":{"value":"document","private":true,"key":"type","doc":"\"document\" for verifying via the authenticity of government-issued identity documents. \"id_number\" for verifying via ID Number checks and providing a way to verify a userâs name, date of birth, and national ID number.\n\n(https://docs.stripe.com/identity/verification-checks?type=id-number)","querystring":true},"AAS":{"key":"related_customer","value":"cus_QjvzCsBooRBk8s","private":true,"querystring":true,"doc":"Token referencing a Customer resource\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-related_customer)","optional":true},"AAT":{"key":"provided_details[email]","value":"[email protected]","private":true,"doc":"Email of user being verified\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-provided_details-email)","querystring":true,"optional":true},"AAU":{"key":"provided_details[phone]","value":"","private":true,"doc":"Phone number of user being verified\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-provided_details-phone)","querystring":true,"optional":true},"AAW":{"key":"return_url","value":"https://brandarrowagency.com","private":true,"optional":false,"querystring":true,"doc":"The URL that the user will be redirected to upon completing the verification flow.\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-return_url)"},"AAX":{"key":"options[document][allowed_types]","private":true,"doc":"Array of strings of allowed identity document types. If the provided identity document isnât one of the allowed types, the verification check will fail with a document_type_not_allowed error code.\n\nOptions: \"driving_license\", \"id_card\", \"passport\"\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-options-document-allowed_types)","optional":true,"querystring":true},"AAY":{"key":"options[document][require_id_number]","value":"","private":true,"querystring":true,"optional":true,"doc":"True/False: Collect an ID number and perform an ID number check with the documentâs extracted name and date of birth.\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-options-document-require_id_number)"},"AAZ":{"key":"options[document][require_live_capture","value":"","private":true,"optional":true,"querystring":true,"doc":"True/False: Disable image uploads, identity document images have to be captured using the deviceâs camera.\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-options-document-require_live_capture)"},"AAa":{"key":"options[document][require_matching_selfie]","value":"","private":true,"optional":true,"querystring":true,"doc":"True/False: Capture a face image and perform a selfie check comparing a photo ID and a picture of your userâs face.\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-options-document-require_matching_selfie)"}},"body":"","initialized":true,"types":"{\"plugin_api.AAH\":{\"caption\":\"Create Verification Session\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_reference_id\":{\"ret_btype\":\"text\",\"caption\":\"client_reference_id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_last_error\":{\"ret_btype\":\"text\",\"caption\":\"last_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_verification_report\":{\"ret_btype\":\"text\",\"caption\":\"last_verification_report\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_redaction\":{\"ret_btype\":\"text\",\"caption\":\"redaction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_related_customer\":{\"ret_btype\":\"text\",\"caption\":\"related_customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_url\":{\"ret_btype\":\"text\",\"caption\":\"url\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1728255013374x392053029636145150.plugin_api.AAH","wrap_error":false,"get_headers":false},"AAL":{"0":"A","1":"A","2":"K","name":"Cancel Verification Session","method":"post","publish_as":"action","should_reinitialize":true,"url":"https://api.stripe.com/v1/identity/verification_sessions/[verificationSessionID]/cancel","url_params":{"AAM":{"key":"verificationSessionID","value":"vs_1Q779n2eZvKYlo2C3a6OZ0Hh","private":true,"doc":"https://docs.stripe.com/api/identity/verification_sessions/cancel"}},"initialized":true,"types":"{\"plugin_api.AAL\":{\"caption\":\"Cancel Verification Session\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_reference_id\":{\"ret_btype\":\"text\",\"caption\":\"client_reference_id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_last_error\":{\"ret_btype\":\"text\",\"caption\":\"last_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_verification_report\":{\"ret_btype\":\"text\",\"caption\":\"last_verification_report\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_redaction\":{\"ret_btype\":\"text\",\"caption\":\"redaction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_related_customer\":{\"ret_btype\":\"text\",\"caption\":\"related_customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_url\":{\"ret_btype\":\"text\",\"caption\":\"url\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1728255013374x392053029636145150.plugin_api.AAL"},"AAO":{"0":"A","1":"A","2":"N","name":"Redact Verification Session","method":"post","publish_as":"action","should_reinitialize":true,"url":"https://api.stripe.com/v1/identity/verification_sessions/[verificationSessionID]/redact","url_params":{"AAM":{"key":"verificationSessionID","value":"vs_1Q778g2eZvKYlo2CSGMU8XNw","private":true}},"initialized":true,"types":"{\"plugin_api.AAO\":{\"caption\":\"Redact Verification Session\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_reference_id\":{\"ret_btype\":\"text\",\"caption\":\"client_reference_id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_last_error\":{\"ret_btype\":\"text\",\"caption\":\"last_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_verification_report\":{\"ret_btype\":\"text\",\"caption\":\"last_verification_report\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_redaction.status\":{\"ret_btype\":\"text\",\"caption\":\"redaction status\",\"sample_value\":\"\",\"path\":[\"redaction\",\"status\"],\"ret_value\":\"text\"},\"_p_related_customer\":{\"ret_btype\":\"text\",\"caption\":\"related_customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_url\":{\"ret_btype\":\"text\",\"caption\":\"url\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1728255013374x392053029636145150.plugin_api.AAO"},"AAd":{"0":"A","1":"A","2":"c","name":"Retrive Verification Session (Action)","method":"get","publish_as":"action","should_reinitialize":true,"url":"https://api.stripe.com/v1/identity/verification_sessions/[verificationSessionID]","url_params":{"AAM":{"key":"verificationSessionID","value":"vs_1Q778g2eZvKYlo2CSGMU8XNw","private":true}},"initialized":true,"types":"{\"plugin_api.AAd\":{\"caption\":\"Retrive Verification Session (Action)\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_reference_id\":{\"ret_btype\":\"text\",\"caption\":\"client_reference_id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_last_error\":{\"ret_btype\":\"text\",\"caption\":\"last_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_verification_report\":{\"ret_btype\":\"text\",\"caption\":\"last_verification_report\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_redaction\":{\"ret_btype\":\"text\",\"caption\":\"redaction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_related_customer\":{\"ret_btype\":\"text\",\"caption\":\"related_customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_url\":{\"ret_btype\":\"text\",\"caption\":\"url\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1728255013374x392053029636145150.plugin_api.AAd"},"AAf":{"0":"A","1":"A","2":"e","name":"Retrive Verification Session (Data)","method":"get","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/identity/verification_sessions/[verificationSessionID]","url_params":{"AAM":{"key":"verificationSessionID","value":"vs_1Q778g2eZvKYlo2CSGMU8XNw","private":true}},"initialized":true,"types":"{\"plugin_api.AAf\":{\"caption\":\"Retrive Verification Session (Data)\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_reference_id\":{\"ret_btype\":\"text\",\"caption\":\"client_reference_id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_last_error\":{\"ret_btype\":\"text\",\"caption\":\"last_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_verification_report\":{\"ret_btype\":\"text\",\"caption\":\"last_verification_report\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_redaction\":{\"ret_btype\":\"text\",\"caption\":\"redaction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_related_customer\":{\"ret_btype\":\"text\",\"caption\":\"related_customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_url\":{\"ret_btype\":\"text\",\"caption\":\"url\",\"sample_value\":\"\",\"ret_value\":\"text\"}}}}","ret_value":"api.1728255013374x392053029636145150.plugin_api.AAf"},"AAh":{"0":"A","1":"A","2":"g","name":"List Verification Sessions","method":"get","publish_as":"data","should_reinitialize":true,"url":"https://api.stripe.com/v1/identity/verification_sessions","params":{"AAP":{"key":"client_reference_id","value":"userID","private":true,"optional":true,"querystring":true,"doc":"A str
276ing to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.\n\n(https://docs.stripe.com/api/identity/verification_sessions/create#create_identity_verification_session-client_reference_id)"},"AAQ":{"private":true,"key":"status","doc":"Only return VerificationSessions with this status.\n\nOptions: \"canceled\", \"processing\", \"requires_input\", \"verified\"\n\n(https://docs.stripe.com/api/identity/verification_sessions/list#list_identity_verification_session-status)","querystring":true,"optional":true},"AAi":{"key":"limit","private":true,"optional":true,"querystring":true,"doc":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.\n\n(https://docs.stripe.com/api/identity/verification_sessions/list#list_identity_verification_session-limit)"}},"body":"","initialized":true,"types":"{\"plugin_api.AAh\":{\"caption\":\"List Verification Session\",\"fields\":{\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_data\":{\"ret_btype\":\"list.api.1728255013374x392053029636145150.plugin_api.AAh.data\",\"caption\":\"data\",\"ret_value\":\"list.api.1728255013374x392053029636145150.plugin_api.AAh.data\"},\"_p_has_more\":{\"ret_btype\":\"boolean\",\"caption\":\"has_more\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_url\":{\"ret_btype\":\"text\",\"caption\":\"url\",\"sample_value\":\"\",\"ret_value\":\"text\"}}},\"plugin_api.AAh.data\":{\"caption\":\"List Verification Sessions data\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_object\":{\"ret_btype\":\"text\",\"caption\":\"object\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_reference_id\":{\"ret_btype\":\"text\",\"caption\":\"client_reference_id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_client_secret\":{\"ret_btype\":\"text\",\"caption\":\"client_secret\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_created\":{\"ret_btype\":\"date_unix\",\"caption\":\"created\",\"sample_value\":\"\",\"ret_value\":\"date_unix\"},\"_p_last_error\":{\"ret_btype\":\"text\",\"caption\":\"last_error\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_last_verification_report\":{\"ret_btype\":\"text\",\"caption\":\"last_verification_report\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_livemode\":{\"ret_btype\":\"boolean\",\"caption\":\"livemode\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_redaction\":{\"ret_btype\":\"text\",\"caption\":\"redaction\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_related_customer\":{\"ret_btype\":\"text\",\"caption\":\"related_customer\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_status\":{\"ret_btype\":\"text\",\"caption\":\"status\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_url\":{\"ret_btype\":\"text\",\"caption\":\"url\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_redaction.status\":{\"ret_btype\":\"text\",\"caption\":\"redaction status\",\"sample_value\":\"\",\"path\":[\"redaction\",\"status\"],\"ret_value\":\"text\"}}}}","ret_value":"api.1728255013374x392053029636145150.plugin_api.AAh"}}},"plugin_elements":{"AAC":{"display":"Stripe Identity","property_applications":{"resizable":true},"add_is_visible":true,"states":{"AAm":{"caption":"Error","name":"vs_last_error","value":"text","initialization_code":{"fn":"function(n,t){const _0x474242=['MTcyODI1NTAxMzM3NHgzOTIwNTMwMjk2MzYxNDUxNTA='];{}}"}}},"events":{"AAk":{"caption":"a verification session is completed","name":"vs_complete"},"AAl":{"caption":"a verification session runs into error","name":"vs_error"}},"actions":{"AAD":{"caption":"Initialize & Show Identity Verification Popup","code":{"fn":"function(r,e,t){const _0x474242=['MTcyODI1NTAxMzM3NHgzOTIwNTMwMjk2MzYxNDUxNTA='];function _0xeae2(_0x3dfbd5,_0x107ea3){const _0x2c760a=_0x2c76();return _0xeae2=function(_0xeae283,_0x373941){_0xeae283=_0xeae283-0x1c2;let _0x3a4231=_0x2c760a[_0xeae283];if(_0xeae2['LhZqjJ']===undefined){var _0x52250a=function(_0x2979f9){const _0x2d7c45='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
276+/=';let _0x3d9d5b='',_0x59661f='';for(let _0x2501a0=0x0,_0x597ebd,_0x4ddcc7,_0x3da676=0x0;_0x4ddcc7=_0x2979f9['charAt'](_0x3da676++);~_0x4ddcc7&&(_0x597ebd=_0x2501a0%0x4?_0x597ebd*0x40+_0x4ddcc7:_0x4ddcc7,_0x2501a0++%0x4)?_0x3d9d5b+=String['fromCharCode'](0xff&_0x597ebd>>(-0x2*_0x2501a0&0x6)):0x0){_0x4ddcc7=_0x2d7c45['indexOf'](_0x4ddcc7);}for(let _0x1c1c01=0x0,_0x44335d=_0x3d9d5b['length'];_0x1c1c01<_0x44335d;_0x1c1c01++){_0x59661f+='%'+('00'+_0x3d9d5b['charCodeAt'](_0x1c1c01)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x59661f);};_0xeae2['UEbhcn']=_0x52250a,_0x3dfbd5=arguments,_0xeae2['LhZqjJ']=!![];}const _0x55889f=_0x2c760a[0x0],_0x435327=_0xeae283+_0x55889f,_0x3ae480=_0x3dfbd5[_0x435327];return!_0x3ae480?(_0x3a4231=_0xeae2['UEbhcn'](_0x3a4231),_0x3dfbd5[_0x435327]=_0x3a4231):_0x3a4231=_0x3ae480,_0x3a4231;},_0xeae2(_0x3dfbd5,_0x107ea3);}const _0x2874e9=_0xeae2;(function(_0x31105e,_0x23354e){const _0x31d5bb={_0x175fe5:0x1d4,_0x366693:0x1da,_0x277dd9:0x1cf},_0x150aec=_0xeae2,_0x41bd22=_0x31105e();while(!![]){try{const _0x4d6b43=-parseInt(_0x150aec(0x1ca))/0x1+-parseInt(_0x150aec(_0x31d5bb._0x175fe5))/0x2+-parseInt(_0x150aec(_0x31d5bb._0x366693))/0x3*(-parseInt(_0x150aec(0x1cb))/0x4)+parseInt(_0x150aec(0x1c8))/0x5*(parseInt(_0x150aec(0x1d1))/0x6)+parseInt(_0x150aec(0x1d7))/0x7+-parseInt(_0x150aec(0x1d0))/0x8+parseInt(_0x150aec(_0x31d5bb._0x277dd9))/0x9;if(_0x4d6b43===_0x23354e)break;else _0x41bd22['push'](_0x41bd22['shift']());}catch(_0x13ef6f){_0x41bd22['push'](_0x41bd22['shift']());}}}(_0x2c76,0x6428b));function _0x2c76(){const _0x5e6cfb=['nZuYmdq1u2PytwTV','CMv0DxjUvvjm','DNnFBgfZDf9LCNjVCG','m3fzwxnpAW','y2XPzw50u2vJCMv0','Bg9N','ChvIBgLZAfn0yxrL','ChvIBgLZAgfIBgvlzxK','AhjLzG','Aw5JBhvKzxm','DNnFzxjYB3i','zxjYB3i','u3rYAxbLieLKzw50Axr5ihzLCMLMAwnHDgLVBIbWB3b1CcbKAxnWBgf5zwqGC3vJy2vZC2z1BgX5lG','Bg9JyxrPB24','mZa1z2z0vMjj','DNnFy29TCgXLDgu','nty0nJC5BLPzAxng','mteWndi4ngviqwDcza','DgHLBG','sw5PDgLHBgL6yxrPB24GzxjYB3i6','sw52ywXPzcbJBgLLBNrtzwnYzxqGzM9YBwf0lG','mtaZmtG5odznB25SCvC','mtK5mJiWmfbgB01Qsq','mJe4mtbkA1fdu2O','DhjPz2DLCKv2zw50','BwvZC2fNzq','mta1nty4mgnIsvzpvG','zgf0yq','y29Kzq'];_0x2c76=function(){return _0x5e6cfb;};return _0x2c76();}{const o=e[_0x2874e9(0x1de)],n=e[_0x2874e9(0x1db)],i=e[_0x2874e9(0x1d8)],s=Stripe(o);if(r[_0x2874e9(0x1d5)][_0x2874e9(0x1db)]=n,r[_0x2874e9(0x1d5)]['stripe']=s,!n||!n[_0x2874e9(0x1c3)]('_secret_'))return r['triggerEvent'](_0x2874e9(0x1c4)),void r[_0x2874e9(0x1dd)]('vs_last_error',_0x2874e9(0x1ce));s['verifyIdentity'](n,{'return_url':i||window[_0x2874e9(0x1c7)][_0x2874e9(0x1c2)]})[_0x2874e9(0x1cc)](function(_0x46314b){const _0x35a874={_0x39f7a3:0x1c5,_0x407cd0:0x1d3,_0x1d419f:0x1c4,_0x5c2132:0x1c6},_0x154008=_0x2874e9;if(_0x46314b[_0x154008(_0x35a874._0x39f7a3)]){const _0x483baa=_0x46314b[_0x154008(0x1c5)][_0x154008(_0x35a874._0x407cd0)]||_0x46314b['error'][_0x154008(0x1d6)]||'Unknown\\x20error\\x20occurred';console[_0x154008(0x1c5)]('Error\\x20showing\\x20identity\\x20verification\\x20popup:',_0x483baa),r[_0x154008(0x1d2)](_0x154008(_0x35a874._0x1d419f)),r['publishState']('vs_last_error',_0x483baa);}else console[_0x154008(0x1dc)](_0x154008(_0x35a874._0x5c2132)),r['triggerEvent'](_0x154008(0x1c9));})['catch'](function(_0xb05dfc){const _0x3cf96f={_0x25a4ad:0x1d6,_0x209890:0x1c5,_0x58860c:0x1cd},_0x2a4bc6=_0x2874e9,_0xaf2024=_0xb05dfc['message']||_0xb05dfc[_0x2a4bc6(_0x3cf96f._0x25a4ad)]||'Unknown\\x20error\\x20occurred';console[_0x2a4bc6(_0x3cf96f._0x209890)](_0x2a4bc6(_0x3cf96f._0x58860c),_0xaf2024),r[_0x2a4bc6(0x1d2)]('vs_error'),r[_0x2a4bc6(0x1dd)](_0x2a4bc6(0x1d9),_0xaf2024);});}}"},"fields":{"AAE":{"caption":"Publishable Key","name":"publishableKey","rank":0,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Client Secret","name":"clientSecret","rank":1,"editor":"DynamicValue","value":"text"},"AAG":{"caption":"Return URL","name":"returnURL","rank":2,"editor":"DynamicValue","value":"text"}}},"AAn":{"caption":"Reset Identity Verification Modal","code":{"fn":"function(e,t,a){const _0x474242=['MTcyODI1NTAxMzM3NHgzOTIwNTMwMjk2MzYxNDUxNTA='];var _0x283040=_0x3fb5;(function(_0x56e0ff,_0x531dbe){var _0x3ca1e1={_0x5f1d22:0x9d,_0x537b35:0xa2,_0x4e5ab1:0xa0},_0x24c6ca=_0x3fb5,_0x2fa3ac=_0x56e0ff();while(!![]){try{var _0x3b05a9=parseInt(_0x24c6ca(_0x3ca1e1._0x5f1d22))/0x1*(parseInt(_0x24c6ca(0xa1))/0x2)+-parseInt(_0x24c6ca(0x98))/0x3+parseInt(_0x24c6ca(0x9a))/0x4+parseInt(_0x24c6ca(0x99))/0x5+parseInt(_0x24c6ca(_0x3ca1e1._0x537b35))/0x6+-parseInt(_0x24c6ca(_0x3ca1e1._0x4e5ab1))/0x7*(parseInt(_0x24c6ca(0x97))/0x8)+-parseInt(_0x24c6ca(0x9e))/0x9;if(_0x3b05a9===_0x531dbe)break;
276else _0x2fa3ac['push'](_0x2fa3ac['shift']());}catch(_0x228861){_0x2fa3ac['push'](_0x2fa3ac['shift']());}}}(_0xca29,0x6781d));{e[_0x283040(0x9c)]['clientSecret']=null,e['data']['stripe']=null,e[_0x283040(0x9b)](_0x283040(0x9f),''),console['log']('Stripe\\x20Identity\\x20modal\\x20reset:\\x20All\\x20stored\\x20data\\x20and\\x20state\\x20have\\x20been\\x20cleared.');}function _0x3fb5(_0xc972a9,_0x1d76f3){var _0xca2967=_0xca29();return _0x3fb5=function(_0x3fb567,_0x22f9ab){_0x3fb567=_0x3fb567-0x97;var _0x20107a=_0xca2967[_0x3fb567];if(_0x3fb5['HXXpzj']===undefined){var _0x4625cc=function(_0x584506){var _0x2c829b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x157e0b='',_0x18501d='';for(var _0x290941=0x0,_0x3f051d,_0x44d683,_0x242061=0x0;_0x44d683=_0x584506['charAt'](_0x242061++);~_0x44d683&&(_0x3f051d=_0x290941%0x4?_0x3f051d*0x40+_0x44d683:_0x44d683,_0x290941++%0x4)?_0x157e0b+=String['fromCharCode'](0xff&_0x3f051d>>(-0x2*_0x290941&0x6)):0x0){_0x44d683=_0x2c829b['indexOf'](_0x44d683);}for(var _0x2255b0=0x0,_0x3309d1=_0x157e0b['length'];_0x2255b0<_0x3309d1;_0x2255b0++){_0x18501d+='%'+('00'+_0x157e0b['charCodeAt'](_0x2255b0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x18501d);};_0x3fb5['ClWMPA']=_0x4625cc,_0xc972a9=arguments,_0x3fb5['HXXpzj']=!![];}var _0x1a2433=_0xca2967[0x0],_0x118acd=_0x3fb567+_0x1a2433,_0x3bea43=_0xc972a9[_0x118acd];return!_0x3bea43?(_0x20107a=_0x3fb5['ClWMPA'](_0x20107a),_0xc972a9[_0x118acd]=_0x20107a):_0x20107a=_0x3bea43,_0x20107a;},_0x3fb5(_0xc972a9,_0x1d76f3);}function _0xca29(){var _0x2b7e68=['mte5mtvkBLzsq2q','nZq3ndu0nwngCfnlCq','DNnFBgfZDf9LCNjVCG','mtrAs2LWu3i','mtbPqLjHDvy','mZCYodGXneznAhP3wa','mtGWmZKYBevTvNzt','mJaWndq4vNDRzhfJ','mta5mZqZnuLQDLbKAG','mtG2nJyXmMTlswflza','ChvIBgLZAfn0yxrL','zgf0yq'];_0xca29=function(){return _0x2b7e68;};return _0xca29();}}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Background Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1728334790820x685930664859738800/Brandarrow%20-%20Bubble.io%20Plugin%20-%20Stripe%20Identity%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"initialize":{"fn":"function(n,t){const _0x474242=['MTcyODI1NTAxMzM3NHgzOTIwNTMwMjk2MzYxNDUxNTA='];{}}"},"update":{"fn":"function(n,t,u){const _0x474242=['MTcyODI1NTAxMzM3NHgzOTIwNTMwMjk2MzYxNDUxNTA='];{}}"},"reset":{"fn":"function(n,t){const _0x474242=['MTcyODI1NTAxMzM3NHgzOTIwNTMwMjk2MzYxNDUxNTA='];{}}"}},"platform_type":"web"}}}; 277window._bubble_page_load_data.plugins_size['1728255013374x392053029636145150'] = 25768; 278window.preloaded['plugin/third_party:1728255013374x392053029636145150:1.0.0'] = true; 279window.plugins["1729639572703x364408376413913100"] = {"human":"Ultimate Toast & Notifications","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAr":{"display":"Ultimate Toast","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":false,"can_fit_height":false,"states":{"AAp":{"caption":"Primary Button is clicked?","name":"primary_button_clicked_state","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AAq":{"caption":"Secondary Button is clicked?","name":"secondary_button_clicked_state","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"AAm":{"caption":"Primary Button is clicked","name":"primary_button_clicked"},"AAn":{"caption":"Secondary Button is clicked","name":"secondary_button_clicked"},"AAo":{"caption":"Toast is clicked","name":"toast_clicked"}},"actions":{"AAD":{"caption":"Toast","code":{"fn":"function(instance,properties,context){let toastContainer=document.getElementById(\"bubble-toast-container\");if(toastContainer||(toastContainer=document.createElement(\"div\"),toastContainer.id=\"bubble-toast-container\",toastContainer.style.position=\"fixed\",toastContainer.style.zIndex=\"9999\",document.body.appendChild(toastContainer)),properties.toast_responsive){toastContainer.style.position=\"fixed\",toastContainer.style.top=\"8px\",toastContainer.style.bottom=\"\",toastContainer.style.left=\"8px\",toastContainer.style.right=\"8px\",toastContainer.style.width=\"\",toastContainer.style.paddingRight=\"32px\",toastContainer.style.transform=\"\";const style=document.createElement(\"style\");style.innerHTML=\"\\n #bubble-toast-container .toast {\\n width: 100% !important;\\n margin: 0 !important;\\n right: 0 !important;\\n }\\n \",document.head.appendChild(style),properties.toast_position.includes(\"top\")?toastContainer.style.top=\"8px\":properties.toast_position.includes(\"bottom\")?(toastContainer.style.bottom=\"8px\",toastContainer.style.top=\"\"):\"center\"===properties.toast_position&&(toastContainer.style.top=\"50%\",toastContainer.style.transform=\"translateY(-50%)\")}else switch(properties.toast_position){case\"top-right\":default:toastContainer.style.top=\"12px\",toastContainer.style.right=\"12px\",toastContainer.style.left=\"\",toastContainer.style.bottom=\"\";break;case\"top-left\":toastContainer.style.top=\"12px\",toastContainer.style.left=\"12px\",toastContainer.style.right=\"\",toastContainer.style.bottom=\"\";break;case\"top-center\":toastContainer.style.top=\"12px\",toastContainer.style.left=\"50%\",toastContainer.style.transform=\"translateX(-50%)\",toastContainer.style.right=\"\",toastContainer.style.bottom=\"\";break;case\"bottom-right\":toastContainer.style.bottom=\"12px\",toastContainer.style.right=\"12px\",toastContainer.style.left=\"\",toastContainer.style.top=\"\";break;case\"bottom-left\":toastContainer.style.bottom=\"12px\",toastContainer.style.left=\"12px\",toastContainer.style.right=\"\",toastContainer.style.top=\"\";break;case\"bottom-center\":toastContainer.style.bottom=\"12px\",toastContainer.style.left=\"50%\",toastContainer.style.transform=\"translateX(-50%)\",toastContainer.style.right=\"\",toastContainer.style.top=\"\";break;case\"center\":toastContainer.style.top=\"50%\",toastContainer.style.left=\"50%\",toastContainer.style.transform=\"translate(-50%, -50%)\",toastContainer.style.right=\"\",toastContainer.style.bottom=\"\"}const toast=document.createElement(\"div\");toast.classList.add(\"toast\",properties.toast_style),toast.style.marginBottom=properties.toast_responsive?\"0\":\"10px\",toast.style.color=properties.toast_text_color,toast.style.backgroundColor=properties.toast_background_color,toast.style.fontSize=properties.toast_font_size+\"px\",toast.style.fontFamily=properties.toast_font,toast.style.padding=properties.toast_padding,toast.style.boxShadow=properties.toast_shadow,toast.style.opacity=\"0\",toast.style.transform=\"scale(0.95)\",toast.style.transition=\"all 0.3s ease-in-out\",!properties.toast_responsive&&properties.toast_border_width&&(toast.style.border=`${properties.toast_border_width} ${properties.toast_border_color||\"#000\"}`);const content=document.createElement(\"div\");content.classList.add(\"toast-content\"),content.style.display=\"flex\",content.style.flexDirection=\"column\",content.style.alignItems=\"center-icon\"===properties.toast_style?\"center\":\"flex-start\",content.style.gap=properties.toast_gap;const header=document.createElement(\"div\");if(header.classList.add(\"toast-header\"),header.style.display=\"flex\",header.style.alignItems=\"center\",header.style.gap=\"4px\",properties.toast_icon){const icon=document.createElement(\"span\");if(icon.classList.add(\"iconify\",\"toast-icon\"),icon.setAttribute(\"data-icon\",properties.toast_icon),icon.setAttribute(\"data-inline\",\"false\"),icon.style.fontSize=properties.toast_icon_size+\"px\",properties.toast_loader){icon.style.animation=\"spin 1s linear infinite\";const style=document.createElement(\"style\");style.innerHTML=\"\\n @keyframes spin {\\n from { transform: rotate(0deg); }\\n to { transform: rotate(360deg); }\\n }\\n \",document.head.appendChild(style)}header.appendChild(icon)}if(properties.toast_heading){const heading=document.createElement(\"div\");heading.classList.add(\"toast-heading\"),heading.innerText=properties.toast_heading,heading.style.fontSize=properties.toast_font_size+\"px\",heading.style.fontWeight=\"600\",heading.style.color=properties.toast_text_color,header.appendChild(heading)}if(header.hasChildNodes()&&content.appendChild(header),properties.toast_message){const message=document.createElement(\"div\");message.classList.add(\"toast-message\"),message.innerText=properties.toast_message,message.style.color=properties.toast_text_color,message.style.fontSize=properties.toast_font_size+\"px\",message.style.textAlign=\"center-icon\"===properties.toast_style?\"center\":\"left\",content.appendChild(message)}const buttons=document.createElement(\"div\");if(buttons.classList.add(\"toast-buttons\"),buttons.style.display=\"flex\",buttons.style.gap=\"8px\",buttons.style.justifyContent=\"center-icon\"===properties.toast_style?\"center\":\"flex-start\",buttons.style.marginTop=\"12px\",properties.toast_activate_primary_button&&properties.toast_primary_button_text){const primaryButton=document.createElement(\"button\");primaryButton.classList.add(\"toast-button\",\"toast-button-primary\"),primaryButton.innerText=properties.toast_primary_button_text,primaryButton.style.fontSize=properties.toast_primary_button_font_size+\"px\",primaryButton.style.backgroundColor=properties.toast_primary_button_background_color,primaryButton.style.color=properties.toast_primary_button_text_color,primaryButton.style.border=`1px solid ${properties.toast_primary_button_border_color}`,primaryButton.style.borderRadius=properties.toast_primary_button_border_radius+\"px\",primaryButton.style.padding=\"6px 12px\",primaryButton.style.cursor=\"pointer\",primaryButton.onmouseover=function(){primaryButton.style.backgroundColor=properties.toast_primary_button_hover_background_color,primaryButton.style.color=properties.toast_primary_button_hover_text_color},primaryButton.onmouseout=function(){primaryButton.style.backgroundColor=properties.toast_primary_button_background_color,primaryButton.style.color=properties.toast_primary_button_text_color},primaryButton.onclick=function(){instance.publishState(\"primary_button_clicked_state\",!0),instance.triggerEvent(\"primary_button_clicked\")},buttons.appendChild(primaryButton)}if(properties.toast_activate_secondary_button&&properties.toast_secondary_button_text){const secondaryButton=document.createElement(\"button\");secondaryButton.classList.add(\"toast-button\",\"toast-button-secondary\"),secondaryButton.innerText=properties.toast_secondary_button_text,secondaryButton.style.fontSize=properties.toast_secondary_button_font_size+\"px\",secondaryButton.style.backgroundColor=properties.toast_secondary_button_background_color,secondaryButton.style.color=properties.toast_secondary_button_text_color,secondaryButton.style.border=`1px solid ${properties.toast_secondary_button_border_color}`,secondaryButton.style.borderRadius=properties.toast_secondary_button_border_radius+\"px\",secondaryButton.style.padding=\"6px 12px\",secondaryButton.style.cursor=\"pointer\",secondaryButton.onmouseover=function(){secondaryButton.style.backgroundColor=properties.toast_secondary_button_hover_background_color,secondaryButton.style.color=properties.toast_secondary_button_hover_text_color},secondaryButton.onmouseout=function(){secondaryButton.style.backgroundColor=properties.toast_secondary_button_background_color,secondaryButton.style.color=properties.toast_secondary_button_text_color},secondaryButton.onclick=function(){instance.publishState(\"secondary_button_clicked_state\",!0),instance.triggerEvent(\"secondary_button_clicked\")},buttons.appendChild(secondaryButton)}if(buttons.hasChildNodes()&&content.appendChild(buttons),toast.appendChild(content),toastContainer.appendChild(toast),setTimeout((()=>{toast.style.opacity=\"1\",toast.style.transform=\"scale(1)\"}),100),!properties.toast_loader){const duration=properties.toast_duration||5e3;setTimeout((()=>{toast.style.opacity=\"0\",toast.style.transform=\"scale(0.95)\",setTimeout((()=>toast.remove()),300)}),duration)}window.currentToast=toast}"},"fields":{"AAE":{"caption":"Content","name":"toast_message","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AAF":{"caption":"Duration (ms)","name":"toast_duration","rank":6,"editor":"DynamicValue","value":"number","default_val":5000},"AAG":{"caption":"Style","name":"toast_style","rank":4,"editor":"Dropdown","default_val":"left-icon"},"AAH":{"caption":"Position","name":"toast_position","rank":5,"editor":"Dropdown","default_val":"top-right"},"AAI":{"caption":"Iconify Icon","name":"toast_icon","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AAJ":{"caption":"Primary Button: Text","name":"toast_primary_button_text","rank":22,"editor":"DynamicValue","value":"text","optional":true},"AAK":{"caption":"Secondary Button: Text","name":"toast_secondary_button_text","rank":31,"editor":"DynamicValue","value":"text","optional":true},"AAL":{"caption":"Configuration","name":"toast_config","rank":0,"editor":"Label"},"AAM":{"caption":"Styling","name":"toast_styling","rank":8,"editor":"Label"},"AAN":{"caption":"Font Size","name":"toast_font_size","rank":11,"editor":"DynamicValue","value":"number","default_val":16}
279,"AAO":{"caption":"Font Color","name":"toast_text_color","rank":12,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAP":{"caption":"Background Color","name":"toast_background_color","rank":9,"editor":"Color","default_val":"rgba(28,28,28,1)"},"AAQ":{"caption":"Icon Size","name":"toast_icon_size","rank":13,"editor":"DynamicValue","value":"number","default_val":18},"AAR":{"caption":"Activate Primary Button?","name":"toast_activate_primary_button","rank":21,"editor":"Checkbox","default_val":false},"AAS":{"caption":"Activate Secondary Button?","name":"toast_activate_secondary_button","rank":30,"editor":"Checkbox","default_val":false},"AAT":{"caption":"Buttons","name":"toast_buttons","rank":20,"editor":"Label"},"AAU":{"name":"toast_primary_button_font_size","rank":23,"editor":"DynamicValue","value":"number","default_val":16,"caption":"Primary Button: Font Size"},"AAV":{"caption":"Primary Button: Background Color","name":"toast_primary_button_background_color","rank":24,"editor":"Color","default_val":"rgba(0,128,255,1)"},"AAW":{"caption":"Primary Button: Font Color","name":"toast_primary_button_text_color","rank":25,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAX":{"caption":"Primary Button: Hover Background Color","name":"toast_primary_button_hover_background_color","rank":26,"editor":"Color","default_val":"rgba(13,13,179,1)"},"AAY":{"caption":"Primary Button: Hover Text Color","name":"toast_primary_button_hover_text_color","rank":27,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAZ":{"caption":"Primary Button: Border Color","name":"toast_primary_button_border_color","rank":28,"editor":"Color","default_val":"rgba(0,82,205,1)"},"AAa":{"caption":"Primary Button: Border Radius","name":"toast_primary_button_border_radius","rank":29,"editor":"DynamicValue","value":"number","default_val":8},"AAb":{"caption":"Secondary Button: Font Size","name":"toast_secondary_button_font_size","rank":32,"editor":"DynamicValue","value":"number","default_val":16},"AAc":{"caption":"Secondary Button: Background Color","name":"toast_secondary_button_background_color","rank":33,"editor":"Color","default_val":"rgba(111,0,255,1)"},"AAd":{"caption":"Secondary Button: Font Color","name":"toast_secondary_button_text_color","rank":34,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAe":{"caption":"Secondary Button: Hover Background Color","name":"toast_secondary_button_hover_background_color","rank":35,"editor":"Color","default_val":"rgba(71,0,214,1)"},"AAf":{"caption":"Secondary Button: Hover Font Color","name":"toast_secondary_button_hover_text_color","rank":36,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAg":{"caption":"Secondary Button: Border Color","name":"toast_secondary_button_border_color","rank":37,"editor":"Color","default_val":"rgba(144,32,244,1)"},"AAh":{"caption":"Secondary Button: Border Radius","name":"toast_secondary_button_border_radius","rank":38,"editor":"DynamicValue","value":"number","default_val":8},"AAi":{"caption":"Row/Column Gap","name":"toast_gap","rank":14,"editor":"DynamicValue","value":"number","default_val":12},"AAj":{"caption":"Padding","name":"toast_padding","rank":15,"editor":"DynamicValue","value":"number","default_val":12},"AAk":{"caption":"Heading","name":"toast_heading","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AAl":{"caption":"Font Family","name":"toast_font","rank":10,"editor":"DynamicValue","value":"text","default_val":"inherit"},"ACc":{"caption":"Loader Mode?","name":"toast_loader","rank":7,"editor":"DynamicValue","value":"boolean","default_val":false},"ACe":{"caption":"Border Width & Type","name":"toast_border_width","rank":16,"editor":"DynamicValue","value":"text","default_val":"1px solid","optional":true},"ACf":{"caption":"Border Color","name":"toast_border_color","rank":17,"editor":"Color","default_val":"rgba(203,203,203,1)","optional":true},"ACg":{"caption":"Responsive?","name":"toast_responsive","rank":18,"editor":"DynamicValue","value":"boolean","default_val":false,"optional":false},"ACh":{"caption":"Shadow CSS","name":"toast_shadow","rank":19,"editor":"DynamicValue","value":"text","optional":true}}},"ACd":{"caption":"End a Loader Toast","code":{"fn":"function(instance,properties,context){if(window.currentToast){const toast=window.currentToast;toast.classList.remove(\"show\"),toast.classList.add(\"hide\"),setTimeout((()=>{toast.remove(),window.currentToast=null}),500)}}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Backgroun
279d Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1729640488535x939720197221921500/Brandarrow%20-%20Bubble.io%20Plugin%20-%20Ultimate%20Toast%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ABn":{"display":"Ultimate Toast - Inline","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":false,"can_fit_height":false,"states":{"ABl":{"caption":"Primary Button is clicked?","name":"primary_button_clicked_state","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"ABm":{"caption":"Secondary Button is clicked?","name":"secondary_button_clicked_state","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ABi":{"caption":"Primary Button is clicked","name":"primary_button_clicked"},"ABj":{"caption":"Secondary Button is clicked","name":"secondary_button_clicked"},"ABk":{"caption":"Toast is clicked","name":"toast_clicked"}},"actions":{"AAz":{"caption":"Inline Toast","code":{"fn":"function(instance,properties,context){let toastContainer;if(properties.toast_html_target){const targetElement=document.getElementById(properties.toast_html_target);if(!targetElement)return void console.error(\"Target element not found:\",properties.toast_html_target);let containerId=\"bubble-toast-container-\"+properties.toast_html_target;toastContainer=document.getElementById(containerId),toastContainer||(toastContainer=document.createElement(\"div\"),toastContainer.id=containerId,toastContainer.style.position=\"relative\",toastContainer.style.zIndex=\"9999\",toastContainer.style.width=getComputedStyle(targetElement).width,toastContainer.style.margin=\"0\",toastContainer.style.padding=\"0\",toastContainer.style.boxSizing=\"border-box\",toastContainer.style.left=\"0\",toastContainer.style.right=\"0\",toastContainer.style.float=\"none\",toastContainer.style.clear=\"both\",\"Above\"===properties.toast_html_target_position?targetElement.parentNode.insertBefore(toastContainer,targetElement):targetElement.nextSibling?targetElement.parentNode.insertBefore(toastContainer,targetElement.nextSibling):targetElement.parentNode.appendChild(toastContainer))}else switch(toastContainer=document.getElementById(\"bubble-toast-container\"),toastContainer||(toastContainer=document.createElement(\"div\"),toastContainer.id=\"bubble-toast-container\",toastContainer.style.position=\"fixed\",toastContainer.style.zIndex=\"9999\",document.body.appendChild(toastContainer)),properties.toast_position){case\"top-right\":default:toastContainer.style.top=\"20px\",toastContainer.style.right=\"20px\",toastContainer.style.left=\"\",toastContainer.style.bottom=\"\";break;case\"top-left\":toastContainer.style.top=\"20px\",toastContainer.style.left=\"20px\",toastContainer.style.right=\"\",toastContainer.style.bottom=\"\";break;case\"top-center\":toastContainer.style.top=\"20px\",toastContainer.style.left=\"50%\",toastContainer.style.transform=\"translateX(-50%)\",toastContainer.style.right=\"\",toastContainer.style.bottom=\"\";break;case\"bottom-right\":toastContainer.style.bottom=\"20px\",toastContainer.style.right=\"20px\",toastContainer.style.left=\"\",toastContainer.style.top=\"\";break;case\"bottom-left\":toastContainer.style.bottom=\"20px\",toastContainer.style.left=\"20px\",toastContainer.style.right=\"\",toastContainer.style.top=\"\";break;case\"bottom-center\":toastContainer.style.bottom=\"20px\",toastContainer.style.left=\"50%\",toastContainer.style.transform=\"translateX(-50%)\",toastContainer.style.right=\"\",toastContainer.style.top=\"\";break;case\"center\":toastContainer.style.top=\"50%\",toastContainer.style.left=\"50%\",toastContainer.style.transform=\"translate(-50%, -50%)\",toastContainer.style.right=\"\",toastContainer.style.bottom=\"\"}const toast=document.createElement(\"div\");toast.classList.add(\"toast\",properties.toast_style),toast.style.marginBottom=\"10px\",toast.style.marginTop=\"0\",toast.style.marginLeft=\"0\",toast.style.marginRight=\"0\",toast.style.color=properties.toast_text_color,toast.style.backgroundColor=properties.toast_background_color,toast.style.fontSize=properties.toast_font_size+\"px\",toast.style.fontFamily=properties.toast_font,toast.style.padding=properties.toast_padding,toast.style.width=\"100%\",toast.style.boxSizing=\"border-box\",toast.style.position=\"relative\",toast.style.left=\"0\",toast.style.right=\"0\",toast.style.float=\"n
279one\",toast.style.clear=\"both\",toast.style.opacity=\"0\",toast.style.transition=\"opacity 0.3s ease-in-out\";const content=document.createElement(\"div\");content.classList.add(\"toast-content\"),content.style.display=\"flex\",content.style.flexDirection=\"row\",content.style.alignItems=\"center\",content.style.gap=properties.toast_gap;const icon=document.createElement(\"span\");icon.classList.add(\"iconify\",\"toast-icon\"),icon.setAttribute(\"data-icon\",properties.toast_icon),icon.setAttribute(\"data-inline\",\"false\"),icon.style.fontSize=properties.toast_icon_size+\"px\",icon.style.margin=\"0\",icon.style.flexShrink=\"0\";const message=document.createElement(\"div\");message.classList.add(\"toast-message\"),message.innerText=properties.toast_message,message.style.color=properties.toast_text_color,message.style.fontSize=properties.toast_font_size+\"px\",message.style.textAlign=\"left\",message.style.flex=\"1\",message.style.lineHeight=\"1.4\",content.appendChild(icon),content.appendChild(message),toast.appendChild(content);const buttons=document.createElement(\"div\");if(buttons.classList.add(\"toast-buttons\"),buttons.style.display=\"flex\",buttons.style.gap=\"8px\",buttons.style.justifyContent=\"flex-start\",properties.toast_activate_primary_button&&properties.toast_primary_button_text){const primaryButton=document.createElement(\"button\");primaryButton.classList.add(\"toast-button\",\"toast-button-primary\"),primaryButton.innerText=properties.toast_primary_button_text,primaryButton.style.fontSize=properties.toast_primary_button_font_size+\"px\",primaryButton.style.backgroundColor=properties.toast_primary_button_background_color,primaryButton.style.color=properties.toast_primary_button_text_color,primaryButton.style.borderColor=properties.toast_primary_button_border_color,primaryButton.style.borderStyle=\"solid\",primaryButton.style.borderWidth=\"1px\",primaryButton.style.borderRadius=properties.toast_primary_button_border_radius+\"px\",primaryButton.onmouseover=function(){primaryButton.style.backgroundColor=properties.toast_primary_button_hover_background_color,primaryButton.style.color=properties.toast_primary_button_hover_text_color},primaryButton.onmouseout=function(){primaryButton.style.backgroundColor=properties.toast_primary_button_background_color,primaryButton.style.color=properties.toast_primary_button_text_color},primaryButton.onclick=function(){instance.publishState(\"primary_button_clicked_state\",!0),instance.triggerEvent(\"primary_button_clicked\")},buttons.appendChild(primaryButton)}if(properties.toast_activate_secondary_button&&properties.toast_secondary_button_text){const secondaryButton=document.createElement(\"button\");secondaryButton.classList.add(\"toast-button\",\"toast-button-secondary\"),secondaryButton.innerText=properties.toast_secondary_button_text,secondaryButton.style.fontSize=properties.toast_secondary_button_font_size+\"px\",secondaryButton.style.backgroundColor=properties.toast_secondary_button_background_color,secondaryButton.style.color=properties.toast_secondary_button_text_color,secondaryButton.style.borderColor=properties.toast_secondary_button_border_color,secondaryButton.style.borderStyle=\"solid\",secondaryButton.style.borderWidth=\"1px\",secondaryButton.style.borderRadius=properties.toast_secondary_button_border_radius+\"px\",secondaryButton.onmouseover=function(){secondaryButton.style.backgroundColor=properties.toast_secondary_button_hover_background_color,secondaryButton.style.color=properties.toast_secondary_button_hover_text_color},secondaryButton.onmouseout=function(){secondaryButton.style.backgroundColor=properties.toast_secondary_button_background_color,secondaryButton.style.color=properties.toast_secondary_button_text_color},secondaryButton.onclick=function(){instance.publishState(\"secondary_button_clicked_state\",!0),instance.triggerEvent(\"secondary_button_clicked\")},buttons.appendChild(secondaryButton)}buttons.hasChildNodes()&&toast.appendChild(buttons),toastContainer.appendChild(toast),setTimeout((()=>{toast.style.opacity=\"1\"}),100),toast.onclick=function(){instance.triggerEvent(\"toast_clicked\")};const duration=properties.toast_duration||5e3;setTimeout((()=>{toast.style.opacity=\"0\",setTimeout((()=>{toast.remove()}),300)}),duration)}"}
279,"fields":{"ABA":{"caption":"Content","name":"toast_message","rank":3,"editor":"DynamicValue","value":"text"},"ABB":{"caption":"Duration (ms)","name":"toast_duration","rank":6,"editor":"DynamicValue","value":"number","default_val":5000},"ABC":{"caption":"Style","name":"toast_style","rank":5,"editor":"Dropdown","default_val":"left-icon"},"ABE":{"caption":"Iconify Icon","name":"toast_icon","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ABF":{"caption":"Primary Button: Text","name":"toast_primary_button_text","rank":17,"editor":"DynamicValue","value":"text","optional":true},"ABG":{"caption":"Secondary Button: Text","name":"toast_secondary_button_text","rank":26,"editor":"DynamicValue","value":"text","optional":true},"ABH":{"caption":"Configuration","name":"toast_config","rank":0,"editor":"Label"},"ABI":{"caption":"Styling","name":"toast_styling","rank":7,"editor":"Label"},"ABJ":{"caption":"Font Size","name":"toast_font_size","rank":10,"editor":"DynamicValue","value":"number","default_val":16},"ABK":{"caption":"Font Color","name":"toast_text_color","rank":11,"editor":"Color","default_val":"rgba(255,255,255,1)"},"ABL":{"caption":"Background Color","name":"toast_background_color","rank":8,"editor":"Color","default_val":"rgba(28,28,28,1)"},"ABM":{"caption":"Icon Size","name":"toast_icon_size","rank":12,"editor":"DynamicValue","value":"number","default_val":18},"ABN":{"caption":"Activate Primary Button?","name":"toast_activate_primary_button","rank":16,"editor":"Checkbox","default_val":false},"ABO":{"caption":"Activate Secondary Button?","name":"toast_activate_secondary_button","rank":25,"editor":"Checkbox","default_val":false},"ABP":{"caption":"Buttons","name":"toast_buttons","rank":15,"editor":"Label"},"ABQ":{"name":"toast_primary_button_font_size","rank":18,"editor":"DynamicValue","value":"number","default_val":16,"caption":"Primary Button: Font Size"},"ABR":{"caption":"Primary Button: Background Color","name":"toast_primary_button_background_color","rank":19,"editor":"Color","default_val":"rgba(0,128,255,1)"},"ABS":{"caption":"Primary Button: Font Color","name":"toast_primary_button_text_color","rank":20,"editor":"Color","default_val":"rgba(255,255,255,1)"},"ABT":{"caption":"Primary Button: Hover Background Color","name":"toast_primary_button_hover_background_color","rank":21,"editor":"Color","default_val":"rgba(13,13,179,1)"},"ABU":{"caption":"Primary Button: Hover Text Color","name":"toast_primary_button_hover_text_color","rank":22,"editor":"Color","default_val":"rgba(255,255,255,1)"},"ABV":{"caption":"Primary Button: Border Color","name":"toast_primary_button_border_color","rank":23,"editor":"Color","default_val":"rgba(0,82,205,1)"},"ABW":{"caption":"Primary Button: Border Radius","name":"toast_primary_button_border_radius","rank":24,"editor":"DynamicValue","value":"number","default_val":8},"ABX":{"caption":"Secondary Button: Font Size","name":"toast_secondary_button_font_size","rank":27,"editor":"DynamicValue","value":"number","default_val":16},"ABY":{"caption":"Secondary Button: Background Color","name":"toast_secondary_button_background_color","rank":28,"editor":"Color","default_val":"rgba(111,0,255,1)"},"ABZ":{"caption":"Secondary Button: Font Color","name":"toast_secondary_button_text_color","rank":29,"editor":"Color","default_val":"rgba(255,255,255,1)"},"ABa":{"caption":"Secondary Button: Hover Background Color","name":"toast_secondary_button_hover_background_color","rank":30,"editor":"Color","default_val":"rgba(71,0,214,1)"},"ABb":{"caption":"Secondary Button: Hover Font Color","name":"toast_secondary_button_hover_text_color","rank":31,"editor":"Color","default_val":"rgba(255,255,255,1)"},"ABc":{"caption":"Secondary Button: Border Color","name":"toast_secondary_button_border_color","rank":32,"editor":"Color","default_val":"rgba(144,32,244,1)"},"ABd":{"caption":"Secondary Button: Border Radius","name":"toast_secondary_button_border_radius","rank":33,"editor":"DynamicValue","value":"number","default_val":8},"ABe":{"caption":"Row/Column Gap","name":"toast_gap","rank":13,"editor":"DynamicValue","value":"number","default_val":12},"ABf":{"caption":"Padding","name":"toast_padding","rank":14,"editor":"DynamicValue","value":"number","default_val":12},"ABh":{"caption":"Font Family","name":"toast_font","rank":9,"editor":"DynamicValue","value":"text","default_val":"inherit"},"ACi":{"caption":"HTML ID","name":"toast_html_target","rank":1,"editor":"DynamicValue","value":"text"},"ACj":{"name":"toast_html_target_positition","rank":2,"caption":"Inline Position","editor":"Dropdown"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Backgroun
279d Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1729640488535x939720197221921500/Brandarrow%20-%20Bubble.io%20Plugin%20-%20Ultimate%20Toast%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){}"},"reset":{"fn":"function(instance,context){}"}},"platform_type":"web"},"ACk":{"display":"Ultimate Toast - Sonner","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"ACm":{"caption":"Toast Position","name":"position","rank":0,"editor":"Dropdown","optional":false,"default_val":"bottom-right"},"ACn":{"caption":"Theme","name":"theme","rank":1,"editor":"Dropdown","default_val":"system"},"ACo":{"caption":"Rich Colors","name":"rich_colors","rank":2,"editor":"DynamicValue","value":"boolean","default_val":false},"ACp":{"caption":"Always Expanded","name":"expand","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false},"ACq":{"caption":"Max Visible Toasts","name":"visible_toasts","rank":4,"editor":"DynamicValue","value":"number","default_val":3},"ACr":{"caption":"Show Close Button","name":"close_button","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"ACs":{"caption":"Default Duration (ms)","name":"default_duration","rank":6,"editor":"DynamicValue","value":"number","default_val":4000},"ACt":{"caption":"Toasts Gap (px)","name":"gap","rank":7,"editor":"DynamicValue","value":"number","default_val":14},"ACu":{"caption":"Screen Edge Offset (px)","name":"offset","rank":8,"editor":"DynamicValue","value":"number","default_val":32},"ACv":{"caption":"Mobile Edge Offset (px)","name":"mobile_offset","rank":9,"editor":"DynamicValue","value":"number","default_val":16},"ACw":{"caption":"Invert Colors","name":"invert","rank":10,"editor":"DynamicValue","value":"boolean","default_val":false},"ACx":{"caption":"Toaster ID","name":"toaster_id","rank":11,"editor":"DynamicValue","value":"text","optional":true},"ACy":{"caption":"Accessibility Label","name":"container_aria_label","rank":12,"editor":"DynamicValue","value":"text","default_val":"Notifications","optional":true}},"states":{"ADu":{"caption":"Last Toast ID","name":"last_toast_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADv":{"caption":"Last Event Toast ID","name":"last_event_toast_id","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADw":{"caption":"Last Event Type","name":"last_event_type","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADx":{"caption":"Last Action Label","name":"last_action_label","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"ADy":{"caption":"Active Toast Count","name":"active_toast_count","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ADq":{"caption":"Toast Action Clicked","name":"toast_action_clicked"},"ADr":{"caption":"Toast Cancel Clicked","name":"toast_cancel_clicked"},"ADs":{"caption":"Toast Dismissed","name":"toast_dismissed"},"ADt":{"caption":"Toast Auto-closed","name":"toast_auto_closed"}},"actions":{"ACz":{"caption":"Show Toast","code":{"fn":"function(instance,properties,context){if(window._SonnerToast){var props=properties,type=props.type||\"default\",options={},toastId;if(props.description&&(options.description=props.description),props.toast_id&&(options.id=props.toast_id),0===props.duration?options.duration=1/0:props.duration&&(options.duration=props.duration),props.close_button&&(options.closeButton=props.close_button),props.position&&(options.position=props.position),props.invert&&(options.invert=props.invert),props.important&&(options.important=props.important),props.toaster_id&&(options.toasterId=props.toaster_id),\"iconify\"===props.icon_type&&props.icon_value){if(!document.querySelector('script[src*=\"iconify-icon\"]')){var s=document.createElement(\"script\");s.src=\"https://cdn.jsdelivr.net/npm/iconify-icon@1/dist/iconify-icon.min.js\",document.head.appendChild(s)}options.icon=window._React.createElement(\"span\",{dangerouslySetInnerHTML:{__html:'<iconify-icon icon=\"'+props.icon_value+'\" width=\"16\" height=\"16\"></iconify-icon>'}})}else\"svg\"===props.icon_type&&props.icon_value&&(options.icon=window._React.createElement(\"span\",{style:{display:\"flex\",width:\"16px\",height:\"16px\"},dangerouslySetInnerHTML:{__html:props.icon_value}}));props.action_label&&(options.action={label:props.action_label,onClick:function(){props.action_url?window.open(props.action_url,\"_blank\"):(instance.publishState(\"last_event_toast_id\",String(toastId)),instance.publishState(\"last_event_type\",\"action_clicked\"),instance.publishState(\"last_action_label\",props.action_label),instance.triggerEvent(\"toast_action_clicked\"))}}),props.cancel_label&&(options.cancel={label:props.cancel_label,onClick:function(){instance.publishState(\"last_event_toast_id\",String(toastId)),instance.publishState(\"last_event_type\",\"cancel_clicked\"),instance.triggerEvent(\"toast_cancel_clicked\")}}),options.onDismiss=function(t){instance.publishState(\"last_event_toast_id\",String(t.id)),instance.publishState(\"last_event_type\",\"dismissed\"),instance.triggerEvent(\"toast_dism
279issed\")},options.onAutoClose=function(t){instance.publishState(\"last_event_toast_id\",String(t.id)),instance.publishState(\"last_event_type\",\"auto_closed\"),instance.triggerEvent(\"toast_auto_closed\")},toastId=\"success\"===type?window._SonnerToast.success(props.message,options):\"error\"===type?window._SonnerToast.error(props.message,options):\"warning\"===type?window._SonnerToast.warning(props.message,options):\"info\"===type?window._SonnerToast.info(props.message,options):window._SonnerToast(props.message,options),instance.publishState(\"last_toast_id\",String(toastId))}}"},"fields":{"ADb":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"default"},"ADc":{"caption":"Message","name":"message","rank":1,"editor":"DynamicValue","value":"text"},"ADd":{"caption":"Description","name":"description","rank":2,"editor":"DynamicValue","value":"text","optional":true},"ADe":{"caption":"Toast ID","name":"toast_id","rank":3,"editor":"DynamicValue","value":"text","optional":true},"ADf":{"caption":"Duration (ms)","name":"duration","rank":4,"editor":"DynamicValue","value":"number","optional":true},"ADg":{"caption":"Show Close Button","name":"close_button","rank":5,"editor":"DynamicValue","value":"boolean","default_val":false},"ADh":{"caption":"Position Override","name":"position","rank":6,"editor":"Dropdown","optional":true,"default_val":"bottom-right"},"ADi":{"caption":"Icon Type","name":"icon_type","rank":7,"editor":"Dropdown","optional":true,"default_val":"none"},"ADj":{"caption":"Icon Value","name":"icon_value","rank":8,"editor":"DynamicValue","value":"text","optional":true},"ADk":{"caption":"Action Button Label","name":"action_label","rank":9,"editor":"DynamicValue","value":"text","optional":true},"ADl":{"caption":"Action Button URL","name":"action_url","rank":10,"editor":"DynamicValue","value":"text","optional":true},"ADm":{"caption":"Cancel Button Label","name":"cancel_label","rank":11,"editor":"DynamicValue","value":"text","optional":true},"ADn":{"caption":"Invert Colors","name":"invert","rank":12,"editor":"DynamicValue","value":"boolean","default_val":false},"ADo":{"caption":"Important","name":"important","rank":13,"editor":"DynamicValue","value":"boolean","default_val":false},"ADp":{"caption":"Toaster ID","name":"toaster_id","rank":14,"editor":"DynamicValue","value":"text","optional":true}}},"ADE":{"caption":"Show Loading Toast","code":{"fn":"function(instance,properties,context){if(window._SonnerToast){var props=properties,options={duration:1/0};props.toast_id&&(options.id=props.toast_id),props.description&&(options.description=props.description),props.toaster_id&&(options.toasterId=props.toaster_id);var toastId=window._SonnerToast.loading(props.message,options);instance.publishState(\"last_toast_id\",String(toastId))}}"},"fields":{"ADX":{"caption":"Message","name":"message","rank":0,"editor":"DynamicValue","value":"text"},"ADY":{"caption":"Description","name":"description","rank":1,"editor":"DynamicValue","value":"text","optional":true},"ADZ":{"caption":"Toast ID","name":"toast_id","rank":2,"editor":"DynamicValue","value":"text"},"ADa":{"caption":"Toaster ID","name":"toaster_id","rank":3,"editor":"DynamicValue","value":"text","optional":true}}},"ADF":{"caption":"Show Custom HTML Toast","code":{"fn":"function(instance,properties,context){if(window._SonnerToast){var props=properties,options={};props.toast_id&&(options.id=props.toast_id),0===props.duration?options.duration=1/0:props.duration&&(options.duration=props.duration),props.position&&(options.position=props.position),props.toaster_id&&(options.toasterId=props.toaster_id),options.unstyled=!0;var handlerKey=\"__utToastAction_\"+(props.toast_id||\"default\");props.action_label&&(window[handlerKey]=function(){props.action_url?window.open(props.action_url,\"_blank\"):(instance.publishState(\"last_event_toast_id\",String(toastId)),instance.publishState(\"last_event_type\",\"action_clicked\"),instance.publishState(\"last_action_label\",props.action_label),instance.triggerEvent(\"toast_action_clicked\"))});var buttonHtml=props.action_label?'<button onclick=\"window.'+handlerKey+\"&&window.\"+handlerKey+'()\" style=\"background:var(--gray12);color:var(--gray1);border:none;border-radius:4px;padding:4px 8px;font-size:12px;font-weight:500;cursor:pointer;margin-top:8px;display:block;\">'+props.action_label+\"</button>\":\"\",toastId=window._SonnerToast.custom((function(){var html=props.html_content+buttonHtml;return props.unstyled?window._React.createElement(\"div\",{dangerouslySetInnerHTML:{__html:html}}):window._React.createElement(\"div\",{style:{background:\"var(--normal-bg)\",border:\"1px solid var(--normal-border)\",color:\"var(--normal-text)\",borderRadius:\"8px\",padding:\"16px\",fontSize:\"14px\",boxShadow:\"0px 4px 12px rgba(0,0,0,0.1)\",width:\"356px\",boxSizing:\"border-box\"},dangerouslySetInnerHTML:{__html:html}})}),options);instance.publishState(\"last_toast_id\",String(toastId))}}"},"fields":{"ADQ":{"caption":"HTML Content","name":"html_content","rank":0,"editor":"DynamicValue","value":"text"},"ADR":{"caption":"Toast ID","name":"toast_id","rank":1,"editor":"DynamicValue","value":"text","optional":true},"ADS":{"caption":"Duration (ms)","name":"duration","rank":2,"editor":"DynamicValue","value":"number","optional":true}
279,"ADT":{"caption":"Position Override","name":"position","rank":3,"editor":"Dropdown","default_val":"bottom-right","optional":true},"ADU":{"caption":"Unstyled","name":"unstyled","rank":4,"editor":"DynamicValue","value":"boolean","default_val":false},"ADV":{"caption":"Toaster ID","name":"toaster_id","rank":7,"editor":"DynamicValue","value":"text","optional":true},"AEQ":{"caption":"Action Label","name":"action_label","rank":5,"editor":"DynamicValue","value":"text","optional":true},"AER":{"caption":"Action URL","name":"action_url","rank":6,"editor":"DynamicValue","value":"text","optional":true}}},"ADG":{"caption":"Update Toast","code":{"fn":"function(instance,properties,context){if(window._SonnerToast){var props=properties,type=props.type||\"default\",options={id:props.toast_id};props.message&&(options.message=props.message),props.description&&(options.description=props.description),0===props.duration?options.duration=1/0:props.duration&&(options.duration=props.duration),props.action_label&&(options.action={label:props.action_label,onClick:function(){props.action_url?window.open(props.action_url,\"_blank\"):(instance.publishState(\"last_event_toast_id\",props.toast_id),instance.publishState(\"last_event_type\",\"action_clicked\"),instance.publishState(\"last_action_label\",props.action_label),instance.triggerEvent(\"toast_action_clicked\"))}}),\"success\"===type?window._SonnerToast.success(props.message,options):\"error\"===type?window._SonnerToast.error(props.message,options):\"warning\"===type?window._SonnerToast.warning(props.message,options):\"info\"===type?window._SonnerToast.info(props.message,options):\"loading\"===type?window._SonnerToast.loading(props.message,options):window._SonnerToast(props.message,options)}}"},"fields":{"ADJ":{"caption":"Toast ID","name":"toast_id","rank":0,"editor":"DynamicValue","value":"text","optional":true},"ADK":{"caption":"New Type","name":"type","rank":1,"editor":"Dropdown","default_val":"default"},"ADL":{"caption":"New Message","name":"message","rank":2,"editor":"DynamicValue","value":"text","optional":true},"ADM":{"caption":"New Description","name":"description","rank":3,"editor":"DynamicValue","value":"text","optional":true},"ADN":{"caption":"Duration (ms)","name":"duration","rank":4,"editor":"DynamicValue","value":"number","optional":true},"ADO":{"caption":"Action Button Label","name":"action_label","rank":5,"editor":"DynamicValue","value":"text","optional":true},"ADP":{"caption":"Action Button URL","name":"action_url","rank":6,"editor":"DynamicValue","value":"text","optional":true}}},"ADH":{"caption":"Dismiss Toast","code":{"fn":"function(instance,properties,context){window._SonnerToast&&(properties.toast_id?window._SonnerToast.dismiss(properties.toast_id):window._SonnerToast.dismiss())}"},"fields":{"ADI":{"caption":"Toast ID","name":"toast_id","rank":0,"editor":"DynamicValue","value":"text","optional":true}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){function loadStylesheet(href){if(!document.querySelector('link[href=\"'+href+'\"]')){var l=document.createElement(\"link\");l.rel=\"stylesheet\",l.href=href,document.head.appendChild(l)}}function loadInlineStyle(id,css){if(!document.getElementById(id)){var style=document.createElement(\"style\");style.id=id,style.textContent=css,document.head.appendChild(style)}}instance.data.ready=!1,instance.data.renderToaster=function(props){if(instance.data.ready){var mountNode=instance.data.mountNode,root=instance.data.root,React=window._React,Toaster=window._SonnerToaster;root.render(React.createElement(Toaster,{id:props.toaster_id||void 0,position:props.position||\"bottom-right\",theme:props.theme||\"light\",richColors:props.rich_colors||!1,expand:props.expand||!1,visibleToasts:props.visible_toasts||3,closeButton:props.close_button||!1,duration:props.default_duration||4e3,gap:props.gap||14,offset:props.offset||32,mobileOffset:props.mobile_offset||16,invert:props.invert||!1,containerAriaLabel:props.container_aria_label||\"Notifications\",style:{zIndex:2147483647}}))}else instance.data.pendingProps=props},loadStylesheet(\"https://cdn.jsdelivr.net/npm/sonner/dist/styles.min.css\"),loadInlineStyle(\"djf-sonner
279-zindex\",\"\\n [data-sonner-toaster],\\n [data-sonner-toast] {\\n z-index: 2147483647 !important;\\n }\\n\");var s=document.createElement(\"script\");s.type=\"module\",s.textContent=\"\\n import { Toaster, toast } from 'https://esm.sh/sonner?deps=react@18,react-dom@18';\\n import ReactDOM from 'https://esm.sh/react-dom@18/client';\\n import React from 'https://esm.sh/react@18';\\n window._React = React;\\n window._ReactDOM = ReactDOM;\\n window._SonnerToaster = Toaster;\\n window._SonnerToast = toast;\\n var mountNode = document.createElement('div');\\n document.body.appendChild(mountNode);\\n var root = ReactDOM.createRoot(mountNode);\\n window._SonnerMountNode = mountNode;\\n window._SonnerRoot = root;\\n window.dispatchEvent(new CustomEvent('sonner_ready'));\\n \",document.head.appendChild(s),window.addEventListener(\"sonner_ready\",(function(){instance.data.mountNode=window._SonnerMountNode,instance.data.root=window._SonnerRoot,instance.data.ready=!0,window.utSonnerToast={show:function(message,opts){var type=(opts=opts||{}).type||\"default\",options={};return opts.description&&(options.description=opts.description),opts.id&&(options.id=opts.id),0===opts.duration?options.duration=1/0:opts.duration&&(options.duration=opts.duration),opts.closeButton&&(options.closeButton=opts.closeButton),opts.position&&(options.position=opts.position),opts.invert&&(options.invert=opts.invert),opts.important&&(options.important=opts.important),opts.toasterId&&(options.toasterId=opts.toasterId),opts.action&&(options.action=opts.action),opts.cancel&&(options.cancel=opts.cancel),opts.onDismiss&&(options.onDismiss=opts.onDismiss),opts.onAutoClose&&(options.onAutoClose=opts.onAutoClose),\"success\"===type?window._SonnerToast.success(message,options):\"error\"===type?window._SonnerToast.error(message,options):\"warning\"===type?window._SonnerToast.warning(message,options):\"info\"===type?window._SonnerToast.info(message,options):window._SonnerToast(message,options)},loading:function(message,opts){var options={duration:1/0};return(opts=opts||{}).id&&(options.id=opts.id),opts.description&&(options.description=opts.description),opts.toasterId&&(options.toasterId=opts.toasterId),window._SonnerToast.loading(message,options)},custom:function(htmlContent,opts){var options={};return(opts=opts||{}).id&&(options.id=opts.id),0===opts.duration?options.duration=1/0:opts.duration&&(options.duration=opts.duration),opts.position&&(options.position=opts.position),opts.toasterId&&(options.toasterId=opts.toasterId),opts.unstyled&&(options.unstyled=opts.unstyled),window._SonnerToast.custom((function(){return window._React.createElement(\"div\",{dangerouslySetInnerHTML:{__html:htmlContent}})}),options)},update:function(toastId,message,opts){var type=(opts=opts||{}).type||\"default\",options={id:toastId};message&&(options.message=message),opts.description&&(options.description=opts.description),0===opts.duration?options.duration=1/0:opts.duration&&(options.duration=opts.duration),opts.action&&(options.action=opts.action),\"success\"===type?window._SonnerToast.success(message,options):\"error\"===type?window._SonnerToast.error(message,options):\"warning\"===type?window._SonnerToast.warning(message,options):\"info\"===type?window._SonnerToast.info(message,options):\"loading\"===type?window._SonnerToast.loading(message,options):window._SonnerToast(message,options)},dismiss:function(toastId){toastId?window._SonnerToast.dismiss(toastId):window._SonnerToast.dismiss()}},instance.data.pendingProps&&instance.data.renderToaster(instance.data.pendingProps)}),{once:!0})}"},"update":{"fn":"function(instance,properties,context){instance.data.renderToaster(properties)}"}},"platform_type":"web"}},"plugin_actions":{"ADz":{"display":"Ultimate Toast Remote - Sonner - Toast","type":"client_side","fields":{"AEA":{"caption":"Message","name":"message","rank":1,"editor":"DynamicValue","value":"text"},"AEB":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"default"},"AEC":{"caption":"Description","name":"description","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AED":{"caption":"Icon Type","name":"icon_type","rank":3,"editor":"Dropdown","default_val":"none"},"AEE":{"caption":"Icon Value","name":"icon_value","rank":4,"editor":"DynamicValue","value":"text","optional":true},"AEF":{"caption":"Toast ID","name":"toast_id","rank":5,"editor":"DynamicValue","value":"text","optional":true}},"code":{"client":{"fn":"function(properties,context){if(window.utSonnerToast){var props=properties,opts={type:props.type||\"default\"};if(props.description&&(opts.description=props.description),props.toast_id&&(opts.id=props.toast_id),props.icon_type&&\"none\"!==props.icon_type&&props.icon_value)if(\"iconify\"===props.icon_type){if(!document.querySelector('script[src*=\"iconify-icon\"]')){var s=document.createElement(\"script\");s.src=\"https://cdn.jsdelivr.net/npm/iconify-icon@1/dist/iconify-icon.min.js\",document.head.appendChild(s)}opts.icon=window._React.createElement(\"span\",{dangerouslySetInnerHTML:{__html:'<iconify-icon icon=\"'+props.icon_value+'\" width=\"16\" height=\"16\"></iconify-icon>'}})}else\"svg\"===props.icon_type&&(opts.icon=window._React.createElement(\"span\",{style:{display:\"flex\",width:\"16px\",height:\"16px\"},dangerouslySetInnerHTML:{__html:props.icon_value}}));\"loading\"===props.type?window.utSonnerToast.loading(props.message,opts):window.utSonnerToast.show(props.message,opts)}}"}}},"AEN":{"display":"Ultimate Toast Remote - Sonner - Toast - End Loader","type":"client_side","fields":{"AEH":{"caption":"Message","name":"message","rank":1,"editor":"DynamicValue","value":"text","optional":true},"AEI":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"default"},"AEJ":{"caption":"Description","name":"description","rank":2,"editor":"DynamicValue","value":"text","optional":true},"AEM":{"caption":"Toast ID","name":"toast_id","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AEO":{"caption":"Duration","name":"duration","rank":4,"editor":"DynamicValue","value":"number","optional":true}},"code":{"client":{"fn":"function(properties,context){if(window.utSonnerToast){var props=properties,opts={type:props.type||\"success\"};props.description&&(opts.description=props.description),props.duration&&(opts.duration=props.duration),window.utSonnerToast.update(props.toast_id,props.message,opts)}}"}}}}}; 280window._bubble_page_load_data.plugins_size['1729639572703x364408376413913100']
280= 50315; 281window.preloaded['plugin/third_party:1729639572703x364408376413913100:2.2.0'] = true; 282window.plugins["1773097837570x703508420517953500"] = {"human":"Knock Notifications by Polara","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_api":{"human":"Knock Notifications by Polara","calls":{"AAC":{"name":"Knock Feed Results","method":"post","publish_as":"data","should_reinitialize":false,"url":"https://echo.free.beeceptor.com","body":"{\n\t\"items\": <payload>\n}","body_params":{"AAD":{"key":"payload","private":true}},"initialized":true,"must_reinitialize":false,"types":"{\"plugin_api.AAC\":{\"caption\":\"Knock Feed Result\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_inserted_at\":{\"ret_btype\":\"date\",\"caption\":\"inserted_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_updated_at\":{\"ret_btype\":\"date\",\"caption\":\"updated_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_read_at\":{\"ret_btype\":\"date\",\"caption\":\"read_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_seen_at\":{\"ret_btype\":\"date\",\"caption\":\"seen_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_archived_at\":{\"ret_btype\":\"date\",\"caption\":\"archived_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_interacted_at\":{\"ret_btype\":\"date\",\"caption\":\"interacted_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_link_clicked_at\":{\"ret_btype\":\"date\",\"caption\":\"link_clicked_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_clicked_at\":{\"ret_btype\":\"date\",\"caption\":\"clicked_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_tenant\":{\"ret_btype\":\"text\",\"caption\":\"tenant\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_total_actors\":{\"ret_btype\":\"number\",\"caption\":\"total_actors\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_total_activities\":{\"ret_btype\":\"number\",\"caption\":\"total_activities\",\"sample_value\":\"\",\"ret_value\":\"number\"},\"_p_source.categories\":{\"ret_btype\":\"list.text\",\"caption\":\"source categories\",\"sample_value\":\"\",\"path\":[\"source\",\"categories\"],\"ret_value\":\"list.text\"},\"_p_source.key\":{\"ret_btype\":\"text\",\"caption\":\"source key\",\"sample_value\":\"\",\"path\":[\"source\",\"key\"],\"ret_value\":\"text\"},\"_p_source.step_ref\":{\"ret_btype\":\"text\",\"caption\":\"source step_ref\",\"sample_value\":\"\",\"path\":[\"source\",\"step_ref\"],\"ret_value\":\"text\"},\"_p_source.type\":{\"ret_btype\":\"text\",\"caption\":\"source type\",\"sample_value\":\"\",\"path\":[\"source\",\"type\"],\"ret_value\":\"text\"},\"_p_source.version_id\":{\"ret_btype\":\"text\",\"caption\":\"source version_id\",\"sample_value\":\"\",\"path\":[\"source\",\"version_id\"],\"ret_value\":\"text\"},\"_p_data\":{\"ret_btype\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.data\",\"caption\":\"data\",\"ret_value\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.data\"},\"_p_blocks\":{\"ret_btype\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.blocks\",\"caption\":\"blocks\",\"ret_value\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.blocks\"},\"_p_actors\":{\"ret_btype\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.actors\",\"caption\":\"actors\",\"ret_value\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.actors\"},\"_p_activities\":{\"ret_btype\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.activities\",\"caption\":\"activities\",\"ret_value\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.activities\"}}},\"plugin_api.AAC.data\":{\"caption\":\"Knock Feed Results data\",\"fields\":{\"_p_key\":{\"ret_btype\":\"text\",\"caption\":\"key\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_value\":{\"ret_btype\":\"text\",\"caption\":\"value\",\"sample_value\":\"\",\"ret_value\":\"text\"}}},\"plugin_api.AAC.blocks\":{\"caption\":\"Knock Feed Results block\",\"fields\":{\"_p_content\":{\"ret_btype\":\"text\",\"caption\":\"content\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_name\":{\"ret_btype\":\"text\",\"caption\":\"name\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_rendered\":{\"ret_btype\":\"text\",\"caption\":\"rendered\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_buttons\":{\"ret_btype\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.buttons\",\"caption\":\"buttons\",\"ret_value\":\"list.api.1773097837570x703508420517953500.plugin_api.AAC.buttons\"}}},\"plugin_api.AAC.buttons\":{\"caption\":\"Knock Feed Results button\",\"fields\":{\"_p_label\":{\"ret_btype\":\"text\",\"caption\":\"label\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_name\":{\"ret_btype\":\"text\",\"caption\":\"name\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_action\":{\"ret_btype\":\"text\",\"caption\":\"action\",\"sample_value\":\"\",\"ret_value\":\"text\"}}},\"plugin_api.AAC.actors\":{\"caption\":\"Knock Feed Results actor\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_name\":{\"ret_btype\":\"text\",\"caption\":\"name\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_email\":{\"ret_btype\":\"text\",\"caption\":\"email\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_avatar\":{\"ret_btype\":\"text\",\"caption\":\"avatar\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_is_object\":{\"ret_btype\":\"boolean\",\"caption\":\"is_object\",\"sample_value\":\"\",\"ret_value\":\"boolean\"},\"_p_collection\":{\"ret_btype\":\"text\",\"caption\":\"collection\",\"sample_value\":\"\",\"ret_value\":\"text\"}}},\"plugin_api.AAC.activities\":{\"caption\":\"Knock Feed Results activitie\",\"fields\":{\"_p_id\":{\"ret_btype\":\"text\",\"caption\":\"id\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_inserted_at\":{\"ret_btype\":\"date\",\"caption\":\"inserted_at\",\"sample_value\":\"\",\"ret_value\":\"date\"},\"_p_updated_at\":{\"ret_btype\":\"date\",\"caption\":\"updated_at\",\"sample_value\":\"\",\"ret_value\":\"date\"}}}}","ret_value":"api.1773097837570x703508420517953500.plugin_api.AAC"},"ABI":{"0":"A","1":"B","2":"H","name":"Knock Preferences Results","method":"post","publish_as":"data","should_reinitialize":false,"url":"https://echo.free.beeceptor.com","body":"{\n\t\"items\": <payload>\n}","body_params":{"AAD":{"key":"payload","private":true}},"initialized":true,"must_reinitialize":false,"types":"{\"plugin_api.ABI\":{\"caption\":\"Knock Preferences Result\",\"fields\":{\"_p_type\":{\"ret_btype\":\"text\",\"caption\":\"type\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_category\":{\"ret_btype\":\"text\",\"caption\":\"category\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_key\":{\"ret_btype\":\"text\",\"caption\":\"key\",\"sample_value\":\"\",\"ret_value\":\"text\"},\"_p_value\":{\"ret_btype\":\"boolean\",\"caption\":\"value\",\"sample_value\":\"\",\"ret_value\":\"boolean\"}}}}","ret_value":"api.1773097837570x703508420517953500.plugin_api.ABI"}}},"shared_keys":{"ABL":{"caption":"KNOCK_SECRET_KEY","type":"secure"},"ADT":{"caption":"KNOCK_SIGNING_KEY","type":"secure"}},"plugin_elements":{"AAE":{"display":"Knock Feed","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAF":{"caption":"CONNECTION","name":"label_connection","rank":0,"editor":"Label"},"AAG":{"caption":"Knock: Public API Key","name":"knock_api_key","rank":1,"editor":"DynamicValue","value":"text"},"AAH":{"caption":"Knock: Current User ID","name":"knock_current_user_id","rank":2,"editor":"DynamicValue","value":"text"},"AAI":{"caption":"Knock: Current User Token","name":"knock_current_user_token","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AAJ":{"caption":"Knock: Debug Mode","name":"knock_log_level","rank":4,"editor":"DynamicValue","value":"boolean","default_val":true},"AAK":{"caption":"FEEDS","name":"label_feeds","rank":5,"editor":"Label"},"AAL":{"caption":"Knock Feed: Channel ID","name":"knock_feed_channel_id","rank":6,"editor":"DynamicValue","value":"text"},"AAM":{"caption":"App Type (Knock Feed Results)","name":"knock_feed_app_type","rank":7,"editor":"custom_type"}},"states":{"AAO":{"caption":"Knock Feed: Page Info","name":"knockFeed_pageInfo","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAP":{"caption":"Knock Feed: Metadata > Total Count","name":"knockFeed_metadata_totalCount","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AAQ":{"caption":"Knock Feed: Loading?","name":"knockFeed_loading","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}},"AAR":{"caption":"Knock Client: Network Status","name":"knockClient_networkStatus","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAS":{"caption":"Knock Client: User ID","name":"knockClient_userId","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAT":{"caption":"Knock Feed: Metadata > Unread Count","name":"knockFeed_metadata_unreadCount","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AAU":{"caption":"Knock Feed: Metadata > Unseen Count","name":"knockFeed_metadata_unseenCount","value":"number","initialization_code":{"fn":"function(properties,context){}"}},"AAV":{"caption":"Knock Feed: Results","name":"knockFeed_feed","value":"custom_data_AAM","initialization_code":{"fn":"function(properties,context){}"},"is_list":true}},"events":{"AAW":{"caption":"Feed Item is received from realtime socket","name":"feed_item_received_realtime"},"AAX":{"caption":"Feed Item is received from page/fetch","name":"feed_item_received_fetch"}},"actions":{"AAY":{"caption":"Knock - Teardown","code":{"fn":"function(instance,properties,context){instance.publishState(\"knockClient_userId\",\"\"),instance.data.knockFeed&&(instance.data.knockFeed.teardown(),delete window.knockFeed,delete instance.data.knockFeed),instance.data.knockClient&&(instance.data.knockClient.teardown(),delete window.knockClient,delete instance.data.knockClient),instance.data.initialized=!1}"}},"AAZ":{"caption":"Knock Feed - Mark all as seen","code":{"fn":"function(instance,properties,context){instance.data.knockFeed&&instance.data.knockFeed.markAllAsSeen()}"}},"AAa":{"caption":"Knock Feed - Mark item(s) as seen","code":{"fn":"function(instance,properties,context){let rawIds,knockItems=properties.item_ids.get(0,properties.item_ids.length()).map((idString=>({id:idString})));instance.data.knockFeed.markAsSeen(knockItems)}"},"fields":{"AAn":{"caption":"Item ID(s)","name":"item_ids","rank":0,"editor":"DynamicValue","value":"text","is_list":true}}},"AAb":{"caption":"Knock Feed - Mark all as read","code":{"fn":"function(instance,properties,context){instance.data.knockFeed&&instance.data.knockFeed.markAllAsRead()}"}},"AAc":{"caption":"Knock Feed - Mark item(s) as read","code":{"fn":"function(instance,properties,context){if(!instance.data.knockFeed||!properties.item_ids)return;const rawIds=properties.item_ids.get(0,properties.item_ids.length());if(rawIds&&rawIds.length>0){const knockItems=rawIds.map((idString=>({id:idString})));instance.data.knockFeed.markAsRead(knockItems)}}"},"fields":{"AAo":{"caption":"Item ID(s)","name":"item_ids","rank":0,"editor":"DynamicValue","value":"text","is_list":true}}},"AAd":{"caption":"Knock Feed - Mark item(s) as unread","code":{"fn":"function(instance,properties,context){if(!instance.data.knockFeed||!properties.item_ids)return;const rawIds=properties.item_ids.get(0,properties.item_ids.length());if(rawIds&&rawIds.length>0){const knockItems=rawIds.map((idString=>({id:idString})));instance.data.knockFeed.markAsUnread(knockItems)}}"},"fields":{"AAp":{"caption":"Item ID(s)","name":"item_ids","rank":0,"editor":"DynamicValue","value":"text","is_list":true}}},"AAe":{"caption":"Knock Feed - Mark all as archived","code":{"fn":"function(instance,properties,context){instance.data.knockFeed&&instance.data.knockFeed.markAllAsArchived()}"}},"AAf":{"caption":"Knock Feed - Mark item(s) as archived","code":{"fn":"function(instance,properties,context){if(!instance.data.knockFeed||!properties.item_ids)return;const rawIds=properties.item_ids.get(0,properties.item_ids.length());if(rawIds&&rawIds.length>0){const knockItems=rawIds.map((idString=>({id:idString})));instance.data.knockFeed.markAsArchived(knockItems)}}"},"fields":{"AAm":{"caption":"Item ID(s)","name":"item_ids","rank":0,"editor":"DynamicValue","value":"text","is_list":true}}},"AAg":{"caption":"Knock Feed - Mark item(s) as unarchived","code":{"fn":"function(instance,properties,context){if(!instance.data.knockFeed||!properties.item_ids)return;const rawIds=properties.item_ids.get(0,properties.item_ids.length());if(rawIds&&rawIds.length>0){const knockItems=rawIds.map((idString=>({id:idString})));instance.data.knockFeed.markAsUnarchived(knockItems)}}"},"fields":{"AAk":{"caption":"Item ID(s)","name":"item_ids","rank":0,"editor":"DynamicValue","value":"text","is_list":true}}},"AAh":{"caption":"Knock Feed - Mark item as interacted","code":{"fn":"function(instance,properties,context){if(!instance.data.knockFeed||!properties.item_ids)return;const ids=properties.item_ids.get(0,properties.item_ids.length());ids&&ids.length>0&&instance.data.knockFeed.markAsInteracted(ids)}"},"fields":{"AAl":{"caption":"Item ID","name":"item_id","rank":0,"editor":"DynamicValue","value":"text","is_list":false}}},"AAi":{"caption":"Knock Feed - Fetch feed items","code":{"fn":"function(instance,properties,context){instance.data.knockFeed&&instance.data.knockFeed.fetch()}"}},"AAj":{"caption":"Knock Feed - Fetch next page","code":{"fn":"function(instance,properties,context){instance.data.knockFeed&&instance.data.knockFeed.fetchNextPage()}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Backgroun
282d Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1773130408038x736040031524236200/Polara%20-%20Plugin%20-%20Knock%20Notifications%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){if(instance.data.initialized)return;let options={};properties.knock_log_level&&(options.logLevel=properties.knock_log_level);const knockClient=new Knock(properties.knock_api_key,options);window.knockClient=knockClient,instance.data.knockClient=knockClient,knockClient.authenticate(properties.knock_current_user_id,properties.knock_current_user_token),instance.publishState(\"knockClient_userId\",knockClient.userId);const knockFeed=knockClient.feeds.initialize(properties.knock_feed_channel_id,{defaultFeedOptions:{__experimentalCrossBrowserUpdates:!0}});window.knockFeed=knockFeed,instance.data.knockFeed=knockFeed;const formatItemsForBubble=items=>items.map((item=>{let bubbleObj={_p_id:item.id,_p_inserted_at:item.inserted_at,_p_updated_at:item.updated_at,_p_read_at:item.read_at,_p_seen_at:item.seen_at,_p_clicked_at:item.clicked_at,_p_link_clicked_at:item.link_clicked_at,_p_interacted_at:item.interacted_at,_p_archived_at:item.archived_at,_p_tenant:item.tenant,_p_total_actors:item.total_actors,_p_total_activities:item.total_activities};return item.source&&(bubbleObj[\"_p_source.categories\"]=item.source.categories,bubbleObj[\"_p_source.key\"]=item.source.key,bubbleObj[\"_p_source.step_ref\"]=item.source.step_ref,bubbleObj[\"_p_source.type\"]=item.source.type,bubbleObj[\"_p_source.version_id\"]=item.source.version_id),item.data&&\"object\"==typeof item.data&&Object.keys(item.data).length>0?bubbleObj._p_data=Object.keys(item.data).map((key=>({_p_key:key,_p_value:\"object\"==typeof item.data[key]?JSON.stringify(item.data[key]):String(item.data[key])}))):bubbleObj._p_data=[{_p_key:\"\",_p_value:\"\"}],item.actors&&Array.isArray(item.actors)?0===item.actors.length?bubbleObj._p_actors=[]:bubbleObj._p_actors=item.actors.map((actor=>{const props=actor.properties||{};return{_p_id:actor.id||\"\",_p_name:actor.name||props.name||\"\",_p_email:actor.email||props.email||\"\",_p_avatar:actor.avatar||props.avatar||\"\",_p_is_object:!!actor.collection,_p_collection:actor.collection||\"\"}})):bubbleObj._p_actors=[],item.activities&&Array.isArray(item.activities)?bubbleObj._p_activities=item.activities.map((activity=>({_p_id:activity.id,_p_inserted_at:activity.inserted_at,_p_updated_at:activity.updated_at}))):bubbleObj._p_activities=[],item.blocks&&Array.isArray(item.blocks)?bubbleObj._p_blocks=item.blocks.map((block=>{let formattedBlock;return{_p_content:block.content||\"\",_p_name:block.name||\"\",_p_rendered:block.rendered||\"\",_p_type:block.type||\"\",_p_buttons:block.buttons&&Array.isArray(block.buttons)&&block.buttons.length>0?block.buttons.map((btn=>({_p_label:btn.label||\"\",_p_name:btn.name||\"\",_p_action:btn.action||\"\"}))):[{_p_label:\"\",_p_name:\"\",_p_action:\"\"}]}})):bubbleObj._p_blocks=[],bubbleObj})),publishFeedStates=state=>{const items=state.items||[],formattedItems=formatItemsForBubble(items);instance.publishState(\"knockFeed_feed\",formattedItems),instance.publishState(\"knockFeed_pageInfo\",JSON.stringify(state.pageInfo||{})),state.metadata&&(instance.publishState(\"knockFeed_metadata_unreadCount\",state.metadata.unread_count||0),instance.publishState(\"knockFeed_metadata_unseenCount\",state.metadata.unseen_count||0)),instance.publishState(\"knockFeed_metadata_totalCount\",items.length),instance.publishState(\"knockFeed_loading\",state.loading),instance.publishState(\"knockClient_networkStatus\",state.networkStatus)};knockFeed.store.subscribe((state=>{publishFeedStates(state)})),knockFeed.listenForUpdates(),knockFeed.fetch(),knockFeed.on(\"items.received.page\",(({items:items})=>{instance.triggerEvent(\"feed_item_received_fetch\")})),knockFeed.on(\"items.received.realtime\",(({items:items})=>{instance.triggerEvent(\"feed_item_received_realtime\")})),instance.data.initialized=!0}"}},"platform_type":"web"},"AAq":{"display":"Knock Preferences","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"ABE":{"caption":"Knock: Public API Key","name":"knock_api_key","rank":0,"editor":"DynamicValue","value":"text"},"ABF":{"caption":"Knock: Current User ID","name":"knock_user_id","rank":1,"editor":"DynamicValue","value":"text"},"ABG":{"caption":"Knock: Current User Token","name":"knock_user_token","rank":2,"editor":"DynamicValue","value":"text","optional":true},"ABJ":{"caption":"App Type (Knock Preferences Results)","name":"knock_feed_app_type","rank":3,"editor":"custom_type"}},"states":{"ABC":{"caption":"Preferences Result","name":"knockPreferences_list","value":"custom_data_ABJ","initialization_code":{"fn":"function(properties,context){}"},"is_list":true},"ABD":{"caption":"Loading?","name":"is_loading","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}}
282,"events":{"ABA":{"caption":"Triggers when a completely new set of preferences finishes loading.","name":"preferences_loaded"},"ABB":{"caption":"Triggers when a Set Preference action successfully completes building its payload.","name":"preferences_updated"}},"actions":{"AAr":{"caption":"Get Preferences","code":{"fn":"function(instance,properties,context){instance.data.knockClient&&instance.data.refreshPreferences&&instance.data.refreshPreferences(\"default\")}"}},"AAs":{"caption":"Set Preference (Single)","code":{"fn":"function(instance,properties,context){if(!instance.data.knock_user_id)return;if(!properties.preference_type||!properties.preference_key)return;instance.publishState(\"is_loading\",!0);const preferenceSetId=properties.preference_set_id||\"default\",type=properties.preference_type,key=properties.preference_key,category=properties.preference_category||null,value=properties.preference_value;let payload={__persistence_strategy__:\"merge\"};\"categories\"===type&&category&&key?payload.categories={[category]:{channel_types:{[key]:value}}}:\"categories\"===type&&category&&!key?payload.categories={[category]:value}:payload[type]={[key]:value};let headers={\"Content-Type\":\"application/json\",Authorization:`Bearer ${instance.data.knock_api_key}`};instance.data.knock_user_token&&(headers[\"X-Knock-User-Token\"]=instance.data.knock_user_token),fetch(`https://api.knock.app/v1/users/${instance.data.knock_user_id}/preferences/${preferenceSetId}`,{method:\"PUT\",headers:headers,body:JSON.stringify(payload)}).then((response=>{if(!response.ok)throw new Error(\"Knock API Error: \"+response.status);return response.json()})).then((updatedPrefs=>{instance.publishState(\"knockPreferences_list\",[]),setTimeout((()=>{instance.publishState(\"knockPreferences_list\",instance.data.flattenPreferences(updatedPrefs)),instance.publishState(\"is_loading\",!1),instance.triggerEvent(\"preferences_updated\")}),50)})).catch((err=>{console.error(\"Knock Set Preferences Error:\",err),instance.publishState(\"is_loading\",!1)}))}"},"fields":{"AAw":{"caption":"Set ID","name":"preference_set_id","rank":0,"editor":"DynamicValue","value":"text","default_val":"default"},"AAx":{"caption":"Type","name":"preference_type","rank":1,"editor":"DynamicValue","value":"text"},"AAy":{"caption":"Key","name":"preference_key","rank":3,"editor":"DynamicValue","value":"text"},"AAz":{"caption":"Value","name":"preference_value","rank":4,"editor":"DynamicValue","value":"boolean"},"ADU":{"caption":"Category","name":"preference_category","rank":2,"optional":true,"editor":"DynamicValue","value":"text"}}},"AAt":{"caption":"Set Preferences (Bulk)","code":{"fn":"function(instance,properties,context){if(!instance.data.knock_user_id)return;if(!properties.preferences_json)return;instance.publishState(\"is_loading\",!0);const preferenceSetId=properties.preference_set_id||\"default\";let payload={};try{payload=JSON.parse(properties.preferences_json)}catch(e){return console.error(\"Invalid JSON provided for Knock Preferences.\"),void instance.publishState(\"is_loading\",!1)}payload.__persistence_strategy__=payload.__persistence_strategy__||\"merge\";let headers={\"Content-Type\":\"application/json\",Authorization:`Bearer ${instance.data.knock_api_key}`};instance.data.knock_user_token&&(headers[\"X-Knock-User-Token\"]=instance.data.knock_user_token),fetch(`https://api.knock.app/v1/users/${instance.data.knock_user_id}/preferences/${preferenceSetId}`,{method:\"PUT\",headers:headers,body:JSON.stringify(payload)}).then((response=>{if(!response.ok)throw new Error(\"Knock API Error: \"+response.status);return response.json()})).then((updatedPrefs=>{instance.publishState(\"knockPreferences_list\",[]),setTimeout((()=>{instance.publishState(\"knockPreferences_list\",instance.data.flattenPreferences(updatedPrefs)),instance.publishState(\"is_loading\",!1),instance.triggerEvent(\"preferences_updated\")}),50)})).catch((err=>{console.error(\"Knock Bulk Set Preferences Error:\",err),instance.publishState(\"is_loading\",!1)}))}"},"fields":{"AAu":{"caption":"Set ID","name":"preference_set_id","rank":0,"editor":"DynamicValue","value":"text","default_val":"default"},"AAv":{"caption":"Value (JSON)","name":"preferences_json","rank":1,"editor":"DynamicValue","value":"text"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Backgroun
282d Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1773130408038x736040031524236200/Polara%20-%20Plugin%20-%20Knock%20Notifications%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){if(instance.data.initialized)return;const knockClient=new Knock(properties.knock_api_key);function flattenPreferences(prefs){let flattened=[];return prefs.channel_types&&\"object\"==typeof prefs.channel_types&&Object.keys(prefs.channel_types).forEach((key=>{flattened.push({_p_type:\"channel_types\",_p_category:null,_p_key:key,_p_value:prefs.channel_types[key]??null})})),prefs.categories&&\"object\"==typeof prefs.categories&&Object.keys(prefs.categories).forEach((category=>{const categoryPref=prefs.categories[category];\"boolean\"==typeof categoryPref?flattened.push({_p_type:\"categories\",_p_category:category,_p_key:null,_p_value:categoryPref??null}):categoryPref&&\"object\"==typeof categoryPref&&categoryPref.channel_types?Object.keys(categoryPref.channel_types).forEach((channelKey=>{flattened.push({_p_type:\"categories\",_p_category:category,_p_key:channelKey,_p_value:categoryPref.channel_types[channelKey]??null})})):flattened.push({_p_type:\"categories\",_p_category:category,_p_key:null,_p_value:null})})),prefs.workflows&&\"object\"==typeof prefs.workflows&&Object.keys(prefs.workflows).forEach((key=>{const workflowPref=prefs.workflows[key];flattened.push({_p_type:\"workflows\",_p_category:null,_p_key:key,_p_value:\"boolean\"==typeof workflowPref?workflowPref:null})})),flattened}instance.data.knockClient=knockClient,instance.data.flattenPreferences=flattenPreferences,instance.data.knock_api_key=properties.knock_api_key,instance.data.knock_user_id=properties.knock_user_id,instance.data.knock_user_token=properties.knock_user_token,knockClient.authenticate(properties.knock_user_id,properties.knock_user_token),instance.data.refreshPreferences=function(setId=\"default\"){return instance.publishState(\"is_loading\",!0),knockClient.user.getPreferences({preferenceSet:setId}).then((prefs=>{const flattened=flattenPreferences(prefs);return instance.publishState(\"knockPreferences_list\",[]),setTimeout((()=>{instance.publishState(\"knockPreferences_list\",flattened),instance.publishState(\"is_loading\",!1),instance.triggerEvent(\"preferences_loaded\")}),50),prefs})).catch((err=>{console.error(\"Knock Preferences Error:\",err),instance.publishState(\"is_loading\",!1)}))},instance.data.refreshPreferences(\"default\"),instance.data.initialized=!0}"}},"platform_type":"web"},"ACv":{"display":"Knock Message Listener","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"ACp":{"caption":"Knock: Public API Key","name":"knock_api_key","rank":0,"editor":"DynamicValue","value":"text"},"ACq":{"caption":"Knock: Current User ID","name":"knock_user_id","rank":1,"editor":"DynamicValue","value":"text"},"ACr":{"caption":"Knock: Current User Token","name":"knock_user_token","rank":2,"editor":"DynamicValue","value":"text","optional":true},"ACs":{"caption":"App Type (Knock Preferences Results)","name":"knock_feed_app_type","rank":4,"editor":"custom_type"},"ACw":{"caption":"Knock Feed: Channel ID","name":"knock_feed_channel_id","rank":3,"editor":"DynamicValue","value":"text"}},"states":{"ACt":{"caption":"Latest Message","name":"latest_message","value":"custom_data_ACs","initialization_code":{"fn":"function(properties,context){}"},"is_list":false},"ACu":{"caption":"Connected?","name":"is_connected","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"events":{"ACo":{"name":"listener_disconnected","caption":"Message Listener disconnected"},"ACx":{"caption":"Message Listener connected","name":"listener_connected"},"ACy":{"name":"message_received","caption":"New Message Received"}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Backgroun
282d Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1773130408038x736040031524236200/Polara%20-%20Plugin%20-%20Knock%20Notifications%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){if(instance.data.initialized)return;const knockClient=new Knock(properties.knock_api_key);knockClient.authenticate(properties.knock_user_id,properties.knock_user_token);const knockFeed=knockClient.feeds.initialize(properties.knock_feed_channel_id),formatSingleItem=item=>{let bubbleObj={_p_id:item.id||\"\",_p_inserted_at:item.inserted_at||\"\",_p_updated_at:item.updated_at||\"\",_p_read_at:item.read_at||null,_p_seen_at:item.seen_at||null,_p_clicked_at:item.clicked_at||null,_p_link_clicked_at:item.link_clicked_at||null,_p_interacted_at:item.interacted_at||null,_p_archived_at:item.archived_at||null,_p_tenant:item.tenant||\"\",_p_total_actors:item.total_actors||0,_p_total_activities:item.total_activities||0};return item.source?(bubbleObj[\"_p_source.categories\"]=item.source.categories||[],bubbleObj[\"_p_source.key\"]=item.source.key||\"\",bubbleObj[\"_p_source.step_ref\"]=item.source.step_ref||\"\",bubbleObj[\"_p_source.type\"]=item.source.type||\"\",bubbleObj[\"_p_source.version_id\"]=item.source.version_id||\"\"):(bubbleObj[\"_p_source.categories\"]=[],bubbleObj[\"_p_source.key\"]=\"\",bubbleObj[\"_p_source.step_ref\"]=\"\",bubbleObj[\"_p_source.type\"]=\"\",bubbleObj[\"_p_source.version_id\"]=\"\"),item.data&&\"object\"==typeof item.data&&Object.keys(item.data).length>0?bubbleObj._p_data=Object.keys(item.data).map((key=>({_p_key:key,_p_value:\"object\"==typeof item.data[key]?JSON.stringify(item.data[key]):String(item.data[key])}))):bubbleObj._p_data=[{_p_key:\"\",_p_value:\"\"}],item.actors&&Array.isArray(item.actors)&&item.actors.length>0?bubbleObj._p_actors=item.actors.map((actor=>{const props=actor.properties||{};return{_p_id:actor.id||\"\",_p_name:actor.name||props.name||\"\",_p_email:actor.email||props.email||\"\",_p_avatar:actor.avatar||props.avatar||\"\",_p_is_object:!!actor.collection,_p_collection:actor.collection||\"\"}})):bubbleObj._p_actors=[],item.activities&&Array.isArray(item.activities)?bubbleObj._p_activities=item.activities.map((activity=>({_p_id:activity.id||\"\",_p_inserted_at:activity.inserted_at||\"\",_p_updated_at:activity.updated_at||\"\"}))):bubbleObj._p_activities=[],item.blocks&&Array.isArray(item.blocks)?bubbleObj._p_blocks=item.blocks.map((block=>{let formattedBlock;return{_p_content:block.content||\"\",_p_name:block.name||\"\",_p_rendered:block.rendered||\"\",_p_type:block.type||\"\",_p_buttons:block.buttons&&Array.isArray(block.buttons)&&block.buttons.length>0?block.buttons.map((btn=>({_p_label:btn.label||\"\",_p_name:btn.name||\"\",_p_action:btn.action||\"\"}))):[{_p_label:\"\",_p_name:\"\",_p_action:\"\"}]}})):bubbleObj._p_blocks=[],bubbleObj};knockFeed.on(\"items.received.realtime\",(({items:items})=>{if(items&&items.length>0){const newToastItem=formatSingleItem(items[0]);instance.publishState(\"latest_message\",newToastItem),instance.triggerEvent(\"message_received\")}})),knockFeed.fetch({limit:1}),knockFeed.listenForUpdates(),knockFeed.store.subscribe((state=>{const isConnected=\"ready\"===state.networkStatus;instance.data.isConnected!==isConnected&&(instance.publishState(\"is_connected\",isConnected),isConnected?instance.triggerEvent(\"listener_connected\"):void 0!==instance.data.isConnected&&instance.triggerEvent(\"listener_disconnected\"),instance.data.isConnected=isConnected)})),instance.data.initialized=!0}"}},"platform_type":"web"},"ADJ":{"display":"Knock Unread Messages","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"ADC":{"caption":"Knock: Public API Key","name":"knock_api_key","rank":0,"editor":"DynamicValue","value":"text"},"ADD":{"caption":"Knock: Current User ID","name":"knock_user_id","rank":1,"editor":"DynamicValue","value":"text"},"ADE":{"caption":"Knock: Current User Token","name":"knock_user_token","rank":2,"editor":"DynamicValue","value":"text","optional":true},"ADG":{"caption":"Knock Feed: Channel ID","name":"knock_feed_channel_id","rank":3,"editor":"DynamicValue","value":"text"}}
282,"states":{"ADH":{"caption":"Has Unread Messages?","name":"has_unread","value":"boolean","initialization_code":{"fn":"function(properties,context){}"},"is_list":false},"ADI":{"caption":"Unread Messages Count","name":"unread_count","value":"number","initialization_code":{"fn":"function(properties,context){}"}}},"code":{"preview":{"fn":"function(instance, properties) {\n instance.canvas.empty()\n //Background Image for Element\n const icon = new Image(properties.bubble.width(), properties.bubble.height() -5 )\n icon.src = 'https://7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1773130408038x736040031524236200/Polara%20-%20Plugin%20-%20Knock%20Notifications%20-%20Logo.png'\n instance.canvas.append(icon)\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){}"},"update":{"fn":"function(instance,properties,context){if(instance.data.initialized)return;const knockClient=new Knock(properties.knock_api_key);knockClient.authenticate(properties.knock_user_id,properties.knock_user_token);const knockFeed=knockClient.feeds.initialize(properties.knock_feed_channel_id,{defaultFeedOptions:{__experimentalCrossBrowserUpdates:!0}});knockFeed.store.subscribe((state=>{if(state.metadata){const unread=state.metadata.unread_count||0;instance.publishState(\"unread_count\",unread),instance.publishState(\"has_unread\",unread>0)}})),knockFeed.listenForUpdates(),knockFeed.fetch(),instance.data.pollInterval=setInterval((()=>{knockFeed.fetch({limit:1})}),5e3),instance.data.initialized=!0}"}},"platform_type":"web"}},"plugin_actions":{"ABK":{"display":"Knock Notifications - Create User","type":"server_side","return_value":{"ABS":{"caption":"ID","name":"id","rank":0,"value":"text"},"ABT":{"caption":"Name","name":"name","rank":1,"value":"text"},"ABU":{"caption":"Email","name":"email","rank":2,"value":"text"},"ABV":{"caption":"Phone Number","name":"phone_number","rank":4,"value":"text"},"ABW":{"caption":"Avatar","name":"avatar","rank":3,"value":"text"},"ABX":{"caption":"Created At","name":"created_at","rank":5,"value":"date"}},"fields":{"ABM":{"caption":"User ID","name":"user_id","rank":0,"editor":"DynamicValue","value":"text"},"ABN":{"caption":"Name","name":"name","rank":1,"editor":"DynamicValue","optional":true,"value":"text"},"ABO":{"caption":"Email","name":"email","rank":2,"editor":"DynamicValue","optional":true,"value":"text"},"ABP":{"caption":"Avatar","name":"avatar","rank":3,"editor":"DynamicValue","value":"text","optional":true},"ABQ":{"caption":"Phone Number","name":"phone_number","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ABR":{"caption":"Custom Properties","name":"custom_properties","rank":5,"editor":"key_value_list","value":"text"}}},"ABe":{"display":"Knock Notifications - Identify Object","type":"server_side","return_value":{"ABS":{"caption":"ID","name":"id","rank":0,"value":"text"},"ABT":{"caption":"Collection ID","name":"collection","rank":1,"value":"text"},"ABU":{"caption":"Object Name","name":"name","rank":2,"value":"text"}},"fields":{"ABY":{"caption":"Object ID","name":"object_id","rank":1,"editor":"DynamicValue","value":"text"},"ABZ":{"caption":"Collection Name","name":"collection_name","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ABa":{"caption":"Object Name","name":"name","rank":2,"editor":"DynamicValue","optional":false,"value":"text"},"ABd":{"caption":"Custom Properties","name":"custom_properties","rank":3,"editor":"key_value_list","value":"text"}}},"ABj":{"display":"Knock Notifications - Trigger Workflow","type":"server_side","return_value":{"ABS":{"caption":"Workflow Run ID","name":"workflow_run_id","rank":0,"value":"text"}},"fields":{"ABg":{"caption":"Workflow Key","name":"workflow_key","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ABi":{"caption":"Data Payload","name":"data_payload","rank":4,"editor":"key_value_list","value":"text"},"ABk":{"caption":"Recipients","name":"recipients","rank":1,"editor":"DynamicValue","value":"text","is_list":false},"ABl":{"caption":"Actor","name":"actor","rank":2,"editor":"DynamicValue","value":"text","optional":true},"ABm":{"caption":"Tenant","name":"tenant","rank":3,"editor":"DynamicValue","value":"text","optional":true}}},"ABs":{"display":"Knock Notifications - Cancel Workflow","type":"server_side","fields":{"ABn":{"caption":"Workflow Key","name":"workflow_key","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ABp":{"caption":"Cancellation Key","name":"cancellation_key","rank":1,"editor":"DynamicValue","value":"text","is_list":false,"optional":false},"ABr":{"caption":"Recipients","name":"recipients","rank":2,"editor":"DynamicValue","value":"text","optional":true}}},"ABy":{"display":"Knock Notifications - Merge Users","type":"server_side","return_value":{"ABS":{"caption":"Primary ID","name":"primary_id_out","rank":0,"value":"text"},"ABz":{"caption":"Secondary ID","name":"secondary_id_out","rank":1,"value":"text"}},"fields":{"ABt":{"caption":"Primary User ID","name":"primary_user_id","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ABx":{"caption":"Secondary User ID","name":"secondary_user_id","rank":1,"editor":"DynamicValue","value":"text","optional":false}}},"ACD":{"display":"Knock Notifications - Delete User","type":"server_side","fields":{"ACA":{"caption":"User ID","name":"user_id","rank":0,"editor":"DynamicValue","optional":false,"value":"text"}}},"ACI":{"display":"Knock Notifications - Add User to Audience","type":"server_side","return_value":{"ABS":{"caption":"Is Subscribed?","name":"is_subscribed","rank":0,"value":"boolean"}},"fields":{"ACF":{"caption":"Audience ID","name":"audience_id","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ACG":{"caption":"User ID","name":"user_id","rank":1,"editor":"DynamicValue","optional":false,"value":"text"}}},"ACM":{"display":"Knock Notifications - Subscribe to Object","type":"server_side","fields":{"ACJ":{"caption":"Collection Name","name":"collection_name","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ACK":{"caption":"Object ID","name":"object_id","rank":1,"editor":"DynamicValue","optional":false,"value":"text"},"ACL":{"caption":"Custom Properties","name":"custom_properties","rank":3,"editor":"key_value_list","value":"text"},"ACN":{"caption":"Recipients","name":"recipients","rank":2,"editor":"DynamicValue","value":"text"}}},"ACS":{"display":"Knock Notifications - Unsubscribe from Object","type":"server_side","fields":{"ACO":{"caption":"Collection Name","name":"collection_name","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ACP":{"caption":"Object ID","name":"object_id","rank":1,"editor":"DynamicValue","optional":false,"value":"text"},"ACR":{"caption":"Recipients","name":"recipients","rank":2,"editor":"DynamicValue","value":"text"}}},"ACY":{"display":"Knock Notifications - Schedule Workflow","type":"server_side","return_value":{"ABS":{"caption":"Schedule ID","name":"schedule_id","rank":0,"value":"text"}},"fields":{"ACT":{"caption":"Workflow Key","name":"workflow_key","rank":0,"editor":"DynamicValue","optional":false,"value":"text"},"ACU":{"caption":"Data Payload","name":"data_payload","rank":5,"editor":"key_value_list","value":"text"},"ACV":{"caption":"Recipients","name":"recipients","rank":1,"editor":"DynamicValue","value":"text","is_list":false},"ACW":{"caption":"Actor","name":"actor","rank":3,"editor":"DynamicValue","value":"text","optional":true},"ACX":{"caption":"Tenant","name":"tenant","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ACZ":{"caption":"scheduled_at","name":"scheduled_at","rank":2,"editor":"DynamicValue","value":"date"}}},"ADQ":{"display":"Knock Notifications - Get User Token","type":"server_side","return_value":{"ADS":{"caption":"Token","name":"token","rank":0,"value":"text"}},"fields":{"ADK":{"caption":"User ID","name":"user_id","rank":0,"editor":"DynamicValue","value":"text"},"ADR":{"caption":"expires_in_seconds","name":"expires_in_seconds","rank":1,"editor":"DynamicValue","value":"number","default_val":3600}}},"ADi":{"display":"Knock Notifications - Modify User Properties","type":"server_side","return_value":{"ABS":{"caption":"ID","name":"id","rank":0,"value":"text"},"ABT":{"caption":"Name","name":"name","rank":1,"value":"text"},"ABU":{"caption":"Email","name":"email","rank":2,"value":"text"},"ABV":{"caption":"Phone Number","name":"phone_number","rank":4,"value":"text"},"ABW":{"caption":"Avatar","name":"avatar","rank":3,"value":"text"},"ABX":{"caption":"Created At","name":"created_at","rank":5,"value":"date"}},"fields":{"ADc":{"caption":"User ID","name":"user_id","rank":0,"editor":"DynamicValue","value":"text"},"ADd":{"caption":"Name","name":"name","rank":1,"editor":"DynamicValue","optional":true,"value":"text"},"ADe":{"caption":"Email","name":"email","rank":2,"editor":"DynamicValue","optional":true,"value":"text"},"ADf":{"caption":"Avatar","name":"avatar","rank":3,"editor":"DynamicValue","value":"text","optional":true},"ADg":{"caption":"Phone Number","name":"phone_number","rank":4,"editor":"DynamicValue","value":"text","optional":true},"ADh":{"caption":"Custom Properties","name":"custom_properties","rank":5,"editor":"key_value_list","value":"text"}}},"ADp":{"display":"Knock Notifications - Remove User from Audience","type":"server_side","return_value":{"ABS":{"caption":"Is Removed?","name":"is_removed","rank":0,"value":"boolean"}},"fields":{"ADj":{"caption":"Audience ID","name":"audience_id","rank":0,"editor":"DynamicValue","value":"text"},"ADk":{"caption":"User ID","name":"user_id","rank":1,"editor":"DynamicValue","optional":false,"value":"text"}}}}}; 283window._bubble_page_load_data.plugins_size['1773097837570x703508420517953500'] = 41536; 284window.preloaded['plugin/third_party:1773097837570x703508420517953500:2.2.0'] = true; 285window.plugins["1774560017513x912687727373975600"] = {"human":"Ultimate Color Mode","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"Color Mode","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAD":{"caption":"toggle_type","name":"toggle_type","rank":0,"editor":"Dropdown","default_val":"Light/Dark/System"},"AAE":{"caption":"default_color_mode","name":"default_color_mode","rank":1,"editor":"Dropdown","default_val":"System"},"AAF":{"caption":"System Fallback Mode","name":"system_fallback","rank":2,"editor":"Dropdown","default_val":"light"},"AAG":{"name":"system_override","rank":3,"editor":"DynamicValue","value":"boolean","default_val":false,"caption":"Override User's System Preference?"},"AAH":{"caption":"Mode Style System (JSON)","name":"color_selections","rank":4,"editor":"DynamicValue","value":"text"}},"states":{"AAI":{"caption":"Current Color Mode","name":"current_color_mode","value":"text","initialization_code":{"fn":"function(properties,context){}"}},"AAJ":{"caption":"System Mode Supported?","name":"has_system_mode","value":"boolean","initialization_code":{"fn":"function(properties,context){}"}}},"actions":{"AAK":{"caption":"Set Color Mode","code":{"fn":"function(instance,properties,context){instance.data.setNewColorMode(properties.setNewColorMode.toLowerCase())}"},"fields":{"AAL":{"caption":"Color Mode","name":"setNewColorMode","rank":0,"editor":"Dropdown"}}}},"code":{"preview":{"fn":"function(instance, properties) {\n\tconst previewContainer = document.createElement('div');\n\tpreviewContainer.setAttribute('style', 'background-image: url(//7107bc29efcdd58b3b645778ca0c7a63.cdn.bubble.io/f1774560925); background-size: contain; background-repeat: no-repeat; opacity: .65; position: absolute; top: 0; left: 0; width: 100%; height: 100%;');\n\tinstance.canvas.append(previewContainer);\n}"},"reset":{"fn":"function(instance,context){}"},"initialize":{"fn":"function(instance,context){instance.data.colorMode_set=\"no\",document.body.classList.add(\"transition-colors\")}"},"update":{"fn":"function(instance,properties,context){let cssText;if(document.body.style.cssText.includes(\"default: rgba\")?cssText=document.body.style.cssText:document.documentElement.style.cssText.includes(\"default: rgba\")&&(cssText=document.documentElement.style.cssText),cssText){let arr=cssText.split(\"; \"),varArr=[];arr.forEach((function(vari){let varSplit=vari.split(\":\");varArr.push(varSplit)}),varArr),instance.data.cssTextObj=Object.fromEntries(varArr)}instance.data.properties=properties,instance.data.toggle_type=properties.toggle_type;const persistedMode=window.localStorage.getItem(\"color-mode\"),hasPersistedMode=\"string\"
285==typeof persistedMode&&\"undefined\"!==persistedMode;instance.publishState(\"current_color_mode\",persistedMode),instance.data.systemMode=instance.data.systemMode||window.matchMedia(\"(prefers-color-scheme: dark)\");const systemMode=instance.data.systemMode,hasSystemMode=instance.data.hasSystemMode=\"boolean\"==typeof systemMode.matches;if(instance.publishState(\"has_system_mode\",hasSystemMode),instance.data.setNewColorMode=setNewColorMode,instance.data.getSystemColor=getSystemColor,instance.data.setStyleVar=setStyleVar,instance.data.getInitialColorMode=getInitialColorMode,instance.data.colorSelections=null,properties.color_selections)try{instance.data.colorSelections=JSON.parse(properties.color_selections)}catch(e){console.warn(\"DarkMode Plugin: color_selections is not valid JSON\",e)}function setStyleVar(value){let bubbleVar=value[0].split(\"-\");if(null!=value[1]&&value[1].includes(\"rgba\")){let lastIndex=value[1].lastIndexOf(\",\");document.body.style.setProperty(`--color_${bubbleVar[0]}`,value[1]),document.body.style.setProperty(`--color_${bubbleVar[0]}_rgb`,value[1].slice(5,lastIndex))}else null!=value[1]&&value[1].includes(\"var(--\")&&null!=instance.data.cssTextObj?(document.body.style.setProperty(`--color_${bubbleVar[0]}`,instance.data.cssTextObj[`--color_${bubbleVar[0]}`]),document.body.style.setProperty(`--color_${bubbleVar[0]}_rgb`,instance.data.cssTextObj[`--color_${bubbleVar[0]}_rgb`])):null==value[1]||value[1].includes(\"var(--\")?(null==value[1]||value[1].includes(\"var(--\"))&&(document.body.style.removeProperty(`--color_${bubbleVar[0]}`),document.body.style.removeProperty(`--color_${bubbleVar[0]}_rgb`)):(document.body.style.setProperty(`--color_${bubbleVar[0]}`,value[1]),document.body.style.removeProperty(`--color_${bubbleVar[0]}_rgb`))}function hexToRgb(hex){3===(hex=hex.replace(/^#/,\"\")).length&&(hex=hex.split(\"\").map((c=>c+c)).join(\"\"));const r=undefined,g=undefined,b=undefined;return`${parseInt(hex.substring(0,2),16)},${parseInt(hex.substring(2,4),16)},${parseInt(hex.substring(4,6),16)}`}function setCustomColors(mode){const selections=instance.data.colorSelections;selections&&(Object.keys(selections).forEach((colorId=>{document.body.style.removeProperty(`--color_${colorId}_default`),document.body.style.removeProperty(`--color_${colorId}_default_rgb`)})),Object.entries(selections).forEach((([colorId,values])=>{const colorValue=values[mode];if(colorValue)if(colorValue.startsWith(\"#\"))document.body.style.setProperty(`--color_${colorId}_default`,colorValue),document.body.style.setProperty(`--color_${colorId}_default_rgb`,hexToRgb(colorValue));else if(colorValue.startsWith(\"rgb\")){const match=colorValue.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)/);match&&(document.body.style.setProperty(`--color_${colorId}_default`,colorValue),document.body.style.setProperty(`--color_${colorId}_default_rgb`,match.slice(1,4).join(\",\")))}})))}function setNewColorMode(newMode){let modeColor=newMode;\"system\"==newMode&&(modeColor=instance.data.getSystemColor()),window.localStorage.setItem(\"color-mode\",newMode),instance.publishState(\"current_color_mode\",newMode),instance.data.current_color_mode=newMode;const props=undefined;if(Object.entries(instance.data.properties).forEach((prop=>{prop[0].includes(\"_default\")&&prop[0].includes(`${modeColor}`)&&instance.data.setStyleVar(prop)})),instance.data.properties.options){const optionVars=undefined;instance.data.properties.options.get(0,instance.data.properties.options.length()).forEach((variable=>{const cssVarName=`--${variable.get(\"display\")}`;document.body.style.setProperty(cssVarName,variable.get(modeColor))}))}setCustomColors(modeColor)}function getInitialColorMode(){return instance.data.colorMode_set=\"yes\",properties.system_override?\"light/dark/system\"===properties.toggle_type?\"system\":instance.data.getSystemColor():hasPersistedMode?persistedMode:\"system\"===properties.default_color_mode&&hasSystemMode?\"system\":instance.data.default_color_mode}function getSystemColor(){return instance.data.hasSystemMode?instance.data.systemMode.matches?\"dark\":\"light\":instance.data.default_color_mode}function initApp(){setNewColorMode(getInitialColorMode())}\"system\"==properties.default_color_mode?instance.data.default_color_mode=properties.system_fallback:instance.data.default_color_mode=properties.default_color_mode,!instance.data.system_listener&&hasSystemMode&&(instance.data.system_listener=function(){\"system\"===instance.data.current_color_mode?instance.data.setNewColorMode(\"system\"):instance.data.properties.system_override&&instance.data.setNewColorMode(instance.data.getSystemColor())},systemMode.addEventListener?systemMode.addEventListener(\"change\",instance.data.system_listener):systemMode.addListener&&systemMode.addListener(instance.data.system_listener)),\"complete\"!==document.readyState&&\"interactive\"!==document.readyState||\"no\"!=instance.data.colorMode_set?\"no\"==instance.data.colorMode_set&&(window.onload=event=>{initApp()}):initApp(),\"yes\"==instance.data.colorMode_set&&setNewColorMode(instance.data.current_color_mode)}"}},"platform_type":"web"}}}; 286window._bubble_page_load_data.plugins_size['1774560017513x912687727373975600'] = 7833; 287window.preloaded['plugin/third_party:1774560017513x912687727373975600:1.1.1'] = true; 288window.plugins["1782030280665x635439033792593900"] = {"human":"Native Video Player","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"Native Video Player (Free)","property_applications":{"resizable":true,"MinWidth":true},"add_is_visible":true,"fields":{"AAD":{"caption":"Video URL","name":"video_url","rank":0,"editor":"DynamicValue","value":"text"},"AAE":{"caption":"Autoplay","name":"autoplay","rank":1,"editor":"Checkbox","default_val":false,"in_style":false},"AAF":{"caption":"Loop","name":"loop","rank":2,"editor":"Checkbox","default_val":false},"AAG":{"caption":"Show Controls","name":"show_controls","rank":3,"editor":"Checkbox","default_val":true},"AAH":{"caption":"Resize Mode","name":"resize_mode","rank":4,"editor":"Dropdown","default_val":"contain","optional":true}},"code":{"preview":{"fn":"function(instance, properties) {\n\n\n\n}"},"reset":{"fn":"function(instance,context){}"},"rn_component":{"fn":"function(props) {\n const React = props.context.libraries.react,\n ExpoVideo = props.context.libraries[\"expo-video\"],\n useVideoPlayer = ExpoVideo.useVideoPlayer,\n VideoView = ExpoVideo.VideoView,\n {\n Text: Text,\n View: View\n } = props.context.libraries[\"react-native\"],\n videoUrl = props.video_url || \"\",\n autoplay = !!props.autoplay,\n loop = !!props.loop,\n showControls = !1 !== props.show_controls,\
288n resizeMode = (props.resize_mode || \"contain\").toLowerCase().trim();\n if (!videoUrl) return React.createElement(View, {\n style: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"#000\"\n }\n }, React.createElement(Text, {\n style: {\n color: \"#fff\"\n }\n }, \"No video URL provided\"));\n const player = useVideoPlayer(videoUrl, p => {\n p.loop = loop, autoplay && p.play();\n });\n return React.createElement(VideoView, {\n style: {\n flex: 1,\n width: \"100%\",\n height: \"100%\"\n },\n player: player,\n allowsFullscreen: !0,\n allowsPictureInPicture: !0,\n nativeControls: showControls,\n contentFit: resizeMode\n });\n};"}},"platform_type":"mobile"}}}; 289window._bubble_page_load_data.plugins_size['1782030280665x635439033792593900'] = 2153; 290window.preloaded['plugin/third_party:1782030280665x635439033792593900:1.0.0'] = true; 291window.plugins["1787752141079x790720945153376300"] = {"human":"web view","dependencies":{"use_jquery":true,"plugin_api_version":4},"plugin_elements":{"AAC":{"display":"HTML View","property_applications":{"resizable":true,"MinWidth":true,"Padding":false},"add_is_visible":true,"can_fit_width":true,"can_fit_height":true,"fields":{"AAE":{"caption":"HTML","name":"html","rank":0,"editor":"DynamicValue","value":"text"},"AAF":{"caption":"Allow JavaScript","name":"allowJavaScript","rank":3,"editor":"Checkbox","default_val":true},"AAG":{"caption":"Auto Size","name":"autoSize","rank":4,"editor":"Checkbox","default_val":true},"AAH":{"caption":"Background Color","name":"backgroundColor","rank":1,"editor":"Color","default_val":"rgba(255,255,255,1)"},"AAJ":{"caption":"Enable Scroll","name":"enableScroll","rank":5,"editor":"Checkbox","default_val":true}},"code":{"preview":{"fn":"function(instance, properties) {\n const previewHTML = `\n <div style=\"\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: #ffffff;\n border: 1px solid #e2e8f0;\n border-radius: 8px;\n overflow: hidden;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n box-sizing: border-box;\n \">\n\n <div style=\"\n padding: 14px 16px;\n border-bottom: 1px solid #e5e7eb;\n background: #f8fafc;\n font-size: 14px;\n font-weight: 600;\n color: #374151;\n \">\n HTML Content\n </div>\n\n <div style=\"\n padding: 18px;\n color: #374151;\n font-size: 14px;\n line-height: 1.6;\n \">\n\n <div style=\"\n font-size: 22px;\n font-weight: 600;\n line-height: 1.3;\n margin-bottom: 10px;\n color: #111827;\n \">\n Sample Content\n </div>\n\n <div style=\"\n width: 100%;\n height: 10px;\n background: #e5e7eb;\n border-radius: 5px;\n margin-bottom: 10px;\n \"></div>\n\n <div style=\"\n width: 92%;\n height: 10px;\n background: #e5e7eb;\n border-radius: 5px;\n margin-bottom: 10px;\n \"></div>\n\n <div style=\"\n width: 75%;\n height: 10px;\n background: #e5e7eb;\n border-radius: 5px;\n margin-bottom: 20px;\n \"></div>\n\n <p style=\"margin: 0 0 12px;\">\n HTML content will be displayed here in your native mobile app.\n </p>\n\n <p style=\"margin: 0 0 12px;\">\n You can use formatted text, images, links, tables, lists, and other HTML content.\n </p>\n\n <a style=\"\n color: #2563eb;\n text-decoration: underline;\n \">\n Example link\n </a>\n\n </div>\n </div>\n `;\n\n $(instance.canvas).empty().append(previewHTML);\n}"},"reset":{"fn":"function(instance,context){}"},"rn_component":{"fn":"function(props) {\n const React = props.context.libraries.react,\n {\n useRef: useRef,\n useState: useState\n }
291 = React,\n {\n View: View,\n Linking: Linking\n } = props.context.libraries[\"react-native\"],\n {\n WebView: WebView\n } = props.context.libraries[\"react-native-webview\"],\n html = props.html || \"\",\n backgroundColor = props.backgroundColor || \"white\",\n allowJavaScript = !1 !== props.allowJavaScript,\n autoSize = !1 !== props.autoSize,\n enableScroll = !0 === props.enableScroll,\n webViewRef = useRef(null),\n [contentHeight, setContentHeight] = useState(1),\n injectedHtml = `\\n <!DOCTYPE html>\\n <html>\\n <head>\\n <meta\\n name=\"viewport\"\\n content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\"\\n />\\n\\n <style>\\n html, body {\\n margin: 0;\\n padding: 0;\\n width: 100%;\\n overflow-x: hidden;\\n background: ${backgroundColor};\\n }\\n\\n body {\\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\\n font-size: 16px;\\n line-height: 1.5;\\n color: #000;\\n box-sizing: border-box;\\n }\\n\\n *, *::before, *::after {\\n box-sizing: border-box;\\n }\\n\\n img {\\n max-width: 100%;\\n height: auto;\\n }\\n\\n video {\\n max-width: 100%;\\n height: auto;\\n }\\n\\n iframe {\\n max-width: 100%;\\n }\\n\\n table {\\n max-width: 100%;\\n overflow-x: auto;\\n }\\n </style>\\n </head>\\n\\n <body>\\n ${html}\\n\\n <script>\\n (function() {\\n\\n document.addEventListener(\"click\", function(event) {\\n try {\\n var element = event.target;\\n\\n while (element && element.tagName !== \"A\") {\\n element = element.parentElement;\\n }\\n\\n if (!element) {\\n return;\\n }\\n\\n var href = element.getAttribute(\"href\");\\n\\n if (!href) {\\n return;\\n }\\n\\n href = href.trim();\\n\\n if (\\n href.startsWith(\"http://\") ||\\n href.startsWith(\"https://\")\\n ) {\\n event.preventDefault();\\n\\n window.ReactNativeWebView.postMessage(\\n JSON.stringify({\\n type: \"external_link\",\\n url: href\\n })\\n );\\n\\n return;\\n }\\n\\n event.preventDefault();\\n\\n } catch (e) {}\\n });\\n\\n function sendHeight() {\\n try {\\n var height = Math.max(\\n document.body.scrollHeight,\\n document.body.offsetHeight,\\n document.documentElement.scrollHeight,\\n document.documentElement.offsetHeight\\n );\\n\\n window.ReactNativeWebView.postMessage(\\n JSON.stringify({\\n type: \"height\",\\n height: height\\n })\\n );\\n } catch (e) {}\\n }\\n\\n window.addEventListener(\"load\", sendHeight);\\n\\n if (typeof ResizeObserver !== \"undefined\") {\\n try {\\n var observer = new ResizeObserver(function() {\\n sendHeight();\\n });\\n\\n observer.observe(document.body);\\n } catch (e) {}\\n }\\n\\n setTimeout(sendHeight, 100);\\n setTimeout(sendHeight, 500);\\n setTimeout(sendHeight, 1000);\\n\\n })();\\n <\\/script>\\n </body>\\n </html>\\n `,\n handleOpenExternalLink = function (url) {\n tr
291y {\n if (!url || \"string\" != typeof url) return;\n var value = url.trim();\n if (!value.startsWith(\"http://\") && !value.startsWith(\"https://\")) return;\n Linking.openURL(value).catch(function () {});\n } catch (e) {}\n };\n return React.createElement(View, {\n style: {\n flex: 1,\n width: \"100%\",\n backgroundColor: backgroundColor\n }\n }, React.createElement(WebView, {\n ref: webViewRef,\n source: {\n html: injectedHtml\n },\n javaScriptEnabled: allowJavaScript,\n domStorageEnabled: !0,\n originWhitelist: [\"*\"],\n scrollEnabled: !autoSize && enableScroll,\n showsVerticalScrollIndicator: !autoSize && enableScroll,\n showsHorizontalScrollIndicator: !1,\n allowsInlineMediaPlayback: !0,\n mediaPlaybackRequiresUserAction: !1,\n automaticallyAdjustContentInsets: !1,\n mixedContentMode: \"always\",\n setSupportMultipleWindows: !1,\n style: {\n width: \"100%\",\n height: autoSize ? contentHeight : \"100%\",\n backgroundColor: backgroundColor\n },\n onMessage: function (event) {\n try {\n var data = JSON.parse(event.nativeEvent.data);\n if (\"height\" === data.type && \"number\" == typeof data.height && data.height > 0) return void setContentHeight(Math.ceil(data.height));\n \"external_link\" === data.type && \"string\" == typeof data.url && handleOpenExternalLink(data.url);\n } catch (e) {}\n }\n }));\n};"}},"platform_type":"mobile"}}}; 292window._bubble_page_load_data.plugins_size['1787752141079x790720945153376300'] = 8784; 293window.preloaded['plugin/third_party:1787752141079x790720945153376300:1.2.0'] = true; 294window['bubble_run_derived'] = window['bubble_run_derived'] || {} 295window['bubble_run_derived']['{"function_name":"PageByName","args":[]}'] = {"404":{"id":"AAU","_path":"%p3.AAX"},"reset_pw":{"id":"AAL","_path":"%p3.AAW"},"dj":{"id":"bTHBP","_path":"%p3.bTHBV"},"auth":{"id":"bTIIz","_path":"%p3.bTIJn"},"connect":{"id":"bTNOL","_path":"%p3.bTNOx"},"index":{"id":"bTnEO","_path":"%p3.bTnEa"},"account_confirmed":{"id":"bTuRd","_path":"%p3.bTuSV"},"widget":{"id":"bUAyf","_path":"%p3.bUAyj"},"search":{"id":"bUDWo","_path":"%p3.bUDZo"},"debug":{"id":"bUEcZ","_path":"%p3.bUEcd"},"discover":{"id":"bUKLN","_path":"%p3.bUKPp"},"dashboard":{"id":"bUUQN","_path":"%p3.bUUQl"},"genres":{"id":"bUYHW","_path":"%p3.bUYKE"},"paylink":{"id":"bUcpl","_path":"%p3.bUcsT"},"signup":{"id":"bUgRb","_path":"%p3.bUgTH"},"legal":{"id":"bUvNC","_path":"%p3.bUvOb"},"company":{"id":"bUvqT","_path":"%p3.bUvuD"},"djs":{"id":"bUvuT","_path":"%p3.bUvyD"},"occasions":{"id":"bUwln","_path":"%p3.bUwpB"},"extras":{"id":"bUwzC","_path":"%p3.bUxCs"},"tools":{"id":"bUxKd","_path":"%p3.bUxPK"},"oauth":{"id":"bVCKj","_path":"%p3.bVCPb"},"blog":{"id":"bVLlJ","_path":"%p3.bVLpj"},"locations":{"id":"bVRnH","_path":"%p3.bVRqz"},"budgets":{"id":"bVSER","_path":"%p3.bVSIN"},"product":{"id":"bVVuX","_path":"%p3.bVVvs"},"djx":{"id":"bVZBl","_path":"%p3.bVZjV"},"admin":{"id":"bpsqnf","_path":"%p3.bpllqp"},"developers":{"id":"bdvpg0","_path":"%p3.developers"},"downloads":{"id":"bdlpg0","_path":"%p3.downloads"},"hire":{"id":"bpfoujqf","_path":"%p3.hire"},"orlandosdjsummit":{"id":"byqqfgshl","_path":"%p3.orlandosdjsummit"}} 296window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true; 297window['bubble_run_derived']['{"function_name":"CustomByNameV2","args":[]}'] = {"{Global}: Component - Chip RG - Reference [Element]":{"id":"bprch04","_path":"%ed._global___component___chip_rg___reference__element_","custom_element_platform":"web"},"{Global}: Component - Upload [Element]":{"id":"bpuplre1","_path":"%ed._global___component___upload__element_","custom_element_platform":"web"},"{DJ}.{Calendar}.{Block}: Create Busy Block [Dialog]":{"id":"bTNth","_path":"%ed.bTNwH","custom_element_platform":"web"},"{Conversation}.{Message}: Blob [Element]":{"id":"bTOMW","_path":"%ed.bTOMX","custom_element_platform":"web"},"{Global}: Component - Error [Dialog]":{"id":"bTQYC","_path":"%ed.bTQYh","custom_element_platform":"web"},"{User}: Profile Picture [Element]":{"id":"bTRfF0","_path":"%ed.bTRfG0","custom_element_platform":"web"},"{User}: Payment Method - Accepted Methods [Element]":{"id":"bTRox0","_path":"%ed.bTRpB0","custom_element_platform":"web"},"{Global}: Component - Redirect [Element]":{"id":"bTRqt0","_path":"%ed.bTRqu0","custom_element_platform":"web"},"{Global}: Auth - Login [Dialog]":{"id":"bTSGA","_path":"%ed.bTSGY","custom_element_platform":"web"},"{Global}: Utility Belt [Element]":{"id":"bTSTl","_path":"%ed.bTSTm","custom_element_platform":"web"},"{Global}: Component - Tooltip [Element]":{"id":"bTSWO","_path":"%ed.bTSWP","custom_element_platform":"web"},"{Global}: Component - Unauthorized [Element]":{"id":"bTTOk","_path":"%ed.bTTOl","custom_element_platform":"web"},"{Subscription Plan}: Upsell [Dialog]":{"id":"bTUyZ","_path":"%ed.bTVBb","custom_element_platform":"web"},"{Event}.{Review}: Review [Dialog]":{"id":"bTVMH","_path":"%ed.bTVMj","custom_element_platform":"web"},"{Global}: Feature - Lock Handler [Element]":{"id":"bTVhq","_path":"%ed.bTVhr","custom_element_platform":"web"},"{Global}: Component - Note/Tip/Info [Element]":{"id":"bTWen","_path":"%ed.bTWer","custom_element_platform":"web"},"{Event}.{Proposal}: Data - DateTime/Duration [Element]":{"id":"bTXGP","_path":"%ed.bTXGQ","custom_element_platform":"web"},"{Global}: Component - Chip - User [Element]":{"id":"bTXfR","_path":"%ed.bTXfS","custom_element_platform":"web"},"{Global}: Component - Tooltip (No Icon) [Element]":{"id":"bTXga","_path":"%ed.bTXkF","custom_element_platform":"web"},"{Payment}: SCEC - Onboarding [Element]":{"id":"bTZTi","_path":"%ed.bTZTj","custom_element_platform":"web"},"{Payment}: SCEC - Documents [Element]":{"id":"bTZaY","_path":"%ed.bTZar","custom_element_platform":"web"},"{Payment}: SCEC - Account Management [Element]":{"id":"bTZav","_path":"%ed.bTZbO","custom_element_platform":"web"},"{Payment}: SCEC - Balances [Element]":{"id":"bTZcz","_path":"%ed.bTZdS","custom_element_platform":"web"},"{Payment}: SCEC - Notification Banner [Element]":{"id":"bTZdT","_path":"%ed.bTZdp","custom_element_platform":"web"},"{Payment}: SCEC - Payouts List [Element]":{"id":"bTZdq","_path":"%ed.bTZeJ","custom_element_platform":"web"},"{Global}: Component - Loader [Element]":{"id":"bTZsZ","_path":"%ed.bTZtH","custom_element_platform":"web"},"{DJ}.{Calendar}.{Block}: Detailed [Dialog]":{"id":"bTaat","_path":"%ed.bTabz","custom_element_platform":"web"},"{DJ}.{Calendar}: Settings [Dialog]":{"id":"bTahn","_path":"%ed.bTaho","custom_element_platform":"web"},"<dashboard>/content/profile: {DJ} - Profile Handle [Dialog]":{"id":"bTbhA","_path":"%ed.bTbiI","custom_element_platform":"web"},"{Global}: Component - Empty State - Card [Element]":{"id":"bTcDf","_path":"%ed.bTcDg","custom_element_platform":"web"},"{Global}: Widget - Mix [Element]":{"id":"bTdWq","_path":"%ed.bTdWr","custom_element_platform":"web"},"{DJ}.{Mix}: CRUD [Dialog]":{"id":"bTdZR","_path":"%ed.bTdaZ","custom_element_platform":"web"},"{Subscription Plan}: Plans [Element]":{"id":"bTdox","_path":"%ed.bTdpB","custom_element_platform":"web"},"{DJ}.{Mix}: Player [FG]":{"id":"bTeDX","_path":"%ed.bTeDY","custom_element_platform":"web"},"{DJ}.{Post}: CRUD [Dialog]":{"id":"bTeQy","_path":"%ed.bTeTb","custom_element_platform":"web"},"{Global}: Component - Chip - Small [Element]":{"id":"bTfiR","_path":"%ed.bTfib","custom_element_platform":"web"},"<dashboard>/settings/account: {User} - Notification Preferences [Element]":{"id":"bTgQd","_path":"%ed.bTgQe","custom_element_platform":"web"},"{User}: Payment Method - Add [Element]":{"id":"bTiNo","_path":"%ed.bTiPn","custom_element_platform":"web"},"{User}: Payment Method - Select [Element]":{"id":"bTiTQ","_path":"%ed.bTiTR","custom_element_platform":"web"},"{Global}: Component - Empty State - Buttoned Card [Element]":{"id":"bTiYH","_path":"%ed.bTiYT","custom_element_platform":"web"},"{User}: Payment Method - Apply Promotion Code [Element]":{"id":"bTibr","_path":"%ed.bTidG","custom_element_platform":"web"},"{DJ}: Component - Platinum Badge [Element]":{"id":"bTioo","_path":"%ed.bTiop","custom_element_platform":"web"},"{DJ}: Verification Icon [Element]":{"id":"bTioz","_path":"%ed.bTipA","custom_element_platform":"web"},"{DJ}: Book [FG]":{"id":"bTiqr","_path":"%ed.bTitm","custom_element_platform":"web"},"{Global}: Auth - Form - Password [Element]":{"id":"bTkst","_path":"%ed.bTksu","custom_element_platform":"web"},"{Global}: Component - Empty State - Inline [Element]":{"id":"bTlVO","_path":"%ed.bTlVg","custom_element_platform":"web"},"<dashboard>/calendar: {DJ}.{Calendar} [Element]":{"id":"bTleT","_path":"%ed.bTleU","custom_element_platform":"web"},"{DJ}: Share [Dialog]":{"id":"bTnAR","_path":"%ed.bTnAS","custom_element_platform":"web"},"{User}
297: Notifications - Bell [Element]":{"id":"bTnWa","_path":"%ed.bTnWb","custom_element_platform":"web"},"{User}: Notifications [Dialog]":{"id":"bTnXz","_path":"%ed.bTnZr","custom_element_platform":"web"},"{DJ} - Profile Card [Element]":{"id":"bTniz","_path":"%ed.bTnjD","custom_element_platform":"web"},"{DJ}: GigGuard - Badge [Element]":{"id":"bToLM","_path":"%ed.bToLN","custom_element_platform":"web"},"{Global}: Component - Share Handler [Element]":{"id":"bTpGW","_path":"%ed.bTpGX","custom_element_platform":"web"},"{Global}: Component - Video Player [Element]":{"id":"bTqaX","_path":"%ed.bTqab","custom_element_platform":"web"},"{Global}: Component - File Preview [Dialog]":{"id":"bTqeG","_path":"%ed.bTqfC","custom_element_platform":"web"},"{Global}: Component - Audio Player [Element]":{"id":"bTrct","_path":"%ed.bTrcu","custom_element_platform":"web"},"<dj>/{DJ}: Profile - Master [Element]":{"id":"bTrlE","_path":"%ed.bTrqg","custom_element_platform":"web"},"{Global}: Component - Confirm [Dialog]":{"id":"bTrxL","_path":"%ed.bTryG","custom_element_platform":"web"},"{Event}.{Proposal}: Action - Add to Calendar [Element]":{"id":"bTsTS","_path":"%ed.bTsTT","custom_element_platform":"web"},"{DJ}.{Calendar}: Settings - External Sync [Element]":{"id":"bTsXf","_path":"%ed.bTsZX","custom_element_platform":"web"},"{DJ}.{Mix}: Detailed [Dialog]":{"id":"bTsur","_path":"%ed.bTsxv","custom_element_platform":"web"},"<dashboard>/settings/integrations: {DJ} [Element]":{"id":"bTtTn","_path":"%ed.bTtXi","custom_element_platform":"web"},"{Global}: Auth - Signup - Client [Dialog]":{"id":"bTtmv","_path":"%ed.bTtpv","custom_element_platform":"web"},"{Global}: Auth - Form - Login [Element]":{"id":"bTuTv","_path":"%ed.bTuTz","custom_element_platform":"web"},"{Global}: Component - Inline Alert [Element]":{"id":"bTvbD","_path":"%ed.bTvbL","custom_element_platform":"web"},"{Subscription Plan}: Upgrade [Dialog]":{"id":"bTxwV","_path":"%ed.bTxxF","custom_element_platform":"web"},"{Global}: Header [Element]":{"id":"bTyBT","_path":"%ed.bTyDc","custom_element_platform":"web"},"{Global}: Footer [Element]":{"id":"bTyPn","_path":"%ed.bTyTB","custom_element_platform":"web"},"{Global}: Component - Unauthorized [FG]":{"id":"bTzxb","_path":"%ed.bTzxf","custom_element_platform":"web"},"<dashboard>/settings/account: {User} [Element]":{"id":"bTzyt","_path":"%ed.bTzyu","custom_element_platform":"web"},"<dashboard>/help: {DJ}, {Client} [Element]":{"id":"bUAHz","_path":"%ed.bUAPB","custom_element_platform":"web"},"{Global}: Widget - Builder [Element]":{"id":"bUBBZ","_path":"%ed.bUBCN","custom_element_platform":"web"},"{Global}: Widget - Book [Element]":{"id":"bUBGj","_path":"%ed.bUBHr","custom_element_platform":"web"},"{Global}: Widget - Authorized Widget Domains [Dialog]":{"id":"bUBNN","_path":"%ed.bUBOC","custom_element_platform":"web"},"{Global}: Input - Text [Dialog]":{"id":"bUBRt","_path":"%ed.bUBSd","custom_element_platform":"web"},"{Global}: Search [Dialog]":{"id":"bUEQe","_path":"%ed.bUEQf","custom_element_platform":"web"},"{DJ}: Profile [Dialog]":{"id":"bUEaI","_path":"%ed.bUEcT","custom_element_platform":"web"},"{Global}: Auth - OAuth [Element]":{"id":"bUJAh","_path":"%ed.bUJAl","custom_element_platform":"web"},"{Global}: Component - Toast [Dialog]":{"id":"bUJFA0","_path":"%ed.bUJFl0","custom_element_platform":"web"},"{DJ}.{Post}: Card [Element]":{"id":"bUKUx","_path":"%ed.bUKUy","custom_element_platform":"web"},"{DJ}.{Post}: Action Menu [Element]":{"id":"bULNH","_path":"%ed.bULWt","custom_element_platform":"web"},"<discover>/mixes: {DJ}.{Mix} - Card [Element]":{"id":"bULil","_path":"%ed.bULkN","custom_element_platform":"web"},"<dashboard>/content/mixes: {DJ}.{Mix} - SoundCloud Sync [Dialog]":{"id":"bULoB","_path":"%ed.bULrJ","custom_element_platform":"web"},"{Global}: Auth - Form - Signup [Element]":{"id":"bULuJ","_path":"%ed.bULvb","custom_element_platform":"web"},"{Client}: Onboarding [Dialog]":{"id":"bUMJJ","_path":"%ed.bUMKE","custom_element_platform":"web"},"<dashboard>/settings/billing: {Subscription Plan} [Element]":{"id":"bUPgL","_path":"%ed.bUPhb","custom_element_platform":"web"},"{Global}: Picker - Event Date/Time [Element]":{"id":"bUQXx","_path":"%ed.bUQXy","custom_element_platform":"web"},"{DJ}.{Post}: Detailed [Dialog]":{"id":"bUREl","_path":"%ed.bUREm","custom_element_platform":"web"},"{Global}: Component - Report Abuse [Dialog]":{"id":"bUSfn","_path":"%ed.bUSgF","custom_element_platform":"web"},"{Global}: Component - Submit DMCA [Dialog]":{"id":"bUSmZ","_path":"%ed.bUSoE","custom_element_platform":"web"},"<dashboard>/content/profile: {DJ} - DJ Link [Dialog]":{"id":"bUTWl","_path":"%ed.bUTWp","custom_element_platform":"web"},"<dashboard>/analytics: {DJ} [Element]":{"id":"bUUHP","_path":"%ed.bUUIJ","custom_element_platform":"web"},"<dashboard>: Master [Element]":{"id":"bUURc","_path":"%ed.bUUVA","custom_element_platform":"web"},"{Global}: Component - Copy Icon [Element]":{"id":"bUYbn","_path":"%ed.bUYcK","custom_element_platform":"web"},"{User}: Payment Method - Manage [Element]":{"id":"bUYzN","_path":"%ed.bUZAj","custom_element_platform":"web"},"<dashboard>/content/mixes: {DJ}.{Mix} [Element]":{"id":"bUbde0","_path":"%ed.bUbgL0","custom_element_platform":"web"},"<dashboard>/finance/payouts: {Transfer} [Element]":{"id":"bUblE0","_path":"%ed.bUbsk0","custom_element_platform":"web"},"<dashboard>/finance/settings: {Payment} [Element]":{"id":"bUbxD","_path":"%ed.bUbxv","custom_element_platform":"web"},"{Payment}: {DJ} Onboarding [Element]":{"id":"bUcDR","_path":"%ed.bUcJW","custom_element_platform":"web"},"{Event}.{Proposal}: Pay [Dialog]":{"id":"bUcYo","_path":"%ed.bUcaN","custom_element_platform":"web"},"{Global}: Component - Chip - Medium [Element]":{"id":"bUcko","_path":"%ed.bUckz","custom_element_platform":"web"},"<dashboard>: {DJ} - Quick Actions [Element]":{"id":"bUdXb","_path":"%ed.bUdXc","custom_element_platform":"web"},"{User}: Verification - Handler [Element]":{"id":"bUdhl","_path":"%ed.bUdkY","custom_element_platform":"web"},"<dashboard>/finance/paylinks: {DJ}.{PayLink}
297 [Element]":{"id":"bUdwY","_path":"%ed.bUeBE","custom_element_platform":"web"},"<dashboard>/finance/payments: {Payment} [Element]":{"id":"bUeut","_path":"%ed.bUfCI","custom_element_platform":"web"},"{Global}: Component - File Uploader [Dialog]":{"id":"bUgXi","_path":"%ed.bUgXj","custom_element_platform":"web"},"{Global}: Component - Picker - Genres [Dialog]":{"id":"bUgzY","_path":"%ed.bUhAs","custom_element_platform":"web"},"{Global}: Component - Chip RG [Element]":{"id":"bUhKR","_path":"%ed.bUhKi","custom_element_platform":"web"},"<dashboard>/content/posts: {DJ}.{Post} [Element]":{"id":"bUhpk","_path":"%ed.bUhsv","custom_element_platform":"web"},"<dashboard>/content/profile: {DJ} [Element]":{"id":"bUiYK","_path":"%ed.bUial","custom_element_platform":"web"},"{Global}: Component - Picker - Profile Tags [Dialog]":{"id":"bUkbP","_path":"%ed.bUkcj","custom_element_platform":"web"},"{Global}: Component - Random HTML ID [Element]":{"id":"bUkpT","_path":"%ed.bUkpX","custom_element_platform":"web"},"{Global}: Component - Picker - Requisites [Dialog]":{"id":"bUlFn","_path":"%ed.bUlHH","custom_element_platform":"web"},"{Global}: Component - Picker - Extras [Dialog]":{"id":"bUlIZ","_path":"%ed.bUlJv","custom_element_platform":"web"},"{Global}: Component - Picker - Occasions [Dialog]":{"id":"bUlLD","_path":"%ed.bUlMX","custom_element_platform":"web"},"<dashboard>/bookings/reviews: {DJ} [Element]":{"id":"bUlUZ","_path":"%ed.bUlbp","custom_element_platform":"web"},"<dashboard>/bookings/clients: {DJ} [Element]":{"id":"bUmHb","_path":"%ed.bUmSM","custom_element_platform":"web"},"{Global}: Component - Picker - Service Areas [Dialog]":{"id":"bUmTB","_path":"%ed.bUmUb","custom_element_platform":"web"},"{DJ}: Message [Dialog]":{"id":"bUmYx","_path":"%ed.bUmdP","custom_element_platform":"web"},"<dashboard>/Inbox [Element]":{"id":"bUnrc","_path":"%ed.bUoCN","custom_element_platform":"web"},"<dashboard>/bookings/proposals: {DJ} [Element]":{"id":"bUpKr","_path":"%ed.bUpVZ","custom_element_platform":"web"},"{Conversation}: Detailed [Element]":{"id":"bUqQW","_path":"%ed.bUqYJ","custom_element_platform":"web"},"{Event}.{Proposal}.{Document}: Detailed [Dialog]":{"id":"bUqrF","_path":"%ed.bUqrJ","custom_element_platform":"web"},"<dashboard>/bookings/proposals/proposal: {Event}.{Proposal} - Builder [Element]":{"id":"bUrRH","_path":"%ed.bUrbX","custom_element_platform":"web"},"{Event}.{Proposal}.{Document}: Template Preview [Dialog]":{"id":"bUtPJ","_path":"%ed.bUtTc","custom_element_platform":"web"},"{Event}.{Proposal}.{Document}: CRUD [Dialog]":{"id":"bUtdl","_path":"%ed.bUtel","custom_element_platform":"web"},"{Event}.{Proposal}.{Document}: Action Menu [Element]":{"id":"bUvXD","_path":"%ed.bUvXu","custom_element_platform":"web"},"{Global}: Component - FAQ [Element]":{"id":"bUvly","_path":"%ed.bUvmK","custom_element_platform":"web"},"{Event}.{Proposal}: Proposal [Element]":{"id":"bVAkD","_path":"%ed.bVAkQ","custom_element_platform":"web"},"<dashboard>/bookings/proposals/progress: {DJ} - Progress [Element]":{"id":"bVDqb","_path":"%ed.bVDwR","custom_element_platform":"web"},"{Event}.{Proposal}.{Sourced}: Create [Dialog]":{"id":"bVEIK","_path":"%ed.bVENI","custom_element_platform":"web"},"{DJ}: Onboarding [Element]":{"id":"bVHju","_path":"%ed.bVIBu","custom_element_platform":"web"},"<dashboard>/bookings/events: {Client} [Element]":{"id":"bVJYQ2","_path":"%ed.bVJrB2","custom_element_platform":"web"},"<dashboard>/bookings/proposals: {Client} [Element]":{"id":"bVKgh0","_path":"%ed.bVKzS0","custom_element_platform":"web"},"<dashboard>/bookings/proposals/progress: {Client} - Progress [Element]":{"id":"bVLNL","_path":"%ed.bVLYg","custom_element_platform":"web"},"{Global}: Search - Filter [Element]":{"id":"bVMyl","_path":"%ed.bVNNg","custom_element_platform":"web"},"{Global}: Guided Search [Dialog]":{"id":"bVNfD","_path":"%ed.bVNjF","custom_element_platform":"web"},"{Global}: Component - CTA - Large [Element]":{"id":"bVQSd","_path":"%ed.bVQSe","custom_element_platform":"web"},"<discover>/events: {DJ}.{Live Event} - Card [Element]":{"id":"bVSfG","_path":"%ed.bVSgf","custom_element_platform":"web"},"{DJ}.{Live Event}: CRUD [Dialog]":{"id":"bVShn","_path":"%ed.bVSnQ","custom_element_platform":"web"},"<dashboard>/content/events: {DJ}.{Live Event} [Element]":{"id":"bVSqb","_path":"%ed.bVStn","custom_element_platform":"web"},"<discover>: Sidebar - Filter [Element]":{"id":"bVUjw","_path":"%ed.bVUrW","custom_element_platform":"web"},"<discover>/events: {DJ}.{Live Event} - Detailed [Element]":{"id":"bVWXJ","_path":"%ed.bVWjv","custom_element_platform":"web"},"{Global}: Component - Announcement [Dialog]":{"id":"bVYVb","_path":"%ed.bVYWA","custom_element_platform":"web"},"{Global}: Campaign Convert [Dialog]":{"id":"bVYaO","_path":"%ed.bVYan","custom_element_platform":"web"},"{Global}
297: Widget - Live Event [Element]":{"id":"bVYrN","_path":"%ed.bVYsr","custom_element_platform":"web"},"#Mobile - {Global}: Offline Banner [FG]":{"id":"bVbQp","_path":"%ed.bVbQw","custom_element_platform":"mobile"},"{Global}: {DJ} - Discovery Channels Showcase [Element]":{"id":"bVbXU","_path":"%ed.bVbXm","custom_element_platform":"web"},"<dashboard>: Mobile Bottom Bar [FG]":{"id":"bVcIW","_path":"%ed.bVcIX","custom_element_platform":"web"},"#Mobile - {Global}: Component - Sheet Header [Element]":{"id":"bVdqm","_path":"%ed.bVdqn","custom_element_platform":"mobile"},"#Mobile - {Global}: Auth [Element]":{"id":"bVdwJ","_path":"%ed.bVdyq","custom_element_platform":"mobile"},"#Mobile - {Global}: Auth - OAuth [Element]":{"id":"bVeKv","_path":"%ed.bVeNT","custom_element_platform":"mobile"},"#Mobile - {Global}: Utility Belt [Element]":{"id":"bVeeo","_path":"%ed.bVeep","custom_element_platform":"mobile"},"#Mobile - <dashboard>: Header [FG]":{"id":"bVewX","_path":"%ed.bVewh","custom_element_platform":"mobile"},"#Mobile - {Global}: Signup [Element]":{"id":"bVfQt","_path":"%ed.bVfSl","custom_element_platform":"mobile"},"#Mobile - {Global}: Signup [Sheet]":{"id":"bVfhv","_path":"%ed.bVfiC","custom_element_platform":"mobile"},"#Mobile - {Global}: Component - Empty State [Element]":{"id":"bVgAB","_path":"%ed.bVgAJ","custom_element_platform":"mobile"},"#Mobile - <dashboard>: Navigation - More [Sheet]":{"id":"bVgWV","_path":"%ed.bVgWc","custom_element_platform":"mobile"},"#Mobile - {Global}: Unavailable on Mobile [Sheet]":{"id":"bVhdC","_path":"%ed.bVhda","custom_element_platform":"mobile"},"#Mobile - {Conversation}.{Message}: Message Blob [Element]":{"id":"bViFD","_path":"%ed.bViFQ","custom_element_platform":"mobile"},"{DJ}: Signup > Inline Onboarding [Element]":{"id":"bpnoppuk","_path":"%ed.bpnoppuj","custom_element_platform":"web"},"<dashboard>/bookings/reviews: {Client} [Element]":{"id":"bpsOoJSO","_path":"%ed.bptldOsoyxK","custom_element_platform":"web"},"#Mobile - {Global}: Auth [Sheet]":{"id":"bgauthroot","_path":"%ed.global__mobile___auth__dialog_","custom_element_platform":"mobile"},"#Mobile - <dashboard>: Bottom Bar [FG]":{"id":"bfmbotbar","_path":"%ed.global__mobile___bottom_bar__fg_","custom_element_platform":"mobile"},"#Mobile - {Global}: Top Bar [FG]":{"id":"bgtopbar","_path":"%ed.global__mobile___top_bar__fg_","custom_element_platform":"mobile"}} 298window.preloaded['app/derived:{"function_name":"CustomByNameV2","args":[]}'] = true; 299window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = [] 300window.preloaded['app/derived:{"function_name":"UserCalls","args":[]}'] = true; 301window['bubble_run_derived']['{"function_name":"OAuthProviders","args":[]}'] = ["apple"] 302window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true; 303window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"event":[{"name":"_event___proposal__selected_custom_event___offer","value":"custom.event___offer","display":"{Event}.{Proposal}:selected","deleted":null},{"name":"_status__option_a_1__event___status_","value":"option.a_1__event___status_","display":"(status)","deleted":null},{"name":"enddate_date","value":"date","display":"endDateTime","deleted":null},{"name":"eventlocation_geographic_address","value":"geographic_address","display":"location","default_val":"","deleted":null},{"name":"eventname_text","value":"text","display":"name","deleted":null},{"name":"eventtype_option_event_types","value":"option.event_types","display":"(occasion)","deleted":null},{"name":"hours_number","value":"number","display":"totalHours","deleted":null},{"name":"obj_client_custom_client","value":"custom.client","display":"{Client}","deleted":null},{"name":"reference_occasion_text","value":"text","display":"reference:occasion","deleted":null},{"name":"startdate_date","value":"date","display":"startDateTime","deleted":null},{"name":"timezone_text","value":"text","display":"timeZone","deleted":null}],"_dj___live_event_":[{"name":"__genre___list_option_genres","value":"list.option.genres","display":"[(genre)]","deleted":null},{"name":"_agerestriction__option__dj___live_event___agerestriction_","value":"option._dj___live_event___agerestriction_","display":"(entryRestriction)","deleted":null},{"name":"_dj___user__user","value":"user","display":"{DJ}:{User} - deleted","deleted":true},{"name":"_dj__custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"_locationplacekeysdenormalized__list_text","value":"list.text","display":"[locationPlaceKeysDenormalized]","deleted":null},{"name":"_status__option__dj___live_event___status_","value":"option._dj___live_event___status_","display":"(status)","default_val":"draft","deleted":null},{"name":"_status_archived__date_date","value":"date","display":"(status:archived):date","deleted":null},{"name":"_status_archived__scheduledapiid_text","value":"text","display":"(status:archived):scheduledApiId","deleted":null},{"name":"_status_archived__scheduleddate_date","value":"date","display":"(status:archived):scheduledDate","deleted":null},{"name":"_status_published__date_date","value":"date","display":"(status:published):date","deleted":null},{"name":"_visibility__option__dj___live_event___visibility_","value":"option._dj___live_event___visibility_","display":"(visibility)","deleted":null},{"name":"coverimage_image","value":"image","display":"coverImage","deleted":null},{"name":"description_html_text","value":"text","display":"descriptionHtml","deleted":null},{"name":"description_text_text","value":"text","display":"descriptionDelta","deleted":null},{"name":"descriptiontext_text","value":"text","display":"descriptionText","deleted":null},{"name":"enddatetime_date","value":"date","display":"endDateTime","deleted":null},{"name":"flyerimage_image","value":"image","display":"flyerImage","deleted":null},{"name":"ispartnerevent_boolean","value":"boolean","display":"isPartnerEvent","deleted":null},{"name":"ispinned_boolean","value":"boolean","display":"isPinned - deleted","deleted":true},{"name":"isticketed_boolean","value":"boolean","display":"isTicketed","deleted":null},{"name":"location_address_geographic_address","value":"geographic_address","display":"locationAddress","default_val":"","deleted":null},{"name":"location_placename_text","value":"text","display":"locationPlaceName","deleted":null},{"name":"organizer_text","value":"text","display":"organizerName","deleted":null},{"name":"preview__user___list_user","value":"list.user","display":"preview[{User}] - deleted","deleted":true},{"name":"previewtoken_text","value":"text","display":"previewToken","deleted":false},{"name":"previewtokenexpiresat_date","value":"date","display":"previewTokenExpiresAt","deleted":false},{"name":"previewtokenexpiresatscheduledapiid_text","value":"text","display":"previewTokenExpiresAtScheduledApiId","deleted":false},{"name":"reference_genres_list_text","value":"list.text","display":"reference:genres","deleted":null},{"name":"security_misusecheckid_text","value":"text","display":"security:misuseCheckID","deleted":null},{"name":"security_moderationcheckid_text","value":"text","display":"security:moderationCheckID","deleted":null},{"name":"slug_text","value":"text","display":"slug - deleted","deleted":true},{"name":"startdatetime_date","value":"date","display":"startDateTime","deleted":null},{"name":"ticketprice_number","value":"number","display":"ticketPrice","deleted":null},{"name":"ticketurl_text","value":"text","display":"ticketUrl","deleted":null},{"name":"timezone_text","value":"text","display":"timezone","deleted":null},{"name":"title_text","value":"text","display":"title","deleted":null}],"_oauth_session_":[{"name":"_integrationprovider__option_os__calendar_api_providers","value":"option.os__calendar_api_providers","display":"(integrationProvider)","deleted":null},{"name":"_status__option__oauth_session___status_","value":"option._oauth_session___status_","display":"(status)","default_val":"pending","deleted":null},{"name":"_user__user","value":"user","display":"{User} - deleted","deleted":true},{"name":"action_connect__user__conflicting_user","value":"user","display":"action:connect:{User}:conflicting","deleted":null},{"name":"action_connect__user__target_user","value":"user","display":"action:connect:{User}:target","deleted":null},{"name":"action_connect_result_text","value":"text","display":"action:connect:result","deleted":null},{"name":"action_consume_error_text","value":"text","display":"action:consume:error","deleted":null},{"name":"action_login_2fa_required_boolean","value":"boolean","display":"action:login:2fa:required","deleted":null},{"name":"action_login__user__match_user","value":"user","display":"action:login:{User}:match","deleted":null},{"name":"action_login_redirecturl_text","value":"text","display":"afterAuthRedirectURL","deleted":null},{"name":"action_signup__platformrole__option_user_role","value":"option.user_role","display":"action:signup:(platformRole)","deleted":null},{"name":"action_signup__user__created_user","value":"user","display":"action:signup:{User}:created","deleted":null},{"name":"action_signup_didacceptpolicies_boolean","value":"boolean","display":"action:signup:didAcceptPolicies","deleted":null},{"name":"action_text","value":"text","display":"action","deleted":null},{"name":"claimed_email_text","value":"text","display":"claimed:email","deleted":null},{"name":"claimed_firstname_text","value":"text","display":"claimed:firstName","deleted":null},{"name":"claimed_id_text","value":"text","display":"claimed:id","deleted":null},{"name":"claimed_lastname_text","value":"text","display":"claimed:lastName","deleted":null},{"name":"claimed_picture_image","value":"image","display":"claimed:picture","deleted":null},{"name":"codeverifier_text","value":"text","display":"pkce:verifier","deleted":null},{"name":"expiresat_date","value":"date","display":"expiresAt","deleted":null},{"name":"oauthredirecturi_text","value":"text","display":"oauthRedirectURI","deleted":null},{"name":"pkce_challenge_text","value":"text","display":"pkce:challenge","deleted":null},{"name":"state_text","value":"text","display":"state","deleted":null}],"a__payout":[{"name":"amount_reversable_number","value":"number","display":"amount:reversible","deleted":null},{"name":"amount_reversed_number","value":"number","display":"amount:reversed","deleted":null},{"name":"amounttransferrable_number","value":"number","display":"amount:transferrable","deleted":null},{"name":"amounttransferred_number","value":"number","display":"amount:transferred","deleted":null},{"name":"description_text","value":"text","display":"description","deleted":null},{"name":"dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"internal_actualtransferdate_date","value":"date","display":"internal:completedDate","deleted":null},{"name":"internal_scheduledtransferapiid_text","value":"text","display":"internal:scheduledApiID","deleted":null},{"name":"internal_scheduledtransferdate_date","value":"date","display":"internal:scheduledDate","deleted":null},{"name":"payment_custom_a_payment","value":"custom.a_payment","display":"{Payment}","deleted":null},{"name":"recipientstripeaccountid_text","value":"text","display":"stripe:destinationAccountID","deleted":null},{"name":"status_option_os_payment___transfer___status","value":"option.os_payment___transfer___status","display":"(status)","deleted":null},{"name":"stripe_currency_text","value":"text","display":"stripe:currency","deleted":null},{"name":"stripe_sourcetransactionid_text","value":"text","display":"stripe:sourcePaymentIntentID","deleted":null},{"name":"stripe_transfergroup_text","value":"text","display":"stripe:transferGroup","deleted":null},{"name":"stripe_transferid_text","value":"text","display":"stripe:transferID","deleted":null},{"name":"user_user","value":"user","display":"{User}","deleted":null}],"a_payment":[{"name":"_paymentmethodbrand__option_os_payment___str
303ipe_card_brand","value":"option.os_payment___stripe_card_brand","display":"(paymentMethodBrand)","deleted":null},{"name":"_source___event___proposal__custom_event___offer","value":"custom.event___offer","display":"(type):{Event}.{Proposal}","deleted":null},{"name":"_status__canceled_reason_option_os_payment___transaction___cancellation_reason","value":"option.os_payment___transaction___cancellation_reason","display":"(status):canceled:(cancellationReason)","deleted":null},{"name":"_status__failed__failurereason__option_a_1__payment___transaction__failure_reason","value":"option.a_1__payment___transaction__failure_reason","display":"(status):failed:(failureReason)","deleted":null},{"name":"_status__refunded_reason_option__payment___transaction__refund__refundreason_","value":"option._payment___transaction__refund__refundreason_","display":"(status):refunded:(refundReason)","deleted":null},{"name":"amount_refunded_number","value":"number","display":"amount:refunded","deleted":null},{"name":"amountafterstripefees_number","value":"number","display":"amount:afterStripeFees","deleted":null},{"name":"amountoutstanding_number","value":"number","display":"amount:outstanding","deleted":null},{"name":"amounttotal_number","value":"number","display":"amount:total","deleted":null},{"name":"amounttransferrable_number","value":"number","display":"amount:transferrable","deleted":null},{"name":"description_text","value":"text","display":"description","deleted":null},{"name":"isdeleted_boolean","value":"boolean","display":"isDeleted","default_val":false,"deleted":null},{"name":"payment___transfer_custom_a__payout","value":"custom.a__payout","display":"{Transfer}","deleted":null},{"name":"source_event_type_option_os_payment___type0","value":"option.os_payment___type0","display":"(type)","deleted":null},{"name":"source_obj_dj___paylink_custom_dj___djpay_links","value":"custom.dj___djpay_links","display":"(type):{DJ}.{PayLink}","deleted":null},{"name":"source_paylink_payeremail_text","value":"text","display":"(type):{DJ}.{PayLink}.payerEmail","deleted":null},{"name":"status_option_work_os_payment___type","value":"option.work_os_payment___type","display":"(status)","default_val":"created","deleted":null},{"name":"stripe_chargeid_text","value":"text","display":"stripe:chargeID","deleted":null},{"name":"stripe_currency_text","value":"text","display":"stripe:currency","deleted":null},{"name":"stripe_paymentintentid_text","value":"text","display":"stripe:paymentIntentID","deleted":null},{"name":"stripe_receipturl_text","value":"text","display":"stripe:receiptURL","deleted":null},{"name":"stripe_transfergroup_text","value":"text","display":"stripe:transferGroup","deleted":null}],"app___embed_authorized_domains":[{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"static_domain_text","value":"text","display":"domainName","deleted":null},{"name":"tracked_posthogsessionid_text","value":"text","display":"tracked:postHogSessionID","deleted":null}],"app___invite_code":[{"name":"_type__managed_creatorname_text","value":"text","display":"(type):managed:creatorName","deleted":null},{"name":"codetype_option_os___invite_code_types","value":"option.os___invite_code_types","display":"(type)","deleted":null},{"name":"invitecode_text","value":"text","display":"code","deleted":null},{"name":"isused__boolean","value":"boolean","display":"isConsumed","default_val":false,"deleted":null},{"name":"plangranted_custom_plan","value":"custom.plan","display":"(type):managed:grants:{Subscription Plan}","deleted":null},{"name":"usedby_user","value":"user","display":"consumer{User}","deleted":null},{"name":"usercreatedby_user","value":"user","display":"(type):public:creator{User}","deleted":null},{"name":"userfirstname_text","value":"text","display":"recipient:firstName","deleted":null}],"client":[{"name":"obj_event___review__list__list_custom_reviews","value":"list.custom.reviews","display":"[{Event}.{Review}]","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null}],"conversation":[{"name":"conversationparticipants_list_user","value":"list.user","display":"participants:[{User}]","deleted":null},{"name":"source__event___proposal__custom_event___offer","value":"custom.event___offer","display":"source:{Event}.{Proposal}","deleted":null},{"name":"threadmessages_list_custom_message","value":"list.custom.message","display":"{Conversation}.[{Message}]","deleted":null}],"dj":[{"name":"__dj___live_event___list_custom__dj___live_event_","value":"list.custom._dj___live_event_","display":"[{DJ}.{Live Event}]","deleted":null},{"name":"dj___calendar_custom_dj___calendar","value":"custom.dj___calendar","display":"{DJ}.{Calendar}","deleted":null},{"name":"dj___integrations_custom_dj___private","value":"custom.dj___private","display":"{DJ}.{Private}","deleted":null},{"name":"dj___profile_custom_dj___profile","value":"custom.dj___profile","display":"{DJ}.{Public}","deleted":null},{"name":"djpaylinks_list_list_custom_dj___djpay_links","value":"list.custom.dj___djpay_links","display":"[{DJ}.{PayLink}
303]","deleted":null},{"name":"featuredmixes_list_custom_dj_media","value":"list.custom.dj_media","display":"[{DJ}.{Mix}]","deleted":null},{"name":"obj_dj___posts__list__list_custom_featured_content","value":"list.custom.featured_content","display":"[{DJ}.{Post}]","deleted":null},{"name":"useraccount_user","value":"user","display":"{User}","deleted":null}],"dj___calendar":[{"name":"calendar___calendar_blocks_list_custom_dj___calendar___calendar_block","value":"list.custom.dj___calendar___calendar_block","display":"{DJ}.{Calendar}.[{Calendar Block}]","deleted":null},{"name":"dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"external_googlecalendarrefreshscheduledapiid_text","value":"text","display":"connection:googleCalendar:refreshScheduledApiID","deleted":null},{"name":"external_googletokenexpiration_date","value":"date","display":"connection:googleCalendar:tokenExpiration","deleted":null},{"name":"external_googletokenrefresh_text","value":"text","display":"connection:googleCalendar:tokenRefresh","deleted":null},{"name":"external_outlookcalendarid_text","value":"text","display":"connection:microsoftOutlookCalendar:ID","deleted":null},{"name":"external_outlookcalendarrefreshscheduledapiid_text","value":"text","display":"connection:microsoftOutlookCalendar:refreshScheduledApiID","deleted":null},{"name":"external_outlooktoken_text","value":"text","display":"connection:microsoftOutlookCalendar:token","deleted":null},{"name":"external_outlooktokenexpiration_date","value":"date","display":"connection:microsoftOutlookCalendar:tokenExpiration","deleted":null},{"name":"external_outlooktokenrefresh_text","value":"text","display":"connection:microsoftOutlookCalendar:tokenRefresh","deleted":null},{"name":"googlecalendarid_text","value":"text","display":"connection:googleCalendar:ID","deleted":null},{"name":"googletoken_text","value":"text","display":"connection:googleCalendar:token","deleted":null},{"name":"icaltoken1_text","value":"text","display":"ical:token","deleted":null},{"name":"icaltoken_text","value":"text","display":"ical:link","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null}],"dj___calendar___calendar_block":[{"name":"_event___proposal__custom_event___offer","value":"custom.event___offer","display":"(type):djfindr:event:{Event}.{Proposal}","deleted":null},{"name":"blockdatetimerange_date_range","value":"date_range","display":"dateTimeRange","deleted":null},{"name":"blockname_text","value":"text","display":"name","deleted":null},{"name":"blocktype_option_os___calendar_block_types","value":"option.os___calendar_block_types","display":"(type)","deleted":null},{"name":"blocktype_synced_backgroundcolor_text","value":"text","display":"(type):syncedBackgroundColor","deleted":null},{"name":"blocktype_synced_bordercolor_text","value":"text","display":"(type):syncedBorderColor","deleted":null},{"name":"blocktype_synced_textcolor_text","value":"text","display":"(type):syncedTextColor","deleted":null},{"name":"creationsource_option_os__calendar_block_creation_sources","value":"option.os__calendar_block_creation_sources","display":"(creationSource)","deleted":null},{"name":"description_text","value":"text","display":"description","deleted":null},{"name":"dj___calendar_custom_dj___calendar","value":"custom.dj___calendar","display":"{DJ}.{Calendar}","deleted":null},{"name":"end_datetime_date","value":"date","display":"endDateTime","deleted":null},{"name":"location_geo__geographic_address","value":"geographic_address","display":"location","deleted":null},{"name":"obj_dj___calendar___calendar_block___api_push_list__list_custom_dj___calendar___calendar_block___api_push","value":"list.custom.dj___calendar___calendar_block___api_push","display":"{DJ}.{Calendar}.{Calendar Block}.[{API Push}]","deleted":null},{"name":"start_datetime_date","value":"date","display":"startDateTime","deleted":null},{"name":"timezone_text","value":"text","display":"timezone","deleted":null}],"dj___calendar___calendar_block___api_push":[{"name":"_dj___calendar__custom_dj___calendar","value":"custom.dj___calendar","display":"{DJ}.{Calendar}","deleted":null},{"name":"calendarapiprovider_option_os__calendar_api_providers","value":"option.os__calendar_api_providers","display":"(integrationProvider)","deleted":null},{"name":"crudtype_text","value":"text","display":"crudType","deleted":null},{"name":"providereventid_text","value":"text","display":"(integrationProvider):uid","deleted":null}],"dj___djpay_links":[{"name":"description_text","value":"text","display":"description","deleted":null},{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null},{"name":"payment_custom_a_payment","value":"custom.a_payment","display":"{Payment}","deleted":null},{"name":"status_option_os_paylink___status","value":"option.os_paylink___status","display":"(status)","deleted":null}],"dj___private":[{"name":"__event___proposal__1_list_custom_event___offer","value":"list.custom.event___offer","display":"[{Event}.{Proposal}]","deleted":null},{"name":"djlink_subdomain_text","value":"text","display":"djlinkKvKey","deleted":null},{"name":"external_api_soundcloud_appversion_text","value":"text","display":"api:soundcloud:appVersion","deleted":null},{"name":"external_api_soundcloud_expiry_date","value":"date","display":"api:soundcloud:expiry","deleted":null},{"name":"external_api_soundcloud_expiry_scheduledid_text","value":"text","display":"api:soundcloud:expiryScheduledID","deleted":null},{"name":"external_api_soundcloud_refreshtoken_text","value":"text","display":"api:soundcloud:refreshToken","deleted":null},{"name":"external_api_soundcloud_token_text","value":"text","display":"api:soundcloud:token","deleted":null},{"name":"gigguard_applied__boolean","value":"boolean","display":"gigGuardApplied","default_val":false,"deleted":null},{"name":"internal_stripeconnect_chargesenabled__boolean","value":"boolean","display":"stripeConnect:chargesEnabled","default_val":false,"deleted":null},{"name":"internal_stripeconnect_currency_text","value":"text","display":"stripeConnect:currency","deleted":null},{"name":"internal_stripeconnect_sellerid_text","value":"text","display":"stripeConnect:sellerID","deleted":null},{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"obj_event___review__list__list_custom_reviews","value":"list.custom.reviews","display":"{Event}.{Proposal}.[{Review}]","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null},{"name":"onboarding_paymentssetup__boolean","value":"boolean","display":"onboarding:paymentsSetup - deleted","default_val":false,"deleted":true},{"name":"onboarding_setupcomplete__boolean","value":"boolean","display":"onboarding:setupComplete - deleted","default_val":false,"deleted":true},{"name":"os_profile_tag__list__list_option_profile_tags","value":"list.o
303ption.profile_tags","display":"[(profileTag)]","deleted":null},{"name":"settings_brand_logo_image","value":"image","display":"brandLogo","deleted":null},{"name":"settings_default_authorizationamount_number","value":"number","display":"default:depositAmount","deleted":null},{"name":"settings_default_depositpercentage_number","value":"number","display":"default:depositPercentage","deleted":null},{"name":"settings_default_djequipment_text","value":"text","display":"default:djEquipment","deleted":null}],"dj___profile":[{"name":"denormalized_service_area_placekeys_list_text","value":"list.text","display":"serviceArea:placeKeysDenormalized","deleted":null},{"name":"isplatinum__boolean","value":"boolean","display":"synced:isPlatinum","default_val":false,"deleted":null},{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"obj_event___review__list__list_custom_reviews","value":"list.custom.reviews","display":"synced:[{Event > Review}]","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null},{"name":"profile_brand_coverimage_image","value":"image","display":"brand:coverImage","deleted":null},{"name":"profile_content_featuredvideo_text","value":"text","display":"introReel","deleted":null},{"name":"profile_gigguard_active__boolean","value":"boolean","display":"gigGuardActive","default_val":false,"deleted":null},{"name":"profile_info_age_number","value":"number","display":"synced:age","deleted":null},{"name":"profile_info_bio_text","value":"text","display":"bio","deleted":null},{"name":"profile_info_experienceyears_number","value":"number","display":"experienceYears","deleted":null},{"name":"profile_info_os_dj_extra__list__list_option_dj_extras","value":"list.option.dj_extras","display":"[(extras)]","deleted":null},{"name":"profile_info_os_dj_requisite__list__list_option_dj_requirements","value":"list.option.dj_requirements","display":"[(requisites)]","deleted":null},{"name":"profile_info_os_event_type__list__list_option_event_types","value":"list.option.event_types","display":"[(occasions)]","deleted":null},{"name":"profile_info_os_genre__list__list_option_genres","value":"list.option.genres","display":"[(genre)]","deleted":null},{"name":"profile_info_os_profile_tag__list__list_option_profile_tags","value":"list.option.profile_tags","display":"[(profileTags)]","deleted":null},{"name":"profile_info_service_areas_list_custom_dj___service_area","value":"list.custom.dj___service_area","display":"[{Service Area}]","deleted":null},{"name":"profile_info_stagename_text","value":"text","display":"displayName","deleted":null},{"name":"profile_info_travelpolicy_text","value":"text","display":"travelPolicy","deleted":null},{"name":"profile_locations_primary__service_area__custom_dj___service_area","value":"custom.dj___service_area","display":"{Service Area}.primary","deleted":null},{"name":"profile_qrcodedark_text","value":"text","display":"qrCodeDark","deleted":null},{"name":"profile_qrcodelight_text","value":"text","display":"qrCodeLight","deleted":null},{"name":"profile_settings_showfeaturedreel__boolean","value":"boolean","display":"showIntroReel","default_val":true,"deleted":null},{"name":"profile_settings_showmixes__boolean","value":"boolean","display":"showMixes","default_val":true,"deleted":null},{"name":"profile_settings_showposts__boolean","value":"boolean","display":"showPosts","default_val":true,"deleted":null},{"name":"profile_settings_showprofiletags__boolean","value":"boolean","display":"showProfileTags","default_val":true,"deleted":null},{"name":"profile_social_facebook_text","value":"text","display":"facebookHandle","deleted":null},{"name":"profile_social_instagram_text","value":"text","display":"instagramHandle","deleted":null},{"name":"profile_social_soundcloud_text","value":"text","display":"soundcloudHandle","deleted":null},{"name":"profile_social_spotify_text","value":"text","display":"spotifyHandle","deleted":null},{"name":"profile_social_tiktok_text","value":"text","display":"tiktokHandle","deleted":null},{"name":"profile_social_youtube_text","value":"text","display":"youtubeHandle","deleted":null},{"name":"reference_extras_list_text","value":"list.text","display":"reference:extras","deleted":null},{"name":"reference_genres_list_text","value":"list.text","display":"reference:genres","deleted":null},{"name":"reference_occasions_list_text","value":"list.text","display":"reference:occasions","deleted":null},{"name":"reference_profiletags_list_text","value":"list.text","display":"reference:profileTags","deleted":null},{"name":"reference_requisites_list_text","value":"list.text","display":"reference:requisites","deleted":null},{"name":"settings_cancelationdays_number","value":"number","display":"cancellation:days","deleted":null},{"name":"settings_cancelationpolicy_text","value":"text","display":"cancellation:policy","deleted":null},{"name":"settings_hourlyrate_number","value":"number","display":"hourlyRate:amount","deleted":null},{"name":"settings_hourlyratenegotiable__boolean","value":"boolean","display":"hourlyRate:negotiable","default_val":true,"deleted":null},{"name":"settings_overagerate_number","value":"number","display":"eventExtensions:amount","deleted":null},{"name":"settings_overagerateenabled__boolean","value":"boolean","display":"eventExtensions:e
303nabled","default_val":false,"deleted":null},{"name":"showliveevents_boolean","value":"boolean","display":"showLiveEvents","default_val":true,"deleted":null},{"name":"synced_accountstatus_option_os___account_status","value":"option.os___account_status","display":"synced:(accountStatus)","default_val":"onboarding","deleted":null},{"name":"synced_averagerating_number","value":"number","display":"synced:reviews:average","default_val":0,"deleted":null},{"name":"synced_calendar_blockeddateranges1_list_date_range","value":"list.date_range","display":"synced:calendar:blockedDateRanges","deleted":null},{"name":"synced_djlink_text","value":"text","display":"synced:djlink","deleted":null},{"name":"synced_eventcompletedcount_number","value":"number","display":"synced:eventCompletedCount","default_val":0,"deleted":null},{"name":"synced_isverified__boolean","value":"boolean","display":"synced:isVerified","default_val":false,"deleted":null},{"name":"synced_reviews_count_number","value":"number","display":"synced:reviews:count","default_val":0,"deleted":null}],"dj___service_area":[{"name":"city_text","value":"text","display":"city","deleted":null},{"name":"country_code_text","value":"text","display":"country.code","deleted":null},{"name":"country_full_text","value":"text","display":"country.full","deleted":null},{"name":"formattedaddress_text","value":"text","display":"formattedAddress","deleted":null},{"name":"geographicaddress_geographic_address","value":"geographic_address","display":"geographicAddress","default_val":"","deleted":null},{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"placekey_text","value":"text","display":"placeKey","deleted":null},{"name":"state_code_text","value":"text","display":"state.code","deleted":null},{"name":"state_text","value":"text","display":"state.full","deleted":null},{"name":"type_option_os_dj___public___service_area___type","value":"option.os_dj___public___service_area___type","display":"(type)","deleted":null}],"dj_media":[{"name":"applemusiclink_text","value":"text","display":"externalLink:applemusic","deleted":null},{"name":"content_file","value":"file","display":"file","deleted":null},{"name":"displayname_text","value":"text","display":"title","deleted":null},{"name":"displaythumbnail_image","value":"image","display":"thumbnail","deleted":null},{"name":"mixgenre_list__list_option_genres","value":"list.option.genres","display":"[(genre)]","deleted":null},{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null},{"name":"reference_genres_list_text","value":"list.text","display":"reference:genres","deleted":null},{"name":"security_misusecheckid_text","value":"text","display":"security:misuseCheckID","deleted":null},{"name":"security_moderationcheckid_text","value":"text","display":"security:moderationCheckID","deleted":null},{"name":"soundcloudmusiclink_text","value":"text","display":"externalLink:soundcloud","deleted":null},{"name":"spotifymusiclink_text","value":"text","display":"externalLink:spotify","deleted":null},{"name":"youtubemusiclink_text","value":"text","display":"externalLink:youtube","deleted":null}],"event___additional_items":[{"name":"name_text","value":"text","display":"name","deleted":null},{"name":"obj_event___offer_custom_event___offer","value":"custom.event___offer","display":"{Event}.{Proposal}","deleted":null},{"name":"price_number","value":"number","display":"price","deleted":null}],"event___document":[{"name":"completion_date_date","value":"date","display":"completionDate","deleted":null},{"name":"completion_name_text","value":"text","display":"completionActorName","deleted":null},{"name":"completion_obj_user_email_text","value":"text","display":"completionActorEmail","deleted":null},{"name":"completion_obj_user_ipaddress_text","value":"text","display":"completionActorIpAddress","deleted":null},{"name":"completion_obj_user_uid_text","value":"text","display":"completionActorUid","deleted":null},{"name":"completion_signature_file","value":"file","display":"completionSignature","deleted":null},{"name":"completionpdf_file","value":"file","display":"completionPDF","deleted":null},{"name":"content_html_text","value":"text","display":"content:html","deleted":null},{"name":"document_content_text","value":"text","display":"content:delta","deleted":null},{"name":"document_obj_client_custom_client","value":"custom.client","display":"{Client}","deleted":null},{"name":"internal_lastview_text","value":"text","display":"internal:lastView","deleted":null},{"name":"name_text","value":"text","display":"name","deleted":null},{"name":"obj_event___offer_custom_event___offer","value":"custom.event___offer","display":"{Event}.{Proposal}","deleted":null},{"name":"os_event___document_types_option_os___event_document_types","value":"option.os___event_document_types","display":"internal:(documentTemplate)","deleted":null},{"name":"os_event_documentacceptance_option_os___event_document___acceptance_types","value":"option.os___event_document___acceptance_types","display":"(acceptanceType)","default_val":"view","deleted":null},{"name":"os_event_documentstatus_option_os___event_document___status","value":"option.os___event_document___status","display":"(status)","default_val":"requires_action","deleted":null},{"name":"requirescompletion__boolean","value":"boolean","display":"completionRequired","deleted":null}],"event___extension_time":[{"name":"_event___proposal__custom_event___offer","value":"custom.event___offer","display":"{Event}.{Proposal}","deleted":null},{"name":"_payment__custom_a_payment","value":"custom.a_payment","display":"{Payment}","deleted":null},{"name":"currentextension__boolean","value":"boolean","display":"isCurrentExtension","deleted":null},{"name":"eventextensionstatus_option_os___event_extension_status","value":"option.os___event_extension_status","display":"(status)","deleted":null},{"name":"obj_client_custom_client","value":"custom.client","display":"{Client}","deleted":null},{"name":"obj_dj__list__list_custom_dj","value":"list.custom.dj","display":"[{DJ}]","deleted":null},{"name":"overagehours_number","value":"number","display":"hours","deleted":null},{"name":"overagerate_number","value":"number","display":"rate","deleted":null}],"event___offer":[{"name":"__payment___list_custom_a_payment","value":"list.custom.a_payment","display":"[{Payment}]","deleted":null},{"name":"_activitytimelinepoint__option__event___proposal___activitytimelinepoint_","value":"option._event___proposal___activitytimelinepoint_","display":"(activityTimelinePoint)","default_val":"requested","deleted":null},{"name":"_client__requestnote_text","value":"text","display":"{Client}:requestNote","deleted":null},{"name":"_conversation__custom_conversation","value":"custom.conversation","display":"{Conversation}","deleted":null},{"name":"_dj___calendar___calendar_block__list_custom_dj___calendar___calendar_block","value":"list.custom.dj___calendar___calendar_block","display":"{DJ}.{Calendar}.[{Calendar Block}]","deleted":null},{"name":"_dj__all_list_custom_dj","value":"list.custom.dj","display":"[{DJ}]","deleted":null},{"name":"_dj__primary_custom_dj","value":"custom.dj","display":"{DJ}:primary","deleted":null},{"name":"_dj__providedequipment_html_text","value":"text","display":"{DJ}:providedEquipment:html","deleted":null},{"name":"_event___proposal____extension___list_custom_event___extension_time","value":"list.custom.event___extension_time","display":"{Event}.{Proposal}.[{Extension}]","deleted":null},{"name":"_event___proposal___review__custom_reviews","value":"custom.reviews","display":"{Event}.{Proposal}.{Review}","deleted":null},{"name":"_event___proposal___sourced__custom_event___pre_filled","value":"custom.event___pre_filled","display":"{Event}.{Proposal}.{Sourced}","deleted":null},{"name":"_extra__requested_list_option_dj_extras","value":"list.o
303ption.dj_extras","display":"[(extra)]:requested","deleted":null},{"name":"_status__canceled__client__reason_text","value":"text","display":"(status):canceled:{Client}:reason","deleted":null},{"name":"_status__declined__dj__reason_text","value":"text","display":"(status):declined:{DJ}:reason","deleted":null},{"name":"_status__dropped__client__reason_text","value":"text","display":"(status):dropped:{Client}:reason","deleted":null},{"name":"_status__option_os___event_status","value":"option.os___event_status","display":"(status)","default_val":"initial_request","deleted":null},{"name":"allowcancelationuntildate_date","value":"date","display":"terms:cancellationAllowUntilDateTime","deleted":null},{"name":"costfinalclientpayable_number","value":"number","display":"cost:finalPayable","deleted":null},{"name":"data_icscontent_text","value":"text","display":"data:icsContent","deleted":null},{"name":"depositpercentage_number","value":"number","display":"(paymentStructure):deposit:percentage","deleted":null},{"name":"djnote_text","value":"text","display":"{DJ}:proposalNote","deleted":null},{"name":"djrequisites_list_option_dj_requirements","value":"list.option.dj_requirements","display":"terms:[(requisite)]","deleted":null},{"name":"event_custom_event","value":"custom.event","display":"{Event}","deleted":null},{"name":"eventdepositamount_number","value":"number","display":"(paymentStructure):deposit:amount","deleted":null},{"name":"eventenddatetime_date","value":"date","display":"eventEndDateTime","deleted":null},{"name":"eventlocation_geographic_address","value":"geographic_address","display":"eventLocation","deleted":null},{"name":"eventpaymentterms_option_os___event_payment_terms","value":"option.os___event_payment_terms","display":"(paymentStructure)","deleted":null},{"name":"eventrate_number","value":"number","display":"cost:baseRate","deleted":null},{"name":"eventstartdatetime_date","value":"date","display":"eventStartDateTime","deleted":null},{"name":"eventtotalhours_number","value":"number","display":"eventTotalHours","deleted":null},{"name":"eventtravelcost_number","value":"number","display":"cost:baseTravel","deleted":null},{"name":"expiresdate_date","value":"date","display":"terms:expirationDateTime","deleted":null},{"name":"flowstep_internal__number","value":"number","display":"internal:flowStep:current","deleted":null},{"name":"internal__status__complete_scheduledapiid_text","value":"text","display":"internal:(status):complete:scheduledApiId","deleted":null},{"name":"internal__status__expired__scheduledapild__list_text","value":"list.text","display":"internal:(status):expired:[scheduledApild]","deleted":null},{"name":"internal_flowstep_completed_list_number","value":"list.number","display":"internal:flowStep:completed","deleted":null},{"name":"obj_documents_list__list_custom_event___document","value":"list.custom.event___document","display":"{Event}.{Proposal}.[{Document}]","deleted":null},{"name":"obj_event___additional_items_list_custom_event___additional_items","value":"list.custom.event___additional_items","display":"{Event}.{Proposal}.[{Additional Item}]","deleted":null},{"name":"objclient_custom_client","value":"custom.client","display":"{Client}","deleted":null},{"name":"offerpdf_file","value":"file","display":"data:proposalPdf","deleted":null},{"name":"paymentterm___full_amount___fullamount_number","value":"number","display":"(paymentStructure):full:amount","deleted":null},{"name":"providedequipment1_text","value":"text","display":"{DJ}:providedEquipment:delta","deleted":null},{"name":"providedextras_list_custom_event___offer___extras","value":"list.custom.event___offer___extras","display":"{Event}.{Proposal}.[{Extra}]","deleted":null},{"name":"reference_extras_requested_list_text","value":"list.text","display":"reference:extras:requested","deleted":null},{"name":"terms_reference_requisites_list_text","value":"list.text","display":"terms:reference:requisites","deleted":null}],"event___offer___extras":[{"name":"obj_event___offer_custom_event___offer","value":"custom.event___offer","display":"{Event}.{Proposal}","deleted":null},{"name":"os__event_extra_type_option_dj_extras","value":"option.dj_extras","display":"(eventExtraType)","deleted":null},{"name":"price_number","value":"number","display":"price","deleted":null},{"name":"reference_extra_text","value":"text","display":"reference:extra","deleted":null}],"event___pre_filled":[{"name":"obj_client_custom_client","value":"custom.client","display":"{Client}","deleted":null},{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"obj_event___offer_custom_event___offer","value":"custom.event___offer","display":"{Event}.{Proposal}","deleted":null},{"name":"obj_event_custom_event","value":"custom.event","display":"{Event}","deleted":null},{"name":"os_status_option_os___event___pre_fill___status","value":"option.os___event___pre_fill___status","display":"(status)","deleted":null},{"name":"static_client_email_text","value":"text","display":"static:cl
303ientEmailAddress","deleted":null},{"name":"static_client_lastname_text","value":"text","display":"static:clientLastName","deleted":null},{"name":"static_client_name_text","value":"text","display":"static:clientFirstName","deleted":null},{"name":"static_client_phone_text","value":"text","display":"static:clientPhoneNumber","deleted":null},{"name":"wasnewusercreated_boolean","value":"boolean","display":"wasNewUserCreated","deleted":null}],"featured_content":[{"name":"caption_text","value":"text","display":"caption:plain","deleted":null},{"name":"content_list_file","value":"list.file","display":"[media]","deleted":null},{"name":"date_date","value":"date","display":"date","deleted":null},{"name":"event_option_event_types","value":"option.event_types","display":"(occasion)","deleted":null},{"name":"htmlcaption_text","value":"text","display":"caption:html","deleted":null},{"name":"interaction_likes_count_number","value":"number","display":"interaction:likes:count","default_val":0,"deleted":null},{"name":"interaction_likes_users__list__list_user","value":"list.user","display":"interaction:likes:[{User}]","deleted":null},{"name":"location_geographic_address","value":"geographic_address","display":"location","default_val":"","deleted":null},{"name":"obj_dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null},{"name":"pinned__boolean","value":"boolean","display":"isPinned","deleted":null},{"name":"reference_occasion_text","value":"text","display":"reference:occasion","deleted":null},{"name":"security_misusecheckid_text","value":"text","display":"security:misuseCheckID","deleted":null},{"name":"security_moderationcheckid_text","value":"text","display":"security:moderationCheckID","deleted":null}],"message":[{"name":"data__attachment__list_file","value":"list.file","display":"data:[attachment]","deleted":null},{"name":"messagecontent_text","value":"text","display":"content","deleted":null},{"name":"messagelink_text","value":"text","display":"data:linkUrl","deleted":null},{"name":"messagelinktext_text","value":"text","display":"data:linkText","deleted":null},{"name":"messagereactions_option_message_reactions","value":"option.message_reactions","display":"(messageReactions)","deleted":null},{"name":"messagethread_custom_conversation","value":"custom.conversation","display":"{Conversation}","deleted":null},{"name":"misusecheck_text","value":"text","display":"security:misuseCheckID","deleted":null},{"name":"moderationcheck_text","value":"text","display":"security:moderationCheckID","deleted":null},{"name":"readdatetime_date","value":"date","display":"readDateTime","deleted":null},{"name":"recipient_list_user","value":"list.user","display":"recipient:[{User}]","deleted":null},{"name":"sender_user","value":"user","display":"sender:{User}","deleted":null}],"plan":[{"name":"deprecated__boolean","value":"boolean","display":"isDeprecated","deleted":null},{"name":"description_text","value":"text","display":"description","deleted":null},{"name":"displayfeatures_text","value":"text","display":"features","deleted":null},{"name":"displayicon_image","value":"image","display":"icon","deleted":null},{"name":"displayname_text","value":"text","display":"name","deleted":null},{"name":"featuresowned_list_option_os___app_features","value":"list.option.os___app_features","display":"grants:[(platformFeatures)]","deleted":null},{"name":"paid__boolean","value":"boolean","display":"isPaid","deleted":null},{"name":"payoutdelaydays_number","value":"number","display":"grants:payoutDelayDays","deleted":null},{"name":"platformfee_number","value":"number","display":"grants:platformFee","deleted":null},{"name":"price_number","value":"number","display":"price","deleted":null},{"name":"static_marketing_tierdownplanname_text","value":"text","display":"staticTierdownPlan","deleted":null},{"name":"stripeproductid_text","value":"text","display":"stripe:productID","deleted":null},{"name":"trialdays_number","value":"number","display":"trialDays","deleted":null}],"reviews":[{"name":"_event___offer__custom_event___offer","value":"custom.event___offer","display":"{Event}.{Proposal}","deleted":null},{"name":"dj_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"obj_client_custom_client","value":"custom.client","display":"{Client}","deleted":null},{"name":"rating_number","value":"number","display":"rating","deleted":null},{"name":"reference_occasion_text","value":"text","display":"reference:occasion","deleted":null},{"name":"reviewcontent_text","value":"text","display":"content","deleted":null},{"name":"static_clientname_text","value":"text","display":"clientName","deleted":null},{"name":"static_clientprofilepicture_image","value":"image","display":"clientProfilePicture","deleted":null},{"name":"static_eventtype_option_event_types","value":"option.event_types","display":"(occasion)","deleted":null}],"user___credentials":[{"name":"expiresat_date","value":"date","display":"expiresAt","deleted":false},{"name":"label_text","value":"text","display":"label","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null},{"name":"token_text","value":"text","display":"token","deleted":null}],"user_configuration":[{"name":"emailconfirmationlastsent_date","value":"date","display":"emailConfirmationLastSent","deleted":null},{"name":"obj_user_user","value":"user","display":"{User}","deleted":null},{"name":"onboarding_flowstep__completed__list_number","value":"list.number","display":"onboarding:flowStep:[completed]","deleted":null},{"name":"onboardingcomplete__boolean","value":"boolean","display":"onboarding:isCompleted","default_val":false,"deleted":null},{"name":"onboardingcurrentstep_number","value":"number","display":"onboarding:flowStep:current","default_val":1,"deleted":null},{"name":"preference_platformappearance_text","value":"text","display":"preference:platformAppearance","default_val":"system","deleted":null},{"name":"tempbypassonboarding_boolean","value":"boolean","display":"onboarding:isTempByp
303ass","default_val":false,"deleted":null}],"user":[{"name":"account_security_istester__boolean","value":"boolean","display":"isTester","default_val":false,"deleted":null},{"name":"account_security_oauth_soundcloud_id_text","value":"text","display":"oauth:soundcloud:id","deleted":null},{"name":"account_security_oauth_uses__boolean","value":"boolean","display":"oauth:isUsing","default_val":false,"deleted":null},{"name":"account_security_os_userrole_option_user_role","value":"option.user_role","display":"(platformRole)","deleted":null},{"name":"accountstatus_option_os___account_status","value":"option.os___account_status","display":"(accountStatus)","default_val":"onboarding","deleted":null},{"name":"accountstrikes_number","value":"number","display":"strikes","default_val":0,"deleted":null},{"name":"billing_app_trialused__boolean","value":"boolean","display":"deprecate_billing:subscriptionTrialUsed? - deleted","default_val":false,"deleted":true},{"name":"billing_subscription_planslug_text","value":"text","display":"billing:subscription:planSlug","deleted":null},{"name":"billing_subscriptionstatus_scheduledapiid_text","value":"text","display":"deprecate_billing:subscription:(status):scheduledApiID - deleted","deleted":true},{"name":"birthdate_date","value":"date","display":"birthdate","deleted":null},{"name":"djfindr_internal_api_uid_text","value":"text","display":"djfindr_internal_api_uid","deleted":null},{"name":"djprofile_custom_dj","value":"custom.dj","display":"{DJ}","deleted":null},{"name":"firstname_text","value":"text","display":"firstName","deleted":null},{"name":"identity_isverified_boolean","value":"boolean","display":"identity:isVerified","default_val":false,"deleted":null},{"name":"internal_mobile_authprompt_text","value":"text","display":"internal:mobile:authPrompt - deleted","deleted":true},{"name":"invitecode_custom_app___invite_code","value":"custom.app___invite_code","display":"signup:{Invite Code} - deleted","deleted":true},{"name":"isonline__boolean","value":"boolean","display":"activity:isOnline","deleted":null},{"name":"knockusertoken_text","value":"text","display":"external:Knock:userToken","deleted":null},{"name":"lastactive_date","value":"date","display":"activity:lastActiveAt","deleted":null},{"name":"lastname_text","value":"text","display":"lastName","deleted":null},{"name":"oauth_apple_id_text","value":"text","display":"oauth:apple:id","deleted":null},{"name":"oauth_facebook_id_text","value":"text","display":"oauth:facebook:id","deleted":null},{"name":"oauth_google_id_text","value":"text","display":"oauth:google:id","deleted":null},{"name":"obj_client_custom_client","value":"custom.client","display":"{Client}","deleted":null},{"name":"obj_credentials__list__list_custom_user___credentials","value":"list.custom.user___credentials","display":"{User}.[{Credential}] - deleted","deleted":true},{"name":"obj_thread_pinned__list__list_custom_conversation","value":"list.custom.conversation","display":"pinned[{Conversation}]","deleted":null},{"name":"phonenumber_text","value":"text","display":"phoneNumber","deleted":null},{"name":"profilepicture_image","value":"image","display":"profilePicture","deleted":null},{"name":"referredby_user","value":"user","display":"signup:referredBy{User}","deleted":null},{"name":"signuponboardeddate_date","value":"date","display":"signup:onboardedDate","deleted":null},{"name":"signupsource_option__user___signup_source_","value":"option._user___signup_source_","display":"signup:(source)","deleted":null},{"name":"stripecustomerid_text","value":"text","display":"billing:stripe:customerID","deleted":null},{"name":"stripeidentity_status_option_stripe_identity_statuses","value":"option.stripe_identity_statuses","display":"identity:stripe:(status) - deleted","deleted":true},{"name":"stripeidentity_verificationsession_text","value":"text","display":"identity:stripe:verificationSession - deleted","deleted":true},{"name":"stripesubscriptionid_text","value":"text","display":"deprecate_billing:stripe:subscriptionID - deleted","deleted":true},{"name":"subscriptionplan_custom_plan","value":"custom.plan","display":"deprecate_billing:subscription:{Subscription Plan} - deleted","deleted":true},{"name":"subscriptionstatus_option_stripe_billing_status","value":"option.stripe_billing_status","display":"deprecate_billing:subscription:(status) - deleted","deleted":true},{"name":"userconfig_custom_user_configuration","value":"custom.user_configuration","display":"{User}.{Configuration}","deleted":null}],"device":[{"display":"Type","value":"text","name":"device_type"},{"display":"Push notification token","value":"text","name":"push_notification_token"}
303,{"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"}]} 304window.preloaded['app/derived:{"function_name":"DefaultValues","args":[]}'] = true; 305 306 window._bubble_page_load_data.js_execution_timings.static_js_end_execution = Date.now(); 307 308jQuery.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.