PageSourceSearch

https://dorkgenius.com/package/static_js/b418de843fa7ab4c76f4f325b…/index/xnull/xfalse/xfalse/xfalse/static.js

js dorkgenius.com collected 2026-10-03 22:14:40 UTC 95,888 bytes, 75 lines download raw bytes

1
2    if (!window._bubble_page_load_data) {
3        window._bubble_page_load_data = {}
4    }
5    if (!window._bubble_page_load_data.js_execution_timings) {
6      window._bubble_page_load_data.js_execution_timings = {}
7    }
8    window._bubble_page_load_data.js_execution_timings.static_js_start_execution = Date.now();
9window.preloaded = window.preloaded || {};
10
11window.preloaded['app/page_metadata:index'] = true;
12/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
13// BUBBLE PATCH NOTES - offset() changed below, see comment
14"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=true),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.no
14deName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
14,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){
15    var e=this[0];
16    // BUBBLE PATCH NOTES - offset() changed below, see comment in non-minified
17    if (!e) return {left:0, top:0};
18    return(!e||e.nodeType&&e.getBoundingClientRect)
19        ?I.apply(this,arguments)
20        :(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length
21            ?this
22            :({left:0,top:0}))},"offset-valid-elem"
23),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
24
25window.preloaded['js/vendor:jquery-migrate-3.4.1.min.js'] = true;
26
27window.bubble_version = 21;
28window.preloaded['app/metadata:bubble_version'] = true;
29window._bubble_page_load_data.hardcoded_plugins = window._bubble_page_load_data.hardcoded_plugins || {};
30window._bubble_page_load_data.hardcoded_plugins['apple'] = true;
31window.__code__ = window.__code__ || {};
32if(!window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']){window.__code__['ddc8ef3b5f9f97173a25ed9bbab113a122f1d51f220e9b6eeba43c320f7c1b33']=1;
33
34"use strict";(()=>{var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exp
vendor: 5,823 bytes, line 34
34orts:{}}).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 34
34K_MAX_LENGTH)throw new RangeError('The value "'+length+'" is invalid for option "size"');var buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer3.prototype),buf}function Buffer3(arg,encodingOrOffset,length){if(typeof arg=="number"){if(typeof encodingOrOffset=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}Buffer3.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value=="string")return fromString(value,encodingOrOffset);if(ArrayBuffer.isView(value))return fromArrayView(value);if(value==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if(typeof value=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value)return Buffer3.from(valueOf,encodingOrOffset,length);var b=fromObject(value);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]=="function")return Buffer3.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}Buffer3.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Object.setPrototypeOf(Buffer3.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer3,Uint8Array);function assertSize(size){if(typeof size!="number")throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):fill!==void 0?typeof encoding=="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}Buffer3.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:checked(size)|0)}Buffer3.allocUnsafe=function(size){return allocUnsafe(size)};Buffer3.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);var length=byteLength(string,encoding)|0,buf=createBuffer(length),actual=buf.write(string,encoding);return actual!==length&&(buf=buf.slice(0,actual)),buf}function fromArrayLike(array){for(var length=array.length<0?0:checked(array.length)|0,buf=createBuffer(length),i=0;i<length;i+=1)buf[i]=array[i]&255;return buf}function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){var copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');var buf;return byteOffset===void 0&&length===void 0?buf=new Uint8Array(array):length===void 0?buf=new Uint8Array(array,byteOffset):buf=new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer3.prototype),buf}function fromObject(obj){if(Buffer3.isBuffer(obj)){var len=checked(obj.length)|0,buf=createBuffer(len);return buf.length===0||obj.copy(buf,0,0,len),buf}if(obj.length!==void 0)return typeof obj.length!="number"||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if(obj.type==="Buffer"&&Array.isArray(obj.data))return fromArrayLike(obj.data)}function checked(length){if(length>=K_MAX_LENGTH)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K_MAX_LENGTH.toString(16)+" bytes");return length|0}function SlowBuffer(length){return+length!=length&&(length=0),Buffer3.alloc(+length)}Buffer3.isBuffer=function(b){return b!=null&&b._isBuffer===!0&&b!==Buffer3.prototype};Buffer3.compare=function(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer3.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer3.from(b,b.offset,b.byteLength)),!Buffer3.isBuffer(a)||!Buffer3.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0};Buffer3.isEncoding=function(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Buffer3.concat=function(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(list.length===0)return Buffer3.alloc(0);var i;if(length===void 0)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer3.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?Buffer3.from(buf).copy(buffer,pos):Uint8Array.prototype.set.call(buffer,buf,pos);else if(Buffer3.isBuffer(buf))buf.copy(buffer,pos);else throw new TypeError('"list" argument must be an Array of Buffers');pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer3.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if(typeof string!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);var len=string.length,mustMatch=arguments.length>2&&arguments[2]===!0;if(!mustMatch&&len===0)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}Buffer3.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=!1;if((start===void 0||start<0)&&(start=0),start>this.length||((end===void 0||end>this.length)&&(end=this.length),end<=0)||(end>>>=0,start>>>=0,end<=start))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}Buffer3.prototype._isBuffer=!0;function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}Buffer3.prototype.swap16=function(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer3.prototype.swap32=function(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this};Buffer3.prototype.swap64=function(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this};Buffer3.prototype.toString=function(){var length=this.length;return length===0?"":arguments.length===0?utf8Slice(this,0,length):slowToString.apply(this,arguments)};Buffer3.prototype.toLocaleString=Buffer3.prototype.toString;Buffer3.prototype.equals=function(b){if(!Buffer3.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:Buffer3.compare(this,b)===0};Buffer3.prototype.inspect=function(){var str="",max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"};customInspectSymbol&&(Buffer3.prototype[customInspectSymbol]=Buffer3.prototype.inspect);Buffer3.prototype.compare=function(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer3.from(target,target.offset,target.byteLength)),!Buffer3.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(start===void 0&&(start=0),end===void 0&&(end=target?target.length:0),thisStart===void 0&&(thisStart=0),thisEnd===void 0&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset=="string"?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,numberIsNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0)if(dir)byteOffset=0;else return-1;if(typeof val=="string"&&(val=Buffer3.from(val,encoding)),Buffer3.isBuffer(val))return val.length===0?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if(typeof val=="number")return val=val&255,typeof Uint8Array.prototype.indexOf=="function"?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1,arrLength=arr.length,valLength=val.length;if(encoding!==void 0&&(encoding=String(encoding).toLowerCase(),encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le")){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i2){return indexSize===1?buf[i2]:buf.readUInt16BE(i2*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else foundIndex!==-1&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}Buffer3.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer3.prototype.indexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)};Buffer3.prototype.lastIndexOf=function(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length),length>remaining&&(length=remaining)):length=remaining;var strLen=string.length;length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer3.prototype.write=function(string,offset,length,encoding){if(offset===void 0)encoding="utf8",length=this.length,offset=0;else if(length===void 0&&typeof offset=="string")encoding=offset,length=this.length,offset=0;else if(isFinite(offset))offset=offset>>>0,isFinite(length)?(length=length>>>0,encoding===void 0&&(encoding="utf8")):(encoding=length,length=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var remaining=this.length-offset;if((length===void 0||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}};Buffer3.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return start===0&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],(secondByte&192)===128&&(tempCodePoint=(firstByte&31)<<6|secondByte&63,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],(secondByte&192)===128&&(thirdByte&192)===128&&(tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],(secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128&&(tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}codePoint===null?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|codePoint&1023),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]&127);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);return res}Buffer3.prototype.slice=function(start,end){var len=this.length;start=~~start,end=end===void 0?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end<start&&(end=start);var newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer3.prototype),newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer3.prototype.readUintLE=Buffer3.prototype.readUIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return val};Buffer3.prototype.readUintBE=Buffer3.prototype.readUIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset+--byteLength2],mul=1;byteLength2>0&&(mul*=256);)val+=this[offset+--byteLength2]*mul;return val};Buffer3.prototype.readUint8=Buffer3.prototype.readUInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]};Buffer3.prototype.readUint16LE=Buffer3.prototype.readUInt16LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8};Buffer3.prototype.readUint16BE=Buffer3.prototype.readUInt16BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]};Buffer3.prototype.readUint32LE=Buffer3.prototype.readUInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer3.prototype.readUint32BE=Buffer3.prototype.readUInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer3.prototype.readIntLE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength2&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readIntBE=function(offset,byteLength2,noAssert){offset=offset>>>0,byteLength2=byteLength2>>>0,noAssert||checkOffset(offset,byteLength2,this.length);for(var i=byteLength2,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength2)),val};Buffer3.prototype.readInt8=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,1,this.length),this[offset]&128?(255-this[offset]+1)*-1:this[offset]};Buffer3.prototype.readInt16LE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt16BE=function(offset,noAssert){offset=offset>>>0,noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer3.prototype.readInt32LE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer3.prototype.readInt32BE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer3.prototype.readFloatLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)};Buffer3.prototype.readFloatBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)};Buffer3.prototype.readDoubleLE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)};Buffer3.prototype.readDoubleBE=function(offset,noAssert){return offset=offset>>>0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer3.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer3.prototype.writeUintLE=Buffer3.prototype.writeUIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var mul=1,i=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUintBE=Buffer3.prototype.writeUIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,byteLength2=byteLength2>>>0,!noAssert){var maxBytes=Math.pow(2,8*byteLength2)-1;checkInt(this,value,offset,byteLength2,maxBytes,0)}var i=byteLength2-1,mul=1;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength2};Buffer3.prototype.writeUint8=Buffer3.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=value&255,offset+1};Buffer3.prototype.writeUint16LE=Buffer3.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeUint16BE=Buffer3.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeUint32LE=Buffer3.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=value&255,offset+4};Buffer3.prototype.writeUint32BE=Buffer3.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};Buffer3.prototype.writeIntLE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=value&255;++i<byteLength2&&(mul*=256);
vendor: 3,223 bytes, line 34
34)value<0&&sub===0&&this[offset+i-1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeIntBE=function(value,offset,byteLength2,noAssert){if(value=+value,offset=offset>>>0,!noAssert){var limit=Math.pow(2,8*byteLength2-1);checkInt(this,value,offset,byteLength2,limit-1,-limit)}var i=byteLength2-1,mul=1,sub=0;for(this[offset+i]=value&255;--i>=0&&(mul*=256);)value<0&&sub===0&&this[offset+i+1]!==0&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength2};Buffer3.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=value&255,offset+1};Buffer3.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value&255,this[offset+1]=value>>>8,offset+2};Buffer3.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=value&255,offset+2};Buffer3.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=value&255,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4};Buffer3.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=offset>>>0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=value&255,offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}Buffer3.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)};Buffer3.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset=offset>>>0,noAssert||checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer3.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)};Buffer3.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)};Buffer3.prototype.copy=function(target,targetStart,start,end){if(!Buffer3.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),!end&&end!==0&&(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start||target.length===0||this.length===0)return 0;
vendor: 5,180 bytes, line 34
34if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;return this===target&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len};Buffer3.prototype.fill=function(val,start,end,encoding){if(typeof val=="string"){if(typeof start=="string"?(encoding=start,start=0,end=this.length):typeof end=="string"&&(encoding=end,end=this.length),encoding!==void 0&&typeof encoding!="string")throw new TypeError("encoding must be a string");if(typeof encoding=="string"&&!Buffer3.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(val.length===1){var code=val.charCodeAt(0);(encoding==="utf8"&&code<128||encoding==="latin1")&&(val=code)}}else typeof val=="number"?val=val&255:typeof val=="boolean"&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start=start>>>0,end=end===void 0?this.length:end>>>0,val||(val=0);var i;if(typeof val=="number")for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer3.isBuffer(val)?val:Buffer3.from(val,encoding),len=bytes.length;if(len===0)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){if(str=str.split("=")[0],str=str.trim().replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str=str+"=";return str}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}else if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else throw new Error("Invalid code point")}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(str.charCodeAt(i)&255);return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}var hexSliceLookupTable=function(){for(var alphabet="0123456789abcdef",table=new Array(256),i=0;i<16;++i)for(var i16=i*16,j=0;j<16;++j)table[i16+j]=alphabet[i]+alphabet[j];return table}()}});var require_browser=__commonJS({"node_modules/process/browser.js"(exports,module){init_define_process_env();init_shim();var process2=module.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch{try{return cachedSetTimeout.call(null,fun,0)}catch{return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch{try{return cachedClearTimeout.call(null,marker)}catch{return cachedClearTimeout.call(this,marker)}}}
34var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}process2.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(fun,array){this.fun=fun,this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process2.title="browser";process2.browser=!0;process2.env={};process2.argv=[];process2.version="";process2.versions={};function noop(){}process2.on=noop;process2.addListener=noop;process2.once=noop;process2.off=noop;process2.removeListener=noop;process2.removeAllListeners=noop;process2.emit=noop;process2.prependListener=noop;process2.prependOnceListener=noop;process2.listeners=function(name){return[]};process2.binding=function(name){throw new Error("process.binding is not supported")};process2.cwd=function(){return"/"};process2.chdir=function(dir){throw new Error("process.chdir is not supported")};process2.umask=function(){return 0}}});var import_buffer,import_process,_globalThis,init_shim=__esm({"node_modules/node-stdlib-browser/helpers/esbuild/shim.js"(){import_buffer=__toESM(require_buffer()),import_process=__toESM(require_browser()),_globalThis=function(Object2){function get(){var _global3=this||self;return delete Object2.prototype.__magic__,_global3}if(typeof globalThis=="object")return globalThis;if(this)return get();Object2.defineProperty(Object2.prototype,"__magic__",{configurable:!0,get});var _global2=__magic__;return _global2}(Object)}});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}
34is_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);})();
35/*! Bundled license information:
36
37buffer/index.js:
38  (*!
39   * The buffer module from node.js, for the browser.
40   *
41   * @author   Feross Aboukhadijeh <https://feross.org>
42   * @license  MIT
43   *)
44*/
45
46}
47
48
49window.preloaded['plugin/first_party:apple'] = true;
50window.plugins = window.plugins || {};
51window._bubble_page_load_data.plugins_size = window._bubble_page_load_data.plugins_size || {};
52window.plugins["1488796042609x768734193128308700"] = {"human":"Toolbox","dependencies":{"use_jquery":true},"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":0},"AAF":{"caption":"Length of list","name":"list_length","editor":"DynamicValue","value":"number","is_list":false,"rank":1},"AAG":{"caption":"Increment","name":"increment","editor":"DynamicValue","value":"number","rank":2}},"states":{"AAD":{"caption":"list","name":"list","value":"number","is_list":true,"initialization_code":{"fn":"function(properties, context) {\n\n}\n"}}},"code":{"initialize":{"fn":"function(instance, context) {\n\n}"},"update":{"fn":"function(e,a,b){a.number_start;a.list_length;a.increment;b=[];if(null!==a.number_start&&null!==a.list_length&&null!==a.increment)for(var c=a.number_start,d=0;d<a.list_length;d++)b.push(c),c+=a.increment;e.publishState(\"list\",b)};"}},"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":1},"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},"AAj":{"caption":"Ensure that data from untrusted sources has been sanitized to ensure no executable code.","name":"infodatasanitize","rank":0,"editor":"Label"},"AAk":{"caption":"Result types can be: text, number, boolean, date, number range, date range, date interval, geographic address.","name":"inforesulttype","rank":2,"editor":"Label"}},"states":{"AAN":{"caption":"value","name":"value","value":"custom_data_AAL","initialization_code":{"fn":"function(properties, context) {\n\n}"}},"AAO":{"caption":"value list","name":"value_list","value":"custom_data_AAL","is_list":true,"initialization_code":{"fn":"function(properties, context) {\n\n}"}}},"code":{"initialize":{"fn":"function(instance, context) {\n\n\n\n}"},"update":{"fn":"function(c,a,b){a.expression;a.result_type;a.result_is_list;b=null!=a.expression?eval(a.expression):null;a.result_is_list?c.publishState(\"value_list\",b):c.publishState(\"value\",b)};","add_debugger":false}},"platform_type":"web"},"AAP":{"display":"Javascript to Bubble","property_applications":{"resizable":true},"add_is_visible":true,"fields":{"AAQ":{"caption":"bubble_fn_<strong><i>suffix</i></strong>","name":"fn_name_suffix","editor":"DynamicValue","value":"text","rank":0},"AAR":{"caption":"Trigger event","name":"trigger_event","editor":"Checkbox","default_val":false,"rank":1},"AAS":{"caption":"Publish value","name":"publish_value","editor":"Checkbox","default_val":false,"rank":2},"AAT":{"caption":"Value type","name":"value_type","editor":"custom_type","optional":true,"rank":3},"AAU":{"caption":"Value is a list","name":"value_is_list","editor":"Checkbox","default_val":false,"rank":4}},"states":{"AAV":{"caption":"value","name":"value","value":"custom_data_AAT","initialization_code":{"fn":"function(properties, context) {\n\n}"}},"AAW":{"caption":"value list","name":"value_list","value":"custom_data_AAT","is_list":true,"initialization_code":{"fn":"function(properties, context) {\n\n}"}}},"events":{"AAX":{"caption":"event","name":"event"}},"code":{"initialize":{"fn":"function(instance, context) {\n\n\n\n}"}
52,"update":{"fn":"function(b,a,c){c=a.fn_name_suffix;var d=a.trigger_event,e=a.publish_value,f=a.value_is_list;c&&(window[\"bubble_fn_\"+c]=function(a){e&&(f?b.publishState(\"value_list\",a):b.publishState(\"value\",a));d&&b.triggerEvent(\"event\")})};"}},"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":0},"AAa":{"caption":"Data source (list)","name":"sourcelist","editor":"DynamicValue","optional":true,"value":"custom_data_AAZ","is_list":true,"rank":1},"AAb":{"caption":"Item expression","name":"itemexpression","editor":"DynamicValue","value":"text","default_val":"","rank":3},"AAc":{"caption":"Result type","name":"resultlisttype","editor":"custom_type","rank":4},"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":2,"editor":"Label"}},"states":{"AAd":{"caption":"list","name":"resultlist","value":"custom_data_AAc","is_list":true,"initialization_code":{"fn":"function(properties, context) {\n\n}"}}},"actions":{"AAe":{"caption":"Set data source","code":{"fn":"function(a,b,d){var c;d=[];var e=0;b.sourcelist&&b.sourcelist.length&&(e=b.sourcelist.length());if(0<e)for(c=0;c<e;c++){var g=b.sourcelist.get(c,1);a.data.item=g[0];try{d.push(window.toolboxEval({value:a.data.value,field:a.data.field,item:a.data.createItem,lookup:a.data.lookup,expression:a.data.itemexpression}))}catch(f){throw\"not ready\"!==f.message&&console.error(f),f;}}a.publishState(\"resultlist\",d)};"},"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(b,k){b.data.value=function(){return null==b.data.item||b.data.item.listProperties?null:b.data.item};b.data.field=function(){if(b.data.item&&b.data.item.listProperties){for(var c=b.data.item,e=b.data.sourcetype,a=0;a<arguments.length;a++){var d=arguments[a],h=e.replace(\"custom.\",\"\");app.user_types[h];var f=app.user_types[h][\"%f3\"];Object.keys(f).forEach(function(a){f[a][\"%d\"]==d&&(d=a,e=f[a][\"%v\"])});if(null===c)break;c=c.get(d)}return c}return null};b.data.createItem=function(c,\ne){return{fieldType:e?e:b.data.sourcetype,bubbleItem:c?c:b.data.item,lookup:function(a){return b.data.lookup(this,a)}}};b.data.lookup=function(c,e){if(!(\"object\"===typeof c&&\"fieldType\"in c&&\"bubbleItem\"in c))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;var a=c.bubbleItem,d=c.fieldType;if(!(\"object\"===typeof a&&\"listProperties\"in a&&\"get\"in a))return console.error(\"List Item Expression - lookup() cannot retrieve from a non-item.\"),null;d=d.replace(\"custom.\",\n\"\");app.user_types[d];var h=app.user_types[d][\"%f3\"],f=null;Object.keys(h).forEach(function(a){h[a][\"%d\"]==e&&(e=a,f=h[a][\"%v\"])});if((a=a.get(e))&&\"object\"===typeof a&&\"length\"in a&&\"get\"in a){newresult=[];f=f.replace(\"list.\",\"\");for(d=0;d<a.length();d++){var g=a.get(d,1)[0];\"object\"===typeof g&&\"listProperties\"in g&&\"get\"in g?(g=b.data.createItem(g,f),newresult.push(g)):newresult.push(g)}return newresult}return a&&\"object\"===typeof a&&\"listProperties\"in a&&\"get\"in a?g=b.data.createItem(a,f):a}};"},"update":{"fn":"function(a,b,d){var c;a.data.sourcetype=b.sourcetype;a.data.itemexpression=b.itemexpression;d=[];var e=0;b.sourcelist&&b.sourcelist.length&&(e=b.sourcelist.length());if(0<e)for(c=0;c<e;c++){var g=b.sourcelist.get(c,1);a.data.item=g[0];try{d.push(window.toolboxEval({value:a.data.value,field:a.data.field,item:a.data.createItem,lookup:a.data.lookup,expression:a.data.itemexpression}))}catch(f){throw\"not ready\"!==f.message&&console.error(f),f;}}a.publishState(\"resultlist\",d)};"}},"platform_type":"web"}},"plugin_actions":{"AAg":{"display":"Run javascript","type":"client_side","fields":{"AAh":{"caption":"Script. To use a return value, use in conjuction with element Javascript to Bubble.","name":"script","editor":"DynamicValue","value":"text","rank":0},"AAi":{"caption":"Asynchronous","name":"async","editor":"Checkbox","default_val":true,"rank":1}},"code":{"client":{"fn":"function(a,c){var b=a.script;a.async?setTimeout(function(){eval(b)},1):eval(b)}
52;"}}},"AAn":{"display":"Server script","type":"server_side","return_value":{"AAz":{"caption":"result","name":"result","rank":0,"value":"custom_data_AAp"},"ABA":{"caption":"result list","name":"resultlist","rank":1,"is_list":true,"value":"custom_data_AAp"}},"fields":{"AAo":{"caption":"Node script","name":"script","rank":0,"editor":"DynamicValue","value":"text","optional":true},"AAp":{"caption":"Return type","name":"returntype","rank":1,"editor":"custom_type","optional":false},"AAq":{"caption":"Returns a list","name":"returnslist","rank":2,"editor":"Checkbox","default_val":false},"AAr":{"caption":"Data","name":"data","rank":3,"editor":"DynamicValue","value":"text","optional":true},"AAs":{"caption":"Keys and values","name":"keyvalues","rank":4,"editor":"key_value_list","value":"text"},"AAt":{"caption":"Thing 1","name":"thing1","rank":5,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAu":{"caption":"Thing 2","name":"thing2","rank":6,"editor":"DynamicValue","value":"_any_thing","optional":true},"AAv":{"caption":"Thing 3","name":"thing3","rank":7,"editor":"DynamicValue","optional":true,"value":"_any_thing"},"AAw":{"caption":"Thing list 1","name":"thinglist1","rank":8,"optional":true,"editor":"DynamicValue","is_list":true,"value":"_any_thing"},"AAx":{"caption":"Thing list 2","name":"thinglist2","rank":9,"editor":"DynamicValue","is_list":true,"optional":true,"value":"_any_thing"},"AAy":{"caption":"Thing list 3","name":"thinglist3","rank":10,"editor":"DynamicValue","optional":true,"is_list":true,"value":"_any_thing"}}}}};
53window._bubble_page_load_data.plugins_size['1488796042609x768734193128308700'] = 9514;
54window.preloaded['plugin/third_party:1488796042609x768734193128308700:1.1.4'] = true;
55window.plugins["1513532376117x173494151776829440"] = {"human":"PayPal Checkout","dependencies":{"use_jquery":true,"plugin_api_version":"3"},"shared_keys":{"ACT":{"caption":"Client ID","type":"client_safe"},"ACZ":{"caption":"Secret Key","type":"secure"}},"plugin_elements":{"ACF":{"display":"PayPal Button","property_applications":{"MinWidth":true,"resizable":true,"Background":false},"add_hover_pressed":true,"add_is_visible":true,"has_reset_fn":false,"fields":{"ABw":{"caption":"Amount","name":"amount","editor":"DynamicValue","rank":1,"value":"number"},"ABx":{"caption":"Currency Code","name":"currency","editor":"DynamicValue","rank":2,"value":"text","default_val":"USD"},"ABy":{"caption":"Shape","name":"shape","editor":"Dropdown","rank":6,"default_val":"Rectangle","in_style":true},"ABz":{"caption":"Label","name":"label","editor":"Dropdown","rank":5,"default_val":"PayPal","in_style":true},"ACB":{"caption":"Color","name":"color","editor":"Dropdown","rank":4,"default_val":"Gold","in_style":true},"ACH":{"caption":"Layout","name":"layout","rank":3,"editor":"Dropdown","default_val":"Vertical","in_style":true},"ACR":{"caption":"Expose console logs?","name":"exposelogs","rank":7,"editor":"DynamicValue","value":"boolean","default_val":false},"ACb":{"caption":"Note: PayPal does not recommend loading more than one instance of a PayPal Button on a page.","name":"info","rank":0,"editor":"Label"}},"states":{"ACD":{"caption":"Order ID","name":"orderid","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ACE":{"caption":"Order Status","name":"orderstatus","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ACM":{"caption":"Payer ID","name":"payerid","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ACN":{"caption":"Payer Name","name":"payername","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ACO":{"caption":"Payer Email Address","name":"payeremail","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ACP":{"caption":"Error Message","name":"error","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}},"ACS":{"caption":"Capture ID","name":"captureid","value":"text","initialization_code":{"fn":"function(properties, context) {\n\n\n\n}"}}},"events":{"ABt":{"caption":"payment has been captured","name":"captured"},"ACI":{"caption":"payment has been approved","name":"approved"},"ACJ":{"caption":"encountered an error","name":"error"}},"actions":{"ACU":{"caption":"Show","code":{"fn":"function(instance, properties, context) {\n\n\n  //Load any data \n\n    instance.data.generatePayPal()\n\n\n  //Do the operation\n\n\n\n}"},"fields":{"ACV":{"caption":"This action will show the PayPal Button(s) tied to the element selected. If pre-existing buttons are found, they will be removed before new buttons are generated. ","name":"info","rank":0,"editor":"Label"},"ACW":{"caption":"Note: the selected element must be visible on the page for this action to execute.","name":"info2","rank":1,"editor":"Label"}}}},"code":{"initialize":{"fn":"function(instance, context) {\n    \n   instance.data.paypalInstance = false\n   instance.data.paypalFetching = false\n   instance.data.execute = false\n   instance.data.key = context.keys[\"Client ID\"]\n    \n   instance.data.loadPayPal = function(callback) {\n       \n       if (instance.data.exposelogs) {\n          console.info(\"Importing PayPal functions\")   \n       } \n       \n       if (instance.data.key && instance.data.currency && instance.data.paypalFetching === false) {\n           \n        instance.data.paypalFetching = true\n           \n        $.ajaxSetup({\n            cache: true\n        });\n           \n       \t$.getScript(`https://www.paypal.com/sdk/js?client-id=${context.keys[\"Client ID\"]}&currency=${instance.data.currency}`, function(response, status) {      \t\n         \tinstance.data.paypalInstance = true\n            instance.data.paypalFetching = false\n            $.ajaxSetup({\n                cache: false\n            });\n            \n            if (instance.data.exposelogs) {\n                console.log(\"PayPal has loaded\")\n            }\n            \n            if (callback) {\n                callback()\n            }\n                \n            /* if (instance.data.execute) {\n                instance.data.generatePayPal()\n            } */\n            \n        }); \n           \n       }\n       \n   }\n\n  function uniqID(idlength) {\n              instance.data.charstoformid = '_0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split('');\n              if (! idlength) {\n                  idlength = Math.floor(Math.random() * instance.data.charstoformid.length);\n              }\n              instance.data.uniqid = '';\n              for (var i = 0; i < idlength;
55 i++) {\n                  instance.data.uniqid += instance.data.charstoformid[Math.floor(Math.random() * instance.data.charstoformid.length)];\n              }\n              \n              if(jQuery(\"#paypal-\"+instance.data.uniqid).length == 0)\n                  return instance.data.uniqid;\n              else\n                  return uniqID(5)\n  }\n  \n  instance.data.layout = \"vertical\"\n  instance.data.label = \"paypal\";\n  instance.data.shape = \"rect\";\n  instance.data.color = \"gold\";\n  \n  instance.data.generatePayPal = function (buttonToRemove) {\n\n    /*if (instance.data.paypalInstance === false) {\n        instance.data.loadPayPal()\n    }*/\n      \n    let outgoing = buttonToRemove || instance.data.uniqueId\n    \n    if (outgoing) {\n       if (document.getElementById(outgoing)) {\n          document.getElementById(outgoing).remove();\n          if (instance.data.exposelogs) {\n              console.info(\"Removing pre-existing PayPal buttons\")   \n          }\n        } \n    }\n    \n  \tinstance.data.uniqueId = \"paypal-\" + uniqID(5);\n  \tinstance.data.div = $('<div id=\"' + instance.data.uniqueId + '\"></div>');\n  \tinstance.canvas.append(instance.data.div);\n      \n    $(instance.data.uniqueId).ready(function() {\n        instance.data.execPayPal(\"#\" + instance.data.uniqueId)\n    }) \n      \n  };\n    \n  instance.data.execPayPal = function(id) {\n      \n      if (instance.data.exposelogs) {\n          console.log(\"Mounting PayPal buttons\")   \n      }\n      \n      if (instance.data.paypalInstance === true && instance.data.amount && instance.data.currency) {\n\t\t paypal.Buttons({\n              style: {\n                  layout: instance.data.layout,\n                  color: instance.data.color,\n                  shape: instance.data.shape,\n                  label: instance.data.label\n              },\n              createOrder: function(data, actions) {\n                 return actions.order.create({\n                    purchase_units: [{\n                      amount: {\n                        currency_code: instance.data.currency,\n                        value: instance.data.amount                          \n                      }\n                    }]\n                  });\n             },\n             onApprove: function(data, actions) {\n               instance.triggerEvent(\"approved\") \n\n               return actions.order.capture().then(function(details) {\n\n                 instance.publishState(\"orderid\", details.id)\n                 instance.publishState(\"captureid\", details.purchase_units[0].payments.captures[0].id)\n                 instance.publishState(\"orderstatus\", details.status)\n                 instance.publishState(\"payername\", details.payer.name.given_name + \" \" + details.payer.name.surname)\n                 instance.publishState(\"payeremail\", details.payer.email_address)  \n                 instance.publishState(\"payerid\", details.payer.payer_id)\n                 instance.triggerEvent(\"captured\")\n                   \n               }).catch(function(err) {\n                 \n                 instance.publishState(\"error\", JSON.stringify(err))\n                 instance.triggerEvent(\"error\") \n                   \n               });\n             },\n             onError: function(err) {\n                 console.log(\"Error has occurred\")\n                 instance.publishState(\"error\", JSON.stringify(err))\n                 instance.triggerEvent(\"error\") \n             }\n         }).render(id)\n\t  }\n  }\n  \n}","add_debugger":false},"update":{"fn":"function(instance, properties, context) {\n    \n    \n  switch (properties.shape) {\n      \n    case \"Rectangle\":\n      instance.data.shape = \"rect\";\n      break;\n      \n    case \"Pill\":\n      instance.data.shape = \"pill\";\n          \n    default:\n      instance.data.shape = \"rect\"\n      \n  }\n  \n    instance.data.color = properties.color.toLowerCase();\n\n    instance.data.label = properties.label.toLowerCase();\n\n    instance.data.amount = properties.amount.toString()\n\n    instance.data.currency = properties.currency\n    \n    instance.data.exposelogs = properties.exposelogs\n    \n    if (properties.bubble.is_visible() && instance.data.currency !== undefined && context.keys[\"Client ID\"] !== \"\") {\n        \n      if (instance.data.exposelogs) {\n          console.info(\"PayPal setup started\")   \n      } \n       \n      instance.data.execute = true\n        \n      instance.data.loadPayPal(instance.data.generatePayPal)  \n        \n      /* function checkPayPal() {\n          if (instance.data.exposelogs) {\n          \tconsole.log(\"Checking PayPal status\")   \n          }\n          \n          if (instance.data.paypalInstance === true) {\n              clearInterval(activeInterval)\n          }\n      }\n\n      let activeInterval = setInterval(checkPayPal, 500) \n      \n      if (instance.data.exposelogs) {\n          console.info(\"PayPal setup started\")   \n      } \n\n      setTimeout(instance.data.generatePayPal(), 500)*/\n        \n    } else {\n        \n        instance.data.execute = false\n        \n    }\n  \n    \n}"},"reset":{"fn":"function(instance, context) {\n\n  document.getElementById(properties.element_id).innerHTML = \"\";\n\n}"}},"platform_type":"web"}},"plugin_actions":{"AAp":{"display":"PayPal - Create a Sale Refund","type":"server_side","return_value":{"AAr":{"caption":"Refund ID","name":"id","rank":0,"value":"text"},"AAs":{"caption":"Refund Status","name":"state","rank":1,"value":"text"},"AAt":{"caption":"Error","name":"error","rank":2,"value":"text"}},"fields":{"AAq":{"caption":"Sale ID","name":"saleId","rank":1,"editor":"DynamicValue","value":"text"},"AAu":{"caption":"Note: For PayPal API Version 1 only.","name":"v1","rank":7,"editor":"Label"},"AAv":{"caption":"Refund ━━━━━━━━━━━━━━━━━━━━┓","name":"refund━━━━━━━━━━━━━━━━━━━┓","rank":4,"editor":"Label"},"AAw":{"caption":"Amount","name":"amount","rank":5,"editor":"DynamicValue","value":"number","optional":true},"AAx":{"caption":"Type","name":"type","rank":0,"editor":"Dropdown","default_val":"Sandbox"},"AAy":{"caption":"Currency Code","name":"currency","rank":6,"editor":"DynamicValue","value":"text"},"AAz":{"caption":"Authentication ━━━━━━━━━━━━━━━━┓","name":"auth━━━━━━━━━━━━━━━━━━━┓","rank":2,"editor":"Label"},"ABA":{"caption":"Access Token","name":"atoken","rank":3,"editor":"DynamicValue","value":"text"}}},"ABB":{"display":"PayPal - Get an Access Token","type":"server_side","return_value":{"AAr":{"caption":"Token","name":"token","rank":0,"value":"text"},"AAt":{"caption":"Error","name":"error","rank":1,"value":"text"}},"fields":{"ACY":{"caption":"This action will use your environment's keys to fetch an access token, required for PayPal actions.","name":"info1","rank":0,"editor":"Label"},"ACa":{"caption":"Sandbox Mode","name":"type","rank":1,"editor":"DynamicValue","value":"boolean","default_val":true}}}}};
56window._bubble_page_load_data.plugins_size['1513532376117x173494151776829440'] = 11902;
57window.preloaded['plugin/third_party:1513532376117x173494151776829440:2.0.9'] = true;
58window.plugins["1678094028036x436746344387575800"] = {"human":"OpenAI GPT3 & ChatGPT API","dependencies":{"use_jquery":true,"plugin_api_version":3},"plugin_api":{"human":"OpenAI API","calls":{"AAC":{"name":"GPT3 - Create Completion","method":"post","publish_as":"action","should_reinitialize":false,"url":"https://api.openai.com/v1/completions","body":"{\n  \"model\": \"<model>\",\n  \"prompt\": \"<prompt>\",\n  \"max_tokens\": <max_tokens>,\n  \"temperature\": <temperature>,\n  \"top_p\": <top_p>,\n  \"frequency_penalty\": <frequency_penalty>,\n  \"presence_penalty\": <presence_penalty>,\n  \"n\": <n>    \n}","body_params":{"AAE":{"key":"model","value":"text-davinci-003","private":true,"doc":"Main models are: text-davinci-003, text-curie-001, text-babbage-001, text-ada-001."},"AAF":{"key":"prompt","value":"Is this GPT?","private":true,"doc":"The prompt is used to instruct GPT on what to do. "},"AAG":{"key":"max_tokens","value":"500","private":true,"doc":"The maximum number of tokens you want to generate. Maximum is 4,000 tokens"},"AAH":{"key":"temperature","value":"0.7","private":true,"doc":"Higher temperature results in more creativity. Default is 0.7."},"AAI":{"key":"top_p","value":"1","private":true,"doc":"Probability which the engine will c
58onsider tokens that are having probability mass above the level. Default is 1."},"AAJ":{"key":"frequency_penalty","value":"0","private":true,"doc":"Number between 0 and 1 that penalizes new tokens based on their existing frequency in the text so far. Decreases the model's likelihood to repeat the same line verbatim. Default to be 0."},"AAK":{"key":"presence_penalty","value":"0","private":true,"doc":"Number between 0 and 1 that penalizes new tokens based on whether they appear in the text so far. Increases the model's likelihood to talk about new topics. Default to be 0."},"AAL":{"key":"n","value":"1","private":true,"doc":"How many completions to generate for each prompt."}},"wrap_error":true,"initialized":true,"types":"{\"plugin_api.AAC\":{\"caption\":\"GPT3 - Create Completion\",\"fields\":{\"_p_body.id\":{\"ret_value\":\"text\",\"caption\":\"body id\",\"sample_value\":\"\",\"path\":[\"body\",\"id\"]},\"_p_body.object\":{\"ret_value\":\"text\",\"caption\":\"body object\",\"sample_value\":\"\",\"path\":[\"body\",\"object\"]},\"_p_body.created\":{\"ret_value\":\"number\",\"caption\":\"body created\",\"sample_value\":\"\",\"path\":[\"body\",\"created\"]},\"_p_body.model\":{\"ret_value\":\"text\",\"caption\":\"body model\",\"sample_value\":\"\",\"path\":[\"body\",\"model\"]},\"_p_body.choices\":{\"ret_value\":\"list.api.1678094028036x436746344387575800.plugin_api.AAC.body.choices\",\"caption\":\"body choices\",\"path\":[\"body\",\"choices\"]},\"_p_body.usage.prompt_tokens\":{\"ret_value\":\"number\",\"caption\":\"body usage prompt_tokens\",\"sample_value\":\"\",\"path\":[\"body\",\"usage\",\"prompt_tokens\"]},\"_p_body.usage.completion_tokens\":{\"ret_value\":\"number\",\"caption\":\"body usage completion_tokens\",\"sample_value\":\"\",\"path\":[\"body\",\"usage\",\"completion_tokens\"]},\"_p_body.usage.total_tokens\":{\"ret_value\":\"number\",\"caption\":\"body usage total_tokens\",\"sample_value\":\"\",\"path\":[\"body\",\"usage\",\"total_tokens\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}},\"plugin_api.AAC.body.choices\":{\"caption\":\"GPT3 - Create Completion body choice\",\"fields\":{\"_p_text\":{\"ret_value\":\"text\",\"caption\":\"text\",\"sample_value\":\"\"},\"_p_index\":{\"ret_value\":\"number\",\"caption\":\"index\",\"sample_value\":\"\"},\"_p_logprobs\":{\"ret_value\":\"text\",\"caption\":\"logprobs\",\"sample_value\":\"\"},\"_p_finish_reason\":{\"ret_value\":\"text\",\"caption\":\"finish_reason\",\"sample_value\":\"\"}}}}","ret_value":"api.1678094028036x436746344387575800.plugin_api.AAC"},"AAM":{"name":"ChatGPT - Create Completion","method":"post","publish_as":"action","should_reinitialize":false,"url":"https://api.openai.com/v1/chat/completions","body":"{\n  \"model\": \"<model>\",\n  \"messages\": [{\"role\": \"<role>\", \"content\": \"<content>\"}],\n  \"max_tokens\": <max_tokens>,\n  \"temperature\": <temperature>,\n  \"top_p\": <top_p>,\n  \"frequency_penalty\": <frequency_penalty>,\n  \"presence_penalty\": <presence_penalty>,\n  \"n\": <n>    \n}","body_params":{"AAN":{"key":"model","value":"gpt-3.5-turbo","private":true,"doc":"The ID of the Chat engine that you would like to us. Example: \"gpt-3.5-turbo\""},"AAQ":{"key":"temperature","value":"0.7","private":true,"doc":"Higher temperature results in more creativity. Default is 0.7."},"AAR":{"key":"top_p","value":"1","private":true,"doc":"Probability the engine will consider tokens that are having probability mass above the level. Default is 1."},"AAS":{"key":"frequency_penalty","value":"0","private":true,"doc":"Number between 0 and 1 that penalizes new tokens based on their existing frequency in the text so far. Decreases the model's likelihood to repeat the same line verbatim. Default to be 0."},"AAT":{"key":"presence_penalty","value":"0","private":true,"doc":"Number between 0 and 1 that penalizes new tokens based on whether they appear in the text so far. Increases the model's likelihood to talk about new topics. Default to be 0."},"AAU":{"key":"n","value":"1","private":true,"doc":"Completions to generate for each prompt."},"AAZ":{"key":"max_tokens","value":"500","private":true,"doc":"The maximum number of tokens you want to generate. Maximum is 4096 tokens"},"AAb":{"key":"content","value":"Is this GPT?","private":true,"doc":"Content is 
58what you would usually call prompt. This is where you could ask a question."},"AAc":{"key":"role","value":"assistant","private":true,"doc":"There are 3 types of roles. These are “system”, “user”, or “assistant”. Read doc for more info."}},"wrap_error":true,"initialized":true,"types":"{\"plugin_api.AAM\":{\"caption\":\"ChatGPT - Create Completion\",\"fields\":{\"_p_body.id\":{\"ret_value\":\"text\",\"caption\":\"body id\",\"sample_value\":\"\",\"path\":[\"body\",\"id\"]},\"_p_body.object\":{\"ret_value\":\"text\",\"caption\":\"body object\",\"sample_value\":\"\",\"path\":[\"body\",\"object\"]},\"_p_body.created\":{\"ret_value\":\"number\",\"caption\":\"body created\",\"sample_value\":\"\",\"path\":[\"body\",\"created\"]},\"_p_body.model\":{\"ret_value\":\"text\",\"caption\":\"body model\",\"sample_value\":\"\",\"path\":[\"body\",\"model\"]},\"_p_body.usage.prompt_tokens\":{\"ret_value\":\"number\",\"caption\":\"body usage prompt_tokens\",\"sample_value\":\"\",\"path\":[\"body\",\"usage\",\"prompt_tokens\"]},\"_p_body.usage.completion_tokens\":{\"ret_value\":\"number\",\"caption\":\"body usage completion_tokens\",\"sample_value\":\"\",\"path\":[\"body\",\"usage\",\"completion_tokens\"]},\"_p_body.usage.total_tokens\":{\"ret_value\":\"number\",\"caption\":\"body usage total_tokens\",\"sample_value\":\"\",\"path\":[\"body\",\"usage\",\"total_tokens\"]},\"_p_body.choices\":{\"ret_value\":\"list.api.1678094028036x436746344387575800.plugin_api.AAM.body.choices\",\"caption\":\"body choices\",\"path\":[\"body\",\"choices\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}},\"plugin_api.AAM.body.choices\":{\"caption\":\"ChatGPT - Create Completion body choice\",\"fields\":{\"_p_message.role\":{\"ret_value\":\"text\",\"caption\":\"message role\",\"sample_value\":\"\",\"path\":[\"message\",\"role\"]},\"_p_message.content\":{\"ret_value\":\"text\",\"caption\":\"message content\",\"sample_value\":\"\",\"path\":[\"message\",\"content\"]},\"_p_finish_reason\":{\"ret_value\":\"text\",\"caption\":\"finish_reason\",\"sample_value\":\"\"},\"_p_index\":{\"ret_value\":\"number\",\"caption\":\"index\",\"sample_value\":\"\"}}}}","ret_value":"api.1678094028036x436746344387575800.plugin_api.AAM"},"AAf":{"name":"GPT3 - Retrieve Engine List","method":"get","publish_as":"data","should_reinitialize":false,"url":"https://api.openai.com/v1/engines","wrap_error":true,"initialized":true,"types":"{\"plugin_api.AAf\":{\"caption\":\"GPT3 - Retrieve Engine List\",\"fields\":{\"_p_body.object\":{\"ret_value\":\"text\",\"caption\":\"body object\",\"sample_value\":\"\",\"path\":[\"body\",\"object\"]},\"_p_body.data\":{\"ret_value\":\"list.api.1678094028036x436746344387575800.plugin_api.AAf.body.data\",\"caption\":\"body\",\"path\":[\"body\",\"data\"]},\"_p_error.status_code\":{\"ret_value\":\"number\",\"caption\":\"error status_code\",\"sample_value\":\"\",\"path\":[\"error\",\"status_code\"]},\"_p_error.status_message\":{\"ret_value\":\"text\",\"caption\":\"error status_message\",\"sample_value\":\"\",\"path\":[\"error\",\"status_message\"]},\"_p_error.body\":{\"ret_value\":\"text\",\"caption\":\"error body\",\"sample_value\":\"\",\"path\":[\"error\",\"body\"]},\"_p_returned_an_error\":{\"ret_value\":\"boolean\",\"caption\":\"returned_an_error\",\"sample_value\":\"\"}}},\"plugin_api.AAf.body.data\":{\"caption\":\"GPT3 - Retrieve Engine List body data\",\"fields\":{\"_p_object\":{\"ret_value\":\"text\",\"caption\":\"object\",\"sample_value\":\"\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\"},\"_p_ready\":{\"ret_value\":\"boolean\",\"caption\":\"ready\",\"sample_value\":\"\"},\"_p_owner\":{\"ret_value\":\"text\",\"caption\":\"owner\",\"sample_value\":\"\"},\"_p_permissions\":{\"ret_value\":\"text\",\"caption\":\"permissions\",\"sample_value\":\"\"},\"_p_created\":{\"ret_value\":\"text\",\"caption\":\"created\",\"sample_value\":\"\"}}}}
58","ret_value":"api.1678094028036x436746344387575800.plugin_api.AAf"},"AAi":{"name":"API Call","method":"get","publish_as":"data","url":"https://api.openai.com/v1/engines/[engine_id]","should_reinitialize":true,"url_params":{"AAj":{"key":"engine_id","value":"davinci","private":true,"doc":"Add the ID of the engine you want to use. Example: davinci ."}},"initialized":true,"types":"{\"plugin_api.AAi\":{\"caption\":\"API Call\",\"fields\":{\"_p_object\":{\"ret_value\":\"text\",\"caption\":\"object\",\"sample_value\":\"\"},\"_p_id\":{\"ret_value\":\"text\",\"caption\":\"id\",\"sample_value\":\"\"},\"_p_ready\":{\"ret_value\":\"boolean\",\"caption\":\"ready\",\"sample_value\":\"\"},\"_p_owner\":{\"ret_value\":\"text\",\"caption\":\"owner\",\"sample_value\":\"\"},\"_p_permissions\":{\"ret_value\":\"text\",\"caption\":\"permissions\",\"sample_value\":\"\"},\"_p_created\":{\"ret_value\":\"text\",\"caption\":\"created\",\"sample_value\":\"\"}}}}","ret_value":"api.1678094028036x436746344387575800.plugin_api.AAi"}},"shared_headers":{"AAd":{"key":"Authorization","private":true,"visibility":"secret","doc":"Add your OpenAI authorization key. Make sure to add \"Bearer \" at the front. Example: Bearer [your API key]"},"AAe":{"key":"Content-Type","value":"application/json","private":true,"visibility":"hidden"}}}};
59window._bubble_page_load_data.plugins_size['1678094028036x436746344387575800'] = 11674;
60window.preloaded['plugin/third_party:1678094028036x436746344387575800:1.2.0'] = true;
61window['bubble_run_derived'] = window['bubble_run_derived'] || {}
62window['bubble_run_derived']['{"function_name":"PageByName","args":[]}'] = {"404":{"id":"AAU","_path":"%p3.AAX"},"reset_pw":{"id":"AAL","_path":"%p3.AAW"},"index":{"id":"bTGYf","_path":"%p3.bTGbC"},"sign-up":{"id":"bTHFQ","_path":"%p3.bTHFO"},"login":{"id":"bTHGi","_path":"%p3.bTHHt"},"dork-list":{"id":"bTHJz","_path":"%p3.bTHMX"},"dashboard":{"id":"bTHOa","_path":"%p3.bTHRk"},"dashboard-free":{"id":"bTHWe","_path":"%p3.bTHal"},"saved-dorks":{"id":"bTHaj","_path":"%p3.bTHbf"},"upgrade":{"id":"bTHcL","_path":"%p3.bTHeO"}}
63window.preloaded['app/derived:{"function_name":"PageByName","args":[]}'] = true;
64window['bubble_run_derived']['{"function_name":"CustomByNameV2","args":[]}'] = {}
65window.preloaded['app/derived:{"function_name":"CustomByNameV2","args":[]}'] = true;
66window['bubble_run_derived']['{"function_name":"UserCalls","args":[]}'] = []
67window.preloaded['app/derived:{"function_name":"UserCalls","args":[]}'] = true;
68window['bubble_run_derived']['{"function_name":"OAuthProviders","args":[]}'] = []
69window.preloaded['app/derived:{"function_name":"OAuthProviders","args":[]}'] = true;
70window['bubble_run_derived']['{"function_name":"DefaultValues","args":[]}'] = {"contact_form":[{"name":"email_text","value":"text","display":"Email","deleted":null},{"name":"message_text","value":"text","display":"Message","deleted":null},{"name":"name_text","value":"text","display":"Name","deleted":null}],"dork_list":[{"name":"copy_id_text","value":"text","display":"copy-id","deleted":null},{"name":"description_text","value":"text","display":"Description","deleted":null},{"name":"dork_text","value":"text","display":"Dork","deleted":null}],"payments":[{"name":"amount_text","value":"text","display":"Amount","deleted":null},{"name":"date_of_purchase_text","value":"text","display":"Date of Purchase","deleted":null},{"name":"payment_id_text","value":"text","display":"Payment ID","deleted":null},{"name":"sale_id_text","value":"text","display":"Sale ID","deleted":null},{"name":"user1_text","value":"text","display":"User","deleted":null},{"name":"user_text","value":"text","display":"User - deleted","deleted":true}],"saved_dorks":[{"name":"dork_text","value":"text","display":"Dork","deleted":null},{"name":"prompt_description_text","value":"text","display":"Prompt Description","deleted":null},{"name":"search_engine_type_text","value":"text","display":"Search Engine","deleted":null}],"user":[{"name":"name_text","value":"text","display":"Name","deleted":null},{"name":"paid_user_boolean","value":"boolean","display":"Paid User","default_val":false,"deleted":null}],"device":[{"display":"Type","value":"text","name":"device_type"},{"display":"Push notification token","value":"text","name":"push_notification_token"}
70,{"display":"Current user","value":"user","name":"current_user"}],"iap_subscription_entitlement":[{"display":"Purchase Identifier","value":"text","name":"purchase_identifier"},{"display":"Original Purchase Identifier","value":"text","name":"original_purchase_identifier"},{"display":"Subscription Group Identifier","value":"text","name":"subscription_group_identifier"},{"display":"Store","value":"text","name":"store"},{"display":"Store Product Identifier","value":"text","name":"store_product_id"},{"display":"Bubble Product Identifier","value":"text","name":"bubble_product_id"},{"display":"User Identifier","value":"sys.uid","name":"user_id"},{"display":"Expiry or Renewal Date","value":"date","name":"expiry_or_renewal_date"},{"display":"Environment","value":"text","name":"environment"}]}
71window.preloaded['app/derived:{"function_name":"DefaultValues","args":[]}'] = true;
72
73    window._bubble_page_load_data.js_execution_timings.static_js_end_execution = Date.now();
74
75jQuery.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.