dpchart
Version:
Create your graph based of eCharts
2 lines • 2.37 MB
JavaScript
/*! For license information please see index.js.LICENSE.txt */
(()=>{var e,t,n={25:()=>{(()=>{var e={19:function(e,t,n){var r,i,o,a,s,l,u,c,h;e.exports=(h=n(9021),n(3009),n(1025),o=(i=(r=h).lib).Base,a=i.WordArray,l=(s=r.algo).SHA256,u=s.HMAC,c=s.PBKDF2=o.extend({cfg:o.extend({keySize:4,hasher:l,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=u.create(n.hasher,e),i=a.create(),o=a.create([1]),s=i.words,l=o.words,c=n.keySize,h=n.iterations;s.length<c;){var d=r.update(t).finalize(o);r.reset();for(var p=d.words,f=p.length,g=d,m=1;m<h;m++){g=r.finalize(g),r.reset();for(var v=g.words,y=0;y<f;y++)p[y]^=v[y]}i.concat(d),l[0]++}return i.sigBytes=4*c,i}}),r.PBKDF2=function(e,t,n){return c.create(n).compute(e,t)},h.PBKDF2)},25:function(e,t,n){var r,i,o,a;e.exports=(a=n(9021),n(7165),i=(r=a).lib.CipherParams,o=r.enc.Hex,r.format.Hex={stringify:function(e){return e.ciphertext.toString(o)},parse:function(e){var t=o.parse(e);return i.create({ciphertext:t})}},a.format.Hex)},35:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(dphelper,"setProps",{value:(e,t,n)=>{Object.defineProperty(e,t.name,n||{writable:!1,configurable:!1,enumerable:!1}),n?.lock&&Object.freeze(e[t.name])},writable:!1,configurable:!1,enumerable:!1}),Object.defineProperty(dphelper,"setDescription",{value:(e,t)=>{Object.defineProperties(dphelper,{[e.name]:{value:t,writable:!1,configurable:!1,enumerable:!1}}),Object.keys(t).forEach((function(t){Object.defineProperties(dphelper[e.name],{[t]:{writable:!1,configurable:!1,enumerable:!1}})})),dphelper.setProps(dphelper,e,{writable:!1,configurable:!1,enumerable:!1}),dphelper._list.scripts.push(e)}})},219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.remove=e=>{idb.exist(e)?window.layerpro?confirm(`Are you sure to remove "${e}" database?`,(()=>{setTimeout((()=>{indexedDB.deleteDatabase(e),console.debug(e+" removed"),idbases=[],idb.databases()}),1e3)}),(()=>alert("Operation cancelled."))):confirm(`Are you sure to remove "${e}" database?`)?setTimeout((()=>{indexedDB.deleteDatabase(e),console.debug(e+" removed"),idbases=[],idb.databases()}),1e3):alert("Operation cancelled."):alert(`Database "${e}" not exist`)}},423:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);n(2425);const i=r.__importDefault(n(4692)),o=r.__importDefault(n(8330)),a=r.__importDefault(n(4787));t.default=()=>{if(window.dphelper)return;const e=e=>e.keys().forEach((t=>e(t)));if(Object.defineProperty(window,"dphelper",{value:{},writable:!1,configurable:!1}),window.$=window.jQuery=i.default,Object.defineProperty(window,"$",{configurable:!1,enumerable:!1}),Object.defineProperty(window,"jQuery",{configurable:!1,enumerable:!1}),a.default.scripts)return;a.default.scripts=[],a.default.version=o.default.version;const t=setInterval((()=>{const e=dphelper?.socket?.list(),n=[];e.map((e=>{n.push(e.url)})),dphelper._list.sockets=n,n&&clearInterval(t)}),1e3);Object.defineProperties(dphelper,{_list:{value:a.default},version:{value:o.default.version}}),i.default.ajaxSetup({async:!0,cache:!0,global:!0}),e(n(6245)),e(n(5334)),dphelper.credits(o.default),Object.preventExtensions(dphelper),Object.seal(dphelper),Object.freeze(dphelper)}},477:()=>{},482:function(e,t,n){var r;e.exports=(r=n(9021),n(7165),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635).__importDefault(n(1396)),i={uuid:{byVal:e=>{if(!e)return console.error("You need to pass a value to obtain a fixed uuid"),"";const t=dphelper.security.SHA256_Hex(e);return[t.substr(0,8),t.substr(8,4),"4"+t.substr(12,3),"8"+t.substr(15,3),t.substr(18,12)].join("-")},v4:"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(e=>(+e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>+e/4).toString(16))),v5:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},hashPass:async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"SHA-256";const r=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),i=await crypto.subtle.digest(n,r);return Array.from(new Uint8Array(i)).map((e=>e.toString(16).padStart(2,"0"))).join("")},crypt:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AES";return r.default[n].encrypt(e,t).toString()},deCrypt:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AES";return r.default[n].decrypt(e,t).toString(r.default.enc.Utf8)},AES_KeyGen:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"test";const t=r.default.lib.WordArray.random(16);return r.default.PBKDF2(e,t,{keySize:16,iterations:1e3}).toString()},SHA256_Hex:e=>r.default.SHA256(e).toString(r.default.enc.Hex),ulid:()=>{const e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","J","K","M","N","P","Q","R","S","T","V","W","X","Y","Z"];let t=-1;const n=new Uint8Array(16),r=new DataView(n.buffer,0,6),i=new Uint8Array(n.buffer,6,10),o=new Array(26),a=Date.now();if(a===t)for(let e=9;e>=0&&!(i[e]++<255);e--);else t=a,r.setUint16(0,a/4294967296|0),r.setUint32(2,0|a),window.crypto.getRandomValues(i);return(t=>{o[0]=e[t[0]>>5],o[1]=e[31&t[0]];for(let n=0;n<3;n++)o[8*n+2]=e[t[5*n+1]>>3],o[8*n+3]=e[31&(t[5*n+1]<<2|t[5*n+2]>>6)],o[8*n+4]=e[t[5*n+2]>>1&31],o[8*n+5]=e[31&(t[5*n+2]<<4|t[5*n+3]>>4)],o[8*n+6]=e[31&(t[5*n+3]<<1|t[5*n+4]>>7)],o[8*n+7]=e[t[5*n+4]>>2&31],o[8*n+8]=e[31&(t[5*n+4]<<3|t[5*n+5]>>5)],o[8*n+9]=e[31&t[5*n+5]];return o.join("")})(n)}};dphelper.setDescription({name:"security",active:!0,subCommand:[{name:"uuid",version:"0.0.1",example:"dphelper.security.uuid",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"UUID related commands",subCommand:[{name:"byVal",version:"0.0.1",example:"dphelper.security.uuid.byVal('string')",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"Generate a UUID based on a given string",subCommand:[]},{name:"v4",version:"0.0.1",example:"dphelper.security.uuid.v4",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"return",active:!0,description:"Generate a random UUID v4",subCommand:[]},{name:"v5",version:"0.0.1",example:"dphelper.security.uuid.v5",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"return",active:!0,description:"Generate a random UUID v5",subCommand:[]}]},{name:"hashPass",description:"Generate a crypto digest SHA-1 starting from user and password values (Please, think about security before using SHA-1)",example:"dphelper.security.hashPass(user, password)",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"crypt",description:"Encrypt your message using a secret_key in a default format AES",example:"dphelper.security.crypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"deCrypt",description:"Decrypt your message using a secret_key in a default format AES",example:"dphelper.security.deCrypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"AES_KeyGen",description:"Generate a key based on the AES algorithm",example:"dphelper.security.AES_KeyGen(secret_key)",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"SHA256_Hex",description:"Generate a SHA256 hash in hexadecimal format",example:"dphelper.security.SHA256_Hex(secret_key)",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",active:!0,subCommand:[]},{name:"ulid",description:"Generate ULID code",example:"dphelper.security.ulid()",version:"0.0.1",type:"function",author:"mix",creationDate:"20250212",lastMod:"20250212",active:!0,subCommand:[]}]},i)},547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={click:e=>{const t=document.querySelector(e);t&&t.click()},change:e=>{const t=document.querySelector(e),n=new Event("__"+e,{bubbles:!0});dphelper.dispatch.set("__"+e,n),t.dispatchEvent(n)},input:e=>{dphelper.trigger.change(e)}};dphelper.setDescription({name:"trigger",active:!0,subCommand:[{name:"click",version:"0.0.1",example:"dphelper.trigger.click(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Triggers a click event on the specified element.",subCommand:[]},{name:"change",version:"0.0.1",example:"dphelper.trigger.change([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Triggers a change event on the specified element.",subCommand:[]},{name:"input",version:"0.0.1",example:"dphelper.trigger.input([element])",author:"Dario Passariello",creationDate:"20241001",lastMod:"20241001",type:"function",active:!0,description:"Triggers an input event on the specified element.",subCommand:[]}]},n)},753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={currency:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"USD";return new Intl.NumberFormat(t,{style:"currency",currency:n}).format(e)},phoneNumber:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"US";const n=(""+e).replace(/\D/g,"");let r;return"US"===t&&(r=n.match(/^(\d{3})(\d{3})(\d{4})$/),r)?`(${r[1]}) ${r[2]}-${r[3]}`:e}};dphelper.setDescription({name:"format",active:!0,subCommand:[{name:"currency",version:"0.0.1",example:"dphelper.format.currency(value, locale, currency)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Format a number as currency.",subCommand:[]},{name:"phoneNumber",version:"0.0.1",example:"dphelper.format.phoneNumber(value, countryCode)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Format a string as a phone number.",subCommand:[]}]},n)},754:function(e,t,n){var r,i,o;e.exports=(r=n(9021),o=(i=r).lib.WordArray,i.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i<n.length;i++)r[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,n){for(var r=[],i=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;r[i>>>2]|=s<<24-i%4*8,i++}return o.create(r,i)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64)},775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={toOnClick:e=>{$(e+" a").each((function(){const e=$(this),t=e.attr("href");t&&e.on("mouseup",(function(){})).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",(function(){dphelper.browser.href(t),dphelper.browser.state("","",t)}))}))}};dphelper.setDescription({name:"anchor",active:!0,subCommand:[{name:"toOnClick",type:"function",version:"0.0.1",example:"dphelper.anchor.toOnClick([element, 'foo' | '.foo' | '#foo'])",description:"This tool allows you to convert all links in an element to 'onclick'.\n It allows you to avoid the message with the path relative to the requested address\n and it is very useful when you work with SPA but you want to keep even older browsers.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]}]},n)},944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={rnd:()=>Math.floor(1e5+Math.random()*dphelper.math.tmr()),tmr:()=>Math.round(dphelper.date.epoch()/1e3),add:(e,t)=>e+t,sub:(e,t)=>e-t,multi:(e,t)=>e*t,div:(e,t)=>{if(0===t)throw new Error("Division by zero");return e/t},rem:(e,t)=>{if(0===t)throw new Error("Division by zero");return e%t},exp:(e,t)=>Math.pow(e,t),isOdd:e=>e%2!=0,float2int:e=>Math.floor(e),percent:(e,t)=>{if(0===t)throw new Error("Total cannot be zero");return e/t*100},isPrime:e=>{if(e<=1)return!1;for(let t=2;t<=Math.sqrt(e);t++)if(e%t==0)return!1;return!0}};dphelper.setDescription({name:"math",active:!0,subCommand:[{name:"rnd",version:"0.0.1",example:"dphelper.math.rnd()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Generate a random number.",subCommand:[]},{name:"tmr",version:"0.0.1",example:"dphelper.math.tmr()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Measure the time taken by a function.",subCommand:[]},{name:"add",version:"0.0.1",example:"dphelper.math.add(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Add two numbers.",subCommand:[]},{name:"sub",version:"0.0.1",example:"dphelper.math.sub(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Subtract two numbers.",subCommand:[]},{name:"multi",version:"0.0.1",example:"dphelper.math.multi(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Multiply two numbers.",subCommand:[]},{name:"div",version:"0.0.1",example:"dphelper.math.div(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Divide two numbers.",subCommand:[]},{name:"rem",version:"0.0.1",example:"dphelper.math.rem(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Get the remainder of the division of two numbers.",subCommand:[]},{name:"exp",version:"0.0.1",example:"dphelper.math.exp(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculate the exponentiation of a number.",subCommand:[]},{name:"isOdd",version:"0.0.1",example:"dphelper.math.isOdd(a)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a number is odd.",subCommand:[]},{name:"float2int",version:"0.0.1",example:"dphelper.math.float2int(a)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Convert a float to an integer.",subCommand:[]},{name:"percent",version:"0.0.1",example:"dphelper.math.percent([n, tot])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculate the percentage of a number relative to a total. Example: total: 100, number: 25 -> 25%",subCommand:[]},{name:"isPrime",version:"0.0.1",example:"dphelper.math.isPrime(a)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a number is prime.",subCommand:[]}]},n)},955:function(e,t,n){var r;e.exports=(r=n(9021),n(754),n(4636),n(9506),n(7165),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],o=[],a=[],s=[],l=[],u=[],c=[],h=[],d=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var f=r^r<<1^r<<2^r<<3^r<<4;f=f>>>8^255&f^99,i[n]=f,o[f]=n;var g=e[n],m=e[g],v=e[m],y=257*e[f]^16843008*f;a[n]=y<<24|y>>>8,s[n]=y<<16|y>>>16,l[n]=y<<8|y>>>24,u[n]=y,y=16843009*v^65537*m^257*g^16843008*n,c[f]=y<<24|y>>>8,h[f]=y<<16|y>>>16,d[f]=y<<8|y>>>24,p[f]=y,n?(n=g^e[e[e[v^g]]],r^=e[e[r]]):n=r=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],g=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],a=0;a<r;a++)a<n?o[a]=t[a]:(u=o[a-1],a%n?n>6&&a%n==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=i[(u=u<<8|u>>>24)>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=f[a/n|0]<<24),o[a]=o[a-n]^u);for(var s=this._invKeySchedule=[],l=0;l<r;l++){if(a=r-l,l%4)var u=o[a];else u=o[a-4];s[l]=l<4||a<=4?u:c[i[u>>>24]]^h[i[u>>>16&255]]^d[i[u>>>8&255]]^p[i[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,l,u,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,c,h,d,p,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,a,s){for(var l=this._nRounds,u=e[t]^n[0],c=e[t+1]^n[1],h=e[t+2]^n[2],d=e[t+3]^n[3],p=4,f=1;f<l;f++){var g=r[u>>>24]^i[c>>>16&255]^o[h>>>8&255]^a[255&d]^n[p++],m=r[c>>>24]^i[h>>>16&255]^o[d>>>8&255]^a[255&u]^n[p++],v=r[h>>>24]^i[d>>>16&255]^o[u>>>8&255]^a[255&c]^n[p++],y=r[d>>>24]^i[u>>>16&255]^o[c>>>8&255]^a[255&h]^n[p++];u=g,c=m,h=v,d=y}g=(s[u>>>24]<<24|s[c>>>16&255]<<16|s[h>>>8&255]<<8|s[255&d])^n[p++],m=(s[c>>>24]<<24|s[h>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^n[p++],v=(s[h>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&c])^n[p++],y=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[c>>>8&255]<<8|s[255&h])^n[p++],e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=y},keySize:8});e.AES=t._createHelper(g)}(),r.AES)},963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),dphelper.terminal=function(e){if(!e)throw Error("Parent DOM element required!");let t=!1;const n=console.log,r=console.info,i=console.warn,o=console.error,a=document.getElementById("terminal"),s=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let i=n.join(" ");i=e===l.WARN?`<font color="#FF6600">* WARN: ${i}</font>`:e===l.ERR?`<font color="#FF0000">* ERR: ${i}</font>`:`* ${i}`,this.domElement.innerHTML+=`${i}<br/>`,a&&(a.scrollTop=a.scrollHeight)},l={LOG:0,INFO:1,WARN:2,ERR:3},u={autoScroll:!0,disableConsoleLogging:!1,domElement:document.createElement("div"),initKeyMappings:function(){t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},overrideConsole:function(){console.log=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.disableConsoleLogging||(s.call(this,l.LOG,...t),n.apply(console,t))}.bind(this),console.info=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.disableConsoleLogging||(s.call(this,l.INFO,...t),r.apply(console,t))}.bind(this),console.warn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.disableConsoleLogging||(s.call(this,l.WARN,...t),i.apply(console,t))}.bind(this),console.error=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.disableConsoleLogging||(s.call(this,l.ERR,...t),o.apply(console,t))}.bind(this),onerror=function(e,t,n){const r=`${e} in <a href="${t}" target='_blank'>${t?.split("/").pop()}</a>: ${n}`;return console.error(r),!1}},clear:function(){this.domElement.innerHTML=""},get visible(){return""===this.domElement.style.display},set visible(e){e?(this.domElement.style.display="",this.autoScroll&&(this.domElement.scrollTop=this.domElement.scrollHeight)):this.domElement.style.display="none"},get top(){return this.domElement.style.top},set top(e){this.domElement.style.top=e},get left(){return this.domElement.style.left},set left(e){this.domElement.style.left=e},get bottom(){return this.domElement.style.bottom},set bottom(e){this.domElement.style.bottom=e},get right(){return this.domElement.style.right},set right(e){this.domElement.style.right=e},get width(){return this.domElement.style.width},set width(e){this.domElement.style.width=e},get height(){return this.domElement.style.height},set height(e){this.domElement.style.height=e}};return u.domElement.id="debugConsole",e.appendChild(u.domElement),u.overrideConsole(),u},Object.defineProperty(dphelper,"terminal",{writable:!1,enumerable:!1,configurable:!1})},972:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={file:async(e,t)=>{const n=e?document.querySelectorAll(e):document.getElementsByTagName("*");for(const r of Array.from(n))try{const e=await fetch(t);if(e.ok){const t=(await e.text()).replace(/</g,"<").replace(/>/g,">");r.innerHTML=t}else 404===e.status&&(r.innerHTML="Page not found.")}catch(e){console.error("Error fetching the file:",e)}}};dphelper.setDescription({name:"import",active:!0,subCommand:[{name:"file",version:"0.0.1",example:"dphelper.import.file([elem, file])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"Import content from a file into an element.",subCommand:[]}]},n)},1025:function(e,t,n){var r,i,o;e.exports=(i=(r=n(9021)).lib.Base,o=r.enc.Utf8,void(r.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,l=a.words,u=0;u<n;u++)s[u]^=1549556828,l[u]^=909522486;i.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},1148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return new Proxy(e,{get(e,i){if(Object.isFrozen(e[i]))return e[i];try{const o=Reflect.get(e,i);return o&&"object"==typeof o&&["Array","Object"].includes(o.constructor.name)?n(o,t,r.concat(i)):o}catch(e){return console.error("Error: ",e),!1}},set(e,n,i){if(e[n]&&"object"==typeof e[n]&&Object.isFrozen(e[n]))console.error(`Error: state "${n}" is locked`);else try{const o=dphelper.obj.path(n,r);return t({action:"set",path:o,target:e,newValue:i,previousValue:Reflect.get(e,n)}),(e=>{const t=e.split("-");t.forEach(((e,n)=>{const r=t.slice(0,n+1).join("-");dphelper.dispatch.set(r,{detail:{name:r}})}))})("state-"+o.replaceAll(".","-")),Reflect.set(e,n,i),e[n]&&"object"==typeof e[n]&&Reflect.defineProperty(e[n],"lock",{value(){Object.defineProperty(e,n,{writable:!1,enumerable:!1}),Object.freeze(e[n])}}),!0}catch(e){return console.error("Error in set trap:",e),!1}},deleteProperty(e,n){try{const i=dphelper.obj.path(n,r);return t({action:"delete",path:i,target:e}),Reflect.deleteProperty(e,n)}catch(e){return console.error("Error in deleteProperty trap:",e),!1}}})};globalThis?.state?globalThis.state=state:globalThis.state=n({},(()=>{}));const r=new WeakSet;r.add(state),setInterval((()=>{if(!r.has(state)){alert("dpHelper State is compromised, check if you override it and please reload the page");for(let e=1;e<99999;e++)clearInterval(e);stop()}}),1e3),Object.defineProperty(globalThis,"state",{enumerable:!1,configurable:!1}),Object.defineProperties(state,{list:{get(){const e=dphelper.array.deepClone(state);console.info(e)}},remove:{value(e){e in state?(delete state[e],console.debug(`State '${e}' deleted`)):console.error(`'${e}' not exist`)},writable:!1,configurable:!1},removeAll:{value(){state.forEach((e=>{delete state[e[0]]}))},writable:!1,configurable:!1},mex:{value(e){$("#dpConsole").append(`\n <span>\n <span style="color: green">State ${e.property} changed: <span style="color: yellow">"${e.value}"</span></span>\n </span>\n <span style="color: hsl(252deg 100% 75%)">"${JSON.stringify(e?.value||{})}"</span>\n `)},writable:!1,configurable:!1}})},1175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={list:e=>window.getEventListeners(e),multi:(e,t,n)=>{t.split(" ").forEach((t=>{e.addEventListener(t,n,!1)}))},copy:e=>{const t=document.querySelector(e);t&&t.addEventListener("click",(async e=>{if(navigator.clipboard)try{const t=e.target;t&&(await navigator.clipboard.writeText(t.textContent||""),alert("Copied"))}catch(e){console.error("Can't copy the value",e)}}))},onDrag:e=>{const t=`.popup_overflow_${e}`;$(t).mousedown((n=>{$(window).mousemove((n=>{const r=Math.max(n.pageY,0)-$(t).height()/2,i=Math.max(n.pageX,0)-$(t).width()/2;localStorage.setItem(e,JSON.stringify([r,i]))}))})).mouseup((()=>{$(window).off("mousemove")}))},keys:e=>({key:e.key,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})};dphelper.setDescription({name:"event",active:!0,subCommand:[{name:"list",version:"0.0.1",example:"dphelper.event.list([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Show attached events.",subCommand:[]},{name:"multi",version:"0.0.1",example:"dphelper.event.multi([element, eventNames, listener])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Attach multiple event listeners to an element.",subCommand:[]},{name:"copy",version:"0.0.1",example:"dphelper.event.copy([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Copy text content of an element to the clipboard.",subCommand:[]},{name:"onDrag",version:"0.0.1",example:"dphelper.event.onDrag([element])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Handle dragging functionality for elements.",subCommand:[]},{name:"keys",version:"0.0.1",example:"dphelper.event.keys(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Return key event properties.",subCommand:[]}]},n)},1380:function(e,t,n){var r;e.exports=(r=n(9021),n(3240),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,o=n.WordArray,a=e.algo;function s(){return i.create.apply(i,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=s()}();var c=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],h=n[6],d=n[7],p=r.high,f=r.low,g=i.high,m=i.low,v=o.high,y=o.low,_=a.high,x=a.low,b=s.high,w=s.low,S=c.high,M=c.low,T=h.high,C=h.low,D=d.high,I=d.low,A=p,L=f,P=g,E=m,k=v,O=y,R=_,N=x,z=b,B=w,F=S,V=M,H=T,G=C,U=D,W=I,j=0;j<80;j++){var q,X,Y=u[j];if(j<16)X=Y.high=0|e[t+2*j],q=Y.low=0|e[t+2*j+1];else{var Z=u[j-15],$=Z.high,K=Z.low,J=($>>>1|K<<31)^($>>>8|K<<24)^$>>>7,Q=(K>>>1|$<<31)^(K>>>8|$<<24)^(K>>>7|$<<25),ee=u[j-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),oe=u[j-7],ae=oe.high,se=oe.low,le=u[j-16],ue=le.high,ce=le.low;X=(X=(X=J+ae+((q=Q+se)>>>0<Q>>>0?1:0))+re+((q+=ie)>>>0<ie>>>0?1:0))+ue+((q+=ce)>>>0<ce>>>0?1:0),Y.high=X,Y.low=q}var he,de=z&F^~z&H,pe=B&V^~B&G,fe=A&P^A&k^P&k,ge=L&E^L&O^E&O,me=(A>>>28|L<<4)^(A<<30|L>>>2)^(A<<25|L>>>7),ve=(L>>>28|A<<4)^(L<<30|A>>>2)^(L<<25|A>>>7),ye=(z>>>14|B<<18)^(z>>>18|B<<14)^(z<<23|B>>>9),_e=(B>>>14|z<<18)^(B>>>18|z<<14)^(B<<23|z>>>9),xe=l[j],be=xe.high,we=xe.low,Se=U+ye+((he=W+_e)>>>0<W>>>0?1:0),Me=ve+ge;U=H,W=G,H=F,G=V,F=z,V=B,z=R+(Se=(Se=(Se=Se+de+((he+=pe)>>>0<pe>>>0?1:0))+be+((he+=we)>>>0<we>>>0?1:0))+X+((he+=q)>>>0<q>>>0?1:0))+((B=N+he|0)>>>0<N>>>0?1:0)|0,R=k,N=O,k=P,O=E,P=A,E=L,A=Se+(me+fe+(Me>>>0<ve>>>0?1:0))+((L=he+Me|0)>>>0<he>>>0?1:0)|0}f=r.low=f+L,r.high=p+A+(f>>>0<L>>>0?1:0),m=i.low=m+E,i.high=g+P+(m>>>0<E>>>0?1:0),y=o.low=y+O,o.high=v+k+(y>>>0<O>>>0?1:0),x=a.low=x+N,a.high=_+R+(x>>>0<N>>>0?1:0),w=s.low=w+B,s.high=b+z+(w>>>0<B>>>0?1:0),M=c.low=M+V,c.high=S+F+(M>>>0<V>>>0?1:0),C=h.low=C+G,h.high=T+H+(C>>>0<G>>>0?1:0),I=d.low=I+W,d.high=D+U+(I>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(c),e.HmacSHA512=t._createHmacHelper(c)}(),r.SHA512)},1396:function(e,t,n){var r;e.exports=(r=n(9021),n(3240),n(6440),n(5503),n(754),n(4725),n(4636),n(5471),n(3009),n(6308),n(1380),n(9557),n(5953),n(8056),n(1025),n(19),n(9506),n(7165),n(2169),n(6939),n(6372),n(3797),n(8454),n(2073),n(4905),n(482),n(2155),n(8124),n(25),n(955),n(7628),n(7193),n(6298),n(2696),n(3128),r)},1585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),dphelper.consoleDebug=function(e){if(!e)throw Error("Parent dom element required!");let t=!1;this.autoScroll=!0,this.disableConsoleLogging=!1;const n=document.createElement("div");n.id="debugConsole",e.appendChild(n),this.domElement=n,this.initKeyMappings=()=>{t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},this.overrideConsole=()=>{const e=["Warning: Does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",'Warning: Using the "className" prop on <View> is deprecated.',"View"],t=console.log;console.log=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];const[o]=r;e.some((e=>o.includes(e)))||t(...r)};const n=console.info;console.info=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];const[o]=r;e.some((e=>o.includes(e)))||n(...r)};const r=console.warn;console.warn=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const[o]=n;e.some((e=>o.includes(e)))||r(...n)};const i=console.error;console.error=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const[o]=n;e.some((e=>o.includes(e)))||i(...n)},onerror=(e,t,n)=>{const r=[e," in <a href='",t,"' target='_blank'>",t?.split("/").pop(),"</a>:",n];return console.error(r.join("")),!1}},this.overrideConsole(),this.clear=function(){this.domElement.innerHTML=""},Object.defineProperties(this,{visible:{get:function(){return""===this.domElement.style.display},set:function(e){e?(this.domElement.style.display="",this.autoScroll&&(this.domElement.scrollTop=this.domElement.scrollHeight)):this.domElement.style.display="none"},configurable:!1}})},Object.defineProperty(dphelper,"consoleDebug",{writable:!1,enumerable:!1,configurable:!1})},1635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>R,__assign:()=>o,__asyncDelegator:()=>T,__asyncGenerator:()=>M,__asyncValues:()=>C,__await:()=>S,__awaiter:()=>f,__classPrivateFieldGet:()=>E,__classPrivateFieldIn:()=>O,__classPrivateFieldSet:()=>k,__createBinding:()=>m,__decorate:()=>s,__disposeResources:()=>z,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>i,__generator:()=>g,__importDefault:()=>P,__importStar:()=>L,__makeTemplateObject:()=>D,__metadata:()=>p,__param:()=>l,__propKey:()=>h,__read:()=>_,__rest:()=>a,__rewriteRelativeImportExtension:()=>B,__runInitializers:()=>c,__setFunctionName:()=>d,__spread:()=>x,__spreadArray:()=>w,__spreadArrays:()=>b,__values:()=>y,default:()=>F});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,h=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var f={};for(var g in r)f[g]="access"===g?{}:r[g];for(var g in r.access)f.access[g]=r.access[g];f.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var m=(0,n[p])("accessor"===l?{get:h.get,set:h.set}:h[u],f);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(s=a(m.get))&&(h.get=s),(s=a(m.set))&&(h.set=s),(s=a(m.init))&&i.unshift(s)}else(s=a(m))&&("field"===l?i.unshift(s):h[u]=s)}c&&Object.defineProperty(c,r.name,h),d=!0}function c(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function h(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function g(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||m(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function x(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function b(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function w(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function M(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,u)}})),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=i[e](t)).value instanceof S?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function T(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,i,(t=e[n](t)).done,t.value)}))}}}function D(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var I=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},A=function(e){return A=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},A(e)};function L(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=A(e),r=0;r<n.length;r++)"default"!==n[r]&&m(t,e,n[r]);return I(t,e),t}function P(e){return e&&e.__esModule?e:{default:e}}function E(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function k(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function O(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function z(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,(function(e){return t(e),i()}))}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function B(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,r,i,o){return n?t?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":e})):e}const F={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:u,__runInitializers:c,__propKey:h,__setFunctionName:d,__metadata:p,__awaiter:f,__generator:g,__createBinding:m,__exportStar:v,__values:y,__read:_,__spread:x,__spreadArrays:b,__spreadArray:w,__await:S,__asyncGenerator:M,__asyncDelegator:T,__asyncValues:C,__makeTemplateObject:D,__importStar:L,__importDefault:P,__classPrivateFieldGet:E,__classPrivateFieldSet:k,__classPrivateFieldIn:O,__addDisposableResource:R,__disposeResources:z,__rewriteRelativeImportExtension:B}},1670:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={enhancement:()=>{window.offScreenBuffering="auto",dphelper.window.animationframe()},animationframe:()=>window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/120)},center:e=>{let{url:t,title:n,name:r,w:i,h:o}=e;const a=void 0!==screenLeft?screenLeft:screenX,s=void 0!==screenTop?screenTop:screenY,l=innerWidth||(document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width),u=innerHeight||(document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height),c=l/screen.availWidth,h=open(t,n,`\n scrollbars=yes,\n width=${i/c},\n height=${o/c},\n top=${(u-o)/2/c+s},\n left=${(l-i)/2/c+a}\n `);onfocus=()=>h?.focus()},onBeforeUnLoad:e=>{let t=!1,n=!1;const r="You have made some changes which you might want to save.",i=e=>(e.preventDefault(),r),o=document.querySelector(e.target);o&&o.addEventListener("input",(t=>{""!==e.target.value?addEventListener("beforeunload",i,{capture:!0}):removeEventListener("beforeunload",i,{capture:!0})})),!1===n&&(document.body.addEventListener("click",(n=>{if("img"===e.target.tagName&&!0===t){if(!0===confirm(r))return t=!1;n.preventDefault()}})),n=!0),addEventListener("popstate",(e=>{if(!0===t)return!0===confirm(r)?t=!1:(e.stopImmediatePropagation(),e.preventDefault(),r)})),onbeforeunload=e=>{}},purge:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;setTimeout((()=>{if(!e)return null;let t={};if(t){const n=t.length;for(let r=0;r<n;r+=1){const n=t[r].name;"function"==typeof e[n]&&(e[n]=null),void 0===e[n]&&(e[n]=null)}}if(t=e.childNodes,t){const n=t.length;for(let t=0;t<n;t+=1)dphelper.purge(e.childNodes[t])}}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4)},stopZoomWheel:e=>{addEventListener("wheel",(e=>{e.ctrlKey&&e.preventDefault()}),{passive:!1}),addEventListener("keydown",(e=>{const t=dphelper.event.keys(e);["+","-","="].includes(t.key)&&t.ctrl&&e.preventDefault()}))},setZoom:function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e<0&&(e=1),$(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"html").css("zoom",e),`New zoom value: ${100*e}% (css: ${e})`},getZoom:function(){return Number($(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"html").css("zoom"))}};dphelper.setDescription({name:"window",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use only one time at end of application",subCommand:[]},{name:"center",version:"0.0.1",example:"dphelper.window.center({ url, title, name, w, h })",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Purge from memory",subCommand:[]},{name:"stopZoomWheel",version:"0.0.1",example:"dphelper.window.stopZoomWheel(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Stop Zoom Generated by Mouse Wheel",subCommand:[]},{name:"setZoom",version:"0.0.1",example:"dphelper.window.setZoom([el,1])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"Set the zoom level of an element",subCommand:[]},{name:"getZoom",version:"0.0.1",example:"dphelper.window.getZoom([el])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"Get the zoom level of an element",subCommand:[]}]},n)},1809:e=>{"use strict";e.exports=JSON.parse('{"100":{"code":100,"message":"Continue","description":"The server has received the request headers, and the client should proceed to send the request body."},"101":{"code":101,"message":"Switching Protocols","description":"The requester has asked the server to switch protocols."},"102":{"code":102,"message":"Processing","description":"This code indicates that the server has received and is processing the request, but no response is available yet. This prevents the client from timing out and assuming the request was lost."},"103":{"code":103,"message":"Early Hints","description":"Used to return some response headers before final HTTP message."},"200":{"code":200,"message":"OK","description":"The request is OK (this is the standard response for successful HTTP requests)."},"201":{"code":201,"message":"Created","description":"The request has been fulfilled, and a new resource is created."},"202":{"code":202,"message":"Accepted","description":"The request has been accepted for processing, but the processing has not been completed."},"203":{"code":203,"message":"Non-Authoritative Information","description":"The request has been successfully processed, but is returning information that may be from another source."},"20